HN user

dilithiumhe3

92 karma

[ my public key: https://keybase.io/ankurcha; my proof: https://keybase.io/ankurcha/sigs/MCiu9Bk5Tx5UnToOvaL_nf76WFFnN4ShiVx2yqgYr3o ]

Posts3
Comments29
View on HN

Not sure if you mean for a toddler or just starting up.

I am having my (first) baby soon and instead of trying to figure out baby books on my own, I registered in some parenting sessions at the local children's hospital. The doctors/instructors there usually have the most up to date practices/references and other (local-)specific resources. I would recommend checking those out.

Most books will talk in generic terms, they (doctors/instructors) tend to get really deep on things which can be awesome.

Sounded nice but doesn't work on El Capitan 10.11.1 when I tried adding 'America/Los_Angeles' as one of the clocks. Hope the bug report helps. Added as https://github.com/Abhishaker17/Clocker/issues/1

console logs show this:

``` 14/11/2015 20:55:38.088 lsd[255]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist 14/11/2015 20:55:40.034 Clocker[47726]: * -[NSCalendar component:fromDate:]: date cannot be nil 14/11/2015 20:55:40.040 Clocker[47726]: ( 0 CoreFoundation 0x00007fff987afe32 __exceptionPreprocess + 178 1 libobjc.A.dylib 0x00007fff95c1bdd4 objc_exception_throw + 48 2 CoreFoundation 0x00007fff98786b5c -[NSCalendar component:fromDate:] + 316 3 Clocker 0x00000001062b678e Clocker + 26510 4 Clocker 0x00000001062b6924 Clocker + 26916 5 Clocker 0x00000001062b61e3 Clocker + 25059 6 AppKit 0x00007fff9a76cd54 -[NSTableView(NSTableViewViewBased) makeViewForTableColumn:row:] + 76 7 AppKit 0x00007fff9a76c76d -[NSTableRowData _addViewToRowView:atColumn:row:] + 283 8 AppKit 0x00007fff9a76c4c6 -[NSTableRowData _addViewsToRowView:atRow:] + 184 9 AppKit 0x00007fff9a76acdf -[NSTableRowData _initializeRowView:atRow:] + 390 10 AppKit 0x00007fff9a76943f -[NSTableRowData _addRowViewForVisibleRow:withPriorView:] + 416 11 AppKit 0x00007fff9a7691d3 -[NSTableRowData _addRowViewForVisibleRow:withPriorRowIndex:inDictionary:withRowAnimation:] + 299 12 AppKit 0x00007fff9a767f99 -[NSTableRowData _unsafeUpdateVisibleRowEntries] + 1697 13 AppKit 0x00007fff9a76785a -[NSTableRowData updateVisibleRowViews] + 233 14 AppKit 0x00007fff9a7671d3 -[NSTableView layout] + 178 15 AppKit 0x00007fff9a7060df -[NSView _doLayout] + 53 16 AppKit 0x00007fff9a705d97 -[NSView _layoutSubtreeWithOldSize:] + 324 17 AppKit 0x00007fff9a705ff3 -[NSView _layoutSubtreeWithOldSize:] + 928 18 AppKit 0x00007fff9a67819b -[NSView setFrameSize:] + 1727 19 AppKit 0x00007fff9a69f620 -[NSClipView setFrameSize:] + 390 20 AppKit 0x00007fff9a6905b5 -[NSView setFrame:] + 476 21 AppKit 0x00007fff9a63829b -[NSScrollView _setContentViewFrame:] + 633 22 AppKit 0x00007fff9a635fd3 -[NSScrollView tile] + 2563 23 AppKit 0x00007fff9a635547 -[NSScrollView _tileWithoutRecursing] + 51 24 AppKit 0x00007fff9a6a21fb -[NSScrollView _update] + 27 25 AppKit 0x00007fff9a69ef42 NSViewLevelLayout + 165 26 AppKit 0x00007fff9a69ee87 -[NSView layout] + 14 27 AppKit 0x00007fff9a74a660 -[NSScrollView layout] + 56 28 AppKit 0x00007fff9a7060df -[NSView _doLayout] + 53 29 AppKit 0x00007fff9a705d97 -[NSView _layoutSubtreeWithOldSize:] + 324 30 AppKit 0x00007fff9a67819b -[NSView setFrameSize:] + 1727 31 AppKit 0x00007fff9a71f416 -[NSScrollView setFrameSize:] + 1147 32 AppKit 0x00007fff9a6905b5 -[NSView setFrame:] + 476 33 AppKit 0x00007fff9a69cbd5 -[NSView resizeWithOldSuperviewSize:] + 409 34 AppKit 0x00007fff9a69c569 -[NSView resizeSubviewsWithOldSize:] + 318 35 AppKit 0x00007fff9a69ef42 NSViewLevelLayout + 165 36 AppKit 0x00007fff9a69ee87 -[NSView layout] + 14 37 AppKit 0x00007fff9a7060df -[NSView _doLayout] + 53 38 AppKit 0x00007fff9a705d97 -[NSView _layoutSubtreeWithOldSize:] + 324 39 AppKit 0x00007fff9a67819b -[NSView setFrameSize:] + 1727 40 AppKit 0x00007fff9a6905b5 -[NSView setFrame:] + 476 41 AppKit 0x00007fff9a69cbd5 -[NSView resizeWithOldSuperviewSize:] + 409 42 AppKit 0x00007fff9a69c569 -[NSView resizeSubviewsWithOldSize:] + 318 43 AppKit 0x00007fff9a6781b7 -[NSView setFrameSize:] + 1755 44 AppKit 0x00007fff9a80934b -[NSNextStepFrame setFrameSize:] + 201 45 AppKit 0x00007fff9a6905b5 -[NSView setFrame:] + 476 46 AppKit 0x00007fff9a69cedd -[NSView resizeWithOldSuperviewSize:] + 1185 47 AppKit 0x00007fff9a7052a0 -[NSView layoutSubtreeIfNeeded] + 902 48 AppKit 0x00007fff9a724be5 -[NSWindow(NSConstraintBasedLayout) _layoutViewTree] + 82 49 AppKit 0x00007fff9a70b5e2 -[NSWindow _setFrame:updateBorderViewSize:] + 1059 50 AppKit 0x00007fff9a72403d -[NSWindow _oldPlaceWindow:] + 1075 51 AppKit 0x00007fff9a723426 -[NSWindow _setFrameCommon:display:stashSize:] + 2719 52 AppKit 0x00007fff9a722979 -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 222 53 AppKit 0x00007fff9a722894 -[NSWindow setFrame:display:] + 67 54 Clocker 0x00000001062b5c1f Clocker + 23583 55 Foundation 0x00007fff8a715835 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 1049 56 Foundation 0x00007fff8a780ef7 _NSSetCharValueAndNotify + 268 57 Clocker 0x00000001062b77df Clocker + 30687 58 libsystem_trace.dylib 0x00007fff8b934082 _os_activity_initiate + 75 59 AppKit 0x00007fff9a8bb811 -[NSApplication sendAction:to:from:] + 460 60 Clocker 0x00000001062b4f95 Clocker + 20373 61 AppKit 0x00007fff9ae1842d -[NSWindow _handleMouseDownEvent:isDelayedEvent:] + 6322 62 AppKit 0x00007fff9ae19411 -[NSWindow _reallySendEvent:isDelayedEvent:] + 212 63 AppKit 0x00007fff9a85eb8d -[NSWindow sendEvent:] + 517 64 AppKit 0x00007fff9ad27155 -[NSStatusBarWindow sendEvent:] + 281 65 AppKit 0x00007fff9a7deb27 -[NSApplication sendEvent:] + 2540 66 AppKit 0x00007fff9a645d9a -[NSApplication run] + 796 67 AppKit 0x00007fff9a60efbe NSApplicationMain + 1176 68 libdyld.dylib 0x00007fff8bd805ad start + 1 ) 14/11/2015 20:55:40.059 com.apple.xpc.launchd[1]: (com.abhishek.Clocker.149152[47726]) Service exited due to signal: Illegal instruction: 4 14/11/2015 20:55:40.113 com.apple.xpc.launchd[1]: (com.apple.ReportCrash[47730]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash 14/11/2015 20:55:40.537 ReportCrash[47730]: Saved crash report for Clocker[47726] version 1.0 (9) to /Users/username/Library/Logs/DiagnosticReports/Clocker_2015-11-14-205540_UserNames-MacBook-Pro.crash ```

I would recommend using/looking at Amazon SQS. It seems to all (or atleast most) of your use cases and is managed so you won't need to deal with yet another system. It is strictly a message queue so you would still need to do some work to get things wired up but it should be straight forward.

Another mention, Amazon Simple Workflow is also something you may want to look at. I haven't used it in any project but seems like it could, sort-of work here. (not particularly sure though).

Depends on what you want to do with your knowledge. To @nostradeamons' point, learning C++ basically means that moving over to Java is basically near zero effort but if your main aim in CS is to learn algorithms and concepts that are the science part of computer science, you may want to concentrate more on the implementation of the thing in point rather than worry about the nitty gritty details of manual memory management. Personally, I would learn Java and I have found mostly because it let's you get to the thing you want to do much more quickly than C++ would.

For example, if you are implementing a tree traversal algorithm, you are implementing the tree traversal mechanism and are rarely bothered with the "correct" way to traverse pointers or manage memory. It helps (in terms of productivity) to have built in language features take care of these things. For a "new" student, java seems like a good starting point and once you get a hold of the things you want to optimize, you can look in more depth or maybe even figure out you need to implement some parts in a different language altogether.

Flexibility of C++ vs Java is a contentious issue at best, concepts and best practices (from a CS view point) would apply across all languages.

* I started with C, then moved to C++, then Java, then Go so I know how it feels to progress through the language-sphere. The above views are my own and YMMV. I find C/C++ to be the best starting place but I know a lot of students who found it too low level and nit-picky and java seems like a good way to start. Again, YMMV.

I think simple vertical strip(colored based on the grade) on one edge and just writing the Major in would have done the trick. Idea should be easy recall of information without needing to know too much prior information.

This is a pretty common thing if you want to get absolute separation for applications within a single (large) vm and is used extensively in the PaaS world. Have a look at cloudfoundry (look on github). This is how it manages containers for each application. Heroku, dotCloud and others seems to follow similar approaches.

Long answer short, a lxc container would look like a self-contained vm to everything outside and from within (except for the controlling vm). You can go with the existing model but I would recommend using one container per application/service. Also have a look at: https://github.com/dotcloud/docker‎

I had the same problem growing up. I would suggest explaining your case to your parents, showing them your plans or your work would definitely bolster your chances of them being on your side and understand. It is probable that they simply don't know what you do and always assume that you aren't doing something productive, maybe going through the route of getting a teacher on your side and helping you out may be really helpful too.

This is an utterly bad idea! Having every minute of government officials may make public very critical or in some cases very preliminary information. To point a few: 1. Government policy updates. 2. Court proceedings 3. Covert operations 4. Military developments 5. Personal situations

Python Code Review 13 years ago

Might want to add some code comments so that it's easy to tell the intention of each method. Personal experience: when you write a little bit of a pydoc for your code it can highlight code smells. e.g.: If the docstring is too long then maybe you are doing too much in one method.

Personal opinion: I am a big them tech and car enthusiast, a big fan of top gear and such. That being said, there is a certain amount male "comfort" imparted when the presenter is male. I am not saying that I have anything against female presenters/voice, but I would just prefer it to be a guy.

Cars in particular (believe it or not), has been and to the most part a male dominated interest group. Again, personal preference, not generalizing.

Those look like google analytics cookies. Atleast on my website. blog.malloc64.com, if I disable the google analytics (by disabling javascript), I did not get any cookies installed. I think you have the google analytics tracker installed on the page.

Even if Amazon was paying me 2x the pay, I would choose Google. Amazon is a good company but a "mean" one. I a very "hostile" environment there so unless you find the magical team that is just awesome, I will never again recommend Amazon to anyone. - Personal experience and others.

[dead] 13 years ago

I would be interested. What do you have in mind? Contact me at ankur@malloc64.com

I think given current internet world and the direction most of the software giants are taking, it is a good idea to take the time and study further into distributed systems. I agree that you learn a lot on the job but there is something to be said about the importance of having sound fundamentals. I went through a similar phase and ended up going for a MS in distributed systems and have never regretted that decision. It makes you think more concretely and exposes you to things that make you think of scalability, complexity, high performance, high availability and other aspects that are the essentials of any complex (more importantly - any system of importance) that we think of.

So, bottom line, go for a Masters but choose your subjects/areas of concentration wisely and remember that you are there for digging deeper not wider.

Oh come on microsoft. Besides the asthetic BS there is nothing that the metro UI has to offer. I have personally used the windows 8 tablets and quite frankly it is more of a hassle than a feature. Please, please ... do something that is actually useful.

[dead] 14 years ago

Of course, the same way obesity is good for the continued wellbeing of the human race.

One of the primary reasons not to work there! But then you do have to realize that the cost of living is a fraction of what it is in US. I think 30-50K is pretty much on the low-average end even for a new grad. When I graduated from college in bangalore (2004) I was offered a salary that would translate to about 21K USD (but in INR of course). So, you should probably look into it. Colleges such as RVCE (my alma mater) do publish median salaries and std. deviation every year on their website.

I think you are looking at it wrong. My take is that you are trying to solve problems in java by using things that you may have picked up while you were in django and .net world. Things are different here and the best suggestion I can give is to look at other projects first, get a grasp on some frameworks like springframework, look at samples and learn the patterns others use. Compared to most other languages, java is much more mature and has survived the test of time and has been refined extensively. Have a look at dropwizard from http://dropwizard.codahale.com/ its a good starting point.