skysight-inc/HackerNews huggingface dataset:
I've lost track of the number of examples showing how fundamentally broken the US justice system is. Corruption, abuse, and just plain bureaucratic incompetence abound, and at any time any one of us could get swept up in it with little to no recourse.

And the worst of it is that there's no sign of it stopping. No efforts to fix the system, only the occasional story of one or two particular cases getting the chance they should have got years ago, and only because of a massive publicity campaign.

It's little wonder Aaron Swartz took his life. Staring down the massive barrel of the United States judicial system, which makes up rules it never holds itself to. It is a system designed to instill hopelessness and despair upon anyone it turns its gaze to.
Thanks. Saving it to the reading list.
My thoughts exactly. A difference between US and Europe is that in EU countries a degree is cheaper (or completely free if you meet some financial and grades requirements), since it is subsidized by the state in many cases.

But I agree with the parent that it shouldn't be a discrimination, especially if you can demonstrate relevant experience in the field.
No, it really wouldn't, not to the same extent. 90%, literally, of agriculture is used to feed animals for meat production. If we were all vegetarian, our impact on the planet would literally be 10 fold lower in these terms.

Historically, your argument is correct, but you're inferring that meat is efficient in the present, when it plainly is not. The planet is resource-strapped, and meat consumption is the main reason. And this is without a majority of earth eating a meat-heavy diet.
Love this artice, full of wisdom:

"you should always listen to feedback but don’t let anyone slow you down”

Plus for those doing sales: "Be insanely persistent but polite too"
ABE will be discontinued on June though.
Yeah, and hydrogenated vegetable oil, food dye, fillers, lego offcuts etc.
Two things stick out:

Catching unused variables is pretty essential, it's easy to shoot yourself in the foot by redeclaring a variable with := inside a block.

>> which means you have to need separate storage for the actual RaceCar and GetawayCar values, either on the stack with a temporary variable or on the heap with calls to new

Maybe I miss his point here, but in Go it's totally valid to just create a new *GetawayCar with &GetawayCar{} in any scope. You can return that pointer from your current method. It's not necessary to explicitly put your GetawayCar on the heap with new(), Go will decide for you with escape analysis.
Homeland Security is laying roots in Silicon Valley
Here is the TSA claim form: http://www.tsa.gov/sites/default/files/assets/pdf/sf95_cover...

I have not made a claim myself, but I found the form because TSA derps made my skis miss the plane because they ALWAYS open ski bags, which seems like the stupidest damn thing imaginable. Skis would be extremely hard to modify for any nefarious purpose, and can't be used to conceal anything. And of course saying "...the stupidest damn thing imaginable" about things the TSA does just demonstrates a lack of imagination about stupidity and the TSA.
Is that an accurate characterization of Silicon Valley, though?

If you're an engineer in a startup you known you're making somewhat of a gamble. But even if you lose, you're not exactly going to be poor. If you're a founder, my impression at least is that the US culture is much more tolerant of people whose business went bankrupt. In Europe you're just one step up from a criminal.
This is awesome... perhaps AdBlockPlus can work on a box that I can sit between my cable box and my TV to block the ads on that too :P
When I saw this post in was on the HN at item #186. I would never have found it without my browser's HN infinite scrolling plugin.

Sure there are some cases where infinite scrolling are a pain. Trying to get to a footer, losing your place, and the sometimes blurred lines between your content and other content make the usability poor.

Those issues can be figured out and I'm sure they will be.
Heh, Poe's Law, etc :)

