skysight-inc/HackerNews huggingface dataset:
All those components that systemd manages, that's easily, I don't know how many millions of lines of code, and it all runs as pid 1, which, when it crashes, takes the whole system with it.

Just doesn't seem terribly smart.
Immunity project successfully funded
Download Flappy Bird APK
Data visualization sounds like something I could do at work! Working on an enterprise visualization/reporting program now for an internship. Could you guys give me some pointers with getting more development-oriented tasks during code sprint planning?

Don't get me wrong, I'm not the glorified Facebook like-clicker type of tester -- the tests are automated at least. I will be finishing my introductory project this week and will be starting sprints with the rest of the scrum team. I have been in a couple sprint planning session but haven't been able to participate yet and will have my first chance to take my first real project. The other intern on my team who's been here longer than me is still doing mainly writing tests with this really outdated Keyword model. I've been doing the same and it's not fun.

My question to you is, as a new intern to the team (this is my first 'real' development job), should I try and aim for getting some dev work? I'm afraid it might tick off a couple of the more senior devs. I'm not against doing test work--I'm watching James Shore's TDJS I know it's important--, but I would rather work with newer technologies than some Java monstrosity written pre-AWT.[0][1][2]

[0] www.letscodejavascript.com

[1] At least it's not written in ABAP like some of our other programs. shudder*

[2]Not sure if I'm doing HN-style citations correctly.
Computing: The Human Experience
I suppose that's technically true, so I'll have to concede the point. However, I still maintain that it's not practically true, since it has a very different flow than exceptions.

Anyway, I assume you're the same pcwalton from Rust? I really like the design of error handling so far, especially the bit about trapping conditions. From what I read, it looks failure just kills the task, instead of the entire program (like it does in go if unhandled).

I'm really looking forward to 1.0. Keep up the good work!
Although noone replied directly Matthias Andree wrote:

"(I have read Eric's folloup to Linus' mail I'm replying to, but not following that one up in AOL style. I second Eric mentioning the "curse of the gifted" from own experience. You start something without design, it succeeds for your talent, experience, whatever, it evolves and grows and eventually disembogues into a rewrite from scratch, that time with a design before the implementation.)"

My guess is that most of them thought Erics Mail too off topic to continue in that direction on the kernel list. I'd like to know what they thought of Erics arguments though. Exspecially Linus opinion at the time would have been interesting ...

Source: https://lkml.org/lkml/2000/8/23/103
">These are less JavaScript problems than utf-16 problems"

The issues related to combining marks are not UTF-16 problems and are not solved by converting to codepoints.

Also, Java as well as many other UTF-16 based languages have much better unicode support than JavaScript (like access to codepoints and unicode character classes in regular expressions).

As always, if something can be done in a sloppy broken way JavaScript will take advantage of it to the fullest.
I just moved out to Vancouver from Toronto about a month ago and I'm still mixed on that, I still have a lot more time here though so I'm trying to make the best of it. I'm really enjoying the mountains and the Pacific Ocean, I still love Toronto though.
Blackphone: Your First NSA-Proof Phone for Ultimate Privacy and Security
Chinese outfit Sungy buys GetJar for $50 million
For me, exercise (running, surfing, and lately doing weights -- I've never done the latter before by I'm enjoying it), coupled with my thinking therapy coping mechanisms (CBT works wonders for me) has completely placed my depression into remission for the past year and a half.

That's the longest time I've gone without an episode since I was 15, and I'm 23 now. I use antidepressants when I feel an episode starting -- but I only stay on them for a maximum of 3 months and come off them; I use them as a mental bandaid of sorts. I've not needed them since I started exercising (and working on my thought processes), and it's quite literally changed my life.

It also helps with motivation, thinking through hard problems (though I'm still yet to find a way to capture those thoughts while I'm riding a wave!). The girlfriend appreciates it too. I highly recommend doing some form of exercise for anyone who is struggling with their own head, it'll help, I promise.

