skysight-inc/HackerNews huggingface dataset:
here. here. this guys walks the talk. his ability to document the process is very helpful to people who want to get involved and support open source projects but are technically challenged and don't know where to start or how to use the tools, like google, to self-diagnose when something doesn't work right.

i know cuz i have read a lot of what has been written about that project. the medium blog post, for instance, is a keeper.

if you are looking for an exemplar of what a good open source project looks like, start with that, but there are other fantastic open source communities you can use as an example. one that comes to mind off the top of my head -- joomla. but there are many, many more. take projects that are posted on github - which by the way has done a fantastic job of building community in the oss ecosytem -- plus the projects_qua_repositories posted in this space are goldmines of sharing and giving back.

like i said, the best oss projects are fully documented and provide lots of walk-throughs, tutorials and problem-solving fora to provide (non-judgemental) helping hands to n00bs and get them started. you couldn't ask for more.
A Data Analyst's Blog Is Transforming How New Yorkers See Their City
I swear I heard Kerbal music when they were switching between on board cameras and the rendered display (which is really fucking cool).
> Rovio's product is games, so ideally they would attract games-driven people, not money-driven people

Ugh. This sounds like the excuse a boss at EA would give when forcing his employees to work eighty hour weeks. In the real world Silicon Valley companies have been very successful hiring good employees in part by offering massive amounts of compensation. And then there is the other half of Silicon Valley, which feeds off the overworked and undercompensated twentysomethigs following their "passion".
The american authors did not write enough stores to fill the demand in Denmark so the Danish publisher had to write additional stories for the weekly magazine in Denmark.

http://www.b.dk/kultur/danskere-laver-anders-and-til-hele-ve...
Doesn't a node shim at least get all the libs from NPM?
Ok, let's follow that logic:

The Pirate Bay should be banned because people can use it to steal/share intellectual property.

Automobiles should be banned because people can use it to run over people.

Tor should be banned bacause people can use it share child pornography with it.

Scissors should be banned because people running with them can get seriously hurt.
Really?

I had little idea of what the company was before reading this, and I still have little idea, afterwards. Still, interesting read, and it's really cementing in my mind a bit more where I want to take my own work & life.

Side q for lux - maybe it's early days to say, but I'm curious to see how well you manage to shape your company into what you want it to be; e.g., keep re-asking these questions (am I making a positive difference in the world?) and see how the answers are trending. Good luck!
Coding school trial new model for recruiting developers
Personally, I would be OK with that. By definition most companies are "average". The ones that recognize that and try to become better are much more realistic than the ones who already think they are the best...
Clean sheet: how to release data or statistics in a spreadsheet
Did they also delete peoples reading history? Now thats the puzzler.
Batteries are one of those technology bottlenecks that will pay off in a huge way when and if someone can create a major leap that allows a 10x or 100x improvement in capacity, cost, efficiency, whatever. For computing, for transportation, for general energy usage, for third-world development, a better battery will reap enormous societal benefits. It's amazing how far Li-Ion cells have progressed, but we need more and better yet still. I'm glad to see someone is pouring huge resources into this problem. Hopefully Musk is not the only one.
The Dark Side of the Pie Chart – Jsfiddle
It's practically a killer feature for me - so useful when meeting up with someone, and en route. I'd like to see it go further: let me message a temporary location tracker, so I can share my location with someone for, say, an hour, without having to enable stalking-mode permanently.
Thanks, Docker team, this made me 100% sure I support Rocket.
> Have you thought, recently, how difficult it really is to broadcast video to millions of viewers and all of the individual moving parts that make that happen? It's mind boggling.

Yes. And as far as I can tell, YouTube has it down to a science. If I were NASA, I would let YouTube broadcast the live stream, and embed a YouTube player on the NASA website.
Very very few OSX apps use an alternate allocator so this was probably not noticed. Having written a commercial memory allocator before (for MacOS prior to OSX) the one in OSX is actually quite good for most people. I don't know why Mozilla decided they needed jemalloc but maybe it tested better for their usage.

