skysight-inc/HackerNews huggingface dataset:
The article also excludes the cost of electricity/gas to power the stove/microwave, the cost of water to cook e.g. pasta and clean the pans after, the cost of the pans amortized over your meals, the cost of plates and utensils...

If someone else is paying utilities (say, your local university, or your landlord), and you already own kitchen equipment (say, hand-me-downs from your mum) perhaps this is a reasonable assumption. But for those who are actually in poverty, the upfront capital cost of cooking tools and the hidden costs of energy in cooking might be prohibitively expensive.

That said, cooking in bulk is indeed cheaper. So if you're trying to conserve, it might help to find two or three good friends and cook your meals together.
Show HN: New way to discover ELECTRONIC Music
Built in about 20 hours using Twitter bootstrap, PHP, MySQL, a bit of javascript.

I wanted a new way to discover new electronic music so I built NewElectroBeats.com. In a nutshell its a randomized playlist of electronic music divided into 3 categories, dance, trance and dubstep.

Thinking about adding playlists and other cool filters at a later stage.

I welcome any feedback.
Is the .docx standard public? (Intentionally?)
I'm in Tulsa, OK. I choose to bike to work everyday also. Wind, rain, snow, temperature, I bike to work and back.

My car was stolen once and I went about 2 months without using it. I had insurance and they gave me a rental, but I ended up never going to pick it up. The police found my car eventually, undamaged.

The city has recently built an abundance of biking and walking trails for this reason and is very friendly to bikers, even on the main roads.
There are libraries which build up a model of a query - selections, constraints, etc, and only turn it into a string at the point of executing it.

SQLAlchemy was already mentioned. In the JavaScript world, there's node-sql. https://github.com/brianc/node-sql
Thanks, I didn't know ETF's were treated like stocks for tax purposes.
> why? The simple answer is cleanliness. To run Windows on a Mac requires Apple's own boot camp software followed by a manual install of Windows. The result is a ‘clean' installation, without third-party add-ons and with very good drivers. The more ‘rubbish' on a computer the more likely it is to have problems.

Tl;dr:

They used bogus metrics that favor clean installs, Apple's notebooks were the only ones they installed a "clean" windows on.
I look forward to it!

Only audio, no video?
Not that I want to vouch for what this article is saying, but what do you expect out of a single-issue political action committee? This is the problem with single-issue direct political action: it tends to make the ends justify the means.

(This is a nakedly political article, so, of course, I flagged it.)
You made this account just to make that comment? I suppose you knew you were in for some downvotes.
On the Fetishism of Capital and Prestige
Well, the author bought everything in larger quantities while conveniently not taking into account limited shelf life. He also makes trips to 5 different supermarkets to get the cheapest prices, which takes a lot of time (research & shopping) and gas.

One of the best ways to cut costs is to not cook for one, but to cook together with others. Then you can buy in bulk like the author suggested.

I live alone and I do cook for one. I probably spend more on food than most. However, I chose to live in a compact city with relatively low rents. This way I don’t need a car. I live in walking distance of supermarkets, health food stores, farmers markets and bakeries. I live 1 minute from a bus stop, 5 minutes from the main train station. What I spend more on groceries, I make up for in low rent and using public transport instead of owning a car.
Yes that is indeed unpleasant style. That's why you should write

doSomethingToR <=< read <=< openFile

instead.
What I don't get, and I say this also because I really don't understand the politics of the most famous country on the planet sitting 1000s of kilometres away and where I have been t0 just once, are the following:

1. There's one guy who doesn't give a shit about people privacy being private.

2. As a matter of fact he gives a lot of shit about people's privacy not being private and constantly tries ways to make it as public as possible.

3. There are many creepy attributes which are generally attributed to that guy, which includes cheating, betrayal, (maybe) fraud etc.

4. That very guy starts a group/foundation with many heavyweights' name as founders.

5. And somehow we expect that guy to be Santa Claus!

