skysight-inc/HackerNews huggingface dataset:
If you're going to implement 2+1 functionality, make sure to add the appropriate unit tests.
When my eldest children were about 6 and 4 respectively, we got a Windows 98 computer that they could use at home. One of the things I love about kids and computers is that they're fearless. They learn through trial-and-error without the slightest hesitation. In contrast, teaching your parents to use the computer is full of questions about whether they're "allowed" to do something.

Anyway, my daughter (four years old at the time) got a new game (probably educational) and when she tried to run it, she was told there wasn't enough hard drive space and her mom told her to "wait until dad gets home".

Undaunted, she went looking at the hard drive and recognized most of the programs as games she (or her brother) played, but noticed one they never used ... that game was called "Windows". (The reinstall included an update to Windows XP and restricted user accounts for each of the kids ... I learned something too).
I opened a few bugs to help get this library in a more usable state. I'd really love to see a SOAP API on this as well as result templating, a request router, and a controller.

It may also be useful to include a message queue (RabitMQ / SQS are good candidates) implemented using the pub/sub model to allow arbitrary scaling of the compute nodes.

I have some other ideas about something like JMX / MBeans here to allow arbitrary instrumentation of methods. This would provide more flexibility than the benchmarking module already included.
From ZF :( https://twitter.com/_clyfe/status/265588170341625857
Do you mean to have indent-switches commented out?
Yeah writing my own engine was a hard decision. On one hand, I hate writing boiler-plate code, but on the other I have become so used to it at this point that I can whip up a basic rendering engine in a few weeks (the most recent iteration of my engine was written in two weeks of free time, in about 80 hours). I have wanted to use existing engines like Unity, but I have found that they pigeon-hole you into a specific type of industry-standard workflow that is not really good for me (for example I do not use any external assets, everything is generated in-engine since I am not a very good artist).

That said, I'm just kind of taking everything one step at a time. When Minecraft was first released, it was just a simple block-based world editor; I intend to release the simplest thing I can first and work from there. As for the AI, it is easier than it might seem to implement and I am not doing anything that novel (primarily the deduction is based off of languages like Prolog); I have implemented basic (test-based) prototypes in the past and I am pretty happy with the results so far.

I'll have to check out First Earth; as for multiplayer, I am prioritizing it last - not because I do not love a good multiplayer game, but because it is the one thing I can safely remove and still have a fun (enough) game while greatly reducing complexity.

Thanks for your thoughtful insights. :)
We haven't all learned... https://www.destroyallsoftware.com/talks/wat :P
Java is not insecure but one time it asked me if it looked fat.
An interview with Visual Idiot
Synthesising MOOC completion rates
>While I'm sure I would get my $20-80 worth of use out of the game or book, the concept of the inevitable loss of the item is more important as an influence to me, than the utility & pleasure of the use of the item now.

I don't get it. If you believe the experience of playing the game is worth than the cost of the game, why do you care you may lose access to it later on? It's like not going to cinema because you won't have the movie recorded afterwards.
Or what about a pre-commit hook that, instead of transforming the version you're committing, just compares a transformed version to the version you're trying to commit? You could warn on commit if they don't match, plus maybe provide an option to override the warning and commit anyway.
mainisusuallyafunction.blogspot.com
5 lessons from API giants like Twitter and Google
At least or exactly 10 elements?
Picking the Right Data Structure
Absolutely!

The thing I liked so much about these ideas is that there was a lot of vision & thought put into describing them.

With Google Fiber + mobile....the people of Kansas City can become more connected.
= cheating
Ask HN: Who is in charge of the open source letter?
I've searched, post international plan site: news.ycombinator.com, open source plan " ", post 2025 open source plan " ", I can't find it.

It was an article posted on how there is a deadline to show the benefits of open source to some international entity for developing countries.

Who are the people who are in charge of talking to the entity?

Is it open to the public to suggest things?

