skysight-inc/HackerNews huggingface dataset:
> every monitoring system eventually is used for social control

That statement, even if true, does not specify what time frame "eventually" is, to what degree the "control" is, or whether the result is a net benefit to civil liberties. Perhaps the control is in the form of reducing violence, which increases liberty. There's always a trade-off.
Please, really read the code. What you are claiming is wrong, and makes you look like as if you have no clue what you are talking about.

While Kotlin addresses the last point I made, it still suffers from:

- They cannot be implemented efficiently.

- They give you zero guarantees. You got a "readonly" collection? Let's start praying that everyone got the readonly thing, too, and not the mutable instance instead.

- Operations cause full-scale copies (talk about a GC nightmare).

- Collections cannot share structure.
> I love the part about simplifying packaging via 'snap'.

Bleargh. More container bullshit, now with even less control over it by end users. Now each tiny library update (think OpenSSL security fixes) will pull hundreds of "snaps" instead of a single package… assuming the developers even realize they have to rebuild their snaps.
Didn't expect UK to present a bill like this one. Russia or China on the other hand would have made some sense.
A better 'rm' command and no more 'rm -rf' nightmares.
A polyglot's guide to multiple dispatch – part 2
Robotic snake swims in life-like manner [video]
Probably a decade away, but Turkey is in the process of turning into a nondemocratic state, as is Hungary. Suppose the Syrian civil war spreads to Turkey (which already has its own ongoing conflict against its Kurdish minority). The collapse of Turkey would dump tens of millons more refugees into Germany. A few years of that and the people running on a platform of expelling Turks at gunpoint might start becoming popular.
Why is that presumable?
the open court yard looks nice with arbian themed decoration.. Look closer and there is a f-ing lazy boy recliner in front of the TV.. LOL it's like a college apartment...
If it meets the guidelines, this might make a good "Show HN". Guidelines: https://news.ycombinator.com/showhn.html

Curious if there if there is a URL for a running example.
Russia being a good example.
Congress is clueless about tech because it killed its tutor
The big guns are already doing it.

It won't help, because the Home Office is run by paranoid authoritarians and crazies, and they keep trying to pull crap like this no matter who is in power.

The critical question is just how likely is it that the gov will prosecute Apple, Google, or FB for not following the rules.

"Not very", I'd guess.

How likely is the gov to prosecute Tiny Corp Ltd?

"8.1 Small companies (with under 10,000 users) will not be obligated to provide a permanent interception capability, although they may be obligated to give effect to a warrant."

But look at this:

"8.17 A person to whom a technical capability notice is given is under a duty to comply with the notice. In respect of a technical capability notice to give effect to equipment interference or bulk acquisition warrants, the duty to comply with a technical capability notice is enforceable against a person in the UK by civil proceedings by the Secretary of State.

The duty to comply with a technical capability notice to give effect to interception warrants and CD authorisations is enforceable against a person in the UK and a person outside the UK by civil proceedings by the Secretary of State."

That's civil proceedings, not criminal proceedings. So basically the SoS can sue, but not jail anyone.

It's all quite confused, and fundamentally fails to understand the differences between targeted surveillance, bulk surveillance, end-to-end encryption, commercial encryption for (e.g.) secure banking, open source VPNs, and so on.

If you pull apart the language, the mental model is of someone who thinks encryption is like an envelope around a letter. So if you demand a de-enveloping tool from the people who make and sell envelopes you've done your job.

There's a bit more to it, but the legal language doesn't have any insight into that.
Sure, but when you handle used tampon, you don't have to actually touch it. Yes, for me it's just gross.
Social signalling is relative to the things available for that society. Even if there were no "nice cars" available by your standards, there still were "impressive" cars, relative to the society in question.
If you have the source of the package you might be able to use ubuntu's snapcraft[1] tool to create snap packages. There is a project on github called deb2snap[2] that might help creating snaps from deb packages which is something that might help. I haven't used it so can't provide any feedback on how well it works. The README is pretty detailed though.

