skysight-inc/HackerNews huggingface dataset:
As a bad but persistent cook, I'm convinced eating healthy is generally cheaper. A lot of the healthier food I eat is cheap: legumes, [sweet] potatoes and other root vegetables, broccoli, bananas, oranges, water, eggs, oats, frozen vegetables (spinach!), brown rice, tomatoes (canned if not locally cheap). I think people intentionally mix up expensive with more work...
I am fairly certain they're adding "all" of the crypto currencies.

Litecoin, Namecoin, PPCoin, Terrracoin, etc...
The problem with this article is that a lot of things that are cheap for one serving go stale before you eat the second.

For instance, on day one, he adds some mint which cost ~50p to buy, but he calls 1p because he only eats a little. He does not eat the rest of the mint that week, so it cost him ~50p, i.e. half the days budget.

I am poor and eat very cheap. I do that using dry bulk foods and frozen veg. This is important because there are opportunities for free meals (e.g. if customers at work do not eat all the sand witches and biscuits, that can be lunch for 2 days). Friends invite you for dinner too. If you buy food that spoils, opportunities like this come at a price.

How about this for a suggestion - mix lentils, buck wheat, brown rice, dried beans, quinoa. These come in 500g bags for about a pound. You need 6 spoons of this mix per meal, so 10 pounds of mix will last you several months. Put in a rice cooker for 40 min (some beans need soaking first), with a chicken stock cube. Cook for 20 mins then add mixed frozen veg. This will cost you about 30p per meal, and is pretty much complete [1].

I eat the above most of the time, and take free food whenever possible. At the end of the week, I treat myself to a ready meal. You can add curry spice or other herbs for variety. After a year of this I feel pretty healthy.

As an aside, supermarkets are machines for making you overbuy. Between BOGOF offers and big packs of meat (or small ones at a huge premium), it's very hard to shop there on a budget because they are designed to trick you into making 'bad' choices. Avoiding them by living on a non-spoiling diet saves tons.

[1] I think. The key to a healthy diet is variety, but if your basic meal is healthy and cheap, you can make sure to be eating other things from time to time.
The price already spiked last night and is beginning to drop again on btc-e.com
We are posting a version with audio on our blog on Monday: http://blog.iconfinder.com
What you're saying here is that the right response to what you believe is a superficial criticism of a Rolling Stone article (or the collected works of its author) is a direct attack on the HN commenter who wrote it.

Why not make your argument more credible by taking down my supposedly superficial comment? Wouldn't that be a much more interesting and constructive argument?
Health Hack Day - Life Science and Fitness - May 17-19 Victoria Tower, Sweden
"I'm curious as to why you stick with Django (other than having projects already begun relying on it)?"

I'm still a relatively new developer, so it was just easier to learn.
Bitcoin’s real-world problem: Virtual currency facing bank backlash in Canada
So the ORM is too stupid to know that in the case the other_id is NULL, it doesn't need to create a join subquery. But would you rather the PostgreSQL query planner figure this out or do it yourself in python? I would like to see the time difference both queries take, and I don't think I would want Django ORM to do this.
Give an example with multiple word city name.
For example, would http://zipasaur.us/state/il/city/east+moline or
http://zipasaur.us/state/ca/city/los+angeles work?
Is this an example that a man can be smart and stupid at the same time? paid a lot of effort to get out for 12 days , then got several more years in jail for that,maybe,wow.
How to fly a human powered helicopter
I kept using Winamp for long after it got rubbish because it was the only thing you could use http://www.milkdrop.co.uk/ on.
yeah, and without the dreaming, doing will be in vain. No purpose at all.
I don't mind writing queries, but I hate dealing with raw results. For complex queries I write SQL but have Django's ORM map relational data to objects for me.
I'm disappointed that Hackers isn't on there.
How wired is Sweden?
This reminds me of a project I did in November of 2006 when I decided to eat for $1/day for the month. The whole thing is chronicled here: http://www.hungryforamonth.blogspot.com/

