skysight-inc/HackerNews huggingface dataset:
It would be nice if this distinction was stated unambiguously on the front page

here's the license if you were looking for it like I was

https://github.com/nnnick/Chart.js/blob/master/LICENSE.md
Onarbor does have "Sites" that are representative of all the major grad schools departments, e.g., Biology, https://onarbor.com/sites/biology
When was the last time that a unit test caught a race condition ? When was the last time a unit test caught a contract violation (one subsystem doesn't agree with another about the semantics of a piece of data) ? When was the last time a unit test caught the use of an O(n^large number) algorithm in a production system ?

Unit tests verify if the programmer's understanding of the code matches reality.

That's all. Not saying it's useless, but a) it's at best a start of proper testing, b) insisting on coverage is beyond useless.

What is needed is a test if the programmer's understanding of the problem is up to par. Since that's impossible, let's go with the programmer's understanding of the whole program : system and loadtests.

Unit tests, while useful for TDD for "fiddly" code, are useless to guarantee correctness of an application. System tests are better. Proper type system abstractions are best.
What is UGC?
The solution I use for this is that when you run a rooted phone you can set tor to wrap the socket interface for almost every network enabled app without that app breaking.
I converted from slashdot. Just more news and better discussion on here. I also enjoy the simplistic design. News and text first.
If someone doesn't like following rules "just so", my guess is they would/could/should have invested their retirement money in a nice cabin in the woods or a penthouse in the urban jungle, depending on their particular non-conformist bent.

If trimming hedges, conforming to someone else's ideal of hedge-height, is not your cup of tea, then why would you want to waste your golden years playing the angry old man (or woman) in the first place? Life is too short, especially at that juncture, to be wasted on rule-rage.
Here's what he submitted to Congress:

http://www.patentsmatter.com/issue/pdfs/JohnsonSenateJudicia...
Isn't that what SOAP is for?
You forgot the poll jokes, you insensitive clod!
Subreddits have a lifespan, they grow to a certain point, eternal September, and then become husks of their former selves.
To be fair Real World Haskell was written in November 2008, and IIRC that syntax was valid up to GHC 7.6.3 (needs citation) or 21 April 2013.
Just curious : how does one run go without a linux kernel ? (without a kernel at all, please, I know about the freebsd port)
Ahhh, no. Amazon should not be downloading tens or hundreds of gigs a month without telling me or giving me a way to shut it off. Regardless of your feelings about bandwidth caps, there's plenty of situations that might present a problem with that—shared connections, metered connections, and half a dozen other things i'd rather be doing with my internet connection in the middle of the night than having it download shows my kid watches.
user generated content.
What he means is, instead of having a file you name

myscript.js

you name it

myscript-[sha1 hash of contents].js

and you set its cache header to expire at some improbably point in the far far future. If you should happen to update the contents of your script file- the sha1 hash will change, and thus its name and its cache entry will also change, in lockstep with its contents. The only fiddly part of this approach is you must also update all references to the new version of the file. If you're clever you can automate this with templates and build systems.

What this guarantees is that if your index.html and app cache manifest refer to myscript-[some specific sha1], you're guaranteed that the contents of the script are consistent with what that index.html file expects there.
Since concurrency and composition are important, why doesn't Go have support for immutable variables and monitoring/linking ? These are features proven to make it easier to reason about concurrent systems and to manage failures in a distributed system. From what I can tell it is completely impossible to implement supervisors in Go.
Note to self:

If I need to publish something and have it remain completely anonymous, convert it to ASCII TEXT. That is one of the few formats I understand well enough to be CERTAIN that it is free of metadata.

Now all I have to worry about is how I can anonymously publish it, text style analysis, and how to include diagrams without resorting to ASCII drawings.
The Rise and Fall (mostly fall) of Primal Computer
Battery University: know how to handle your phone and laptop batteries
Security at scale at Google [video]
We're really talking about users adopting containers that have been there in BSD and linux for 10 years now.