I guess you could also call it Quantum Consistency.
There are between 7,500 and 15,000 different sales tax jurisdictions in the United States, based variously on overlapping municipalities, school districts, metropolitan transit areas, etc. If one stipulates the necessity of paying out-of-state sales tax, the complexity of the situation makes it next to impossible to comply. Neighboring houses in the same city may have different sales tax rates. There are firms that specialize in just this, but even those can't achieve 100% accuracy.
Eventmachine itself is in kinda unmaintained state. Newer projects are starting with Celluloid and stuff, which arguably offers much easier way to reason about concurrency. I am not sure why they would pick EM as base for ActionCable.
I'm not going to rewatch it, but the facility they visited used uncaged chickens housed in a barn. If you're making a point about the ethics of it, note that even the concepts of "intensive farming" and "humane treatment of animals" aren't mutually exclusive.
Rails Conf 2015 Watch Live
Great piece. Go Portugal!
Quoting from your own source:
>Nearly all foods contain all twenty amino acids in some quantity, and nearly all of them contain the essential amino acids in sufficient quantity.

You don't need to eat meat to get your protein.
I read that the other way around. He specifically asks people to refrain from packaging his software. I think the implicit implication is that he does want sysadmins to run his carefully constructed build scripts in order to install the application.
Does the rail have some flexibility to twist and meet the wheel cone at the right angle, and/or is it pitched to match the angle of the wheel surface? When I look at the tracks and this wheel shape, I see the wheel riding on a corner of the rail, which is obviously not the case.
Indeed, the costs merely get hidden and a lot of system decisions boil down to one of:

1. I saw it done that way in some blog.

2. We did it like that at my last job.

3. Seems like it works.
Exactly - if they'd followed the cardinal rule of "don't piss people off" there would never have been a market to solve this problem... as it would never have become a problem worth resolving.
Let's make ad-blocking the default
Compile Java to JavaScript
HTTPS Forcing Its Way: Chrome, Firefox and Google Search
Undefined Behaviour Canaries
Anyone with a backup? Even archive.org doesn't have it https://web.archive.org/web/*/http://cm.bell-labs.com/cm/cs/...
So it looks like the conflict resolution strategies being recommended are "pick one arbitrarily", or in an advanced section, "keep the longer list"?

Not that it matters to me anymore, but it does sound like having all data in CRDTs is the only way to pass Jepsen. (Or to have your data be immutable, in which case Jepsen doesn't apply.)
Min wage should be increased by certain significant percentage but definitely not by 100% to $15. That is basically saying "no need to study in high school or go to college because you can still make around 30k based on min wage". 30k is a starting salary for a lot of college fresh graduates. This could in-return can also create economic imbalance among classes (abridging the gap between high school drop out and fresh college graduate)
Follow up article: http://www.newyorker.com/news/news-desk/kalief-browder-and-a...

Efforts are being made to quicken this, but little can be done to reverse the damage done to this young.
What about Stephen Harper. Haha. Computer science should be part of all prime minister's knowledge. It brings rationality and analytic thinking.
Mark Zuckberg is worth 34.8 billion $. How much money do you think he saves by hiring "cheaper" H1B workers?
Here's my brain dump on what goes into being a well rounded Sysadmin:

https://sysadmincasts.com/episodes/25-bits-sysadmins-should-...
btw..why on the earth this article is on HN?! Are people comparing tech worker salaries as an ideal model for the entire economic class? I am confused by the upvoters here.
I'm curious (as someone who's only dabbled in Clojure): could you write an Ember app in ClojureScript (or Angular/React/Knockout)? Is it like Coffeescript---i.e. just a compiler? If you wanted to build a SPA in ClojureScript, how would you approach it?
BOOKMARK – The Ultimate List of AB Testing
Excel.

Learn and practice double-entry accounting including how to manage many accounts: payable accounts, receivable accounts. For a personal solution, it can't be beat (IMHO).
Guy trading at home caused the flash crash of 2010
That's why they call it work
> The USSR had control over everything back in the day, though the hard sciences and their people had great latitude and somehow enjoyed more freedom compared to those in other domains.

This was born out of necessity: the hard sciences were the weapons program, first and foremost. Then, there's usually not much to argue in material world from Communist POV. Unlike the soft/social sciences where there's much bigger potential for subversive.

