skysight-inc/HackerNews huggingface dataset:
I suggest starting with a simple, straightforward representation for the data model, and start programming the functionality you want. As you implement this functionality, you will encounter pain-points which make you wish you'd used a different representation. After a number of these, you may have some ideas for a different, more appropriate representation you wish you'd used. If the two representations are close enough, you may be able to just refactor what you have into this new form, then continue. If they are different enough, declare what you have done so far a learning experience, abandon it, and start over, using your new idea(s) for a new representation.

I can think of two different major projects I've done in the past five years in which I started again from scratch, after major revelations made it clear to me that it was the right thing to do. In one I settled on the third object model, and the other I know I did at least two. These were quick iterations though: I settled on the third and final object model within a month of starting, and the project completed in seven months, so it's not like I was throwing out that much work.

Avoid premature optimization with all your might.

Fowler's book Refactoring might be helpful with ideas of how to morph data models.

A couple of quotations from More Programming Pearls by Jon Bentley:

"Plan to throw one away, you will anyhow." [Fred Brooks's law of prototypes]
"It is faster to make a four-inch mirror then a six-inch mirror than to make a six-inch mirror." [Thompson's rule for first-time telescope makers]
Hackers elect cartoon character to Washington DC school board
Seriously, bad title. How about if someone reads the title in passing, thinking its good advice, without reading the article?
Three immediate points:

1) Acquiring a mate is an essential external motivator which is acted upon by Darwinian laws, and there is no escape from it... If we get to the stars, it will probably be because of women. Not really touched upon by the article.

2) The author poo-poos Facebook "friends" as being on par with a virtual world, but Facebook friends are anything but "virtual". In fact, some real-world friends are actually all too often nothing more than the MOOF agents described, while some (admittedly not all) Facebook friends may offer valuable advice about where to shop, for example, or which car to buy, or even engage with you into a discussion on politics or whatnot. Very real-world and relevant.

3) The definition of "intelligence" can be easily extended to exclude self-limiting types of intelligence.

There are probably many more things that could be picked away... I'll leave it at that.
Feel free to use google translate to look at Germany's Pirate Party's goals. http://www.piratenpartei.de/unsere_ziele

(On initial glance, the google translate version is an acceptable translation to get an idea of what is being said).

As you will see, their platform is not a single issue and the likely reason why the Piraten Partei was successful in the last Berlin local election. They were so successful they won every seat they could possibly have held. If they were any more successful, the additional seat(s) would have had to been left empty, since the Partei only had so many candidates running.
I am at this very point at the moment (finishing master thesis), and my parents are not wealthy - I've been earning my own money since 17. Thinking that you start with 0 is IMHO a fallacy (if you are staying within the same industry). If you are no antisocial you have made at least 1-2 (or better: 10-20) good friends at college/school with whom you can team up, or build your network. If you haven't, reach out to your ex project group partners.

Many ex-students think that they don't deserve high wages yet - "I have to learn X,Y,Z,... until I can demand X$". Thing is that we never stop learning, and you HAVE to charge money for learning. Projects are by definition a nonrecurring enterprise (else you could fully automate the outcome), so there will always be things to learn to finish it.

If you think that your skills are not worth a lot of money, you will not even try and demand it - that makes it exactly a zero chance of earning a lot. For many people the only thing that separates them from earning much is their self-confidence (or confidence in their skills) - or choice of wrong market/industry (what are my talents?), but that's a different post.
She probably isn't enjoying life at all. I've known people like this and they are usually very unhappy with their situation, but feel powerless to change their habits. Or, more likely, they gain satisfaction from the attention due to all the "self-sacrifice".

My relative is just like the person described here. Goes out of her way to please everyone, sacrifices greatly, terrible financials. All because she loves the attention that is bestowed upon her. However, she is utterly miserable with her life in general and is constantly bitter about her circumstances...which she eases away by going out to dinner with some friends or buying an expensive gadget.
There may well be a better alternative to the local maximum of powerpoint and keynote out there somewhere, but Prezi sure isn't it. At first it was a novelty; now it's just annoying.
In the meantime, any developer can make their own site more color-blind friendly without waiting for the drivers or the whole web to change. Why wait for someone else to solve a problem you can solve right now?
Uh, that's a very simplistic headline that merits a big caveat:

> This interaction is particularly dangerous when the drug in question has a low therapeutic index, so that a small increase in blood concentration can be the difference between therapeutic success and toxicity.

Source: http://en.wikipedia.org/wiki/Grapefruit_juice_effect#Mechani...
Yes, that's the strange thing about her situation. She's a very conscious person, and chooses to hate money and hurting other people's expectations - even if she harms herself by that.
I don't get it. This is like leaving your front door open, and then when a burglar comes in, going "See? I knew you'd do that!"

