skysight-inc/HackerNews huggingface dataset:
The general approach is "meet them where they are." I.e., throw parties with free-ish drinks, publish to & engage on social media, bring art to public spaces, etc.

There's often a "storytelling" kind of aspect too--take our artworks and stop being so fussy about them, tell a story that relates, etc. I haven't really seen that work in big numbers. E.g., The Metropolitan Museum of Art does tons of online storytelling, that gets small fractions of the traffic that goes to the Timeline of Art History and the Collections search and the online Exhibition components.

A couple other responses here mention a) millenials are struggling financially, and b) we're an aging population and the old man, he's got all the money. I think both are true. Lots of museums have experimented with low-cost memberships (Brooklyn Museum was a pioneer). But you can donate tiny amounts of money to NPR. Maybe it's a question of really meaning it when you say "every little bit counts."
Wait... this guy actually engraved Leonardo's "The Last Supper" along the edge of a razor.

At first I was hoping that, being a non-native speaker, I misunderstood something. But no, it's really the cutting edge we're talking about here.

This is crazy. I mean, the fact that you need a microscope to look at this kind of art makes it seem more of an exercise in style than anything else, but it's still awesome that someone is able to carve the freakin' edge of a razor.
I think what the parent was referring to was that a universal increase of money supply basically leads to inflation.

I think. I'd welcome any clarification to my attempted summary.
What we be really cool is if you wrote an open source version. I'm sure if you started it, you'd find people to help once you reach minimal functionality.
Another take on the same theme: http://www.howtospotapsychopath.com/2009/05/21/a-surprisingl...
I also don't believe it can't work long term unless attitudes change dramatically. People who work for a low income will complain that there are people who get almost the same without doing any work. The same wealthy people who lobby for more tax cuts will also not want to pay for people who don't do anything.

There will be a lot of people who will use the freedom granted by basic income for productive means but there will also be a lot of people who won't do anything productive and just live off their basic income.

That will give opponents a lot of material for campaigning against basic income. So my prediction is that this won't work long term. That is, unless our society changes in radical ways.
Quickly create a Chrome extension to modify a website’s HTML or CSS
If you do it DIY then you can also use the same packaging for your on-premise deployment as well (i.e. no AWS). ECS etc are great but not everybody is running on AWS.
I agree with the Sort issue, I faced the same problem. However, I cannot see how generics would fit well into code that is supposed to be easier to understand and maintain.
All "my BigTech Co won't let me use this at work" and other privacy concerns aside, this is an amazing tool for budding programmers or experienced ones using an unfamiliar language. Can't wait to try it out!
The XBox One is like a multifunction printer: It's trying to be too many things for too many people and in the end sucking at all of them. (FD: I own two of them.)

The wife and I are hopelessly addicted to the Halo series so we tolerate them, but overall it's one of my least enjoyed electronics to use. The interface is slow, it's prone to frequent networking issues which due to it's need for constant contact with Live cripples it regularly, the need for open NAT required me to open ports to one on a static IP and DMZ the other, I can go on and on. There is so much potential in this platform (as seen on the 360, which is fantastic) and it's wasted with pretty good hardware and absolute garbage software.

Whoever was in charge of the original release of the XBox One's OS should be outright fired, what a disaster that was, and frankly the current one is better but far from what I'd call good.

/rant
Because they are not forced to take whatever they can get to eat.
True, if anything that should be a feature of HN. To try and follow a 403 and use that instead. The only examples I can think of in which this wouldn't be desired are articles you have to login to access, but that could be a short blacklist or whitelist. Of course once we're inspecting URLs for 403s, I can see a slippery slope to indexing and comparing content of submissions...
If I had a decent basic income, I wouldn't be working.
> saying one thing to the public while knowing another to be true

Yes. This is called lying. It doesn't require a "massive conspiracy".

> implies some sort of secret plot that would harm the integrity of our government and country

It implies nothing of the sort. It implies that Government is losing the leverage that gives it the power to levy taxes beyond what is acceptable by the population, and so Government's present endeavors (partly driven by outside commercial pressure - e.g., military contractors) are overshadowing its primary purpose, which is to protect us and our rights.
Proposal: Algol should have dependent types.
> That is already the case. If you whisper a secret into my ear, the government can subpoena me and force me to tell a court what you said. They can force you to tell a court what you said so long as it's not incriminating to you, and even then they can do it if they give you immunity.

This is true, but they can't compel me to inform on someone who had a whispered conversation near me that I couldn't hear. To me, the current bill is more like the latter scenario.

If I invented a communication device consisting of two cans and a connecting string, then sold it as a way for neighbor kids to talk privately to each other, they could not compel me to divulge the contents of their conversations because I wouldn't have access, even though I built the canmunicator. I think that in this case, what they're doing is more like mandating that I have a way to let them monitor all string vibrations.