I wouldn't say what I did was exactly healthy though.
OK, you're right in that owner_id can refer to a nonexistent entry, if the schema both doesn't make correct use of constraints and is also referentially corrupt. Designing the ORM to jump through huge hoops to suit the case that the user is using the relational database incorrectly, in such a way that enormous performance overhead is added to the use case as used correctly in the vast majority of cases, is IMO a poor design decision.
You don't need tools to maintain focus, instead of simplifying things you are making them more complicated.
I just hope the voice commands are going to be significantly better than on Android now. Whilst they are much better than anything else, I still don't find them actually usable, and I'm a Brit with an average voice.
The site design is a little boring. I know it's an MVP. Making it prettier and more intuitive may help signups because it's a consumer oriented app. Also the More Information button does not work.
Great point, I didn't even think of that! The join there is for a reason, and that you're getting the entire 'model' not a field. If someone thinks what ORM does in this case is stupid, they probably think table constraints are stupid.
It seems like the perfect opportunity for theft.
I think you should run EXPLAIN ANALYZE on both queries and see what you find.
how do you convert this to average coins per hour?
>I've never bought into Spolsky's vision that re-writing code is poor strategy.

I think it's something that's true in general but false in some specific cases. Rewriting involves spending enormous time and resources to at best standstill, and at worst move backwards ( chances are your re-written product will be poorer in features, and initially buggier than your old, stable, battle-tested version). For smaller companies, it is a death knell.
Why doesn't LoL just disable public chat? Enable chat for premades, that's it. If you're playing with your own friends you can chat. If you're playing with randoms, you don't get chat. Toxic behavior gone and people can actually, you know, play the game. The purpose is to play the game, not use it as 1998 AOL Chat Room.
ORMs may be "stupid", yet Basecamp manages to handle 400-500 request per second with Rails and MySQL just fine. https://twitter.com/dhh/status/287221705443774465
https://plus.google.com/photos/+Scobleizer/albums/5871408320...

They go over the top.
I like what this guy is doing and find offense in all the negativity shown in news.ycominator. For a forum which is supposedly full with self called "hackers", some comments really amaze me.

Sure, his experience is not scientific in the least, but then again, history is full of these 'crazy people' who dared to do something that was considered stupid, senseless and plain wrong at their time.

A very important fact is that the guy is documenting the process, and at least it will wake interest in the idea of getting the necessary day-to-day nutrients for living in a single-dose drink.
It's for some reason the poster linked to the G+ mobile version.
Agreed. I also don't think there's any problem to respond right away saying you will investigate the issue with a developer that day and get back to them. That way you satisfy the need to respond quickly so the customer knows "you're on it" while also being able to give a valuable answer sometime in the very near future.
Total failure pricing. $6 per page export? Are you serious? If there's demand for this, there will be a free open source version within a few weeks if there isn't already.

Greedy pigs get slaughtered.
ORMs pretend to give you full abstraction, but in reality you have to be aware of the underlying SQL layer when you build your object model.
Collection (in Hebrew)
and Interjection (in french).
Mobile version of G+

Check these:
https://plus.google.com/photos/+Scobleizer/albums/5871408320...
Get remote linux desktop for under $3 a month
http://www.imdb.com/title/tt0088258 needs another mention..
True, but every ORM will make that kind of mistake. You can't just build an object model without paying attention to the SQL layer.
But will it really be missed? Who needs a list of the most common movies, we already know of them. I also know most of the movies on this middle tier list, but there are still a couple that I hadn’t heard of (and am looking into now). For HN users, I think the chosen method is a lot more useful.
Django middlewares is a poorly designed system. Flask has all of the things you mentioned except for forms. For that you can use Flask-WTF, but these libraries are becoming outdated anyway because they’re HTML based and don’t work so well for JSON validation.
And if you want to take it to the "next step" and not rely on strings, having everything compiled and checked by the compiler, while staying low level: http://bltoolkit.net/ or https://github.com/linq2db/linq2db
I use dashboard.io with 500 Startups, NextGen Angels and AOL Fishbowl Labs and love it!!!

oh and for Fortify / The Fort too
A recent article in Mother Jones[0] suggested that lead is much more dangerous than we ever realized, and even blamed it on the rise in crime in the US.