Still you would think tracking what's written to such a common directory would have been seen by someone at Apple. Firefox isn't exactly obscure.
> But this is bad, really bad idea. This is bad code, it doesn't describe what you want to achieve, it's difficult to track and analyze, it's hard to tell when it stops. You really should want recursion here.

Thanks for the warning :) It felt much cleaner, my code for the one like above:

$documents = $start_ids;
foreach ($documents as $id) {
$sub_ids = getChildren($id, 1);
// Now filter out any which appear in $stop_ids
$sub_ids = array_diff($sub_ids, $stop_ids);
$documents = array_merge($documents, $sub_ids);
}
print_r($documents);

And the one with recursion:

$documents = $start_ids;
foreach ($start_ids as $id) {
recurse($id, $documents);
}
print_r($documents);

function recurse($id, &$documents)
{
global $stop_ids;

$sub_ids = getChildren($id);
// Now filter out any which appear in $stop_ids
$sub_ids = array_diff($sub_ids, $stop_ids);
$documents = array_merge($documents, $sub_ids);

foreach ($sub_ids as $sid) {
recurse($sid, $documents);
}
}

> And it's not "pass by reference" here. References have nothing to do.

I've seen this terminology used in PHP - describing 'foreach' as "pass by copy" to make it clear that you can alter the argument and it won't affect the loop, as a copy was made when foreach was run. How would you describe it instead?
Some of your concerns are true, others are not. Cache and cookie control is currently impossible with WKWebView. However you can retrieve the contents of the page and load them just as you can with UIWebView, as well as ad block using the new user scripts features, which are a much better framework than what was available before.
strict eval and mutable state.
The Last Astronauts to Fly to Hubble Talk About Their Wild Mission
Vimeo works fine though (as is youtube, or course) :)
Corporations Misusing Our Data
> Is Chrome on iOS Chrome?

It's not, and just because Google also caved in to Apple's tyranny doesn't make it right for everyone to do it.
Proactive is key there, yes. If webmaster put Mistype on site, he probably care about content enough to fix typos.

Thanks :)
If you looked at volume of commits it might tell a different story - I'd imagine commits by contributor would follow a power law, so you might well have a project where 5% of the contributors made more than 50% of the commits, for example.
So you are disagreeing with the entire premise of the article. You are calling bullshit. That's interesting, given that the author specifically debunks the stats you are quoting.
My conspiracy theory is that this app will eventually replace the Hangouts app.

Notes:

1) This is not AOSP. It is closed source. And since it can be updated through Play, Google can ship new features independent of Android releases. Some say good (I do). Some might label it as a trojan horse... for Hangouts.

2) For Lollipop, carriers choose between the classic AOSP Messaging app and this one, Messenger.

3) Hangouts suspiciously has not received the Material Design treatment.

4) Google is holding Material Design hostage to get Messenger onto the phone as the default SMS/MMS app, possibly to deliver an even more integrated Hangouts later.

5) Wonder if Messenger is part of the Google app preload required to get the Play Store on the device?
First Look: Spring Boot and Docker
If Data You Have, Consume It They Will
Show HN: SWAPI – A Star Wars API
The whole story is nothing more than mutual trolling :)
Grizzly bears don't hide in relatively short grass and are very rare and limited to certain areas, and nor does America have spiders that bite your ass when you are trying to poo. Well, we might, but they aren't deadly.
Doing PhD has crossed my mind as well. From reading quite a slew of articles (most of them talking about abandoning academia, few of them happen to be positive), I would cynically summarize: Do a PhD if you are either a) doing it for the prestigious degree or b) because the subject really interests you. Don't do a PhD if a) you are hoping for a tenure or b) expect to earn more. I don't think there's anything inherently "noble" in doing a PhD, so I think the outcome of the decision should entirely depend on how realistic your expectations are.
Cool to see the tinkering works for you! It is mesmerizing :)

Do save your model as a new one if you want, makes it a one-click experience for visitors.