Then he takes your stuff anyway.
It's a very good sum for a couple of months work coding indeed. That'd be about 1.5-3x the amount for regular coding work, roughly, yes?

However, if you factor in the freelance/one-time-only factor, it becomes somewhat more fair, but still really good money.

But then you also factor in the fact that he's using a very unique skill set in order to do this job, one that maybe a few handfuls of people on this planet possess. And then I wonder.

But it's still good money, regardless :)
Yes, people like that don't see how they are the master of their own life. It's a difficult way to go, and I'm glad I don't have to learn this the hard way.
What happens if someone covertly breaks the seal on a box with the intention of simply invalidating the ballots inside? In some areas, votes tend to go one way or the other depending on the time of day. You might be able to exploit this fact and attempt to invalidate boxes that favor a particular party.
Exactly. Saying "that wasn't a real exploit!", as the Chrome security team often does, is counterproductive at best and childish at worst. Security exists to protect users, not to boost Google's ego. When there is a hole, it doesn't matter where it is: it's a flaw in Chrome, it's Google's responsibility as the vendor of Chrome, and it needs to be fixed.
Didn't the rails "make a blog" video do it in 15 minutes?
Iirc, there was an article a while back (or maybe a link from a comment) about how video games were the real reason behind the fermi paradox. The argument was that a civilization's entertainment would constantly be improving to the point where we could jack into a self-controlled matrix-like world where we had complete control and, in essence, are deities in our self-fabricated worlds. If we built robots to ensure our real-life conditions were safe and sanitary, it would be very difficult for the majority of mankind to resist the urge to directly modify the signals and ... MOOF!

Considering how many ways there are to modify the signals now: playing WoW, using drugs, even using alcohol to give a quick and easy boost. I'm not sure how the vast majority would be able to turn down such a machine.
I think the best ideas improves first world issues while fixing third world problems. Energy generation for example, if you managed to figure out how to generate power/propulsion using a cheap and small physical object and a renewable resource you both solves first world issues and third world problems.

Education needs to catch up with the world in the first world, but if you do that in an async manner online then you can at the same time solve the problem with education in africa.
Creating the Alien Planet
3 dimensions of intelligence
This is one of the cases where a car analogy is actually pretty good. Car dealers frequently have left over inventory that they sell at a discount. The difference is that Apple continues to manufacture the previous year model. I don't think this "previous model" concept is very difficult for consumers to grasp though, and it's certainly better than an arbitrary numbering scheme.
Physical Impressions of the New iPad, Retina Display Shots
Google could run Flash in a VM. Or they could re-implement it (as Mozilla is doing). Or they could buy it from Adobe (they're Google). Or they could pay Adobe to write a version that uses the sandbox. Or they could just stop shipping it.

They aren't fooling anyone. It's Google's problem.
Describing bitcoin in a single phrase
California Proposes Rules For Autonomous Cars
California bill would set rules for self-driving cars
It's understandable. She gets fulfillment out of seeing people smile.
It is not. Because power is the ultimate drug in human society -- and only a finite amount of people can have it.
It does, but their memory locations need not be the same.

Making the == operator act differently just because the Objects in question are boxed version of primitives would probably be more of a nightmare than having the == operator act consistently.

Perhaps a better solution would be a compiler warning so these mistakes can be identified quicker.
"A celebrity is a person who is known for his well-knownness" -- Daniel J. Boorstin
Google is rich beyond the dreams of mortal men (quoting patio11). Money can buy access to source code. Not an excuse.
While I agree with your points, I do think it might be worthwhile to try and determine how dependent we've become on the Internet.
I don't think this has been publicly admitted. I'm fairly certain for 3 reasons though:

1) Google contributes tons of security fixes to Flash.
2) Google announced they will rework Linux Flash to use PPAPI and make it Chrome only. Adobe seems to have abandoned Linux Flash entirely. Logical conclusion is what Google will do this themselves - and they'll need the source code for that.
3) Android shipped with Flash and Google pushed it as a major feature over iOS. This also points to strong collaboration. Android had Flash very early - much earlier than Adobe could have done it themselves.

I admit I was also trolling here to see if one of the Google security guys (who already posted in other threads regarding this) would bite and deny it - in which case I have an indication to the contrary :-)
Thanks! The discussion there was very good.
I've been thinking about this recently: drug addicts "seem" unhappy because they don't match the usual outward appearance of happiness. But who's to say in their lifetime they haven't experienced many orders of magnitude more happiness than even the happiest non-addicts? Drug addiction breaks the usual profile of happiness, it doesn't mean that they're not actually the happiest people who ever lived.
I feel a little uneasy about a quickly coded 'trap' being quickly auto-deployed to tens of millions of machines automatically in a code fix that's supposed to be about fixing security, only with the intention of making a cute statement in the cat & mouse game they're playing with the white/grey hats.