[1] https://developer.ubuntu.com/en/snappy/build-apps/

[2] https://github.com/mikix/deb2snap
I'd say the differences are very well expressed.
I was basing my statement on this line from the MSDN blog I linked:

> This is such an important concept that the JIT has a special path just for turning functions that call themselves in a tail recursive manner into loops.

However, it looks like (in at least some cases) that fsc unrolls the recursion prior to the JIT:

let rec fact n acc =
match n with
| 0 -> acc
| _ -> fact (n-1) (acc*n)

.method assembly static int32 fact@1(int32 n,
int32 acc) cil managed
{
// Code size 24 (0x18)
.maxstack 5
IL_0000: ldarg.0
IL_0001: switch (
IL_0016)
IL_000a: ldarg.0
IL_000b: ldc.i4.1
IL_000c: sub
IL_000d: ldarg.1
IL_000e: ldarg.0
IL_000f: mul
IL_0010: starg.s acc
IL_0012: starg.s n
IL_0014: br.s IL_0000
IL_0016: ldarg.1
IL_0017: ret
} // end of method TailTest::fact@1
414 days in jail awaiting trial doesn't sound like a speedy trial to me, as required (but not defined) in the 6th amendment, either.
Also see this:

https://news.ycombinator.com/item?id=11540389
They definitely do; I've had plenty of private conversations with non-American women in CS about sexism. I think Americans are just more likely to be openly vocal about it.
If you were to tell Mari that girls don’t look like engineers, women can’t code as well as men, or women aren’t as competitive as men, she’d raise a skeptical eyebrow.

Actually, these girls do fit the typical criteria. They are Georgian, just like several women world Chess champions. Georgia is part of the former USSR, where women were pushed for decades to achieve things in math and science and intellectual pursuits.

Having said that, I'd love to see just one or two young women that look and dress like those very attractive actresses (as one blogger said, "present as feminine" https://medium.com/@sailorhg/coding-like-a-girl-595b90791cce...) and yet were strong programmers or physicists or something. It seems the only look that I've ever seen for women who are hardcore into math/programming is nerdy. Perhaps the feedback from appearing a certain way discourages women from pushing themselves in cerebral activities, or perhaps there is a hidden variable that explains this correlation.

In my own university graduate program, there was exactly one exception.

I know it's not politically correct to bring up a woman's "visual style" when we are celebrating women coders, but someone should point out the obvious correlation, and ask why it's happening. Where are the real James Bond Christmas Joneses? Notably, the public reaction was disbelief:

Reception of the film and its casting choices were mixed. The film became the first in the Bond series to win a Golden Raspberry when Denise Richards was chosen as "Worst Supporting Actress" at the 1999 Razzie Awards. Richards and Brosnan were also nominated for "Worst Screen Couple".[3] Despite stating that she liked the role because it was "brainy", "athletic", and had "depth of character, in contrast to Bond girls from previous decades",[4] Richards was criticised as not being credible in the role of a nuclear scientist.[5][6] She was ranked as one of the worst Bond girls of all time by Entertainment Weekly in 2008.[7]
Do you know how well all the other attempts at installing democracies have gone in middle eastern countries? Iran, Syria, Iraq, Libya and so on... It's insanity to think that this time we could do it better.
Please make the file accessible by modifying the drive permissions to allow anyone with a link to view it. Thank you.
This will affect US companies though.
Check out https://seattlemesh.net/
Why is it some ppl always have to complain about that?
Idlewords has a better talk on a similar theme, using planes as an example:
http://idlewords.com/talks/web_design_first_100_years.htm

Engineers alive in the fast rise period assume this fast improvement goes on for ever. But it doesn't. Once a technology gets good enough the innovation shifts to lowering costs, not improving the product.

Do check out the link above, it's one of the most thought provoking tech pieces I've ever read.
Infographic comparing the past to the future for display ad buying
more fool you
Photons must behave as if they have mass. From TFA:

McCulloch’s theory could help to change that, although it is hardly a mainstream idea. It makes two challenging assumptions. The first is that photons have inertial mass.

