skysight-inc/HackerNews huggingface dataset:
Yeah, I like the idea of using sql but it is painful to write.

It would be nice to omit the select and the quoting; my suggestion would be that

fsql "select * from ..."

could be written as

select all from ...

and all could be assumed if ommitted; so you could write

select from

or just

from ...

But unfortunately `select` is a sh(1) reserved word and `from` is an existing command! (shows who who your mail is from)

So maybe select and from could be shortened to sel and frm.
Wannacry is just the beginning
Security Flaw in Ubuntu Login Screen Could Let Anyone Access Your Files
Global+Acetal+copolymer+Market+Present+Scenario+and+Growth+Prospects+2016-2021
There is a crate that does it in a duck-typed manner. It's not clear that the stronger typed version can work. We'll see.
While I appreciate SO, I think it is only a glorified ExpertsExchange or some other BB that were popular before SO.
For some perspective, CryptoWall made over $300mm in it's first year [0] and CryptoLocker made $30mm in 100 days [1].

[0] http://thehackernews.com/2015/10/cryptowall-ransomware.html

[1] http://www.pcworld.com/article/2082204/crime-pays-very-well-...
It fucking sucked. Src 25 years programming.
Trump Revealed Highly Classified Intelligence to Russia
How to compile this package apt_0.7.25.3ubuntu9.3.tar.gz
Virulent WCry ransomware worm may have North Korea’s fingerprints on it
Before SO we had usenet groups, and later forums, so you'd ask those same questions and someone would help, pretty much like SO just on a smaller scale. Also back then we actually RTFM, and manuals usually included source examples so you'd figure out from it how to do the basic stuff and then worked your way from there by trial & error. Borland's Delphi had one of the best manuals I've ever used, to the day. And it was much slower and harder to learn it (but also you'd get broader knowledge than today).
I can do one better. Every time I boot into windows (7) it sees my md raid1 drives with the metadata at the back (long story - I was trying to boot off it and didn't do a very good job), sees a valid GPT table but that the disk length is "too small" by a little bit...and "fixes" it without asking. So every time I boot back into linux I have to repair my partition table. It's gotten to the point that any time I consider updating or doing anything major to my windows install, step 1 is to physically unplug all my other drives.
Sensible option for someone in the west. Wouldn't make sense at all for the ecosystem of digital needs one would want to fulfill in China.

Also, you're thinking of 'pirating' as equating going to the pirate bay, digging through the slew of junk in there, getting a whole bunch of complicated key gen and activation blockers or what not and ending up with a crippled system. Pirated Windows in China is very much a commercially finished product fully packaged as a consumer friendly product that's probably easier to install than vanilla licensed Windows.
Nope, I thought so too, but you can't. When the transparent-or-black layer activates, you end up with a blurry blob of black, not a sharp one. That means the best you can do is sort of muddy the image, not block it. It's the same reason you can't see scratches in glasses -- it gets blurred because your eyes' focal plane is in the distance.

Or more precisely: You could do this, but it's probably not going to have the results you wanted. The effect has a good chance of being too distracting to be practical. But it's hard to know without trying it.
When you have prior knowledge about what X does (deletes evidence) and there's no reason to say "the password is not X" other than to trick someone into trying X as the password, that's how.
Those billionares wouldn't be billionares without taking advantage of the infrastructure and support of the country they made their money in. So they've already taken from you - from your taxes.

This is their opportunity to repay their governments for those advantages.
I wonder what the legality is of microsoft writing a worm to disable windows installs until they pay.

They of course already have this feature, but it is not a worm.
This is nuts! So this will make you:

a) Check-in luggage you want it or not.

b) Check-in your 2K€ laptop and risk it getting lost. Along with all the time required to put hardware, software and data back.

Great. I won't fly unless strictly, strictly necessary (frequent flyer here).
the windows monopoly is still hurting us. We need a reverse engineered gpl windows :) that doesn't leave gaping security holes.