I would like to read this article again, I skimmed through it and now it is buried. Can someone that remembers what I'm talking about point me to the right direction?
But they didn't make it clear it would be unplayable :)
Did you notice that not all of these corners violated any clause of the standard?

I've got quite a bit of experience with C, and I haven't heard of the "static" array size feature before, which seems extremely useful.
We're a Romanian team and we've built a new way to make games
Proof http://www.youtube.com/watch?v=31tkQ4tp_2c.
This was built using Gameleon, a HTML5, open source gaming server, and its visual editing tools

If you think it is cool, help spread the word about our kickstarter http://www.kickstarter.com/projects/341483420/gameleon-sandbox-game-making-for-everyone

Democratization of games FTW!
no, it's already httponly. There is NO WAY to secure your subdomains from such vuln.
All of Time Warner's Digital Cable boxes, for example.
He nailed it.
To get it right you have to be able to pick it apart according to specified rules. Being able to work with formally specified rules is an integral part in the study of computer science (also, other STEM majors). I'd say it's a perfectly valid question, as long as someone points out that one should stay away as far as possible from this sort of code.
The largest collaboratively maintained source tree on the planet (that I am aware of) is the Linux Kernel. Just submit a 'badly' formatted piece of code to someone like Greg Kroah-Hartman and see what happens.

Quoting a formal study[1]:

"It is not merely a matter of aesthetics that programs should be written in a particular style. Rather there is a psychological basis for writing programs in a conventional manner: programmers have strong expectations that other programmers will follow these discourse rules. If the rules are violated, then the utility afforded by the expectations that programmers have built up over time is effectively nullified."

[1] Soloway, Elliot, and Kate Ehrlich. 1984. “Empirical Studies of Programming Knowledge”, IEEE Transactions on Software Engineering SE-10, no. 5 (September): 595-609

[2] http://goo.gl/2bHwq
How large are those chambers? Where I work we have massive thermal chambers (about 20 feet x 40 feet or so) but there is no way they can achieve that rapid a temp swing.

I really hate going in those things when they're testing at high temp and high humidity, especially when I'm dressed for winter weather.
What a load of crap. The chances that github doesn't call reset_session are zero which means this doesn't work.
Yup. People have talked about the issues in C for years but few talk about "modern" languages. Ruby anyone?
The Top 5 Video Editing Apps for Android
What possible optimization would a compiler be able to do, given that arrays are only ever implicit in compiled C?
http://en.wikipedia.org/wiki/BD-J

http://en.wikipedia.org/wiki/Multimedia_Home_Platform#DVB-J
While we are discussing PHP, why is the ternary operator nesting behavior different from every other mainstream language using "?" and ":" ?
well github has every kind of project...
LOL! got me. great stuff
The slide cast doesn't show up in mobile safari. But, there is a link on the page to a list with detailed descriptions and examples: http://darkpatterns.org/what_is_a_dark_pattern/
Zaarly Shutters Its Reverse Craigslist, Goes All Virtual Storefronts
Could 40 million be Big Data, as in too big for my desktop, and requiring Hadoop or something - or would this be manageable on a RDBMS database server?
KDE's KWin won't support Ubuntu's Mir
main is probably the only symbol this works with, data is generally put into non-executable sections/pages.
Given the first vulnerability, which stemmed from poor defaults in Rails and Github using said defaults, I wouldn't be surprised if it were affected by this.
On International Woman's Day we remember Grace Hopper
why should it call reset_session, my little sweet troll?
Pretty much sums up how I feel about most of the big frameworks (Zend in particular, but also Symfony and CakePHP).

The problem of over-engineering isn't just related to the big PHP frameworks - the same problem exists in Python and Ruby.