Is now a good time to explain why SysV shared memory syscalls were never wrapped and are thus shared across all jails in FreeBSD? :-)
Things You Need To Stop Doing To Be More Productive, Backed By Science
This boat is also where we get the name "Dorade box" which is a design of deck ventilator which catches the wind and directs it through the deck of the ship to the cabin below yet rejects any captured water.

http://en.m.wikipedia.org/wiki/Dorade_box
I doubt they're really opt-in, in the face of a hack. Having your car still connect to the network means that they can activate a new account instantaneously and without user intervention. It means they could potentially sell non-subscribers on a car unlock right on the spot, rather than saying, "tough luck, you should have subscribed to our service, after you get a locksmith to unlock your door, call us back and we can help stop it from happening again."

I would bet five Zimbabwe dollars that most systems of this type can be used to control the cars of non-subscribers if taken over.
Youtube founders have talked about this. They definitely had a "fake it until you make it" approach. I seem to recall they paid attractive women to upload videos, among other sketchy schemes.
Intriguing, apparently the majority of people access HN from school!? I thought us students were a minority here. It's also odd that India ranks so highly for slashdot...it's been a running meme there to remind posters not to keep a US only perspective.
Glad to see Google pushing Dart for the server side. It hasn't got much adoption on the client side - and I'm doubtful that it ever will.

The I/O classes and functions in Dart's standard library are well designed, and similarly to how Node works, they all use an event loop. I've done basic benchmarks on TCP server performance in Dart and Node, and Dart's performance is definitely comparable to Node.
Occam's razor is a good heuristic for choosing physical laws, but not for human behavior. It's very common for behavior to be driven by two opposing instincts.
This is a great article. Thanks for posting it!
the idempotent "panic" button on my cars key fob

Hmmm, mine actually isn't--one hit turns panic mode on, the second turns it off.
I'm torn about this. In some ways, I can see how mental health issues can be detected which can hopefully help us avoid these horrifying events (mass shootings off the top of my head). But then again, I can see how the Army or the government in general can control any type of popular uprisings. FB, Twitter, etc have given us tools to connect and join in efforts to fix what is wrong (I'm thinking the Middle East though that can be said about the Tea Party or even Occupy movement). If the price is right, FB can hand over that power (i.e. NSA) or through these secret courts, the Army/government can have direct control of FB. It's crazy to think that this only occurs in countries like Russia and China but wake up America! This is happening here as well!
To understand a language, one must know what problem it was designed to solve. It isn't always obvious, or what it initially looks like it was designed to solve, or even what the community thinks it was designed to solve.

Erlang, for instance, isn't about concurrency. It's about reliability.

Go, I think, is also not about concurrency. It's about building a language that can be sanely used by reasonably large groups of people of varying levels of skill, yet still produce fairly good software even so, without the language forcing a complexity explosion to deal with it.

Consequently, this does not appeal to a lot of relatively skilled programmers used to programming alone. It isn't my personal pick of favorite language, for instance. However, if I could push a button for free, I would convert my workplace of a couple hundred developers to it in a heartbeat, whereas I probably wouldn't actually do that with my favorite language. It is not, of course, a magical fountain of code quality, but it would give me the best tools and best foundation to clean up code bases that in all the other candidate languages I know are one or another sort of mess.

If I were starting a new startup right now and Go were even remotely appropriate, I'd use it. But in my hobby projects? Not really. Except maybe to smash out a microwebsite, it's pretty good there.

So, you know, a lot of the question is what exactly are you looking for in a language? I like Haskell, but the idea of even proposing to change a project at work to it is laughable... and this is important... nor would I expect to enjoy the result two years later if I won. The mess of code that would result from people hitting Haskell with a stick until it did what they wanted it to do would be an unstoppable torrent of ill-conceived code. On the other hand, Go would almost certainly produce much cleaner code, because that's where it really shines. Maybe it isn't "good", but it's the best choice right now in a lot of places.