a free OS is fundamental.
Can you elaborate? (I'm not familiar with the Windows Store, though I guess it is similar to the Apple and Play Stores.) What do you mean by your statement?
I feel like this advice, though not bad, always needs to have some sort of follow-up about how you procure "your" lawyer. Is it best to do it in advance (by having a list of local names and areas of expertise) or at the time of arrest (will you have access to Google?)? Should you take your chances with either a court-appointed one or whoever has the flashiest advertisements made available to you? Most of us don't have someone to call "my lawyer", so the prospect of invoking a non-existent figure makes it all the more tempting to simply answer the police's questioning.
Yeah, but keep in mind that not everyone's computer-savvy enough to do that. Often people will go the path of least resistance... and if it means your laptop/computer ships with illegal copies of Windows, that's what you're going to use.

I think Macbooks are pretty expensive in China (last I checked, this was a few years ago, so this might have changed), which is why people are gonna leap for the cheaper alternatives.
Ask HN: What are your company values?
Trying to figure out what are the best ways to set values for your startup. Also interested in going through values of other companies from HN community.
Adding to that ... I'm sure the'll do 'The Art of Memes' with someone in 20 years. But not yet. How many late career tweeters and bloggers do we have?
I often wish Facebook would have followed that approach. They made money very early with small ads on a lots of page views, did not need investors.

But they went into the VC religion of revenue growth, took their money, then Wall Street money, and they cannot go back now because all employees and stockholders have been promised more. So more ads, more snooping on users, more worldwide control, we need to feed the beast.

Zuckerberg could have continued managing it a-la Craigslist, and still make a few billion for himself. We would all feel much better about using FB.
I don't know if this is a good or bad call, and I don't know if it's being driven by the out of touch perspective of the current administration, or if there is some rational logic behind the decision that the public isn't a party to.

What I do know is that all of the opinions I read about the possibility of an in flight electronics ban ignore the first two questions and jump straight to the impact of lost productivity and inconvenience.

If the point were ever to be proven right, there would be instant outrage that action wasn't taken in light of the threat.
For (most) languages lacking a REPL, it's very similar. Instead of a REPL you write compiled unit tests and/or test programs to poke around at the API.

For languages with a reasonably sophisticated IDE, use the IDE itself to jump straight to the class/function declarations to understand the surface area of the API, and jump to the decompiled code for the implementation of those functions if you're the type to want to understand the machinery.

Other languages (like Haskell) may not have the IDE support but attempt to solve the problem with auto-generated docs so you can at least see the surface area of the API and can start prodding it.
I guess Alan Kay is wrong: The best way to predict the future is to suggest others build for you.
Just imagine the number of people that would immediately reject craigslist if it got a clever 'redesign.' It has worked the same way is forever and there are people who are not incredibly computer literate who rely on it. If craigslist moved as fast as facebook then in my opinion I think it would have been already been replaced.
Call me crazy, but I don't think any government should be running closed source software for anything where there exists an open source alternative.
The fun bit about this is that some may get the same effect at home from their windows. I know my SW facing windows will reflect little X shapes onto the back lawn and when you cross one they are noticeably hot. it is almost useful in winter

So what I am saying is that while some sky scrapers/etc can cause issues its the design/surface of all window surfaces that cause issues. it just is a matter of scale
Until those get banned.

Or the government mandates that prior to boarding, you've got to place your phone/phablet device in an EOD containment chamber along with everybody else's device, which sits in the cargo hold.

It sounds absurd, but then again most of what we have to go through now at the airport is, compared to what took place prior to 9/11.
If I've got the exchange rates and number crunching right, a little over $58k USD. For some reason I'd expected this to be higher, though I haven't figured out why yet.

What I'm curious of is whether this much money is worth the effort put into it? I'm not sure how to begin quantifying the dev and operational costs of WannaCrypt's masters.
May you never become old, or disabled to the point where you can't work, lest you encroach on the free will of everyone around you by drawing upon Medicare, Medicade, and Social Security.
Mostly gut feeling :).