IMHO in this age we need to see who is the guy who is saying his crusade is the good one.
What about listening to music ALL THE TIME. Do you know if that might fuck with Dopamine? I know smoking weed too much does screw the level at which Dopamine is enough to enjoy life.

I just stopped listening to the music I was at the moment. I might just be freaking out for nothing though.

EDIT : just talked to a friend doing medical studies and he told me this : When you eat chocolate, take drugs, etc... you ingest something and the body have to deal with it. Stuff happens and you can't really control it. But when you listen to music, you activate something through your sense, so the brain can regulate it (for example when you start listening to a song and you love it, then the more you listen to it the more it annoys you until you just ignore it when listenning to it. Brain regulated).

I like his explanation.
Can you use find_in_batches or find_each with UUIDs?
The trick to the author's math is this:

A loaf of bread has, say, 24 slices in it. If you ate two of them, then the cost of bread was that day $0.34, when you amortize the loaf of bread over twelve days. If you can find a $2 loaf of bread with 24 slices, it's only about $0.08 for a slice of bread.

But yes, I agree -- if you actually had to maintain this budget, you'd probably buy one kind of breakfast, lunch, and dinner and eat it every day for a week.
I see some of these posts as more of experimental (just like the motive of the 5000 Brits) than practical. You don't eat solely to sustain yourself or avoid hunger. Enjoying the food and being comfortable with whatever you are eating really counts as well..

"But when it is your way of life, and you haven't got any choice over it, it's not a fun experiment."
I don't know what to make of this list. As mentioned in the title these movies are "mentions", and necessary doesn't mean that they are recommendations. Having said that if the movies aren't recommendation ( like say, what movie an entrepreneur must watch? ), does the mere mention of the movie means either author of comment is influenced by the movie, to use it as a metaphor for something he is saying or trying to say. In effect, Is a movie name being dropped in conversation by a HNer the movie might be more likable by you ?
Taxi Service Lexington MA
Taxi Service Lexington MA: The Premier Logan Transportation is well known for its high class taxi service Lexington ma. We are serving our worthy clients with our reliable and trust worthy transportation services.
Hey raimonds, great work. Nice clean use of bootstrap, too.
Talisman Prologue Review for iOS
Beautiful Text
Not sure where you bought that apple, but I'm pretty sure that's more expensive than a full kg an a grocery store.
What is the point of a headline like this? I understand that Zuck and facebook are very trendy and click catching, but doesn't necessarily mean Zuck is running about promoting the destruction of wildlife like the title implies.

It should be obvious why a group founded by Republicans would not want Obamacare. Republicans do not agree with Democrats? Madness.
The A-12 wasn't a bloody bomber!

(It was the single-seat predecessor version of the SR-71 Blackbird. While interceptor and bomber versions were proposed, only 3 prototype YF-12A interceptors were built; the bomber variant was a paper study. The A-12 itself was definitively unarmed, being a pure reconnaissance aircraft.)

See also: http://en.wikipedia.org/wiki/Lockheed_A-12
Reimplementing jQuery's Deferred as a Standalone
Yes, very true. Although I'd like to add some context.

> 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).

There is plenty of evidence that this has happened in many places and with many companies. A very real scenario that's played out before.

I'd say those scenarios were not well-executed. If the outcome of a re-write is "standstill", the re-write is pointless. There is no justification for proceeding with it.

However, if "standstill" equates only to user-facing features, chances are the re-write is to address critical issues elsewhere (I get the impression that was the situation with the OP.) In that case, "standstill" doesn't apply. It's simply a matter of deciding whether or not the effort and risk justifies the reward.

To my main point, Spolsky's hard-line essentially says re-building your application from scratch is bad strategy. I think it is short-sighted to draw that line. I prefer to exercise judgment and draw on the resources at my disposal for the given situation. I presume many others do as well.
This is my first post, so I'd love any sort of feedback - good and bad. Mainly constructive.
Thanks
Actually, in first world, not even an homeless gain less than 2$ per day.
So we can safely leave all the expenses for fuel and cookware out of the math.
Yes: http://en.wikipedia.org/wiki/Office_Open_XML
Much clearer. I slightly prefer the following though:

((print . sum . map read . lines) <=< readFile) "somefile.txt"
Correct, these are semantically different. You’ve described it well. The ORM would be incorrect if it did not generate the SQL that it did.

Part of the issue is confusing object data with metadata. The id is an implementation detail of the data store – metadata. What the user is trying to do here is “talk database” and “talk model” at the same time.

Which is a perfectly good argument against an ORM. But one should commit to a metaphor, or not: http://clipperhouse.com/2012/02/29/suspension-of-disbelief/
The best way to create them is using MS Office. This will only make it easier for people to create and share using Office formats without worrying about whether the person has Office installed or not. So, isn't it a win for MS?
Requiring the programmers to keep their changes to the library open is one aspect of keeping the software free; requiring that the end user be able to replace the library with a different one is another, and one that the FSF seems keen on maintaining. Personally, I agree that wider-spread usage of the libraries would be better than the current rather doctrinaire stance - but I assume the FSF sees the LGPL's current emphasis on end-user freedom as contributing more to the GNU goals than wider-spread usage of the libraries would.

In the meantime, there's always the MIT licence.
Sports Club are not for everyone. I've been through a lot (tennis, soccer, volley, badminton, ping pong (competition), fencing, taekwondo, judo, kungfu, karate, climbing...) and I never really enjoyed it fully.

I figured it was because I didn't like having a teacher in some case (I hate having to follow directions) and also I didn't like the mentality of some sports (soccer, if you suck people will just hate you).

Going to the gym is one of the thing I really like in my life right now. It's like quitting life for an hour. I don't have anyone to talk to or to follow, I can do sport on my own, by myself. It's refreshing.
Because (at least for the kind of queries common to most web applications) you can develop faster using an ORM. Less boilerplate, less repeated code, less time thinking about how to convert between SQL and application-level representations of your data - and most importantly, no time at all spent thinking about how to dynamically generate SQL queries using string concatenation (a sure-fire way to introduce bugs and security vulnerabilities in to your code).
Of course, otherwise people will treat bitcoins like oil, another scarce resource, and not use either. Land too is limited, which is why it's never sold. /s

What this talk of the future value of things requires is a full understanding of opportunity cost, etc. If all you ever did was buy food, you'd get more if you didn't buy today and bought tomorrow, assuming food prices remained stable and your BTC increased. But you need food today.

Similarly, you might want to start a business which would be more profitable than waiting for bitcoins to appreciate.
I've found Django forms to work extremely well for validating non-form-based data - the API is a neat way of representing a set of validation rules and running them against a set of data.
Here[1] is a similar experiment, which initially started with a $1 per day budget for 30 days.

"Here are the rules:

1. All food consumed each day must total $1 for each of us.

2. We cannot accept free food or “donated” food unless it is
available for everyone in our area. (i.e. foraging, samples in
stores, dumpster diving)

3. Any food we plant, we pay for.

4. We will do our best to cook a variety of meals; ramen noodles
can only be prepared if there is no other way to stay under one
dollar. (We have six packages and will buy no more)

5. Should we decide to have guests over for dinner they must eat
from our share; meaning they don’t get to eat their own dollar’s
worth of food.

"Each day one of us will post an entry here with a photo that details how things are going..."

[1] - http://onedollardietproject.wordpress.com/2008/09/01/it-star...
> It turns out just treating data as sets lends to a functional style and is simpler down the road.

Could you elaborate on this or point in the direction of something that does? I'm pretty sure I get the gist but having some more meat to chew to make sure the perspective is fleshed out fully would be awesome.
I don't know, but I doubt that music can do that as it's not some substance that's throwing off your brain chemistry.

