skysight-inc/HackerNews huggingface dataset:
There is broad variability in competence of individual opticians, whether independent or at a chain store. If you have access to a competent local optician in your city, wonderful. If you don't, there's no reason to pay 10X prices for worse service than you can obtain yourself with a few minutes of measurements. Unlike an optician who needs to fit a wide variety of customer faces, you only need to fit a single face, which is a one-time learning exercise.
Don't do that. You risk scalding burns. Far more people get scalded by tap/shower water that is too hot than contract legionnaires by several orders of magnitude.

120F is the max recommended hot water temperature in the International Plumbing Code.
So what's the point of obseessing over your (clean) laundry?
Yes - the most recent extension to copyright in the US expires on Dec 31, 2018. Unless Congress passes another extension, a whole selection of older works will pass into the public domain for the first time in decades on Jan 1, 2019.

In the past, Disney has been successful in lobbying Congress to extend it to prevent Steamboat Willie (the cartoon where Mickey Mouse first appeared) from entering the public domain, but it appears that they aren't actually making a push to do so this time - fingers crossed, this might actually happen.
MH370 experts think they’ve finally solved the mystery of the doomed flight
May I ask why you chose CentOS for a laptop? You mentioned this was your first Linux install, which makes me suspect you might do better with another Linux distribution. CentOS, and Red Hat Enterprise Linux from which it is derived, is usually used on server hardware and virtual machines. It certainly can be installed on a portable machine, but you will struggle more than you would with a distribution that is optimized for installation on diverse desktop/laptop hardware. You're already struggling with boot loader problems; you'll face display and wireless driver problems after that. There are easier ways to get a working Linux installation onto a laptop.
Where I am the thin bags are quite strong, but all the cashiers are forced to double bag anyway because of that one time it breaks and the customer gets mad. I have to just go along with it instead of bothering them.
For one, machines haven't (yet) proven as capable as them in dynamic situations. The tech both hardware and software simply isn't there yet. The fact that these Boston Dynamics robots are both loud, and have a relatively short battery life cements this current fact. This problem will likely be overcome in the next 5-10 years or less. That kind of makes it a nonstarter in and of itself. As it stands today, it is the same reason you don't (yet) have machines replacing fast food workers. The economics for most places or the actual tech simply isn't there 100%. Not yet at least.
First is WP 8, second is Windows 10. They have nothing to do with each other.
If your prescription is less than -5.00, Eyebuydirect provides free aspheric CR-39 lenses, which will be higher optical quality (especially for computer use - less chromatic aberration) than the polycarb lenses used by Warby Parker.
When I was a kid, I was at my babysitter's house waiting to be picked up by my parents. Another kid's parent showed up, parked her car, and put one of her kids in the front seat. Her other kid ran in the house, and she ran after him. The first kid let the e-brake off, and the car went rolling down the driveway and hit a tree. It didn't roll very fast, so there was no damage and nobody was hurt. But the mom was freaked out as she came back out 10 seconds later and saw the car rolling away...

This was in the late 80s. The car wasn't running. It was a mechanical e-brake. I know a lot of cars have electronic parking brakes now, but most probably still don't.