The one thing I had to do to make the habit stick was doing multiple forms of exercise. Running is great, but just doing that alone was too much of a "To-do item" -- adding surfing and weight training to it made it stick finally.
"our job is so find faults in our applications and fix them."

Spelling mistake, it should be "our job is to find faults..."

Oh the irony.
People would think you look like a hipster.
> the Fed actually eventually made a profit on the toxic debt they acquired during the bailouts.

The Fed made $90B in profits in 2012, but they were only able to do this by printing $85B per month in QE. In other words, they're printing profits...something you and I are not allowed to do legally. The bigger question is: If they're printing $1T/yr, why are they only making a measly $90B/yr in profits?
Sure, these corporations are called organized crime.
> Maybe making them disabled by default with an extra option to enable them would be enough to deter all but the most gullible of users?

Safari does this
Yippee! Finally - a real world programming challenge that looks like a problem from Project Euler!
So how many HNers actually did send an email or made a call to their representatives?
"While the traditional approach may work alright for a static setup like a server that is booted once and stays on forever, it's not good enough for a desktop, laptop or mobile device."

Sorry for sounding like a troll, but what you're saying is that the traditional approach works alright for setups where unix is actually good, and doesn't for setups where unix is actually crap.

Lets exclude mobile devices from this picture (because those don't use general purpose Linux distributions and arguably don't use unix at all, but a unix-kernel with specialized - non-unix - userspace) and concentrate on servers and desktops/laptops...

This systemd rage shows exactly why it's 2014 and while Linux is extensively used and trusted on the server side, it continues to limp along on peoples' desktops: it constantly reinvents the wheel (badly) with monolithic pieces of bloatware that are usually throw away tried-and-true solutions for unproven experiments. It throws away the old way of doing one thing and do it well in favor of components that do too much and become so complex that troubleshooting is a nightmare, exactly the kind of complaints we have about non-unix systems...

Need an example? Where are the people that used to criticize the Windows registry now? I just recently almost(1) had to throw away my entire home dir on Ubuntu just to try and reset Kontact, because in this day and age the configuration structure of this stuff is far worse, and it's almost impossible to separate one component's configuration files and folders from everything else. And I'm not even going to start ranting about how in the name of $DEITY a mail/calendar application needs MySQL running in the background and about there is not a single decent mail client for Linux right now. Mail... a decades-old problem!

I don't object to systemd itself, but I do object to systemd invading my servers that work just fine without it.

(1) "Almost" because I just learned to live with the occasional crashes and misbehavior caused by some pieces of old configuration still lingering somewhere.
some other sites are toying with the subscription model...i would rather you book stuff on Camperoo ;)

Awesome; let me tell you what I would be willing to do as a parent of three kids:

I'll pay a subscription of X per month which includes a set (large)% of that monthly subscribe as a payment to the camps I want to sign up for.

This would amortize the camp cost over the year vs. lumpy charges for camp in summer....

Pre-signups for camps in [MONTH] might be easier for some people...

You handle registration, scheduling, blah blah blah...

Ratings, reviews, recommendations, etc. etc...

As a parent - with 3 kids and a NEED for this... this is so much higher value than care.com

"kids lists of who attended so my kid can keep in touch with that kid"

There are so many opportunities, and I believe that the core boils down to allowing a parent to say:

I live HERE, with kids of AGE/GENDER, and need to go to camp during DATE-RANGE, for budget of X. Once complete: campbook.com... to keep in touch with other campers...
Being honest is something I highly recommend. Of course, there will be friction: a lot of people seem to be intimidated by it, but it's worth it. You'll find those people who appreciate and practice up unconditional honesty, and you'll be a lot happier in your work, home, and love life. Great tip.
The ubiquity of sugar today discourages moderation by normalizing consumption.

Ok, and that's bad, but I can't control other people's kids. I can however treat my son every so often without fear of anything terrible happening.

It would be like having ash trays in every public space and cigarette ads on tv, with "enjoy responsibly" as the tag line.

