skysight-inc/HackerNews huggingface dataset:
The focus on "prison as punishment" for some people seems to also mean "complete removal of any dignity". Prison can suck without forcing people to eat and live against their moral values. Do we really thing rehabilitation works better when we show no respect?

I am a meat eater, but this whole discussion is laughable in many ways. I think veganism is a healthy conviction. Stepping on that is likely to just make people more angry and feel more alienated by the system.

A bit unrelated: Back in the days when I had no money at all I lived on rice, pasta, beans, broccoli, cabbage and an occasional glass of milk for 3 months (meat is expensive, at least when your budget is about 1 euro a day) without getting any notable deficiencies (went to see a doctor when I got money). If you provide means for someone to get B12 and calcium (while serving legumes daily) there wouldn't be much trouble catering to vegan needs.
My favorite is Excession. The minds are often more interesting than the humans.
Every time I am stuck behind someone merging at 40 into a 55 I whisper a silent plea for mass adoption of SDCs
iOS: Valuta+, Facebook & Google Analytics
Montage of every surviving photograph from 1826 to 1853
>But people who brandish the "evidence based" argument do not mean that. What they mean is that if X does not behave in a particular way for which it is feasible to design an experiment, then X ought not to exist.

No. It means that if X does not behave in such a way that it is physically possible to design an experiment, X most probably is not a sensible concept for anything other than "the idea of X".

The problem here is that subjective experiences are highly malleable and have never particularly corresponded directly to objective reality without further interpretation. So your subjective experiences are explainable in three possible ways:

* You subjectively experienced something we don't have a theory for yet, but which is part of physical reality. We will eventually figure out how to test it and construct a theory of it. This is very unlikely.

* You subjectively experienced something whose underlying causal basis is so highly complex that the interaction may not be repeatable (ie: whatever you interacted with could be capable of choosing with whom to interact or not, and when). This is extremely unlikely.

* You had a subjective experience that does not correspond to any external reality. This is quite common, actually, and the most probable option.
You should never answer such a question from a police officer. You should respectfully decline to answer.

You should also not listen to me, though I think you'll find the ACLU provides the same advice.
The lack of exceptions forces far too many lines of "if err != nil { return err}", (or worse, a goto) which takes 3 lines of text every time.

If I could go back in time, and discuss one thing with the designers, it would be to fix this.

I'd rather see some kind of Option type (like in Rust) baked deep into the language. Maybe there would be a scheme where you could use these Option types as regular values. The moment you try to use one of them that is actually an error (trying to pass it as an argument to another function without inspecting it first for example), it causes your current function to return an error.

Or something like that. Maybe that's a language design change that isn't going to be worked out in a social media post.

The "defer" mechanism is clunky.

I like defer. Open a file? Defer close it right afterwards in the code. Bam, done! That's nice, and works even if there was a panic deeper in the call stack somewhere.

The idiomatic way to do that in Go, however, can mask errors, like say if Close() returned an error, you might not see it if you just did a 'defer foobar.Close()' Those errors should go somewhere... somehow.
They're randomized to make it harder for an attacking program to find the location of it in a worst-case scenario when a Javascript or similar bug gives it read access to the local machine. The script in this scenario would be able to read files it knew the path of but not browse the drive properly. Without randomization, it would be a safe bet to try things like %USERPROFILE%\AppData\Mozilla\Firefox\Profile\Cookies and be able to pull your cookies for examination. If you can't get the USERPROFILE environment variable, the script could also do C:\Users\Admin\... and replace Admin with common names as well like John, Sue, etc. It also helps make it harder for malware to find. Not much harder, mind you, but it does require specific code to look for the Firefox profile as opposed to a single check.
That's some video quality.
I agree with you, and so do the HN guidelines (as minimaxir pointed out). But it's clear that pleading with people not to do it isn't enough. We have sometimes toyed with implementing a lightweight guidelines reminder to indicate (privately, to the commenter) when a comment is breaking one of the guidelines. I'd still like to experiment with this someday.

