skysight-inc/HackerNews huggingface dataset:
In my experience, setting a handler for every onresize event can lead to performance problems if you've got a complex layout. It's better to wrap it in something like Underscore's throttle function (1) and only let it fire every 200ms or so.

1: http://underscorejs.org/#throttle
Jobs | Hacker News
The initiative has been criticised for lack of a clear call to action many times, not least here on HN. If the response was really lukewarm (the contacts to legislators and political representatives looks pretty good?) maybe it's a consequence of that.

I personally have never really liked the framing of the campaign. "The Day We Fight Back"? As if anyone's going to solve this problem between breakfast and their evening snack?
I realize it has a connotation of 'a day on which we start fighting back', which is clearly clumsier as a slogan, but I think building up the expectations on a single day is a bad move in this context. To me it seems that way the initiative gets more fragile than it needed have been.

My respect to the people arranging it though. It's great to see activism protesting these crimes. Keep it up!

Today Is A Day We Try To Take A Sliver Of Our Spare Time And Do Something About Mass Surveillance, and so is every tomorrow until success.
Projecting much?
Oh please.

HN had a header.

What more do you want?
Really precise and in-depth article, props.
Am I the only one who think the layout of Yahoo Food and Yahoo Tech is much more difficult to read than linear ones like Reddit or Hacker News?
It's also an example of why it's poor practice to teach the gifted along side of lower performing students -- they realize they can get by easily without working hard and it becomes a habit.

Ideally, the gifted should have their own programs where they are forced to compete with other exceptional students the entire time they're in school, rather than follow a program meant to pander to the lowest common denominator students in society.

Also, I'm with you bro, fell into the same trap. It sucks.
Skipping a year worked very well for me.
Anonyfish – Private-messaging for Secret
Entertaining to read all the comments on this thread. Great article and as a former investment banker, yes so true, really no difference from, what I observe for SV startup accelerators, and an investment banking approach of hiring the best. I guess the same could be said of other elite professions such as law etc. With respect to other derogatorary comments on this thread, about bankers and MBA's. I suspect most are written by people attempting to self justify there choice of startup vs a traditional careers. Good laugh re: the comments about the social utility of startups vs banks and how unproductive to society investment bankers are. But face it without these investment banking "parasites" who add no value to society, most startups who need to raise capital wouldn't exist. Anyway back to work on my bootstrapped startup!..
Show HN: Flippy Bird, compiled to JS from Java using GWT
I can tell you why people are scared of corporations. It's because they transcend nation states and hence democracy. They can pick and choose from different jurisdictions for different purposes. Pay taxes here, use good infrastructure there, conform to environmental standards or labor laws in one country whilst exploiting broken political funding rules in another one.

I can't say this is always bad. Sometimes it helps us avoid authoritarian ideas that various governments subject us to. Sometimes it leads to cheaper goods and services for all of us. But it is definitely scary how large entities controlled by a small wealthy minority wield such disproportionate power.
It actually uses libraries: one for DOM traversal and another which provides a canvas. It's just that they are typically readily available in modern browsers and you have to go somewhere else to see the sources in a programming language. Perhaps "software rendering" would be a better word combination. Would be interesting to see similar projects in other scripting languages (Lua, Python etc.).
I made DM for Secret
This is returning a 404 now. Does anyone have a mirror?
I saw this before, and the explanation is quite simple: the picture change is itself a post (seen by X people), but Facebook adds up also the previous likes to the picture. So only 2 people saw the post about the profile picture change, and the likes are total to the picture.
The investment banking industry basically invented the concept of OPM (other people's money) in the 1980s (okay, I'm sure it existed before that, but the 1980s was when it became a buzzword).

A great read if you're interested in learning more about the history and operating procedures of the sales & trading side of investment banking is Traders, Guns and Money by Satyajit Das. Its sections on credit default swaps and collateralized debt obligations are particularly interesting when you consider that they were written in 2006, pre-crisis (around the same time that Leveraged Sell Out was getting started, in fact).
Linux is obsolete (1992)
As someone responsible for dozens of servers and 100+ vm's: The "tried-and-true" init solution is utter shit. It's duct-tape and band aid.

The current init solution does too much. Not in initd, but in the massive mess of scripts piled on top of it to get a working system.
I have had fairly good results just use it for data/calculation stuff that I need or using it without justification in a side project. Even if what you're working on is in X, do a bunch of your experimentation in Y. It costs more for the side project, but if you're not terribly concerned about the pace of the project then it's a net win. Practice new skills and have a presumably enjoyable task within which to practice them.
Financial pain. We forget how powerful this is. We have shown that we collectively can protest by adding a bit of JavaScript to our webpages and some of you called you senators. Great start, noble, but I guarantee that nothing will change.