Not really. Adults chose to smoke. They're grown ups, they get to make choices and live with the consequences. I'm fine with them smoking outdoors as well because it doesn't take away my choice to be in a smoke free environment the vast majority of the time. So how is indoor smoking like eating candy again?

I'd like to see some data which shows that occasional sugar intake leads to real health problems.
Sound, light and water waves and how scientists worked out the mathematics
I thought it was obfuscated variable names, but it's a turkish word https://en.wiktionary.org/wiki/arkada%C5%9Flar (follower)
With a traditional spin lock and critical section, only one core can actually be executing code in the critical section at a time, and ownership of the cache line containing the lock bounces around between cores.

With lock elision, two cores can both optimistically execute code within the critical section and only abort when a dynamic data race (or some other abort condition, like running out of space in a hardware buffer) occurs. In that case, one core may take the lock and force the other to wait, just like the traditional lock.
Easy to do nothing, it's easy to be cynical (+get a headline).

IETF Internet guardians say "pervasive monitoring is an attack":
https://datatracker.ietf.org/doc/draft-farrell-perpass-attac...

$52.6 Billion yearly budget is feeding the attacker:
http://www.washingtonpost.com/wp-srv/special/national/black-...

Seems a political reform force is needed or nothing will change. SOPA/PIPA gave us the taste of blood..
I seems too easy to disable developer tools. What about a fork of chrome that prevent disabling this tools
> Ketogenic diets are indeed not healthy over prolonged periods and should be limited in time.

They aren't? Are there strong hints* that this is true? I didn't see any so far, but that may be due to my limited research.
> "how many HNers [...] made a call to their representatives"

I believe you mean "how many American HNers". On the website, you were asked for an American ZIP code anyway... maybe should have been called thedayamericafighstback.org?
"By late Tuesday, some 70,000 calls had been placed to legislators and roughly 150,000 people had sent their representatives an email."

What was to be expected? The offices of my Senators and Representatives were swamped all day with phone calls.

The author keeps paying lip-service to the comparison of this effort to SOPA/PIPA --- which was entirely different. Those bills were a direct challenge to the internet as we knew it, and everyone (including the big players) moved in to participate. That protest was about two game-changing bills with votes on the floor (all other paths for success had failed - if you're Google,Wikipedia, etc); this protest was about the status quo.

Our elected officials heard us today - from seemingly nowhere, that the status quo isn't acceptable. The verbiage directly called the kettle black on the supposed "FISA Reform Bill," reminding politicians that the powder is dry if head too far off course. And that (IMHO) makes a big statement.

I felt the post was unjustifiably negative[/defeatist] with a link bait title and lame observations. It would be great to see Google, Facebook, Wikipedia, etc. play a larger role and "see the bigger picture"-- especially given that companies like Microsoft have officially recognized dragnet surveillance as an "advanced persistent threat." [0] Again, it would be great, but it can't be necessary. We want their help, but we cannot need it.

PS - It's defeatist to say the following: "internet protests will never change anything in Washington."

"The Powerbroker," a Pulitzer-Prize winning biography praised by Aaron Swartz [1], conveys the following two lessons with regards to affecting change in government: 1.) the only thing which matters (from the perspective of a common man) is raising the political stakes in every manner possible, forcing the issue into the court of public opinion where politicians must pick sides in a very public affair. 2.) The other things which matter are in conversations which you are not a part of. . . ... dig in. This is a minor skirmish in a long war (of attrition) against the Est..

[0] - http://www.theverge.com/2013/12/5/5177554/microsoft-plans-se...
[1] - https://zolabooks.com/list/aaron-swartz-reading-list/1
"We must recognize then that money is a pure abstraction."

Yes, this is a fact that people in the Bitcoin, and recently, Dogecoin communities have come to realize. I think this realization is a gift that cryptocurrencies could bring to the general population. There's nothing magical about a US Dollar. It's a unit of account, nothing more.

