In the end, motivation and productivity don't depend as much on happiness as they do on positive thinking. Positive thinking will keep you glued to the task at hand when the going gets hard, and anticipation of success is likely to bring about success.
24 August 2014
31 July 2014
"It is the third time Purves has hired former colleagues from Barclays: Soon after he joined UBS as its global head of FX e-trading in October 2010, he hired Mark Meredith as head of FX e-trading quantitative analytics and Parwinder Sekhon as head of FX algorithmic technology.
The three were tasked with completely revamping UBS’s electronic FX offering, though Meredith left last October to join Citigroup."
31 May 2014
20 May 2014
It absolutely sucks that Android has prevented most apps from writing to the external SD card, as can be read here: AnandTech | Examining MicroSD changes in Android 4.4. Apps can write to their sandboxed areas, so Google Music sync works fine and stores GBs of music on the external SD card at /storage/extSdCard/Android/data/com.google.android.music. However, I sync my photos to my phone via FolderSync and with many GBs of photos can only do this to the external 64GB SD card I installed on my Samsung S5. Samsung's recent update of Android 4.4 prevented this working and has forced me to enable root on the phone and then follow the instructions at Unlock external SD Card writing for all apps in Android 4.4 KitKat.
17 May 2014
19 March 2014
05 January 2014
Gonna try out some NFC tags, first one is two switch on bluetooth when I place my phone in the car and switch it off when I remove it from the car.
15 June 2013
08 June 2013
Turn it into a game: When your child refuses to leave the park, can you find a way to make getting to the car more fun? Maybe you’ll pretend you’re firefighters and you have to jump into the firetruck to go put out the fire.
Stop Repeating Yourself: Your child heard you the first time, and by repeating yourself, you’re simply training her to stop listening and wait for you to get frustrated before she acts.
Be Forgetful: “Wait, I forget, didn’t I just ask you to do something? What was that? I think we were getting ready to go somewhere, but can you please remind me where?”
Let Them Be In Charge: Just put one child in charge of getting everyone ready and out the door and you’ll be surprised how quickly it will happen.
Cooperate With Them
26 November 2012
18 November 2012
11 November 2012
Kryo is a fast and efficient object graph serialization framework for Java. The goals of the project are speed, efficiency, and an easy to use API. The project is useful any time objects need to be persisted, whether to a file, database, or over the network. Kryo can also perform automatic deep and shallow copying/cloning. This is direct copying from object to object, not object->bytes->object.
Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library; instead, it aims for very high speeds and reasonable compression. For instance, compared to the fastest mode of zlib, Snappy is an order of magnitude faster for most inputs, but the resulting compressed files are anywhere from 20% to 100% bigger. On a single core of a Core i7 processor in 64-bit mode, Snappy compresses at about 250 MB/sec or more and decompresses at about 500 MB/sec or more.
12 August 2012
30 June 2012
5' on IT-Architecture: Four Laws of Robust Software Systems | Javalobby
There is nothing permanent except change. If a system isn't designed in accordance to this superior important reality, then the probability of failure may increase above average. A widely used technique to facilitate change is the development of a sufficient set of unit tests. Unit testing enables to uncover regressions in existing functionality after changes have been made to a system. It also encourages to really think about the desired functionality and required design of the component under development.
28 June 2012
lets you synchronise your Android folders with SkyDrive and just about every other cloud storage supplier.
FolderSync supports most of the popular commercial cloud wallahs, including Dropbox, SkyDrive, SugarSync, Ubuntu One, Box, Amazon S3 and Google Drive. It also works with FTP, Samba/Windows share and WebDAV remote storage for the DIY enthusiast. It also supports multiple accounts of the same type.
The Envers project aims to enable easy auditing/versioning of persistent classes. All that you have to do is annotate your persistent class or some of its properties, that you want to audit, with @Audited. For each audited entity, a table will be created, which will hold the history of changes made to the entity. You can then retrieve and query historical data without much effort.
Imagine getting a flat tire. Even if you have a spare tire in your trunk, do you know if it is inflated? Do you have the tools to change it? And, most importantly, do you remember how to do it right? One way to make sure you can deal with a flat tire on the freeway, in the rain, in the middle of the night is to poke a hole in your tire once a week in your driveway on a Sunday afternoon and go through the drill of replacing it. This is expensive and time-consuming in the real world, but can be (almost) free and automated in the cloud.
This was our philosophy when we built Chaos Monkey, a tool that randomly disables our production instances to make sure we can survive this common type of failure without any customer impact. The name comes from the idea of unleashing a wild monkey with a weapon in your data center (or cloud region) to randomly shoot down instances and chew through cables -- all the while we continue serving our customers without interruption. By running Chaos Monkey in the middle of a business day, in a carefully monitored environment with engineers standing by to address any problems, we can still learn the lessons about the weaknesses of our system, and build automatic recovery mechanisms to deal with them. So next time an instance fails at 3 am on a Sunday, we won't even notice.
Inspired by the success of the Chaos Monkey, we’ve started creating new simians that induce various kinds of failures, or detect abnormal conditions, and test our ability to survive them; a virtual Simian Army to keep our cloud safe, secure, and highly available.
Latency Monkey induces artificial delays in our RESTful client-server communication layer to simulate service degradation and measures if upstream services respond appropriately. In addition, by making very large delays, we can simulate a node or even an entire service downtime (and test our ability to survive it) without physically bringing these instances down. This can be particularly useful when testing the fault-tolerance of a new service by simulating the failure of its dependencies, without making these dependencies unavailable to the rest of the system.
Conformity Monkey finds instances that don’t adhere to best-practices and shuts them down. For example, we know that if we find instances that don’t belong to an auto-scaling group, that’s trouble waiting to happen. We shut them down to give the service owner the opportunity to re-launch them properly.
Doctor Monkey taps into health checks that run on each instance as well as monitors other external signs of health (e.g. CPU load) to detect unhealthy instances. Once unhealthy instances are detected, they are removed from service and after giving the service owners time to root-cause the problem, are eventually terminated.
Janitor Monkey ensures that our cloud environment is running free of clutter and waste. It searches for unused resources and disposes of them.
Security Monkey is an extension of Conformity Monkey. It finds security violations or vulnerabilities, such as improperly configured AWS security groups, and terminates the offending instances. It also ensures that all our SSL and DRM certificates are valid and are not coming up for renewal.
10-18 Monkey (short for Localization-Internationalization, or l10n-i18n) detects configuration and run time problems in instances serving customers in multiple geographic regions, using different languages and character sets.
Chaos Gorilla is similar to Chaos Monkey, but simulates an outage of an entire Amazon availability zone. We want to verify that our services automatically re-balance to the functional availability zones without user-visible impact or manual intervention.
With the ever-growing Netflix Simian Army by our side, constantly testing our resilience to all sorts of failures, we feel much more confident about our ability to deal with the inevitable failures that we'll encounter in production and to minimize or eliminate their impact to our subscribers. The cloud model is quite new for us (and the rest of the industry); fault-tolerance is a work in progress and we have ways to go to fully realize its benefits. Parts of the Simian Army have already been built, but much remains an aspiration -- waiting for talented engineers to join the effort and make it a reality.
24 June 2012
23 June 2012
Interesting looks like setting "-XX:GCHeapFreeLimit=20" and "-XX:GCTimeLimit=90" will help to ensure that OutOfMemory errors are generated earlier so that an application doesn't remain in degraded state involving too frequent garbage collections.