jQuery is drawing newcomers to JavaSCript in droves. As a community, we have an obligation -- and it is in our interest -- to help these newcomers understand where jQuery ends and JavaScript begins.
Puppet Camp Amsterdam 2015: Manifests of Future PastPuppet
The document discusses plans for future improvements to the Puppet parser and language. It proposes adding support for complex data types like hashes, structs, variants and defaults. It also suggests allowing users to define their own resource types. Additional topics covered include security, roll-out strategies, and testing approaches.
"It's all about simplicity": perchè le applicazioni basate su Javascript sono spesso complesse, farraginose e difficilmente manutenibili quando è possibile renderle semplici, eleganti e funzionali?
In questa sessione a quattro mani vedremo per prima cosa come sfruttare Javascript al meglio, utilizzando i prototipi, i namespaces, gli oggetti, gli eventi, le chiusure e le altre mille funzionalità di un linguaggio di programmazione troppo spesso sottovalutato.
Ci soffermeremo poi su jQuery per analizzare il suo contributo nel semplificare task normalmente tediosi come la manipolazione del DOM, la gestione degli eventi, la programmazione asincrona (AJAX) e le problematiche di compatibilità cross-browser.
The document provides steps for creating a simple jQuery plugin. It discusses creating a file for the plugin, making a closure, defining the jQuery command, returning the jQuery wrapped set, setting up an options hash, using private methods, and allowing events to be customized via the options hash. The plugin created in the example is called "spock" and finds and wraps proper nouns in paragraphs with a span.
1. The document discusses several software design principles and best practices including SOLID principles, optional binding, lazy evaluation, and type casting.
2. It provides examples of applying single responsibility principle (SRP), dependency inversion principle (DIP), and interface segregation principle (ISP) to code.
3. Guidelines are also given for naming conventions, computed properties versus methods, and value types versus reference types.
20171014 tips for manipulating filesystem in julia岳華 杜
This document provides tips for manipulating the filesystem in Julia. It demonstrates how to print the working directory, change directories, make directories, copy and move files, remove files, touch files to update timestamps, get the basename or join paths, split directories or extensions, traverse folders, list directory contents, get file information like timestamps and permissions, create symbolic links, change ownership and permissions, and work with temporary files and directories. Functions demonstrated include pwd(), cd(), mkdir(), cp(), mv(), rm(), touch(), dirname(), basename(), joinpath(), splitdir(), splitdrive(), splitext(), walkdir(), readdir(), stat(), ctime(), mtime(), filemode(), filesize(), uperm(), gperm(), operm(), symlink
Embracing a new world - dynamic languages and .NETBen Hall
The document discusses the Dynamic Language Runtime (DLR) and how it allows dynamic languages like Ruby, IronRuby, and IronPython to run on the .NET framework. It provides examples of features of dynamic languages like duck typing and blocks. It also discusses how the DLR combines dynamic languages with the .NET world and how it may change development.
In this presentation, the essence of functional programming and Event Sourcing are explained and a code example of combining these two models is shown.
This presentation by Pawel Szulc (Scala Developer) was delivered at GlobalLogic Java Conference #2 in Krakow on April 23, 2016.
jQuery is drawing newcomers to JavaSCript in droves. As a community, we have an obligation -- and it is in our interest -- to help these newcomers understand where jQuery ends and JavaScript begins.
Puppet Camp Amsterdam 2015: Manifests of Future PastPuppet
The document discusses plans for future improvements to the Puppet parser and language. It proposes adding support for complex data types like hashes, structs, variants and defaults. It also suggests allowing users to define their own resource types. Additional topics covered include security, roll-out strategies, and testing approaches.
"It's all about simplicity": perchè le applicazioni basate su Javascript sono spesso complesse, farraginose e difficilmente manutenibili quando è possibile renderle semplici, eleganti e funzionali?
In questa sessione a quattro mani vedremo per prima cosa come sfruttare Javascript al meglio, utilizzando i prototipi, i namespaces, gli oggetti, gli eventi, le chiusure e le altre mille funzionalità di un linguaggio di programmazione troppo spesso sottovalutato.
Ci soffermeremo poi su jQuery per analizzare il suo contributo nel semplificare task normalmente tediosi come la manipolazione del DOM, la gestione degli eventi, la programmazione asincrona (AJAX) e le problematiche di compatibilità cross-browser.
The document provides steps for creating a simple jQuery plugin. It discusses creating a file for the plugin, making a closure, defining the jQuery command, returning the jQuery wrapped set, setting up an options hash, using private methods, and allowing events to be customized via the options hash. The plugin created in the example is called "spock" and finds and wraps proper nouns in paragraphs with a span.
1. The document discusses several software design principles and best practices including SOLID principles, optional binding, lazy evaluation, and type casting.
2. It provides examples of applying single responsibility principle (SRP), dependency inversion principle (DIP), and interface segregation principle (ISP) to code.
3. Guidelines are also given for naming conventions, computed properties versus methods, and value types versus reference types.
20171014 tips for manipulating filesystem in julia岳華 杜
This document provides tips for manipulating the filesystem in Julia. It demonstrates how to print the working directory, change directories, make directories, copy and move files, remove files, touch files to update timestamps, get the basename or join paths, split directories or extensions, traverse folders, list directory contents, get file information like timestamps and permissions, create symbolic links, change ownership and permissions, and work with temporary files and directories. Functions demonstrated include pwd(), cd(), mkdir(), cp(), mv(), rm(), touch(), dirname(), basename(), joinpath(), splitdir(), splitdrive(), splitext(), walkdir(), readdir(), stat(), ctime(), mtime(), filemode(), filesize(), uperm(), gperm(), operm(), symlink
Embracing a new world - dynamic languages and .NETBen Hall
The document discusses the Dynamic Language Runtime (DLR) and how it allows dynamic languages like Ruby, IronRuby, and IronPython to run on the .NET framework. It provides examples of features of dynamic languages like duck typing and blocks. It also discusses how the DLR combines dynamic languages with the .NET world and how it may change development.
In this presentation, the essence of functional programming and Event Sourcing are explained and a code example of combining these two models is shown.
This presentation by Pawel Szulc (Scala Developer) was delivered at GlobalLogic Java Conference #2 in Krakow on April 23, 2016.
The document discusses object-oriented programming concepts in JavaScript, including: creating JavaScript objects; adding behavior to objects with methods; implementing inheritance without classes through prototypal inheritance; and implementing common OOP concepts like classes, methods, inheritance, and private fields using functions and prototypes. The document provides examples of creating objects, adding methods, implementing inheritance by linking object prototypes, and simulating classes and inheritance in JavaScript.
The document discusses jQuery, a JavaScript library that simplifies HTML document traversal and manipulation, events, animations, and Ajax interactions for rapid web development. It covers key jQuery concepts like selector engines, DOM manipulation methods, event handling, AJAX functionality, and how to create jQuery plugins. The document also provides best practices like using jQuery.noConflict() when other libraries are used, always storing jQuery objects in variables, and following a self-executing function pattern.
Kotlin For Android - Functions (part 3 of 7)Gesh Markov
This presentation is part of a workshop series.
In this section you will learn about operators, inlining, a little bit about generics, named parameters, lambdas and closures, obtaining references to functions and passing them to other functions, and higher-order functions.
License:
This presentation is licensed under the Creative Commons, No Derivatives, Version 3.0 US: https://creativecommons.org/licenses/by-nd/3.0/us/legalcode
This document provides an introduction and overview of Moose, a modern object framework for Perl 5. It begins with background on the author and a brief history of object oriented programming in Perl 5. It then explains what Moose is, including that it handles object overhead, allows for introspection, and is used in production software. Examples are provided of basic class creation and usage with Moose as well as more advanced features like attributes, types, subclassing, roles, method modifiers, and introspection. The benefits of Moose are summarized as writing less code and avoiding implementation details to have a better object model.
You are in a maze of deeply nested maps, all alikeEric Normand
The document discusses encapsulating data operations and avoiding deep nesting when working with nested data structures like maps. It recommends separating code into distinct layers based on rates of change, with each layer only depending on the layer below. This stratified design approach aims to make the code easier to understand and maintain by programing at a higher level of abstraction closer to the domain concepts.
This document discusses metaprogramming in Julia. It describes how Julia code is processed at compile time, including lexical analysis, syntax analysis, semantic analysis, intermediate code generation, optimization, and code generation. It also discusses how macros allow generating new Julia code at compile time and can be used to implement syntactic abstractions like decorators. Finally, it mentions how generated functions allow specializing method implementations based on types of arguments passed at runtime.
Minimizing Decision Fatigue to Improve Team ProductivityDerek Lee Boire
The document describes a typical day at Pivotal Labs, focusing on techniques for improving team productivity such as pair programming, standup meetings, discussions, and retrospectives. It emphasizes organizing code through file structure and annotations in Swift to minimize decision fatigue. Styles are defined for UI elements through extensions to promote consistent branding.
MongoDB is a scalable, high-performance, open-source document database that provides dynamic queries and indexing. It aims to provide the power of relational databases with the scalability and flexibility of non-relational databases. Key features include ease of use, scaling capabilities, dynamic queries similar to SQL, and speed comparable to key-value stores while supporting rich querying like relational databases.
This document provides tips and tricks for persisting object models using Voyage, an abstraction layer for mapping objects to databases. It discusses how Voyage ensures object identity and error handling while implementing a connection pool. The document emphasizes thinking in objects when modeling data and allows missing references between objects. It also provides examples of querying objects and adapting data schemes when the database schema differs from the object model. Finally, it outlines upcoming features for Voyage 2.0 including root detection, cyclic detection, and a Riak backend.
Andreas Roth - GraphQL erfolgreich im Backend einsetzenDevDay Dresden
The document describes a GraphQL schema and resolvers for querying user data from a database. It defines a User type with ID, name, and friends fields. A Query type allows fetching a user by ID. A Mutation allows setting a user's name. Resolvers are defined to return dummy user data initially, then fetch real data from the database using queries and preload users and friends into a cache for efficient loading.
The document discusses Peter Higgins' presentation at ZendCon 2009 on the Dojo Toolkit. It provides an overview of Dojo's history and components, including the base toolkit, modules, widgets, effects, build system and more.
jQuery Tips and Trick by NagaHarish on 21 Jan 2012... For the Demos given in this slides refer
https://github.com/anubavam-techkt/jQuery-tricks-tips-nagaharish
1. JavaScript can be used to build applications, and some common JavaScript frameworks are YUI, Tbra, and native JavaScript. YUI and Tbra provide more robust functionality while native JavaScript is simpler.
2. When developing with JavaScript, code is usually wrapped in an anonymous function for namespace management and to avoid polluting the global namespace. Scripts and CSS files also often include a cache-busting parameter to ensure the latest versions are loaded.
3. Interacting with DOM elements in JavaScript commonly uses event handling. Libraries like YUI provide cross-browser event handling functions to attach events like click to elements.
This document discusses learning jQuery and provides summaries of 5 sections:
1. Ready handlers, selectors, CSS, effects, events, and method chaining
2. Attributes, classes, HTML manipulation, and value manipulation
3. Event handling and samples for events like click and tab
4. Using AJAX with load() and get() methods
5. Plugins for thickbox, colorbox, fancybox and traversing DOM elements.
The document describes a simple Firefox extension with the name "first_ext" that logs "Hello World!" to the console and then quits when run. It provides the extension's name, description, and author, and contains code to run the main function on startup which logs and quits.
Advanced Debugging with Xcode - Extending LLDBAijaz Ansari
If you’ve ever written an app that fetches JSON from a server, you may have wanted to examine it to figure out if your app fails because of a client bug or because the JSON isn’t what you expected. Of course, there are ways to examine strings from within your XCode debugging session, but there are some extremely powerful third-party tools out there that make JSON examination and manipulation very easy. Wouldn’t it be nice if you could use those tools from within your lldb session?
Wonder no more! LLDB has a built-in Python interpreter. With some simple Python scripting you will be able to extend LLDB so that those third-party tools can have access to your NSStrings (or Swift strings, of course). No more switching to Terminal and pasting text and then switching back to XCode. Do everything from within an XCode breakpoint, if you want.
If you don’t know Python, or don’t fetch JSON, don’t fret: By the time we’re done, you will know how to extend LLDB to do things that aren’t on the XCode feature list.
The document discusses a presentation on YUI's foundational CSS tools - the CSS Reset, CSS Fonts, and CSS Grids. It provides background on each tool, what they do to normalize styles across browsers, and how to use them. It encourages attendees to download exercises from the listed URL to follow along with hands-on examples of integrating the tools.
The document discusses object-oriented programming concepts in JavaScript, including: creating JavaScript objects; adding behavior to objects with methods; implementing inheritance without classes through prototypal inheritance; and implementing common OOP concepts like classes, methods, inheritance, and private fields using functions and prototypes. The document provides examples of creating objects, adding methods, implementing inheritance by linking object prototypes, and simulating classes and inheritance in JavaScript.
The document discusses jQuery, a JavaScript library that simplifies HTML document traversal and manipulation, events, animations, and Ajax interactions for rapid web development. It covers key jQuery concepts like selector engines, DOM manipulation methods, event handling, AJAX functionality, and how to create jQuery plugins. The document also provides best practices like using jQuery.noConflict() when other libraries are used, always storing jQuery objects in variables, and following a self-executing function pattern.
Kotlin For Android - Functions (part 3 of 7)Gesh Markov
This presentation is part of a workshop series.
In this section you will learn about operators, inlining, a little bit about generics, named parameters, lambdas and closures, obtaining references to functions and passing them to other functions, and higher-order functions.
License:
This presentation is licensed under the Creative Commons, No Derivatives, Version 3.0 US: https://creativecommons.org/licenses/by-nd/3.0/us/legalcode
This document provides an introduction and overview of Moose, a modern object framework for Perl 5. It begins with background on the author and a brief history of object oriented programming in Perl 5. It then explains what Moose is, including that it handles object overhead, allows for introspection, and is used in production software. Examples are provided of basic class creation and usage with Moose as well as more advanced features like attributes, types, subclassing, roles, method modifiers, and introspection. The benefits of Moose are summarized as writing less code and avoiding implementation details to have a better object model.
You are in a maze of deeply nested maps, all alikeEric Normand
The document discusses encapsulating data operations and avoiding deep nesting when working with nested data structures like maps. It recommends separating code into distinct layers based on rates of change, with each layer only depending on the layer below. This stratified design approach aims to make the code easier to understand and maintain by programing at a higher level of abstraction closer to the domain concepts.
This document discusses metaprogramming in Julia. It describes how Julia code is processed at compile time, including lexical analysis, syntax analysis, semantic analysis, intermediate code generation, optimization, and code generation. It also discusses how macros allow generating new Julia code at compile time and can be used to implement syntactic abstractions like decorators. Finally, it mentions how generated functions allow specializing method implementations based on types of arguments passed at runtime.
Minimizing Decision Fatigue to Improve Team ProductivityDerek Lee Boire
The document describes a typical day at Pivotal Labs, focusing on techniques for improving team productivity such as pair programming, standup meetings, discussions, and retrospectives. It emphasizes organizing code through file structure and annotations in Swift to minimize decision fatigue. Styles are defined for UI elements through extensions to promote consistent branding.
MongoDB is a scalable, high-performance, open-source document database that provides dynamic queries and indexing. It aims to provide the power of relational databases with the scalability and flexibility of non-relational databases. Key features include ease of use, scaling capabilities, dynamic queries similar to SQL, and speed comparable to key-value stores while supporting rich querying like relational databases.
This document provides tips and tricks for persisting object models using Voyage, an abstraction layer for mapping objects to databases. It discusses how Voyage ensures object identity and error handling while implementing a connection pool. The document emphasizes thinking in objects when modeling data and allows missing references between objects. It also provides examples of querying objects and adapting data schemes when the database schema differs from the object model. Finally, it outlines upcoming features for Voyage 2.0 including root detection, cyclic detection, and a Riak backend.
Andreas Roth - GraphQL erfolgreich im Backend einsetzenDevDay Dresden
The document describes a GraphQL schema and resolvers for querying user data from a database. It defines a User type with ID, name, and friends fields. A Query type allows fetching a user by ID. A Mutation allows setting a user's name. Resolvers are defined to return dummy user data initially, then fetch real data from the database using queries and preload users and friends into a cache for efficient loading.
The document discusses Peter Higgins' presentation at ZendCon 2009 on the Dojo Toolkit. It provides an overview of Dojo's history and components, including the base toolkit, modules, widgets, effects, build system and more.
jQuery Tips and Trick by NagaHarish on 21 Jan 2012... For the Demos given in this slides refer
https://github.com/anubavam-techkt/jQuery-tricks-tips-nagaharish
1. JavaScript can be used to build applications, and some common JavaScript frameworks are YUI, Tbra, and native JavaScript. YUI and Tbra provide more robust functionality while native JavaScript is simpler.
2. When developing with JavaScript, code is usually wrapped in an anonymous function for namespace management and to avoid polluting the global namespace. Scripts and CSS files also often include a cache-busting parameter to ensure the latest versions are loaded.
3. Interacting with DOM elements in JavaScript commonly uses event handling. Libraries like YUI provide cross-browser event handling functions to attach events like click to elements.
This document discusses learning jQuery and provides summaries of 5 sections:
1. Ready handlers, selectors, CSS, effects, events, and method chaining
2. Attributes, classes, HTML manipulation, and value manipulation
3. Event handling and samples for events like click and tab
4. Using AJAX with load() and get() methods
5. Plugins for thickbox, colorbox, fancybox and traversing DOM elements.
The document describes a simple Firefox extension with the name "first_ext" that logs "Hello World!" to the console and then quits when run. It provides the extension's name, description, and author, and contains code to run the main function on startup which logs and quits.
Advanced Debugging with Xcode - Extending LLDBAijaz Ansari
If you’ve ever written an app that fetches JSON from a server, you may have wanted to examine it to figure out if your app fails because of a client bug or because the JSON isn’t what you expected. Of course, there are ways to examine strings from within your XCode debugging session, but there are some extremely powerful third-party tools out there that make JSON examination and manipulation very easy. Wouldn’t it be nice if you could use those tools from within your lldb session?
Wonder no more! LLDB has a built-in Python interpreter. With some simple Python scripting you will be able to extend LLDB so that those third-party tools can have access to your NSStrings (or Swift strings, of course). No more switching to Terminal and pasting text and then switching back to XCode. Do everything from within an XCode breakpoint, if you want.
If you don’t know Python, or don’t fetch JSON, don’t fret: By the time we’re done, you will know how to extend LLDB to do things that aren’t on the XCode feature list.
The document discusses a presentation on YUI's foundational CSS tools - the CSS Reset, CSS Fonts, and CSS Grids. It provides background on each tool, what they do to normalize styles across browsers, and how to use them. It encourages attendees to download exercises from the listed URL to follow along with hands-on examples of integrating the tools.
The document describes three video cameras - the Sony Z1 HDV, Canon Eos 7D DSLR, and GoPro HD Hero. It also includes rental rates for a Shure SM58 vocal microphone, Azden SGM2X shotgun mic, and XLR to stereo jack cable.
The Sony Z1 is a tape-based HDV camcorder that can record in 1080p, DVCAM, and mini DV formats. It has ND filters and a 3.5" LCD viewfinder. The Canon 7D is a DSLR that can record Full HD video at 24, 25, and 30 fps and 720p variable frame rates. It has HDMI and composite video output.
This 3-page document is a summer training project report submitted by Priya Kumari to fulfill requirements for an MBA degree from Ranchi University. It describes conducting a summer training project at SAIL on the topic of working capital management. The report includes sections on introduction, objectives of the study, methodology, findings and analysis. It also acknowledges the guidance received from teachers and managers during the training period.
The document discusses efforts to improve the usability of API documentation for the HMDA (Home Mortgage Disclosure Act) data through user research and addressing issues on GitHub. It describes how user testing found the documentation intuitive but also identified areas to improve like adding examples, trimming unnecessary legal language, and fixing interactive elements that were crashing. It emphasizes the importance of ongoing responsiveness to user feedback on GitHub to maintain motivation for developers to contribute. Lessons learned include treating developers as users, recognizing that mortgage data may not be inherently interesting, and experiencing the documentation firsthand to better understand users' perspectives.
Lewis Bancroft created a promo, DVD cover, and magazine advert for a hip-hop track. The promo uses dark visuals and fast editing to match the song's tone. While conforming to conventions like establishing shots, it challenges norms by using antagonists' POV. The DVD cover depicts the rural setting, challenging hip-hop's urban focus. Feedback praised the promo's quality and narrative. Lewis learned the importance of conventions, effects, and simplicity. He gained skills in filming, editing with Final Cut Pro, and design with Photoshop.
Regresiones es una novela autobiográfica del autor Vicente Muñoz Álvarez que narra sus recuerdos de León entre los años 70 y 90, incluyendo su infancia, adolescencia y juventud. La obra está dividida en cuatro secciones que corresponden a diferentes épocas, y analiza el León subterráneo y la cultura no oficial de esos años a través de la mirada retrospectiva del autor. El libro incluye un prólogo y un epílogo coral con contribuciones de otros escritores y músicos de la generación de Muñoz Álvarez.
Designing a "nutrition facts" label for disclosing prepaid card feesDesiree Zamora Garcia
This document discusses prepaid card fee disclosure design. It provides context on prepaid cards and the CFPB's prepaid card rulemaking regarding fee and term disclosure. Examples of precedents for fee disclosure like the Nutrition Facts label are presented. The document then shows vendor designs for prepaid card fee disclosure and seeks consumer feedback to inform next steps in design.
This document is a summer training project report submitted by Priya Kumari to fulfill requirements for an MBA degree from Ranchi University. It discusses a summer training project completed at SAIL (RDCIS) in Ranchi on the topic of working capital management. The report includes sections on introduction, objectives, methodology, data collection and analysis, findings, and conclusion with recommendations. It examines the working capital management practices of the company where the training took place.
S ilabus tik smp berkarakter kelas 7 sd 9suryo purnomo
Dokumen tersebut membahas panduan pengembangan silabus mata pelajaran Teknologi Informasi dan Komunikasi untuk SMP/MTs. Terdapat penjelasan mengenai latar belakang, karakteristik mata pelajaran dan peserta didik, pengertian dan tahapan pengembangan silabus, serta pengembang silabus.
The document provides an overview of the YUI library. It discusses:
1) What YUI is and its main components like the JavaScript library, CSS foundation, documentation tools, build tools, testing tools, and more.
2) Some of the core utilities included in YUI like Event, Node, YUI Global Object, Array, mix, extend, augment, Object, merge, clone, and Module.
3) How to use YUI features like the loader, events, DOM events, custom events, Node, IO, Transition, and infrastructure components like Base, Attributes, Plugin, and Widget.
This document discusses hidden gems and features within the YUI JavaScript library. It begins by introducing the author as a Yahoo web developer and YUI enthusiast. The author then presents an analogy that viewing YUI APIs from a gamer's perspective reveals hidden features, just as exploring a game world might reveal secrets.
The document is structured to guide the reader through progressively less hidden areas of YUI, from "Deeply Hidden" techniques to features "Hiding in Plain Sight." It provides examples of useful but obscure methods like Y.extend(), Y.augment(), and Y.stamp(). Other highlighted features include Y.Frame for creating isolated environments, Y.DOM.inViewportRegion for lazy loading, and event handlers
YUI for control freaks - a presentation at The Ajax ExperienceChristian Heilmann
Christian Heilmann discusses how the Yahoo! User Interface (YUI) library provides control for developers. YUI offers modular components that deal with specific tasks like DOM manipulation, events, animation, and debugging. It provides standards-based solutions with separation of concerns. YUI gives developers control through features like custom events, namespaces, validation, and debugging tools. It helps avoid issues across browsers and situations outside a developer's control.
Objective-C & iPhone for .NET DevelopersBen Scheirman
This document provides an introduction to developing iPhone applications for .NET developers. It covers the basics of Objective-C, the programming language used for iPhone development, including defining classes, methods, properties, memory management using retain/release, and the model-view-controller pattern. It also discusses Xcode, the integrated development environment, Interface Builder for building user interfaces, and Instruments for debugging.
The document discusses various strategies for structuring code in JavaScript, including class-based and prototypal approaches. It covers pseudo-classical inheritance using Y.extend(), which allows creating subclasses but requires manual constructor chaining. Prototypal inheritance avoids copying properties by using Y.Object() to create an object with a given prototype. A factory constructor pattern can be used to support both constructor and non-constructor invocation while ensuring instanceof works as expected. In general, class-based approaches are better suited for most web application problems while prototypal and factory patterns are useful for some internal logic.
This document discusses best practices for developing useful APIs. It recommends treating all reusable code as an API and following principles like using minimal dependencies and packaging code appropriately. It also provides examples of API design patterns at the module, class, and method level, such as using dependency injection, builder patterns, and exception handling conventions. The goal is to make APIs easy to read, use, extend, and hard to misuse by learning from open source projects and following trends in API design.
This document discusses improvements in YUI 3 compared to YUI 2, including how YUI 3 is lighter, faster and easier to use. It provides examples of code in YUI 2 and 3, highlighting improvements like sandboxing with modules, selector APIs and the use of Node and NodeList wrappers. It also covers topics like dynamic script loading, dependency management, events and custom events in YUI 3. Finally, it discusses some techniques for improving frontend performance like avoiding iframes and flushing content early.
The document discusses the evolution of the YUI JavaScript framework architecture. Some key changes include a modular design that allows discrete modules to be loaded independently, a common component foundation using attributes and events, and a Node API that provides a normalized way to interact with DOM elements.
This document provides an overview of key object-oriented programming concepts including classes and objects, inheritance, encapsulation, polymorphism, interfaces, abstract classes, and design patterns. It discusses class construction and object instantiation. Inheritance is described as both exposing implementation details and potentially breaking encapsulation. Composition is presented as an alternative to inheritance. The document also covers method overriding, overloading, and duck typing as forms of polymorphism. Finally, it briefly introduces common design principles like SOLID and patterns like delegation.
Your Library Sucks, and why you should use it.Peter Higgins
This document discusses JavaScript libraries and proposes ideas for improving them. It argues that while libraries are useful, developers should understand JavaScript fundamentals first. Current libraries have inconsistent APIs and lack modularity. The document proposes a new "CommonBrowserJS" library with common standards, pure feature detection, and support for CommonJS modules to converge the best ideas from existing libraries. Developing a simple "has.js" library for feature detection could be a first step. Overall the document advocates for improving JavaScript libraries by standardizing APIs and reducing magic while embracing modern JavaScript practices.
This document introduces the Yahoo! User Interface (YUI) library and highlights its key features and advantages for web development. YUI 3 aims to make development lighter, faster and easier by providing a consistent API, optimized code, and the ability to load only required modules. It helps address inconsistencies in the browser environment and makes tasks like DOM manipulation, event handling and data fetching simpler. The library is open source and supported by a large community and gallery of additional components. Developers are encouraged to use YUI to focus on their ideas rather than browser quirks.
This document provides an overview of JavaScript basics including:
- The history and creation of JavaScript in 2 weeks by Brendan Eich.
- Language basics like syntax, variables, objects, functions, and inheritance.
- Tools for JavaScript development like Firebug and jsLint for debugging and linting.
- Best practices like unobtrusive JavaScript, namespaces, and automated testing.
- Resources for further learning JavaScript like books and websites.
Eugene Pirogov talks about “Origins of Elixir” during #pivorak Lviv Ruby MeetUp 2016
Details:
“For the past 6 years I've been programming in Ruby. Began shifting from Ruby to Elixir during a sabbatical. Started doing programming exercises in Elixir as well as contributing to Elixir language and variety of small libraries in the ecosystem. I'm a strong believer that Elixir, being backed by immensely powerful, robust and battle-tested Erlang VM will take over the world of web development.” - that’s what Eugene says.
Server Side JavaScript - You ain't seen nothing yetTom Croucher
This document discusses using JavaScript on the server side with Node.js and the YUI framework. It begins by explaining why server-side JavaScript is useful and discusses JavaScript runtimes like V8, SpiderMonkey, and Rhino. It then covers Node.js, CommonJS frameworks, and how to use YUI modules on the server by enabling YUI's module loader. Examples are provided for accessing remote data, rendering HTML on the server, and implementing progressive enhancement.
This document summarizes Nicholas C. Zakas's presentation on maintainable JavaScript. The presentation discusses why maintainability is important, as most time is spent maintaining code. It defines maintainable code as code that works for five years without major changes and is intuitive, understandable, adaptable, extendable, debuggable and testable. The presentation covers code style guidelines, programming practices, code organization techniques and automation tools to help write maintainable JavaScript.
Jeff English: Demystifying Module Development - How to Extend TitaniumAxway Appcelerator
The ability to extend your application with custom functionality, whether an external library or your own custom library, opens up numerous possibilities for what you can create. Titanium enables this with what are called 'modules'. Modules provide a bridge between your Javascript application code and your native library code. Getting started writing your own modules can seem confusing, but once your understand the architecture of a module and how it integrates with the Titanium platform you will be able to add your own functionality in short order.
In this session you will learn:
How to create your module project
How to call methods and pass parameters to your module from your Javascript code
How to make callbacks into your Javascript code from your module
This session is for anyone interested in understanding module development and how to get started.
Jeff English is the Modules Development Manager at Appcelerator. Jeff and his team designed and developed many of the Appcelerator modules found in the Marketplace.
This document discusses Box2D, a 2D physics engine, and how it can be used with libGDX, an open-source game development framework. It provides an overview of Box2D concepts like the world, bodies, fixtures, shapes, and joints. It also discusses how to set up a Box2D world in libGDX, create dynamic and static bodies, add fixtures to bodies, and render physics simulations. The document includes code examples for creating a Box2D world, bodies, and handling the physics step to update simulations over time.
The document describes the development of an AutoComplete widget using the YUI library. It discusses:
1) The requirements for an AutoComplete widget, including responding to user input and retrieving data from a server.
2) How various YUI modules like Node, DataSource, and Widget can be used to build the key functions of AutoComplete, like detecting input changes, retrieving remote data, and displaying results.
3) How the modules are loosely coupled so that each can be used independently or combined as needed. The end result is an AutoComplete implementation with under 4KB of code.
My talk at the Yahoo! Frontend Engineering Summit in December 2007. It explains how you can embed the YUI component by component on demand rather than in one big chunk.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/building-and-scaling-ai-applications-with-the-nx-ai-manager-a-presentation-from-network-optix/
Robin van Emden, Senior Director of Data Science at Network Optix, presents the “Building and Scaling AI Applications with the Nx AI Manager,” tutorial at the May 2024 Embedded Vision Summit.
In this presentation, van Emden covers the basics of scaling edge AI solutions using the Nx tool kit. He emphasizes the process of developing AI models and deploying them globally. He also showcases the conversion of AI models and the creation of effective edge AI pipelines, with a focus on pre-processing, model conversion, selecting the appropriate inference engine for the target hardware and post-processing.
van Emden shows how Nx can simplify the developer’s life and facilitate a rapid transition from concept to production-ready applications.He provides valuable insights into developing scalable and efficient edge AI solutions, with a strong focus on practical implementation.
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Speck&Tech
ABSTRACT: A prima vista, un mattoncino Lego e la backdoor XZ potrebbero avere in comune il fatto di essere entrambi blocchi di costruzione, o dipendenze di progetti creativi e software. La realtà è che un mattoncino Lego e il caso della backdoor XZ hanno molto di più di tutto ciò in comune.
Partecipate alla presentazione per immergervi in una storia di interoperabilità, standard e formati aperti, per poi discutere del ruolo importante che i contributori hanno in una comunità open source sostenibile.
BIO: Sostenitrice del software libero e dei formati standard e aperti. È stata un membro attivo dei progetti Fedora e openSUSE e ha co-fondato l'Associazione LibreItalia dove è stata coinvolta in diversi eventi, migrazioni e formazione relativi a LibreOffice. In precedenza ha lavorato a migrazioni e corsi di formazione su LibreOffice per diverse amministrazioni pubbliche e privati. Da gennaio 2020 lavora in SUSE come Software Release Engineer per Uyuni e SUSE Manager e quando non segue la sua passione per i computer e per Geeko coltiva la sua curiosità per l'astronomia (da cui deriva il suo nickname deneb_alpha).
Your One-Stop Shop for Python Success: Top 10 US Python Development Providersakankshawande
Simplify your search for a reliable Python development partner! This list presents the top 10 trusted US providers offering comprehensive Python development services, ensuring your project's success from conception to completion.
HCL Notes and Domino License Cost Reduction in the World of DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-and-domino-license-cost-reduction-in-the-world-of-dlau/
The introduction of DLAU and the CCB & CCX licensing model caused quite a stir in the HCL community. As a Notes and Domino customer, you may have faced challenges with unexpected user counts and license costs. You probably have questions on how this new licensing approach works and how to benefit from it. Most importantly, you likely have budget constraints and want to save money where possible. Don’t worry, we can help with all of this!
We’ll show you how to fix common misconfigurations that cause higher-than-expected user counts, and how to identify accounts which you can deactivate to save money. There are also frequent patterns that can cause unnecessary cost, like using a person document instead of a mail-in for shared mailboxes. We’ll provide examples and solutions for those as well. And naturally we’ll explain the new licensing model.
Join HCL Ambassador Marc Thomas in this webinar with a special guest appearance from Franz Walder. It will give you the tools and know-how to stay on top of what is going on with Domino licensing. You will be able lower your cost through an optimized configuration and keep it low going forward.
These topics will be covered
- Reducing license cost by finding and fixing misconfigurations and superfluous accounts
- How do CCB and CCX licenses really work?
- Understanding the DLAU tool and how to best utilize it
- Tips for common problem areas, like team mailboxes, functional/test users, etc
- Practical examples and best practices to implement right away
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-und-domino-lizenzkostenreduzierung-in-der-welt-von-dlau/
DLAU und die Lizenzen nach dem CCB- und CCX-Modell sind für viele in der HCL-Community seit letztem Jahr ein heißes Thema. Als Notes- oder Domino-Kunde haben Sie vielleicht mit unerwartet hohen Benutzerzahlen und Lizenzgebühren zu kämpfen. Sie fragen sich vielleicht, wie diese neue Art der Lizenzierung funktioniert und welchen Nutzen sie Ihnen bringt. Vor allem wollen Sie sicherlich Ihr Budget einhalten und Kosten sparen, wo immer möglich. Das verstehen wir und wir möchten Ihnen dabei helfen!
Wir erklären Ihnen, wie Sie häufige Konfigurationsprobleme lösen können, die dazu führen können, dass mehr Benutzer gezählt werden als nötig, und wie Sie überflüssige oder ungenutzte Konten identifizieren und entfernen können, um Geld zu sparen. Es gibt auch einige Ansätze, die zu unnötigen Ausgaben führen können, z. B. wenn ein Personendokument anstelle eines Mail-Ins für geteilte Mailboxen verwendet wird. Wir zeigen Ihnen solche Fälle und deren Lösungen. Und natürlich erklären wir Ihnen das neue Lizenzmodell.
Nehmen Sie an diesem Webinar teil, bei dem HCL-Ambassador Marc Thomas und Gastredner Franz Walder Ihnen diese neue Welt näherbringen. Es vermittelt Ihnen die Tools und das Know-how, um den Überblick zu bewahren. Sie werden in der Lage sein, Ihre Kosten durch eine optimierte Domino-Konfiguration zu reduzieren und auch in Zukunft gering zu halten.
Diese Themen werden behandelt
- Reduzierung der Lizenzkosten durch Auffinden und Beheben von Fehlkonfigurationen und überflüssigen Konten
- Wie funktionieren CCB- und CCX-Lizenzen wirklich?
- Verstehen des DLAU-Tools und wie man es am besten nutzt
- Tipps für häufige Problembereiche, wie z. B. Team-Postfächer, Funktions-/Testbenutzer usw.
- Praxisbeispiele und Best Practices zum sofortigen Umsetzen
How to Get CNIC Information System with Paksim Ga.pptxdanishmna97
Pakdata Cf is a groundbreaking system designed to streamline and facilitate access to CNIC information. This innovative platform leverages advanced technology to provide users with efficient and secure access to their CNIC details.
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc
How does your privacy program stack up against your peers? What challenges are privacy teams tackling and prioritizing in 2024?
In the fifth annual Global Privacy Benchmarks Survey, we asked over 1,800 global privacy professionals and business executives to share their perspectives on the current state of privacy inside and outside of their organizations. This year’s report focused on emerging areas of importance for privacy and compliance professionals, including considerations and implications of Artificial Intelligence (AI) technologies, building brand trust, and different approaches for achieving higher privacy competence scores.
See how organizational priorities and strategic approaches to data security and privacy are evolving around the globe.
This webinar will review:
- The top 10 privacy insights from the fifth annual Global Privacy Benchmarks Survey
- The top challenges for privacy leaders, practitioners, and organizations in 2024
- Key themes to consider in developing and maintaining your privacy program
Best 20 SEO Techniques To Improve Website Visibility In SERPPixlogix Infotech
Boost your website's visibility with proven SEO techniques! Our latest blog dives into essential strategies to enhance your online presence, increase traffic, and rank higher on search engines. From keyword optimization to quality content creation, learn how to make your site stand out in the crowded digital landscape. Discover actionable tips and expert insights to elevate your SEO game.
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxSitimaJohn
Ocean Lotus cyber threat actors represent a sophisticated, persistent, and politically motivated group that poses a significant risk to organizations and individuals in the Southeast Asian region. Their continuous evolution and adaptability underscore the need for robust cybersecurity measures and international cooperation to identify and mitigate the threats posed by such advanced persistent threat groups.
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
Generating privacy-protected synthetic data using Secludy and MilvusZilliz
During this demo, the founders of Secludy will demonstrate how their system utilizes Milvus to store and manipulate embeddings for generating privacy-protected synthetic data. Their approach not only maintains the confidentiality of the original data but also enhances the utility and scalability of LLMs under privacy constraints. Attendees, including machine learning engineers, data scientists, and data managers, will witness first-hand how Secludy's integration with Milvus empowers organizations to harness the power of LLMs securely and efficiently.
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slackshyamraj55
Discover the seamless integration of RPA (Robotic Process Automation), COMPOSER, and APM with AWS IDP enhanced with Slack notifications. Explore how these technologies converge to streamline workflows, optimize performance, and ensure secure access, all while leveraging the power of AWS IDP and real-time communication via Slack notifications.
Webinar: Designing a schema for a Data WarehouseFederico Razzoli
Are you new to data warehouses (DWH)? Do you need to check whether your data warehouse follows the best practices for a good design? In both cases, this webinar is for you.
A data warehouse is a central relational database that contains all measurements about a business or an organisation. This data comes from a variety of heterogeneous data sources, which includes databases of any type that back the applications used by the company, data files exported by some applications, or APIs provided by internal or external services.
But designing a data warehouse correctly is a hard task, which requires gathering information about the business processes that need to be analysed in the first place. These processes must be translated into so-called star schemas, which means, denormalised databases where each table represents a dimension or facts.
We will discuss these topics:
- How to gather information about a business;
- Understanding dictionaries and how to identify business entities;
- Dimensions and facts;
- Setting a table granularity;
- Types of facts;
- Types of dimensions;
- Snowflakes and how to avoid them;
- Expanding existing dimensions and facts.
1. Essential YUI
{ An introduction to Yahoo!’s JavaScript library
Derrick McMillen, March 2012
2. Why do we need libraries?
• The DOM is difficult to use, verbose,
and inconsistent (see DOM levels).
• We must always respect the global
namespace !
• Building advanced web applications
requires abstraction.
• Leveraging other developer’s code
makes our lives easier.
3. The Yahoo! User Interface
library is a tool to help you
avoid these pitfalls!
4. The YUI Seed
<html>
<body>
<!-- your page content -->
<!-- YUI seed-->
<script src=‚…"></script>
<script src=‚…">
// your JavaScript
</script>
</body>
</html>
5. Quiz
// finds the greatest common divisor
function gcd(a, b) {
if(b === 0)
return a;
else {
x = a % b;
return gcd(b, x);
}
}
x = 5;
y = gcd(12, 4) + x; // what is y?
7. DOM nodes
var d = document;
var body = d.getElementsByTagName(‘body’)[0],
p = d.createElement(‘p’),
txt = d.createTextNode(‘Hello world!’);
body.appendChild(p.appendChild(txt));
14. var Animal = function(n) {
var noise = n;
this.makeNoise = function() {
alert(noise);
}
};
var Dog = function () {
this.bark = function() {
this.makeNoise();
}
};
Dog.prototype = new Animal(‘woof!’);
15. var Mammal = function() {
this.baby = function() {
return new Mammal();
}
};
Mammal.prototype = new Animal(); // uh oh…
Dog.prototype = new Mammal(‘woof!’);
fido = new Dog();
fido.bark(); // undefined
fido instanceof Dog //true
fido instanceof Mammal // true
fido instanceof Animal //true
16. The Prototype Chain
Animal
What happened when fido.bark() ?
noise
makeNoise
__proto__ We were unable to { }
provide the
instance of Animal the correct
Mammal argument when instanciated.
baby
__proto__ The noise private field was
never set.
Dog (fido)
bark
__proto__