News for hackers. Stuff that matters.

smailq

Re:Prefer duplication over the wrong abstraction on Saturday July 09, 2016 @12:18PM (#12061969)
This is another one of the factors that makes development time estimates difficult. While adding/removing/improving the code, you realize that some part of the code needs to be abstracted/duplicated, or vice versa. And this could take unknown amount of time to get it done.

Also, this is where the technical dept incurs over time, if the abstraction/duplication is held off.

Fully understand what each line of the code does.

Third party libraries, copy & pasted code from Internet, helper functions from a framework, and more often hides critical information the coder needs to be aware. Many inexperienced coders simply put together code and produces working code without good understanding of why/how their code works.

I found that deeper understanding of the code not on the first level but all the underlying libraries and functions, lets me write more concise, bug resistant, and easy to understand/maintainable code.

Few ways we handle the notifications :

1. Find existing service that handles the job - integrate it, or just let the user know, or subscribe to it on behalf of the user.

2. Write code - automate it, script it if possible

3. Virtual assistance - let our VAs handle the monitoring if there is no other way

Hope this answers :)

Thanks for the fix!

Ask HN: Phone or Money?

Most of us carry our "Phone" and "Money" everywhere we go. If you can only take one thing with you leaving home, which one will it be?Phone or Money (cash/credit cards)?

( Read More... | 2 comments | on HN )
Re:Python API on Monday September 09, 2013 @09:06AM (#6353163)
At Cosmic(http://www.cosmic-api.com/), we are working toward making web APIs more consistent and easier to build/consume with higher level framework. We take care of transport work, as well as data structure work. The data structure work(https://github.com/cosmic-api/teleport.py) is similar to Thrift, Protobuf, Avro, etc but with more emphasis on 'information on web' rather than dealing with raw bytes.

Cosmic is trying to achieve similar goal as Docker, as we are trying to build a framework/tools/services which solves APIs X languages matrix(Slide 14 of http://www.slideshare.net/dotCloud/why-docker).

FYI, the project is still in very early design stage, any feedback is very appreciated.

Re:ØMQ: Mission Accomplished on Thursday November 10, 2011 @12:47PM (#3220966)
Congratz! I've been using 0MQ for few years on distributed db, now it's hard not to architect distributed/threaded apps without 'message passing' design which 0mq is pushing for. Plus the mailing list is pretty helpful and friendly.