What really hurts is loss of revenue to global companies. We need to collectively boycott firms until THEY resolve the problem. It is their tax write-down lobbying donations that keep these jokers we call senators in power.

If we really want to protest against say, monitoring, then we should be building free tools for people to easily move their email away from GMail or building something better than email as an alternative.

If we want to discourage Concast from throttling Netflix, then we should all collectively dump Comcast and move to a company that promises they won't.

If we want to discourage the NSA then lobbying government as individuals isn't going to cut it. That horse has already bolted. That horse needs a bullet to the head. Corporations are the only entities powerful enough to stop government. We need to empower them to fix the problem.

We think that protesting within the confines of the system will work. It doesn't. We think that protesting in the street will work. It doesn't (Iraq War protests anyone?).

It works outside the western world because they aren't kept within what I call "the sheep bubble". Western governments know how to keep the people within a bubble that provides just enough comfort to keep the vast majority happy. Places where we have seen revolutions haven't maintained that bubble.

Since we don't have direct control over the bubble in the western world, we have few options for collective revolt.

I would like to see this (very cool) system that you have collectively put together for yesterday's protest, to be pivoted and used to actively boycott companies that we collectively see as damaging to the us sheep.

Then we become the wolves.
Up yours flappy bird this is flippy bird
Here's my tribute to flipping the bird!
+1. The few women with high testosterone are also better are building muscle, have higher sex drives, and female babies with high testosterone are less interested in faces than things, much like male babies (Baron Cohen at Cambridge, let me hunt a link if you need it)
If I were building something to handle webhooks I'd probably have a really minimal API which just takes the message as it comes in and then queues it for later processing - that way you can either decide to let the queue back up, or add some more workers.

Having said that, I'm pretty sure GitHub publish a list of their public IPs, so you could also limit what is allowed to call your API.
Thanks for the information about this. I didn't know that md5 was quite that easy to fool. The hashes have been duly changed to using sha256sum. I'll file bug reports for any md5 hashes that I see in future.
The fact that Google/Yahoo/Facebook/Wiki didn't promote or get involved with this REALLY hurt the cause...

To many (read: The Majority) of people the above companies are the internet. In the same way the people who think this way used to think AOL was The Internet (Capitals important). It really is sad that this seems to be true and that a couple companies have so much influence on what the internet is and does. But it really did make it easy to downplay the whole thing by saying "If it was so important why didn't Google get involved?"
Seeing that in the list of events to listen to was probably the thing I was most excited to see, I'm looking forward to seeing where that API goes!
Yeah, except systemd is a more a collection of daemons and tools under the same umbrella (and project repository), than a huge monolithic PID 1 daemon. It's even described in the chart you linked.
You might not work any less hard, but you'll certainly take more risks if you don't experience the downside.

Answer quickly - how much of your net worth would you risk on a bet with 1% chance of a 1000X payout? Now how much would you risk if you can hand off 90% of any loss you take to someone else?

The difference is what we call moral hazard: http://en.wikipedia.org/wiki/Moral_hazard
-no-cpp-precomp: the compiler flag that time forgot
How to learn C++ in 21 Days
Hence the UNIX wars.
A few thoughts...

- I think you'd do well to have some sort of interesting demo on the page. You've got a pretty UI but there's nothing to demonstrate the quality of the product. Could be screenshots, video, whatever. Some sort of live demo would be ideal.

- You're in a weird gray area in addressing your target audience. My guess is most people who are familiar with the term "web scraping" are probably competent enough to write their own for whatever purposes they need. You need to clearly communicate the value proposition to non-technical people. "Data acquisition"?

- "Paid webscraping service" screams scammy and spammy to me, even if your website doesn't. You need to be up-front about your policies on robots.txt, respecting privacy/copyright/not (accidentally) DDoSSing/good Internet citizenship, etc. etc.
Well -- most of the time when we spin up (spot) workers we are not that price sensitive, so we keep them in the same region as the main DB cluster is in.
I forgot "the web-scale database" with stop-the-world write locks and syncing-buffers-is-not-my-problem and other innovations.
Perhaps we should attack the system with a... Banana! (Or a handful of Logan Berries)
Oh, I don't mean for the purposes of security, but sites thinking that they're protecting their content in some way by dropping in a future jquery plugin or whatever that disables the console, and suddenly the hackability and usability of the web becomes much less.

