All people know that it's big problem work out of UI thread. we found different ways to do it, from Android asynctask or Services to external libraries based on Reactive Manifesto as RxJava or JDeferred. This new paradigmas going to make all asynchronous but is this the best solution?
NodeJS: Writing tests -- A Beginners' GuideGrey Ang
This is an introductory slide for web development beginners about software testing, and how to write tests in NodeJS.
For more information, you can check out the project's page at http://conancat.github.com/node-test-examples/
Get the exercises and test project at this page: https://github.com/conancat/node-test-examples.
Need help? Buzz me on Twitter -- @conancat!
Architecture is About Intent, not Frameworks. So in this talk we are gonna talk about how you can prepare your android application to use the android framework as a tool instead of cramming your app into their limited constraints.
We are gonna focus on SOLID principles, and concepts like testability, independency of UI, decoupled code, etc, will take a fundamental part of this session.
Tipping Point Social Media Workshop by The Social Larder 5 March 2013The Social Larder
A Social Media workshop for the Metropolitan Waste Management Group http://www.mwmg.vic.gov.au/ by The Social Larder http://thesociallarder.com/ present by Paul Kaan at The Tipping Point Conference in Melbourne. 5 March 2013, Melbourne Cricket Ground.
Including:
Background “What is Social Media?”
Framework “Doing it well” http://thesociallarder.com/essential-social-media-practices/
Strategy “The Basics”
The Boss “Getting Support”
Risks “Social Media Policy”
Success stories “Case Studies”
NodeJS: Writing tests -- A Beginners' GuideGrey Ang
This is an introductory slide for web development beginners about software testing, and how to write tests in NodeJS.
For more information, you can check out the project's page at http://conancat.github.com/node-test-examples/
Get the exercises and test project at this page: https://github.com/conancat/node-test-examples.
Need help? Buzz me on Twitter -- @conancat!
Architecture is About Intent, not Frameworks. So in this talk we are gonna talk about how you can prepare your android application to use the android framework as a tool instead of cramming your app into their limited constraints.
We are gonna focus on SOLID principles, and concepts like testability, independency of UI, decoupled code, etc, will take a fundamental part of this session.
Tipping Point Social Media Workshop by The Social Larder 5 March 2013The Social Larder
A Social Media workshop for the Metropolitan Waste Management Group http://www.mwmg.vic.gov.au/ by The Social Larder http://thesociallarder.com/ present by Paul Kaan at The Tipping Point Conference in Melbourne. 5 March 2013, Melbourne Cricket Ground.
Including:
Background “What is Social Media?”
Framework “Doing it well” http://thesociallarder.com/essential-social-media-practices/
Strategy “The Basics”
The Boss “Getting Support”
Risks “Social Media Policy”
Success stories “Case Studies”
Gesù all'umanità- gruppo di Preghiera- Italia http://messaggidivinamisericordia.blogspot.it/
Contatto Mail: gesuallumanitaitalia@yahoo.it
Puoi leggere tutti i messaggi su questo sito: http://illibrodellaverita.blogspot.it/
2019 PHP Serbia - Boosting your performance with BlackfireMarko Mitranić
We aim to dispel the notion that large PHP applications tend to be sluggish, resource-intensive and slow compared to what the likes of Python, Erlang or even Node can do. The issue is not with optimising PHP internals - it's the lack of proper introspection tools and getting them into our every day workflow that counts! In this workshop we will talk about our struggles with whipping PHP Applications into shape, as well as work together on some of the more interesting examples of CPU or IO drain.
Mario Fusco - Comparing different concurrency models on the JVM | Codemotion ...Codemotion
Per anni i threads sono stati il solo modello di concorrenza sulla JVM. Tuttavia usarli correttamente è difficile, e anche per questo altri modelli di concorrenza stanno guadagnando popolarità. Akka ha reso disponibile sulla JVM gli attori originalmente implementati in Erlang. Clojure ha separato una referenza dalla serie di valori che assume nel tempo introducendo il concetto di STM. Infine anche la programmazione funzionale sta giocando un ruolo importante nel semplificare le tecniche di parallelizzazione. Lo scopo del talk è comparare pro e contro di questi diversi modelli di concorrenza.
Gesù all'umanità- gruppo di Preghiera- Italia http://messaggidivinamisericordia.blogspot.it/
Contatto Mail: gesuallumanitaitalia@yahoo.it
Puoi leggere tutti i messaggi su questo sito: http://illibrodellaverita.blogspot.it/
2019 PHP Serbia - Boosting your performance with BlackfireMarko Mitranić
We aim to dispel the notion that large PHP applications tend to be sluggish, resource-intensive and slow compared to what the likes of Python, Erlang or even Node can do. The issue is not with optimising PHP internals - it's the lack of proper introspection tools and getting them into our every day workflow that counts! In this workshop we will talk about our struggles with whipping PHP Applications into shape, as well as work together on some of the more interesting examples of CPU or IO drain.
Mario Fusco - Comparing different concurrency models on the JVM | Codemotion ...Codemotion
Per anni i threads sono stati il solo modello di concorrenza sulla JVM. Tuttavia usarli correttamente è difficile, e anche per questo altri modelli di concorrenza stanno guadagnando popolarità. Akka ha reso disponibile sulla JVM gli attori originalmente implementati in Erlang. Clojure ha separato una referenza dalla serie di valori che assume nel tempo introducendo il concetto di STM. Infine anche la programmazione funzionale sta giocando un ruolo importante nel semplificare le tecniche di parallelizzazione. Lo scopo del talk è comparare pro e contro di questi diversi modelli di concorrenza.
Java Tools and Techniques for Solving Tricky ProblemWill Iverson
Most Java software problems come from the little “broken windows” – a null pointer here or there. Sometimes, however, you find yourself in a nasty section of town, with the heap, stack, and permgen brutally fighting for memory. Threads in nasty knife fights over resources. Sometimes just plain freaky things – how did I wind up with 1.5GB of HashSet allocations?
In this edition of CSI: Seattle Java Edition, we’ll look at the tools available to combat these nasty foes and even see some of them in action – we will blow up a lot of application servers and JVMs in the process, with graphic results.
How do you analyze and diagnose misbehaving systems? Is there any way or method to detect bottlenecks as early as possible?
This workshop was given at Devoxx Morocco 2015, we learned how the JVM works and how to tune either the JVM or your application to resolve the performance problems really fast.
Operationalizing Clojure in mature enterprises can be difficult. I'm presenting a case study from my experience deploying and maintaining a clojure application for delivering ad-free videos to ISS for NASA. The goal is to tease out the core principles that makes an application "operational".
I used this deck to introduce JavaScript performance profiling at the 5th meeting of the Front-End.IL Meetup: http://j.mp/18TFxin . Tame the Unruly Teenage JavaScript Monster using the Chrome DevTools CPU and Memory profilers.
How to make fewer errors at the stage of code writing. Part N1.PVS-Studio
I've arrived at the source code of a widely know instant messenger Miranda IM. Together with various plugins, this is a rather large project whose size is about 950 thousand code lines in C and C++. And like any other considerable project with a long development history, it has rather many errors and misprints.
How to make fewer errors at the stage of code writing. Part N1Andrey Karpov
I've arrived at the source code of a widely know instant messenger Miranda IM. Together with various plugins, this is a rather large project whose size is about 950 thousand code lines in C and C++. And like any other considerable project with a long development history, it has rather many errors and misprints.
Inspirations for this presentation were drawn from a couple of sprints in one of our internal projects in which we had the freedom of choosing our own technical solutions.
We go through premature optimisation, silver-bullet antipattern, duplication and null-pointer hell.
In the end other antipatterns are swiftly mentioned.
Similar to Get out of my thread (Trabajando en diferido) (20)
use the AOSP to learn android, use the android code to write your own code. Learn new api usages, o view how android works internally, for develop apps that run on your own android distribution.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
About
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Technical Specifications
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
Key Features
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface
• Compatible with MAFI CCR system
• Copatiable with IDM8000 CCR
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
Application
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Welcome to WIPAC Monthly the magazine brought to you by the LinkedIn Group Water Industry Process Automation & Control.
In this month's edition, along with this month's industry news to celebrate the 13 years since the group was created we have articles including
A case study of the used of Advanced Process Control at the Wastewater Treatment works at Lleida in Spain
A look back on an article on smart wastewater networks in order to see how the industry has measured up in the interim around the adoption of Digital Transformation in the Water Industry.
Hierarchical Digital Twin of a Naval Power SystemKerry Sado
A hierarchical digital twin of a Naval DC power system has been developed and experimentally verified. Similar to other state-of-the-art digital twins, this technology creates a digital replica of the physical system executed in real-time or faster, which can modify hardware controls. However, its advantage stems from distributing computational efforts by utilizing a hierarchical structure composed of lower-level digital twin blocks and a higher-level system digital twin. Each digital twin block is associated with a physical subsystem of the hardware and communicates with a singular system digital twin, which creates a system-level response. By extracting information from each level of the hierarchy, power system controls of the hardware were reconfigured autonomously. This hierarchical digital twin development offers several advantages over other digital twins, particularly in the field of naval power systems. The hierarchical structure allows for greater computational efficiency and scalability while the ability to autonomously reconfigure hardware controls offers increased flexibility and responsiveness. The hierarchical decomposition and models utilized were well aligned with the physical twin, as indicated by the maximum deviations between the developed digital twin hierarchy and the hardware.
Student information management system project report ii.pdfKamal Acharya
Our project explains about the student management. This project mainly explains the various actions related to student details. This project shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students.
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
28. Mem Cache
We can coordinate promises.
DeferredManager dm = new DefaultDeferredManager();
Promise p1, p2, p3;
// initialize p1, p2, p3
dm.when(p1, p2, p3)
.done(…)
.fail(…)
29. Mem Cache
We can do operations over the promises.
Filter (Map)
Deferred d = …;
Promise p = d.promise();
Promise filtered = p.then(new DoneFilter<Integer, Integer>() {
public Integer filterDone(Integer result)
return result * 10;
}
});
31. Mem Cache
Combination of the best ideas from
the Observer pattern, the Iterator pattern,
and functional programming
32. Mem Cache
You need to change your mind. You
“observe” changes, don’t invoke it.
33. A lot of “Operators” that allow
combination observables.
Example: Zip
34. You decide in which thread your
observable will emit the stream of data
(onNext() on Subscriber).
.subscribeOn(Schedulers.newThread())
You deciden in which thread Observables
will execute their job.
.observeOn(AndroidSchedulers.mainThread())
35.
36. It has a steep learning curve. Take time to
understand the paradigma change and
learn the operators.
42. Mem Cache
Be careful with the number of threads
that your are creating. A big number of
threads can overkill the system.
43. Mem Cache
I don’t appreciate a big impact to the
memory or to garbage collector.
44. Adam Tornhill
“Sometimes abstraction and
encapsulation are at odds with
performance — although not nearly as
often as many developers believe — but
it is always a good practice first to make
your code right, and then make it fast.”
Brian Goetz.
Java Concurrency in Prac.
45. Readability is the must important thing
always
Observable<List<User>> usersDb =
db.getUsers().subscribeOn(Schedulers.newThread());
Observable<List<User>> users =
apiRest.getUsers().subscribeOn(Schedulers.newThread());
Observable<Map<String, Integer>> likeCountPerUser = apiRest.getLikes();
Observable<List<User>> obs = Observable.zip(users, likeCountPerUser, (users, likes) ->
{
for (User user: users) {
if (likes.containsKey(user.getId())) {
user.setNumLikes (likes.get(user.getId()));
}
}
return users;
}).merge(userDb);
return obs;
46. Readability is the must important thing
always
List<User> usersDb = db.getUsers();
List<User> users = apiRest.getUsers();
Map<String, Integer> likeCountPerUser = apiRest.getLikes();
for (User user: users) {
if (likes.containsKey(user.getId())) {
user.setNumLikes(likes.get(user.getId()));
}
}
List<User> usersFinal = new ArrayList<>();
usersFinal.addAll(users);
usersFinal.addAll(usersDb);
return usersFinal;
47. Bibliography
They’re the cracks!
Java Concurrency in Prac. Brian Goetz
http://www.reactivemanifesto.org/
http://reactivex.io/
https://github.com/jdeferred/jdeferred
https://github.com/BoltsFramework/Bolts-Android
https://github.com/android10/frodo
https://github.com/flipper83/trabajando-en-diferido
Thanks to Pedro V Gomez, Fernando Cejas, Nuria Ruiz and karumi
team for their support.
48. Find meI am very social!
jorge@karumi.com
@flipper83
+JorgeJBarroso
Questions?