skysight-inc/HackerNews huggingface dataset:
Some pretty epic parts coming out of this story, if even half of it is true:

"Rouleau even admitted to the judge, during one ex parte hearing, that his own phone would be vulnerable to the type of intrusion the RCMP used on the targets of the investigation.

"I'm a dead chicken. That's the reality of it, that's what we don't want the general public to know," Rouleau said."
https://news.ycombinator.com/item?id=11495374
All food is killing. That mushroom that you pick dies earlier. Same for the lettuce, cabbage and carrots. Apparently there is a line somewhere near locomotion that says where to stop killing?
Solar power sets new British record by beating coal for a day
Recovering from a rm -rf / [duplicate]
"quality" and "closed source" do not go in the same sentence together.
Enter your Zip code after the URL (if you're in the U.S.) --

http://wttr.in/65201
This has been proven to be wrong over and over again with the many variations of languages that came after C. Newer "safer" languages don't improve bugs
This is requiring tech companies to provide decrypted data, yes.

I want a private key that is only creatable by N separate individuals, who will only release their part of the key when they can ascertain I am not under coercion. Is there a system that does this?
When encryption is outlawed, ATÝ5Îd}2abJf<²58={d4\!z')E[?Mï¥E
wow thanks, that one works, very useful site. my play store version still isn't updated over here...
Stuff Business People Say
The fancy new stadium was likely paid for almost entirely with donations, though. Those don't tend to be paid for by the universities.
Europe -- mostly Germany and Finland. The only basketball players I know are Magic Johnson and Larry Bird.
Synonym Token Filter and Applications
Show HN: How to Make a Freaking Video Game
Or lat/long: http://wttr.in/52.1988,0.0850
Aren't votes supposed to be anonymous?
This would be interesting to run on the HN community, or any popular forum.
For those cases, there are numerous alternatives: taxis/uber for one off transport. For weekend getaways where alternate transportation isn't an option, you can rent.

The aggregate cost is likely to be far less than that of owning your own vehicle.
I'm in Oxford, Ohio. Thinks I'm in Oxford, England.

(Not criticizing, just amused.)
In most of Europe the land usage policies encourage people to live in cities and towns. Taxes, fuel surcharges and complexity in acquiring a driver's license make the barrier to entry in automotive ownership high. So public transit is more robust and bicycle usages is much higher.

In the United States, the land usage policies actually encourage people to move out of towns and cities into the suburbs. This is known as urban sprawl or urbanization and it makes public transit less effective and more costly to implement and maintain. The taxes are much lower on vehicles and fuel, and acquiring a driver's license is trivial. Thus vehicle ownership is much more attainable and appealing.

Because of the high vehicle ownership in the United States, communities have developed with distinct residential, commercial, and industrial zones that are often many miles apart. There are residential zones that touch commercial and industrial zones however they're often low income zones that are usually in disrepair or high in crime making them unfavorable.

Because it's so easy to acquire a car and communities are planned around vehicle ownership, not having one raises questions and if you're not living in a low income zone, it's often assumed that your lack of a vehicle is due to a restriction such as a DUI offense.
It seems like it should be fairly trivial to implement an adapter between OpenVR and OSVR.
Lessons Learned from 90 Days of Working with a Growth Coach
Is the World Ready for a Guaranteed Basic Income?
>That's why I said I'm paraphrasing him.

I suppose you paraphrased him to draw an analogy. And you did it by replacing "scientific truth" by "language level feature".

>That said, he talked about questions of physics, not "truth"

Here's what he said:

A scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die and a new generation grows up that is familiar with it.

Similarily, proponents of generics like to portray the creators of Go as the old guard that is in denial of an indisputable scientific truth.

But whether or not the added expressivity of generics is worth the added complexity they introduce into a language is a matter for debate dependent on context, not a settled scientifc question.
That is definitely sick combination. And very pricy. :)
Do you mean something like [Shamir's Secret Sharing][0]?

[0]: https://en.wikipedia.org/wiki/Shamir's_Secret_Sharing
Time-lapse of making a 3D game in 40 minutes without a single line of code
map and filter are often just syntactic sugar for a loop, so I just write a loop.

I work on a ~1M LOC codebase in Go and it's really not a problem. map and filter would not make my life significantly easier. They're solving easy problems.

Sure, I have some of this style code:

var names []string
for _, m := range machines {
names = append(names, m.Name)
}

But, really, is that so much worse than this?

names = [m.Name for m in machines]

Sure, it's spread across a few more lines, but line returns don't cost extra money... and if you decide you want to later do something more inside the loop for each machine (default the name, cache the ID, etc), you can do that trivially by adding lines inside the loop.

This code is not hard code to write. If you're used to just being able to slap out map/filter etc in a single line, I could see how it could be annoying... but it's easy, just write it. There are far more difficult things to figure out in our jobs, why worry about the easy stuff?
That's weird - $workchum fed it a screenshot of Perl 6 and it thought it was two giraffes.
How to add Facebook-style reactions to any WordPress site
Except a ton of vegetarians don't consume dairy or eggs because they're made from animals.
What choice do you have?
Every language should (and then, you get OCaml, as I get t :)). Depends on whether you want you coders to apply enough brainpower while at work, sadly.
Thanks a lot for your example. I would certainly take this approach and I am happy that you took the time to write it.