(It's interesting to contrast Go's approach to this problem with the other major language to tackle this problem space, Java. Despite attacking the same problem, the approaches are significantly different, and I think Go's way better. I'd hesitate to actively predict this, but Java could definitely be feeling some heat from Go in three to six years in a way that very few languages have actually managed to provide any challenge to Java in a long time.)
Very cool. Good luck to you and look forward to checking it out!
What are the odds of something like this becoming core to how the IETF writes it's recommendations? Is this an actual attempt to address the surveillance issues that have become so prevalent, or should I not get my hopes up?
I use Stylebot to modify sites' CSS.

1188 stylesheets and counting.
This includes things like:

* the hacker
* facebook hacker
* news hackers

Which don't seem related.
> What's the reasoning there?

Startups! Kewl!!
> The patent system is not designed to encourage innovation.

Hardly designed at all. The modern patent system goes to the 1600s when some boring king made some annoying promises that he had to compromise on:

By the 16th century, the English Crown would habitually grant letters patent for monopolies to favoured persons (or people who were prepared to pay for them).[13] This power was used to raise money for the Crown, and was widely abused, as the Crown granted patents in respect of all sorts of common goods (salt, for example). Consequently, the Court began to limit the circumstances in which they could be granted. After public outcry, James I of England was forced to revoke all existing monopolies and declare that they were only to be used for "projects of new invention". This was incorporated into the Statute of Monopolies in which Parliament restricted the Crown's power explicitly so that the King could only issue letters patent to the inventors or introducers of original inventions for a fixed number of years. It also voided all existing monopolies and dispensations with [some] exception[s]....

above quote background:

http://en.wikipedia.org/wiki/History_of_patent_law

and specifically

http://diyhpl.us/~bryan/papers2/Generally%20inconvenient:%20...

> The way to have true patent reform is to abolish patents