Ideally, it would be a community thing and not a moderator thing. The spirit would be, let's all remind each other of the guidelines when we need to. The things that HN cares about, like civility and signal/noise ratio, don't come naturally to an internet forum. We all have to work at it (definitely including me).

Features like that are hard to get right, though, and until there's a good idea of how to do it that fits naturally into the existing site, it will remain prospective. Anyone with ideas here is welcome to send them to us at hn@ycombinator.com.
Well, you would have to introduce it slowly. I lived in an anarchist separatist vegan collective in my time in germany (long story), with the result of me not eating any animal products for over a year. The first time (after 11 months) that I ate meat after that (a steak. bleu) I puked my guts out and had the runs for over a week.

It took about a month of slowly introducing meat before I was back to normal. There are others that made the switch cold turkey without problems though.
I don't own a .io domain although thought about it several times. At least now I know I will not buy one. Thanks HN.
I think the point here is implicit inheritance. There are many interfaces in Go, but you don't need to specify which interface you are implementing. So you can easily implement io.Reader and io.Writer among many others, without extending your type declaration for lines on end.

This means that many standard types in Go implements either io.Reader and/or io.Writer. That's neat. The implicit interface implementation is definitely a language feature, and the libraries are making good use of it.

(That is not to say, you could not do the same in other languages, but you would have to specify the interface they implement rather than just adding a method with a specific layout.[0])

[0] I am not remembering the right term right now.
Consider e.g. traverse, which is a function you simply can't write in a language without higher-kinded types. Several times I've written half a page of code only to realize "that's just traverse" or "that's just foldMap" or so on. In a less expressive language I would've had to leave that half-page as is. Surely that means the expressiveness results in more readable, less complex code?
I find the tone of general acceptance of surveillance in this discourse deeply upsetting.
NEW WORLD ORDER IS EEC,SLOBS AT TOP
> Now what makes this little function so darn useful is it takes anything fulfilling its interfaces (io.Writer and io.Reader).