When I was taking college physics, there was a question on the exam about radiation pressure. I missed that day, so had no idea how to solve it. "a 5mW laser is reflected off a mirror (perpendicular) what is the force exerted on the mirror"? Later looking it up in the book there was a page on this and a derivation using electromagnetic theory. In the exam however, I decided to convert 1 second of laser energy to mass, bounce it off the mirror at speed=c, compute the force and change in momentum (over change in time which was 1s). I got the right answer of course.

The logic is simple. If we can convert back and forth between matter and energy, any experimental setup must obey conservation of momentum and it's CG must not move. So a laser inside a closed spaceship would actually be tranfering mass (as energy) from one end to the other. The net effect must be the same as if that mass was moved any other way.

I derived a general expression for radiation pressure after the exam and it's identical to the EM one from the book. Photons behave - and must behave - as if they have mass with a velocity of c. By the same reasoning, gravity must bend light rays, though I have not compared this prediction to that of relativity.
I've bought several sims in the UK and Ireland over the past year, and none of them have taken an ID.
Several on the jury were clearly surprised by this and I think had we known it may have changed our verdict.

Presumably that is why the jury is not told. If the jury's job is to determine, as fairly and impartially as possible, whether someone committed a crime of which they have been accused, then it makes sense to hide other information that does not affect that fact but could cause emotional rather than logical and evidence-based deliberation.

The problem here doesn't seem to be hiding the full situation from you and your colleagues on the jury. The problem seems to be that having fulfilled your purpose in the proceedings by making the determination you were asked to make, and the judge was then denied the ability to fulfill their purpose in the proceedings properly because their hands were tied by the Three Strikes rule and so the punishment arguably did not fit the crime.

Of course, whether the way the jury is kept in the dark in such a case stands up to ethical scrutiny in light of principles like jury nullification is a different question.
I know they have no incentive to do this, but it would be nice if they let you configure alternate VPN providers. This is a really clean VPN UX.
For the first two issues, I use tmux. If something is long-running, I open a new shell to continue working. If I want to run multiple related commands, I can open many shells and have tmux send my keystrokes to all of them.
Yup, charging can be a game changer.
Precompiled binaries for OS X are coming: https://github.com/derekparker/delve/issues/494
I owned a Lumia Icon for about a year not terribly long ago, about the time WP 8.1 came out. My observations:

- The Update system was extremely confusing, I had a hell of a time just figuring out how to update to 8.1, including needing a firmware update, figuring out how to apply a firmware update, then doing it three times over because I had that many. While the system eventually notified me of the system update, it remained silent on the firmware.

- The UI language was fantastic, seriously I loved the way the phone handles information. The only issue there is that many apps like Facebook and what have you totally ignored it, and Microsoft let them on anyway. What good is building a UI like that if you're going to let the developers just do whatever they want anyway?

- The app store in general is extremely limited. I realize Microsoft can't do anything here but I'm holding them partially responsible because of how late they were to this game.

- My Icon would get very hot with only regular use. A quick flip through twitter or even just some websites and the back of the device became uncomfortably warm.

- The keyboard is AMAZING. Seriously Microsoft knocked it out of the park on that one.

- The device felt well built and (aside of the heat issues) never presented as though it was poorly made. Connectors were solid, battery life was very good, and the bright colored interfaces with the white-on-black text make it genuinely a pleasure to use.