That said, they never had more "latitude" than their Western colleagues. There were waves of crackdowns on supporters of relativist physics, on computer science, on genetics. Korolev, the champion behind the Soviet space programme, died from kidney condition resulting from his prison camp labor.
I wondered, how would this work with an axle-less low-floor bogie? The answer I found here[1] is — it doesn't. “… there is only a single series of trams that have these bogies, later versions returned to the traditional type with axles. … The wear problem is because those bogies don't seem to track as well, they go from left to right in the track”. The implication is that there were people designing rail vehicles who didn't know how they stay on the track.

[1] http://modeleng.proboards.com/thread/4521/chilled-iron-tram-...
> Nuclear opponents propose shutting down old reactors and not building new reactors -- but they haven't been able to find viable economic alternatives to the old reactors

To the extent this is true, neither have nuclear proponents or the nuclear industry; the reason new nuclear reactors aren't built isn't because of nuclear opponents, its because the nuclear industry won't build them without special liability protections. So, clearly, even new reactors aren't economically viable alternatives, from the perspective of those who would pay for and profit from them, to old reactors without socializing the risk while privatizing the profits.

> so effectively what happens is they lobby to keep the old, dangerous reactors running while stopping the construction of new, safe reactors that could otherwise have replaced them.

Old reactors in the US continue to be decommissioned even though new ones aren't being built. Objectively, the market has found economically viable alternatives to nuclear power.
Those case differences have meaning, -r is generally not dangerous while -R is; it's capitalized to make you stop and say hmmm, should I do this. All commands have the same flag language, command -options, and are all easily documented by man command; it quite literally couldn't get any simpler and unnecessary to memorize since you can look up any flag on any command with the same man command. Those who find it confusing haven't spent the least bit of effort actually trying because it's actually very simple and extremely consistent.
If showing games can't bring in an extra 700£/month then it hardly seems worth showing them to begin with.

I can't blame pub owners for wanting to save money wherever they can. But I don't see this as being particularly expensive for the context.
Although I mostly agree with "Returning more than one variable type from function call," I do have some disagreement.

On the restriction itself, I'm fine with returning, for example, any kind of iterable, whether it's a list, tuple, string or whatever. It depends on context, and python is very much an interface/context kind of language.

As for the anti-example given, that code would not fail in most print contexts:

In [1]: a = None

In [2]: print a
None

A better anti-example might have been:

In [3]: for i in a:
...: print i
...:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-3-6fc9adb94b0c> in <module>()
----> 1 for i in a:
2 print i
3

TypeError: 'NoneType' object is not iterable
If there's anything that's worrying it's how eager people are to misunderstand the article in favor of their own preconceived notions. This isn't about competing with SV as a startup hub, but about European companies being about compete with US companies in the local market. Which is a very real problem.

Europe (at least northern) is probably the easiest place in the world to start an Internet company. And we're also quite privileged in our opportunities in the US. If you're not doing one or the other (and want to of course) it's likely mostly your own fault.
Frankly, if you're going to rely on a magic recipe from the web for production, you should absolutely document it locally and go through the process of understanding each commands.

As a former sys admin, I did that all the time. Who the hell can remember how to convert an SSL certificate to load it into a Glassfish app server? Didn't mean I couldn't step through all commands and figure out why it did that before I loaded the new cert... And next time, I just need to go to my quick hack repo for the magic incantation.
10 Reasons Beginners Should Learn Ruby on Rails
It'd probably be much easier to just blur the area of the image where they put it to be honest, I've seen this on streams before, they just blur the bottom corner where the number would show up.
Examining the AdBlock Plus business model
Apoplexia TRATAMENTE NATURISTE
Clustering Node.js apps in production
Am dealing with this situation right now. Apparently
wget -qO- https://get.docker.com/ | sh
as root[1] is the "supported" way of installing Discourse

[1]: https://github.com/discourse/discourse/blob/master/docs/INST...
Curiously the media typically are against immigration of the professional classes, think doctors, lawyers, journalists, accountants, etc. but typically are in favor of uneducated immigration -now industry wants both because it makes the labor supply cheaper, activists typically only look after the uneducated immigrant pool and hardly care about fighting for immigrant professionals.

