News for hackers. Stuff that matters.

berito

No mongo natural order is just order on the disk. It is not always in reverse insertion order
Re:Ask HN:untracked vacation days - what does it mean? on Wednesday May 08, 2013 @05:20PM (#5677038)
I have been apprehensive about asking that question, lest they judge me for a slacker. I want to ask in an email, but want to learn something about how this works before I email them
Re:Ask HN:untracked vacation days - what does it mean? on Wednesday May 08, 2013 @05:18PM (#5677027)
Then really, "unlimited vacation days" is more of a PR spin than a valuable benefit.
Re:Mongodb - "grep" through a database on Wednesday March 13, 2013 @09:31AM (#5368206)
I just ran collection.fields() on a collection of books. Surprised to find keys that I didn't even know existed.
Ok, all done. Ordered just now from london, never mind the 79 USD shipping cost. Next I installed their iPhone app. Shocked to see that it's gamified.
Re:Ask HN:working with a company with anal coding standards on Monday December 10, 2012 @10:24AM (#4899340)
Sure, if it lasts 10 years, it's good code :-)
Re:Ask HN:working with a company with anal coding standards on Monday December 10, 2012 @09:09AM (#4899017)
Edit: (addition) I mean I hate camelCase as an enforced standard. I use it when it feels useful. I use underscores as well when I think they are fit. I just don't like being one standard pretending to be absolute truth for a company. If the company is a startup, it's even more important that we get to release as fast as possible, instead of fretting over if the code looks like poetry or not. The odds are, the bit of code will be obsolete as a feature in two months.
Re:Ask HN:working with a company with anal coding standards on Monday December 10, 2012 @09:02AM (#4898986)
I mean I hate camelCase as an enforced standard. I use it when it feels useful. I use underscores as well when I think they are fit. I just don't like being one standard of absolute truth for a company

Ask HN:working with a company with anal coding standards

I am a humbly good programmer who always gets a good job done (speed/meeting specs) I do not care for other people's arbitrary coding conventions. Not do I care about wasting time writing tests. I hate camelCasing. Is it getDb() or getDB()? I don't care. Keep it as getdb() and don't waste my fucking time.Now apparently my company will adopt strict code conventions and will make committing...

( Read More... | 14 comments | 7 points | on HN )
Surprising that china is low risk in their map. Their metric is clearly flawed, for china already "blocks" off the whole Internet.
Re:Melinda Gates at Stanford: "All lives have equal value" on Thursday November 15, 2012 @04:38AM (#4787881)
No lives have different values. Bin Laden != Paul Graham
Re:To Smuggle More Drugs, Traffickers Go Under the Sea on Monday September 10, 2012 @01:21PM (#4500876)
Working on this kind of hack sounds much more compelling than coding for an overhyped Internet startup.

To my mind, solving an impossible sounding challenge is larger than ethics.

Re:India Launches Beta Version of Its Data Site on Monday September 03, 2012 @03:27PM (#4471503)
The burden of proof is on you if you are making the outrageous claim that ayurveda works.
Re:India Launches Beta Version of Its Data Site on Monday September 03, 2012 @03:19PM (#4471471)
The Indian government shamelessly squanders tax money on both Ayurveda and homeopathy. http://www.indianexpress.com/news/no-extra-fund-for-ayurvedi... check this link. Some quacks in the Indian state of gujrat were denied additional funding. On a side note, gujrat is also the state where state sponsored ethnic cleansing happened not so long ago! To be fair, I'd rather they use tax payer money to fund quackery than kill some of the tax payers!
Re:India Launches Beta Version of Its Data Site on Monday September 03, 2012 @09:06AM (#4470206)
Notice the use of the phrase "allopathic hospitals" in a database of number of beds available! It always cracks me up how modern medicine is referred to as just another form of medicine, like Ayurvedic or homeopathic. The Indian government is clearly of the opinion that forms of quackery that are homeopathy and Ayurveda actually work and are worthy of tax payer money.
Re:AIDS vaccine in final testing on Thursday March 31, 2011 @06:11AM (#2390965)
I am going to go get some with the filthiest tonight!