That is an interesting idea, but I can't think of a way to make that work. Alternatively, I wrote a proposal where patents are divorced from science and technology, so that entrenched interests still have something: https://groups.google.com/d/msg/openmanufacturing/vS4ju1VqXb...
How does one become Xamarin certified from Australia/Malaysia?
Interesting response... Do the multiple people downvoting not realise that even in Go a null dereference might trigger some sort of automatic reset in your server process (if the unexpected panic is only recovered by some high-level generic error handling logic) or even crash the program entirely (if you didn't have anything up the stack that recovered at all)? Or maybe not realise how these kinds of behaviours might allow denial of service attacks?
Thanks for the post. I still don't completely follow your example of the client you could write for me. Can you recommend any articles that go into more detail on this with examples? The level of abstraction in Roy's article was difficult to follow.
Isn't the C equivalent of a slice just a struct containing a *T, a length and a capacity?
Show HN: A lightweight music webapp we built in 12 hours
A buddy and I decided to hack on this little project this weekend, putting in about 12 hours. It's running Ruby on Rails, deployed to Heroku. We tried to keep things super lean with different gems handling user accounts, mailchimp for an email list and super lean styling/layout. Everything should work well enough on mobile devices, too, so give it a look!

Right now the magic all happens via the Soundcloud API (of course), but we're exploring different ways to make this appeal to a broader audience of music listeners. We'd love your feedback!

Here's the site: http://www.mvsic.co

Feel free to register so that you can favorite some songs and curate your own playlist!
New N.S.A. Chief Calls Damage From Snowden Leaks Manageable
Silk Road Tales: Oracle’s Memoirs
I (really do) hate posting this but I swear every single "REST" or "RESTful" or "REST-ful" API post I see, there's always that guy that chides it for not being pure or REST or "-ful" or something. Do we really care that much? Does the API work? If so, move on...
FYI, to create a set in Go you can also use struct{} for the value. map[something]struct{}. The value takes up zero space then.
Given a choice between unlimited data or net neutrality, I would choose net neutrality. The argument behind 'fast lanes' is that netflix et al need to pay for bandwidth while we are just paying for access. I would much rather pay a metered rate and have it clear that the ISP should not interfere.
Netcraft now confirms: Slashdot is dying.
As someone who's spent more time than I'd like to remember improving type class error messages, this sentence boggled my mind. Then I remembered what C++ template error messages are like and it all made sense again.
> I can deploy my app by copying a single, self-contained binary.

I don't think golang invented static linking. ;)
Agreed, HN is lot better but based on the search terms, Slashdot is at great disadvantage compared to HackerNews. Not really a definite comparison between the both.
How to ace a job interview over the phone
The goals are different.

Welfare is intended to provide necessities. A family with seven kids clearly has more needs, and thus needs more money.

Minimum income, on the other hand, is intended to provide a minimum income. A baseline you can rely on, no matter what kind of situation you find your life in.

Each approach has strengths and weaknesses. It would appear that you favour a welfare system, and that is fine. I'm not sure why we would want to shoehorn minimum income back into welfare though? Why not just stick with welfare if it better fits the needs of society?
Slashdot is a great source of news, but the comments system is "complicated" that's the reason I don't comment.
Few people know better what PG, yourself, and others have done for this site or appreciate it more than me. I've seen lots of threads get penalized or killed and reversed. I know it hasn't been perfect in the past either.

I regret saying anything and I won't comment in the future. Thanks.
The defaults actually just keep growing. Their quality might have declined, but they are only ever more popular than before.
I like the news much better on HN, the comments better on Slashdot. I think HN has more informative comments, but the ones on Slashdot are generally more entertaining... (or at least they were before the beta change caused so many old timers to jump ship...).

I appreciate that hacker news is kept relatively free of trolls, but sometimes it goes a bit too far in my opinion. On occasion, a very clever troll can be quite funny, and there were some hilarious trolls on Slashdot...not so much anymore.

Sometimes I feel a bit of forced fake positivity on HN. People thinking they might get startup points or something if they say the right thing. Which I guess is understandable, but I enjoy a cynical funny from a smart person from time to time.

I don't enjoy reading things like "well PG says short comments are stupid....". Which kind of slavish kiddie crap neither enlightens nor amuses me.

Bottom line, I like both sites but HN is better.
Your first link (http://www.ipwatchdog.com/2014/04/15/do-patents-truly-promot...) is actually chock full of links to studies that show exactly the opposite of your first two sentences. Which is not surprising, considering it's highly unlikely ipwatchdog.com would run an article suggesting anything other than that patents promote innovation.

The study in the second mises.org link is actually a simulation rather than anything directly based on empirical data, and I tend to trust them less. (Not to mention that the mises.org link also lists studies that present a more nuanced view of patents.)

I didn't bother clicking on the techdirt link.

There are dozens, if not hundreds, of studies about patents and innovation out there, and the reality is that the picture is very nuanced. For a meta-study, see "Recent Research on the Economics of Patents", Bronwyn H. Hall, Dietmar Harhoff, (Google for pdf). My takeaway is that any simplistic claim that "patents harm innovation" or "patents promote innovation" is likely wrong.
Avoidable Mistakes Entrepreneurs Make
Imagine a Beowulf cluster of HNs?
If HTTP is a bad fit for RPC interfaces, is there something that is a better fit?
Hm.. wondering if:

/vehicles/{id}/snooplion/hydraulics/bounce

is idempotent or not?
Retirement home for hackers better include many gaming parties, hackathons, game jams, local tech conferences, ... Actually that sounds pretty awesome. How many years until there are enough retiring hackers for that to be possible.
Ask HN: Why No Ajax in HN?
I Upvote a post,the vote count will not be updated. I should reload the page everytime to check the top post and also the number of votes. Why Ajax like techniques aren't employed in HN? Any Downsides of using it?
I think Vim is potentially as configurable as Emacs, but it is harder to do after you get past some basic key mappings and a few plugins.

In all my exploring of Emacs, I never saw a .emacs that wasn't completely tricked out with custom stuff that only works for that user.

Because of this, I believe you are correct - it's easier to work in a plain vi environment since we don't typically trick out Vim like our fellow Emacs users do with their environment.
Definitely! But there are two sides to that. The WordPress way and the not so WordPress way whatever that tends to be. WordPress makes a lot of things really simple by using wrapper functions and making core API's available to help make development easier on the platform. In turn some vital aspects of PHP won't make it into your skill set at least in the beginning. Things like creating a socket for the DB, CRUD and stuff like that. I wouldn't consider that much of anything to worry about though because you would still be learning PHP in the end. The cool thing about WordPress is that the community is pretty awesome and amount of good information you can find is vast. In the end though code is code so just pick something you enjoy learning and working with because the possibilities are endless and eventually you'll be learning something new anyways.
Ikea built a website inside Instagram
"The major players in those industries are not opposed to reform ... but they want it to be aimed narrowly so as to not disturb things in their industries."

Non-disturbance of the status quo?

I'm sure there is a more original definition of "regulatory capture" somewhere, but this is pretty good starting point. What about Patents in healthcare, drugs, science, universities...there are loads of things where the public is paying money to finance artificial mini-monopolies, especially ones extended beyond their initial term by gaming the current system in various ways.
In the Scientific American article[1] it mentions that the electronics are encased in waterproof housings. Regardless, exposure certainly will be a challenge given the environment.

[1] http://www.scientificamerican.com/article/if-poachers-and-il...
With Toyota in its rearview mirror, GM talks fuel-cell cars (Q&A)
The headline is about the boat winning the race, but my understanding is that the handicap is to even the field for sailors, regardless of their boat. So it's misleading to focus so much on the boat.
> The Northwest suburbs (Boulder, Louisville, Lafayette, Broomfield, Longmont) got quite screwed over in this deal

No kidding. Last I heard the proposed Light Rail extension might not even make it to Boulder. Longmont and Lafayette are most likely screwed. Personally I'd like to see a justification for how the rail west to Golden (which stops short no less) got priority over the airport or Boulder.

> The Denver area really does have good mass transit, though

Agreed. As far as American mass transit systems go RTD is pretty good. At least it's an integrated system unlike the mess in the SF Bay area.
MIT still uses it:

$ curl -I mit.edu
HTTP/1.1 302 Moved Temporarily
Server: AkamaiGHost
Content-Length: 0
Location: http://web.mit.edu/
Date: Mon, 30 Jun 2014 03:12:18 GMT
Connection: keep-alive

(It looks like they were a little sloppy, though; that should probably be a 301 instead of a 302.)
It's not a simple thing, so don't worry. It took me a little while to understand and it wasn't without some head scratchers.

Best places to be are at discussion groups (api-craft, rest-discuss). Steve Klabnik has a good book on REST that explains it in more layman's term. Fielding's a PhD (REST was his thesis) so his writing is intended for an academic audience, it's indeed hard to follow without previous introduction.

I actually "understood" it on api-craft. The real-life examples it has are very helpful.
There is some subtlety about dereferencing a null pointer. Many languages (C, C++, Rust) state that *NULL is undefined behaviour, that is, the compiler can assume that it never happens and optimises based on this. This can lead to a "misoptimised" program that doesn't actually segfault when the source suggests it should.

http://blog.llvm.org/2011/05/what-every-c-programmer-should-...
Do you have any idea why this is the case? Some aspect of Mormonism?
No, you are wrong.

First, mapping that page doesn't cause all null pointer dereferences to segfault.

And second, the language doesn't require a segfault. In fact, it explicitly permits the implementation to do whatever it likes.

That is the difference between safe and unsafe. It is in the language definition.
My Golang UI package: lessons learned about threading and plans for the future
You also don't have the ability to write a GC-less language, because there is no practical way to write non-GCed Go code.

True, so you probably don't want to do that.

You also can't implement any custom OS-level concurrency features.

True. But for "journeyman" level language implementation, the toolset is quite good.
Holy fucking pedantics, It's too bad people are focusing on REST.

This API makes me want to have a Tesla. There are so many interesting apps/utilities that can be made with this!