At its core, web development is about taking some user input, validating it, throwing it in a database, and displaying it again (perhaps slightly modified) to users. That's a fairly simple concept, and frameworks should reflect that.
i say more: this vuln worked fine. wait. github is STILL vulnerable. and i have an exploit
Lazy IO, which is what you get by default, if you just learn the language and use the Prelude, is worse than what you get in C.
Someone should do "Dark corners of C++".

Nevermind, it would take more than the Lord of the Rings triology.
Thank you HN, sorry HN
A couple of months ago I posted a request for help here on HN [1] which somehow ended up on the front page. At that time I fought with heavy depressions - it was really bad. I did not expect my request for help to land on the front page but it did and I got what I asked for. A ton of people sent me emails with very kind words and advice. Now I am in a position where I have to do two things:

1. Thanks to everyone who offered help of any kind. I do really appreciate it.
2. Sorry that I did not respond to everyone who wrote in. I found out that reading all those email made me even more depressed somehow. I will send everyone who wrote in a personal thank you note once I am better.

With some of you I had a longer chat and one person even sent a teddy bear from the USA to Germany (where I am from). I made a picture of the teddy bear [2].

As I mentioned I got a lot of advice - even though I was not able to respond to everyone who sent me an email (sorry again). In the meantime I saw another doctor, changed the medication, changed my lifestyle and now I am feeling a bit better. I would not say that my life is worth living right now but it became better and you guys certainly helped a lot.

I would love to give something back to you but I am not sure what that should be. During the last couple of weeks I thought long and hard about that and I really would love to do something: Found a help network for hackers, somehow improve the current situation for crisis/suicide chats or something like that. So what do you think would improve the current situation of (depressed/suicidal) hackers. Please let's discuss that. Not everyone will make it on the front page when help is needed - or am I wrong?

[1] My original request for help: http://news.ycombinator.com/item?id=4928031
[2] My new friend: http://i.imgur.com/nQQAVuc.jpg
Wasn't he also famous for hosting life role playing events at his mansion? Something like that would be a good reward, too :-)
I'd venture to say that, if you don't even know how to find a military veteran in the first place, your chances of success are limited. The fact that you've asked "How do hire a vet" is very telling and, I presume, predictive of both your (a) ability to communicate your ideas (after all, "vet" is an ambiguous word and most people would likely have thought of a veterinarian first), and (b) your inability to perform a basic task without asking a community for help. It might be worth re-thinking if now is the right time...
I worked at Babbages as well. Don't forget the NeoGeo ;)

Ultima VII was a wonder to me when it came out.
One would normally have to pay 60 bucks for something like this! We get it free!
The Android Paradox: Hackers and Casuals
That's like saying the only way you can get your car to remain buoyant over water is attaching a huge flotation rig to it and even then it won't be as fast as driving on the road
The functional unit tests made me laugh: https://github.com/Herzult/SimplePHPEasyPlus/blob/master/tes...
Netflix forums have been dead for years now... So it is not a surprise.
But still I am sad to see the oData catalog shutting down which mean that my 4 stars iOS/Android/Kindle app will have to be removed from their respective stores.

It is always a trade off when you are relying on API: on one side you can focus solely on the project core values knowing that the underlying data will be provided, on the other side if you build everything including what an API provides you are ending building up a different business.
> I have yet to see any Java-style absurdity.

Then you probably haven't tried Zend Framework ;)
> The problem of over-engineering isn't just related to the big PHP frameworks - the same problem exists in Python and Ruby.

OTOH, the "complexity" may also be "configurability" or "pluggability" with missing shortcuts. And quite often the "simple" version ends up being insufficient when one needs to tweak something: http://lucumr.pocoo.org/2013/2/13/moar-classes/

> That's a fairly simple concept