Eventually I had to face reality and bail (too limited on capabilities, plus I'm an iOS developer and at the time they just released the 6, the first decently sized iPhone) and went that way. That said should I change careers I'd definitely look the Windows Phone way again.
I knew this would happen. It was only a matter of time.
> What's stupid is betting on stupid.

What's stupid is making investments which are known to have an expected return less than 1:1. Playing the lottery isn't stupid because we don't understand how it works; playing the lottery is stupid because we do understand how it works, we know what the expected return is, and we know that it's a worse investment than just stuffing cash under a matress. This is entirely uncontroversial, and lotteries are run by profit-making entities (either private firms or as a "tax on the ignorant" by governments) whose entire viability relies on this fact.

In contrast, things like the EmDrive are high-risk high-return investments. Their expected return is more difficult to estimate than a lottery, since we'd need to estimate the probability of it working and the expected return if it did work. However, whilst an idea like the EmDrive may be controversial, the idea that spending a small proportion of investment on ideas like the EmDrive isn't controversial. There may be arguments over how much counts as "small", which ideas should be prioritised, etc. but this just goes back to the uncertainty of estimating the expected return. It's entirely uncontroversial to say that, if it works, the EmDrive would be an incredibly lucrative technology; it's also uncontroversial to say that it's unlikely to work. The tricky part is working out which term dominates the expectation: does the big thing (the potential return) multiplied by the small thing (the probability) result in a big thing or a small thing (the expected return)?
Just buy a Visa or Amex gift card with cash. It's a normal credit card number you can use online and some of them can be reloaded. Sometimes not reloading is best, so your subscriptions won't auto-renew and you can cut your paper trail by opening a new account with a new credit (gift) card.
>It's a journalist's task to ask autocratic rulers critical questions.

Not always, unless you are doing a hit piece. Sometimes it is also a task to simply gather information on a subject that people know very little about. Sometimes the process of gathering info is so sensitive that you don't want to do anything to influence the observations you make like cause discomfort and create moments of silence.

There were some important revelations in this article. It shows the leadership is trying to make changes. It highlights the stakes involved. It shows the geopolitical map of Saudi Arabia. That is not fluff.
It does 'seach' and 'show' from apt-cache at least, not sure about any others.
5 Stunning Movie Inspired Wedding Ideas
This is exactly what I fear. It's still a useful service but I believe Opera should say clearly what they do with the data they handle.
Dnsdist 1.0.0 released
For me a next generation UNIX shell needs to catch up with what REPL environment in Lisp Machines, Interlisp-D, Mesa/Cedar, Smalltalk, Oberon(-2), AOS features and capabilities.

For the young HNers, think having something like Swift Playgrounds or IPython as your shell, while having full access to the OS API without relying on external programming languages.

Otherwise the next generation prefix isn't worth mentioning.
When was the transition? I don't remember Russia ever being a peaceable society.
What's odd is that they are talking about selling the stake when oil prices are near record lows. The other worrying point is that if Saudi is selling their oil production, why on earth would you want to be a buyer?
160km/h counts as "slow" on the Autobahn.

The average family sedan does 180km/h on there — so a Tesla at 160km/h will seem slow.
This is what I was saying in my comment. Most people don't think of jail as extreme, even through it is. Anyone who has been through it know this. We continue to lock people up for dumb shit. Take your experience and imagine that as your everyday. That's how people in communities of color feel. Police circling around all day, inventing pretexts to search them, which is itself a pretext to locking them in cages. Then imagine having now way to bond out and sitting in jail for months over a charge like yours. Spread the word to you fellow professionals, because, like u before this happened, they have no idea what is going on in this country.
Reposting an open challenge to the HN community from a week ago:

Someone should make a plugin that counts the number of times a brand is mentioned in an "article" and uses ML/crowdsources votes to show a "sponsored content" or "submarine" score. Even if there is some interesting point to be made, I hate being manipulated into reading longform ads.

Additionally I would love to see an investigation by "straight" or freelance journalists into the world of PR/submarines that includes the going rates for pieces like this, getting on the front cover of a magazine like Bloomberg business week, etc.

As to the substance of the article: want to move off oil? You're going to need to start taxing your citizens. Now that will be an interesting transition to watch.
Less than 10% of Autobahn outside of cities, though.
Those can all be seen as tweaks to existing shells. With regards to...

"* Have some simple, easy to follow rules which let me work on files that have spaces in their names, without having to remember the various commands with various special cases (like -print0)."

I'm not sure I understand what's hard about files with spaces in their names. I'd say it's easy enough to work with such filepaths by using tab autocomplete when using the shell interactively, and quote marks when writing shell scripts. Can you give an example of where these approaches wouldn't work?
Edward Snowden is suing the Norwegian state
Thanks to tmux, I don't have a problem with multiple interactive commands and their outputs. If I need to do something new, I open another shell on a new pane. Not that other solutions aren't welcome, but this works for me.

If I don't want output at all, the &>/dev/null output redirection works, or file descriptor redirection, for which zsh has useful methods.

Spaces in filenames are easily solved by quoting filenames or variables. Again, zsh provides a myriad of ways to make this a trivial issue.

My main point was to argue what qualifies as to being called 'shell'.
Autovpn OpenVPN Endpoint on AWS
if he'd knew, he wouldn't ask.
what about the protections already in place ? https://en.wikipedia.org/wiki/Rm_(Unix)#Protection_of_the_fi...
Quite a lot of which have pretty much the same level of service (apps included) and are also legal.
Digital Aristotle: Thoughts on the Future of Education (2012) [video]
Same in most of Eastern Europe, just hand over cash and get a SIM card.
Author here. Oops, will fix, thanks.
How to Tell the Difference Between a Good Programmer and a Great One
It's not about comparing the number of bills vs. each other—it's not surprising that adding an additional denomination lets you make change in fewer bills. It's about whether the greedy algorithm for making change gets you the optimum number. Currently it does, but if you add a $25 bill, it would not.

Currently:

$40:
greedy: $20, $20

optimal: $20, $20

is greedy optimal: Yes

$50:

greedy: $20, $20, $10

optimal: $20, $20, $10

is greedy optimal: Yes

Including a $25 bill:

$40:

greedy: $25, $10, $5

optimal: $20, $20

is greedy optimal: No

$50:

greedy: $25, $25

optimal: $25, $25

is greedy optimal: Yes
Jailbreaking the Microsoft Fitness Band
Who is hiring 100% REMOTE (21st April 2016)
You are being disingenuous. "File" is layman-speak for "compilation unit", so it is not a "completely different subject". You cannot declare multiple top-level types in a single compilation unit in Java. Yes, you can create static types within another type. However, those are not top-level types; they are scoped within the type they are declared in.

Let's just put it this way. Would a Java programmer, by way of normal operation, implement a project with a few Java files, each of which contains a type with several static types internal to it, and where those internal static types are in fact the main types of the program? If they wouldn't, then there is no equivalency, because this is something you see in C# code bases all the time.
Isn't zika a real danger? From all the news I've been hearing there could soon ben an epidemic in Florida.
You may want to look beyond stocks, because stocks are a small part of financial markets.

I've mainly done asset allocation. That means, looking between markets and moving assets accordingly. More an interest in themes than individual companies (though themes between companies often appear).

An excellent blog for this style, generally called 'macro', is http://macro-man.blogspot.com though the financial market slang can be a bit much at first. It is funny and fresh.
They are a protest party. Being right-wing is incidental here – they appeared out of nowhere, gained support fast due to unforeseen political circumstances, but they don't exactly have a mature political agenda. They're most likely no new NSDAP, but who says we'll be that lucky every time protest parties sprout up?
This evaluation of deep-learning toolkits should be useful:

https://github.com/zer0n/deepframeworks
Why Hollywood Makes More Sequels Every Year (Even Though We Like Them Less)
Dang, I wonder what would happen if someone were to use fake ID "issued" the Republic of Nagorno-Karabakh.
Real estate investment platform BrickVest already raised £1M+ for its projects
Is upgrade failing in general or in this specific case only?
Yup. Cambodia, Rwanda, Bosnia, Darfur. Four genocides since WWII.

People look up to Germany. Germany setting themselves up for disaster will make other people think they're somehow safe.
Maybe it is good that Intel turned down that offer, because otherwise now we could have desktop sized iPhones with built in winter warmers.
Hi author here, I'll admit I'm not super familiar with Mirage OS, I've only used it a bit, but I wanted to include some discussions of it. I had read it was related (somewhere I can't remember) but I'm happy to be corrected.