I've implemented InputStreams from byzantine transport layers in Java that work with the standard library. I don't quite understand what is special about this concept in Go (maybe it's nice for people coming from typeless, messy dynamic languages or nice languages with horribly inflexible and ad-hoc standard libraries like Python and Ruby).
> FOIA Requests are only for organizations, businesses,

so if i create a company/business, then i can do the exact same request and it will not be denied? I don't understand the difference between an individual vs a business (which is owned, and presumably, act in the interest, of the individual).
Totally doable if you eliminate the huge bottleneck caused by marshalling native types in JavaScript into the limited type system of XML (only strings and children).

For example, setting a CSS matrix3d transform on a DOM element currently involves taking a JavaScript array of 16 floats and stringifying it to set the element.style.transform. The browser then takes this string and parses it back into an array of floats. Eliminating these type marshalling shenanigans will make 90 fps far more achievable.
A big part of the problem is that they have rationally come to the conclusion that there will be no consequences for their actions. If they had any kind of fear that they could realistically get in trouble, almost all of the problem would go away.

The problem is operant conditioning[1]. We have created a situation where an action that probably should have gotten most people fired (or worse) is generally ignored (or earns you a paid vacation), and that there is some sort of personal benefit (e.g. margarita machines[2]). We have effectively created a Skinner Box that teaches people that they are above the law. I would expect that most people would eventually be conditioned into socially harmful behaviors if they were placed in a similar situation.

None of this behavior will change until we reintroduce some level of fear-of-consequences. Start actually prosecuting misconduct - even the little things - and a lot[3] of the bad behavior will self-correct.

[1] http://en.wikipedia.org/wiki/Operant_conditioning

[2] http://www.rawstory.com/rs/2014/10/john-oliver-civil-forfeit...

[3] not all, of course, but it would certainly be a good start
Languages without decent compile-time type systems are pg's own blub.
How many lines of Go do you think will be written this year?

50 million? 100 million?
True. And for browsing only, or web-services chromebook (the OS) is as good and fast as it gets!
I don't think internet is what he provides, as an ISP (Internet services provider). He mentioned virtual hosting, so he's probably offering webhosting services.
Can quantum speed code-breaking tech?
GE’s Ultra-Thin Piezo Technology Used to Cool Future Laptops and Tablets
i agree that any request for data regarding an ongoing investigation should be denied - but after the investigation is over, all data pertaining to it _must_ be released publically. This will allow the public to have oversight of the process, leading to better outcomes in the end.
Microsoft patents DAG scheduled parallel linear algebra
You'd be amazed how small a difference 64-bit makes in browsers. And in most apps for that matter.

Source: I package apps for portable use for PortableApps.com. We analyze many of our apps for whether the trade-off of a size increase including both the 32-bit and 64-bit versions of an app is outweighed by the performance or stability advantages of the 64-bit version of a given app. Including the 64-bit version is worth it in VERY few instances. Even then, it won't help most users.
What is better for screencasts: voice or on-screen instructions (no sound)?
I didn't expect to see this on the front page of HN, but I guess I should provide an update.

Looking back, I agree that the car/plane analogy was stretched, but I still stand by this advice. Too often, I see code bloat that simply isn't worthwhile, and I constantly work to correct the problem. Today, we removed backbone.js from our front-end code. The change improved load times and reduced complexity. I'm quite happy with it. It only took a few days, but it will pay dividends indefinitely.

In terms of day-to-day activities, I'm still busy with work[1] and I've continued the same GitHub streak[2]. As blog posts go, this one hasn't caused me much embarrassment.

1. https://floobits.com/

2. http://geoff.greer.fm/photos/screenshots/Screen%20Shot%20201...
> about the prison not respecting Sunde's vegan (...)

The other half of his complaints are about boredom, which is equally non-exceptionnal in prison. And he's been there only 5 months, that's very moderate for someone who's been a fugitive.
This reminds me of a post by Michael Feathers, titled "The carrying cost of code" [1]. Feathers wrote the book about legacy code [2]. I think he makes approximately the same point:

> If you are making cars or widgets, you make them one by one. They proceed through the manufacturing process and you can gain very real efficiencies by paying attention to how the pieces go through the process. Lean Software Development has chosen to see tasks as pieces. We carry them through a process and end up with completed products on the other side.

> It's a nice view of the world, but it is a bit of a lie. In software development, we are essentially working on the same car or widget continuously, often for years. We are in the same soup, the same codebase. We can't expect a model based on independence of pieces in manufacturing to be accurate when we are working continuously on a single thing (a codebase) that shows wear over time and needs constant attention.

[1] - http://michaelfeathers.typepad.com/michael_feathers_blog/201...
[2] - http://www.amazon.com/Working-Effectively-Legacy-Michael-Fea...
Apple rescued them from the previous experience.

If iPhone hadn't happened with its OpenGL ES 1.0 hardware implementation driving game studios to reconsider it, OpenGL would have been dead by now.
That's a good idea. Like so many of these, it isn't obvious how to do it in a way that doesn't complicate HN's minimal UI. But it's worth noting that you'd get this for free if we implemented vote undo, which is something we're open to.
http://download-installer.cdn.mozilla.net/pub/firefox/nightl...
> If languages like Haskell and Erlang gave a competitive advantage, wouldn't we see companies which used them succeeding over those that don't?

We are. WhatsApp generated a flurry of interest around Erlang. Heroku uses it. I'm sure there are more examples.

Google is at this point already a large corporation and probably already in decline (IMO). The tools they use are optimized for interchangeability of mediocre programmers, not for high productivity from a small team. Go is a perfectly good Java 1.4.

(There's Docker using Go, but I think their whole approach is a bad idea).
Caffeine is an amazing substance that has helped drive society forward. For example, coffee houses in England are where the ideas of the Enlightenment were discussed and from where the London Stock Exchange was originally based (Jonathan's Coffee-House[1]).

Caffeine is a central nervous stimulant that increases alertness, reaction speed and short-term memory, not necessarily creativity. If you want increased creativity you are looking at the wrong type of chemical and may be more interested in an area like nootropics or entheogens.

[1] http://en.wikipedia.org/wiki/Jonathan%27s_Coffee-House
> The entire time, the officers' job is to protect themselves and their fellow officers.

>This is unpopular, but I believe it to be true, I think.

Your belief is simply wrong. The risk of dying in a line of duty for cops is quite low, being a LE is not even in the first top 10 dangerous professions. Most deaths are due to the traffic incidents.[0]

>Aaron was a great kid, but the majority of people brought into the station aren't.

Who defines that? Police? Nice circular logic you've got there. Until the court says otherwise they are citizens whose rights should be upheld as much as possible.

Also it's great that US has such upstanding citizens as you, protecting the real opressed minority - policemen. If Aaron would be wearing his shoes, who knows what grave harm could he do to a police station full of armed cops?

EDIT
I digged a little deeper and found out that number of police deaths in the line of duty during latest years had been around 100/year[1].

At least 1450 were people killed by police since May 2013[2].

I don't wish that on you but there would be a certain ironical justice if police apologists like you would experience non-lethal brutality themeselves. Maybe then you would learn something.

[0]http://www.theagitator.com/2007/12/28/how-dangerous-is-polic...

[1]http://www.nleomf.org/facts/officer-fatalities-data/year.htm...

[2]http://fivethirtyeight.com/datalab/another-much-higher-count...
Could not agree more. Any eventuality where access to surveillance data and systems is limited to a select few, I think will turn out very badly.
Walkthrough: Creating a Virtual Service with Ready API
Great for porn, I guess. :-/
Better Python Package Management
Most RAII use cases can be taken with using/with/try/lambdas
> "I give a lot to my fellow human beings, because they are obligations enshrined by law."

In a democratic society, the laws are, broadly speaking, an expression of the voice of the people. The laws of my country of residence require that I give a significant amount of my income, plus 25% VAT on anything I buy. That's a societal choice, and the popular consensus is that it is a fine system, and the lesser inequality and better social services resulting from it make it entirely worth it.
Sorry, I cannot believe this. SQL faster than mmap?!? Something unheard of. And I really do not understand why it should take 3 months to write a single line with an `mmap` call.
Another strategy may be to focus less on the design of the CV, and more on the content. A couple of guides I've found useful are:

Niniane Wang - "How to Write a Killer Resume (for Software Engineers)" : http://ofb.net/~niniane/resume_howto.html

Steve Yegge - "Ten Tips for a (Slightly) Less Awful Resume " : http://steve-yegge.blogspot.com.au/2007/09/ten-tips-for-slig...
Mindfulness meditation found to prevent telomere shortening in cancer survivors
Why Incubators and Accelerators Need to Collaborate on a Global Scale
Any idea on up/down bandwidth?
> Apple did introduce optional GC into its Mac OS X runtime. It received little uptake and was subsequently removed because Apple and its developer base realized ARC was the better solution.

You are telling the story wrong.

The reality was the the GC never worked properly, specially when mixing frameworks compiled with and without GC, leading to core dumps.

There there was a list of corner cases causes by having C as part of Objective-C.

Apple did not introduce ARC because it was little uptake.

They introduced because the GC never worked properly, so devs had better things to do than GC core dumps and ARC is a better approach to the Objective-C semantics.
"it's guru's brought us"?
I think you mean "its gurus brought us".
> You can do this in the current dev tools by setting a conditional breakpoint.

It only performs one of the possible actions, is not extensible and the UI is terrible. So no, you can not "do this", you can do about 20% of it (possibly less so in the future) and stab your eyes out while doing it.

I know about that option, and I'd very much like to stop having to use it thanksbutnothanks.
Comparing Docker and Puppet to VMs is not really fair. How do you configure them at scale? What about failures? That would need a lot more getting into cloud configuration/scripting.

Having started with devops only recently, I find the concept of CoreOS + Docker Containers/Images/Dockerfiles (that are close enough to Bash scripting) easier to get into than learning custom UI/API of custom company to deploy to their cloud.
Your "argument" doesn't answer isomorphic's point, nor makes any sense even on its own. The second option of your false choice is, if anything, an ideal of anarchism (which is what some people in the past or outside of America mean by "libertarianism"), not American Libertarianism. Private property, perhaps the most sacred of American Libertarian tenets, is entirely dependent on being enshrined by law and enforced by violence.

Another most sacred American Libertarian tenet is the notion of personal responsibility and credit, that each of us in a free market is solely and entirely to blame for our poverty and deserve all the profit and wealth we obtain, that in a free society society is not responsible for our personal condition nor us for society's. How does the importance you give to "when in-grained into society" in your straw-man setup jive with that?

Perhaps the important distinction you missed is "American Libertarianism", as opposed to libertarianism in general, which runs the gamut from Ayn Randian worship of selfishness, laissez-faire capitalism and strong private property rights to libertarian socialism and Libertarian Marxism.
ProofHub integrates nicely with Google drive and Dropbox
That's correct. For both stories and comments.
Why I switched from Pylearn2/Theano to Torch7
> Rust is the only language (I know) ...

Have a look at Cyclone, ATS and ParaSail.
A Hybrid Manicure-Digital Nail Art Machine
You're making the common mistake of regarding high quality technology as inevitable. Just because it starts out as only of low quality[0] doesn't mean that it will improve, or fast.

Google Maps directions is pretty disruptive tech, right? Add 10 years of experience, lots of roads, lots of time to gather data, real-time traffic info, and when I ask it for directions from my current location in inner London to a place in central London[1] it still gives driving directions first, even though I switch to transit, walking, or cycling everytime.

But hey, innovation.

0: http://en.wikipedia.org/wiki/Clueless 1: http://i.imgur.com/c7XAuUm.png
Maybe unlike other respondents, I'm a Go amateur. I've written three projects in Go, one of a few thousand lines and two of a few hundred. Also unlike many others, I consider Go un-elegant to the point of being ugly. In other words, I'm no expert and no fanboy.

What makes Go my go-to language for certain kinds of projects (I'll doubtless be using it again) is that it gets shit done. It has the brutal simplicity and hardware proximity (and raw speed) of C combined with the small handful of things that most significantly contribute to make Java better than C: A simple type system, garbage collection, usable string handling and dynamic data structures (arrays and hash maps). Go also has a fairly large, useful library.

Multiple return values often including errors make error/exception handling very explicit and in-your-face. When something can go wrong, you the programmer are forced to recognize that and deal with it as soon as the function returns. That's a Good Thing IMO. Java-style exception handling, by comparison, looks to me like an elaborate language hack for passing the buck.

There's a ruthless kind of efficiency in Go's surrounding philosophy. There's one way to format Go code, you let the utility take care of it and never worry about formating again. The compiler won't tolerate various kinds of sloppiness, such as unused imports.

As somebody else mentioned, in Go, writing elegant code is not a consideration because it's nearly impossible. Well, I'm sure there are "better" and "worse" ways to write Go code, but not so obviously that I'd be tempted to give it a lot of thought. So I tend to just sit there and write code by the bucketful until I'm done.

Finally, the tooling gets the job done, and quickly. I can compile for and across various hardware environments and ship executables that don't rely on a JVM or other external dependencies.
> the opposition isn't just Apple anymore, though they dealt the first blow.

Funny how the technical inability to write a decent GC for Objective-C made them the hero of ARC.