The document discusses the JavaScript MVC framework Backbone.js. It explains that Backbone uses models to store and manipulate data, collections to manage groups of models, and views to display model data on the page. It provides examples of creating models, adding them to collections, and rendering them with associated views. Views listen to model and collection events to update the UI automatically in response to changes in the data.
The Rule of 10,000 Spark Jobs: Learning From Exceptions and Serializing Your ...Databricks
Mastering complex software stacks, such as Spark or Hadoop, is a challenging process. Incompatible dependencies, new programming paradigms, runtime errors, outdated documentation, scaling, tuning - this is just a short list of skills we must acquire. How do we make sure that we are not wasting time and making progress learning? How do we share our knowledge efficiently? This talk walks you through a journey of scaling Salesforce Einstein AI platform to serve 3B+ predictions per day and provides you with a scale to measure learning progress.
Speaker: Matthew Tovbin
The Rule of 10,000 Spark Jobs - Learning from Exceptions and Serializing Your...Matthew Tovbin
Spark + AI Summit, 2019 - Mastering complex software stacks, such as Spark or Hadoop, is a challenging process. Incompatible dependencies, new programming paradigms, runtime errors, outdated documentation, scaling, tuning - this is just a short list of skills we must acquire. How do we make sure that we are not wasting time and making progress learning? How do we share our knowledge efficiently? This talk walks you through a journey of scaling Salesforce Einstein AI platform to serve 6B+ predictions per day and provides you with a scale to measure learning progress.
The Rule of 10,000 Spark Jobs: Learning From Exceptions and Serializing Your ...Databricks
Mastering complex software stacks, such as Spark or Hadoop, is a challenging process. Incompatible dependencies, new programming paradigms, runtime errors, outdated documentation, scaling, tuning - this is just a short list of skills we must acquire. How do we make sure that we are not wasting time and making progress learning? How do we share our knowledge efficiently? This talk walks you through a journey of scaling Salesforce Einstein AI platform to serve 3B+ predictions per day and provides you with a scale to measure learning progress.
Speaker: Matthew Tovbin
The Rule of 10,000 Spark Jobs - Learning from Exceptions and Serializing Your...Matthew Tovbin
Spark + AI Summit, 2019 - Mastering complex software stacks, such as Spark or Hadoop, is a challenging process. Incompatible dependencies, new programming paradigms, runtime errors, outdated documentation, scaling, tuning - this is just a short list of skills we must acquire. How do we make sure that we are not wasting time and making progress learning? How do we share our knowledge efficiently? This talk walks you through a journey of scaling Salesforce Einstein AI platform to serve 6B+ predictions per day and provides you with a scale to measure learning progress.
Eddystone Beacons - Physical Web - Giving a URL to All ObjectsJeff Prestes
More mobile technologies are empowering people and machines to become more autonomous. In the same way as people, machines need ways to be identified to other sources in a connected environment. This begs the question, why not give a URL to objects? With Eddystone, a new Google specification for Beacon data, this is possible, and it works with both Android and iOS based devices.
With it you can implement what physical-web.org stands
Demystifying the magic behind YUI 3 Attributes. A look at what's there, how it's broken down, what you can do, what you should and shouldn't do, and some help in answering the question "should I use a property or an attribute?"
Elasticsearch sur Azure : Make sense of your (BIG) data !Microsoft
Sous licence Apache2, elasticsearch est un moteur de recherche puissant, distribué et scalable. Il fournit également des agrégations en temps réel en fonction de vos besoins. Couplé à Kibana, dashboard générique et hautement personnalisable, il vous permet de donner immédiatement du sens à vos données. En forte progression au niveau de son adhésion par les entreprises et les sites publics, découvrez ce que sont elasticsearch et Kibana et à quel point il est simple de les déployer facilement sur la plate-forme Windows Azure. Thomas et David illustreront à l'aide de cas clients les bénéfices obtenus à travers ces solutions.
Speakers : Thomas Conté (Microsoft), David Pilato (Elasticsearch)
Node.js has given JavaScript a new resurgence as a server-side language. No longer just for image rollovers and AJAX, JS is now available as a platform for creating lightning-fast, lightweight, networked applications. In this session, we will move beyond Node’s base web servers and Twitter applications, and into module development: those small, reusable components that are the foundation for every business application on every platform. Learn how to create a module within Node.js, how to test your module and validate functionality, and how to get your creation distributed into the wild. With this knowledge, you can make the next great Node package and become famous.
Una panoramica su Net::Amazon::EC2 e Net::RackSpace::Servers. Potete trovare la presentazione con le note qui: http://polettix.s3.amazonaws.com/IPW2011/nubilus-perl-1.1-note.pdf
It is known that we read more code than we write, so documentation is super important and when done well can be a time saver. But what's a good solution for this? This talk shows how easy it is to take tests and use them as a live documentation of your code, because they're always up to date.
Eddystone Beacons - Physical Web - Giving a URL to All ObjectsJeff Prestes
More mobile technologies are empowering people and machines to become more autonomous. In the same way as people, machines need ways to be identified to other sources in a connected environment. This begs the question, why not give a URL to objects? With Eddystone, a new Google specification for Beacon data, this is possible, and it works with both Android and iOS based devices.
With it you can implement what physical-web.org stands
Demystifying the magic behind YUI 3 Attributes. A look at what's there, how it's broken down, what you can do, what you should and shouldn't do, and some help in answering the question "should I use a property or an attribute?"
Elasticsearch sur Azure : Make sense of your (BIG) data !Microsoft
Sous licence Apache2, elasticsearch est un moteur de recherche puissant, distribué et scalable. Il fournit également des agrégations en temps réel en fonction de vos besoins. Couplé à Kibana, dashboard générique et hautement personnalisable, il vous permet de donner immédiatement du sens à vos données. En forte progression au niveau de son adhésion par les entreprises et les sites publics, découvrez ce que sont elasticsearch et Kibana et à quel point il est simple de les déployer facilement sur la plate-forme Windows Azure. Thomas et David illustreront à l'aide de cas clients les bénéfices obtenus à travers ces solutions.
Speakers : Thomas Conté (Microsoft), David Pilato (Elasticsearch)
Node.js has given JavaScript a new resurgence as a server-side language. No longer just for image rollovers and AJAX, JS is now available as a platform for creating lightning-fast, lightweight, networked applications. In this session, we will move beyond Node’s base web servers and Twitter applications, and into module development: those small, reusable components that are the foundation for every business application on every platform. Learn how to create a module within Node.js, how to test your module and validate functionality, and how to get your creation distributed into the wild. With this knowledge, you can make the next great Node package and become famous.
Una panoramica su Net::Amazon::EC2 e Net::RackSpace::Servers. Potete trovare la presentazione con le note qui: http://polettix.s3.amazonaws.com/IPW2011/nubilus-perl-1.1-note.pdf
It is known that we read more code than we write, so documentation is super important and when done well can be a time saver. But what's a good solution for this? This talk shows how easy it is to take tests and use them as a live documentation of your code, because they're always up to date.
This year, the team at Activate has defined the 9 most important insights for tech and media in 2017. Key points:
*Super-serve the super-users and chase the attention unicorns
*Subscriptions will feed the world (or at least internet and media businesses)
*Learn to live with the discovery oligopoly
*The bot battles are about winning the great messaging war
*eSports is the next tech phenomenon
*You already know the new winners in Pay TV
*Video Streaming: The bundle is the future
*Audio: Smart Speakers, Gray Music
*Post-Household America: A new era of users
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
We asked LinkedIn members worldwide about their levels of interest in the latest wave of technology: whether they’re using wearables, and whether they intend to buy self-driving cars and VR headsets as they become available. We asked them too about their attitudes to technology and to the growing role of Artificial Intelligence (AI) in the devices that they use. The answers were fascinating – and in many cases, surprising.
This SlideShare explores the full results of this study, including detailed market-by-market breakdowns of intention levels for each technology – and how attitudes change with age, location and seniority level. If you’re marketing a tech brand – or planning to use VR and wearables to reach a professional audience – then these are insights you won’t want to miss.
Artificial intelligence (AI) is everywhere, promising self-driving cars, medical breakthroughs, and new ways of working. But how do you separate hype from reality? How can your company apply AI to solve real business problems?
Here’s what AI learnings your business should keep in mind for 2017.
Object-Oriented JavaScript presentation given at the 2010 ESRI Developer Summit. Code and slides are also available at http://github.com/kvangork/OOJS-Presentation
Find me on twitter @kvangork
or my blog http://prng.vangorkom.org
Object-Oriented JavaScript presentation given at ESRI's 2010 Developer Summit. Slides and code available at http://github.com/kvangork/OOJS-Presentation
Find me on twitter @kvangork
or at my blog: http://prng.vangorkom.org
Refactoring can either completely disrupt your project or make you go faster. This presentation will help you to avoid some pitfalls.
It also demonstrates refactorings that you could apply straight away to make your code better.
Is your web app drowning in a sea of JavaScript? Has your client-side codebase grown from "a snippet here and there" to "more JavaScript than HTML"? Do you find yourself writing one-off snippets instead of generalized components? You're not the only one. Learn about a handful of strategies you can use to keep your JavaScript codebase lean, modular, and flexible. We'll cover all the major pain points — MVC, templates, persisting state, namespacing, graceful error handling, client/server communication, and separation of concerns. And we'll cover how to do all this incrementally so that you don't have to redo everything from scratch.
Not so long ago Microsoft announced a new language trageting on front-end developers. Everybody's reaction was like: Why?!! Is it just Microsoft darting back to Google?!
So, why a new language? JavaScript has its bad parts. Mostly you can avoid them or workaraund. You can emulate class-based OOP style, modules, scoping and even run-time typing. But that is doomed to be clumsy. That's not in the language design. Google has pointed out these flaws, provided a new language and failed. Will the story of TypeScript be any different?
Johnny Depp Long Hair: A Signature Look Through the Yearsgreendigital
Johnny Depp, synonymous with eclectic roles and unparalleled acting prowess. has also been a significant figure in fashion and style. Johnny Depp long hair is a distinctive trademark among the various elements that define his unique persona. This article delves into the evolution, impact. and cultural significance of Johnny Depp long hair. exploring how it has contributed to his iconic status.
Follow us on: Pinterest
Introduction
Johnny Depp is an actor known for his chameleon-like ability to transform into a wide range of characters. from the eccentric Captain Jack Sparrow in "Pirates of the Caribbean" to the introspective Edward Scissorhands. His long hair is one constant throughout his evolving roles and public appearances. Johnny Depp long hair is not a style choice but a significant aspect of his identity. contributing to his allure and mystique. This article explores the journey and significance of Johnny Depp long hair. highlighting how it has become integral to his brand.
The Early Years: A Budding Star with Signature Locks
1980s: The Rise of a Young Heartthrob
Johnny Depp's journey in Hollywood began in the 1980s. with his breakout role in the television series "21 Jump Street." During this time, his hair was short, but it was already clear that Depp had a penchant for unique and edgy styles. By the decade's end, Depp started experimenting with longer hair. setting the stage for a lifelong signature.
1990s: From Heartthrob to Icon
The 1990s were transformative for Johnny Depp his career and personal style. Films like "Edward Scissorhands" (1990) and "Benny & Joon" (1993) saw Depp sporting various hair lengths and styles. But, his long, unkempt hair in "What's Eating Gilbert Grape" (1993) began to draw significant attention. This period marked the beginning of Johnny Depp long hair. which became a defining feature of his image.
The Iconic Roles: Hair as a Character Element
Edward Scissorhands (1990)
In "Edward Scissorhands," Johnny Depp's character had a wild and mane that complemented his ethereal and misunderstood persona. This role showcased how long hair Johnny Depp could enhance a character's depth and mystery.
Captain Jack Sparrow: The Pirate with Flowing Locks
One of Johnny Depp's iconic roles is Captain Jack Sparrow from the "Pirates of the Caribbean" series. Sparrow's long, dreadlocked hair symbolised his rebellious and unpredictable nature. The character's look, complete with beads and trinkets woven into his hair. was a collaboration between Depp and the film's costume designers. This style became iconic and influenced fashion trends and Halloween costumes worldwide.
Other Memorable Characters
Depp's long hair has also been featured in other roles, such as Ichabod Crane in "Sleepy Hollow" (1999). and Roux in "Chocolat" (2000). In these films, his hair added a layer of authenticity and depth to his characters. proving that Johnny Depp with long hair is more than a style—it's a storytelling tool.
Off-Screen Influenc
MRS PUNE 2024 - WINNER AMRUTHAA UTTAM JAGDHANEDK PAGEANT
Amruthaa Uttam Jagdhane, a stunning woman from Pune, has won the esteemed title of Mrs. India 2024, which is given out by the Dk Exhibition. Her journey to this prestigious accomplishment is a confirmation of her faithful assurance, extraordinary gifts, and profound commitment to enabling women.
Is your favorite ring slipping and sliding on your finger? You're not alone. Must Read this Guide on What To Do If Your Ring Is Too Big as shared by the experts of Andrews Jewelers.
Have you ever wondered about the lost city of Atlantis and its profound connection to our modern world? Ruth Elisabeth Hancock’s podcast, “Visions of Atlantis,” delves deep into this intriguing topic in a captivating conversation with Michael Le Flem, author of the enlightening book titled “Visions of Atlantis.” This podcast episode offers a thought-provoking blend of historical inquiry, esoteric wisdom, and contemporary reflections. Let’s embark on a journey of discovery as we unpack the mysteries of ancient civilizations and their relevance to our present existence.
From Stress to Success How Oakland's Corporate Wellness Programs are Cultivat...Kitchen on Fire
Discover how Oakland's innovative corporate wellness initiatives are transforming workplace culture, nurturing the well-being of employees, and fostering a thriving environment. From comprehensive mental health support to flexible work arrangements and holistic wellness workshops, these programs are empowering individuals to navigate stress effectively, leading to increased productivity, satisfaction, and overall success.
Care Instructions for Activewear & Swim Suits.pdfsundazesurf80
SunDaze Surf offers top swimwear tips: choose high-quality, UV-protective fabrics to shield your skin. Opt for secure fits that withstand waves and active movement. Bright colors enhance visibility, while adjustable straps ensure comfort. Prioritize styles with good support, like racerbacks or underwire tops, for active beach days. Always rinse swimwear after use to maintain fabric integrity.
La transidentité, un sujet qui fractionne les FrançaisIpsos France
Ipsos, l’une des principales sociétés mondiales d’études de marché dévoile les résultats de son étude Ipsos Global Advisor “Pride 2024”. De ses débuts aux Etats-Unis et désormais dans de très nombreux pays, le mois de juin est traditionnellement consacré aux « Marches des Fiertés » et à des événements festifs autour du concept de Pride. A cette occasion, Ipsos a réalisé une enquête dans vingt-six pays dressant plusieurs constats. Les clivages des opinions entre générations s’accentuent tandis que le soutien à des mesures sociétales et d’inclusion en faveur des LGBT+ notamment transgenres continue de s’effriter.
12. max catnip
$(“.kitten-delete”).click(function () {
// Find the ID of the kitten
var id = $(this).closest(“.kitten-row”).attr(“kitten-id”);
// Do the delete request
$.ajax(
url: “/rest/kittens/1”,
type: “DELETE”
});
13. max catnip
$(“.kitten-delete”).click(function () {
// Find the ID of the kitten
var kittenRow = $(this).closest(“.kitten-row”);
var id = kittenRow.attr(“kitten-id”);
// Do the delete request
$.ajax(
url: “/rest/kittens/1”,
type: “DELETE”,
success: function () {
kittenRow.remove();
}
});
14.
15. i haz a sad
my data is tightly coupled to my DOM
23. models
where we keep our data
+ utility functions
// Create a Kitten model by extending Backbone.Model
var Kitten = Backbone.Model.extend({
// something we want all kittens to do
play: function () {
console.log("Playing with " + this.model.get("plaything"));
}
}
25. models
access data via set and get
can validate data easily
// Create a Kitten model by extending Backbone.Model
var Kitten = Backbone.Model.extend({
// validate our data by overriding the method
// in Backbone.Model
validate: function(attrs) {
if (attrs.plaything == “dog”) {
// error
return “You haven’t watched enough Hanna-Barbera cartoons.”
}
}
}
// Instantiate a kitten.
var max = new Kitten();
max.set({plaything: "twine"});
26. collections
arrays of model instances
// Create a collection of kittens!
var Kittens = Backbone.Collection.extend({
model: Kitten // default model
}
var kittens = new Kittens;
kittens.add({name: “Max”}); whenever you add a new item,
kittens.add({name: “Orhan”}); an add event is fired. useful!
e.g.
kittens.bind(add, function(kitten) {
alert(“Hi “ + kitten.get(“name”));
}
27. collections
populating collections
var Kittens = Backbone.Collection.extend({
model: Kitten
url: ‘/rest/kittens’
}
var kittens = new Kittens;
kittens.fetch();
28. collections
syncing with the server
var Kittens = Backbone.Collection.extend({
model: Kitten
url: ‘/rest/kittens’
}
var kittens = new Kittens;
kittens.fetch();
29. models
syncing with the server
var Kitten = Backbone.Model.extend({
url: ‘/rest/kittens’
}
30. collections
backbone.sync
The default sync handler maps CRUD to REST like so:
◦ create → POST /collection
◦ read → GET /collection[/id]
◦ update → PUT /collection/id
◦ delete → DELETE /collection/id
31. each model has an associated view
max has a
model
view
both models are in a
Kittens collection
(they could be in others too! like a
CuteThings collection. doesn’t have
orhan has a to be a 1-1 mapping)
model
view
32. views
let’s create views for our kittens
// Getting Max out of our kitten collection, he had an ID of 1
var max = kittens.get(1);
// We’ll look at the view in detail next
new KittenView({model: max});
33. views
var KittenView = Backbone.View.extend({
tagName: “tr”,
className: “kitten-row”,
template: _.template($(“#kitten-template”).html()),
render: function() {
$(this.el).html(this.template(this.model.toJSON())));
return this;
}
});
this will return some HTML
all views have an
associated element
34. views
let’s do some add in that feature
var KittenView = Backbone.View.extend({
tagName: “tr”,
className: “kitten-row”,
template: _.template($(“#kitten-template”).html()),
events: {
“keypress .delete-icon”: “destroyKitten”
}
destroyKitten: function() {
this.model.destroy();
}
render: function() {
$(this.el).html(this.template(this.model.toJSON())));
return this;
}
});