As an aside, Japan but not Britain does a "good" job at limiting immigration despite the great need for it within their economy. Their bet is that the pain to their economy is worth the stability of their society. I suppose we shall see who has the better answer an open economy like the UK or a closed labor economy like Japan.

Also, this not a phenomenon unique to rich western countries, south Africa, Nigeria, Kenya are also very keen on protecting their own labor markets from immigrant classes. There is a protectionist aspect but its not racial in nature. Look at the Mexican motto "Mexico for Mexicans" and how other Hispanics are unfavored in their economy. Imagine a European country having a similar motto...
Write Like Warren
For those who weren't at container camp in SF last week, the rest of the videos are also available here: https://www.youtube.com/playlist?list=PLcHZXHMeDzxUhStxW31Ct...

I was going to do the demo that Ben does here but ran out of time to download the VM images, so I'm really glad that Ben did it and that he added Compose support into the mix as well :D
Ask HN: Good, cheap web hosting?
Any recommendations for web hosting? Not trying to do anything fancy, just looking for something cheap and reliable to host a couple static sites.
Commoditization Complete: Hands-On with Intel's $150 Compute Stick
Minecraft could help create Australia’s ‘perfect’ national park
A clever comment style
That's a pretty gross statistic. I don't have the reference handy but as I recall if you graph wage growth vs immigration on an annual or more granular basis, there is no significant correlation.
Because the choice of an adblocker should be left to the user. Adblock plus and Adblock both make a lot of money by letting some ads unfiltered in the default settings. That kind of behaviour could not be allowed built in in a browser like firefox. Plus they have the risk of website boycotting the browser, in the same way than website today forbid adblock, but way more powerful because it could be done server side.
I guess it was still very young when you tried it.

Things are better now, there are a couple of good books on clojure, many tutorials and the documentation is good (eg. clojuredocs.org).

I've started learning it about 2 months ago and the hardest thing for me was figuring out which editor/IDE to use. There's a bunch of options - LightTable, Emacs, NightCode, IntelliJ+Cursive, vi SublimeText and Eclipse.

Some work better than others, but eventually I ended up using IntelliJ+Cursive, which provides project integration, REPL and debugger.
I won't be able to use them in portable code anytime soon, but the new feature here that most interests me is __builtin_add_overflow, __builtin_sub_overflow and __builtin_mul_overflow

"These builtins have two integral arguments (which don't need to have the same type), the arguments are extended to infinite precision signed type, +, - or * is performed on those, and the result is stored in an integer variable pointed to by the last argument. If the stored value is equal to the infinite precision result, the built-in functions return false, otherwise true. The type of the integer variable that will hold the result can be different from the types of the first two arguments."

Handling all possible integer overflow with plain C is annoyingly tricky and for some critical paths in-efficient. These built-ins can often do a conditional jump based on the overflow bit in the flags register.
So they got it backwards :-) I wouldn't know I always die of dysentery or snake bite. What I find amusing is a generation of people that think people started writing game software, perhaps as early as the 1980s and that before that, nothing existed. But I recognize in that odd bias my own tendency to think the world in the 50's was in black and white. Interesting how the technology you grew up with becomes the standard by which you measure how the entire space has changed.
Why Process Trumps Relationships in China
Are you looking for managed hosting? If so, http://www.namecheap.com might be what you're looking for.
The Whistleblower’s Tale: How an Accountant Took on Halliburton
Yes, but can it run Crysis?
Recursive is not the default use for grep. stdin-stdout filtering is.

"regexsearch" is more work to type and more space taken up everytime 'grep' appears in a command-line. And says nothing about recursion.
I thought the strategy was not to tell them?
As someone who's done the bulk of the work for Action Cable, I wanted to clear the confusion re: cable and eventmachine. Cable is currently using EventMachine because it uses faye-websocket for dealing with websockets. And Faye is one of the very few well maintained ruby library dealing with websockets.

And in fact, Action Cable uses Celluloid threadpool to run all the application code in threads. So the model is a combination of EventMachine + Threads.