If they want to subpoena information, they can demand that one of the parties actually involved in the communication surrender their keys. If they refuse, then it seems like basically the same situation as when both parties to a whispered conversation refuse to talk about it.
a. Part of the problem is that people want to live outside city? Should we force people to live in cities or what?

b. It's not a failure of society, it's just the nature of public transport - you simply can't provide direct connections from anywhere to anywhere, you'll always have to walk from/to stations and change lines. The city I live in, although in Europe, is very well communicated, but I work in such place that I can't get there directly from where I live and the whole trip using public transport takes me an hour one way, while with car it's 15 minutes. Now tell me that I should use public transport and waste 40 hours in buses each month.

c. Renting a car doesn't resolve any of the issues mentioned in the article - you still drive a car, just not yours.
Bought a brand new foscam HD off Amazon. Plugged it in, network immediately started acting weird. Router confirmed it was sending outbound traffic where it shouldn't.
That sounds like a totally unbiased source!

PS: I have actually been paid to look into crime statistics. Guns are bad, really really bad. But, you can twist statistics to say the sky is orange if you want to.
It would cover your use of SSH/TLS for providing a service, but they can already subpoena those keys under existing law, so it's of limited relevance in a conversation about what this bill introduces.

What changes here is that if you deployed SSH/TLS using a HSM (Hardware security module), you'd need to be prepared to provide a plaintext stream upon a court order. Obviously, the alternative is to choose the non-HSM route which is, and has always been, vulnerable to subpoena.

I would say the HSM example is likely the government's understanding of the law as it exists today anyway. This is a matter of codifying and clarifying that position.

All of the above-such systems are such where the vendor or operator already controls the means and mechanisms for encryption and decryption. These are already vulnerable to subpoena.

The serious changes in this bill are around building systems where only the end-user can control access to their data.
They are now. They weren't 2 or 3 years ago.
What makes you think the American economy would continue growing at 7% forever?

And why do you believe prices wouldn't rise to meet the new common standard of living afforded by this grant?
This question that went unanswered in the replies bears repeating:

Any idea why the command actually ran? If $foo and $bar were both undefined, rm -rf / should have errored out with the --no-preserve-root message.

The only way I can think of that this would have actually worked on a CentOS7 machine is if $bar evaluated to , so what was run was rm -rf /.

As the above notes, I'm pretty sure recent versions of Redhat/CentOS actually protect against this sort of thing.

On the offchance you're not running a recent server, however, this could also be avoided by using `set -u` in the bash script, as it would cause undefined variables to error out.
The xkcd trust model https://xkcd.com/1181/
I have a foot in both camps -- I have a wife and small children, and we own a car, but I use bicycle and public transit to get to work. There's really no safe way to get the kids to preschool without a car. I had to do this last week, due to some car issues. The cars whooshing by my tiny children as we walked to the bus stop on the narrow shoulder were utterly terrifying. I won't be doing that again soon.

There were no economical alternatives to our current housing situation, so like many other commenters, we have to use a personal vehicle even though we'd prefer to avoid it.
sievebrain - Did you read the full issue? This is an edge case - a program running on a 40 core machine that the developers were trying to keep to a 5MB heap. And yes, the answer was "use more RAM", but by "more" they mean "40MB". Not like gigabytes or anything.

There's always going to be edge cases in any GC/compiler/etc ... you just can't account for every case. I suppose with java's infinite knobs, you might be able to... but then you have to tune the GC. In Go, there's just one knob (a slider, really, more CPU vs. more RAM), and 98% of the time you'll never need to touch it. I had honestly forgotten it exists, and I work on a large Go project daily at work.
... and once it is followed, it is the true URL that should be displayed, because it contains more useful information for the end user, like the true domain where the article resides, instead of the alphabet soup you get with link shorteners. which, again, is why link shorteners are banned here.

i probably shouldn't engage in arguing pointless minutiae like this. i will refrain after this one.
In the past century we have countless examples of socialism failing, yet its proponents devise some new scheme, some new brand and try to sell it as if something will be different this time. Socialism will always fail because it is contradictory to human nature.
Not if you adjust for usage. On average people use Long guns more than hand guns.
This isn't that big a deal IMO. For a start, any non-trivial complex problem will probably not be included in kite, and the trivial stuff is generally memorised or easily googled.

This is really only spoon feeding.
Well, as I said earlier, stack unwinding does not imply that the stack unwinding is NORMAL; I'm fine with it in exceptional cases.

Defer has its own quirks that irritate me but I wouldn't call them exceptional so much as dynamic RAII.... or something.

Either way, if the languages allow me to avoid tracking down every possible http connection exception I need to trap to avoid bringing down my process I'd say it's a net win.
Kite – Artificial pair programmer
What about euthanasia?

