EventBus is an Android optimized publish/subscribe event bus. A typical use case for Android apps is gluing Activities, Fragments, and background threads together.
Sentimental analysis is a context based mining of text, which extracts and identify subjective information from a text or sentence provided. Here the main concept is extracting the sentiment of the text using machine learning techniques such as LSTM Long short term memory . This text classification method analyses the incoming text and determines whether the underlined emotion is positive or negative along with probability associated with that positive or negative statements. Probability depicts the strength of a positive or negative statement, if the probability is close to zero, it implies that the sentiment is strongly negative and if probability is close to1, it means that the statement is strongly positive. Here a web application is created to deploy this model using a Python based micro framework called flask. Many other methods, such as RNN and CNN, are inefficient when compared to LSTM. Dirash A R | Dr. S K Manju Bargavi "LSTM Based Sentiment Analysis" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-5 | Issue-4 , June 2021, URL: https://www.ijtsrd.compapers/ijtsrd42345.pdf Paper URL: https://www.ijtsrd.comcomputer-science/data-processing/42345/lstm-based-sentiment-analysis/dirash-a-r
My slides for Connectionist Temporal Classification (CTC) for automatic speech recognition (ASR) for an end-to-end (E2E) ASR speech recognition seminar at Aalto University spring 2020.
This talk is about how we applied deep learning techinques to achieve state-of-the-art results in various NLP tasks like sentiment analysis and aspect identification, and how we deployed these models at Flipkart
Sentimental analysis is a context based mining of text, which extracts and identify subjective information from a text or sentence provided. Here the main concept is extracting the sentiment of the text using machine learning techniques such as LSTM Long short term memory . This text classification method analyses the incoming text and determines whether the underlined emotion is positive or negative along with probability associated with that positive or negative statements. Probability depicts the strength of a positive or negative statement, if the probability is close to zero, it implies that the sentiment is strongly negative and if probability is close to1, it means that the statement is strongly positive. Here a web application is created to deploy this model using a Python based micro framework called flask. Many other methods, such as RNN and CNN, are inefficient when compared to LSTM. Dirash A R | Dr. S K Manju Bargavi "LSTM Based Sentiment Analysis" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-5 | Issue-4 , June 2021, URL: https://www.ijtsrd.compapers/ijtsrd42345.pdf Paper URL: https://www.ijtsrd.comcomputer-science/data-processing/42345/lstm-based-sentiment-analysis/dirash-a-r
My slides for Connectionist Temporal Classification (CTC) for automatic speech recognition (ASR) for an end-to-end (E2E) ASR speech recognition seminar at Aalto University spring 2020.
This talk is about how we applied deep learning techinques to achieve state-of-the-art results in various NLP tasks like sentiment analysis and aspect identification, and how we deployed these models at Flipkart
Introduction For seq2seq(sequence to sequence) and RNNHye-min Ahn
This is my slides for introducing sequence to sequence model and Recurrent Neural Network(RNN) to my laboratory colleagues.
Hyemin Ahn, @CPSLAB, Seoul National University (SNU)
Brief introduction on attention mechanism and its application in neural machine translation, especially in transformer, where attention was used to remove RNNs completely from NMT.
Sentiment analysis is essential operation to understand the polarity of particular text, blog etc. This presentation has introduction to SA and the approaches in which they can be designed.
This is my master course, IOT mini project. Implemented a simple counting system with using python and opencv3. System implemented with Raspberry Pi 3.
Sentiment Analysis also known as opinion mining and Emotional AI
Refers to the use of natural language processing, text analysis, computational linguistics and biometrics to systematically identify, extract, quantify and study affective states and subjective information.
widely used in
Reviews
Survey responses
Online and social media
Health care
This presentation consist of detail description regarding how social media sentiments analysis is performed , what is its scope and benefits in real life scenario.
A presentation on Bidirectional Encoder Representations from Transformers (BERT) meant to introduce the model's use cases and training mechanism. Best viewed with powerpoint since it contain many slide animations.
Make a query regarding a topic of interest and come to know the sentiment for the day in pie-chart or for the week in form of line-chart for the tweets gathered from twitter.com
Conversational AI with Rasa - PyData WorkshopTom Bocklisch
Workshop building a simple chatbot with Rasa NLU and Core. Additional resources can be found in the repository https://github.com/tmbo/rasa-demo-pydata18/edit/master/README.md
Despite its popularity, MNIST is considered as a simple dataset, on which even simple models achieve classification accuracy over 95%. It is hard to spot the differences between better models and weaker ones. In order to get a better intuition, we will use the qualitatively similar, but comparatively complex Fashion-MNIS dataset came out in 2017.
Sentiment analysis using naive bayes classifier Dev Sahu
This ppt contains a small description of naive bayes classifier algorithm. It is a machine learning approach for detection of sentiment and text classification.
Introduction For seq2seq(sequence to sequence) and RNNHye-min Ahn
This is my slides for introducing sequence to sequence model and Recurrent Neural Network(RNN) to my laboratory colleagues.
Hyemin Ahn, @CPSLAB, Seoul National University (SNU)
Brief introduction on attention mechanism and its application in neural machine translation, especially in transformer, where attention was used to remove RNNs completely from NMT.
Sentiment analysis is essential operation to understand the polarity of particular text, blog etc. This presentation has introduction to SA and the approaches in which they can be designed.
This is my master course, IOT mini project. Implemented a simple counting system with using python and opencv3. System implemented with Raspberry Pi 3.
Sentiment Analysis also known as opinion mining and Emotional AI
Refers to the use of natural language processing, text analysis, computational linguistics and biometrics to systematically identify, extract, quantify and study affective states and subjective information.
widely used in
Reviews
Survey responses
Online and social media
Health care
This presentation consist of detail description regarding how social media sentiments analysis is performed , what is its scope and benefits in real life scenario.
A presentation on Bidirectional Encoder Representations from Transformers (BERT) meant to introduce the model's use cases and training mechanism. Best viewed with powerpoint since it contain many slide animations.
Make a query regarding a topic of interest and come to know the sentiment for the day in pie-chart or for the week in form of line-chart for the tweets gathered from twitter.com
Conversational AI with Rasa - PyData WorkshopTom Bocklisch
Workshop building a simple chatbot with Rasa NLU and Core. Additional resources can be found in the repository https://github.com/tmbo/rasa-demo-pydata18/edit/master/README.md
Despite its popularity, MNIST is considered as a simple dataset, on which even simple models achieve classification accuracy over 95%. It is hard to spot the differences between better models and weaker ones. In order to get a better intuition, we will use the qualitatively similar, but comparatively complex Fashion-MNIS dataset came out in 2017.
Sentiment analysis using naive bayes classifier Dev Sahu
This ppt contains a small description of naive bayes classifier algorithm. It is a machine learning approach for detection of sentiment and text classification.
We now know that we have an Event system in place in Drupal 8 which has been imported from Symfony, the Symfony Event Dispatcher Component. The Event system will likely replace the traditional hook system altogether in coming drupal versions. This talk will try to throw some light on how to create, trigger, subscribe and listen to events in drupal 8.
This session will mainly elustrate:
What are Events. Why do we need to trigger events?
What all do we need Events for and where we are still stuck with hooks.
Events in Drupal 8
Symfony Event Dispatcher component
When to fire an event.
When to expose your hook in Drupal 8? Never.
How to create and dispatch an Event from your module.
How to listen or subscribe to an Event from your custom Event or an event from core.
How are event listeners and event subscribers different.
Different types of Event dispatchers.
Examples where events have been exhaustively used.
A simple demo implementation of events.
Attendees should be familiar with:
Basic Drupal 8 module development.
Basic OOP principles and practices.
Symfony components used in D8.
After attending this session attendees will be able to:
Create their custom events in Drupal 8
Subscribe to the events from core and other modules and to their custom events too.
Will have a knowledge of where to explore the events and where we have to still use hooks.
JavaScript Browser Events are an essential part of web development, allowing developers to create dynamic, interactive web applications. In this presentation, we will explore the basics of JavaScript Browser Events, including what they are, how they work, and why they are important.
This talk will explain the Google Web Toolkit (GWT), GWT architecture, and why you would want to use GWT. In addition, it will include a demo of GWT and the recently released GWT Designer (a tool that makes GWT development easy and that makes it fast to generate a complicated UI).
A Series of Fortunate Events - PHP Benelux Conference 2015Matthias Noback
What is an event really? How can you best describe an event in your code? What types of events are there, and how do you decide whether or not to implement something as an event?
In this talk we start with a straightforward command-only piece of code. We extract events from it and start moving the event handling code out, trying different design patterns on the way. First we try Observer. Then we introduce event data, event handlers and a Mediator between our code and the event handlers. Finally we pick a well-known event dispatcher implementation (the Symfony EventDispatcher) and see how it uses the Chain of Responsibility design pattern to control the entire flow of a web application request.
In the end I will answer some burning questions like: is it safe to use events all over the place and rely on event handlers to do some really important stuff? How do I overcome the indirection in my event-driven code? And how can I quickly find out what happens where?
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.
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/
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
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
UiPath New York Community Day in-person eventDianaGray10
UiPath Community Day is a unique gathering designed to foster collaboration, learning, and networking with automation enthusiasts. Whether you're an automation developer, business analyst, IT professional, solution architect, CoE lead, practitioner or a student/educator excited about the prospects of artificial intelligence and automation technologies in the United States, then the UiPath Community Day is definitely the place you want to be.
Join UiPath leaders, experts from the industry, and the amazing community members and let's connect over expert sessions, demos and use cases around AI in automation as we highlight our technology with a special speaker on Document Understanding.
📌Agenda
3:00 PM Registrations
3:30 PM Welcome note and Introductions | Corina Gheonea (Senior Director of Global UiPath Community)
4:00 PM Introduction to Document Understanding
How to build and deploy Document Understanding process
Where would Document Understanding be used.
Demo
Q&A
4:45 PM Customer/Partner showcase
Accelirate
Intro to Accelirate and history with UiPath
Why are we excited about the new AI features of UiPath?
Customer highlight
a. Document Understanding – BJs Case Study
b. Document Understanding + generative AI
5.30 PM Networking
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.
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.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
5. Status Quo in Android
Activity
Activity
Service / Helper
Fragment Fragment Thread
6. Communication Issues?!
Tight coupling of components
Inflexible, changes are expensive
Boiler plate code
– Define interfaces
– Callbacks for asynch. communication
– Listener management
– Propagation through all layers
7. EventBus Communication
Activity Activity
Event
Bus
Service / Helper
Fragment Fragment Thread
8. EventBus for Android
Event-based Publish/Subscribe
Bus: central communication
Inspired by Guava„s EventBus (Google)
Android-optimized
Open Source, Apache 2 License
https://github.com/greenrobot/EventBus
9. EventBus in 4 Steps
1. Define an event
2. Register subscriber
3. Post an event
4. Receive the event
10. EventBus in 4 Steps: Code!
1. Define an event
public class MyEvent {}
2. Register subscriber
EventBus.getDefault().register(this);
3. Post an event
EventBus.getDefault().post(event);
4. Receive the event
public void onEvent(MyEvent event);
12. EventBus Instances
EventBus instances
Instances are indepent from each other
For many apps, a single instance is fine
„Convenience“ Instance
EventBus.getDefault()
Aquire it anywhere(!) in your code
13. Event Handler Method:
onEvent
EventBus scans subscribers
– During (first) registration of subscriber
– For event handler methods
Event handler methods
– Naming convention: onEvent
– public visibility
– No return value (void)
– Single parameter for the event to receive
14. Type-based Event Routing
Event type: Java class of the event
To receive an event, its type must match
post(new MyEvent());
onEvent(MyEvent event) {…}
Type hierarchy of events
– Implement logging of all events:
onEvent(Object event)
15. Event Type is a Filter
Subscriber
Event
Event Event onEvent(MyEvent)
Publisher
post Bus
(MyEvent)
Subscriber
onEvent(OtherEvent)
18. EventBus Code: Receiver
MyActivity extends Activity // no interf.
// onCreate or onResume
EventBus.getDefault().register(this);
// onDestroy or onPause
EventBus.getDefault().unregister(this);
public onEvent(MyEvent event) { … }
19. Example: Fragment to
Fragment
Tap on one fragment
Another fragment reacts
Typical list/details scenario
Conventional setup: Activity
Activity is managing
Fragments
Fragment Fragment
26. Why do Threads matter?
Responsive UI, Android conventions
– Main/UI thread must not block
– UI updates in the main thread
– Networking etc. in background threads
Threads and Events
– Thread posting events
– Thread handling events
– Posting and handling thread may differ
27. EventBus Threading Support
Event delivery using threads
Event handler method decides
(handler knows best what it is doing)
Naming conventions for onEvent methods
To deliver in the main thread:
onEventMainThread(…)
(All methods beginning with onEvent are
checked for typos)
28. Thread Modes
PostThread: Direct call in same thread
MainThread: UI updates etc.
BackgroundThread: „not the main
thread“
Async: always asynchronous to posting
Used in the method name: onEventXXX
No additional code required
29. Threading Example
Network thread posts result
post(new UserLoginEvent(name));
Fragment reacts to event in main thread
public void
onEventMainThread(UserLoginEvent e) {
textView.setText(e.getName());
}
31. Upcoming: EventBus 2.1
EventBus 2.1 is not final yet;
Still gathering experience and feedback
Everything pushed to master branch
No relevant changes in the core (planned)
Comes with some helpers
– AsyncExecutor
– Error dialog
32. EventBus 2.1: AsyncExecutor
A thread pool, but with failure handling
RunnableEx interface
– Like Runnable to define code to run async.
– May throw any execption
ThrowableFailureEvent
– Posted when exception occurs
– Throwable object is wrapped inside
– Subclass to customize and filter for type
36. EventBus 2.1: Error Dialog
Operations may fail (networking, etc.)
Some UI response should be shown
– Currently: error dialogs
– Later: Possibly maybe someth. Crouton-ish
Multiple errors: don‟t open multiple times
Goal: Minimize required code
37. How Error Dialogs work
Error handling “attaches” to Activities
Displaying dialogs is triggered by events
ThrowableFailureEvent or subclass
– AsyncExecutor sends those
– Or post those events manually
38. Error Dialogs: Code
// In onCreate in your Activity
ErrorDialogManager.attachTo(this);
// Trigger the dialog
bus.post(new ThrowableFailureEvent(ex));
// Or let AsyncExecutor do it for you…
39. Dialog Configuration
Which texts to display in the dialog?
Simple option: Configure
– Supply default resources for title and text
– Map exception types texts
Flexible option: extend
ErrorDialogFragmentFactory
40. Dialog Configuration: Code
// Initialize in your Application class
ErrorDialogConfig config = new
ErrorDialogConfig(getResources(),
R.string.error_generalTitle,
R.string.error_general);
config.addMapping(UnknownHostException.class,
R.string.error_noInternetConnection);
config.addMapping(IOException.class,
R.string.error_generalServer);
ErrorDialogManager.factory = new
ErrorDialogFragmentFactory.Support(config);
41. Comparison Android
Broadcast
Nice, but somewhat inconvenient
BroadcastReceiver has to be extended
Registration needed for every event type
Extra work to filter for desired event types
(IntentFilter with e.g. ACTION String)
Data is converted into Intent extras
43. Sticky Events
Events can be posted using sticky mode
postSticky(event); // Instead of post(…)
The last sticky event is kept in memory
Registration with getting sticky events
registerSticky(subscriber);
Query for sticky event
getStickyEvent(Class<?> eventType)
Remove sticky event (Class or Object)
removeStickyEvent(Class<?> eventType)
44. Events Class
Event classes are tiny; group them
public class Events {
public static class InitThreadCompleteEvent {
}
public static class LoginCompleteEvent {
}
}
45. EventBusFragment/-Activity
Superclass depends on your setup
Implement in your project
class EventBusFragment extends Fragment {
public void onCreate(…) {
super.onCreate(…);
EventBus.getDefault().register(this);
}
public void onDestroy() {
EventBus.getDefault().unregister(this);
super.onDestroy();
}
46. When to use EventBus
Medium/high distance of components:
“Somewhere” else should happen sth.
Potentially multiple dependencies
Asynchronous logic
When not to use EventBus
– Strictly internal matters:
Use methods and interfaces instead
– Inter-process communication
47. License, Contact
This presentation is licensed under
CreativeCommons ShareAlike/Attribution
http://creativecommons.org/licenses/by-sa/3.0/
Contact greenrobot
– http://greenrobot.de
– http://twitter.com/greenrobot_de
– Google+: http://bit.ly/greenrobotplus