I feel a little sorry for you because I put a trap for the parent poster in the original code.

I wrote "a[j] < a[i]".

You "fixed" it while refactoring, which would be the good thing to do if I made a typo. If however I really wanted to sort circles differently from planets, then you made an error while refactoring what looked like copy-pasta but wasn't.

My original point was that when you "have" to copy-paste, you cannot clearly see what is or isn't part of the copy and what is new.

You found a way to rewrite the code without much copy- pasting, and I am happy to see that. Still, in other places where code duplication arise, there could be similar problems from a maintenance point of view.
You may not have realized that your statement is ambiguous between the state of affairs and the sole exception.

Either way you meant it, that is your individual belief based upon your own preferences, and there are literally millions of people who would disagree with you on this particular point. If there were no exceptions, where would all those dissenters go?
Find who are the major corporate donors of the backers, organize a boycott of them and call, not write, the donor companies this is why you boycott them. That's the effective way post Citizens United.
Spectrally engineering photonic entanglement with a time lens
Laws vary based on where you incorporate but for the corporation to stay in good standing requires regular shareholder meetings.

There are other corporate structures that don't require shareholders for things like trusts, non-profits, member controlled companies and cooperatives.
How to build quality into your software development workflow
In general, the urban infrastructure for biking in the cities and suburbs is horrible in the United States compared to Europe. In places like the Southern United States I would say it can even get dangerous.

http://www.theatlantic.com/national/archive/2014/03/braving-...

Some cities are getting much more "bike friendly", thankfully.

The other issue is distance. The American West in particular is rather big and has large parts that are sparsely populated. If you bike from, say, San Francisco to Los Angeles, you are covering a much longer distance compared to biking from Hamburg to Copenhagen.

There has been progress, in that it seems there's been more interest in long distance trails (usually "rail trails") of late. Beyond these trails, you'd have to bike on highways. Many highways are designed primarily for automobiles and are not terribly "bike friendly" at all.
Mr. Money Mustache, based as always.
Thank you! Yes, absolutely. People need to learn the difference from "secure, in theory, in a perfect world" and "secure enough, in practice, in the real world". Just about every disagreement in this thread is from two people who are talking about two entirely different concepts of security.
Example is appreciated, but not accessible. I personally use Little Snitch and stopped Atom from phoning back to Google Analytics, as I do with all the apps I use, but the comment I was replying to seemed to be shrugging off the data collection by saying "just turn it off" when the truth for most people is "it'll do it at least once but you can turn it off later"
"Tons of taxes" is relative. US gasoline taxes are about 50 cents/gallon on average (depends on the locality), so at current prices they're about 33%.