Person A kills person B and B wants to be dead/killed.
I watched the users of my last app cut and paste data from the application into excel, mess with the data in excel, upload the excel back to the database and ask me what was causing the errors when the unvalidated data in excel would not go back in to the DB. It was eye opening how they accept such a crap system. I tried to change it, but it was never given high enough priority.
The EFF is great but we need to figure out a way to kill this thing. Get your checkbooks. We need an apparatus to kill things like this. Think of it as an NRA for crypto.

Richard Burr is up for reelection this year. Remember to send money to his opponents. We might want to look for any other groups that have issues with Burr and send them money too. Perhaps this is how you kill a bill.

https://ballotpedia.org/Richard_Burr
Julia Robinson was once asked by the UC Berkeley personnel department to describe what she did. Her answer: "Monday – tried to prove theorem, Tuesday tried to prove theorem, Wednesday tried to prove theorem, Thursday tried to prove theorem; Friday – theorem false".
Ask HN: What is your favorite Go Hugo Theme?
I stumbled across the Hugo static site generator, and I am thinking about making a blog with it. I want a theme that loads fast on mobile.

What theme would you recommend?
Because rents will rise to consume the slack leaving them back where they started.
Even if it were open, how would you know the key had been obtained by a third party?
Fizzbuzz trick: you have to make a special case for modulo 15, you can't reuse the 3 and 5 cases.

string reversing in place trick: stopping at the middle else it's an identity function.

Any time you spend with Fizzbuzz, you could spend it on more complete quizzes, discussing past experiences, taking references etc.
Shit Rolls Downhill
I wrote some big things in Go and didn't find the lack of generics particularly problematic. Different languages are good for different things-- Go is good for building things that are relatively concrete. For something like a symbolic math package or a scripting language you might want a different language that makes different tradeoffs.
I don't understand the thinking here. Rents are set by what the market can bear. Make more money available and the price will increase.
If you're not doing offsite and cold backups, then you're just asking for trouble. If not crap like this then a fire or a ransomeware infection or a malicious employee, etc.
Because those are money paid for (saved up) by the same people while they were young and employed...

Where would this basic income for everyone magically come from? It maybe would be possible if the rich (millionaires and especially billionaires) and corporations would pay for it with higher taxes, but since they run the world, I'm guessing that's not gonna happen.

Seriously, the current welfare systems are quite ok (pay only those who don't have enough and/or don't have a job), just streamline it and tax the rich a bit more for more money to go into it. Europe seems to do it best so far. But of course that's socialism, etc. (and somehow basic income isn't)...
Deepfryer Cow Cow, Wahoo Zipzang
The kidnapping was not the reason, it was the excuse.

He was also accused of killing the King, which is more important than killing his father in the scheme of things. But notice he didn't do it and not many characters care anymore.

Tywin wasn't running the 7 kingdoms and never did. Once he came into that level of power there was no unity in the kingdoms, half of them or so in open revolt. He controlled King's Landing and related lands through his grandchild. His family was broke and the only thing they had left was family on the throne (which is not a rightful claim), which is quickly dwindling away and under direct threat from multiple fronts. Notice that once he was dead, it was swept away to something not to worry over just like much of anything involving Tyrion.

Tyrion has been present at many significant events but in the end has little impact on their outcomes. I suspect he'll continue this trend and then one day people may actually start listening to him, which will make things really interesting.

This is one of the things that make this story interesting; that anybody can be made insignificant regardless of their position and power. If there is to be a main character named, I would say it's the "game" because all the characters are just pieces on the board.
I know a lot of guys that work at stats. Some of it is manual but over the last couple years they have actually build some pretty cool stuff to track all this. The company has done three rounds of massive layoffs over the last year though so who knows if advancements will continue.
It was interesting that they used dogs as an example of a population that had its work taken away by technological progress, yet did not provide the obvious counter example (horses).
argumentum ad hominem (edit: was never asked to do Fizzbuzz)
Kinda like turtle! https://hackage.haskell.org/package/turtle

Oh by the way, I accidentally hit downvote on your post and HN doesn't let me undo that action... I was just trying to hide it! Sorry!
Usually, when I read a story about a case that is either extremely harsh or extremely light in the sentencing the first thing I ask is "is the defendant white?"

Was not surprised.

Now for those that think it's not harsh because a) smuggling b) not first time. These aren't elephant or rhino tusks and the species of turtles he was caught with aren't threatened or endangered. He's basically spending 5 years in jail for not having the right permits. You know the same permits that everyone is so fond of Uber and Airbnb for "disrupting".

He's admitted to smuggling thousands but was caught with 51. If you speed everyday they charge you with the one you were caught doing not the other 364 times you weren't caught.

Finally, this is federal time. There is no parole. Hopefully he can get something reasonable on appeal. If he decides to appeal
This looks fantastic. It would be great to get this working in Light Table.

