tag:blogger.com,1999:blog-13599432024-03-07T18:13:23.668-08:00nox's lifestreamnonsense blah blah etc ... Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.comBlogger1034125tag:blogger.com,1999:blog-1359943.post-43484808947711431352015-03-27T21:30:00.002-07:002015-03-27T21:30:26.613-07:00Mongoose value defaulting
Pretty neat way of defaulting object values in mongoose. Say you want to have a default proximity uuid assigned to one of your documents. Simply enclose this in a type and default definition like the one below. Added bonus of being quite readable as well.
beaconProximityUUID: {type: String, default: BEACON_PROXIMITY_UUID}
Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com1tag:blogger.com,1999:blog-1359943.post-34583546193393010062015-02-21T17:52:00.000-08:002015-02-21T17:52:01.822-08:00Synology DS1513+Synology DS1513+
Been researching on a good backup solution for the home to keep up mostly with the photos we snap from time to time. Am currently using a WD MyBook thats about to be full.Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-71890908298538825132015-02-21T17:50:00.002-08:002015-02-21T17:50:53.361-08:00Yeoman and the Angular Fullstack GeneratorIf you have not heard of this yet and you are developing Angular JS applications, now is the time to take it for a spin https://github.com/DaftMonk/generator-angular-fullstack
This single-handedly takes the sting out of developing javascript web applications generating the boiler plate code required to have something up in running in literally a couple of minutes. You get a Bootstrap, a Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-59021610699902697362014-10-08T08:16:00.000-07:002014-10-08T08:16:07.936-07:003 Point Architecture
Just a quick mental dump for today. Modern architecture simplified.
Information Flow
Separation of Roles
Immutable, whenever possible
Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com1tag:blogger.com,1999:blog-1359943.post-91000004537482580182014-10-07T03:03:00.003-07:002014-10-07T03:30:39.285-07:00Adventures in micro-cluster land
The past few months I had been busy tinkering with a micro-cluster during weekends to have a more in-depth peek at the Hadoop 2 eco-system. Six Odroid U3s stitched together by an el-cheapo DLink DGS-1008A gigabit switch. This is by far much more better than spinning Amazon EC2 instances or the two node Hadoop 1 cluster I tried a few years back.
One thing that keeps bugging me however is the Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-29185389599780572562014-09-03T16:43:00.001-07:002015-02-21T17:51:40.205-08:00ElasticsearchThe rise of BigData is now prompting engineering teams around the world to graple the last mile that comes along with huge data sets: how do you turn them to actionable insights? A picture is worth a thousand numbers, naturally, data visualization is the preferred medium.
If you start separating the tiers required for managing tons of data for visualization, the need for a fast searchable dataAnonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com8tag:blogger.com,1999:blog-1359943.post-59107046016690232102014-01-13T08:47:00.001-08:002014-01-13T08:47:46.879-08:00Two weeks into 2014Wow. Time flies ridiculously fast. Still got a ton of things to do. Liking the steady pace of stuff I had been itching to do but didn't materialize last year. The family settling in the new place is helping a lot to make schedule for some things.Finished my first book for 2014. Still a lot on my reading list. Not to mention my impossible long Pocket list and the a dozen or so Safari reading Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-81337572682304095402013-12-31T18:29:00.001-08:002013-12-31T18:37:58.111-08:00Happy New Year! Welcome 2014!
2013 has been pretty tough. Relocating from one country to another is never easy. The kids had to take a break for 6 months since they came in after the middle of the school year coming from an international school.
Malaysia had been our home for the past 6 years. Lots of fond memories. The laid back way of life specially on the weekends. It was harder for the kids who had already Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com1tag:blogger.com,1999:blog-1359943.post-48032701033942502862013-10-09T07:57:00.001-07:002013-10-09T07:57:13.724-07:00Everyday PhotographySlow-Cooked-Beef-Ribs-3769, a photo by nocs on Flickr.Recently I had been picking up the camera and again re-trying an old passion of taking photographs of things I like. Mostly taking shots of our kids and surrounding neighbourhoods.In parallel my wife also is re-kindling her love for cooking. This presents awesome opportunities to photograph the new dishes as she weaves her magic around the Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-62703343016146687812013-10-05T11:10:00.000-07:002013-10-05T11:10:09.854-07:00iOS 7 bit NDA embargo is lifted. Among other things, its now rockin' base64 string encoding API. Yep, its the simple things that matter. Enjoy!
NSString *base64EncodedString = [[string dataUsingEncoding:NSUTF8StringEncoding] base64EncodedStringWithOptions:0];
Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-79092322413678587242013-06-01T22:53:00.000-07:002013-06-01T23:05:34.590-07:00Google Cloud Endpoints.Dabbling with Google's new cloud endpoints. Since am not using Eclipse (Intellij IDEA fanboy). It was a bit of a jar hunting game. To save you the trouble, the downloadable backend code includes dependencies on gson.jar and the gcm server jar which, wait for it... Only comes bundled with the Android SDK tools under Cloud Messaging.
Lets see how this goes.Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-4562458717797816432010-10-16T22:53:00.001-07:002010-10-16T22:53:45.021-07:00The Cutest Boy in the whole universe._MG_3414Originally uploaded by nocsHands down, my little boy is the cutest. :)Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com1tag:blogger.com,1999:blog-1359943.post-54669501465135260022010-01-10T20:58:00.000-08:002010-01-10T20:59:28.842-08:00Is this thing still on?Testing 1, 2, tres...Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-74849795268134576862009-11-01T01:26:00.001-07:002009-11-01T01:26:35.070-08:00Windows Live Writer  No kidding, this is a slick native desktop blogging client for windows. Able to automatically pick up the blogger CSS styles for a truly WYSIWG experience. Usually, you get software like this on the Mac, its quite refreshing to have something like this on Windows. Makes for a very nice companion for netbook computers which are ubiquitous nowadays. And the best part of course is its Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-38632890395830299612009-08-01T23:40:00.001-07:002009-08-01T23:48:24.096-07:00Long time no post again.Its been eons again since I have written a blog post. Even 140 character updates are rarer nowadays. It could either mean too busy at work or more interested in real life (IRL) activities or both.For some reason, I do like to write. Its just I find it hard still to write cohesive sentences. Explaining /dev/brain contents that mildly conforms to the rules of proper grammar. I always admired peopleAnonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-47588691455317285972009-05-15T21:17:00.000-07:002009-05-16T06:36:11.335-07:00N95 and Garmin Mobile XTOn a quick note, N95 + Garmin Mobile XT loaded with Malaysia and Singapore maps really rocks! Even better than the bundled GPS on our Persona. All searches by default is based on your location. For example searching for a Shell station, you would see it searching within 5km, 10km, 20km... radius. That said it makes a two year old phone an extremely practical all in one mobile device.When will Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-72106585103541008112009-05-15T20:50:00.002-07:002009-05-15T21:35:25.785-07:00HP Mini and Nasi KandarSaturday morning with a mini and maggi goreng. Surprisingly wifi is available as auto detected by the mini. For the first time am blogging in this indoor Nasi Kandar.Anyway, its been a while since we have the mini, my daughter uses it regularly at home for school homework and general surfing. It seems to hold up to the task. Was keen on trying it outside and see how long the battery holds up and Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-55667196503772771132009-04-20T08:56:00.000-07:002009-04-20T08:56:19.496-07:00Oracle Buys Sun!WTF???What is the future of Java and Glassfish?Interesting times to be a Java aligned technologist...Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-86603709515314167562009-04-05T09:38:00.001-07:002009-04-05T09:38:33.708-07:00My love, my life..._MG_0631Originally uploaded by nocsHad a great time this Sunday. Took the lovey and kids to Pantai Morib for a much needed break. Beach was ok, but food was fresh and delicious! We had grilled fish, fried prawns and calamari cooked kampung style? I could still imagine the taste of the prawn somewhere there in my tastebuds. It was really good and am not even a prawn lover to begin with :).We also Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com1tag:blogger.com,1999:blog-1359943.post-3788814838131484932009-04-02T10:23:00.001-07:002009-04-02T10:23:30.204-07:00Diets and dogsOur dogOriginally uploaded by nocsSurprised to know there is a free book for dieting... Named as The Hacker's Diet aimed primarily at geeks perhaps.Overweight and a bulging beer belly (ironically I rarely drink beer or alcohol for that matter), its those odd moments in time when you want to write something about it. In the futile hope to keep that motivation to get fit even for just a Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-25924507484930014072009-03-19T17:56:00.001-07:002009-03-19T17:56:14.139-07:00Red GuitarRed GuitarOriginally uploaded by nocsCause we were born upside down.Trying to find beauty amidst daily challenges life throws at you. Seeking refuge behind the sound of the shutter.Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-59418670259799776032008-12-26T23:36:00.001-08:002008-12-26T23:36:38.299-08:00Is this thing on?Mic test...1, 2, tres...Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com1tag:blogger.com,1999:blog-1359943.post-45081463196974245622008-11-04T16:54:00.000-08:002008-11-04T17:04:44.248-08:00Drive, drive, drive, drive with me...Yesterday night was rather a frightening experience. On an intersection, I signaled going to the right, an I thought the car behind was smart enough to see that as well. But no! the asshole rather decided to also make a right turn in the same two way lane together with me. Worse, he was the one so frackin' irritated and even tried to drive so close to my car while blasting his horns as if it Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-51965770851059473392008-10-25T01:42:00.000-07:002008-10-25T02:16:23.869-07:00Just look to left and just look to right...31 years of walking thru the earth and enduring public transport, for the first time ever, I can now go to places on my own set of wheels. Driving really is both terrifying and an exhilarating experience! Just a while ago in the parking lot I forgot to look to the right and thankfully the car on the right was able to break in time. My brain is still uselessly wired with left hand driven instinctsAnonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0tag:blogger.com,1999:blog-1359943.post-7627507380286186472008-10-20T20:26:00.000-07:002008-10-20T20:26:59.332-07:00OS X Running on Lenovo Netbook | Gadget Lab from Wired.comThis thing is really shiny! Saw one for sale in the Cineleisure at 1.6k MYR (around $460).It looks just as good in person, the availability of a longer lasting battery will make this bugger the king of the netbooks. It can run OS X it seems, and runs open source operating systems like *BSD and Linux a breeze. Wonder how decent Java runs on this machines. It would make a really nice portable Anonymoushttp://www.blogger.com/profile/05423120153705431683noreply@blogger.com0