There's absolutely no reason it can't use Threads + Celluloid all the way. But building on top of Faye was the simplest way to get things up and running.
Ledger [0] (or any of its clones; hledger, beancount, etc.) beat Excel for this, as you don't have to implement the logic for double-entry accounting (or accounting for different commodities/currencies) yourself.

[0] http://www.ledger-cli.org/
in other words: "unicorns considered harmful"
Those cheaper power sources are coal and oil, right? Doesn't every discussion of nuclear being with the assumption that controlling carbon emissions are the real goal?
There's nothing wrong with curl | sudo bash style setups as long as it's over https and the certificate gets checked.

The advantages are that it's easy and you can make it work on almost all unix-like systems out there.

The only disadvantage is that you have one additional weak point: The server can get contaminated. Before you had to contaminate one of the many developer machines / build machines.

The situation hasn't been better before. Install media always got downloaded without ssl encryption or any certificate checks. This is still the same, but at least you won't get a hacked kernel today if you use secure boot.
Being a few years gone from working purely in tech, and having a decade of OSX desktop usage finally made me feel I'd gotten complacent. So I installed OpenBSD. Two things of note have happened:

1. I routinely need to look things up that are a bit murky in the deep recesses of my memory.

2. I am reminded continually of how nice it is to have man pages that are well written, are easily searchable, reference appropriate other pages, and are helpful enough to remind you of big picture considerations that you didn't realize you were facing when looking for a commandline flag.
That high school kid needs to install a web server. Is he going to hire someone? No. He's going to copy a curl command.
You don't need a D.V.M. to know what animal cruelty is, and you don't need a Ph.D. to determine whether the human participation in your experiment is unethical.

We don't need more gatekeepers dictating morality to us.

The abuses demand oversight, it is true. But that oversight does not require professional qualifications. Something that shocks the conscience of a Nobel laureate will likely also shock the conscience of high-school dropouts. The very same peer jury system that is capable of condemning a criminal human to state execution or awarding millions of dollars in civil restitution can certainly determine whether a method of sacrificing research animals to science is acceptable or not.

The same public concerns that led to the retrofit of commercial slaughterhouses with more humane Grandin animal handling systems can be applied to research animals. My suggestion is this: for any given experiment that involves potential harm or injury to animals, assemble a randomized, unbiased, volunteer jury of at least 12 people. Explain to them the goals of the experiment and the protocols, and the proposed animal involvement. If no more than 25% of the jury objects, the experiment may begin immediately. Otherwise, rewrite the protocols and try again. Ethics approval could take days instead of months.
IMO here's the best "devops manifesto" out there:

https://github.com/chef/devops-kungfu

https://www.youtube.com/watch?v=_DEToXsgrPc
Pilots?! Where are the aircrafts?
Benefits of daily exercise for your mind- the Helpful Habit Series
Apple.com Through the Years
Learn to automate. Script.
Perhaps because it's metal they couldn't x-ray it properly?
What are the low-wage jobs that are currently protected that TPP would open to competition?
Sounds wonderful to me!
OTCA metapixel
If it works out, wouldn't the utilities do it themselves? Why transmit that power for miles and then transmit it back. And even if they didn't, arbitrage means the price difference between times would fall as more people do it. Peak prices would move closer to night prices as demand equalizes between the two.
Ask HN: How can I find HN posts by URL?
I plan to build a Firefox extension that will find HN posts for the URL I'm currently viewing.

Something similar to: https://github.com/powerpak/hn-sidebar. http://tedpak.com/2013/03/20/hacker-news-sidebar-a-chrome-extension.

The way this extension does this currently is by using the Algolia API's query method and filtering out results that have the same url.

https://github.com/powerpak/hn-sidebar/blob/master/script.js

Is there a better way of doing this?
But traditional foods in America included beans, corn, squash. Presumably to get a reliable source of protein. The natives weren't dieticians; they ate that because villages with that tradition thrived.

So protein quality and quantity can't likely be insured by eating any old vegetables. Its not as simple as 'don't eat meat'.
HP's long-shot bid to reinvent the computer