Another commenter asked about hotkeys and I'd like to pile on to that sentiment – I've recently started using Vim (and Vimium) and it's really disappointing not being able to navigate by keyboard.
Not necessarily a backwards loop, it can be done just fine with a simple recursion too. If a candidate can't do either, well, this is a task explicitly to weed out those candidates.
You have to fund it via land value tax or rentiers will take up all the slack.

Get rid of income tax, tax land. We want to stop rentiers, we don't want to stop workers. Right now it's back to front, by design.
$100M Plan Will Send Probes to the Nearest Star
It's still easy enough, there are many hundreds of geographical locations in many tens of languages alone. Just make some effort.
Checking in on the Great Intramural VC Unicorn Bet
Go read up on the origins of FizzBuzz. It was intended to filter out the non-coders, despite what their resume might say. That was Spolksy's problem: BS in CS, resume otherwise looks good, get them in for a tech interview and they simply bomb.

Mind still blown? Yeah, well, it happens more than you think. Varying definitions for "SDET" are out there, but I think most would agree that an SDET should be able to code. I've had SDETs with Microsoft on their resume that couldn't even match curly braces, let alone write something that would compile and work.

So I use FizzBuzz or an equivalent. I tell the candidate up front that it should take them single digit minutes. I offer points for creativity if they find it too simple. And once in a while a candidate with ten years experience shows up who can't do it. Glad we didn't start with that red/black tree implementation, then.
Exactly - thank you. It's somewhat depressing to see the number of people who either don't understand this concept, or think that somehow it doesn't apply in this case.

It reminds me of Tobias Fünke in Arrested Development, when asked if open relationships ever work, saying "No, it never does. I mean, these people somehow delude themselves into thinking it might, but ... But it might work for us."
Yes, but i don't know whether what i observer is your standard "typical economic inflation" or some very particular phenomenon targeting the poor.

A disabled relative of mine is considering signing with Uber to lease their car (did you know Uber leases?) to make some money. After paying for gas and insurance - he is literally working slave wage. I thought this is relevant somehow.
If you have a fixed-rate mortgage, you will never experience an increase in your payment, so I'm not sure why you think there will be arbitrary increases. Also, while the payment will be higher on a mortgage, you also have an asset. The only part of a mortgage payment comparable to rent is the interest. Do you really mean to say that the interest on a flat is more than rent?
By 'closed', I also meant that the key was in proprietary possession.

If it were open, one could check and ensure private keys were never under the possesion of a third-party.
well, there's tools to help you scale, but the principle remains the same. Users telling you why they don't use your product is still much, much, much better than people just walking away silently.
All JVM languages "are" the same speed, because they compile to the same bytecode.

OTOH some languages make it more practical / cheaper to write higher-performance code, e.g. in Scala you can use @specialized to automatically generate unboxed special cases for generic code that you'd have to write (and keep track of) by hand in Java. But if you ask "in which JVM language is it most practical/cheapest to write feature X with performance Y?" then the biggest component of the answer is going to be how easy programming in general in that language is, not anything specific to performance.

The question "how fast will a naive implementation in language X perform?" does have an answer, but it's not a question you should ever be asking - if a naive implementation in language X is faster than a naive implementation in language Y, but takes 3x as long to write as an optimised implementation in language Y that's faster than the naive implementation in language X, then language Y is the better choice.
I've just build AMD system for myself based on FX 8320 and so far I love it. I am developer and I am constantly running multiple applications (http server, db, multiple chrome tabs) which are using multiple cores. FX series also supports VT and many other features http://cpuboss.com/cpu/AMD-FX-8320 on top of that usually mobos are supporting 32/64GB RAM even in cheaper boards, and it's enough for casual gaming, not bad for used £90 CPU with CM Hyper 212 EVO cooler
Living the Most Productive Week in the History of Mankind
I'd argue either are just as bad as C++ if you actually use all those features, just like NOT using all those features turns your C++ readable.

I'd also argue that Haskell does NOT support all the features directly but implements them through the language, which is a Good Thing.

I consider CL a mess, so I probably shouldn't comment on it.
Before you apply `set -u` to all of your scripts, be aware that an empty array counts as undefined. So if you have arrays for which being empty is valid, be sure to `set +u` right before accessing them (and then `set -u` again after).
Why only one million, why not five million?
The people working for only slightly more than the UBI will get more than twice the income of someone not working at all. Universal basic income means everyone gets the income.
I questioning if that is the fault of the language, the jvm, or the developer at this point.
> normal level without caring

One of my personal quotes is "caring is the first step towards insanity".

Over-caring/empathy can also push one towards an unhealthy level of isolation as a coping mechanism. Granted that is a choice whereas someone on the spectrum faces isolation by default.
rayiner mentions mobility in a cousin comment. In a healthy housing market, rents should roughly match the price of new construction (plus some profit) rather than being set just by the existing supply.