The claims of it backfiring in the other comments only make me more uneasy about all this. I hope they gave a good thought about a 'user first and cute tricks later' mentality. Don't put 200 million+ users into the crossfire. Or maybe all this is not a big deal at all.
Online Degrees in Accounting
If causing crashes isn't backfiring, then I don't know what is.
CardSpring’s Payment Cards Apps API Debuts at SXSW
Google's ego knows no bounds.
I've found myself nostalgic for the old days, when Google was true to its own slightly aspy self.

Can we please stop using that word? It trivializes the disorder and encourages the stereotype that engineers should be socially awkward.
They are aware that it's difficult. They're also aware that they continue to choose that lifestyle. This is just as valid of a life choice as any other.

It's more than a little arrogant to say that she's not the master of her own life just because she works to the detriment of her health. Yes, by defintion, she needs money to survive; nonetheless, she goes out and gets that money when it's needed. That is worthy of respect.

You're saying she's somehow a bad human. In reality it's the greed for money which makes us bad humans.
Most of us haven't actually experienced these powerful drugs. I wonder how many people could willingly pass it up if everyone had a significant experience with them.
Looks like the site is down -- I couldn't seem to find a cached version anywhere. Here's a discussion on reddit about PyPedia from six months ago posted by the creator of PyPedia:

- http://www.reddit.com/r/Python/comments/qq76y/pypedia_a_pyth...
how do you actually know you "slowly getting there"? how do you measure that? and IF you can measure and know what it means to "already be there", wouldn't you actually... be there?
While one problem the blog post describes is valid, I think the authors comes to the wrong conclusion. The problem is that the method is implemented in such a way that it uses Integer objects which are different from the native integer types.

Objects have very clear semantics concerning the == operator. It checks whether the object identity is the same (alas it is the same object). There is nothing special about it, thats also the reason why you can't compare two strings with == and this is s.th. I think every Java developer learns within the first days/weeks (often by first doing it wrong, I don't claim that this is intuitive).

So in this light the correct solution, which the author even does not mention anymore in the end, would be for the method to use the a.equals(b). Everything would work. The point of the author that a team should agree on using either one or the other is nonesene, because in some situations there is no choice (e.g. HashMaps only work with objects). Also there is no real problem, because whoever implemented the method know what he gets and should have implemented it using the equals method. So in reality this should not be fixed with creating seperate Integer instances but with fixing the method itself.

As a last comment, there is one pitfall to watch out for with autoboxing. When you use the "int" type in your code and call a method which returns an "Integer" and you compare with == you can get wrong results. I think of this as a real problem, because often you know that a method will return a number but you don't expect it to be returned as Integer. Or even worse between versions of the api the method is changed from returning int to Integer and you don't even notice because it compiles. But I think this happens very rarely and personally I always return numbers as native types.

