This document provides an overview of routing changes in Rails 3, including:
- Matching routes using "match" instead of "map.connect" and optional segments.
- Namespaces, scopes, and constraints for organizing and restricting routes.
- Default RESTful routes and generating resources.
- Redirects can now be specified as Rack apps or Procs.
- Mounting other Rack endpoints at specific paths.
The document discusses techniques for enabling communication between JavaScript and Objective-C in iOS applications, including setting global variables accessible to both, making Objective-C selectors and properties available to JavaScript, and handling callbacks from JavaScript to Objective-C such as when the web view location changes or a form is submitted. Code snippets provide examples of implementing these techniques.
This document provides instructions for building a Python web application using Bottle and Gevent. It discusses setting up an asynchronous server using Bottle and Gevent to make more efficient use of CPU resources. It then demonstrates how to create routes, handle inputs, return different content types like plaintext, JSON, and HTML templates, and display lists and highlight names in templates.
Automated release management with team city & octopusdeploy - NDC 2013Kristoffer Deinoff
The document discusses automated release management and continuous delivery using TeamCity and Octopus Deploy. It provides steps to configure a build pipeline in TeamCity that packages a .NET project into a NuGet package. The NuGet package is then deployed to various environments in Octopus Deploy using steps like publishing a website, running smoke tests, and verifying changes in user acceptance testing. It also discusses writing PowerShell scripts to automate packaging, publishing, and deployment tasks. Connecting an issue tracker to provide release notes from pending issues is also covered.
The document discusses different patterns for handling asynchronous code in JavaScript: callbacks, promises, and AMD (Asynchronous Module Definition). It outlines issues with nested callbacks and inflexible APIs. Promises and AMD aim to address these by allowing composition of asynchronous operations and defining module dependencies. The document provides examples of implementing PubSub with events, making and piping promises, and using AMD to load dependencies asynchronously. It concludes that callbacks should generally be avoided in favor of promises or AMD for asynchronous code.
Europython 2011 - Playing tasks with Django & CeleryMauro Rocco
This document discusses using Django and Celery for asynchronous task processing. Some key points:
- Celery allows defining and processing asynchronous tasks across multiple machines in a distributed, fault-tolerant way. It supports scheduling via cron-like functionality.
- Django-celery provides a Django app that integrates Celery with the Django admin for task scheduling and monitoring. It replaces Celery configuration with Django settings.
- Unique tasks ensure only one instance of a task runs at a time across all machines. This is useful for accessing sensitive resources atomically. Custom locking and concurrency handling is implemented.
- Centralized logging is implemented by connecting signal handlers to Celery's logging setup. This allows sending all worker logs to a syslog
Python Code Camp (Professionals) is a whole day workshop that aims to enable professionals to learn Python Basics and Django.
Visit: http://devcon.ph/events/python-code-camp-professionals-2016
Python Code Camp (Professionals) is a whole day workshop that aims to enable professionals to learn Python Basics and Django.
Visit: http://devcon.ph/events/python-code-camp-professionals-2016
This document discusses how to build iPhone apps using only web technologies like HTML5, CSS3, and JavaScript without relying on native iOS frameworks or the App Store. Key points covered include how to create offline-capable apps using the cache manifest, emulate touch events with JavaScript, make the app feel native through CSS transforms and meta tags, and detect device capabilities. The example rubiks cube app demonstrates these techniques to create an offline-capable puzzle game experience on iPhone similar to a native app.
It’s trivial today to start writing and debugging some React code, but it’s not 100% clear how to properly deploy the application, manage versions and what implications that has on the build configurations. Especially if you want to allow different versions for different users in order to perform some A/B testing, testing new features in production environment, come up with some UI experiments, or gradually roll out new features for a subset of users.
In this presentation I hopefully covered all that.
Python Code Camp (Professionals) is a whole day workshop that aims to enable professionals to learn Python Basics and Django.
Visit: http://devcon.ph/events/python-code-camp-professionals-2016
This document discusses JavaScript promises as an abstraction pattern for handling asynchronous code. It explains why promises are useful by describing some of the issues with callback-based asynchronous code, such as callback hell and lack of readability. The document then provides examples of how to create and use promises to handle sequential and parallel asynchronous tasks in a more maintainable way using chaining and batching. It also discusses how promises are supported in browsers, Node.js, and common promise libraries like Q, RSVP, when.js, and Bluebird.
Learn the ins and outs of running background tasks with the popular python module Celery. We'll hit the ground running. With everything you need to know to run your first task, to scaling your stack to run millions each day.
Async/await is a new language feature that will ship with Swift 5.5 this year. There’s no doubt it will have a significant impact on how we write asynchronous code.
In this talk, we’re going to look at some use cases for async/await, how we can call existing Swift APIs using this new feature, and why your decision to write your SDK in Objective-C might turn out to have been a very clever move.
We’ll also have a look at the refactoring support Apple is adding to Xcode and how it will help you migrate your existing code base.
This document provides an overview of several features in the Project Wonder framework called "ERExtensions". It describes utilities for type-safe page naming, version management of static resources, direct action debugging, application rewriting, redirects, batch navigation, hyperlinking with objects, inline templates, lorem ipsum generation, captchas, RSS feeds, caching of enterprise objects, formatting numbers by unit, mutable URLs, thread storage, and more. Many of these features aim to improve functionality, security, performance, and usability compared to standard WebObjects components.
Celery is an asynchronous task queue that allows tasks to be handled outside of HTTP requests. For example, a web application could use Celery to poll an API every 10 minutes and store the results in a database without blocking the HTTP response. Celery distributes tasks by passing messages, allowing tasks to run across multiple worker processes. It uses brokers like Redis to manage queues and tasks. Developers define tasks as functions that are executed asynchronously by Celery workers.
Good karma: UX Patterns and Unit Testing in Angular with KarmaExoLeaders.com
The document discusses unit testing in Angular with Karma. It provides examples of UX patterns in Angular like binding elements to variables, lists, and click handlers. It also covers what controllers and scopes are and examples of testing components in Angular like services, factories, and UI elements. Hands-on examples are provided for setting up a test environment and writing tests.
The document discusses unobtrusive JavaScript and the UJS plugin for Rails. It describes separating JavaScript behavior from HTML content and CSS styling. The UJS plugin allows defining behaviors via CSS selectors and keeping scripts in external files. Examples are given of attaching remote behaviors to links and forms using the UJS plugin.
This presentation briefly tells about the classification of Gears. It includes information about spur, helical, bevel, herringbone, rack and pinion, internal and external gears.
GWT + Gears : The browser is the platformDidier Girard
- GWT (Google Web Toolkit) allows developers to build applications for the web using Java instead of JavaScript. It compiles Java code into optimized JavaScript that runs across browsers.
- GWT features include cross-browser compatibility, support for Ajax, widgets, internationalization, unit testing, and more. It produces lightweight, fast JavaScript code.
- Google Gears provides additional features for building offline web applications, including local data storage, database support, and workers. It can be used with GWT for offline functionality.
- The presenter discusses how GWT and Gears allow building rich web applications using a Java-based approach, cutting development costs and improving productivity over traditional web development. Many companies are now using
This document provides an overview of gears and gear trains. It defines gears as toothed wheels that transmit motion between two shafts, and gear trains as combinations of two or more meshing gears. The document then discusses the types of gears based on axis position and peripheral velocity, as well as the materials and manufacturing processes used to make gears. Finally, applications of gear trains are described, including their use in differentials to allow wheels to rotate at different speeds.
Gears are components that transmit rotational motion between two shafts. There are several types of gears classified by the position of their shafts, including spur gears where the teeth are parallel to the axis of rotation, helical gears which are cut at an angle, and bevel gears where the shafts meet at an angle. Gears are used in many machines and mechanisms to increase torque or change the speed and direction of rotation between two shafts.
Unit 6- spur gears, Kinematics of machines of VTU Syllabus prepared by Hareesha N Gowda, Asst. Prof, Dayananda Sagar College of Engg, Blore. Please write to hareeshang@gmail.com for suggestions and criticisms.
Gears are used to transmit motion between rotating shafts and can change the speed and torque characteristics. The document discusses various types of gears including spur gears, helical gears, bevel gears, worm gears, and rack and pinion gears. It also covers planetary or epicyclic gears which are used in automatic transmissions to achieve large speed reductions in a compact space. Standard specifications for parameters like pressure angle, addendum, dedendum, and circular pitch are provided for designing gear teeth.
1) Gears are components that transmit rotational force from one shaft to another. Different types of gears exist depending on the position of the shaft axes, including spur gears, helical gears, bevel gears, and worm gears.
2) Gear trains involve two or more gears meshing together to reduce speed and increase torque. Simple gear trains connect two parallel shafts, while compound and planetary gear trains involve more complex gear arrangements.
3) Planetary gear trains feature one or more planet gears that mesh with both a sun gear and ring gear simultaneously, allowing different gear ratios depending on which gears are used as inputs and outputs. They provide more compact transmissions of high gear ratios.
Gears are used to transmit motion between two shafts or between a shaft and a slide. There are several types of gears including spur gears, helical gears, bevel gears, worm gears, and planetary/epicyclic gears. Gears can be used to increase or decrease torque and rotational speed depending on their relative sizes. Key terms related to gears include pitch, pitch diameter, diametral pitch, module, addendum, dedendum, line of action, and gear trains. Gear trains involve two or more gears meshing together and can be simple, compound, reverted, or planetary/epicyclic depending on their configuration and relative motion of axes.
The document discusses gears and gear kinematics. It introduces gears as components that transmit rotational force from one shaft to another. It describes different types of gears based on the position of their axes, including spur gears, helical gears, bevel gears, rack and pinion gears, and worm gears. For each type, it provides details on their structure, advantages, and disadvantages. The document also discusses various gear terminology such as pitch circle, pressure angle, addendum, and interference. It explains how interference can be avoided by ensuring the point of contact between meshing gear teeth remains on the involute profiles.
This document provides an overview of gears, including their classification, types, terminology, and applications. It discusses the following:
1. Gears are used to transmit motion between shafts through engaging teeth and can transfer motion through rolling or sliding contact.
2. Gears are classified based on shaft positioning, peripheral velocity, gearing type, and tooth positioning. Common types include spur gears, helical gears, bevel gears, worm gears, and rack and pinion gears.
3. Gear trains such as simple, compound, reverted, and planetary arrangements are used to transmit motion from one shaft to another.
Gears are widely used to transmit motion in machinery due to advantages like transmitting exact
Gears are mechanical devices used to transmit rotational motion and torque between two shafts. The document discusses several types of gears including spur gears, helical gears, bevel gears, hypoid gears, worm gears, rack and pinion gears, and planetary gears. It explains how each type of gear works and common uses for different gear types.
This document provides an introduction to the various types of pieces in a Lego set, including beams, connectors, gears, wheels and treads, decorative pieces, miscellaneous pieces, and electronic pieces. Beams are described as coming in straight, angular, thin, and linking varieties. Connectors include pins, axles, bushes, and cross blocks. Gears include spur gears, bevel gears, and worm gears. Wheels, treads, and tires are categorized together. Decorative pieces cover panels, teeth, swords, and other ornamental elements. Miscellaneous pieces comprise balls, shooters, magazines, and rubber bands. The electronic section lists the intelligent brick, motors, sensors, and cables.
This presentation provides an overview of worm gears, including their two types (cylindrical and cone), three types of worm gears, common materials used, key terms, how they work to reduce speed and increase torque via a high velocity ratio, common applications, advantages of being self-locking and occupying less space, disadvantages of higher costs and lower efficiency, and areas for further research such as improved lubrication. Worm gears are widely used gear systems for transmitting power between non-intersecting shafts, especially at high velocity ratios.
This document defines key terminology used in gear calculations, including:
- Pitch circle - An imaginary circle used to define gear size and motion
- Pitch diameter - The diameter of the pitch circle
- Addendum - The radial distance from the pitch circle to the top of the tooth
- Dedendum - The radial distance from the pitch circle to the bottom of the tooth
- Clearance - The radial distance between the top of one tooth and bottom of the other in mesh
This presentation discusses epicyclic gear trains and their applications. It begins by defining an epicyclic gear train as one where the axes of gears can move relative to a fixed axis. Examples of applications include differentials in automobiles and lathes. It then discusses methods to calculate velocity ratios in epicyclic gear trains using tabular and algebraic methods. Compound epicyclic gear trains using sun and planet gears are described. Epicyclic gear trains using bevel gears are also discussed, along with examples of their use in speed reduction gears and differentials. Finally, the presentation covers torques in epicyclic gear trains and how input, output, and holding torques are related.
Power transmission involves transferring rotational force from one component to another using gears. Gears come in different types depending on the position of their shafts, including spur gears, helical gears, bevel gears, and worm gears. Gears are used to change rotational speed and torque in machines and vehicles through gear trains and different gear ratios.
Gears are mechanical components that transmit power and motion between rotating shafts. They can change the speed, torque, or direction of rotation. Common gear types include spur gears, helical gears, bevel gears, and worm gears. Gears are made through processes like casting, cutting, grinding, and lapping. Their design involves parameters like pitch, pressure angle, module, and involute tooth profiles to enable smooth meshing of gear teeth. Manufacturing gears requires processes for casting, machining, heat treatment, finishing, and quality inspection.
The document discusses different types of gears including spur gears, helical gears, herringbone gears, rack and pinion gears, bevel gears, worm gears, and planetary gears. It describes the design and function of each gear type, their advantages and disadvantages, and common applications. Spur gears transmit power between parallel shafts and are used in machines, power plants, and automobiles. Helical gears operate more quietly than spur gears and are used in automobile transmissions. Planetary gears can produce different gear ratios and are commonly used in automatic transmissions.
Unit 7-gear trains, Kinematics of machines of VTU Syllabus prepared by Hareesha N Gowda, Asst. Prof, Dayananda Sagar College of Engg, Blore. Please write to hareeshang@gmail.com for suggestions and criticisms.
Google Back To Front: From Gears to App Engine and Beyonddion
I had the privilege of giving a Yahoo! Tech Talk at their HQ in Sunnyvale. I spoke on Gears, App Engine, and other technologies such as the Ajax Libraries API and Doctype.
Beyond Cookies, Persistent Storage For Web Applications Web Directions North ...BradNeuberg
This document discusses persistent storage options for web applications beyond cookies. It describes name/value storage, databases, static files, and how HTML5 specifications like localStorage, sessionStorage, databases, and the application cache provide similar persistent storage capabilities to older technologies like Gears and Flash. Use cases, code examples, and browser support are provided for each HTML5 storage mechanism.
Javascript and first-class citizenry: require.js & node.js
Javascript on web pages is ubiquitous and its problems are legendary. Javascript, seen as a second-class code citizen, is usually hacked together even by seasoned developers. New libraries (jQuery, prototype, backbone, knockout, underscore) and runtime tools (firebug, jasmine) look like they solve many problems - and they do. But they still leave poorly written code as just that. One key problem is that all javascript code lives globally and this results in poorly managed, tested and delivered code.
In this session, I will illustrate that we can treat javascript as a first-class citizen using with require.js and node.js: it can be modular, encapsulated and easily unit tested and added to continuous integration cycle. The dependencies between javascript modules can also be managed and packaged just like in C# and Java. In the end, we can resolve many javascript difficulties at compile time rather than waiting until runtime.
This document provides an introduction and overview of a Node.js tutorial presented by Tom Hughes-Croucher. The tutorial covers topics such as building scalable server-side code with JavaScript using Node.js, debugging Node.js applications, using frameworks like Express.js, and best practices for deploying Node.js applications in production environments. The tutorial includes exercises for hands-on learning and demonstrates tools and techniques like Socket.io, clustering, error handling and using Redis with Node.js applications.
The document discusses how to use Google Web Toolkit (GWT) and Google Gears to create web applications that can run offline. It explains that GWT allows developers to write applications in Java that compile to optimized JavaScript. Google Gears provides features like local data storage, databases and caching that allow applications to work without an internet connection. The document provides details on using the Gears manifest file to cache resources, interacting with the SQLite database to store local data, and syncing data when the application regains connectivity.
This document provides an overview of the Play! web framework for Java, including how it differs from traditional Java web development approaches by avoiding servlets, portlets, XML, EJBs, JSPs, and other technologies. It demonstrates creating a simple PDF generation application using Play!, including defining a model, controller, and view. The framework uses conventions over configuration and allows rapid development through features like automatic reloading of code changes and helpful error pages.
Quick and Easy Development with Node.js and Couchbase ServerNic Raboy
Build an API driven Node.js application that uses Couchbase for its NoSQL database and AngularJS for its front-end. Presented by Nic Raboy, Developer Advocate at Couchbase.
BlackBerry DevCon 2011 - PhoneGap and WebWorksmwbrooks
PhoneGap and BlackBerry WebWorks allow developers to create cross-platform mobile apps using web technologies like HTML, CSS, and JavaScript. The document discusses how these tools were used to build a nursing app, including overcoming challenges related to platform differences and limitations. Feature detection was used to handle quirks across platforms. Performance was improved by dispatching functions asynchronously on BlackBerry 5. The developer recommends alternative approaches like using Backbone.js, jQuery Mobile, Jasmine BDD, and pre-generated JSON files for future projects.
A Progressive Web Application has a lot of advantages compared to a traditional website. A PWA is user-friendly, increases customer loyalty and conversions. Curious how PWA looks like in real-life?. Curious how PWA looks like in real-life? Check out Dutch’s first PWA (Vue Storefront + Magento 2) webshop, a scoop in e-commerce land! Vendic presents Meubelplaats.nl
A webshop in need of renovation, with a back-end that didn’t meet the requirements and demands of Meubelplaats. They trusted Vendic to develop their new webshop as a PWA. And behold! A smarter, faster website with the look & feel of an app, but with a powerful Magento 2 engine.
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)Igor Bronovskyy
09 - Express Nodes on the right Angle - Vitaliy Basyuk - IT Event 2013 (5)
60 вузлів під правильним кутом - миттєва розробка програмних додатків використовуючи Node.js + Express + MongoDB + AngularJS.
Коли ми беремось за новий продукт, передусім ми думаємо про пристрасть, яка необхідна йому, щоб зробити користувача задоволеним і відданим нашому баченню. А що допомагає нам здобути прихильність користувачів? Очевидно, що окрім самої ідеї, також важлими будуть: зручний користувацький інтерфейс, взаємодія в реальному часі та прозора робота з даними. Ці три властивості ми можемо здобути використовучи ті чи інші засоби, проте, коли все лиш починається, набагато зручніше, якщо інструменти допомагають втілити бажане, а не відволікають від головної мети.
Ми розглянемо процес розробки, використовуючи Node.js, Express, MongoDB та AngularJS як найбільш корисного поєднання для отримання вагомої переваги вже на старті вашого продукту.
Віталій Басюк
http://itevent.if.ua/lecture/express-nodes-right-angle-rapid-application-development-using-nodejs-express-mongodb-angular
The document provides an introduction to developing complex front-end applications using HTML and JavaScript. It discusses how JavaScript modules can be organized in a way that is similar to frameworks like WPF and Silverlight using simple constructs like the module pattern. It also covers asynchronous module definition (AMD) and how modules can be loaded and dependencies managed using RequireJS. The document demonstrates unit testing jQuery code and using pubsub for loose coupling between modules. Finally, it discusses how CSS compilers like SASS can make CSS authoring more productive by allowing variables, nesting and mixins.
Integrating React.js Into a PHP ApplicationAndrew Rota
React.js has taken the web development world by storm, and for good reason: React offers a declarative, component-oriented approach to building highly-scalable web UIs. But how can we take advantage of a JavaScript library like React in our server-side PHP applications. In this talk l cover the different ways React.js can be integrated into an existing PHP web application: from a client-side only approach to multiple techniques that support full server-side rendering with a Node.js server or PHP’s v8js. I also discuss the trade-offs in each of these designs and the challenges involved with adding React to a PHP site. Most importantly, I consider the higher-level issue of how to improve view cohesion across the client-server divide in a PHP application.
Express is a web application framework for Node.js that provides a robust set of features for building web applications and APIs. It is designed for building scalable and fast web applications and services. Some key features include being built on Node.js for asynchronous and event-driven capabilities, a simple routing system and middleware support, and support for template engines and plugins.
How and why i roll my own node.js frameworkBen Lin
1) The document discusses the author's experience building their own node.js web framework, including their background with other technologies like Ruby on Rails.
2) It describes the key features of their framework, such as MVC structure, middleware support, asset packaging, and command line tools.
3) The author explains that they rolled their own framework to learn more about how frameworks work, have more control over the technology stack, and because node.js performance is better than Ruby on Rails. They emphasize that building the framework was a fun learning experience.
Cross Domain Web Mashups with JQuery and Google App EngineAndy McKay
This document discusses cross-domain mashups using jQuery and Google App Engine. It describes common techniques for dealing with the same-origin policy, including proxies, JSONP, and building sample applications that mashup Twitter data, geotagged tweets, and maps. Examples include parsing RSS feeds from Twitter into JSONP and displaying tweets on a map based on their geotagged locations. The document concludes by noting issues with trust, failures, and limitations for enterprise use.
The document discusses several HTML5 APIs including Geolocation, Web Storage, Web SQL, Web Workers, Web Sockets, and Canvas. It provides code examples and explanations for how each API works and can be used, including getting a user's location, storing data locally, running scripts in parallel threads, enabling real-time communications, and drawing graphics. It also mentions some use cases for these technologies like building games, performing intensive calculations, and syntax highlighting.
JavaScript is evolving with the addition of modules, platform consistency, and harmony features. Modules allow JavaScript code to be organized and avoid naming collisions. CommonJS and AMD module formats are used widely. Platform consistency is improved through polyfills that mimic future APIs for older browsers. Harmony brings language-level modules and features like destructuring assignment, default parameters, and promises to JavaScript. Traceur compiles Harmony code to existing JavaScript.
The document discusses the beauty of JavaScript and its many features. It covers how JavaScript offers classless object-oriented programming and functional programming. It also discusses how JavaScript can run on both the client-side and server-side. The document provides examples of JavaScript syntax like variables, functions, objects, prototypes and more to demonstrate JavaScript's capabilities. It emphasizes that libraries help create abstractions and beautiful patterns in JavaScript code.
This document discusses JavascriptMVC, an alternative Javascript MVC framework to BackboneJS. It provides an overview of JavascriptMVC's features such as MIT licensing, clear documentation, and providing an almost total solution for building web applications. Potential pros include the licensing, documentation, and comprehensive features. Potential cons include it being less well known and having fewer online resources than BackboneJS in Taiwan. Examples of how it handles classes, CSS, data loading/validation, and views are also provided.
This document provides an introduction and overview of Palm Developer Day, which is taking place on April 29, 2010. It discusses the HTML5 features and JavaScript services being added to webOS, such as accelerated CSS animations, geolocation support, and a SQL database called db8. It also outlines the Palm App Catalog for distributing web apps and a $1 million fund for the most downloaded apps. Developers are encouraged to contact the Palm developer relations team for any other questions.
The document appears to be notes from JSConf 2010 in Washington DC on April 17, 2010. It covers various topics discussed at the conference including craigslist, JavaScript versions 1.0 vs 2.0, Titanium mobile development platform, accelerometer APIs, touch event handling, mobile app examples like Tweetie 2 and the Palm Pre, software vs hardware keyboards, and breakout session topics like the "Newsroom" and "Shake Shake Shake".
At various Google Developer Day events in Europe I gave a talk on the State of Ajax, that focuses on the core issue of User Experience and where to go from here.
The document discusses how Gears aims to empower web applications by making them work offline through an open source approach. It notes how users are offline more than they think and that offline capabilities provide reliability, performance, and convenience benefits. The goal is to solve the problem of updating web applications offline for all developers, not just Google, by releasing the technology with a liberal open source license.
This is the presentation that I gave on the European On Air tour in Munich. Hence the footy pieces. A lot of the presentation was going through a live application, a port of the addressbook app to App Engine, that lives on Google Code.
The document discusses the history and evolution of Ajax technology. It provides two quotes from Jesse James Garrett and Dion Almaer/Ben Galbraith that define Ajax as using asynchronous JavaScript and XML to enable a new approach to web applications that allows for dynamic updating of parts of a web page without reloading the entire page. The document then provides examples of early Ajax applications like Google Suggest and Google Maps.
Ben and Dion give an overview of the state of Ajax at JavaOne, using Java technology too, and a fun Wii darts demo that you can see more info on at: http://ajaxian.com/archives/wii-darts-powering-ajax-applications-with-wii-controllers
Dion Almaer (Google) and Ryan Stewart (Adobe) went into detail on how you can build offline and desktop Web applications today, and explain how Gears and AIR are complementary, and are pushing the Web forward in new ways.
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsMydbops
This presentation, delivered at the Postgres Bangalore (PGBLR) Meetup-2 on June 29th, 2024, dives deep into connection pooling for PostgreSQL databases. Aakash M, a PostgreSQL Tech Lead at Mydbops, explores the challenges of managing numerous connections and explains how connection pooling optimizes performance and resource utilization.
Key Takeaways:
* Understand why connection pooling is essential for high-traffic applications
* Explore various connection poolers available for PostgreSQL, including pgbouncer
* Learn the configuration options and functionalities of pgbouncer
* Discover best practices for monitoring and troubleshooting connection pooling setups
* Gain insights into real-world use cases and considerations for production environments
This presentation is ideal for:
* Database administrators (DBAs)
* Developers working with PostgreSQL
* DevOps engineers
* Anyone interested in optimizing PostgreSQL performance
Contact info@mydbops.com for PostgreSQL Managed, Consulting and Remote DBA Services
How Social Media Hackers Help You to See Your Wife's Message.pdfHackersList
In the modern digital era, social media platforms have become integral to our daily lives. These platforms, including Facebook, Instagram, WhatsApp, and Snapchat, offer countless ways to connect, share, and communicate.
Support en anglais diffusé lors de l'événement 100% IA organisé dans les locaux parisiens d'Iguane Solutions, le mardi 2 juillet 2024 :
- Présentation de notre plateforme IA plug and play : ses fonctionnalités avancées, telles que son interface utilisateur intuitive, son copilot puissant et des outils de monitoring performants.
- REX client : Cyril Janssens, CTO d’ easybourse, partage son expérience d’utilisation de notre plateforme IA plug & play.
UiPath Community Day Kraków: Devs4Devs ConferenceUiPathCommunity
We are honored to launch and host this event for our UiPath Polish Community, with the help of our partners - Proservartner!
We certainly hope we have managed to spike your interest in the subjects to be presented and the incredible networking opportunities at hand, too!
Check out our proposed agenda below 👇👇
08:30 ☕ Welcome coffee (30')
09:00 Opening note/ Intro to UiPath Community (10')
Cristina Vidu, Global Manager, Marketing Community @UiPath
Dawid Kot, Digital Transformation Lead @Proservartner
09:10 Cloud migration - Proservartner & DOVISTA case study (30')
Marcin Drozdowski, Automation CoE Manager @DOVISTA
Pawel Kamiński, RPA developer @DOVISTA
Mikolaj Zielinski, UiPath MVP, Senior Solutions Engineer @Proservartner
09:40 From bottlenecks to breakthroughs: Citizen Development in action (25')
Pawel Poplawski, Director, Improvement and Automation @McCormick & Company
Michał Cieślak, Senior Manager, Automation Programs @McCormick & Company
10:05 Next-level bots: API integration in UiPath Studio (30')
Mikolaj Zielinski, UiPath MVP, Senior Solutions Engineer @Proservartner
10:35 ☕ Coffee Break (15')
10:50 Document Understanding with my RPA Companion (45')
Ewa Gruszka, Enterprise Sales Specialist, AI & ML @UiPath
11:35 Power up your Robots: GenAI and GPT in REFramework (45')
Krzysztof Karaszewski, Global RPA Product Manager
12:20 🍕 Lunch Break (1hr)
13:20 From Concept to Quality: UiPath Test Suite for AI-powered Knowledge Bots (30')
Kamil Miśko, UiPath MVP, Senior RPA Developer @Zurich Insurance
13:50 Communications Mining - focus on AI capabilities (30')
Thomasz Wierzbicki, Business Analyst @Office Samurai
14:20 Polish MVP panel: Insights on MVP award achievements and career profiling
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfjackson110191
These fighter aircraft have uses outside of traditional combat situations. They are essential in defending India's territorial integrity, averting dangers, and delivering aid to those in need during natural calamities. Additionally, the IAF improves its interoperability and fortifies international military alliances by working together and conducting joint exercises with other air forces.
Quality Patents: Patents That Stand the Test of TimeAurora Consulting
Is your patent a vanity piece of paper for your office wall? Or is it a reliable, defendable, assertable, property right? The difference is often quality.
Is your patent simply a transactional cost and a large pile of legal bills for your startup? Or is it a leverageable asset worthy of attracting precious investment dollars, worth its cost in multiples of valuation? The difference is often quality.
Is your patent application only good enough to get through the examination process? Or has it been crafted to stand the tests of time and varied audiences if you later need to assert that document against an infringer, find yourself litigating with it in an Article 3 Court at the hands of a judge and jury, God forbid, end up having to defend its validity at the PTAB, or even needing to use it to block pirated imports at the International Trade Commission? The difference is often quality.
Quality will be our focus for a good chunk of the remainder of this season. What goes into a quality patent, and where possible, how do you get it without breaking the bank?
** Episode Overview **
In this first episode of our quality series, Kristen Hansen and the panel discuss:
⦿ What do we mean when we say patent quality?
⦿ Why is patent quality important?
⦿ How to balance quality and budget
⦿ The importance of searching, continuations, and draftsperson domain expertise
⦿ Very practical tips, tricks, examples, and Kristen’s Musts for drafting quality applications
https://www.aurorapatents.com/patently-strategic-podcast.html
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Chris Swan
Have you noticed the OpenSSF Scorecard badges on the official Dart and Flutter repos? It's Google's way of showing that they care about security. Practices such as pinning dependencies, branch protection, required reviews, continuous integration tests etc. are measured to provide a score and accompanying badge.
You can do the same for your projects, and this presentation will show you how, with an emphasis on the unique challenges that come up when working with Dart and Flutter.
The session will provide a walkthrough of the steps involved in securing a first repository, and then what it takes to repeat that process across an organization with multiple repos. It will also look at the ongoing maintenance involved once scorecards have been implemented, and how aspects of that maintenance can be better automated to minimize toil.
論文紹介:A Systematic Survey of Prompt Engineering on Vision-Language Foundation ...Toru Tamaki
Jindong Gu, Zhen Han, Shuo Chen, Ahmad Beirami, Bailan He, Gengyuan Zhang, Ruotong Liao, Yao Qin, Volker Tresp, Philip Torr "A Systematic Survey of Prompt Engineering on Vision-Language Foundation Models" arXiv2023
https://arxiv.org/abs/2307.12980
Mitigating the Impact of State Management in Cloud Stream Processing SystemsScyllaDB
Stream processing is a crucial component of modern data infrastructure, but constructing an efficient and scalable stream processing system can be challenging. Decoupling compute and storage architecture has emerged as an effective solution to these challenges, but it can introduce high latency issues, especially when dealing with complex continuous queries that necessitate managing extra-large internal states.
In this talk, we focus on addressing the high latency issues associated with S3 storage in stream processing systems that employ a decoupled compute and storage architecture. We delve into the root causes of latency in this context and explore various techniques to minimize the impact of S3 latency on stream processing performance. Our proposed approach is to implement a tiered storage mechanism that leverages a blend of high-performance and low-cost storage tiers to reduce data movement between the compute and storage layers while maintaining efficient processing.
Throughout the talk, we will present experimental results that demonstrate the effectiveness of our approach in mitigating the impact of S3 latency on stream processing. By the end of the talk, attendees will have gained insights into how to optimize their stream processing systems for reduced latency and improved cost-efficiency.
7 Most Powerful Solar Storms in the History of Earth.pdfEnterprise Wired
Solar Storms (Geo Magnetic Storms) are the motion of accelerated charged particles in the solar environment with high velocities due to the coronal mass ejection (CME).
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxSynapseIndia
Your comprehensive guide to RPA in healthcare for 2024. Explore the benefits, use cases, and emerging trends of robotic process automation. Understand the challenges and prepare for the future of healthcare automation
Are you interested in dipping your toes in the cloud native observability waters, but as an engineer you are not sure where to get started with tracing problems through your microservices and application landscapes on Kubernetes? Then this is the session for you, where we take you on your first steps in an active open-source project that offers a buffet of languages, challenges, and opportunities for getting started with telemetry data.
The project is called openTelemetry, but before diving into the specifics, we’ll start with de-mystifying key concepts and terms such as observability, telemetry, instrumentation, cardinality, percentile to lay a foundation. After understanding the nuts and bolts of observability and distributed traces, we’ll explore the openTelemetry community; its Special Interest Groups (SIGs), repositories, and how to become not only an end-user, but possibly a contributor.We will wrap up with an overview of the components in this project, such as the Collector, the OpenTelemetry protocol (OTLP), its APIs, and its SDKs.
Attendees will leave with an understanding of key observability concepts, become grounded in distributed tracing terminology, be aware of the components of openTelemetry, and know how to take their first steps to an open-source contribution!
Key Takeaways: Open source, vendor neutral instrumentation is an exciting new reality as the industry standardizes on openTelemetry for observability. OpenTelemetry is on a mission to enable effective observability by making high-quality, portable telemetry ubiquitous. The world of observability and monitoring today has a steep learning curve and in order to achieve ubiquity, the project would benefit from growing our contributor community.
Quantum Communications Q&A with Gemini LLM. These are based on Shannon's Noisy channel Theorem and offers how the classical theory applies to the quantum world.
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfNeo4j
Presented at Gartner Data & Analytics, London Maty 2024. BT Group has used the Neo4j Graph Database to enable impressive digital transformation programs over the last 6 years. By re-imagining their operational support systems to adopt self-serve and data lead principles they have substantially reduced the number of applications and complexity of their operations. The result has been a substantial reduction in risk and costs while improving time to value, innovation, and process automation. Join this session to hear their story, the lessons they learned along the way and how their future innovation plans include the exploration of uses of EKG + Generative AI.
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Erasmo Purificato
Slide of the tutorial entitled "Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Emerging Trends" held at UMAP'24: 32nd ACM Conference on User Modeling, Adaptation and Personalization (July 1, 2024 | Cagliari, Italy)
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Future of Web Apps: Google Gears
1. How to take your
Web Application
Offline with
Google Gears
Dion Almaer
ajaxian.com
code.google.com
2. The Future of Web Apps
• It will be hard to determine what is
and isn’t a web app
• The web will be everywhere
• Mobile (iPhone)
• Desktop
• Widgets
• TV
• The browser will be fast
3. Why?
“How often are you on a plane?”
• Reliability
• 1% of downtime can hurt at the wrong time
• Performance
• Local acceleration
• Convenience
• Not having to find a connection
• You are offline more than you think!
4. Offline Web via Open Web
• Why just solve this problem for Google?
• Why not solve it for others?
• Solution: Make it open source with a liberal license
• New BSD
5. What is the philosophy?
• One application, one URL
• Seamless transitions between online and offline
• Ability to use local data, even when online
• Available to all users on all platforms
• ... and a pony
6. What is the philosophy?
Browser plugin: IE, Firefox, Safari (almost!)
8. What is the philosophy?
Do for offline what XMLHttpRequest did for web apps
Ajax Libraries Gears Libraries
Dojo, jQuery, Prototype, GWT Dojo Offline, GWT
XMLHttpRequest Gears
Open Web Open Web
10. Offline Architecture
• Read and write using local store
• Changes are queued for later synchronization
• Server communication is completely decoupled from UI actions, happens
periodically whenever there is a connection
12. Database
Embedded using SQLite
Contributed Full Text Search
var db = google.gears.factory.create('beta.database', '1.0');
db.open('database-demo');
db.execute('create table if not exists Demo (Phrase varchar(255),
Timestamp int)');
db.execute('insert into Demo values (?, ?)', [phrase, currTime]);
var rs = db.execute('select * from Demo order by Timestamp desc');
13. GearsDB
Abstract over the API
var bob = {id: 3, name: 'Bob', url: 'http://bob.com', description: 'whee'};
db.insertRow('person', bob);
db.insertRow('person', bob, 'name = ?', ['Bob']);
db.selectAll('select * from person', null, function(person) {
document.getElementById('selectAll').innerHTML += ' ' + person.name;
});
var person = db.selectRow('person', 'id = 1');
// update
person.name = 'Harry';
db.updateRow('person', person);
person = db.selectRow('person', 'id = 1');
// force
person.name = 'Sally';
db.forceRow('person', person);
person = db.selectRow('person', 'id = 1');
db.deleteRow('person', bob);
14. GearsORM
Are we going to get a GearsHibernate?
var Person = new GearsOrm.Model(quot;Personquot;, {
firstName: GearsOrm.Fields.String({maxLength:25}),
lastName: GearsOrm.Fields.String({maxLength:25})
});
GearsORM.Transaction(function() { “While developing transaction support for
GearsORM i had to write a test, in that test it
new Person({name:quot;Johnquot;}).save(); execute 100 inserts and 100 updates, this test
take about 15 seconds for the inserts and
new Person({name:quot;Doequot;}).save(); about 10 seconds for the updates without
}); transactions,when using transactions for each set
it takes about 377ms for the inserts and
200ms for the updates that is about
Person.select(quot;firstName = 'Uriel'quot;); 39 times faster!”
Person.count(quot;lastName = ?quot;,[quot;Katzquot;])
15. GearShift
DB Migrations for Gears
Gearshift.rules[1] = {
// create the demo table
up: function() {
return this.e(quot;CREATE TABLE demo_table (
id INTEGER PRIMARY KEY
AUTOINCREMENT,
name VARCHAR(30),
movie VARCHAR(30)
)quot;).success;
},
down: function() {
return this.e(quot;DROP TABLE demo_tablequot;).success;
}
};
17. Alignment with AIR
Ext.data.SqlDB
“The APIs for AIR and Google Gears are
nothing alike. In fact, AIR's SQLite database
API is 100% asynchronous via events while
Gears API is all synchronous with results
coming immediately on execution.
So Ext.data.SqlDB was created to abstract
both of these APIs into a single API to access
both.”
NOTE: AIR beta 2 has added a synchronous API
20. ManagedResourceStore
Capture entire applications
• List application resources in a separate
manifest
• Gears captures and updates the list
atomically
• Gears auto-updates automatically on each
view (within reason)
• Supports multiple users per application
21. ManagedResourceStore
Sample Code
var localserver = google.gears.factory.create('beta.localserver', '1.0');
var store = localserver.createManagedStore('mystore');
store.manifestUrl = 'http://myapp.com/offline-manifest.json';
store.checkForUpdates();
22. ManagedResourceStore
JSON Me
{
// version of the manifest file format
quot;betaManifestVersionquot;: 1,
// version of the set of resources described in this manifest file
quot;versionquot;: quot;my_version_stringquot;,
// optional
// If the store specifies a requiredCookie, when a request would hit
// an entry contained in the manifest except the requiredCookie is
// not present, the local server responds with a redirect to this URL.
quot;redirectUrlquot;: quot;login.htmlquot;,
// URLs to be cached (URLs are given relative to the manifest URL)
quot;entriesquot;: [
{ quot;urlquot;: quot;main.htmlquot;, quot;srcquot;: quot;main_offline.htmlquot; },
{ quot;urlquot;: quot;.quot;, quot;redirectquot;: quot;main.htmlquot; },
{ quot;urlquot;: quot;main.jsquot; }
{ quot;urlquot;: quot;formHandler.htmlquot;, quot;ignoreQueryquot;: true },
]
}
24. HTML 5
Offline in General
<html application=”manifest-of-urls.txt”>
<html application>
“There’s a concept of an application cache. An application cache is a group
of resources, the group being identified by a URI (which typically happens
to resolve to a manifest). Resources in a cache are either top-level or
not; top-level resources are those that are HTML or XML and when parsed
with scripting disabled have with the value of
the attribute pointing to the same URI as identifies the cache.
When you visit a page you first check to see if you have that page in a
cache as a known top-level page.”
25. Worker Pool
JavaScript needs threads after all? Brendan!
WorkerPool
Browser JavaScript
Engine
WorkerPool
window, document no access
26. Worker Pool
Run JavaScript in the background
• Provides thread-like functionality to JavaScript
• No more blocking the browser UI
• Communication is via IPC, no shared state or
threading primitives
27. Worker Pool Code
function nextPrime(n) {
// TODO: New top-secret prime-finding algorithm goes here.
google.gears.workerPool.sendMessage(result);
}
var pool = google.gears.factory.create('beta.workerpool', '1.0');
pool.onmessage = function(message) {
alert('next prime is: ' + message);
}
var worker = pool.createWorker(String(nextPrime) + '; nextPrime()');
28. Worker Pool Improved!
• Cross-origin API allows Gears apps from different sites to work
together
• WorkerPool improvements:
• createWorkerFromUrl()
• onerror allows handling exceptions thrown by workers
• New HttpRequest module allows fetching from WorkerPools
• New Timer module allows timer events in WorkerPools
• Implements the WhatWG Timer specification
var timer = google.gears.factory.create(quot;beta.timerquot;, quot;1.0quot;);
timer.setTimeout(function() { alert(quot;Hello, from the future!quot;); },1000);
29. Why?
How about Encryption
dojox.sql(quot;INSERT INTO CUSTOMERS VALUES (?, ?,
ENCRYPT(?))quot;, quot;Neubergquot;, quot;Bradquot;,
quot;555-34-8962quot;)
31. Full Text Search
• Gears added FTS2 to SQLite
• Create the database
db.execute('CREATE VIRTUAL TABLE recipe USING
fts2(dish, ingredients)');
• Search the database
db.execute('SELECT dish FROM recipe WHERE recipe
MATCH ?', ['tomatoes']);
Fun queries: dish:stew tomatoes
Find rows with 'stew' in the dish field, and 'tomatoes' in any field.
36. Working with and without
Gears
We aren’t that arrogant!
content = hasGears() ? new GearsBaseContent()
: new CookieBaseContent();
37. Two Versions? Really?
Only in the extreme
{
‘url’: ‘main.html’,
‘src’: ‘main_offline.html’
}
38. Debugging is a Pain
On the web? Duh.
• Add Helper Code
• To clear out the DB
• Remove captured files
• Disable the cache
• Use Firebug / Lite
39. Debugging is a Pain
On the web? Duh.
GearsBaseContent.prototype.clearServer = function() {
if (this.localServer.openStore(this.storeName)) {
this.localServer.removeStore(this.storeName);
this.store = null;
}
}
GearsBaseContent.prototype.clearTables = function() {
if (this.db) {
this.db.run('delete from BaseQueries');
this.db.run('delete from BaseFeeds');
}
displayQueries();
}
41. GWT and Gears
try {
db = new Database(quot;database-demoquot;);
db.execute(quot;create table if not exists Demo (Phrase varchar(255), Timestamp int)quot;);
} catch (GearsException e) { ... }
button.addClickListener(new ClickListener() {
public void onClick(Widget sender) {
try {
String phrase = input.getText();
if (phrase.length() > 0) {
db.execute(quot;insert into Demo values (?, ?)quot;, new String[] {
phrase, Integer.toString((int) System.currentTimeMillis())});
displayRecentPhrases();
}
} catch (DatabaseException e) {
Window.alert(e.toString());
}
}
});