[0]http://www.motherjones.com/environment/2013/01/lead-crime-li...
Developers only put up luxury housing because its such a pain to put up housing that only very high margin housing is worthwhile. If the process effectively limits the developments that can go up in a year, only the highest margin projects will go up. That's also the back-log issue. A brand new building can charge higher rents than an older one. If you kept people from building new high-rises in the 1970's, then there isn't a supply of 30-40 year old buildings that offer lower rents. Moreover, if you prevent old buildings from being torn down, that raises the price of plots zoned for high rise construction. So only high margin projects will go up.

Yes, Manhatten is a popular island and will be naturally expensive. But its a lot more expensive than it would be if developers were allowed to flood the market with supply. Think about all the low-rise housing all over the city. Those buildings themselves are worth nothing--they're old tenement housing for the most part. If I owned one of those 20 unit buildings in say the east village, the vast majority of the value of my property is in the land. Given the prevailing high rents, why wouldn't I tear down that building and put up a 300 unit high-rise instead? That's what happens in a market. Markets hate profits. If prices are really high, producers will ramp up supply until prices just equal marginal cost.
It all sounds great until you think about how much they actually spent. It's more like "How to eat healthily on £1 worth of food per day, but spending a lot more because you aren't eating the majority of the food you have bought, which cost a lot more than just £7".
Diet and exercise are critical for mental wellness (I do OK on the diet and horrible on the exercise, but I'm better than I was last year on both counts). Ketogenic diets (e.g. "low carb") have shown to have a significant positive effect on schizophrenics[1] as well as being a long-known treatment for epilepsy[2] for people for whom drugs don't work or are too dangerous and is showing initial signs it might have positive impact on autism[3].

My point is this: Diet has a huge impact on mental health. My personal belief (based on research, not faith :) is that sugar is toxic, but even if you don't believe that, it is clear that sugar has an impact on the brain[4].

1. http://journals.psychiatryonline.org/article.aspx?Volume=121...

2. https://zooko.com/file/URI%3ACHK%3Ac23hp4yicl5e5lc4p6k5w2bo6...

3. http://jcn.sagepub.com/content/18/2/113.short

4. http://dobrochan.ru/src/pdf/1212/2010_CurrOpinClinNutrMetabC...
Controversy on Manning and SF Gay Pride parade reveals political motivations
He didn't "attack" you, he simply noted your usual character assassination attempt whenever someone speaks out against some establishment. Speaking of irony you didn't even bother to challenge any of the article's arguments. This reminds me of the time you attacked Dan Lyon for writing this article https://news.ycombinator.com/item?id=4866914

You didn't challenge any of his points or reasoning there either. Interestingly enough you did exactly what you seem to be condemning the above poster for: summon a gestalt of his points in the article and attack them in the abstract.
Five common pitches at Startup Weekend
I disagree. There's a lot of boilerplate ontop of raw SQL that can and should be abstracted away. At some point you'll have to parse out result and build an object graph anyway, it would be nice if it was done for you already. You can also plug-in things like a caching engine easily and transparently.

Most ORM systems will give you options. My experience was with Hibernate, which had let you do Object queries, Criteria queries, HQL queries, and finally raw SQL. You hardly ever needed to go down to raw SQL. It's nice not to worry about the particulars of the underlying SQL engine, and certainly you want serialization to be handled for you.

The OP is right though, you can't treat ORM framework as a total blackbox. You need to be aware of what it's doing else you can really get yourself in trouble.
It has an entire ecosystem and tool chain to sort building websites/webapps. When I used to use Flask, before moving to Django, I found myself essentially creating a whole bunch of stuff that Django already has, and is better written.
If you're on a budget and you're buying fresh mint, then you're doing it wrong. Mint grows like a weed, in a patch of garden, or on a windowsill. Herbs like rosemary, thyme, mint, coriander, basil you should always be growing.
My poor friend eats rotting veggies. She only buys food from that rotting stand in the grocer with the 75% off stickers. That plus rice and frozen veggies. Nobody poor buys mint.
Flask’s documentation is great, and the codebase is readable and small. The third party community is not as big as Django’s, but the 3rd party work is verified and approved by Armin (Flask and Jinja2 author). These guidelines encourage authors to publish higher quality code and better documentation. You couldn’t verify my claims, but this is my experience coming from Django a couple of years back. Django’s extensions are often very poor quality.

I’d also like to point out that Flask-Admin has come a long way with adapters for SQLAlchemy and at least one other ORM library. Very usable and extendible.
Meet my indie platformer, tell me what you think
Because you end up writing the same basic SQL over and over and over again?
DotnetConf videos
I find that if you are aware of the SQL underneath, they are good for saving time.

Do you really want to write SQL to retrieve data and code to populate an object for every damn thing in your system?
Obviously there are subtleties to things that may not be apparent, but his example makes sense to me and so does the SQL queries that are generated. The first query is operating at the "object level" and the second is operating at the "attribute level".

The first is retrieving the object and checking if it exists, and the second is just checking the parent's foreign key. Not sure that they are really the same query, if you have unenforced foreign keys.

This is not "dumb", this is analogous to checking if a pointer is null or that the contents of the pointer are null (which is a distinction that some people want to make).
The real issue with ORMs isn't the ORM itself, but over reliance on the ORM to do everything the right way and not validating the ORM is doing things the right way. ORMs are also often heavily leaned on by people who don't understand SQL and relational databases well enough and just want a data dumping ground (would have been better off with a document database).

But, if properly validated, and knowing when to NOT use the ORM, a good ORM can help you get a lot of work done very efficiently. But I've also seen improperly used ORMs turn into MASSIVE time sinks where devs spends days just configuring the stupid thing (hello Hibernate/nhibernate).
I don't think Spolsky's argument applies to startups... His argument basically boils down to "You think the code in front of you is a mess, but the reality is you're just having trouble reading somebody else's code which is probably good enough". But what if you wrote the code yourself? In that case, it's probably just a mess.
Elixir's macros are hygenic. They are expanded at compile time. Other code is not modified. Elixir does have eval, just as Erlang does.
Matt Taibbi and Dan Lyons. An astute HN reader trying to suss out my petty little scheme might instead point to the gun next to the barrel where I'm getting you to stack the fish.

Would you like to stick up for Taibbi's financial reporting? I think I've set you up nicely for a takedown comment: as someone observed downthread, all I've done is make a bunch of assertions without supporting evidence.
I agree. Problems happen if you treat ORMs as a total blackbox.
A loaf of bread where I live is $4. Blew his daily budget with one purchase. Cant buy single eggs even from a local farmers market here so thats another $4-6. Cheese is probably the most expensive item at $10. If you bought everything this guy ate youre looking at $60 or so and it will last about 5 days, which is 7gbp per day. Must be cheap food in the UK
In the bbc article the woman's diet for day one consisted of:

Breakfast:

- one piece of toast and margarine (6p - cost of tea)

- one cup of tea (6p - cost of toast - cost of margarine)

- one "unethical" egg (8.7p)

Lunch:

- one ham sandwhich, presumably just bread and ham (29p)

Snack:

- one "value" scone with jam (6p)

- one apple (free?)

Dinner: (37p combined, I imagine there are some more "free" ingredients in here)

- 1/4 zucchini

- 1/4 bell pepper

- 35g bacon

- 100g spaghetti

- 50g peas

- 10g "value" brie cheese

- 1 clove of garlic

Apart from some lemon juice and spices she added to her dinner, that's about it.

What I consider to be a scone costs about $1 alone where I live here in Canada. I would be a bit worried to eat one that cost over 10x less and the seller was still able to make a profit.

I remember paying ~$4 for an apple once when visiting France. Brian got his for free somehow. Perhaps he has a tree in his backyard.

Not to mention the massive overhead costs involved here with the fact that he could easily boil water to cook his spaghetti and a nice knife and cutting board which allowed him to make his sandwhiches. Plus a fridge to keep those remaining 29 unethical eggs in.

At the very least, it's a good read to get people thinking about efficiency.
The problem with ORMs seems to be that they're a leaky abstraction. I've been very happy using SQLAlchemy for quite a while now, but I'm intentionally only using the SQL Expression API. Based on my experience with Hibernate, there's always something you want to accomplish that necessitates circumventing your ORM.

Not only that, but typically you end up balancing between stuff being unavailable because of lazy-loading, and one pageview taking 30 seconds because the ORM collected all the dependencies.
I now understand that it won't be optimized away because it's doing something, and I think I still want it to do that something. I've run into plenty of ORM limitations and use custom SQL for procedures and custom joints, but I still wouldn't call Django ORM stupid for doing what it's doing, in this case.
I love these poems, they're such a great motivational reading.
Investor Question, Would you invest?
For anyone struggling to get into an exercise routine, I've ran into a potential solution because it doesn't require lots of time and effort.

Exercise 10 minutes daily (or at least 3-5x a week) as soon as you wake up and before you hit the shower. Do intervals. Out of the 10 minutes, two have to be all out and intense. You can do a treadmill, elliptical, or as I often do at home: jumping jacks and running in place (no, seriously). Also, listen to your favorite, upbeat music.

Benefits:

* exercise is generally good for the frontal cortex, what helps you focus and get things done [1]

* exercising in the morning will put you in a more positive mood, helping to reduce stress; by reducing stress, you feel more energetic, you feel less hungry and crave less crappy food, therefore you prevent the systematic downward spiral that comes with it and you lose weight.

* because you exercise in the morning, you burn more fat [2]

* adding music is great for your dopamine levels: [3]

* intensity (anaerobic exercise) is more important than duration and frequency [4]

I ran into this routine because I always have a hard time waking up in the morning (not so much anymore) and was always late to work. But knowing from previous experience that working out intensely in the morning helped with my energy level and focus, I did 10-15 minutes and found that it's all that I needed. In a bit over a month I've lost like 9lbs, I eat better, get less tired at work and can focus for longer periods of time.

I hope to put my experiences into a blog post series soon.

[1] http://well.blogs.nytimes.com/2012/02/22/how-exercise-fuels-... + other research. Also, read the Willpower Instinct (for a summary of lots of research)

[2] http://www.sciencedaily.com/releases/2013/01/130124091425.ht... This is the first source I could find, but I've known about similar research for years.

[3] http://phenomena.nationalgeographic.com/2013/04/11/why-does-...

[4] http://www.ncbi.nlm.nih.gov/pubmed/3529283

If you're already very fit, a friend of mine pointed out this routine recently which is more intense than the one I propose: http://healthland.time.com/2012/09/04/we-tried-this-fast-and...

Edited: 1) format 2) removed superfluous phrases
We used YC's Strikingly to build our pro gaming documentary website.
Could you please explain why do you think that? IMHO it's a really clever approach.
Wow, this is really good.