Another place where you see this sort of thing: banks that try to prevent password managers from filling in your credentials (also I've seen a few recently that try to prevent you from pasting in your password).

There is a tradeoff there too: like this Facebook trick helping save some users, bank tricks probably help some users from accidentally saving their bank credentials on some public or shared computer, but it makes it really annoying (or not possible short of opening devtools and setting the input box's value manually) for those of us that want a unique and more-or-less random password for each site we visit.
I lived through the UNIX wars, where POSIX doesn't mean a thing because each UNIX has its own version of standard and most complex applications still required OS specific APIs anyway.
I would take MOOC courses on my favorite programming language (JAVA).
> reverse burnout

This is also known as "boreout".

(However, I can't find evidence that "boreout" is a well-known word outside Germany. So maybe it's just one of our many German inventions of pseudo-english words.)
Apparently blaming other people (in my case for 'not pulling their weight') is actually one of the clinical symptoms of (upcoming) burnout.
I was actually wondering the same thing! It was posted by one of his employees, and he mentions HN in one of the comments of the post. It's likely entirely cynical of me, but I can't help but wonder if the marketing folks are made to submit his blog posts to HN and when this one got traction and negative attention they collectively flagged it.
I would indeed not trust any OS that allows you to erase the root filesystem without at least asking for the superuser password :)
Do we know that there aren't members of Congress watching Reddit comments? I would at least expect political consultants to.
Calories in-calories out declare the upper bound. No matter what vitamins you take, you can't make body produce more energy that it takes in, or else something in thermodynamics is seriously broken.
>> "Not only that, but the bitcoins themselves need solid liquidity before becoming a feasible currency. That's impossible with the impending cap."

How does that make you feel about dogecoin's decision to allow 5% inflation per year? It's currently the third largest crypto currency (behind Bitcoin and Litecoin) and I think most highly traded coin. Does the inflation make it more viable in the longterm as a currency people will actually use and not just hoard as an investment?
The problem is that Google would probably closed down if they implemented security which cannot be circumvented, even with a warrant, because they would break the law.

There are many laws and long standing rulings which force companies/people/.. to cooperate with law agencies. So, as it has been stated many times before, the solution for these things is political, not technical. Law always trumps programming and law is influenced by politics.
The problem is not that they're shell scripts. The problem is that they are not constrained in a way that makes it possible to parse them easily and know what the state of the system is expected to be before and after processing.

Instead you're forced to blindly execute them, and hope the script handles all the appropriate corner cases. In 20 years of maintaining Linux servers, it rarely goes more than days between situations where I come across init scripts that fails to account for some situation in ways that causes me aggravation.

It's not uncommon to come across init scripts that regularly fails to stop a service because it has no proper way of determining which pid the process has, for example.

Just the other day I had to deal with a server where the init scripts happily let 3 instances of a server process trying to operate on the same dataset; thankfully the app locked the files in questions and were just screeming bloody murder in its logs, but they were also all three competing for various resources. The init system of course had absolutely no way of telling that something had gone wrong.

The only solution to have a sane server setup with SysV-init is to not use it for anything but the basic tasks and to start a proper process monitor. Then I'd rather just get rid of init entirely, since you're pulling in a bunch of other code that can do almost all of init's tasks anyway.
The Economist for world and business news.
Planet Money(podcast) for help understanding news about world economics.
Nature.com for articulate reports of the natural sciences. I've started reading nautil.us, and have nothing but good things to say.
wartard.blogspot.com is a little aggressive, but I still find it the best source for understanding military intention.
> DuckDuckGo, which were listed as organizers, did nothing to their homepages.

This is factually incorrect - the Duck was (is still) being watched by a surveillance camera.
Surveillance is censorship.
But it's not like they started bidding on these at 10cents on the dollar and have pushed them all the way up to par. If you look at the transaction data, starting from 2009 the prices have always been round the 100 mark, give or take a percent or two. And why wouldn't they be? The Gov has guaranteed all of these!
Those are people who do not vote for representatives in the United States, just as people in the United States do not vote for representatives in other countries.

Those people probably carry some weight with American companies with which they may or may not do business, so that's probably their most likely angle of attack to effect change in the US.
IOS Flappy Bird Clone Source Code
I was one of guys behind sopablackout.org, one of the larger players in the sopa movement a while back. I think that the main difference between the effects of this protest and the sopa protests, is that for sopa, sites quite literally blacked out their pages for the day. You couldn't ignore the message. This time, the popup/message was less in your face. On HN it was a small piece of text at the top of the page. I didn't even see it on reddit.

Yes a lot of call volume was made, but I think the general public didn't really know it was happening. With SOPA, sites went black. Content became unavailable. Users didn't get what they wanted, so they tried to figure out why.

70,000 calls are great, but the that makes up a minuscule portion of the elected officials' demographics.

I think the largest problem here was that the campaign's objective was contacting representatives, whereas the SOPA's objective was educating the public. One lasts a day, the other is sustainable.
I argue that shell scripts became more complicated because of quite the opposite of what you're claiming. The original Bourne shell already supported, piping, control structures, etc. So people thought, hey, why design a new init system that does everything properly when we can just push all this logic to shell scripts and have them act as glue?

It's the perfect example of "worse is better". They chose to keep the core init system simple, but as a result everything else became a complicated mess that doesn't handle corner cases properly. vidarh's comment is spot on.
Breaking Row Boundaries in a Fully Justified Tile Layout
85 thousand calls is pretty awesome, actually.
> But you get to force upstream authors and distribution developers who would like to be able to use something else? Sure.

How is any upstream developer forced to rely on systemd?

How is any distribution developer forced to rely on systemd?

The only people who are forced to use it are people (like me) who aren't prepared to put in the work of doing something else.
@samStave--Want to come work with us? :).

