HNHacker News
TopNewBestAskShowJobs

zphds

117 karma · joined August 22, 2012

submissionscomments
zphds··on Go 1.6 is Released
The JVM is awesome. Not a big fan of Java as a language. The 'less is more' is lost on most Java programmers I know of.

Golang fits in nicely in such cases. If I want the JVM, I rather build a clojure'ified uberjar.

zphds··on First chapter of Kernighan and Donovan's new Go book [pdf]
We use golang for a lot of our ops stuff. Earlier it was a repo of a mash of different python/ruby scripts. The runtime dependencies were hard to keep track of and they had to be installed on all the machines depending on the script being run.

With golang it's just one static binary that is scp'ed across the nodes. This easy of deployment isn't talked about much.

We were also able to go further and put a RESTFUL API on top of these tools using negroni and gorillamux.

zphds··on First chapter of Kernighan and Donovan's new Go book [pdf]
You might also want to take a look at Negroni since it's supposed to be more idiomatic. There's a blog post about this by the author himself.

http://codegangsta.io/blog/2014/05/19/my-thoughts-on-martini...

zphds··on Designing the Uber Cash Experience
You can pay by cash when you take an Uber in India now.
zphds··on Paxos Made Moderately Complex
There is a popular alternative as well, Raft. https://ramcloud.stanford.edu/wiki/download/attachments/1137...

Has anyone used both? What are the pros and cons?

zphds··on Experiences Using Go as a Teaching Language with Young Programmers
Those kids must be really smart. I still have co-workers who can't get the $GOPATH foo right. :(
zphds··on The OnePlus 2 pushes the boundaries of how cheap a flagship phone can be
You could pick up the Nexus 5. I switched to OPO from Nexus 5 and it had the perfect dimensions. Lightweight and great for one-hand usage. The battery is a bummer though.
zphds··on Ask HN: Cool Arduino projects
Shameless plug: http://sudharsh.me/blog/2013/12/07/jenkins-build-status-on-a...

Everyone out there seem to start out with a CI traffic light using Arduino. This is no exception :).

zphds··on The Gondola web framework
I have had a lot of fun with Negroni and Gorilla. As someone who used to work with Flask, the switch was natural. In fact, the author of Martini had posted a criticism of his own opus and ended up writing Negroni instead.

http://blog.codegangsta.io/blog/2014/05/19/my-thoughts-on-ma...

zphds··on Jawbone UP3 Activity Tracker
I ended up buying a pebble instead for this reason. Has a pedometer in addition to customisable watch faces and apps. Also, a great conversation starter :).
zphds··on Blackphone
Openmoko did that before Android. Sadly, it had a very lukewarm response owing to a not-so-good hardware.
zphds··on Oyster, Netflix for books, is launching the beta version of its iPhone app
Wow... I tried reading with the Kindle app on my Samsung Note. I couldn't do it. The 7 inch tablet on the other hand...
zphds··on Oyster, Netflix for books, is launching the beta version of its iPhone app
This looks neat but I find it weird that they targeted the iPhone first instead of the iPad. Isn't reading on iPhone hard?
zphds··on Just type `whois Microsoft.com` in your shell
Now try `whois google.com` :)
zphds··on Releases – a workflow for shipping software to end users

  git archive HEAD --format=zip > release_v1.zip
And then ship the code.
zphds··on How I Learned to Defrag My Brain
I used org-mode before but I didn't put enough effort in learning it. Plain .txt files worked but I started missing linking between 'Notes' or 'Tasks' after a while.

I picked up org-mode again after trying a few online tools (including Google Docs and Trello), only this time spending an entire day reading the docs and a few blog posts on customisation before putting it into use.

The day ended with a "(add-hook 'after-init-hook '(lambda () (org-agenda-list 1)))" at the end of my .emacs file.

It was totally worth it. I am more organised now and as someone who gets distracted easily and may have a slight case of Adult ADHD, it has had a positive effect in my life. Just add Dropbox to the mix and it becomes all the more awesome. As you said, I love it how it just 'fits' in with Emacs when writing code.

Learning org-mode is not a wasted effort. There is just so many things that you can do with it once you know what you want.

zphds··on Jobtastic - User-Responsive Celery Tasks
There is a typo in the sample code. 'herf_avoidance_timeout = 60'.

It would be neat if we can use the Jobtastic task as a decorator, similar to the celery.task decorator. That way I won't have a bunch of JobtasticTask subclasses, that only differ in the way calculate_result is implemented.

If needed I can set the variables needed by passing kwargs to the decorators instead. It will definitely be easier on the eyes.

zphds··on Task tracking for nerds
org-mode has a number of export options, including html (C-c C-e)
← PreviousPage 2 of 2