When going for pithy statements and omitting most of the actual issues, even encryption, clustering or networking "[are] fairly simple concepts". Which effectively they're not.
The Allergy Buster: New Treatment For Children With Severe Food Allergies
I owned two small cruising sailboats for 20+ years so I can relate a bit to very crowded living conditions. Those pictures showed people coping with small spaces, for example with the high shelves for food staples. Families can cope with a crowded environment, especially little kids who are probably happy being right next to their parents, but with teenagers at home I can't imagine how it would work.
His point still stands in principle. The more powerful a weapon given to an individual or group, the more irreparable damage they are capable of. It therefore makes sense to limit their ability to cause harm with their social charge and responsibility.
Come on guys, obviously a clone, but its pretty true to the original.
How much of this is server side?
Why do corporations spend resources in mounting the JRE to their devices? Wouldn't it be much simpler to use the instruction set of the hardware and write stuff in C / Assembly?

I am asking because my first language was Java and after learning C / gnu AS it feels much more comfortable to actually have control over the resources you are using than relying on the magic the JRE does for you.
I think some service industry employers try to get around trust and employee quality by limiting the capabilities of the employees, and it's a nightmare for everyone. Often its done by software-- "sorry, the computer won't let me." It feels awful to be a part of; the lack of trust is hard not to take personally.
Data? Because I seriously doubt your claim. Would be genuinely interested, though.

In theory it seems sometimes possible, if you really believe what you market makes the live of the person you market to better. But is that really more often a motivator than "if you sell x, you get a bonus"?
I believe that * .heroku.com points to * .herokuapp.com
City building in webgl
If you're against groups of people (corporations) from having the same rights as individuals - does that logic also apply to unions?
With Dropbox, you get 1password on linux via their html frontend (I use it all the time)
Uh oh, the LOLz have invaded Github. Pretty good one, though.
My initial reaction was that this couldn't possibly work at company level. After some thought, I could see how it could work if you have just enough diversity in personalities and temperaments. For example, it sounds like they need at least a handful of people who are willing to do those "critical, not-so-gratifying tasks may remain undone and hurt us in the long-term."
Kickstarter: secure USB drive that displays passwords and personal information
You offered no proof that this actually works and being defeated by a reset_session makes it way more likely it doesn't work.
I could see Ubuntu become the main alternative to Android for manufacturers, because Canonical will make it easy to piggyback on Android drivers, so it should be very easy for manufacturers to port Ubuntu to their devices. It also gives them at least as good customization power as Android, and the hacking/ROM community are going to love it, which I think is a good way to get people excited about a device/OS online these days.

WP8 doesn't give them any of that, it's been stagnating at 2% for more than 2 years and a half, and besides perhaps helping Nokia a bit (while being a much smaller company than they used to be, so easier to be "satisfied" with it), there's nobody really benefitting from supporting it in terms of sales. So Ubuntu would be a great WP8 replacement there, and as a strong customizable alternative to Android.

As for Firefox OS, I guess it depends on how well this ChromeOS/FF OS thing will work. And if it does, it probably only works on the low-end, at least for the next 5-10 years, when data will be so cheap, that using web apps won't be a problem anymore (although you can still use "native" web apps in FF OS, just like in Ubuntu Touch, so I guess there's that, too).

But since FF OS is going to be used mostly on low-end devices, that means it could be on a lot of devices as well, so it could do well in terms of market share (or at least well enough to give a company like Mozilla good revenues). For the same reason, I don't really see FF OS and Ubuntu competing with each other, since Ubuntu will be more on devices with at least a quad core A9/A53 or dual core A15/A57.

The only way they are competing with each other is manufacturer's attention. Some of them may not be ready to take on more than 2 operating systems at once, and if they have already committed to FF OS, then it might take stronger persuasion to start supporting Ubuntu as well, to have an alternative for high-end Android devices.

Android will continue to compete with both, at the low-end and at the high-end, although I think Google needs to make Android 5.0 a little leaner to put it back into the Gingerbread-range of resources needed, if they want Android to go hard into the sub-$50 phone market.
Perhaps it is because peering is not an entitled right. If it was, who would pay for all the costs of network growth?