To be fair my javac comparison with with Gradle + Android Studio layered on top so it may be a bit slanted in favor of Cargo/Rust. That said I've never seen a Java build environment that I'd call 'snappy'.
Is http://mern.io/ still cool? What problems did it have that made people look for something else?
Fortunately, that isn't entirely true in this case.

In rural western Utah (and eastern Nevada) we get fiber-to-house from a relatively small broadband company. It's pricey, and they are literally the only available service (apart from satellite), but they are doing great work. A few years ago, I thought the best this <50 house town could ever hope for was DSL. I was happily proved wrong.

My hope is that there are more businesses willing to do the same thing across the US.
>“Picture a technology firm moving employees from Europe to the U.S and telling the developers in those firms they can’t use laptops on airplanes,”

>Chaos

Yes total chaos I'm sure, if you can't be without your laptop for 8 hours then your company has horrible time management.
>if you are interested in the answer to your question

I guess I'm not. Hey, let me ask you something. Are you a very experienced Linux user? It's the only other community I've heard this perspective from.
Why are these orders of magnitude more profitable than WannaCrypt? More computers infected? Bigger percentage of targets paying the ransom? Larger ransom amounts? Something else?
Programmers time is still worth much more than cpu time ...
The current rules define large devices that must be stowed during take-off and landing as any device over 2 pounds.

If the TSA uses the large device classification in their new rules, you may be able to bring a laptop on anyways as long as it's under 2 pounds. Good luck explaining this to a TSA agent though once they start enforcing the new rules.
It's also not clear how the attackers will be able to launder the Bitcoin, given how many eyes are now on those addresses.
iirc there were reports that even govt agencies in China are running pirated copies of Windows.
Your site does not works with Firefox ESR.
True, though "good IDE support" in the sense you're talking about (i.e. being able to discover an API through the IDE) mostly relies on strong typing in the language. (Non-inferred) type declarations are their own form of documentation, with a similar effect on likelihood of a "marginal" ecosystem package getting written.
I mean if they had the a semi working prototype of a device that was the HoloLens but more like a pair of RayBans then I could completely see investors just throwing money into the furnace with them but are they stuck on the sunk cost fallacy? What the hells happening in Ft. Lauderdale
What about serving uncompressed content over https?

What about serving up an error page when the user's browser odesn't have compressor you support?

What about paying attention to web standards?

What about people who are stuck with old software for one reason or another?
Buying from well-known OEMs is rare in China. Many laptops, desktops and tablets are domestically made, even OEMs in China preload computers with pirated Windows.

If it was from a well-known OEM, it would be the Linux/freeDOS version, and the retail store would help install a pirated copy of Windows for you.
This is a perfectly rational response in a capitalistic society. Sponsors obtain value from sponsorship through perks, social signaling, continued existence of Borderlands, personal gratification, and so on. On the other side of the transaction, Borderlands monetizes it's social and goodwill capital.

This exchange of value for money is done in a way that may be somewhat unique for a retail establishment, but isn't anywhere close to anti-capitalistic.
I imagine you have heard of the Mr Money Mustache and his wife who became financially independent at age ~30 with both of them just working regular tech jobs. You should check out his blog[1] if you haven't. His philosophy is low spending while still having "kick-ass life". Offspring, travel, great food, etc. They own their house and spend about $25,000 per year.

[1] http://www.mrmoneymustache.com/
Trump Revealed Highly Classified Intelligence to Russia, in Break with Ally
Agreed, this culture of abuse goes way back, and is as much rooted in a macho "I went through this, you're damn well going to" mentality.

I do think the increasing corporatization of medicine in the USA has accelerated the loss of autonomy and satisfaction, which makes the abuse and overwork far more difficult to take.
> Hence, it's the standard compression algorithm for HTTPS.