> [...]I’m consuming less than half the amount of food I used to and I don’t even notice it.

> Lately I’ve been thinking about anorexia. Not because I’m anorexic by any means, but because this month has shown me how a person could do it. Before, I assumed that anorexia meant constantly being hungry, so hungry that you were in constant pain. I never understood how people said they just sort of, “fell into the disease without realizing it.” But now I understand that like a lot of pain, the human body adapts around it. Like I said, if I wasn’t carefully monitoring my calories, I could easily eat way less than I should be eating and think it perfectly normal. If you were to add to that the psychological pressure to get or stay thin, I could definitely see how it happens.[...]
It's true only from your world view. You should have titled the post "Git is hard for me" but it would have attracted less eyeballs.

I'm a daily user of Git interacting with thousands of developers committing against the same repo. Here's my sole alias

l = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'

I'm not saying that "I'm so smart I don't need aliases" or that "you're so dumb that you need them" which is how my post is likely to be interpreted.

I'm saying that your past usage and experience may differ so much that it's hard to change the patterns set in your brain. I work with folks who have used Perforce for a decade and struggle with Git. They're super smart but Git is very different and therefore difficult for them at least at the start.

Generally speaking I would recommend avoiding sugar. I sometimes interview folks with so many Bash aliases on their own workstation they can barely navigate using vanilla Bash.