On another note, I can't think of a single car that will let you take it out of Park without a foot on the brake, or without using an override.
Your comment makes me wonder, did I just enter a time warp back to 2012-2013? (https://readwrite.com/2012/08/16/developers-are-pissed-frust... , https://readwrite.com/2013/03/03/twitter-kills-off-tweetdeck...) I'm frankly surprised at anyone counting on Twitter sharecropping since then.
Giant gears that mesh with the sides of the train would be pretty awesome.
On Android you can long press the button and you get a tooltip. It works as long as the app isn't using custom UI elements.
Seconding this. Shellcheck is fucking amazing and whenever I visit the wiki page for a specific issue it's extremely descriptive and helps you understand why the flagged behavior is a problem.

Some of the tips are obscure stuff that I never would have realized, like using `command -v` instead of `which` in my (arch) linux install script because command -v is more portable.

And then you have the classic stuff like printf instead of echo -e, using pritnf string formatting, writing `\\n` instead of `\n`, double quoting variables etc
I rarely use my phone either. I keep it to send the occasional snap, use Discord, Google Maps, Notion for business, Email, and Chrome.

The majority of time on my phone is for a hotspot or to read an article while waiting somewhere. Now to apply it to my PC, couldn't do it.
jesus christ is nothing sacred
My brain cannot tell the difference between the Jira and confluence favicons. I am forever clicking on the wrong browser tab.
LARNN: Linear Attention Recurrent Neural Network
Are you sure about (b) and (c)? They seem quite wrong to me. Just looking at the abstract of [0], one can have homomorphic equality test in a semi-honest model, which already seems good enough. The abstract does not point any theoretical limit either.

(a) is a classical side-channel attack, and as I say non-homomorphic libraries already take these kinds of attacks in consideration. HE won't be an exception to that, depending on what level of privacy is needed.

I did not understand what you mean by (d), and to be honest by (b) either. If you have any papers/blogs about that I'll be glad to read them.

And yes I agree, successful FHE system is inexistent as for now. But the evidence of the bare existence of FHE is only ten years old, somewhat practical FHE is even younger. We've not even reached practical FHE yet, security issues will be tackled when they will become the blocking point. At this point of the technology you can't expect research to be immediately applicable. ZK proofs were first designed in the 80s, and as far as I know they only started to be used in practice (zk-SNARKS for instance) recently.

[0]: https://ieeexplore.ieee.org/document/7941933/
You just add quotes around $dir. Bash understands the quotes properly/recursively.

parent_dir = "$(basename "$dir")"
I just tried it on my machine (I'm also using gpg 2.2.7) and I got DECRYPTION_FAILED when I do the following:

% gpg --version
gpg (GnuPG) 2.2.7
libgcrypt 1.8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/cyphar/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
% gpg --encrypt --disable-mdc input --output output
% gpg --decrypt --status-fd 1 --output should_not_exist output | grep DECRYPTION_FAILED
[GNUPG:] DECRYPTION_FAILED
% echo $?
2
% diff -s input should_not_exist
Files input and should_not_exist are identical

However (as you can see above), it looks like GPG outputs to the file when it shouldn't (and Werner said that it doesn't so there's definitely a bug here).
The transfer market is still viable. I bought my /24 from https://www.ipv4auctions.com/
Age of Petty Tyrannies
I guess it depends on whether you're more concerned about water efficiency or energy efficiency. If you're OK with not reusing the water, the building's water heater (especially in a multi-unit dwelling) is going to be larger and thus more energy efficient (also possibly slower, providing large quantities by dint of its tank) than the smaller heating element in a dishwasher. And you can just trickle a little bit in throughout the cycle to keep it hot.
It was in the video in the middle of the article. And yes, you'd have to count everyone who lived in the 20th century, too. Still, that's a staggeringly large amount of plastic per person.
This is to say nothing of the fundamental legal abhorrence of the idea of retroactive copyright extensions.

Copyright exists as an incentive to create works; in return for creating them, the creator gains exclusive right to monetise the work for a period of time, before that work passes into the public domain and becomes part of shared culture.

If I've already been incentivised by copyright to create something, and have in fact created it, how can a retroactive extension of copyright further incentivise me to create the thing I've already created?

If I paid someone to build a house, and they built it, it would be absurd to go back to them after the house is built and pay them more money to make sure they build the house that they've already built.
Amen. Writing bash scripts (I have been programming in Unix since 1985) is an unnatural, fragile, and error prone endeavor. If is more than 5 lines long, I use Perl (which still far from ideal). When an article is almost solely about what not to do, that tells you something.
How many baby girls have now been named "ok google" instead?
I think Python is made for other tasks than shell. Shell programs mainly consist of invocations for external command-line utilities that you can develop and generalize from interactive shell sessions and one-off automation scripts. Python OTOH is a general-purpose programming language.
You quote it like this:

parent_dir="$(basename "$dir")"

Quotes are syntactic in bash, so it understands that the outer pair of quotes are surrounding the command substitution and the inner pair are inside it. This will work regardless of any spaces or special characters in $dir.
Change approved.
It kind of amazes me now when I use Undo in a native non-text-editing, non-photo-editing Mac app like Mail.

Of course you can Undo something like Archiving a message. That's the Mac way, since 1984.

But after a decade of using gmail, it's not even something I would think to do.
From Germany, IC Berlin and (spinoff) Mykita have well-engineered screwless metal frames.

Modo (NY) has some lightweight frames made in Japan, including a screwless line, for 50% less.

Eyebuydirect (owned by EssilorLuxottica) has a lightweight metal frame with grooved lens mounting, for 95% less.
AP-NORC Poll: Just 24 percent say US heading right direction
I don't see why we shouldn't hold clients accountable for not checking error codes from a cryptographic tool. Would you have the same opinion if a client didn't check the error code of 'gpg --verify' -- and thus accepted all signed messages as being valid? I think it's fair to say that there is more than one issue at play here.

FWIW, I completely agree that AEAD should have been added to PGP a long time ago and it's asinine that it hasn't been done yet. Not to mention that it's vulnerable to surreptitious forwarding, and the packet format is insanely complicated and has lots of edge-cases that mean that everyone has to emulate GPG in order to work properly. These things concerned me so much that I decided to use ChaCha20-Poly1305 instead of PGP for a recent project. (I was skeptical of this vulnerability when I first read it, but after sleeping on it and reading comments like yours I decided I was mistaken -- especially since .)
See here: https://arstechnica.com/gaming/2018/05/syfy-has-canceled-the...

> The Expanse, based on a series of popular novels by a duo of authors who write under the pen name James S.A. Corey, was critically acclaimed and beloved by fans, but it was expensive to produce, it delivered poor on-air ratings, and critically, Syfy had only first-run linear rights. In other words, the network did not have the OTT (over-the-top: streaming and other digital distribution as opposed to broadcast air) rights. For a show like The Expanse, OTT viewing is key for long-term revenue. The show was only made available on cable television or by purchasing episodes or season passes on digital storefronts like iTunes and Amazon.

> is not a particularly weird reason.

I'd say it is. Exclusivity harms creators and users too, who can't access the result in stores and ways that are convenient to them. In the ideal world, Alcon Entertainment would make the series and sell it in every Internet store, including their own DRM-free option :)

> that the sum total people are willing to pay for it is less than the people that make it are willing to accept to keep making it.

No, people are willing to pay enough, but distributors should stop hampering competition with exclusivity restrictions. No exclusivity means wider reach, which means more profit for creators to do their work.
Digital innovators are missing out on SexTech
I've written a ridiculous amount of shell script in my day, especially when doing "devops" before we had a term like "devops" to describe it. I've fallen in almost every pit bash has. With that background, here is my opinion.

1. This article contains excellent advice and should be starred for later retrieval.

2. Having basic scripting skills will make you a way better programmer. Many times I've done huge refactors and needle-in-hay-stack searches using only shell commands.

3. Shell is the universal language.

4. Bash isn't that bad once you get used to it (seriously.
I'll grant you tho that arrays are still nasty ;-) ).

5. Bash is not that dangerous if you follow best practices. Don't be lazy!

6. You will not regret getting really good at shell script. You'll have to take my word for it now because you don't know what you're missing.
Rocks work too. Humans are lanky thin-haired things for a good reason.

They can just jog after a wildebeest for 8 hours until it overheats, and then they can throw rocks at its head.
What's the implication of this article?

Is it that Google did not do user testing?

Or they did user testing and found the icons work fine?

Or they know labels work better, but intentionally chose to use icons anyway?

"I don't like X and it's obvious that Y would be better" is a fun topic, but I'm not so sure why people are so quick to accept an anecdote as gospel.
No problem. Remembering that this was a different time, and in most cases the animals only became problem man-eaters after something like an injury has forced them to target people. Corbett's books are a fascinating read because even though he's a hunter, he's very interested in conservation of the habitats.

The cheese knife thing is a bit of a laugh, but again - having read enough about the man, I wouldn't have put it past him.
The icon that gets me is the "paperclip" for Attach vs. the "chain link" icon for Hyperlink.

Two icons in the toolbar, both small rounded metal loops. I have to hover for the tooltip every time.
Asking the right questions garmaine
A relatively easy to understand primer on elliptic curve cryptography
This renders almost perfectly in Safari 11.1, except for the gradient on the shoulder.
Echoing others, you may have a much easier time installing linux in a virtualbox(.org) vm than doing so onto a laptop as a bare metal install. CentOS is not targeted at desktop use much; if that's your goal and you're new to linux, Ubuntu may be an easier ride. Good luck!
Being incompetent isn't going to prevent someone from getting unemployment.
I've written two network/telnet game-bots in Bash. It's terribly hacky but fun in it's own way. Using the dev tcp trick and arrays and lots of bashisms.
Man, this is literally my Plex library. <15 shows that I ever enjoy watching (ATHF, Mr Robot, The Wire, Sopranos, GoT, Squidbillies, House, King of the Hill, Silicon Valley, Buffy, Futurama to be exact.) They still take up a full 1.5TB because I like to get the highest quality rips possible.

Some shows like House I have edited personally to create 'binge versions,' with the intro and outro cut out, with only special episodes that have special endings or intros included. Saves a good chunk of time with House and The Wire when I rewatch them. I wish a lot of other people did this as well. Instead groups stick to following scene rules that leave us with ugly formats, poor management and naming schemes and more. They were created for a different era.

Maybe I'll try to put it out there.
We just moved on to a home that was very recently built on agricultural land. Comcast had fiber at the end of our 300-foot driveway, but they wanted $10-$15 per foot to trench in order to start a cable internet (DOCSIS 3.1) service. They were simply subcontracting the work out to a local company. I told them I would trench instead. They then had the company drop off 400-feet of conduit. I rented a trencher ($200) for the day and hand-dug what the machine could not deal with (mud, trees, etc). After I was done, the subcontractor came back to finish the end points. They had a machine and process that was virtually identical to my own.

I'm surprised there are not mini boring bots. Maybe in a few years.
Cajun Navy brings boats from Louisiana to help flood-ravaged Houston
Sometimes I end up with an apartment size trash bin :)
TBH, yes. Being direct and abrasive is much easier to handle when it is also combined with usually being right (and a willingness to change when not right).
Disclaimer: This is an opinion and I’m not purporting this as fact, since folks don’t know the difference these days.

