skysight-inc/HackerNews huggingface dataset:
I think that much of the support of GBI comes from people dubious of technocratic competence. That is, there is much MORE involved in a jobs guarantee: you have to actually come up with all those jobs. And you have to provide managers for them. And this whole system of employing people -- and you could pretty easily screw all that up.

One kind of exciting thing that might happen in a GBI system is that maybe someone who right now can't get a job because, for example, he lacks skills or has a dubious past, could get a job paying something really, really low ($1 per hour, maybe), but it's all on top of his GBI, so he's marginally better off, and he could either prove that he was all along actually valuable, or learn things that make him a valuable worker, and then start up the income ladder.

That seems much harder in a guaranteed job system. I mean, you could imagine how it might work in a guaranteed job system, where the guaranteed job does teach/prove generally useful skills, and where the guaranteed job is managed competently enough that private employers trust that people who have good performance ratings at the guaranteed job (or whatever) genuinely are good workers, but it's much less direct.

The article is correct that it's a little insane to focus much on people living on GBI and writing a novel, and only marginally less insane to focus on people living on GBI and trying to, say, start a business that will genuinely prove to be economically expansionary, but I think it's less crazy to focus on people whose employability is currently below the floor of the minimum wage, but who might be worth taking a chance on at a very low wage.
Doubling the deadline to 180 days is probably reasonable IMO.
So the script wouldn't pause and ask for user input during normal operation.
And you only get to vote, if you served in the military? (See http://tvtropes.org/pmwiki/pmwiki.php/Literature/StarshipTro...)
Notably also the judge has apparently admonished the jury not to watch The Princess Bride:

https://twitter.com/sarahjeong/status/555847465128435712
> The problem is that DANE's replacement for the TLS PKI is controlled by world governments.

I think that the concept (though not DANE itself) could be made to work, e.g. by using k-of-n systems to verify that a majority of governments agree to a particular fact. If the US, UK, Russia, Iran and Ghana all agree on a set of facts, those facts are likely to be true; if enough nation-states agree on a set of facts, then those facts might as well be true.

This could be used to secure the root for a nation-state's DNS, since that root is, after all, just a fact.

As an example, a majority of member states could certify that the ICANN board has authority for the root; a majority of the ICANN board could certify that 192.0.2.27 is authoritative for .example; in exactly the same way, 192.0.2.27 could then use its authority to delegate responsibility for example.example to 203.0.113.153, and so forth.

A similar scheme could be used for IP address ownership.

Yeah, any nation state is going to be able to lie about the identity of machines it is responsible for—but it's a government; it can do that anyway. Other approaches like TOFUPOP help there, but at the end of the day the guys who can point guns at a certificate holder have the ability to make him do anything anyway.
How subtle.
When are we moving to the mobile security model on the desktop? I love knowing that nothing I install on my phone can ever to anything like this or access data that belongs to another program in general.
There are, it's called users, and groups, and file permissions. Applications like steam should really be running under a separate user so they can't write to personal files (and maybe just have read permissions). But of course proper application isolation and file permissions is something few people do correctly on their personal machines, let alone know about.

Window managers don't make it any easier, and I put a lot of the blame on them for not making it easy to configure applications to start under different users.
Most insane ski video ever One of those Days 2 Candide Thovex
I have to agree with this. Tried taking the Chromecast with me on holiday. At a base level, the Chromecast requires constant connection to an external Wi-Fi router. So even if you want to stream content that you have LOCALLY on your device, you can't, not without a lot of messing around.

Why the Chromecast has the ability to run it's own Wi-Fi network to only connect to another is a design decision I don't understand. The other parts of it are great, but it's a shame that for such a small and portable device, it's such a pain in the ass to use away from home.
Interesting:

https://github.com/search?q=rm+-rf&type=Code&utf8=%E2%9C%93
this is clearly programmer error, but it's multiplied by a random variable: the Degree of Misery of the programming language, (in this case) bash.
Think Retro: How HyperCard inspired a generation of future developers
> The only way a basic income can avoid being politicized and destroyed is by making it truly unconditional.

Good luck with that. Do you pay citizens, or residents, or perhaps the intersection of them? Do you pay only adults? Or every one who has been born? How dead do you have to be to no longer get the money? (Ie keep your relatives on the machines for longer for money?)

Anyway, I agree with your sentiment. But it's not as clear cut in practice. You still have conditions.
Easily 99.39%, actually. Only 0.61% of road use is cyclists.

https://en.wikipedia.org/wiki/Transportation_in_the_United_S...
For those of you worried about important files, chattr +i is a useful defence. No easy way of applying this automatically.

Long ago I had a kernel hack that would kill any process that attempted to delete a canary file. Worked OK but no chance of it ever going mainstream.
Not if the previous line was:

STEAMROOT=$SOME_OTHER_UNSET_VARIABLE/

"rm -r " is a code smell, as much as "cc -o myprog .c" is. You should always know what files make up your system, and track them in a MANIFEST file. There's rarely a good reason to use wildcards when a program is dealing with its own files.

xargs rm -df -- < MANIFEST

fixes this.
Great initiative.
There's nothing wrong with that line as long as you know "$STEAMROOT" contains a directory that you wish to nuke.

The issue is that this particular script did not set up $STEAMROOT correctly.
A friend of mine once commented that high treason is one of the only crimes on the books where the penalty for attempting it is infinitely higher than for succeeding, mainly because if you do succeed, you are then in charge of the country.
http://redsymbol.net/articles/unofficial-bash-strict-mode/
This one? Earth? What about you?
You're right, but I don't retract my statement, because we know the dev knew how dangerous this line was thanks to his "Scary!" comment.
Up next, Satoshi Nakamoto is revealed to be Mark Karpeles
More; or better.
The math: US population - 316m, income $10,000/yr, so a basic income for all would be 3 trillion dollars. The entire federal budget for 2014 is 3 trillion.
http://en.wikipedia.org/wiki/Free_speech_zone#Criticisms
-errexit: exit the script when a command fails
-nounset: fail when referencing an unset variable
-pipefail: fail when the any command in a pipeline fails, not just the last one

The last option is unfortunately harder to use, since some programs misbehave in pipelines.
I've never seen NYPD care about jaywalking. For whatever reason, however, riding your bike on the sidewalk is rigidly enforced against.
Baidu doesn't have an english-language site. That's different from trying to address the global market and failing.
Contributions to Wikipedia are not time-sensitive, and the ability to load a Wikipedia article is not dependent on the availability of volunteering Wikipedia gnomes. Here, the availability of seeing volunteers at any given time is the limiting reagent, and the free market is one proposed solution. The Uber/Lyft/taxi analogy is that the availability of friends with cars and free time at any given time or place is the limiting reagent for getting free rides. The existence of paid services allows us to increase that availability by orders of magnitude, and hopefully the same would apply here.
Quoting a dead comment:

StandardFuture 1 hour ago | link [dead]

>prior to the 1920s, city streets looked dramatically different than they do today.

Just to support your point and provide video showing everyone just how the main street in San Francisco looked in 1906:

http://youtu.be/d1RvgfoXGTs .

IMO there are better copies of that streetcar ride out there that lack the music. One of the prior posts on HN: https://news.ycombinator.com/item?id=2413891
AT&T Makes a Mobile WebRTC Push: Will a WebRTC CDN Be Next?
Why start in the twentieth century?

See https://en.wikipedia.org/wiki/Industrial_Revolution, or https://en.wikipedia.org/wiki/Military_Revolution And that's just two examples from Europe alone.
Recruiter Q&A: Scoring an Entry-Level Startup Job
Weren't they building some insane barge in San Francisco and New York to be a consumer showcase for Glass? Guess that's sunk now.
This is pure argument from authority, but I'm gonna take the bait anyway.

> Martin Fowler

What has this guy done except writing books about "the best way to program" without ever designing a full system himself ?

> Guido van Rossum, Yukihiro Matsumoto

Those guys are just language designers, and the language they designed are just as questionnable as the functional ones, so why do they get a pass actually ? Because their languages are more used ? Do you want to follow suit and say that COBOL creators are probably part of the "world's most experienced programmers" ? What about PHP ?

There are some good points and critiques about the practicality of functional languages, but you don't actually touch on any of them here.
If only it was as fast as awk. Is it?
Assuming the shell script is for Bash, that incantation removes the shortest matching suffix which matches the pattern "/*". So it is attempting to remove the filename component from a pathname string in the "0" positional parameter.

Since $0 is usually the name of the shellscript itself, this would be trying to obtain the directory path of the shellscript.
You think so? Did I neglect to make a clear indication of sarcasm that would distinguish the posting from a frank expression of extremism?

I'm reminded that when Jonathan Swift published _A Modest Proposal_, it was taken seriously by some. Or at least legend has it.
Show HN: LunaPilot – my first iOS game
What if you somehow wound up with a single line of / in the MANIFEST, though?
>Even if it supposedly works, it seems so artificial and counter to individual freedom and responsibility that it makes no sense whatsoever given the current US constitution and the principles the country was founded upon.

that was pretty much the argument against Medicare 60 years ago, welfare 80 years ago, etc... and i think it would be a great argument against municipal sewer as well...
No, I'm a developer who pays attention to his code, knows what he doesn't know, double-checks what he thinks he knows, and isn't too lazy to ask for help when he isn't sure about something.

Not to mention I've worked with someone before who wrote code exactly like this, despite my protestation, and after he managed to delete half the (thankfully backed-up) file share in an unrelated incident.
I thought I was a bad programmer until I saw this thread. How did this make it to prod?
Glass seems designed to make it impossible not to relinquish one's privacy. Granted, cellphones could conceivably be used is almost the same way, but they're not meant to be. If you're in the wearer's field of view, you give up whatever the technology can take. That's intentional, and the attempt to make that ubiquitous on the part of Google, a company whose entire reason for being is data collection, is also intentional.

Even if there is a possible net benefit, there will also be, inevitably, be a loss of control over identity and autonomy that no one can be blamed for not wanting to give up without a fight (futile though it might be.)
You can save a line by doing #!/bin/bash -eu
I normally eschew the practice of judging books by covers, but in this case I think you can judge the content by the URL and the comments here seem to back that up.

The robots are taking the jobs and we are going to have to figure out what people are for (because I'm assuming we cant just throw the "excess" population into a volcano or something, and just working them for no reason is obscene.)

Wendell Berry wrote a whole essay about this called, "What are people for?"
Likewise, in the UK, the dozens of Maplin stores remain places where it's possible to pick up components for electronics projects, alongside the kinds of other electronic products you mention. Evidently, there does remain a place in the world for stores of this kind, whatever can be offered online.
If you want to blow away a directory, do this just to avoid wildcard games:

rm -rf $the_dir && mkdir $the_dir

Yes, it's technically slower, but this is shell.
2014 VC Year in Review: VC exceeds 2001 levels (110 page pdf)
and once we get flying car (more specifically - an octocopter scaled up to carry 2-4 peoples, not that big of a problem if you take time to look into it), we'll be able to get back to the situation, and even better - the streets can be more like park style space and of irregular shape (with some bike paths for short distance travels using bike or something like golf-cart). The massive asphalted/concreted surfaces will become a thing of the past. The only main roads/highways will be left for self-driving cargo-trucks.
Don’t leave developers in the dark
You are right, so let me sum up:

Centralized architecture leaves DNSSEC vulnerable to nation-state attacks. This is by design.

Decentralized architecture leaves the CA system vulnerable to attacks coming from any trusted CA. This is by design.

National Security Letters (and their non-US equivalents) leave the CA system vulnerable to nation-state attacks.

DNSSEC 2 - 1 CAs
I use the shebang "#!/bin/bash -e".

To get the same effect as the "set -o errexit -o nounset", I think you can use "#!/bin/bash -e -u". (There seems to be no option for pipefail.)
$0 is not the path of the script. $0 is the path passed to the shell used to execute the script. If run via the #! line, it will contain a path of some kind. But if it's passed directly using "bash myscript.sh", then it won't.

And yes, dirname is a way out of this. I'd do this:

"$(cd "$(dirname "$0")"; pwd)"

if I wanted the path to the script. I would also sanity-check the path by testing for the existence of some files or directories that are expected to exist under it, before trying to delete it all.
It wouldn't be 3 trillion more to provide basic income. A great deal of that $3T is already spent administering and redistributing income in all sorts of inefficient and ridiculous ways.

We don't need to leap right to "a living wage" for basic income to make a huge positive difference. $2k is a huge bump to someone who was getting 0.

Basic income is a hedge against a future where labor is no longer required for productivity so one rich family owns all of the factors of production in the world and wonders why everyone is too poor to buy the outputs of their robot factories.
The thing is, there are so many ways for STEAMROOT not to be set correctly in Bash. Just one typo in some future edit can bork everything if it's not tested thoroughly.

Sure, you could somehow check that STEAMROOT is set to something resembling what you want to delete. But manifests are much more simple to get right.

EDIT: Alternatively, pick a well-known UUID, and put everything under a directory with that name under STEAMROOT. Then, to remove:

rm --one-file-system -rf "$STEAMROOT/d0a8936d-1faf-4b82-aac9-e5f104432b24"

This won't do the wrong thing, as it will require that unique string to be present in the pathname. (--one-file-system for good measure.)

(Don't put the UUID in a variable, or you're back to square one of having a potential bug!)
Notepad++ Je suis Charlie edition
Notepad++ did an auto update this morning and, when it was finished, it opened a new document and slowly typed out a message about freedom of expression. The about box says "Notepad++ Je suis Charlie edition".

Nice.

http://www.notepad-plus-plus.org/
There was already PeerCDN, but they got bought out by Yahoo and now it is shut down: https://peercdn.com/
Wow looking at some of the images and what their setup recognized them as, I am really impressed. The bathtub in particular is pretty amazing.
should get better once systemd has steam integration
Oh, if y' ain't from that town and y' look like the troublemakin' sort, the sheriff will swoop in like a hawk and getcha, after one teensy J walkin' step. It don't matter if you look real careful ever' which way before doin' it. He's got his eyes on you.
Was your friend Shakespeare?
If you're curious about who the "Scary!" guy is, someone pointed to where the code was checked in: https://github.com/lrusak/steam_latest/commit/21cc14158c171f...
rm: cannot remove ‘/’: Is a directory
And DNSSEC probably did look good back in 1997, before the day of gTLDs and URL shorteners for example.
"rm -df /" does nothing. "rm -df" does not remove non-empty directories.
It's one thing to falsely claim you didn't do it.

It's another thing entirely to falsely claim someone else did it.

http://en.wikipedia.org/wiki/Mistaken_identity#SODDI_Defense
Oh cool. Now we can finally copy the Chinese.
This is rad! Really well done.
ECharts – A charting library for interactive charts
Fingerprint Biometrics hacked again
On the other hand, more Apple and Google folks may have left and founded their own companies if their salaries had been higher.
Is it true you can be arrested for mentioning that in a court room?
I didn't realise quite how mental the US is over something as simple as crossing the road till I read this:

"A distinguished British historian claims he was knocked to the ground by an American policeman before being arrested and spending eight hours in jail — because he crossed the road in the wrong place.

Felipe Fernandez-Armesto said he had been the victim of "terrible, terrible violence" after he inadvertently committed the offence of "jaywalking" in Atlanta, Georgia, last week and failed to realise the man telling him to stop was an officer.

The slight, bespectacled professor claimed that five burly officers pinned him to the ground after Kevin Leonpacher kicked his legs from under him as he hesitated to show his ID.

He was left "traumatised and disorientated" and with a gashed forehead as he was taken to the local jail and charged with pedestrian failure to obey a police officer and physical obstruction of police."

http://www.telegraph.co.uk/news/uknews/1539148/Historian-pin...

In the UK, we were just taught this thing called the "Green Cross Code" as children in a series of slightly surreal public information films, though the message in it is basically no more complex than to just to stop and pay attention to what the traffic is doing, before deciding to cross the road. Pedestrians aren't allowed on motorways (freeways), but that is about it. http://en.wikipedia.org/wiki/Green_Cross_Code
That's awesome, I didn't catch the s/r/d/.
Awesome, this gives me some new insight.

Clojure has been fun, so to me is really of being good enough at JS to be proficient at Clojurescript.
Unravelling the truth about LED lifetime
How did Karpeles know the identity of DPR?
Not really, the jury could all wake up with a though that he is innocent, and when the time comes state that. He would then be innocent.
I guess "newer" is relative. I was expecting to see discussion of MPTCP, DCTCP, Bolt, Remy, and PCC.
This seems like yet another good example of why robust application-level access control would be a helpful thing to build into modern operating systems, in addition to the typical user-based controls. This may have been both a rookie mistake and a regrettable failure of code review processes, but in any case it simply shouldn’t be possible for an application running on a modern system to wipe out all user data without warning in such a sweeping way.

I have often made this argument in the context of sandboxing communications software like browsers and e-mail clients, where it is relatively unusual to need access to local files except for their own data. In that context, restricting access to other parts of the filesystem unless explicitly approved would be a useful defence against security vulnerabilities being exploited by data from remote sources. It’s hard to encrypt someone’s data and hold it for ransom or to upload sensitive documents if your malware-infected process gets killed the moment it starts poking around where it has no business being.

More generally, I see no reason that we shouldn’t limit applications’ access to any system by default, following the basic security principle of least privilege. We have useful access control lists based on concepts of ownership by users and groups and reserving different parts of the filesystem for different people. Why can’t we also have something analogous where different files or other system resources are only accessible to applications that have been approved for that access?
Next Week Is Microsoft's Last Chance to Convince the World Windows Still Matters
That monster.
The most likely explanation is that Karpeles saw someone else do something, and tried to ride its coattails.
Are you trying to make me have an aneurism? :)
rm -rf "$STEAMROOT/"*

This is why serious bash scripts use

set -u # trap uses of unset variables

Won't help with deliberately blank ones, of course.

Scripting languages in which all variables are defined if you so much as breathe their names are such a scourge ...

I did this once in a build script. It wiped out all of /usr/lib. Of course, it was running as root! That machine was saved by a sysadmin who had a similar installation; we copied some libs from his machine and everything was cool.
No, it's only a problem when it happens to women. When it happens to men, it's called "life", "man up" and "stop being such a pussy".
It's quite possible he didn't know anything, and was just sending out some test balloons.
Here's my last one (find half of the free memory to feed into a stress testing tool):

stress --vm-bytes $(awk '/MemFree/{printf "%d\n", $2 * 0.5;}' < /proc/meminfo)k --vm-keep -m 1

It's like playing terminal history awk roulette :)
TypeScript was made by C# people, too :)
It's an issue with startup time, at least.
The original hyperloop proposal called for the tube to be in the median between the northgoing and southgoing sections of I-5. That's how the 6B$ estimate conveniently avoided land cost.
Burden of proof in U.S. criminal cases often seems to be more of a suggestion than an actual mandate. With the way the legal system is structured, it's effectively guilty until proven innocent.
Good luck with that. Do you pay citizens, or residents, or perhaps the intersection of them? Do you pay only adults? Or every one who has been born? How dead do you have to be to no longer get the money? (Ie keep your relatives on the machines for longer for money?)

One would draw whatever line results in the least ambiguity and the lowest enforcement cost. Regarding end-of-life decisions, that's what medical ethics, living wills, and single-payer healthcare are for.
I don't know, maybe it's just a courtesy thing then, but either way that's what happens. As a mountain biker and hiker, when on foot I defer to bikes because that's what I would want as a biker, and that's what others do for me when I'm biking.