(in an ideal scenario AgentBase would do this automatically, and for each edit provide a link to that version... gists don't fork, sadly)
And just three years ago people wrote things like this:
http://scobleizer.com/?p=7382

"It isn’t hard to see how they would become the coolest social network within a month or two. Even cooler than Quora. Heheh. After all, a lot more people identify with Angry Birds than identify with other services online (the same exec told me they can’t keep Angry Birds merchandise in stock).
"
Nethserver: simplify your CentOS
That's quite a thorough list, which I appreciate, but on the other hand its a lot to do for an interview.
Outer space is a volume of infinite freedom, therefore it uses the standardized freedom units we in the US hold so dear
I witnessed the cavalier attitude towards benzene and its relatives when I was in grad school (chemistry). But had I learned already during my bachelors how carcinogenic they were and stayed as safe as I could. I gave up and became a programmer instead (for many reasons including when software blows up you don't usually die). This was a long time ago but I doubt much has changed.
Do you really suppose that state-wide censorship machine is a justifiable and "a very small roadblock" for people contemplating suicide? Are you serious?

Let's put the fact aside that these "instructions" are a joke; consider a wikipedia page http://en.wikipedia.org/wiki/Suicide_methods. Should this page be censored? Since when removing the definition of a word in a dictionary makes a thing disappear? Sure, suicide is an issue, sure, it's better not to have it, but to censor anything mentioning it sounds like a bad adaptation of Orwells' 1984.

What's the problem with suicide prevention, suicide hotlines, destigmatisation of mental health problems? I'll tell you what's the problem - it doesn't help you instill an intellectual control system, censorship and, quite frankly, a form mind control (via media filters).

A censorship by any other reason is still a tool of oppression. It is not a tool for solving problems.

Also, could you please provide a reference to a single study published in a respectable peer-reviewed journal of psychology, which supports your claim that small roadblocks, and especially restriction on amount of paracetamol/acetaminophen sold per transaction helps prevent suicide.

Coincidentally, paracetamol poisoning a retarded way to go - it is probably more painless to kill oneself by drinking a lot of water (6l per 3hrs is enough to kill you). Why aren't drinking water sales not limited then? In fact, why aren't we all absolved of our personal responsibilities and taken care by the state, like some kind of a nanny?
Isn't that the basic error of this whole ordeal? Thinking that there are tons of people who want to commit suicide, but they don't do it because they don't know how to, and finding a text document on Gitub that describes how to would remove that obstacle.

https://github.com/l29ah/objidlib/blob/master/suicide.txt
Yes, that is a known bug. Swift and its development toolset is still very much a work in progress and definitely not ready yet, despite the embracing of many developers. Like anything related to iOS 8, such as Xcode 6, Swift, Watchkit, OS frameworks, services, it's good six months to one year work away from being actually ready.
I don't use your browser, but I'll check it out.

Also I hope the dev of iCab reads HN and can get some benefit from your code - he's not added support for new FF sync yet.
Totally ridiculous, but awesome at the same time.

Make that API great!

Whats the backend?
This is decent advice for many endeavours. To summarize: when choosing what to spend most of your waking hours on, don't just do it for the money, make sure it's something that interests you. Or, at least, that you can get in to.
I'm old enough that I actually programmed in Turbo Pascal 3 (around 1985) which of course produced quite fast code even for the speeds of the processors then (4 MHz processors were enough for everybody, not really, but that's what we had!). That Turbo Pascal had strings that were of the limited size, but they were able to use the stack, not the heap. I still don't understand that the library string in C++ can't use the heap instead of the stack even for the small strings. Most of the allocations detected in the post are actually the short-time ones, and I'm also quite sure that most of the strings aren't too big, which means that using the strings in the Turbo Pascal style (on the stack for the local variable) would remove the need for most of the allocations.

I guess that will maybe come in 2020 in C++ standard, if anybody of the people who would need that reads this and works hard. Yay for the march of progress.
More interesting, I think, would be seeing the code change itself, which might make it easier to work out how this got through code review / testing.
When a Captcha contains two words, usually there is one "real" word, and one "fake" word.
The major leap happened, and it is Li-Ion technology. It improved by magnitudes on any important metric over previous battery technology.
Australia also has crocodiles, box jelly fish, sharks, lethal spiders...

I don't think that I'm imagining that Australia has more species of lethal animals than any other country.

EDIT: Just to be clear, I'm not saying Australia isn't a great place to live. I've only been to Melbourne and then only for three weeks but it seemed great. There are just lots of things which can kill you there (though the Australian's have naturally got very good at stopping that happening).
This is terrible in my view:

"As a PhD student you get to choose some interesting problem and work on that, right? That's what I naively imagined before I started at the institute. Some day at lunch I told my supervisor about this idea I had. We could take his fluid simulation method from computer graphics and apply it to a problem related to molten polymers. There was this experiment by a group of applied physicists that would fit nicely. He asked me how many people would be interested in the problem. Maybe a handful, I said. And then I realized that there was no way I could work on that problem. Success in academia is measured in the number of citations your paper receives. What point is there in writing a paper that is only interesting to such a small audience? To be successful you need to target a large audience, and not just pursue whatever obscure problem takes your fancy."

As a society, don't we want our young academics to be able to pursue their intellectual passions, no matter how obscure? A lot of original research is produced in areas that others have overlooked or considered unimportant. Do we really want a "citation market" to determine whether researchers can pursue their passions?
I think the truth lies somewhere in the middle. You don't want "money-driven people" in the sense that all they care about is doing the least amount of work required to get paid. You want people that are "games-driven" in the sense that they care about putting out a quality product and making a fun game; because of that, they will work harder and should be paid accordingly.

You are absolutely correct in that using the "passion" excuse to force 80-hour weeks and/or underpay workers is BS. An employee being passionate makes them more valuable, not less.
The bug is triggered by using a custom memory allocator. It's clearly an edge case. There will be bugs that slip over code review and/or testing no matter what. That's a fact in software development.
So are you building your application by just creating the object model in code or using the designer and never looking at the XAML?
[Slides] Support Experiment at PressPad
You absolutely trade away freedoms when you get married (or build a serious relationship), have a kid, buy a house, get a dog, etc.. Signing up for rental payments or car payments of a certain amount involve reduce freedom.

That's fine (and you can build a lot of really good things); just watch for trading away freedoms but getting nothing valuable in return -- it's a common mistake (and I made it myself!) to get out of school, get your first job, and immediately get a car, living situation, etc. that costs what you earn. Or, oops, a bit more than you earn. I paid for my wedding and honeymoon that were nice, but left me in debt for years; it was dumb. I got a car that wasn't fancy, but it was more than I should have spent. Etc..

There's an awful lot of stuff that you simply don't need, and will never need; don't trade away your freedoms for those. Whenever you have a significant jump in earning, never ever spend anything immediately. Wait 6 months at least; see how your life is going, and if you can just keep saving the extra, or if you'd like to make a few upgrades in your life.
Can confirm, source: i am the OP.
What Makes Something a “Devops” Tool?
That's good to hear! I haven't played with it yet beyond flipping through the docs.

Have you built any production ready apps or libraries in it? How was the transition from writing Java? Did anything cause you pain or surprise?
This article hits close to home as my father had stage IV melanoma and took 2 rounds of Yervoy before becoming too sick and eventually passed away earlier this year. These drugs are very promising but the costs are absolutely ridiculous. $120,000 for four rounds (which is the initial amount you get before you must wait to complete more) is not viable for most people. Lucky my father has terrific insurance we paid maybe 10% of that cost. I did a lot of research on these drugs and there are some very severe side effects that you must watch out for. For most people these drugs are only slowing down the spread of the disease but by combining yervoy with other chemo drugs it can be very effective at treating melanoma.
Hey! Thanks. I made the Pokémon API as well - http://pokeapi.co