Based on his reactions to social situations, I truly believe he was on the autism spectrum, and that he suffered from lifelong reactive attachment disorder. To some degree, I can understand the disdain others feel for him, but I also can’t fully understand it either. It’s not like anyone was suckered into Apple not knowing how he was. I feel that if you signed up to work there, you were signing up for his uncompromising vision. People with uncompromising visions are a lot like him from my observation.
On mobile safari it crashes the tab for me haha
"Industrial" washing machines are typically faster (for reasons) than domestic ones, and the difference is pretty much that they simply use more water.
>One that typically brings minimal profits and can sometimes bring enormous losses because now they are taking the action themselves. Sportsbooks are not typically profit centers for casinos but loss-leaders to bring in people to buy drinks and gamble on more profitable games.

While this is true for places with competition among sportsbooks, like, say Nevada or the internet, it's not necessarily true for the states. If they start running a sportsbook (either themselves or, more likely, through a contractor) with a monopoly in their particular state, then they'll be able to charge more per-bet than they otherwise could. Instead of the standard 11:10 line, they could charge 12:10 or even 13:10 and they'd still get gobs of bettors wanted to put money down at the only legal game in town.
Looks like Safari is the new ugly stepchild. I’m on mobile Safari and it crashes the tab.
I am anosmic who does laundry every 3 weeks. How much time does it normally take to become permanently smelly? Do you have to be drenched in sweat? Will the smell transfer to other clothes in the basket?
South Carolina lawmakers introduce bill to begin secession debate
I manage to come away feeling like an idiot every time I open JIRA. I just typed out a typical internal monologue while using it, and deleted it because I'm embarrassed by it.
Reprehensible as this likely comes off to most, I think it's entirely worth voicing for the fact that it reminds us to consider our present day actions, how they fight into greater society, and if we are only cooperating because our pay depends on it.
How many people will spend that money today? I see folks refusing to spend $10/$20 of their own money to get better. It's the weirdest thing. I told someone to spend $100 and run an experiment this past weekend, they looked at me like I lost my mind.
Yes, but appeal to authority is still appeal to authority as opposed to discussing the merits of the idea. In this place we are better than that. Or we should be.