I listen to music at work all the time to avoid distractions.
When I do my 10 minute routine, I listen to music that gives me a dopamine rush during the intense part of it to help boost my performance. I can replicate the rush most of the time, but I do believe that finding new songs after a few weeks is good.

When I listen to my workout playlist at any other time of the day, it actually helps boost my productivity and motivation level because my brain has learned to associate such songs with pushing myself. So I actually do this when I'm feeling a bit tired to get another boost.

Also, invest in great headphones. The new EarPods really enhance my workout experience, so much so, that I now look forward to my early morning workout when I wake up to get over my grogginess.
This is exactly why we should be happy when the quality of life in other countries improves, it gives those people an opportunity a chance to buy higher quality goods and is a net benefit to importers and exporters. So I don't want to hear "They took our jerrrrbbbs",because they will also start providing new ones.
UK supermarkets tend to have 3 ranges of own brand goods.

Cheap, which they call value.

Expensive, which they call finest or luxury.

Regular.

Here's a link to the scone product. (https://secure.tesco.com/groceries/Product/Details/?id=25828...)

Here's a link to a price comparison website. (http://www.mysupermarket.co.uk/grocery-categories/Scones_in_...)

So, you can get value scones at 50p for 10, with these ingredients {Wheat Flour,Water ,Sugar ,Vegetable Oil ,Sultanas (7%) ,Whey Powder ,Raising Agents (Disodium Diphosphate, Sodium Bicarbonate) ,Pasteurised Whole Egg ,Preservative (Potassium Sorbate) ,Emulsifier (Mono- and Di-Glycerides of Fatty Acids)}

Or you could get Tesco Finest Butter And sultana Scones at £1.50 for 4, (37.5p ea) with these ingredients {Wheat Flour,Sultanas (21%) ,Buttermilk ,Cornish Unsalted Butter (11%) ,Sugar ,Free Range Pasteurised Whole Egg ,Cornish Clotted Cream (3%) ,Raising Agents (Disodium Diphosphate, Sodium Bicarbonate) ,Salt}