PS: But I can understand that it is sometimes confusing that the code is working in some cases and not working in others, when it should never work! If you want to get a really good understanding of the semantics of the Java language I would advise to read ( http://java.sun.com/docs/books/effective/ )
Autoboxing was the worst thing ever added to Java.
> I spent about 15 minutes, failed, then searched Google for an example.

It is understandable that Java can be verbose, but 15 minutes followed by failure, make the author seem almost clueless about Java.
>If you're going to work on a startup, plan things out so that even if it fails without making a single ripple, you'll still be better off after than you were before.

I've been thinking about this lately. It's really important to chose to spend time on things that are positive for you whether the primary aim or best case scenario pans out or not. Great post.
I've had a DC24 for the last 2 years, and I love it. The Lots of attention to detail, like how easy it is to get to parts like the roller so you can clean it. It's also really easy to empty, and the ball design does make it easier to maneuver.
Maxis did an IAmA on Reddit about a day ago, and one of their responses addressed this issue:

http://www.reddit.com/r/IAmA/comments/qmi0w/iama_maxis_devel...
I beg to differ. Yes, our universe tends to maximize entropy and pure chance (or what we call it - after all it's interactions of particles/waves, no?) often affects our lives. But, if you want to cross a river, chances are much higher that you end up on the other shore than if you choose not to cross the river - perhaps a monster eagle will snatch you and carry you to the other side, but that's of very low probability.

Going in one direction (also metaphorically) always increases your chance of reaching your goal. John Nash even proved that keeping the same strategy all along will stochastically result in greater success, and he received the Nobel prize for exactly that.
"1. AI isn't close to human level (HL) yet. I don't think we can really
know what HL will be like till we get a lot closer.

2. You can't get people to seriously discuss policy until HL is
closer. The present discussants, e.g. Bill Joy, are just chattering.

3. People are not distinguishing HL AI from programs with human-like
motivational structures. It would take a special effort, apart from
the effort to reach HL intellignece to make AI
systems wanting to rule the world or get angry with people or see
themselves as oppressed. We shouldn't do that. "

--john mccarthy
according to the author, these 2 videos are the beginning of the series ! I hope, because, I made this post, that next videos will give us more node.js !? Anyway to have multiplayer realtime game node.js and socket.io are the ATeam ? I will update my blog post on nodejs-news.com as soon as the author will add new one.
Let a well-tested library handle the date calculations

Yes, that's my point exactly. The conversion from the familiar representation to linear seconds incorporates all of those complications (except leap seconds, which hardly anyone bothers with).

If you don't want to use 365.25, you can write code to figure out whether to use 365 or 366; but in neither case will you have a bug like the one Azure hit where a completely invalid date was generated.
How our HTML5 game won $7k with an hour of work
Thanks a lot! I am also looking for some resource which would help me design classes well in C++
Success is a life you won't regret.
I create the account for nodejs-news few weeks ago :) I'm green :p
Anonymous releases source code for Norton AntiVirus 2006
No matter how it seems, success is seldom if ever "overnight". Yes, it may seem things come easier to some than others, but to me personally... success isn't what you accomplish so much as it is how quickly you get up from constantly being knocked down. I've failed more times than I care admit... and I'm probably better for it. Maybe success looks like a pattern of determination.
I'm not disputing that there's a lot one can do to improve one's chances. I'm just saying that believing that perfect, well directed effort always breeds "success" is dangerous.

People shouldn't just sit there hoping for their luck to change (although if they do, they might still have an interesting life, even if not quite "successful"). But they shouldn't obsess about goals, self-improvement and control, either, and should learn to accept life's many surprises. Or, they can choose not to accept them and to obsess about control - hey, that's cool too. After all our existence is absurd. Life's absurd.
I'm sure the twitter feed is relevant in general, but right now it shows startupy things, not couply things. Filtering would help.

I looked for $149, and it was actually in the Techcrunch article. Not much you can do about that. Though it might be better to order your links differently.
That boils down to the efficient markets claim. Unfortunately we've seen a lot of counterexamples for that. As just one popular example, Wall Street - the people that, among others, underwrite tech IPOs that go on to pop 50% and 100% - is profitable in the long term for people in the front office, and buddy-based for people in the front office. Would you say most people's buddies there are "good"?
Yeah, Dyson is the Apple of home appliances. Vaccums without bags don't make any sense.

Don't get me wrong, both companies are very impressing and they make their customers happy, but usually they don't have the best hardware of their industry.
Ah, gotcha, thanks for the heads up. Please feel free to e-mail me at pius@becouply.com if you have any other thoughts you'd like to share.
"I want all of you to enjoy really shitty journalism and research at one of the most respected tech news blogs around, Mashable."

I have to hand it to Andreas Pihlström for being so civil, but I absolutely disagree with his assessment of Mashable being a respected tech news blog. Mashable might have a decent well researched and insightful article once every blue moon and the rest of the time it is pure dribble of liquid feces.
This is an example of a bug that FindBugs would catch ( http://findbugs.sourceforge.net/ ). FindBugs is a static source analysis tool for Java. It's free and open source, no reason not to use it on your codebase :).
No, this is like putting break-in detectors on front-doors in your community that you don't control.
Dofollow on Blog Comments - Is it good or not?
Many people tend to believe that once they add dofollow attribute to their blog comments, they automatically manage to attract attention of the commentors and with that they increase website popularity. Unfortunately, many don't actually see that with doing that they loose SEO advantages. What do you think? Is adding dofollow to links in comments a good strategy?
Here is a presentation from the author: http://dl.dropbox.com/u/5548517/PyPedia.pdf.
The human learning to adapt to the machine has been the way EEG-based brain computer interfaces have been made for a couple of decades. Using machine learning to adapt the machine to the human is a much more recent development.

It is possible today to make EEG controlled devices. They typically differentiate between a small number of real or imagined movements in the user. This is awesome, because it can allow severely paralyzed people to communicate, control a wheelchair. etc. Nevertheless, the algorithms used to do this are perfectly useless when it comes to distinguishing whatever words the user is internally vocalizing.