The document discusses Ember components and the direction of Ember 2.0. It provides an overview of what components are in Ember today, best practices for organizing and coordinating components, and new features coming in Ember 2.0 like tagless components and improved action handling. It emphasizes that components simplify building user interfaces in Ember and encourages organizing components early and favoring a data down, actions up approach.
An approach for load-time hacking using LD_PRELOAD is presented.
We discuss a simple, yet intriguing, strategy for overcoming the limitations discussed in Part 1 (i.e., the first publication given in the reference) of reverse engineering and exploitation using LD_PRELOAD, a dynamic linking technique. In particular, we relax the need for exit(1) in the main function. The essence of the technique is that both the stack pointer (esp) and the base frame pointer (ebp) are carefully adjusted when the wrapper to the library function is called. The proposed solution allows us to safely return to libc after dynamically modifying the control flow in the wrapper to (library) functions.
This document summarizes the key new features being introduced in ECMAScript 6 (ES6), also known as Harmony. Some of the major additions include block scope with let and const, classes and modules, iterators and generators, arrow functions, and parameter handling improvements with rest/spread. ES6 is designed to be backwards compatible with ES5 while adding new functionality. Many new features are already being implemented in modern browsers and Node.js using flags or alternative syntax like --harmony for testing purposes today.
The document discusses the implementation of queue operations using pointers and arrays in C. It defines the queue data structure using a struct containing a data element and pointer to the next node. Functions are defined to add, remove and check for empty/full as well as display the queue elements. A similar implementation is shown using arrays instead of pointers by defining a queue struct containing the front, rear indexes and size.
This document discusses RxJS marble testing. It provides an overview of Observables, Schedulers, and the TestScheduler. The TestScheduler allows testing asynchronous code by virtualizing time, mocking Observables with marble diagrams, and asserting expected emissions. Examples demonstrate creating cold Observables, time, and testing an Epic that uses delay with the redux-observable-test-helper. Marble testing makes asynchronous code more testable.
The document discusses porting the readline library to Ruby. It proposes either extending readline with Ruby or building a new readline-like library in Ruby called ReadRhine. ReadRhine uses an MVC architecture with separate models, views, and controls. It aims to have a unit test friendly design with spec files for components like the buffer and completion. The document outlines available commands and how to define keys in an internal DSL. It also lists some TODO items like improving completion and handling signals safely.
The document discusses various JavaScript concepts including strict mode, scope, avoiding global variables, immediately invoked function expressions (IIFEs), namespaces, and converting array-like objects to arrays. It provides examples of using strict mode to catch errors, differences between global and local scope, exporting modules without polluting the global namespace using IIFEs and namespaces, and how to convert array-like objects from methods like document.querySelectorAll() to true arrays using Array.prototype.slice.call so they can support array methods.
An approach for load-time hacking using LD_PRELOAD is presented.
We discuss a simple, yet intriguing, strategy for overcoming the limitations discussed in Part 1 (i.e., the first publication given in the reference) of reverse engineering and exploitation using LD_PRELOAD, a dynamic linking technique. In particular, we relax the need for exit(1) in the main function. The essence of the technique is that both the stack pointer (esp) and the base frame pointer (ebp) are carefully adjusted when the wrapper to the library function is called. The proposed solution allows us to safely return to libc after dynamically modifying the control flow in the wrapper to (library) functions.
This document summarizes the key new features being introduced in ECMAScript 6 (ES6), also known as Harmony. Some of the major additions include block scope with let and const, classes and modules, iterators and generators, arrow functions, and parameter handling improvements with rest/spread. ES6 is designed to be backwards compatible with ES5 while adding new functionality. Many new features are already being implemented in modern browsers and Node.js using flags or alternative syntax like --harmony for testing purposes today.
The document discusses the implementation of queue operations using pointers and arrays in C. It defines the queue data structure using a struct containing a data element and pointer to the next node. Functions are defined to add, remove and check for empty/full as well as display the queue elements. A similar implementation is shown using arrays instead of pointers by defining a queue struct containing the front, rear indexes and size.
This document discusses RxJS marble testing. It provides an overview of Observables, Schedulers, and the TestScheduler. The TestScheduler allows testing asynchronous code by virtualizing time, mocking Observables with marble diagrams, and asserting expected emissions. Examples demonstrate creating cold Observables, time, and testing an Epic that uses delay with the redux-observable-test-helper. Marble testing makes asynchronous code more testable.
The document discusses porting the readline library to Ruby. It proposes either extending readline with Ruby or building a new readline-like library in Ruby called ReadRhine. ReadRhine uses an MVC architecture with separate models, views, and controls. It aims to have a unit test friendly design with spec files for components like the buffer and completion. The document outlines available commands and how to define keys in an internal DSL. It also lists some TODO items like improving completion and handling signals safely.
The document discusses various JavaScript concepts including strict mode, scope, avoiding global variables, immediately invoked function expressions (IIFEs), namespaces, and converting array-like objects to arrays. It provides examples of using strict mode to catch errors, differences between global and local scope, exporting modules without polluting the global namespace using IIFEs and namespaces, and how to convert array-like objects from methods like document.querySelectorAll() to true arrays using Array.prototype.slice.call so they can support array methods.
The document provides an overview of functions in Swift including:
- Function format with parameters, return types, and body
- Calling functions and returning values
- Functions that return tuples
- External parameter names and shorthand names
- Default parameter values
- In-out parameters and call by reference
- Function types as parameters and return types
- Nested functions
The document contains examples and explanations of each concept over 37 slides.
This document describes the architecture of the Angelos web application framework. It discusses how Angelos uses a PSGI engine to handle requests and responses through a pluggable dispatcher and controller system. It also describes how Angelos implements hooks to add functionality before and after controller actions are executed.
A presentation given on August 7th 2013 at the Belgian NodeJS user group. Discussing autonomous flights topics for the AR Drone 2.0 controlled via NodeJS (nodecopter.com).
A brief introduction to the world of drones, flying robots and the #nodecopter project. I've presented this work at events such as Research Talks, Wajug, Njugbe, Café Numérique, etc.
If you would like to have this presentation featured at one of your events, don't hesitate to contact me by email.
How to develop modern web application frameworktechmemo
The document discusses how to develop the plugin architecture of a modern web application framework (WAF). It describes what the plugin architecture of a WAF should be, including making the core elements small and extensible. It then covers developing plugin types that can hook into the WAF lifecycle or add methods to classes. As an example, it outlines how the Angelos WAF implements a plugin system using Mouse roles and method modifiers to hook into component hook points. It concludes by stressing that WAF developers should provide default plugin sets for common needs.
This presentation was held at CocoaHeads Berlin.
I am explaining the concept of promise with help of OMPromise Library written in ObjC. In the end I present a non complete Swift implementation of Promises concept that I hacked together in couple of hours.
…or how to play with EcmaScript shortcoming.
This talk discuss about how I implemented a clear, elegant, succinct and safe syntax to do Pattern Matching in modern JavaScript.
The document defines functions for managing websites and servers using Fabric. It includes functions for provisioning environments, checking server requirements, installing packages, managing sites through tasks like cleaning, getting info, listing contents, pushing changes, enabling/disabling sites in Apache, and restarting/reloading Apache. Role definitions separate servers into groups like web, media, staging, testing, and database.
This document discusses frontend validation in Symfony applications. It introduces the UberFrontendValidationBundle which adds validation constraints and error messages to form fields on the frontend. The bundle works by rendering additional HTML5 attributes on fields containing validation data. This allows validating fields on the frontend before form submission using JavaScript.
Keep It Simple Security (Symfony cafe 28-01-2016)Oleg Zinchenko
This document contains code snippets related to implementing WSSE authentication in Symfony. It includes code for a WSSE token, listener, authentication manager/provider, and factory class. The token holds user details extracted from the HTTP header. The listener extracts credentials from the header and passes them to the manager. The manager authenticates by validating the credentials against the user provider. The factory registers these classes with the security component. The document also mentions voters and ACL as other Symfony security topics.
InterConnect: Server Side Swift for Java DevelopersChris Bailey
The range of languages and frameworks that are available for building server applications has exploded over the last few years, with the most recent of these being the Swift programming language, which IBM has been backing along with the Kitura application framework. But does this mean that Swift is the future and you should stop developing Java server applications? This session will give you an introduction to where and when you might use Kitura, and take you through the experiences of a long-time Java EE developer building their first Angular.js based Kitura application, and how that compares to building the same application with IBM WebSphere Liberty.
This document provides an introduction to ES2015 features, including: const and let for block scoping of variables, arrow functions for shorthand syntax, classes for object-oriented programming, template strings for string interpolation, destructuring for array and object patterns, default parameters, rest and spread operators, Sets, Maps, Promises, generators, and modules for code organization. Key ES2015 features allow for more concise code through features like arrow functions, classes, template strings, and let/const variables.
The document describes a SparseMatrix class that represents a sparse matrix using only non-zero elements, with methods to transpose, add, subtract, and multiply sparse matrices. It stores matrix elements as (row, column, value) tuples in a smArray, and the Transpose method returns a new SparseMatrix containing the transpose by iterating through each column and swapping the row and column for each non-zero element.
The document defines a Complex class to represent complex numbers with real and imaginary parts. It overloads operators like +, -, *, / to allow Complex objects to be added, subtracted, multiplied and divided. It also defines assignment operators +=, -=, *=, /= to perform operations like addition and assignment in one step. Finally, it defines a == operator to allow Complex objects to be compared for equality.
Excellent is a static analysis gem that finds the nasty lines in your code. It implements a comprehensive set of checks for possibly buggy parts of your app that would otherwise make it into your repo and eventually to the production server.
One definition rule - что это такое, и как с этим житьPlatonov Sergey
В докладе будет разобрано, что-же такое ODR, какие ошибки могут быть из-за нарушения этого правила. Также будет представлен Proof-of-concept утилиты на базе clang tooling по автоматическому поиску таких ошибок.
Every day you’re inundated with information about what you should do to live a healthier, longer, happier life. But if the physical and emotional benefits of living well aren’t enough motivation—if you’re still stuck in bad habits and just can’t seem to get out—maybe a little reverse psychology will help.
El documento habla sobre la cultura digital y las relaciones de los jóvenes en Chile. Destaca que Chile es uno de los países que más usa redes sociales y que sitios como Tinder son populares entre los millennials. También menciona que los sitios pornográficos reciben más visitas que otros populares sitios web. El documento sugiere que los jóvenes deben considerar principios permanentes y revelación gradual al navegar las nuevas reglas de las relaciones en la era digital.
The document provides an overview of functions in Swift including:
- Function format with parameters, return types, and body
- Calling functions and returning values
- Functions that return tuples
- External parameter names and shorthand names
- Default parameter values
- In-out parameters and call by reference
- Function types as parameters and return types
- Nested functions
The document contains examples and explanations of each concept over 37 slides.
This document describes the architecture of the Angelos web application framework. It discusses how Angelos uses a PSGI engine to handle requests and responses through a pluggable dispatcher and controller system. It also describes how Angelos implements hooks to add functionality before and after controller actions are executed.
A presentation given on August 7th 2013 at the Belgian NodeJS user group. Discussing autonomous flights topics for the AR Drone 2.0 controlled via NodeJS (nodecopter.com).
A brief introduction to the world of drones, flying robots and the #nodecopter project. I've presented this work at events such as Research Talks, Wajug, Njugbe, Café Numérique, etc.
If you would like to have this presentation featured at one of your events, don't hesitate to contact me by email.
How to develop modern web application frameworktechmemo
The document discusses how to develop the plugin architecture of a modern web application framework (WAF). It describes what the plugin architecture of a WAF should be, including making the core elements small and extensible. It then covers developing plugin types that can hook into the WAF lifecycle or add methods to classes. As an example, it outlines how the Angelos WAF implements a plugin system using Mouse roles and method modifiers to hook into component hook points. It concludes by stressing that WAF developers should provide default plugin sets for common needs.
This presentation was held at CocoaHeads Berlin.
I am explaining the concept of promise with help of OMPromise Library written in ObjC. In the end I present a non complete Swift implementation of Promises concept that I hacked together in couple of hours.
…or how to play with EcmaScript shortcoming.
This talk discuss about how I implemented a clear, elegant, succinct and safe syntax to do Pattern Matching in modern JavaScript.
The document defines functions for managing websites and servers using Fabric. It includes functions for provisioning environments, checking server requirements, installing packages, managing sites through tasks like cleaning, getting info, listing contents, pushing changes, enabling/disabling sites in Apache, and restarting/reloading Apache. Role definitions separate servers into groups like web, media, staging, testing, and database.
This document discusses frontend validation in Symfony applications. It introduces the UberFrontendValidationBundle which adds validation constraints and error messages to form fields on the frontend. The bundle works by rendering additional HTML5 attributes on fields containing validation data. This allows validating fields on the frontend before form submission using JavaScript.
Keep It Simple Security (Symfony cafe 28-01-2016)Oleg Zinchenko
This document contains code snippets related to implementing WSSE authentication in Symfony. It includes code for a WSSE token, listener, authentication manager/provider, and factory class. The token holds user details extracted from the HTTP header. The listener extracts credentials from the header and passes them to the manager. The manager authenticates by validating the credentials against the user provider. The factory registers these classes with the security component. The document also mentions voters and ACL as other Symfony security topics.
InterConnect: Server Side Swift for Java DevelopersChris Bailey
The range of languages and frameworks that are available for building server applications has exploded over the last few years, with the most recent of these being the Swift programming language, which IBM has been backing along with the Kitura application framework. But does this mean that Swift is the future and you should stop developing Java server applications? This session will give you an introduction to where and when you might use Kitura, and take you through the experiences of a long-time Java EE developer building their first Angular.js based Kitura application, and how that compares to building the same application with IBM WebSphere Liberty.
This document provides an introduction to ES2015 features, including: const and let for block scoping of variables, arrow functions for shorthand syntax, classes for object-oriented programming, template strings for string interpolation, destructuring for array and object patterns, default parameters, rest and spread operators, Sets, Maps, Promises, generators, and modules for code organization. Key ES2015 features allow for more concise code through features like arrow functions, classes, template strings, and let/const variables.
The document describes a SparseMatrix class that represents a sparse matrix using only non-zero elements, with methods to transpose, add, subtract, and multiply sparse matrices. It stores matrix elements as (row, column, value) tuples in a smArray, and the Transpose method returns a new SparseMatrix containing the transpose by iterating through each column and swapping the row and column for each non-zero element.
The document defines a Complex class to represent complex numbers with real and imaginary parts. It overloads operators like +, -, *, / to allow Complex objects to be added, subtracted, multiplied and divided. It also defines assignment operators +=, -=, *=, /= to perform operations like addition and assignment in one step. Finally, it defines a == operator to allow Complex objects to be compared for equality.
Excellent is a static analysis gem that finds the nasty lines in your code. It implements a comprehensive set of checks for possibly buggy parts of your app that would otherwise make it into your repo and eventually to the production server.
One definition rule - что это такое, и как с этим житьPlatonov Sergey
В докладе будет разобрано, что-же такое ODR, какие ошибки могут быть из-за нарушения этого правила. Также будет представлен Proof-of-concept утилиты на базе clang tooling по автоматическому поиску таких ошибок.
Every day you’re inundated with information about what you should do to live a healthier, longer, happier life. But if the physical and emotional benefits of living well aren’t enough motivation—if you’re still stuck in bad habits and just can’t seem to get out—maybe a little reverse psychology will help.
El documento habla sobre la cultura digital y las relaciones de los jóvenes en Chile. Destaca que Chile es uno de los países que más usa redes sociales y que sitios como Tinder son populares entre los millennials. También menciona que los sitios pornográficos reciben más visitas que otros populares sitios web. El documento sugiere que los jóvenes deben considerar principios permanentes y revelación gradual al navegar las nuevas reglas de las relaciones en la era digital.
Esta apresentação tem o foco de sua abordagem no processo de construção e posicionamento da imagem e marca pessoal, com o objetivo de colocação profissional.
Este documento define la planificación como un proceso sistemático que permite determinar las acciones necesarias para alcanzar objetivos proyectados, analizando ventajas y desventajas. Explica que la planificación estratégica es un proceso para desarrollar una visión y estrategias de mediano y largo plazo. También describe diferentes enfoques de planificación como la tradicional, estratégica y situacional. Finalmente, señala que la planificación ayuda a las organizaciones a fijar prioridades y concentrarse en sus fortalezas
El hip hop surgió a finales de los años 1960 en las comunidades afroamericanas y latinoamericanas de barrios populares neoyorquinos como el Bronx. Se hizo popular en las block parties donde los DJs mezclaban géneros como el funk y el soul. Los pilares fundamentales del hip hop son el MC o maestro de ceremonias, el DJ, el break dance y el grafiti. Dentro del hip hop existen dos escuelas principales, la de la costa este de Nueva York con influencia del soul y el jazz, y la de la costa oeste
Katonah-Lewisboro: It matters where you draw the lineSaveKLSchools
The document discusses errors found in slides presented by the superintendent Dr. Kreutzer advocating for the closure of Lewisboro Elementary in 2014. Specifically, three slides contained misplaced red lines separating actual and projected enrollment numbers, with all showing decreased projections on the actual side of the line. This raises questions about whether an upswing in 2013 enrollment was being avoided from being shown, or if the flawed data presented to the public was the result of sloppy work or a coordinated effort to mislead. The document calls for suspending the work of the School Closure Task Force and stopping the process until the issues are addressed.
This document discusses evaluating and treating patients with mental illness in long-term care settings. It outlines several challenges in evaluating patients with mental illness, both from the patient and therapist perspective. It recommends establishing rapport, being patient, and not reacting negatively to behaviors. The document also provides examples of areas to assess, tools to use, treatment approaches like limit setting and redirection, safety considerations, documenting progress and goals, and discharge planning. The overall message is that patients with mental illness require compassionate and skilled intervention to address their needs.
Este documento resume las tendencias del consumo sexual en Chile, incluyendo el surgimiento de nuevas operadoras móviles, la popularidad de manga y anime explícito, y la organización de fiestas sexuales. También discute el grooming y las denuncias relacionadas con delitos sexuales contra menores.
This document evaluates a series of posters and a logo created for a deforestation awareness campaign. For each poster, the evaluator assesses whether the pieces are fit for their intended purpose of raising awareness, clearly communicate the message, and are appropriate for the target audience. The techniques, content, impact, and technical/aesthetic qualities of each piece are also analyzed. The evaluator determines that while some original intentions differed from the outcomes, the rotoscoping style and consistency across pieces helps the campaign communicate its message effectively. Minor adjustments were made to improve realism and focus attention on the messaging. Overall, the evaluator believes the campaign would successfully raise awareness and influence the public to help reduce deforestation if launched.
This document defines and discusses key principles and characteristics of distributed systems. It states that a distributed system is a collection of independent computers that appear as a single coherent system to users. Important goals of distributed systems are connecting users to resources, transparency, openness, and scalability. Distributed systems are made up of hardware components like multiple autonomous machines that communicate over a network, as well as software like middleware that hides the underlying platform heterogeneity from applications.
Este documento presenta una guía de materiales educativos de apoyo a la docencia para el primer grado de primaria. Incluye una introducción sobre el propósito de la guía y cómo usarla, un mapa curricular de las asignaturas, y una guía detallada de recursos impresos, audiovisuales e informáticos organizados por asignatura y aprendizajes esperados que pueden utilizarse para enriquecer la enseñanza. La guía provee recursos adicionales para apoyar el trabajo docente de acuerdo con los programas de est
Este documento explica cómo factorizar polinomios descomponiéndolos en sus factores primos. Primero define los polinomios primos y cómo descomponer un polinomio en estos factores. Luego detalla los pasos para hallar las raíces de un polinomio y cómo esto permite la factorización. Finalmente, presenta varios ejemplos ilustrativos de cómo aplicar estos conceptos para factorizar polinomios de diferentes grados.
Este documento describe las diferentes fuentes del derecho en España. Explica que las fuentes primarias directas son la Constitución, la ley, los reglamentos y los tratados internacionales. Las fuentes subsidiarias directas son la costumbre y los principios generales del derecho. Las fuentes indirectas son la jurisprudencia y la doctrina científica. También define conceptos como las fuentes de producción, las fuentes sobre la producción y las fuentes de cognición.
El documento habla sobre cómo comprender, prevenir y afrontar los problemas de conducta en niños y adolescentes con síndrome de Asperger. Explica que este tipo de problemas se deben a limitaciones en habilidades sociales y flexibilidad, y que lo más efectivo es enseñar conductas apropiadas en lugar de castigar. También recomienda realizar una evaluación funcional para identificar los desencadenantes y funciones de cada conducta problemática y desarrollar un plan individualizado basado en ajustes al entorno y enseñanza.
Haemoglobin is the protein in red blood cells that transports oxygen and carbon dioxide throughout the body. It is composed of four globin protein subunits, each containing an iron-containing heme group. Haemoglobin's ability to bind and release oxygen and carbon dioxide allows it to deliver oxygen from the lungs to tissues and remove carbon dioxide from tissues back to the lungs. Several factors regulate haemoglobin's affinity for oxygen, including partial pressures of oxygen and carbon dioxide, pH, and levels of 2,3-bisphosphoglycerate in the blood. This complex regulation allows haemoglobin to efficiently load and unload gases where they are needed.
Aldo Rossi foi um arquiteto e teórico italiano conhecido por usar formas puras em seus projetos e por defender a ideia de que os artefatos existentes podem ter novos usos. Seu projeto mais famoso foi o Teatro do Mundo, construído em Veneza em 1980, que consistia em uma estrutura flutuante de madeira com forma de paralelepípedo e inspirada nos antigos teatros flutuantes da cidade.
Roberto Carlos introduces himself and his blog, welcoming everyone. He provides some basic details about himself, stating that he is 20 years old and from Mazatán, Mexico. He enjoys music and looks forward to meeting new people through his blog.
Ember.js is a JavaScript framework for building web applications. It provides conventions and architecture to make applications more organized and testable. Key aspects of Ember.js include Ember objects, computed properties, templates powered by Handlebars, routes for navigation, and a data modeling layer using Ember Data. Components are also used to build reusable isolated views. Ember follows a "data down, actions up" pattern where data flows from parent to child components and user actions bubble up through the components.
Non Conventional Android Programming Enguest9bcef2f
Learn as you can developing software for mobile devices using only html, css and javascript and how you can use Spring Framework in software for mobile devices
Non Conventional Android Programming (English)Davide Cerbo
Learn as you can developing software for mobile devices using only html, css and javascript and how you can use Spring Framework in software for mobile devices
Building a p2 update site using Buckminsterguest5e2b6b
Buckminster is a build and component management tool that can materialize and build Eclipse RCP applications both inside and outside of the Eclipse workspace. It handles transitive dependencies by materializing all prerequisite components when building. Components can come from various sources like SVN repositories, update sites, and files. Buckminster uses metadata like CSPECs to understand components and can extend this using CSPEXs. It defines attributes and actions to produce artifacts and includes built-in actions for bundles, features, and products.
Sulu 2.0 introduces new frontend architecture including components, containers, views, services, and stores. On the backend, adjustments are made to the snippet administration including updating routes and navigation. Schema definitions are also updated to be more flexible and reusable across different content types.
The document discusses various techniques for writing efficient JavaScript code, including:
1. Avoid premature optimization and focus on clean, correct code first. Optimization can then focus on specific bottlenecks.
2. Use language shortcuts like object and array literals instead of constructors to improve performance.
3. Cache frequently accessed values like DOM elements, styles, and function pointers to avoid repeated lookups.
4. Minimize DOM access and manipulation by batching changes and reducing the number of elements.
5. Use event delegation with event bubbling instead of attaching the same handler to many elements.
The document describes the Backbone.js framework and how it can be used to build single page applications. It explains the core components of Backbone - Models, Collections, Views and Routers. It provides examples of initializing a Backbone application, defining models and collections, creating views to render data, and setting up routes and navigation. It also covers events, templating, and best practices for structuring Backbone code into separate JavaScript files for models, collections, views etc.
Ti sei perso nel caos di “props” ed “emit” della tua web app Vue.js? Usa Vuex!
Vuex è lo state manager di Vue.js per eccellenza, una singola fonte di verità che ottimizza la condivisione di informazioni tra componenti.
Vediamo come introdurre facilmente Vuex in progetti esistenti, con un occhio per il testing
.NET library which enables minification, compression, combination, and caching of JavaScript and CSS resources for ASP.NET and ASP.NET MVC web applications. Simply put, it helps your applications rank better with YSlow and PageSpeed.
This document provides information on developing chaincode using Fabric chaincode and the development environment, YAML configuration, dev mode, chaincode programming structure, dependencies, deploying and invoking chaincode, RESTful APIs, data structures including key-value and table access, HFC APIs for user management, chaincode operations, and the gateway. It describes tools for chaincode development including Docker Compose, Golang SDK, Nodejs SDK, and windows build tools.
Loadrunner is a script loader and dependency manager for JavaScript. It allows loading of scripts and modules, defining dependencies between them, and executing code only after all dependencies are loaded. Key features include:
- Loading scripts and modules asynchronously
- Defining modules with CommonJS or AMD syntax
- Managing dependencies between modules so code only runs after dependencies are resolved
- Being used by other libraries and frameworks like Phoenix and TfW
- Having an open source implementation on GitHub under the MIT license
Operator overloading allows programmers to define special member functions to customize the behavior of operators (like +, -, etc.) for user-defined types. It can be implemented through member functions, non-member functions, or friend functions. Inline functions replace function calls with the function code directly, which can improve performance for short functions.
The document discusses upcoming changes and new features in Angular 2.0. Key changes include improved dependency injection to enable unique instances, enhanced component model with directives, and an updated router. The goal is to keep Angular updated and able to handle the rapidly changing web while addressing current problems like complexity of the directive definition object. More details are provided on specific areas like components, directives, dependency injection and routing.
Slides of my talk at Coding-Berlin November Meetup on 01.11.2017 (https://www.meetup.com/CODING-BERLIN/events/244169839). Also have a look at the demo repo at Github: https://github.com/coding-berlin/vuejs-demo
The document discusses using HTML elements like <div> tags and JavaScript to implement drag and drop functionality in Silverlight 1.0 since user controls were not available, and provides an example of the code needed to enable drag and drop in Silverlight using event handlers to track mouse movement and position elements. It also compares the drag and drop implementation between straight JavaScript and Silverlight.
The document discusses building a lightweight web module to inject content from one site into another cross-domain using JSONP. It covers topics like same-domain callbacks using hidden proxy iframes, API design using configuration objects, minimizing JavaScript size through techniques like removing comments and whitespace, and evolving code through patterns like the immediate function pattern. The document provides examples of minimizing code size through techniques like short variable names and replacing methods with equivalent but shorter alternatives.
Building an angular application -1 ( API: Golang, Database: Postgres) v1.0Frost
The document provides instructions for building an Angular application with a Golang API and PostgreSQL database. It includes steps to set up the Angular and API projects, configure services and routing in Angular, and build components for item purchase, display, and reporting. The Angular app uses the Golang API to perform CRUD operations on a PostgreSQL database and display the data.
MyApp provides JavaScript best practices including:
1) Using namespaces to avoid naming collisions and define packages like MyApp.string.utils for reusable functions.
2) Branching code during initialization or lazily on first use to handle browser differences efficiently.
3) Passing configuration as an object instead of many parameters to simplify function calls.
4) Defining private methods and properties using closures to encapsulate code.
5) Employing self-executing functions for one-time initialization tasks.
6) Allowing method chaining for readability when calling several related methods.
Software Engineering, Software Consulting, Tech Lead, Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Transaction, Spring MVC, OpenShift Cloud Platform, Kafka, REST, SOAP, LLD & HLD.
OpenMetadata Community Meeting - 5th June 2024OpenMetadata
The OpenMetadata Community Meeting was held on June 5th, 2024. In this meeting, we discussed about the data quality capabilities that are integrated with the Incident Manager, providing a complete solution to handle your data observability needs. Watch the end-to-end demo of the data quality features.
* How to run your own data quality framework
* What is the performance impact of running data quality frameworks
* How to run the test cases in your own ETL pipelines
* How the Incident Manager is integrated
* Get notified with alerts when test cases fail
Watch the meeting recording here - https://www.youtube.com/watch?v=UbNOje0kf6E
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeAftab Hussain
Understanding variable roles in code has been found to be helpful by students
in learning programming -- could variable roles help deep neural models in
performing coding tasks? We do an exploratory study.
- These are slides of the talk given at InteNSE'23: The 1st International Workshop on Interpretability and Robustness in Neural Software Engineering, co-located with the 45th International Conference on Software Engineering, ICSE 2023, Melbourne Australia
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Łukasz Chruściel
No one wants their application to drag like a car stuck in the slow lane! Yet it’s all too common to encounter bumpy, pothole-filled solutions that slow the speed of any application. Symfony apps are not an exception.
In this talk, I will take you for a spin around the performance racetrack. We’ll explore common pitfalls - those hidden potholes on your application that can cause unexpected slowdowns. Learn how to spot these performance bumps early, and more importantly, how to navigate around them to keep your application running at top speed.
We will focus in particular on tuning your engine at the application level, making the right adjustments to ensure that your system responds like a well-oiled, high-performance race car.
Unveiling the Advantages of Agile Software Development.pdfbrainerhub1
Learn about Agile Software Development's advantages. Simplify your workflow to spur quicker innovation. Jump right in! We have also discussed the advantages.
WWDC 2024 Keynote Review: For CocoaCoders AustinPatrick Weigel
Overview of WWDC 2024 Keynote Address.
Covers: Apple Intelligence, iOS18, macOS Sequoia, iPadOS, watchOS, visionOS, and Apple TV+.
Understandable dialogue on Apple TV+
On-device app controlling AI.
Access to ChatGPT with a guest appearance by Chief Data Thief Sam Altman!
App Locking! iPhone Mirroring! And a Calculator!!
How Can Hiring A Mobile App Development Company Help Your Business Grow?ToXSL Technologies
ToXSL Technologies is an award-winning Mobile App Development Company in Dubai that helps businesses reshape their digital possibilities with custom app services. As a top app development company in Dubai, we offer highly engaging iOS & Android app solutions. https://rb.gy/necdnt
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfVALiNTRY360
Salesforce Healthcare CRM, implemented by VALiNTRY360, revolutionizes patient management by enhancing patient engagement, streamlining administrative processes, and improving care coordination. Its advanced analytics, robust security, and seamless integration with telehealth services ensure that healthcare providers can deliver personalized, efficient, and secure patient care. By automating routine tasks and providing actionable insights, Salesforce Healthcare CRM enables healthcare providers to focus on delivering high-quality care, leading to better patient outcomes and higher satisfaction. VALiNTRY360's expertise ensures a tailored solution that meets the unique needs of any healthcare practice, from small clinics to large hospital systems.
For more info visit us https://valintry360.com/solutions/health-life-sciences
Flutter is a popular open source, cross-platform framework developed by Google. In this webinar we'll explore Flutter and its architecture, delve into the Flutter Embedder and Flutter’s Dart language, discover how to leverage Flutter for embedded device development, learn about Automotive Grade Linux (AGL) and its consortium and understand the rationale behind AGL's choice of Flutter for next-gen IVI systems. Don’t miss this opportunity to discover whether Flutter is right for your project.
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemPeter Muessig
Learn about the latest innovations in and around OpenUI5/SAPUI5: UI5 Tooling, UI5 linter, UI5 Web Components, Web Components Integration, UI5 2.x, UI5 GenAI.
Recording:
https://www.youtube.com/live/MSdGLG2zLy8?si=INxBHTqkwHhxV5Ta&t=0
8 Best Automated Android App Testing Tool and Framework in 2024.pdfkalichargn70th171
Regarding mobile operating systems, two major players dominate our thoughts: Android and iPhone. With Android leading the market, software development companies are focused on delivering apps compatible with this OS. Ensuring an app's functionality across various Android devices, OS versions, and hardware specifications is critical, making Android app testing essential.
UI5con 2024 - Bring Your Own Design SystemPeter Muessig
How do you combine the OpenUI5/SAPUI5 programming model with a design system that makes its controls available as Web Components? Since OpenUI5/SAPUI5 1.120, the framework supports the integration of any Web Components. This makes it possible, for example, to natively embed own Web Components of your design system which are created with Stencil. The integration embeds the Web Components in a way that they can be used naturally in XMLViews, like with standard UI5 controls, and can be bound with data binding. Learn how you can also make use of the Web Components base class in OpenUI5/SAPUI5 to also integrate your Web Components and get inspired by the solution to generate a custom UI5 library providing the Web Components control wrappers for the native ones.
16. W H A T I S A C O M P O N E N T
Markup
Javascript
17. W H A T I S A C O M P O N E N T
Markup
Javascript
Styles
18. W H A T I S A C O M P O N E N T
template
class
css
19. O R G A N I Z A T I O N
• Use Pods
• Organize components by route where appropriate
• Components can be nested in directories
• Organize Early
• Put styles in pod structure
• https://github.com/ebryn/ember-component-css
• https://github.com/petehunt/jsxstyle
46. C O O R D I N A T I N G
C O M P O N E N T S
- W I T H S E R V I C E S
47.
48. // services/drag-coordinator.js
import Ember from 'ember';
export default Ember.Component.extend({
canvas: null,
registerCanvas: function() {...},
unregisterCanvas: function() {...}
});
49. // Any component that needs access to drag canvas
import Ember from 'ember';
export default Ember.Component.extend({
dragCoordinator: Ember.inject.service(),
canvas: Ember.computed.alias('dragCoordinator.canvas')
});
50. D Y N A M I C C O M P O N E N T S
W I T H { { C O M P O N E N T } }
58. L O O K ! I P U T A N U N D E R S C O R E I N
F R O N T O F I T
59.
60. import Ember from 'ember';
export default Ember.Component.extend({
_superSecretInternalState: 'safe and secure',
actions: {
doSomething: function() {
var userValue = this.attrs.someValue;
...
}
}
}
});
61. E M B E R 2 . 0
import Ember from 'ember';
export default Ember.Route.extend({
attributes: function(params, queryParams) {
return {
model: this.model(params);
}
}
});
62.
63.
64. T O O M A N Y O F M Y C O M P O N E N T S
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'span',
classNames: ['sweet-component']
attributeBindings: ['some-attribute']
actions: {
save: function() {
this.sendAction('save')
}
}
}
});
66. T A G L E S S C O M P O N E N T = = =
F R A G M E N T
67. C O M B I N E D W I T H B E T T E R A C T I O N
H A N D L I N G
http://emberjs.jsbin.com/rwjblue/394/edit?html,js,output
68. A L L T H E O T H E R R O A D T O 2 . 0
S T U F F
• Road to 2.0 RFC
• Routable Components RFC
• Elements and Fragments RFC
• Erik is impatient
69. R E C A P
• Components are Ember’s vision of custom elements
today
• They simplify the learning curve of ember allowing a
unified interface for getting content and behaviors for UI.
• Organize Early
• Favor data down actions up
• You can coordinate between components to build
complex but compassable interfaces
70. R E C A P
• Use the {{component}} helper when you need to choose
a component at run time.
• Be on the lookout for sweet new features in Glimmer
and Ember 2.0 which are just around the corner.
71. T H A N K S !
@raytiley (github & twitter)
raytiley@gmail.com
Editor's Notes
Ember is an “MVC” framework
Components Introduced: https://github.com/emberjs/website/blob/master/source/blog/2013-06-23-ember-1-0-rc6.md
For the model layer you can use ember data, or ember model, or plain jquery, or just POJOs. The real power of “models” in ember comes from the router which gives you a place to load your data, but it doesn’t matter the form that data takes.
For each route you get a view, controller and template… but the distinction between those separate items is fuzzy and most of the time you should just use a component.
So if models are loose, and you shouldn’t use views and controllers except for rare circumstances, what is ember?
Router - Ember’s top feature from day one is the router. It is inspiring and still leads other frameworks.
Glue - A framework is really a bunch of decisions made for you ahead of time. A bunch of small micro-libraries glued together for you so you don’t .
Components - Ember is a front end framework for building a UI. Components are the building blocks of a web UI
I remember sitting in IRC when components were being discussed.
Initial reaction was less than thrilled.
At the time our app was almost ready for launch… we didn’t migrate anything over to components. All of our views continued working fine and we were happy. Looking back especially has glimmer and 2.0 come down the road, the foresight was great. #thoughtleaders
Components come from the custom element spec. Similar to Angular directives, react, and polymer.
Custom elements and components are essentially markup and javascript combined. Both can react to browser events, and provide lifecycle hooks.
Currently only mustache syntax is available… Angle brackets are coming. Components must have dash to align with spec. Arguments passed in as hash. Components can yield a template in block form.
A component is some markup or some javascript or both.
Lots of efforts to also tackle the styling question.
With render we could tie a view, controller and template together.
The killer feature of components is their isolation. Actions don’t escape a component unless explicitly given a handler and properties are part of the component templates context unless explicitly passed in.
We can see here there are actions and properties available in the context the component is called in. But we can change the name and even switch what an action will do when the component is invoked.
Shows how components can use the properties passed in. Also actions that originate inside a component do nothing if the component is not invoked with a handler.
Pause and Demo app real quicky. Current Component count 80+.
Refactoring - Another reason why component isolation is a benefit is it can make refactoring a UI easier. Should the content go in a side pane?
Refactoring - Or maybe content should go in a modal. Having the content isolated to a component makes moving it around as a logical chunk easier.
Lots of components in our app are just wrapping other libraries. Most of these will just require passing in options, setting up the plugin in the didInsertElement hook and cleaning up in the willDestroyElement.
Wrapping a Plugin - Expand in the options. Notice now we run the plugins callback in an Ember.run. This is important. Also notice how we use component properties to configure the plugin, and call sendAction when the date picker calls its callback.
Ember Addons is starting to replace a lot of our wrapper components. We’ll submit bugs / patches if we find a major issue. Spread the burden of maintenance, usually more complete.
“Data Down Actions Up” is the hot new trend replacing 2 way data binding. The {{action-checkbox}} won’t change any state when clicked. Instead sends an action. Has loads of benefits but can be tricky. Sometimes you need to rewrite the element to avoid weird edge cases.
Example Tweeted by Ember Sherpa of Data down actions up for a text input that formats the date once the user enters a new value.
Sometimes components need to work together to.Think calendars, video players, tables. Here will go over a drag and drop scheduling interface.
Block Params are in 1.10.0. Are awesome. Allow components to expose values into yielded templates. Show examples of where using block params in app. Demo Drag and drop scheduling.
The drag canvas coordinates all the drag and drop and wraps all the draggables, droppables and helpers. Ultimately flexible. If the inner components are not passed a canvas, they will assert.
You yield block params from a components template. In this case were yielding the entire component. You could yield selective values.
The inner components can dispatch to the “canvas” component that was passed in. Also notice how the components allow us to respond to browser events.
Its good to review list of events components and views respond to. You can always register custom events.
After the {{draggable-item}} kicks off a drag the coordinator is responsible for tracking it, checking for intersections, etc. Since all the inner components have the canvas instance, they can create computed properties from canvas properties (x,y coordinates, intersecting, etc)
Communicating with block params is great for components grouped locally. Sometimes components need to coordinate across routes.
This is actually how our drag and drop works. The sidebar is a nested route. The drag canvas wraps everything including the outlet.
Services also released in Ember 1.10.0. Really awesome dependency injection pattern. Makes coordinating globalish things much easier.
Instead of passing a block param into the component, we just inject the service and use an alias.
Sometimes you don’t know ahead of time which component to use. Could use crazy {{if}} branching… but its ugly. Use component helper instead. Demo advanced search builder.
We have a file of search fields that we import. Notice the “component” property. Tells the interface what component to display if user adds this filter.
Its javascript. Components don’t care what properties you pass in. When using component helper its useful to pass in anything that will be needed.
Here we pass all the possible options to a component helper. The individual components know how to look up what data they need based on the type of component.
Usually when I give a talk I do an arc where I build something up and then knock it down a little. I like to show all the sides. This time around the answers are right around the corner.
Isolation in components today is really only one way. The outside world can set any of your components properties it wants
No way to prevent it and no great way to reason about what was passed in vs came with the component.
In glimmer properties passed into a component will be added to an attrs hash. Makes it sane to reason about what was passed in vs what is part of the component class.
Attributes will also affect routable components. A new route hook allows you to specify what the attrs hash contains when your routable component is rendered.
Glimmer also lands with some new lifecycle hooks inspired by react.
An important new hook involving attires is willRecieveAttrs. Allows to react to attribute changes. Think of our pikaday component. If the format changes we probably need to recreate the plugin. Removes the need for an observer to handle this.
Too many of my components have JS classes because I need to set properties on the elements tag or I need to catch and re-fire actions. The new element keyword removes the need for these classes and lets me handle everything in the template.
The element keyword lets me set properties on the components element.
Fragments give us a clear way to denote a component with no tag. Still unclear how this.$() will work. Might return a dom range, but may be left off completely.
Actions now always need to be caught and re-fired. Can be tedious.Now actions will just be functions on the attrs hash.