I think you're mistaken "de-facto standard" for "standard". They are not the same thing, and whether brotli actually is a de-facto standard is debatable, but it's not the standard.

It's perfectly acceptable to do whatever you want with your own web stack and application. You wouldn't be getting much pushback if you simply justified it as "It's what I want to do", but you are providing evidence that is factually incorrect, where no evidence is really required.

Also, it should be noted that there is a valid reason to eschew compression for HTTPS on the client side, and that's security. Compression of HTTPS channels opens up the possibility for a few more forms of attack on the encrypted data.
Chrome book rental service. All I got to say.
I'm relatively surprised that Trump was even given such classified information to begin with. I would have thought that the security agencies would have given him the equivalent of an "unplugged controller" the way big brothers do to little brothers to prevent them from screwing up their video game.
> I think the number whose subject areas could even be relevant to the development of the tech was like at most 20. Out of about a thousand.

That is utterly bizarre. I know a few very qualified folks (tons of experience in VR, a couple at Oculus) who had applied to Magic Leap and were flat out ghosted.
I didn't create a detailed breakup by field. The number of about 20 (very rough number) that I mentioned was for the number of hardware/optics people.

There are a shitload of VFX/HR people/people managers though.
They've caused billions in damage though,and possibly death.
> Check-in your 2K€ laptop and risk it getting lost.

or stolen.
How about "you can't be without your laptop during your business travel at all"?

Who puts a laptop worth several thousands of euros in check-in luggage which gets lost, stolen and damaged all the time?
> underprivileged can already find aid when/where needed

Mostly via the government, through food stamps, medicare, medicaid, welfare, etc. So the precedent is already there, and already consumes somewhere near 2/3 of your taxes today. Charity provides comparatively little for your average poverty stricken family.

If Paul got his wealth off the back of Peter and the government they both keep in power, is it theft to want Paul to help Peter when he can no longer work?
"We made black with light." - Rony Abovitz (founder of Magic Leap)

Previous discussion https://news.ycombinator.com/item?id=13136110
If the justification for this is that you can hide explosives in a laptop, it seems pointless when a Macbook is about as thick as an iPad. If they are going to ban anything shouldn't it be all devices over a given thickness or internal volume?
I have lived in China forever and I have no idea what you are talking about.

Every laptop that I have owned came with legal copy of Windows with it. My family members have brought numerous legal copies (discs) from a local "computer district" as well.
Ironically, I went there to find the link to the USA Today article that I quoted.
Oh yeah, this is exactly how the Lazarus Group — one of the most sophisticated hacking outfits — would have designed their ransomware. Zero code obfuscation, just 3 Bitcoin addresses, and hardcoded kill switches. I never imagined I would be able to hex-edit cyber-espionage-grade malware. Times are a changing.

Claiming that a few generic code routines are identical to Lazarus hacking tools is like calling every malware that uses RC4 or RC5 an NSA cyber-weapon.

This is just some hype created by Kaspersky's PR.
I lived without Plex for a very long time, but could not find a good media player now that the WDTV is no longer in production. Plex is ubiquitous. Smart TVs have a Plex app, nearly every media player has the ability to load a Plex app.

And my five year olds can use it. And I can prevent them from watching anything I haven't allowed them to watch. I kind of wish I hadn't resisted for so long, but now I'm on board.

My Plex server runs Ubuntu, which connects via NFS to a Synology that stores the data on a mirrored array. Since it is connected via network files are placed on the server over the network using rsync over ssh or just scp depending on the source.
Am I the only one who thinks that this is getting ridiculous? Sometimes in life you meet a person who is very worried about ISIS, terrorism or germs. And that's fine, and it's usually about their fear. But requiring hundreds of millions of people to re-arrange their life because you are a fearful person is where I draw the "Completely ridiculous" line.

And where is this different from: Our king woke up today, and he thinks everyone must wear red. Police and military will be deployed all over the city; those who are wearing any color but red will be arrested at gun point.

