Meetup Streaming data loaded and analysed successfully.
Streaming events data loaded through Spark Streaming using Custom Receivers and handled as Asynchronous HTTP requests.
History Events and Rsvp data analysed through Spark MLlib to build an Group member recommendations based on K-means clustering model.
Code: https://github.com/ssushmanth/meetup-stream
Meetup Streaming data loaded and analysed successfully.
Streaming events data loaded through Spark Streaming using Custom Receivers and handled as Asynchronous HTTP requests.
History Events and Rsvp data analysed through Spark MLlib to build an Group member recommendations based on K-means clustering model.
Code: https://github.com/ssushmanth/meetup-stream
Content providers in Android provide access to data that is shared between different apps.
1. First App: The producer application is designed to construct the SQLite database and the data entry screen.
2. Second App: The consumer application is designed to view the data stored by the first app (as list) the data can be edited also.
Content providers in Android provide access to data that is shared between different apps.
1. First App: The producer application is designed to construct the SQLite database and the data entry screen.
2. Second App: The consumer application is designed to view the data stored by the first app (as list) the data can be edited also.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
The infamous Mallox is the digital Robin Hoods of our time, except they steal from everyone and give to themselves. Since mid-2021, they've been playing hide and seek with unsecured Microsoft SQL servers, encrypting data, and then graciously offering to give it back for a modest Bitcoin donation.
Mallox decided to go shopping for new malware toys, adding the Remcos RAT, BatCloak, and a sprinkle of Metasploit to their collection. They're now playing a game of "Catch me if you can" with antivirus software, using their FUD obfuscator packers to turn their ransomware into the digital equivalent of a ninja.
-------
This document provides a analysis of the Target Company ransomware group, also known as Smallpox, which has been rapidly evolving since its first identification in June 2021.
The analysis delves into various aspects of the group's operations, including its distinctive practice of appending targeted organizations' names to encrypted files, the evolution of its encryption algorithms, and its tactics for establishing persistence and evading defenses.
The insights gained from this analysis are crucial for informing defense strategies and enhancing preparedness against such evolving cyber threats.
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
I'm excited to share my latest predictions on how AI, robotics, and other technological advancements will reshape industries in the coming years. The slides explore the exponential growth of computational power, the future of AI and robotics, and their profound impact on various sectors.
Why this matters:
The success of new products and investments hinges on precise timing and foresight into emerging categories. This deck equips founders, VCs, and industry leaders with insights to align future products with upcoming tech developments. These insights enhance the ability to forecast industry trends, improve market timing, and predict competitor actions.
Highlights:
▪ Exponential Growth in Compute: How $1000 will soon buy the computational power of a human brain
▪ Scaling of AI Models: The journey towards beyond human-scale models and intelligent edge computing
▪ Transformative Technologies: From advanced robotics and brain interfaces to automated healthcare and beyond
▪ Future of Work: How automation will redefine jobs and economic structures by 2040
With so many predictions presented here, some will inevitably be wrong or mistimed, especially with potential external disruptions. For instance, a conflict in Taiwan could severely impact global semiconductor production, affecting compute costs and related advancements. Nonetheless, these slides are intended to guide intuition on future technological trends.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Accelerate your Kubernetes clusters with Varnish Caching
Creating a Facebook Clone - Part XXIII - Transcript.pdf
1. Creating a Facebook Clone - Part XXIII
The NotificationService is arguably one of the simplest services we have right now. Its main reason for existence is push notification that we'll integrate into it later on.
2. @Service
public class NotificationService {
@Autowired
private NotificationRepository notifications;
public void sendNotification(User u, NotificationDAO nd) {
Notification n = new Notification();
n.setDate(System.currentTimeMillis());
n.setReaction(nd.getReaction());
n.setReactionColor(nd.getReactionColor());
n.setText(nd.getText());
n.setUser(u);
n.setWasRead(nd.isWasRead());
notifications.save(n);
}
public List<NotificationDAO> listNotifications(String authtoken,
int page, int amount) {
Page<Notification> notificationsPage = notifications.
findNotificationsForUser(
authtoken, PageRequest.of(page, amount,
Sort.by(Sort.Direction.DESC, "date")));
NotificationService
As I said the class is trivial and contains just 2 methods.
The only repository is the notification repository as we don’t need access to anything else for this service.
3. @Service
public class NotificationService {
@Autowired
private NotificationRepository notifications;
public void sendNotification(User u, NotificationDAO nd) {
Notification n = new Notification();
n.setDate(System.currentTimeMillis());
n.setReaction(nd.getReaction());
n.setReactionColor(nd.getReactionColor());
n.setText(nd.getText());
n.setUser(u);
n.setWasRead(nd.isWasRead());
notifications.save(n);
}
public List<NotificationDAO> listNotifications(String authtoken,
int page, int amount) {
Page<Notification> notificationsPage = notifications.
findNotificationsForUser(
authtoken, PageRequest.of(page, amount,
Sort.by(Sort.Direction.DESC, "date")));
NotificationService
sendNotification is important as this would be a great location to send push notification or trigger a websocket based push in the future
4. @Service
public class NotificationService {
@Autowired
private NotificationRepository notifications;
public void sendNotification(User u, NotificationDAO nd) {
Notification n = new Notification();
n.setDate(System.currentTimeMillis());
n.setReaction(nd.getReaction());
n.setReactionColor(nd.getReactionColor());
n.setText(nd.getText());
n.setUser(u);
n.setWasRead(nd.isWasRead());
notifications.save(n);
}
public List<NotificationDAO> listNotifications(String authtoken,
int page, int amount) {
Page<Notification> notificationsPage = notifications.
findNotificationsForUser(
authtoken, PageRequest.of(page, amount,
Sort.by(Sort.Direction.DESC, "date")));
NotificationService
Right now we just save the data to the database which we would do anyway as we want to keep track of notifications
5. public void sendNotification(User u, NotificationDAO nd) {
Notification n = new Notification();
n.setDate(System.currentTimeMillis());
n.setReaction(nd.getReaction());
n.setReactionColor(nd.getReactionColor());
n.setText(nd.getText());
n.setUser(u);
n.setWasRead(nd.isWasRead());
notifications.save(n);
}
public List<NotificationDAO> listNotifications(String authtoken,
int page, int amount) {
Page<Notification> notificationsPage = notifications.
findNotificationsForUser(
authtoken, PageRequest.of(page, amount,
Sort.by(Sort.Direction.DESC, "date")));
List<NotificationDAO> resp = new ArrayList<>();
for(Notification c : notificationsPage) {
resp.add(c.getDAO());
}
return resp;
}
}
NotificationService
This is an API for the client side so it can list the notifications pending to the user, it accepts a page number so we can go through pages of results
6. public void sendNotification(User u, NotificationDAO nd) {
Notification n = new Notification();
n.setDate(System.currentTimeMillis());
n.setReaction(nd.getReaction());
n.setReactionColor(nd.getReactionColor());
n.setText(nd.getText());
n.setUser(u);
n.setWasRead(nd.isWasRead());
notifications.save(n);
}
public List<NotificationDAO> listNotifications(String authtoken,
int page, int amount) {
Page<Notification> notificationsPage = notifications.
findNotificationsForUser(
authtoken, PageRequest.of(page, amount,
Sort.by(Sort.Direction.DESC, "date")));
List<NotificationDAO> resp = new ArrayList<>();
for(Notification c : notificationsPage) {
resp.add(c.getDAO());
}
return resp;
}
}
NotificationService
When we go through the notification pages we also pass the sort value to indicate we want notifications arranged by data
7. public void sendNotification(User u, NotificationDAO nd) {
Notification n = new Notification();
n.setDate(System.currentTimeMillis());
n.setReaction(nd.getReaction());
n.setReactionColor(nd.getReactionColor());
n.setText(nd.getText());
n.setUser(u);
n.setWasRead(nd.isWasRead());
notifications.save(n);
}
public List<NotificationDAO> listNotifications(String authtoken,
int page, int amount) {
Page<Notification> notificationsPage = notifications.
findNotificationsForUser(
authtoken, PageRequest.of(page, amount,
Sort.by(Sort.Direction.DESC, "date")));
List<NotificationDAO> resp = new ArrayList<>();
for(Notification c : notificationsPage) {
resp.add(c.getDAO());
}
return resp;
}
}
NotificationService
The return value is the DAO's for the current page carrying the notification data. The send notification API is an API designed for the server side. Notifications only
originate within the server to prevent abuse by a malicious client.
8. @Service
public class MediaService {
@Autowired
private MediaRepository media;
@Autowired
private UserRepository user;
public String storeMedia(String authtoken, byte[] data,
String mimeType, String role, String visibility,
String filename) {
User u = user.findByAuthtoken(authtoken).get(0);
Media m = new Media();
m.setData(data);
m.setOwner(u);
m.setDate(System.currentTimeMillis());
m.setFilename(filename);
m.setMimeType(mimeType);
m.setRole(role);
m.setVisibility(visibility);
MediaService
We continue the trend of simple services with the MediaService which is almost as simple as the NotificationService.
The media service works with the media repository only but it needs to authenticate some actions against the user repository
9. @Service
public class MediaService {
@Autowired
private MediaRepository media;
@Autowired
private UserRepository user;
public String storeMedia(String authtoken, byte[] data,
String mimeType, String role, String visibility,
String filename) {
User u = user.findByAuthtoken(authtoken).get(0);
Media m = new Media();
m.setData(data);
m.setOwner(u);
m.setDate(System.currentTimeMillis());
m.setFilename(filename);
m.setMimeType(mimeType);
m.setRole(role);
m.setVisibility(visibility);
MediaService
When adding a new media we accept almost all the values from the client with the exception of time which we store in the server to prevent abuse
10. @Service
public class MediaService {
@Autowired
private MediaRepository media;
@Autowired
private UserRepository user;
public String storeMedia(String authtoken, byte[] data,
String mimeType, String role, String visibility,
String filename) {
User u = user.findByAuthtoken(authtoken).get(0);
Media m = new Media();
m.setData(data);
m.setOwner(u);
m.setDate(System.currentTimeMillis());
m.setFilename(filename);
m.setMimeType(mimeType);
m.setRole(role);
m.setVisibility(visibility);
MediaService
We need an auth token to make sure the media is saved under the correct user
11. @Autowired
private MediaRepository media;
@Autowired
private UserRepository user;
public String storeMedia(String authtoken, byte[] data,
String mimeType, String role, String visibility,
String filename) {
User u = user.findByAuthtoken(authtoken).get(0);
Media m = new Media();
m.setData(data);
m.setOwner(u);
m.setDate(System.currentTimeMillis());
m.setFilename(filename);
m.setMimeType(mimeType);
m.setRole(role);
m.setVisibility(visibility);
media.save(m);
return m.getId();
}
public MediaDAO getPublicMedia(String id) throws PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
MediaService
We return the media ID when we are done so it can be referenced by the user
12. m.setRole(role);
m.setVisibility(visibility);
media.save(m);
return m.getId();
}
public MediaDAO getPublicMedia(String id) throws PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
public MediaDAO getMedia(String authToken, String id) throws
PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
if(!m.getOwner().getAuthtoken().equals(authToken)) {
if(!m.getOwner().isFriendByToken(authToken)) {
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
MediaService
Public media can be requested via the id of the media and doesn't require any authentication
13. media.save(m);
return m.getId();
}
public MediaDAO getPublicMedia(String id) throws PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
public MediaDAO getMedia(String authToken, String id) throws
PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
if(!m.getOwner().getAuthtoken().equals(authToken)) {
if(!m.getOwner().isFriendByToken(authToken)) {
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
}
return m.getDAO();
MediaService
public enum VisibilityConstants {
PUBLIC("public"), FRIENDS("friends");
private String str;
private VisibilityConstants(String str) {
this.str = str;
}
public String asString() {
return str;
}
public static boolean isPublic(String s) {
return s == null || s.equalsIgnoreCase(PUBLIC.asString());
}
}
We need to check that the user is indeed requesting a public media object and isn't spoofing a request.
This obviously brings up the visibility constants enum which is pretty trivial right now. We just have two visibility types for public & friend. As you can see the isPublic
method tests if the field is public or null.
14. media.save(m);
return m.getId();
}
public MediaDAO getPublicMedia(String id) throws PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
public MediaDAO getMedia(String authToken, String id) throws
PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
if(!m.getOwner().getAuthtoken().equals(authToken)) {
if(!m.getOwner().isFriendByToken(authToken)) {
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
}
return m.getDAO();
MediaService
public class PermissionException extends Exception {
public PermissionException(String message) {
super(message);
}
}
The permission exception is thrown otherwise.
That exception is pretty simple and again just a marker exception for the webservice layer
15. public MediaDAO getPublicMedia(String id) throws PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
public MediaDAO getMedia(String authToken, String id) throws
PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
if(!m.getOwner().getAuthtoken().equals(authToken)) {
if(!m.getOwner().isFriendByToken(authToken)) {
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
}
return m.getDAO();
}
}
MediaService
Finally for media that could potentially be private we need this method, it accepts the user token and media id
16. public MediaDAO getPublicMedia(String id) throws PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
public MediaDAO getMedia(String authToken, String id) throws
PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
if(!m.getOwner().getAuthtoken().equals(authToken)) {
if(!m.getOwner().isFriendByToken(authToken)) {
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
}
return m.getDAO();
}
}
MediaService
If the media is public then there is no problem we can just return it
17. public MediaDAO getPublicMedia(String id) throws PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
public MediaDAO getMedia(String authToken, String id) throws
PermissionException {
Media m = media.findById(id).get();
if(VisibilityConstants.isPublic(m.getVisibility())) {
return m.getDAO();
}
if(!m.getOwner().getAuthtoken().equals(authToken)) {
if(!m.getOwner().isFriendByToken(authToken)) {
throw new PermissionException(
"Media item belongs to a user that isn't a friend");
}
}
return m.getDAO();
}
}
MediaService
If the media is for friends only we need to verify that the user requesting the media is indeed a friend