Taking Germany as a random example, gas taxes there are €0.6545 per liter plus 19% VAT, making for a total tax rate well beyond 100%.
Where's this "proof" you speak of?

By contrast, strong static typing does in fact prove the absence of certain errors.
Watch the world's first surgery streamed in virtual reality live from London
Ok, but then it's not ASCII art; it would be Unicode art.
They don't scan your finger prints at the border in the Philippines. And this is a leak of Filipino citizens' demographic data.
Wow I wish that "rule" applied somehow to cyclists and pedestrians killed by motorists. That would be handy!

As described above, against a firm with a modicum of security procedure, this "attack" would have been a no-op. As in, all the same actions could have been taken, and they would have had no effect whatsoever. "Attacks" like this take place every day, and many even succeed, with no action from prosecutors whatsoever.

You and I have different conceptions of justice. It may well be that yours conforms more exactly to that enforced by the courts; we don't live in a perfect world.
Canadian who hid turtles in trousers is jailed in US
The Best Flexbox Resources
So you are incapable of writing any program you haven't seen before or have seen but didn't decide is important enough to memorize?

How can you expect to be a professional software developer if you can't get some specs, then develop a solution?
"As wages and population increases"

But that is not true for parts of the UK.

Wages in general in the UK in real terms have gone nowhere or down, yet pretty much everywhere in real terms property value has gone up.
I have no idea what he's on about here, but just by making this kind of grandiose claim he makes me skeptical.

I think he's referring to the free software movement.

EDIT: Or maybe the open source movement, I don't recall which of the two he is most associated with.
Sentience is where we draw the line. You're not replying to anyone who said "killing" is wrong. We're talking specifically about the slaughter of animals. Reducing it all down to just "life" is fallacious.
Given that .NET and Java already had a PHENOMENAL standard library for networking by the time Go came out, I really bet in the Google bias.
I think that's an answer which has fallen victim to the spotlight problem. They've forgotten what it's like to not be a lawyer and thus think "anyone can do this". I often feel similarly about machine-learning, until I try to explain it to someone who has no background in the subject and realize all the things they don't know.
It means you can copy Epub files to it without conversion (with or without drm). It has direct integration with various ebook shops (mostly German) as opposed to be tied to the reader manufacturer's bookshop. It's not the panacea but it seems better than the situation with most other readers. I also enjoy the tap-to-flip feature (tap with your finger on the back to flip page), specially when lying on the bed.
Houses are many baby boomers' retirement savings. Governments are stuck because if they pop the bubble to make housing more affordable, they'll be pissing off a lot of people about to retire who are counting on the value of their house.
Nice little list. Would love it if each bot had a short description of what it does
Darren Hardy – The Compound Effect Review
Queues of thunk actions in Redux
Sorry we gun owners don't all conform to your fevered insecure stereotypes.
Her positions on defense and privacy are actually pretty representative of the establishment wing of her party. The Democratic party has some pretty severe divisions in it, and has for years.
Re: glasses, I wish the various SDKs would include a control panel allowing input of glasses prescription numbers for an automatic final view adjustment.

I guess they don't implement something like this because it might be abused to cheat?
Sentience is the line. Plucking a carrot out of the ground and slitting the throat of a cow can't be reasonably equated.
Man, I wish people would not take weekend road trips to "nice wild places". It turns said places into noisy, overcrowded hellholes, destroying the very thing that supposedly is worth travelling to.
It also supports UK postcodes[1], Canadian postal codes[2], and lat/long coordinates[3]

1: http://wttr.in/cb1

2: http://wttr.in/l1v

3: http://wttr.in/52.1988,0.0850
> The cliff is forced, rigid OOP and complicated tool-chains.