Secondly, the pay-wall is interesting. What would you pay for--? more comprehensive reviews, more camp offerings?

I like the deposit thing. In the Fall, we'll start the 'buy credits now' and amortize over 9 months. For now, summer's only 4 months away.

The social aspect is HUGE--we definitely want to roll that stuff out sometime. I want Camperoo to be the hub of EVERYTHING related to your kids outside of school, and around here social network is sort of a 'dirty' word for investors, but there is definitely a HUGE social aspect to attending camp and talking to parents of kids who attended the same camp and year-round activities...
Because it is possible to get around with just code: http://escape.alf.nu/20

(which I have done, under another username)
If you have no option but to keep the same job and maintain the same old code base, try moderately working on something at home. I say moderately because you don't want to abandon your family or a balanced life, but it helps you learn new technologies and remain interested in the industry. This way, you can keep the dull job that is paying you but still get to stretch the programming muscles. (Having said that, the dull job might be soul destroying! But it's an option...)
XYLITOL :) We use it for coffee, baking, cocktails, Sushi rice and more.

Xylitol has less intensive impact on the insulin system and does not cause a glycaemic peak as strong as you experience it with sugar.

Xylitol is also proven to directly prevent Caries.

There are numerous studies on Xylitol and its benefits - Google is your friend.

How is it possible that in a thread on sugar even after 146 comments nobody mentions Xylitol?

BTW ... Xylitol is for me not a sugar-subtitute because it tastes better than sugar.

In case you live in Germany or EU and you need a realiably source - www.xucker.de. No I am not affiliated with them.
> While the traditional approach may work alright for a static setup like a server that is booted once and stays on forever,

Actually, it's not. Unless the server also has no dynamic resources and nothing in userland ever changes.
Can you summarize here what the original concept was and how it differs from the current implementation? I couldn't really understand that from just the wikipedia page.
> Internet activism is at a high level, universally total bullshit.

I think that not just Internet activism, but political solutions in general are, at high level, universally total bullshit. As you say, the only way people will listen because there is a financial consequence (people are extremely good at selling themselves out of their values). And a way to reliably inflict financial consequence is through business and technology (and occasional media shitstorms, but that doensn't seem to do much anymore), by redefining the optimization landscape people hillclimb right under their feet.
oh yeah--would you give me $20/mo for full concierge access, fully credit-able towards any camp on our site? venmo me the money ;)
So how do you get around it? Or, I suppose more importantly, what else do you have to do to prevent people from getting around it?
Or just going for a bike ride. With the UK's road, that should be stressful enough!
Python for the C# Developer with Michael Kennedy (video recording)
About Unicode in JS and other languages it is still worth to read "Unicode Support Shootout: The Good, the Bad, the Mostly Ugly" by Tom Christiansen [1].

[1] e. g. http://dheeb.files.wordpress.com/2011/07/gbu.pdf
javascript:var i,s,ss=['//raw2.github.com/notwaldorf/dear-sir-or-madam/master/ransom-it.js','//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'];for(i=0;i!=ss.length;i++){s=document.createElement('script');s.src=ss[i];document.body.appendChild(s);}void(0);

Do you really need jquery for this?
If anything, systemd may help rein some of that in but making service files a bit more common across the distros than the various special snowflakisms of each lot of init scripts. Or so we may hope.
Thank you. If you're using Parse as a service, please read this carefully and think about the implications. I loved Parse until they were acquired -- great API and great documentation. Now I would never use them for a project.

Plus, there's the whole Facebook data privacy issue. I've never seen a Parse representative state categorically that Facebook has no plans to data mine Parse customer data (i.e., your customers' data). And I know Facebook too well to trust my customer data to them.
Is Facebook discriminating FB Pages?
Well if you think about it, how is it "bad" at all? I am guessing the "visiting" the site clause means that when you are on the site, don't do anything against out ToS, (like don't hack in to the database! blah blah). So it make's sense no? If a site says that the ToS applies only to account holders (or once you login) does that mean you can legally violate the ToS pre-login/pre-signup?

Yes yes, this whole scenario sounds kinda dumb, but I honestly don't see anything inherently wrong with applying the ToS upon visiting the page. Puts the creator in the legal safe-zone.
I think — I mean, I am not sure, but I strongly believe — that VeejayRampay was simply being ironic.