If the discussion was "who is more likely to be right", well, that's a different matter and I'd agree with credentials. But that's not an interesting discussion really.
You might want to google that yourself.

Here's Charles Baldwin [involved in developing the biohazard symbol] telling you the goals of the project:

> We wanted something that was memorable but meaningless, so we could educate people as to what it means.

And all the research into the latter problem? There'd be a whole lot less of it if the biohazard icon were intuitive.

Instead, in the context of the US Waste Isolation Pilot Plant, we have ideas like a scary looking 'Landscape of thorns' being shut down because interesting looking places could become tourist attractions, the idea of starting a religious tradition around the area being seriously considered, and the conclusion that, ultimately, there's no good solution.
I had an early Windows phone and loved it. It had crazy good battery life. It made common action super efficient. It got out of my way. It organized all my social media so, so well. Its autocomplete when typing was better than anything I've used to date (though, I hear it actually worsened over time). I miss that phone.
Yet today we have a system that benefits the rich far more than the one in 1958. This is what I mean by the forms of democracy. We have even quantified it [0].

That we got the vote for blacks in the south isn't much of a win, from then on the poor blacks along with the poor whites have been disenfranchised through other means.

That we don't elect representative in smoke filled rooms doesn't mean much when the control has moved to selecting who gets to vote in the primaries [1].

