skysight-inc/HackerNews huggingface dataset:
Ask HN: Why do you do open source?
We're currently working on my bachelor's thesis on the subject of why people give up their free time and work on open source projects. As a first step, we're collecting data on the motivations behind it.

There's just one question on the form, but please write as much as you have time to! Thank you!

https://docs.google.com/forms/d/1MtXwd4kVF6kSuC4q_4rDaUksBRckLaCfgJGP6_JKSnY/viewform
How does this compare to celery?
They just need Automata, Grammars, and Computability, one of the "classical" courses in CS theory to complete their collection. That course really makes you a better programmer in being cognizant of the shear size of problems that can't even be solved (as well as forcing you to think in terms of using tricks to bring problems into decideable space). For instance, if you ever plan to write navigation software or travel/price routing software (a la Orbitz/Hipmunk/ITA Google), computability (as well as algorithms) should be a must-know (for example, every automata course will introduce you to TSP).
Wow, I said what?

Also while I hate to be the harbinger of bad news, parallel programming in any language is Really Hard(tm) for most people. Personally, I think there's a fundamental disconnect in how human cognition perceives the world on the one hand and massive parallelism on the other at which very few people I have met really excel relative to the larger population.
Probably not long, considering the Outcast series were a spinoff story, and the community is brimming with assets to re-create players, lightsabers, and maps from the films
Dynamic before, good long stretch after (mainly because it feels good). Stretching to increase flexibility is also a little misleading, everyone at every age is flexible, but we have inbuilt safeguards where our brain sets a maximum range of movement and tells the muscles to restrict movement beyond that. When you stretch to increase flexibility what you're actually doing is resetting the brain's idea of what's normal rather than stretching muscles or tendons.
Hey all--Brian here, I built this little ditty. To answer some questions: Yes, it is a template engine, and there are only two templates. The foreign policy one was written by Michael Ward with some modifications, and the domestic policy one written by a friend of mine. Coded in PHP/MySQL. All articles have permalinks. That's basically it...probably could have done it a better way but it was literally two hours of fun work a couple months ago and until today, I had forgotten about it. Thanks for the kudos and support!
Hi, maybe you could add a README.md that says where the source comes from and how it is licenced? (it's GPLv2)
http://jakiestfu.github.com/Snap.js/demo/
The Songkick devblog goes into some SOA decisions they took when their Rails app got a little too big:
see http://www.songkick.com/devblog/2012/09/06/the-path-to-soa/ (and related posts)
I find that the braces and termination policy forcibly avoid stuff like:

for p = initial; p.next != nil; p = p.next;
doSomething(p);

This is a whole class of pain I've had to debug before. Better to be explicit.

I'm not really a fan of python indentation as I've had to clean up a couple of messes before.
Hey, clicking around that Wiki it has some pretty interesting information. Do other large open-source projects have a very similar workflow?
As a bet, its possibility of payoff is consistent with the rest of what we know about the world, as opposed to religion, which is inconsistent. Furthermore, there are cases where things similar to this were done successfully, so extrapolation of technology might lead one to believe that we may be sufficiently good at reconstruction in the future. In comparison, no prayer has ever even slightly worked.
All the currently successful languages became so because of their universal character: you can write server, a GUI app, or code a ML library that implements a neural network in either C or C++ or Java - they all offer the balance of abstraction tools and performance needed to be universal.

The proper tool for the task way is pushing things backwards!
By going this way you're running towards a brick wall, the wall of your limited brainpower: at one point you will not have enough brainpower to keep juggling the increasing number of "proper tools" and you'll have to stop growing, stop learning and enclose yourself in warm niche/bubble. Yeah, this is exactly what your manager wants - you'll become a good but replaceable "programmer specializing in X, Y and Z" instead of the "uncathegorizable freak" that embeds a Scheme interpreter only he understands in his C++ code, can do in a day what the rest of the team does in a month, but that may bring the whole company close to bankruptcy if he's hit by a bus because, well ...nobody can replace him :)