Or does that mean that for the last decades we have been flying unsafely the whole time; and somehow avoided the major catastrophes these new laws protects from?
It's needed because the private sector isn't paying for it.

There's no law that says private hospitals can't fund residency slots - in fact they fund many of them - but, as the source you're commenting on says; "[medicare is] the principal source of residency funding".
Air travel has been heaping accretions of indignities on passengers for decades without blowback. Why would this latest one be the straw to break the camel's spine?
Have you ever gilded someone and paid by credit card? If so, your credit card is linked to your account.
Turns out that steam baking is making a huge difference in the quality and taste of bread. That's why a dutch oven is required when baking in a normal oven.

I recently got a steam capable combi oven from the Tovala Kickstarter project (a YC company), and it makes awesome bread, even from something as simple and cheap as Trader Joe's pizza dough.

This it what it looks like (not my tweet): https://twitter.com/AvidanRoss/status/861346625859371008
Good analogy w/r/t scratches in glass ... but if that's a solvable problem for what you want to show (the additive layer), it seems like it should also be a solvable problem for the subtractive layer (?)
The end result will be that they'll get much more efficient at distributing patched bootlegs. This story is far from over.
> If the point were ever to be proven right, there would be instant outrage that action wasn't taken in light of the threat.

Possibly, but outrage is not always correct. Politicians know that there will always be some outcry no matter what they decide.
Don't. If you don't have in mind any particular quality that you are proud of
or strive to have, any values you'll conceive will be bullshit.
Well, the 'chaos' they're talking about is the operational and logistical concerns airports and airlines face about how to implement such a ban and the challenges it brings.
I rarely see any travel use his laptop during flights. (I travel economy, though). I think most travelers are worried about their laptop being damaged or stolen.
According to the article the main problem isn't people that can't be without a laptop, but rather the additional risk of losing or compromising a laptop with sensitive and/or important data.
It's a very big reverse proxy
I think the worst part of this is the fact that there is a lot of people who have to travel with laptops with potentially sensitive data (myself included), and it is just fundamentally wrong to let the laptops get out of your sight. I can't trust that my laptop is being handled properly going across borders and potentially could be putting people at risk. Because of the nature of my work I also need to bring the confidential information of my employer with me just to debug the problem in the first place, but by the nature of my work I could have accidentally contaminated it and not realized it.

I am surprised that consulting firms haven't already gotten onto the warpath.
Here are my string-to-sexpr [0] parser and sexpr-to-ast parser [1] for the text format. There are some oddities such as forward function names and the fact that the binary form doesn't have a lot of these shortcuts, but overall it is very straightforward.

0 - https://github.com/cretz/asmble/blob/e9cdfc3b0feafc3d4f76b9d... 1 - https://github.com/cretz/asmble/blob/e9cdfc3b0feafc3d4f76b9d...
sorry that should be " like feeding data to a machine, than trying a combination.."
Non-Windows systems are also susceptible to zero-days and poor security. However, Linux systems are typically managed by the technically competent, and Macs constitute such a comparatively small share of the consumer market that the economics of an attack against them just don't make sense.
https://news.ycombinator.com/item?id=14311073

https://news.ycombinator.com/item?id=14312210
> They own their house and spend about $25,000 per year

In the Bay Area, this is a multi-million-dollar ordeal in itself :-(
SQL is familiar-ish to a lot of people.

Contrariwise, I rarely see a non-trivial `find` invocation that does not have a few bugs. (including my own!)
i don't have time to read this specific article, but in another discussion of this issue, a real threat was brought up in forcing laptops to be checked. there are non-zero occurrences of laptop fires happening on flights, but since they were with people in the cabin or in the overhead bins, they were able to be supressed. if these fires started in the luggage storage, they might have raged unchecked or created other issues. i would be surprised if airplanes don't have fire supression in the luggage compartment, but forcing the storage of laptops there seems to be asking for trouble.