The backend on that is Django. I might stick with what I know, or build SWAPI in Go. At the moment, we're still very early stage, so we can choose soon.
Disclaimer - the following was done manually, not the extension.

"PSY - GANGNAM STYLE" - 2,158,086,259 views, video length 4:13

4m13s = 4.217 minutes

4.217 minutes * 2,158,086,259 = 9,100,649,754 minutes ~9.1billion minutes

9.1billion minutes / 60 ~ 152million hours

152million hours / 24 ~ 2.5million days

2.5million days / 365 ~ 6,849 years

6.8 millenia of GANGNAM STYLE. Nice one humanity.

Oh yeah, that's 6,800 years / 68 (average life expectancy, sort of) = 100 human lives. 100 human lives have been..err..used.
I'm currently at 5TB of my 8TB cap and Linode hasn't batted an eye.
I wouldn't blame it all on radical feminists. Few people realize that the chief idea behind the 1995 'welfare reform' in the US was that a lot of single moms on welfare were not getting a dime from dad.

Before then you could go to the next state and there was nothing they could do to you, and many 'deadbeat dads' would stay in the same state, not pay, and not face any real sanction. Today it is a federal crime to not pay interstate child support and they can efficiently deduct payments from your bank account and paycheck.

In some cases the new system is an improvement but it is not hard to find cases where some guy has to pay more support than he can afford to a mom who makes a lot more money.

Another problem I see is that almost no men are involved in early child care and elementary education. I think kids get a number of bad messages, but the worst is that school is a 'girl thing'.

In any cass the phenomenon here is well advanced in Japan and nobody has blamed feminism there, but the integration of women in the workforce has a huge number of unintended consequences. It is one of the major causes of social mobility freezing in the US. Back then a man would rise socially and bring a family with him, but now the pool of people who satisfy people prejudices has been doubled so men and women from rich families can fill all the good jobs.
That's why I give them at least a week to do the code submission at home. It is too much to cover in just a few hours in an interview.
The C++ string library cannot bind the string to the stack frame since it doesn't know how long it's going to live.

I suppose the compiler might realize that however and replace dynamic allocation by a static one but I'm not sure it's allowed to do that.
> I work on integrating into Dart ecosysem "foreign functions interface" (ffi).

Truly efficient FFI has to be part of the VM, you can't implement efficient FFI from outside.

> - I access data (by physical address) allocated externally

Do you really mean "physical address" here?

External data is created precisely to efficiently access data allocated externally, because it allows direct raw access to a given region of memory (sans bounds checking).
Fwiw, when Gavin King (Ceylon) did a AMA on Reddit a while back I asked about how they implemented reified generics on the JVM:

https://www.reddit.com/r/programming/comments/2iszra/ceylon_...
Simplified Linux Server (SLS) SIG
I've worked on a project that used all of these:
std::string, QString, OString, char*. All were required by a different library that we needed.

This is why a good string type should be in core language.
As I said, we have intermediate language, but we don't accept it from outside of VM (for now).
How is an AWS EC2 instance used for serving files a banana, but a Linode instance serving files an apple?
I tend to like typeform more, for anything form-like. (http://www.typeform.com/)
During the 10 years I used C++ I never saw a project that used std::string as their standard string. The implementation of std::string not standardized. It may or may not have a 'small string optimization' which may not be an optimization at all. Instead of specifying a mundane immutable built-in string like in Java the C++ Standards committee decided to add even more 'advanced' features to an already overloaded language.
I currently use 5TB a month. I pay $80 with Linode. If I switched to AWS, as of yesterday I would have payed $630 for November.

I am not understanding how my comparison is wrong.
Goodbye Minimum Viable Product, Hello Maximum Value Proposition
I'm using Firefox Developer Edition, and I don't see any CGLog_* files in /tmp at all. Am I missing something?
> If you are in it for fame and fortune, you are a fool.

I think that sums up why so many people hate being in academia. They go into it for the wrong reasons. I've seen many people make this mistake.
Best and worst times to take an uber