[0] www.princeton.edu/~mgilens/Gilens%20homepage%20materials/Gilens%20and%20Page/Gilens%20and%20Page%202014-Testing%20Theories%203-7-14.pdf

[1] https://edition.cnn.com/2016/04/19/politics/new-york-primary...
> It's the same theory as the reason that the most attractive people are often jerks

Not true. Attractive people tend to be treated nicer and think that’s the norm for behavior.
Ask HN: What is the net utility of a combined MBA/MEng degree?
Hacker news seems to be pretty lukewarm (and getting increasingly cooler) when it comes to getting an MBA when coming from a compsci/engineering background. [1] [2] [3]

However, institutions are increasingly offering combined MBA/MEng programs and I was wondering if this augments the discussion at all.

I (29 years old) currently work in a research lab at a Canadian University which offers the program and would effectively cover the course costs if I enrolled part-time. I'd be able to continue working full-time without any additional commuting. The opportunity seems too good to pass up, and working in an academic environment has most definitely re-ignited my interest in continuing my formal education, but the conflicting perspectives on the MBA's utility has me doubting it's necessarily worth pursuing.

[1] https://news.ycombinator.com/item?id=11209066

[2] https://news.ycombinator.com/item?id=12517984

[3] https://news.ycombinator.com/item?id=13257823
How Can Blockchain Keep Medical Records Secure?
Yeah, you just need a pulse to be denied.
First thing that came to mind when I read the title. Ctrl+F "lunch". You beat me to it.
If you get to the point when you need to write

IFS=$'\v' read -d '' -ra a < <(printf '%s\v' "$s")

it is a good sign that it's time to switch to some other language. For example in python, it will be just

a = s.split("\v")

(and yes, sometime you have legacy system, or writing initrd script. But how often does this happen? Any why does your initrd has full bash anyway, as opposed to dash or sh?)