"Universal" tools are always better overall even if they are worse for every particular situation you can imagine because the "problem space" in software is expanding. I an "all is open-ended" world universal tools are the only to avoid being trapped in a "bubble" (yeah, you may have warm and cozy in a "web dev with rails" bubble or "frontend dev in javascript" bubble, but you're still in a bubble!).
Burnt coffee isn't nice, but the smell of fresh coffee is amazing (for me) - it beats fresh bread, the smell of brewery's and the smell of warm oil from a classic car engine bay. The only thing that comes close I think, is the smell of the oil (which dries like a varnish) which I did my floors with. www.naturalhouse.co.nz/shop/java-classic-resin-oil/
I am guilty of upvoting every Go post. But my work has nothing to do with Google. I just really love the language and want it to succeed.

Go maps very closely to how I think about programming. It has more useful features than other languages, like channels, slices, and range. Yet despite this it is a beautifully simple language. It has fewer keywords than C and you can express the same operations with less code.
Yes that's indeed the conclusion of the article that one should prefer dynamic warm up instead of static stretching. For long efforts it says that post stretching help to recover (The other takeaways of the article can be found here https://tldr.io/tldrs/515d3491207be0f11e0007bf/reasons-not-t...)
I can second that. I've been working 30 hour weeks since last year and am more balanced and relaxed since then. Working less also helped me downsize my depression and (as of lately) procrastinatory tendencies. It also gives me more energy to work on my own projects and interests.
Can I ask specifically what kind of dynamic stretching you were doing? I have chronically tight hips that leave me unable to perform "adequate" squats - poor range of motion and balance on the squats, and lack of power. I'd love any tips you have to offer.
http://www.alcor.org/cryomyths.html

> Alcor has no company owners to profit from cryonics, salaries are modest, and the Board of Directors serves without pay.
Stop externalising your life
I am in the same boat (built a couple apps, threw one of them away, decided to rewrite the other one but never finished doing that). I've been looking for someone to build side projects with. If you would like to collaborate on a project, shoot me an email (arsh.zingh at ymail).
Bitomat lost its wallet and got bought by mtgox.Bitchange just closed an got reborn with same software as bicurex after a while. And it has more volume in PLN than mtgox. Probably due to the lack of trade fees (there are only small fees on withdrawals). It's also faster to get your money out of bitcurex than mtgox.
Wow, that is the most ridiculous thing I've ever read. Pretty sure it's a troll post trying to make frontpage with sensationalist bullshit.

For example, he claims it's a political move, yet the official FAQ lists many practical reasons for the move. Also, he says it will fragment the web: half the comments in this very thread explains why it won't. Then he says it's not open source because it's hard to understand how an HTML parser works? wtf?
Do you have 200+ million monthly active users (Twitter)? Are you making hundreds of million in revenue every year (Airbnb)?

No? Then you don't need to worry about scaling your side projects.

Also, Twitter still uses some Rails (http://www.quora.com/Does-Twitter-still-use-Ruby-on-Rails). Airbnb is still a Rails application, if you read that post.
I guess the only way for a startup not to die is to raise funding, I mean it's not like it's going to make tangible profits or anything over 13 months.
How to Promote Your Website through Links
My heart has a sweet spot for the Pascal family of languages and their strong typing, in regard to C and C++.

Ada suffered from lack of available cheap compilers back in the 80's, and like Turbo Pascal and Modula-2 it was a victim of UNIX's success, which had the sad side effect of promoting C for systems programming, with all security issues we have nowadays.

Now with the work of GNAT Core, and more security conscious developers, Ada seems to be getting new users, at least here in Europe as more universities adopt it. It is already a constant presence at FOSDEM in the last few years.

http://e.ubmelectronics.com/audience/eetnewsletters/02-19-20...
I don't think they'd be quite as hard to displace as people assume either. I've not spent very long looking at MtGox but I'm sure that all the usual tricks that real-world exchanges use to boost usage would work against MtGox as well - offering tighter spreads, lower transaction fees, encouraging market makers with incentives such as refunded fees as long as they're covering the market for a certain portion of the month, etc.
what a stupid protocol
Just FYI - code:
sizeof buffer - sizeof(buffer[0])

is looking unconventional. Couple of reasons... You generally want to avoid +1 / -1 in your code. You don't want to write sizeof() without parenthesis, - it reduces readability.
Null terminated strings are one of the worst failures of design in programming languages of all time. In C you're sort of stuck with turd polishing. It's never going to be good or right, it's always going to be partly broken in some way.

If I were writing a new code-base in C I'd standardize on using bstring but that too doesn't solve every problem.
There's nothing wrong with strncpy if you know what you are doing. The problem is that far too few people know what they are doing and don't how to check if what they're doing is correct or not.
I think that would just turns me into the guy who is always late for events and I hate to be that guy.

Doesn't the 7pm artificial urgency cause you stress?

For me I think it's just a recognition that creative work no matter the discipline artistic, scientific, design, software, whatever is just not simply a 9-5 job. But I'm also just as sure that nothing works for everyone the same way.
Was about to do this, then figured someone on HN probably had a pdf available already. And indeed ^^. Thanks anyway, saves me having to figure out the wget params.
The problem I have with this list is you might not need to raise further capital. Capital for equity is the most expensive form of money compared to say a bond or loan from a bank.
Genuinely, does anyone really know how much of a threat North Korea really is to world peace?

My assumption is that South Korea are under immediate threat, since North Korea could almost throw a bomb over the fence, but how dangerous are they DPRK really, away from all of the propaganda and sabre-rattling (on both sides)?

I can't see through all the smoke and mirrors presently. Is there anyone out there who is more enlightened on the subject?
What sort of demand are they expecting for this? The only people I can imagine that would want a facebook phone are primarily teenage girls. A lucrative demographic, I suppose. It just seems like a mismatch for the company.
Mt. Gox under DDoS attack as bitcoin price surges
If the Earth were 100 pixels wide, then what we consider "space" is 1 pixel above its surface. One pixel...
A caballo regalado no le mires el dentado (Spanish)
I get a 404 at the changelog link they provide...
I'm currently trying to remember the name of a book I saw in a book store so I can buy it on Kindle, so, in some ways, I'd say you would have a user today.

HOWEVER, what are you really offering here? Do you REALLY think you can do a better job of search than google or amazon? That is absolutely what you are up against.

I think the idea of contacting publishers to ask their opinion is useless. They'd say 'yes', if it meant more sales, this is a dying industry, they want anything that 'might' help them.

Keyword search is likely not a good idea. How well do people remember the color of a book, or how good are they going to be at describing what was on the cover.

You've got a potential market, but I think you're going about it the wrong way.

What about an app that lets a user take a photo of a book, and then you match that to where they can find the book online?
The languages state that sizeof requires parentheses when the expression is the name of a type -- sizeof int is an error, sizeof(int) is not.
TechCrunch Founder’s Ex-Girlfriend Claims He Physically Abused Her
Replay Games is doing some work there as well. Have you tried Fester Mudd?
Uh, who cares?
Each has its uses. The standard C and C++ library use C-strings for many things, so if you want to use, say, fopen you'd have to have a conversion routine set up (at additional memory and cpu cost). Just yesterday the ex-protobuf guy explained that in his new format (whose name I forgot) he uses null terminated strings exactly for that, even though he also stores the length of the string already.

But then, it's just C strings vs. Pascal strings all over again. It's your job as an engineer to use the right tool at the right time.

On the other end, it sucks that strlcpy is not as portable as the n counterparts. Last time I checked, the gnu libc still didn't have it for stupid bikeshed reasons.
This is irresponsibly poorly presented. Pre-exercise stretching doesn't reduce the chance of injury and slightly reduces performance of muscles. Not terribly surprising.

Stretching for fitness and flexibility - e.g. yoga - is essential.

Do yoga. Don't do yoga before you play hockey.
What Google's doing now is far kinder than what Apple did then. As noted above, Apple "contributed back" big monolithic patches. By contrast, Google is providing access to a version-controlled repository. The latter is far easier to work with, of course.
IE6 wasn't shitty when it was released, it was shitty after a couple of years of no updates. If a substantial amount of users stays on older iOS releases, you will see the same problems with old Safari versions. (As you might already with the default browser on Android 2.3, for example, though availability of e.g. Opera, including the new Webkit Opera, helps by providing an alternative there. There won't be new alternative engines for old iOS versions.)
'Arrested Development' Release Date Coming Soon
Taste the happy, Michael! Details for the global launch of the fourth season of Arrested Development are coming soon.
I agree Go and D really can't find its niche. They both are very interesting languages, but is there any really impressive application where those languages would rock? Something that when asked for, the only obvious answer would be "use Go"? Being a better C or a better C++ is IMHO not enough.

Want high performance and full control? Use C (or C++).
Want your code to be easy to maintain by an average Joe? Use Java or C#.
Want your code to be concise? Use Clojure.
Want extreme typesafety? Use Haskell.
Need to use both OOP and FP? Use Scala.
What question to ask so the obvious answer would be "Use Go?"
Given that the OP made no mention of any interest in a PhD, and in fact expressed an interest in startups, I think this is the completely wrong way to go.
How to implement HTTPS in an insufficient manner
I'm not sure the design of the website matches what it does. It'll probably scare or at least worry a few people into thinking open ports are scary and bad.
Bill Gates: A fairer way to evaluate teachers
> Can't a subset of Javascript be converted to ASM.js JS that'll run around the same speed?

ASM.js code is a subset of javascript. The point is that they have defined a subset of javascript and a set of rules that, while it will run in a normal javascript engine, clearly indicates to the engine that if it supports it, it can do additional optimizations that could break things for "normal" javascript.

E.g. javascript doesn't have proper integers. Doing everything with floats is a performance killer, and for the JS engines to figure out when they can safely substitute integers is extremely hard without hints, so ASM.js specifies how to "fake" integers in a way that ensures the code will still work in standard JS engines (by using bitwise operators to coerce the value to integer values all over the place) while allowing an engine that knows about the ASM.js conventions to optimize the code further.

Nothing stops you from writing javascript code manually this way in the first place (apart from tedium), though it is admittedly a "workaround" to features in javascript that are incredibly hard to optimize well that would've been handled cleaner by language modifications.

The advantage of ASM.js is that the code still works in other JS engines, while if they'd started adding actual extensions to the language we'd be in portability hell for years.
Will there be a Facbook Phone for the enterprise?
"Stop using strncpy already!"... or you might as well write an article called "Stop using null-terminated strings already!"... or since many commenters here have already pointed that out, and the author is talking about C++ anyway, perhaps "Stop fearing std::string already!"
This is an excellent post to show everyone who says that C is easy. Or that only sucky programmers creates segfaults and all you need is some discipline. Not even very experienced developers can be expected to keep track of all the nuances of the various ??str??cpy functions and their various faults. The solution is to stop using C already (unless you really, really have to).
Building a mountain
I think perhaps confusion on the use of parenthesis comes from the fact that you need them for types and not for objects.
Which is blatantly false.
Does he still write all of his applications in assembly? I always loved how enthusiastic he was about his products and SpinRite was a very helpful tool back before everything I had went to SSD.
My personal opinion on the subject is that you should not obsess about those things. It is good that Go that enforces one consistent style. In practice it does not really matter for your productivity what that style is.

That said, I don't consider this a convincing argument. They basically say "We had some problems in the past with embedding Python code in Java files". This is a very specific problem and I could think of at least 4 different specific solutions for this specific problem. I don't think this arguement can support very broad conclusions like "Spaces for indentation does not scale to big and heterogeneous code bases and compromises safety and dependability for convenience".
Another way to put it, is that if you can work 60 "productive" hours a week you will most likely be more successful than someone that can only work 40 "productive" hours.

The trick is to know your limit.
In spanish, "empirico" means exactly the same thing. Based on well tested observations, not your just "personal experience". Sure it is a little overused some times, but it still means some degree of confidence greater that "in my experience"
>>>
The key thing to remember is that you are not enriching your experiences by sharing them online; you’re detracting from them because all your efforts are focussed on making them look attractive to other people.
>>>
I wouldn't agree with that fully, because I (and I assume many others) often share stuff because I think it's cool and others might like to check it out. Think of the number of time you have discovered neat stuff because someone shared it.

So if you are sharing compulsively and simply in order to make yourself seem awesome, that's messed up - but it is also the cost of content discovery on an ever expanding internet.
You can help them with that, it is opensource.
Slow/steady wins solar race: panels strong for home, commercial, utility
8 Guys, 6 Weeks: How the Cell Phone Was (Finally) Invented
>> Then strncpy() will happily 0-fill all of that buffer space

Yes. And that feels like a really poor choice of the function name in my opinion. It should have been strcpy_pad_with_zeros() rather than strncpy(). To reflect the fact that it is going to waste precious cache lines and memory writes.
Secret Files Expose Offshore’s Global Impact
Yes, it's bit stalled, but is not dead as it looks like. I have big set of patches for "actions", MUC, xmppflask-as-lib support, need just to found some time to make tests right and push them to the upstream. I'd planned to get them on this month, so stay tuned - April is not over (;
A bit off-topic, but if anyone remembers Raven Software for games like Hexen, Heretic, Shadowcaster, Black Crypt - the creators of these games have abandoned the developer many years ago. They work together at HumanHead Studios.
This old discussion on the Programmers StackExchange might be of interest -
http://programmers.stackexchange.com/questions/3233/why-do-p...
Hate being stalked by Facebook? Why not try Google+ stalking
If a website sees the HTTP connection terminating at some other IP address than the machine your browser is running on, it's some kind of middlebox (proxy, NAT box etc) and not a router.

The central concept of the packet-switched internet is that network nodes forwarding the packets (called routers) are just dumb packet forwarders and invisible to the communicating parties. It's called end-to-end transparency and it's what has enabled new Internet apps to be deployed without requiring support from the network. Like the web, or voip, or bittorrent.

http://tools.ietf.org/html/rfc1812#section-5.2.1.1 specifies what routers do when forwarding IPv4 packets.
On Windows you should use the secure C API functions such as strcpy_s.

In C++ using these function is just plain nonsense. Use std::string or equivalent.
All of my coding is in C# (for work). I don't work in anything else.

Of course, this is probably a lot rarer outside of business apps.
Resumes are still the norm (but you should have github, linkedin, etc. as well), but don't think that your resume can only contain formal work experience.

Your resume is essentially a piece of marketing material advertising yourself, you can put whatever relevant information on it that you want. Freelance work, side projects, tech hobbies are all perfectly fine to put on your resume.
Data harvesting engine using JSON and CSS
I think its a different culture. Both approaches are valid.

The issue with closures and lambda syntax for java developers is probably around the fact that it is in most cases 100% unnecessary and doesn't really add anything to the product you're building. Even our core product which is c# is devoid of such things, not because we don't know about them but because we don't need them to drag stuff out of a database and throw it on a web page.

Just because closures and lambda functions are an awesome hammer, it doesn't mean every problem is a nail.
OpenXava 4.7 released: Rapid Java Web Development
This is a horrible metaphor. The lion would undoubtedly perform at a higher level if he warmed up properly prior to going out on a hunt. There are, however, tons of other reasons lions haven't evolved to 'warm up' before going hunting.
The correct link is in the first reply on Google groups.
>Google, the monetization is selling the user. So you get features like no-referrer removed (3 or 4 times) from the chromium project by google commits.

Do you have a source for that? I'd like to read more about it!
Sure, the management matters, but how do you convince a prospective new hire of what the manager believe? You are then limiting your possibilities for new management hires.

Other non-financial industries use money aswell. Doctors for one.