If you really want to fall down the rabbit hole, then learn about the (original) concept of Ryan Fugger's Ripple. The recent Ripple company does implement the Ripple idea of allowing individuals and communities create and trade their own units of account, but is presently emphasizing other features of their system. But you can absolutely use all the (well-done) Ripple software in the manner that Ryan Fugger originally imagined:

http://en.wikipedia.org/wiki/Ripple_(payment_protocol)
Also worthy to note, some neurologists believe that burn out may be a result of effort and reward imbalance, more so than physical drain. I believe this is known as effort reward imbalance theory.
What would be the point of sending mail to representatives that don't represent you any more?

At best it's a Monty-pythonesque nod to the system that got us here in the first place. "I'll write a stern letter" or "down with that sort of thing".

Internet activism is at a high level, universally total bullshit.

Breaking things until businesses suffer is the only way people will listen because there is a financial consequence.
Granted, init-related scripts have become complex along the years, but we may argue that happened because of the same type of reasoning that's now justifying the move to systemd: the need to do everything in one place and automagically.

You know, even if I would agree with you that "shell itself is an ugly mess of weird syntax, gotchas, and corner cases" that doesn't preclude init scripts from being redone in something other than shell.

"People who don't understand unix are bound to reinvent it, badly."

This has become the tag line for Linux, and unfortunately is starting to reach the previously sacred grounds of basic (server) infrastructure.
Is Facebook a gateway drug?
I've written a few complex Make based portable build systems over the years and in my experience Make script is its major limitation.

Make is a great system for declaring dependencies - the basic syntax is wonderfully concise (not that that's everything) and clear, and the system is a great platform on which you can build your build system (unlike Scons which tries to abstract away all sorts of things and just ends up hiding them).

The problem is that when you are trying to do anything more complicated than simple rules you are lacking basic language features. You don't even get function calls - the templates work under many circumstances, but not all (and are a pain to debug).
Also don't get me started on invisible syntax errors (tabs vs spaces), and the only error message Make has' Missing separator. Stop'.

Writing a build system in Python loses you that concise declaration syntax (but again characters typed isn't everything, as long as you maintain clarity it doesn't matter), but gets you ugh more flexibility to produce rules under complex circumstances, which saw at you need for portability.
In particular, it'd be easy to add a 'firefox supporter' edition in the android play market, perhaps a slightly different icon, and you pay $3 for it. I'd be fine with that.
But who eats sugar to get full? I (and everyone I know) eat sweets after a meal, or because I see them, not because I expect to sate my hunger with it.
> I don't object to systemd itself, but I do object to systemd invading my servers that work just fine without it.

I think the Lennart and the Red Hat engineering team have more important things to do than covertly install systemd on your server. Please quit with the hyperbole.
You're assuming the healthy diet concept is entirely prescriptive, in that there's a List of Healthy Things to Eat which thou must not deviate from. That's not how dietitians approach it. It mostly revolves around ensuring your macro and micro nutrient intake keeps to certain levels determined largely by your activity level.
Is there any chance to open source collected recipe data as well?
this doesn't scale, right?
But women don't love men who care more for their Guru's messages on their iPad than themselves. :)