How are generics related to OOP or tool chains? Generics have a strong grounding in type theory and are used equally successfully in both OO and functional languages.

> Yes, Go needs generics, but are generics even that key a feature?

I believe so.

> I mean how often do you have to define a generic type

Many times a day. But not just generic types, generic functions, which I believe are just as strong an argument for generics.

> I mean how often do you have to define a generic type, and how much copying does it really take? Is it a hassle? Of course.

It's not just the hassle of copying and pasting. It's the ongoing maintenance of code. If you have a list class for example, then you're going to need a ListOfInt, ListOfChar, ListOf... If you have a single bug in your list implementation in a language with generics, that is now N bugs in Go. If you write an untyped List class then you are constantly coercing the type and potentially working with unsound values that you only discover at the point of use, not the point of compilation. In a large application that's as painful as the null dereference issue has been for all of time.

Even in the code example by Rob Pike he mentions that he can get by using a for loop. for loops are less declarative and less expressive than map, filter, fold, etc. They mix loop iteration scaffolding with code intent.

> But at the end of the matter, Go much, much better when it comes to combining expressibility, efficiency, and simplicity then many of the other options available today.

More rhetoric. Please tell me how? Is there something that makes this better? I remember C# before generics, and it was a pain to work with (collection types especially, that's why I mention it above). The only issue I see with generics now in C# is the visual clutter. If that's what you're referring to, then fine, but that's still not a good reason for the language to not implement them. If you look at F#, OCaml, Haskell etc, they all have generics in one form or another that you barely see. The expressiveness is there, but also type safety.

I find it hard to believe that a language with static typing can get away with not having generics today. It makes the language semi-dynamic, which is the worst of both worlds because you end up manually doing type coercion (which would be automatic in a dynamic language), but still have the lack of safety of a dynamically typed language to boot.
and yet those sort of developments aren't particularly dense. I do wonder if the government should be trying to influence the type of development more than they do.
I am gobsmacked by the tenor of comments here. At what point will HN posters finally realize that participation in the democratic process does precisely nothing against naked power?
*sidenote: Kinda surprised, but not really, that the XD promo video requires Flash. I thought they went full-on HTML video.

http://imgur.com/NldV0a0
So excited to red this installment. So far, this series has been fantastic. I had no idea who Le Roux was three weeks ago, let alone his shadowy background and connection to tools I have used in the past.

Thank you for the great work.
http://www.critical-theory.com/this-is-what-happens-when-you...
In metro Atlanta you don't see many people in the suburbs commuting on a bike, if they're riding around it bike shorts then it's either for hobby or sport and they're usually in packs.

In downtown Atlanta most of the bike riders are younger people and they're rarely dressed for riding. They are however aware of their rights and usually ride with a chip on their shoulder.
The nightmare of programming is that nothing is ever finished... endless horror.

There is also something deeply Lovecraftian about the way programmers use the word "logic" as some ominous mass noun of unspeakable complications and strange causality... unfathomable abstractions... like the "alien geometries" of the Elder Ones.
Not sure why you're being downvoted, this "what is the threat model here" was my first thought, too, and this comment is also correct, as well.
We're analyzing anticipated cringe.

It's widely held that most people ARE doing it wrong.
That rule very much does apply to cyclists killed by motorists! But remember, the rule is that you impute harm caused by a tort or a criminal offense. You have to start by establishing the driver was at fault.
And tell 5 friends and family to do the same. Figure out what's important to them. Do they have children? Tell them without encryption it will be possible for bad people to know their whereabouts and general day to day movements for the purpose of exploitation and abduction. Tell them to call or write the politicians to protect their children.

Maybe your friends think they have nothing to hide, but when they consider they may want to shield their children from harm, that might make them start to think about what is actually at stake.
I think we're now at the point where it is very difficult for any name not to clash with the name of something else.