(https://secure.tesco.com/groceries/Product/Details/?id=25384...)

Some of the value items are good. But you need to be careful. As you say, these value scones are not nice. Even the finest scones aren't great, compared to scones you can buy in cafes.
The joy of stereotyping venture capitalists
There are some things you can enforce with a type system that you cannot practically implement with unit tests.

For example in [1] it is described how a type system can be used to help you keep track which kind of string contains what data (SQL, XML, user input...) to catch problems with injection attacks at compile time.

[1] http://blog.moertel.com/posts/2006-10-18-a-type-based-soluti...
If you buy a single fresh scone individually at a supermarket stand or at a bakery - that's going to cost a dollar. If you buy a bag full of factory made ones in mold proof packaging and full of other preservatives, then you'll have the budget cost version. If your grocery has them, they'll be bagged up in quantity right next to the bagged bread. Definitely not that expensive artisan bread in the loose bag, though.
>Matt Taibii and Dan Lyons.

Who they are and the difference caliber or prestige has nothing to do with the argument. I only mentioned that situation to further illustrate the trend justsee was pointing out, which you still have not bothered rebutting. You're still using worthless ad hominem attacks, just as you do whenever an article promotes a crowd vs. establishment discussion.

To be honest his comment is pretty accurate; you regularly come along for these types of articles as some sort of watchdog, and predictably attack the author's character in some way to discredit the article (especially if its generally criticizing the SV startup scene), instead of directly attacking the author's arguments and reasoning, which would be much more meaningful. I'm curious as to why?
Mastering the Basics
I have never heard it being about people not liking SQL. It's always been about not having to manually convert the results back into objects, and being able to easily switch databases if needed.
hibernate lets you do object queries, criteria queries, hql queries, and finally raw SQL

So you have to learn

Object Queries
Criteria queries
HQL Queries
Raw SQL
HIBERNATE

And this has made your life easier has it? Hibernate is massively complicated, and you're right, it doesn't insulate us from the database, Not even slightly. So the amount of shit I now how to know has quintupled, just to persist an object!

But hey, BOILERPLATE, right?
List of open source crowdfunding platforms
Challenging Google’s search engine
My quarter life crisis
I'm turning 28 and I'm realizing that I haven't done anything with my life. Yes - I know that I've gone to a good college and have a job. However, it feels like this is the beginning of the end - especially in an era where we are surrounded by people so young and so accomplished.

Have you gone through a quarter life crisis? If so what is it like?
Wouldn't it have been cheaper to build a runway there and fly them there?
Well what I meant is HTML with minimal presentational classes like span6 push1 or something. I'd like the CSS classes in my HTML to be related to the object, not whatever grid framework I happen to be using.

I'm using SASS and the Foundation grid mixins to define visual components of the site (eg tag, display-picture, etc) that can be put on any page and have different sub classes (eg tag-small, display-picture-large).

With this, the goal is not to have CSS increase linearly with the number of pages/content because I've defined all the visual components of the site and they can be shared across pages.
I suggest ignoring hollerith's comments in this thread.

things got so meta...
I doubt the radiation will make it through your tin foil hat.
I agree that someone should fork bitcoin and fix the mining problem. But screw transaction rates, the mining difficulty shall be determined by the nodes (people) participating in the network. Periodically, every node votes and a (weighted) average determines future mining difficulty. It may be a technical problem, but it may also be the right solution. And it will make the bitcoin more democratic.
You are aware that Racket (hygienic) macros are Turing-complete? You can loop and branch, and macro expansion may not terminate too.

I think only OCaml functors really qualify to what you call "principled", but then - it's not the most powerful kind of metaprogramming I've seen.
Would you agree though that releasing the info might put you on the radar or up your "watch list" karma?

I understand your point though. Similar to when I hear people on HN make statements of what could happen in business, with the IRS, or their city government (say with inspections) but from my years of experience I laugh because it is an extremely rare occurrence. "You can't claim the laptop you bought that your wife uses as a business expense if you get audited you are in deep shit!!!"
I don't think you can just look at the price of Glass alone. AFAIK they rely on your phone to work so you also need an Android phone and data plan. I think Google should be selling Glass like a Android phone accessory rather than a product by itself. Also people are taking a risk by purchasing one. They have never used anything like it and don't know if it will actually benefit them.
While I am against any governments executing people, it sure would be nice to see decision making executives serve time here instead of just paying a fine.

I mean BP simply paid a fine for all the people they killed. Not one executive even lost a night of sleep, or their vacation home. And I suspect people who buy their products are actually paying for the fine over time, so basically everyone but BP is paying for what they did.
Actually, societal breakdown is where bitcoin doesn't work.

Without communication all chains are forked. And when networked, with vastly different computing ability left over it'd be incredibly easy for the leader to manipulate.
Don't eat packaged food. Definitely don't feed it to babies. They are not a pet fish.
What you did was create an anchor. I do self-hypnosis as well but just telling myself stuff like "the more you run, the better you feel, the more you run, the better you feel" (repetition matters).

Also is it inner-ear? A doctor told me you should never put anything in your ears. I don't know how those things are legal actually.
Ha Ha I didn't read that one as a child, but I gather it is a very small book which is more of an interview.
That's what YOU're saying.

Go ask the CEO of some startup that is searching an Engineer for almost 3 months with no success.
I've played a few of these games, and I also think it's an issue with the core mechanics. Each match can be around forty-five minutes long. So it's really easy to dig a hole for yourself and spend a lot of the game getting repeatedly beat down. Then add in the high learning curve, and small teams. This means that a single player who's learning the game or trying out a new strategy can potentially cause his entire team to lose.

If you intentionally set out to design a game that turned all your players into assholes you'd be hard-pressed to come up with a better system.