The document discusses using XMPP and Rails for real-time web applications. It describes how XMPP allows for server push through BOSH and components, and can be used to build features like multi-party negotiations. Examples are given of using an XMPP component to handle events from a Rails application and push updates to clients in real-time. Pros of the approach include powerful XMPP toolkits, built-in server push, and scalability, while some administrative work is required.
Generating Unified APIs with Protocol Buffers and gRPCC4Media
Video and slides synchronized, mp3 and slide download available at URL http://bit.ly/2k1eZ00.
Chris Roche and Christopher Burnett discuss how they extended the Protocol Buffer (PB) IDL to create unified APIs and data models. From validation logic to automatic logging and statistics, PBs allows them to speed up development across Go, Python, and PHP stacks. They also show how they leverage the Envoy proxy to transparently upgrade HTTP/1.1 services to speak gRPC on the wire. Filmed at qconnewyork.com.
Chris Roche is a Core Libraries Engineer at Lyft focused on enriching the tools to create distributed systems. Christopher Burnett is Lead Core Libraries Engineer at Lyft, where he designs software for distributed systems.
Presentation at NetPonto community: "We’re going to discuss gRPC, Google’s open-source RPC framework. I’ll dive a bit into the history of RPC as a protocol, and what its historical use has been. I’ll also highlight some benefits to adopt gRPC and how its possible to swap out parts of gRPC and still take advantage of gRPC’s benefits. Finally I’ll answer the question that has been on many lips since gRPC was announced — what does this mean for REST?"
Real time Web Application with XMPP and WaveMickaël Rémond
This is the slide of my talk given at Erlang Factory 2010 in San Francisco. It introduces XMPP, Wave and ProcessOne Wave server implementation, to build realtime web collaborative platform.
Genora has pioneered high end chat applications development using xmpp architechture. Here is a detailed report you need to know while developing chat applications.
Reach us at https://www.genorainfotech.com/
Generating Unified APIs with Protocol Buffers and gRPCC4Media
Video and slides synchronized, mp3 and slide download available at URL http://bit.ly/2k1eZ00.
Chris Roche and Christopher Burnett discuss how they extended the Protocol Buffer (PB) IDL to create unified APIs and data models. From validation logic to automatic logging and statistics, PBs allows them to speed up development across Go, Python, and PHP stacks. They also show how they leverage the Envoy proxy to transparently upgrade HTTP/1.1 services to speak gRPC on the wire. Filmed at qconnewyork.com.
Chris Roche is a Core Libraries Engineer at Lyft focused on enriching the tools to create distributed systems. Christopher Burnett is Lead Core Libraries Engineer at Lyft, where he designs software for distributed systems.
Presentation at NetPonto community: "We’re going to discuss gRPC, Google’s open-source RPC framework. I’ll dive a bit into the history of RPC as a protocol, and what its historical use has been. I’ll also highlight some benefits to adopt gRPC and how its possible to swap out parts of gRPC and still take advantage of gRPC’s benefits. Finally I’ll answer the question that has been on many lips since gRPC was announced — what does this mean for REST?"
Real time Web Application with XMPP and WaveMickaël Rémond
This is the slide of my talk given at Erlang Factory 2010 in San Francisco. It introduces XMPP, Wave and ProcessOne Wave server implementation, to build realtime web collaborative platform.
Genora has pioneered high end chat applications development using xmpp architechture. Here is a detailed report you need to know while developing chat applications.
Reach us at https://www.genorainfotech.com/
Micro on NATS - Microservices with MessagingApcera
This is a talk given by Asim Aslam at the NATS London Meetup on May 10th, 2016. It explains what Micro is (Microservices toolkit), and how it uses NATS - a lightweight high performance open source messaging system for microservices, cloud native, and IoT networks written in Golang.
You can learn more about NATS at http://www.nats.io
You can learn more about Micro at https://micro.mu/
Reliable communication is essential for microservice based architectures. One of the most effective patterns for microservices communication is message queue. We'll see how a Rubyist can build scalable microservices using RabbitMQ and run it on the AWS infrastructure in Docker containers.
ROS Based Programming and Visualization of Quadrotor HelicoptersAtılay Mayadağ
ROS Based Programming and Visualization of Quadrotor Helicopters
Contents
Purpose of Thesis
Robot Operating System ( ROS )
What is Robot Operating System ( ROS ) ?
ROS structure
HOW does ROS work ?
Navigation of Robot with ROS
URDF : Unified Robot Description Format
ROS with 3D Modelling and Simulation
Quadrotor Simulation on Rviz and Gazebo with ROS
Conclusion and Recommendation
ROS publish / subscribe method
unmanned air vehicle
Robot Operating System
ATILAY MAYADAG
Staying on Topic - Invoke OpenFaaS functions with KafkaRichard Gee
This talk introduced both OpenFaaS & OpenFaaS Cloud before demonstrating the Kafka Connector. Based on the Connector SDK, the Kafka Connector enables Kubernetes based functions to be triggered using messages consumed from Kafka topics. The connector easily integrates with your existing Kafka installations enabling you to flexibly complement your existing systems' functionality with serverless functions.
A vision for ejabberd - ejabberd SF MeetupMickaël Rémond
This is Mickaël Rémond presentation from ejabberd San Francisco Bay Area Meetup in march 2015. He presents latest achievements and progress made on ejabberd during the last few months. He then share his vision about the next steps to bring ejabberd XMPP platform to the next level.
Find in this presentation an overview of the micro-ROS project, with its latest developments and new features
This presentation contains the workshop: Deeply embedded software" delivered at the European Robotics Forum on April 13th, 2021..
Новый InterSystems: open-source, митапы, хакатоныTimur Safin
Presentation for the 1st InterSystems Meetup in the Minsk:
- New and better InterSystems changes their practice.
- open-source repositories, meetups, and hackathon;
- CPM (package manager) as a good example of open-source project
Building Hopsworks, a cloud-native managed feature store for machine learning Jim Dowling
Cloud Native London talk about the control layer of Hopsworks.ai and our choice of cloud native services. We built our own multi-tenant services as cloud native services, for the most part.
This presentation describes progress on ProcessOne new product, OneTeam Media Server. This is a Flash Media Server used to write interactive, collaborative and real time Flash applications.
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
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/
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
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.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
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.
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.
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Real-time Web with Rails and XMPP
1. Real-time Web with Rails
and XMPP
Münchner Ruby on Rails User Group, 2010/12/2
Li Cai (ca168168@gmail.com)
founder: reliwa.de
partner & ex-CTO: 16ds.com
2. Motivation: 16ds.com
• B2B portal and business network for the
chemical industry
• Market indexes for 30+ bulk chemicals
based on prices submitted by diverse
market players
• Real-time multi-party price negotiation
Münchner Ruby on Rails User Group, 2010/12/2
3. Multi-party price negotiation
• User self-organized
• Access control based on organizational structure of the
company
• Customizable quotation templates for each product
• Configurable admission control and protection of sensitive
data (customer identities, price details, etc.)
• Different negotiation modes: fixed price, bargaining, bidding,
moderated bidding
• Real-world near auctions by utilizing “Counting-Down-
Hammer”
Münchner Ruby on Rails User Group, 2010/12/2
4. Server push in Rails
• Polling: simple (but...)
• Comet: setup external server for server push (Jetty,
glassfish, cometd, ErlyComet, node.js, etc.)
• FlashXML Socket: full-duplex TCP stream socket
connection (extra work for firewall traversal)
• XMPP/BOSH: bidirectional streams over HTTP
connection
• WebSockets: full-duplex over single TCP socket is
being standardized by the W3C (HTML5)
Münchner Ruby on Rails User Group, 2010/12/2
5. XMPP
• eXtensible Messaging and Presence Protocol
• Data exchanged over a pair of XML streams
• extensibility: very easy to add new features to the protocol
• XMPP Toolkits
• presence
• instant messaging
• Multi User Chat (XEP-0045)
• Publish/Subscribe (XEP-0060)
• and many more...
Münchner Ruby on Rails User Group, 2010/12/2
6. XMPP
• BOSH (XEP-0124, XEP-0206)
• long-lived bidirectional streams over HTTP connection
• hide user credentials by session attachment
• many XMPP servers have BOSH connection manager
build-in
• XMPP Component (XEP-0114)
• stand-alone server process written with whatever
language you like
• easily extend the server with your own application logic
Münchner Ruby on Rails User Group, 2010/12/2
7. Extend XMPP with our new
features
• Build multi-party price negotiation on top of MUC
• Create XMPP account for every user, while hiding the
credentials by using session attachment
• Create MUC-rooms on demand, and manage the member
list by our application
• Implement an XMPP component to interact with our
application as well as the clients
• Extend name space and let our application handle stuffs
• Configure default settings of the XMPP server for security
Münchner Ruby on Rails User Group, 2010/12/2
8. Rails and XMPP
Application Background
Web Client HTTP Server
Instances (Rails) Jobs (Rails)
BOSH Conn.
Message Queue
Manager
XMPP Server
XMPP Server
Component
Münchner Ruby on Rails User Group, 2010/12/2
9. XMPP servers
• ejabberd
• written in Erlang, well-known for its scalability
• http://www.process-one.net/en/ejabberd/
• Openfire
• written in Java, very easy to install and configure
• http://www.igniterealtime.org/projects/openfire/
• Tigase
• written in Java
• http://www.tigase.org/
• and much more...
Münchner Ruby on Rails User Group, 2010/12/2
10. XMPP libraries - server side
• xmpp4r
• feature-rich, threaded ruby
• http://home.gna.org/xmpp4r/
• blather
• lightweight, DSL-style, evented ruby
• http://sprsquish.github.com/blather/
• skates
• lightweight, MVC-style, evented ruby
• http://skates.rubyforge.org/
• strophe-ruby
• ruby binding for libstrophe, can be run within a Rails-app
• https://github.com/yong/stropheruby
Münchner Ruby on Rails User Group, 2010/12/2
11. XMPP libraries - client side
• strophe.js
• JavaScript
• http://code.stanziq.com/strophe/
• xmpp4js
• JavaScript
• http://xmpp4js.sourceforge.net/
• XIFF
• Flash/ActionScript
• http://www.igniterealtime.org/projects/xiff/
• and many more...
Münchner Ruby on Rails User Group, 2010/12/2
12. Example: user submits a bid
XMPP Comp. User M User A User B
XMPP MUC Web App
(Spider) (Moderator) (Participant) (Participant)
submit bid
room_jid, user_jid, [bid]
groupchat:x.spider_bid.submitted [bid w. public info]
update bid_list update bid_list update bid_list
private? && msg:x.spider_bid.submitted [bid w. all info]
update bid_list update bid_list
Münchner Ruby on Rails User Group, 2010/12/2
13. Example: user submits a bid
Rails:
# class RoomBid < ActiveRecord:Base
def submit
# ... authorization check and application level processing ...
Spider.notify "bid.submitted", {
:room_jid => room.jid,
:bid => public_info.to_json
}).merge(public? ? {} : {
:private_recipient_jids => [room.moderator.jid, submitter.jid],
:bid_full => all_info.to_json
})
end
# class Spider
def notify key, options = {}
mq.exchange('spider', :type => :topic).publish(Marshal.dump(options), :key => key)
end
Münchner Ruby on Rails User Group, 2010/12/2
14. Example: user submits a bid
XMPP Component:
# handling of the queue event: “bid.submitted”
send_msg do |xml|
# send broadcast message
xml.message(:to => options[:room_jid], :from => SPIDER_JID, :type => :groupchat) do
xml.x :xmlns => NS_SPIDER_BID do
xml.submitted options[:bid]
end
end
# send private messages
options[:private_recipient_jids] && options[:private_recipient_jids].each do |jid|
xml.message(:to => jid, :from => SPIDER_JID, :type => :normal) do
xml.x :xmlns => NS_SPIDER_BID do
xml.submitted options[:bid_full], :in => options[:room_jid]
end
end
end
end
Münchner Ruby on Rails User Group, 2010/12/2
15. Example: user submits a bid
Client (with strophe.js):
// broadcast messages
on_broadcast_message: function (message) {
var from = $(message).attr('from');
var room = Strophe.getNodeFromJid(from);
msg = $(message).find("x[xmlns='" + NS.SPIDER_BID + "'] > submitted");
if (msg.length > 0) {
Client.on_bid_submitted(room, JSON.parse(msg.text(), true);
}
// other events ...
},
// update local db, render the gui
on_bid_submitted: function (room, bid, broadcasted) {
Room.set_bid(room, bid, broadcasted);
Renderer.render_bid(room, bid);
},
Münchner Ruby on Rails User Group, 2010/12/2
16. Conclusions
• Pros:
• powerful toolkits for application
• server push for free
• scalability
• transparent for users
• Cons:
• a bit admin work
Münchner Ruby on Rails User Group, 2010/12/2
17. Demo
Münchner Ruby on Rails User Group, 2010/12/2