This article is satire...
I think the point is that you could have the old init system launch systemd, which would then work as it pleased.
Show HN: Valentines 2014 Custom OSX app
I like working on the trapese/aerial silks for that. Massive work out, a shame I let it slide for over a year now (in my defence, last year I helped run a successful software project, and built a house - with week long stretches of heavy labouring required.
This will go down as the day the New York Times considered the number of Reddit comments a more important indicator of impact than phone calls to members of Congress.
You can talk sternly without telling someone to go and fuck themselves, in as many words.

"It's unacceptable to break userspace. I've fixed the issue personally on this occasion. Look after your area or I'll be forced to find somebody else who can." would suffice
The author participated in https://en.wikipedia.org/wiki/The_China_Study which compared rural Chinese diet and health outcomes to typical western ones.

He’s been vegan for >20 years, and he studies and advocates a vegan diet, because he claims that eating animal products is unhealthy / causes disease. He is the darling of vegans, among whom he has a large following.

Among books written from that perspective, my understanding from reading various reviews is that this is one of the best argued and supported ones, with lots of solid citations of scientific literature. Because the perspective is controversial (e.g. it’s different than the norm, it threatens “conventional wisdom” and food businesses) the book has also drawn some flak from other scientists who disagree with the book’s conclusions.
I eat a pint of ice cream as a meal on rare occasions, it fills me up and I'm only a little hungrier than normal when the next meal time comes round, which I attribute to a pint of ice cream not having as many calories as a typical meal.
The only thing this tells me is that your acquaintance has a good working "moral deflection" system. What? Cigarettes are bad? No, no, I wouldn't work on a bad product. All is good in moderation! What? I spam people with ads all day and that could be bad? No, no, I wouldn't work on a bad product. I only inform people!

And so on. No one thinks he does bad* things. Your mind forbids it or you would probably go insane. That doesn't change the reality.

* For various values of bad
Ask HN; How are you scaling in AWS?
I am going to describe a scaling idea and would love to hear from N is anyone else is doing this:

using BOTO; poll the spot price for a given instance type per availability zone in a region, then select the cheapest region to spawn a number of instances...

Is anyone doing this programmaticly? (assuming you need to spinup 10s or 100s of workers when you do this operation? What other method do you use to perform spot requests?
What's the Eggers book? It doesn't seem to be referenced in the linked blog post, and I can't seem to find anything with a Google or Amazon search on "Discrete Mathematics Eggers".
Interesting write-up. I'm assuming there is a fixed number of images to fit into the layout which makes the problem a lot easier. Otherwise a bin-packing approach might be warranted.

Somewhat related, I came across an interesting method to resize images called "seam carving". It uses a dynamic programming approach to remove rows or columns that seem uninteresting. The end result is that the important parts of the image are retained when the image is resized. The wikipedia page is fairly good: http://en.wikipedia.org/wiki/Seam_carving There are nice demos on Youtube as well: http://www.youtube.com/watch?v=6NcIJXTlugc Now imagine doing this on the front-end (might be possible now in real-time) and the layouts this would allow!
I honestly don't care about the NSA stuff. There are real issues in society that I actually get fired up about (poverty, education, intellectual property, and the like). Government surveillance isn't one of them. Privacy isn't really one of them. SOPA and ProtectIP really mattered to me. This didn't.
None of the current UNIX descendants are all that similar to the original UNIX in the first place. Every single one have tried to improve on UNIX.
Hey HN,

I built the initial app for my wife and decided I'd put it out there as a small product for others. The sales process is very "MVP" and manual right now (email & paypal), but besides that, I'm happy with the app itself.

If you'd like a demo or have questions, shoot me an email.

Thanks,
Paul
Something something security by obscurity something something.
Nothing ever beats GWBasic.
Of course, neither of those approaches solves the 'ass-' problem, which is possibly a red herring.
Though it's a weekly publication, I still consider The Economist the best source for world news. Even if they did hype up Paul Ryan to no end.
No offense: the centering topic is really well covered right now (if you meant to use JS). If you can't resize you're example is really empty in solutions. Plus, depending your target, you can use flexbox and achieve the same with 3 lines of code.
I would recommend you try reading hn on a mobile device. Apps allow to tap a comment to hide the whole thread, which make it really easier to cycle top level comments (this one is actually the third)
Two serious problems with this essay. 1 Tim 6 doesn't say that the love of money is the root of all evil. The Greek says that the love of money is the root of all kinds of evil, as in the sense of "all sorts of different kinds."

Secondly, guilt as Watts defines it simply does not exist in honour-shame cultures. It's a very Western thing and a very recent thing in human history too.
In the west, men are typically expected to provide for women.
"What is this 'rest of the world' you keep referring to?"