So I no longer worry about it.
I don't know about that. What's the value of an entire print run of the Los Angeles Times? It's probably quite a bit more than the damages the court imputed to Keys.
I think most of the elected officials are technologically illiterate, and bills such as this are driven by the fear that's been instilled in those officials by the appointed or hired intelligence community. Because they're the ones, what I'll colloquially call the "citizen conformance enforcement branch" of the government, that are most interested in the data and are most empowered by it.

Investigate the motive and the means, just like you would a crime, and you won't find yourself in the legislative branch of this government.
shot percentage is a pretty arbitrary stat. a .350 batting average is also very good. a .900 hockey goalsave percentage is abysmal. to keep with the sports metaphor, you can always move your goalposts.
>> But, really, is that so much worse than this?
names = [m.Name for m in machines]

You can take that code and interpret that as database query, like C# LINQ.

you frist example is 'how' vs 'what' of second example. Once you stop telling the computer how to do things and just tell it what you want all kinds of things become possible.
How can they not see the contradiction? "We want your data to be secure, but we also want US to be able to see it." Technology and math in particular doesn't know who is who, and equations don't behave differently because someone writes a law. Seriously, RSA is just M' = M^E mod N. You can publish your public key in the newspaper and have people send you encrypted messages on a postcard and nobody - even the government - can decrypt it without your private key. A law can't change that, although forcing back doors into OSes will eventually lead people to using end-to-end encryption more.
Well I guess we're past the point of no return of trying to stop the ridiculousness of some unicode characters (e.g. Pile of Poo)... what should happen is all these "emoji" should just be different font sets that we can pick and choose in our software.

Does Android N allow the choice of different "emoji font sets"? I'm guessing probably not.
You should be able to use Loader config for some of this: With the right plugin to your Loader you could do things similar to AOP/injection in debug/dev with a suitably complex Loader or set of Loader plugins.

Arguably things like this are part of why standardizing the Loader APIs has been so complex. But eventually it may pay out by letting you do some nice things very simply and in a way that is configurable for different environments and also transparent from your configuration how complicated or not your libraries and plugins may be set up. (Whereas dynamic rewriting in memory and dynamic loading and lots of scattered if() blocks can feel much more opaque.)
The problem with code duplication is not about being lazy, or having to type. I love typing.

When you dive into a codebase full of vaguely similar yet different blocks, it starts being more than mildly annoying to understand the intent of the code and make the correct change.
Of course. We're able to make the distinction of being hacked versus someone crawling through an open window. If only jurors could be expected to do the same.
Well, yeah, I don't think anybody thinks handing off design decisions to end users is a good idea.
Wish my Vive would ship. I backed the original Kickstarter for Oculus, and I got my free Rift a couple weeks ago. I ordered my Vive an hour or two after preorders started and it still hasn't shipped. And the only date I have for it to ship is "April".
It’s Time for Microsoft to Turn the Xbox into a PC
To offer a different perspective...
I keep a handful dual purpose laying hens, primarily for eggs but after a few years when their egg production slows down I use them for soup.
My kids come up with names for all of them and we enjoy interacting with them in different ways, but at the end of the day we all understand that the reason we keep them is for food. I don't get attached to them because I know that some day I'm going to be the one putting them down.
I like knowing where my food comes from and being involved in the harvest. It would feel wasteful to me if I didn't eat the chickens.
To compute a voronoi diagram, you also need to reconstruct the boundary and topology of all the cells, which is not being done here. Also most algorithms for computing voronoi diagrams do not snap the vertices to integer lattice coordinates.
Facebook Remodel: Easy coding, equality and immutability on iOS
I'm confused here - Democrats are "left-leaning".
ASCII art is not scalable when you mix it with text like on this site since scaling the art will also make the text unreadably small.

Screen readers depends on the semantics as defined in HTML to recognize what to read. In this case when you use text to define the 'layout' of the page, screen readers loses the ability to differentiate between content and presentation. This is also one of the reasons why using tables for layout is a bad idea.