AFA HE.net pricing, the reality is HE.net does not sell "their" network... they sell other ISPs network via their peering. Their costs are far lower as they don't carry the traffic more than 1-2 router hops.

HE.net does this so much that their peers are feeling that the relationship is no longer "fair" and are not interested in upgrading capacity to enable this business relationship. If HE.net had to pay as much as their peers for the network costs, the prices would be similar.

You get what you pay for....
Github only sets their cookie for "github.com". What I'm suggesting is that they set multiple http-only cookies: one for "github.com", one for ".github.com", another for every subdomain you access -- "pages.github.com", etc. If there's already an http-only _gh_sess cookie for every subdomain I can put scripts on, I won't be able to shadow it with my own _gh_sess cookie.
Do people actually call it Éire?
I know what you mean, and I realize there's more to web development than what I just wrote. Nonetheless, I think frameworks such as Zend add a level of complexity that is rarely justified. Zend fans would probably claim that doing things the "right" way in the beginning means less work when you need to maintain the app three years later. I'm not so sure. To be honest, three years from now I'd rather be maintaining a CodeIgniter app than a Zend one. I'm not a CodeIgniter fan per se, and I realize that it gets a lot of criticism for being written the "wrong" way - but the point here is that simple (and well-documented) solutions often win the day.
In a similar vein: http://www.jonathancresswell.co.uk/2013/03/review-simcity/
The kernel is actually not that large, all things considered (and why should it be, it's the freaking kernel). Although, it certainly seems the largest "professionally-engineered" source tree that I can think of.

Greg's paper has a funny quote that's worth drilling out: "The original authors of UNIX placed their braces with the opening brace last on the line, and the closing brace first on the line, like:

if (x is true) {
we do y
}

Because of this, the kernel will be written in the same style."

The reason is still arbitrary but I can certainly respect why that arbitrary decision is better than others.
An Internet news vacation
With C, you don't just get to manage memory yourself -- you have to, which can become a distraction from the actual program logic.
if ( minutes === 0 && seconds === 0 ) {

currentTime = startTime;
updateTime();
return;
}
Name the large group of people in an organization that DOES NOT concentrate the power hierarchically?

Corporations have CEOs and boards of directors. Non-profits do likewise. Large Newspapers have the owners and chief editors. Unions have Union Bosses and various types of decision boards. Churches have Popes, Cardinals, etc.

People often group together PRECISELY TO CONCENTRATE POWER. Why is it surprising? Why should Corporations be singled out for special treatment?
Can't recommend because of a 0 day exploit. If you add 0 you get root via SQL injection.
This is not new[1], but interesting that github didn't think about this when they set-up gh-pages.

It's hard to blame them though. Security is easy to miss. Myself and many other people who use github, and who understand those issues, don't really think about it until someone points this out...

[1] http://security.stackexchange.com/q/12412/7306 - just an example of a discussion about this very same issue from about a year ago (and it wasn't new even then)

EDIT: layout
We had one particularly bad customer experience on some wireless lighting control systems (power electronics and RF in a tight package) where some nodes would randomly drop from the network and couldn't be controlled.

After two sets of embedded engineers trying to solve the problem with software updates, our RF guru got involved.

He traced the problem to the RF transceiver losing PLL lock at high temperatures and the transceiver not setting the PLL status bit correctly. We had to fix our uC to reset the RF chip every X minutes based on worst-case temperature rise scenarios.

No one else would have figured this out for months. The bug had not been fixed through three generations of this transceiver and the guru had dealt with the issue years ago.
Static Methods and Unit Testing
We all know that Interfaces allow us to write loosely-coupled components, and that this "loose-coupledness" comes-in handy during unit testing. Because we can separate the implementation from the method signatures, Interfaces allow us to mock implementations of our dependencies.

Mocking dependencies is important during unit testing because it allows us to isolate the components we are testing from their dependencies -- this means that incorrect behavior from any dependency will not affect the results of our tests.