skysight-inc/HackerNews huggingface dataset:
> once you try your hands on some serious floating-point, you quickly learn that an expression like x == 0 (or even like x <= 0) is a strong code smell.

Yes, specifically here is that comparison that surely should not be written as such:

template <typename T> T e(T x) {
return x == 0. ? 1. : (exp(x) - 1.)/x;
}

and also:

https://en.cppreference.com/w/cpp/numeric/math/expm1
coolo
Some responses to that tweet point out that this is a UI bug when using the “Add Story” feature, as certain UI elements can still be seen on the camera feed.

Looks like a Hanlon’s Razor situation.
> and one of the costs youtube bears, since by definition they can't make money off those videos, but has to pay for storage.

Sure they can make money off them - they just need to be creative. For example, you can have a category of 'archived videos' to which you need to pay to be able to access. The payment is for the service, not for the video so it does not matter what are the specific settings on a specific video.
I've been such an engineer: hard to manage, but, I'd dare to say, brilliant. First 5 years of my career were painful: I didn't understand why people were often upset about me, why they wrote poor peer feedback and why I wasn't given the formal role to drive projects. Then I bothered to learn some people skills and corporate politics. These days I don't bother to work more than 2-3 hours a day: most of the time I hang around, talk to people and make connections. Those 2-3 hours are more than enough to deliver piles of work and get outstanding perf reviews. Because I talk a lot to others, everybody generally likes me and I get good feedback. The unused energy and competence goes into side projects. I even started a side company. Now when my manager talks about the importance of showing more leadership, I calmly admit how right he is, and at the end of the day head to a dinner with 2 VPs and one CEO to discuss things related to my company.
User Behavior After Content Removal Explanations on Reddit [pdf]
> I have a strong feeling this is a hamfisted attempt to make stories or some other camera related feature more seamless.

Even assuming innocent intentions, I wonder if image data would still end up in crash dumps or app analytics.
Hey, cool tool! In your help/hotkey section, do note that on Mac it's not the "Alt" key (doesn't exist) but rather the "Option" that you need to use!
Because once you get beyond select and where clauses database diverge a lot in capabilities and syntax. If all you want is a common interface to send arbitrary text to an arbitrary RDBMS then ODBC mostly solves this.
> pretty awful [people] (usually from somewhere else).

This is a strange assertion. What do you mean by this? Are you regurgitating the standard complaint about (white, midwest) transplants? From what I've seen over the years, most of the hyper-aggressive ding dongs are braying and bleating with thick, native NY/NJ accents.
> (not necessarily that you had ill intent, it could entirely be coincidental)

I'm sorry, but in this case I'm absolutely sure there was never anything but the quote there, and the confusion is due to some other comment.
I find it a little hard to believe tapping on a profile picture "accidentally" opens the camera shutter, and behind the main UI nonetheless. Maybe this is an edge case for their UI tests and human QA didn't catch it?
Ask HN: Why mobile Wikipedia loads MUCH faster than on desktop?
I have realized that Wikipedia loads follow-on links almost instant on mobile, but keeps loading 2-3 seconds on desktop. Does anyone know why that is the case?

https://en.wikipedia.org/wiki/Wells_Fargo
Seems to me that working 40-50 hours a week for 10-15 years at high pay is a more reasonable situation. Then have a big enough nest egg to do what you like, a la mrmoneymustache.
I can't wait for the post in the Facebook Newsroom:

"For the last two years, we have been accidentally using your facial reactions when scrolling past sponsored content in order to more closely tailor your Facebook experience to you. We've very, very sorry, and we'll disable this feature in a coming update. As always, your trust and safety are our number one concern."
It’s days like this I miss having data centers to manage. At least it was my fault the service went down. Nowadays I have to create redundancy across two different cloud providers to keep my business running. Thanks Google!

For the record the price was appealing for us to start moving to GCP, but an outage like this is giving me seines thoughts.

Am I right when I hear my other sys admin friends say GCP is like Gmail back in the day; still in beta?
What was the subject of his alleged whataboutism?
Amazon Basics USB C cables are some of the best. Just sayin'.
Amazon Employee Made $1k Simply Answering Questions
I had an interesting experience a while back where it came to light that I was working on the same problem as another team in the org (this was a huge multinational), so a meeting was arranged so we could compare notes. The other team was slightly shocked to see that I could train a model in a minute or two, where it took them an hour or two using essentially the same algorithm.

They insisted that shouldn't be, because I was doing it on my laptop and they were using a high performance computing cluster. They of course wanted to know how my implementation could be so much faster despite running on only a single machine. I didn't have the heart to suggest that maybe it was because, not despite.

Ironically, I also got the implementation done in a lot fewer person-hours. I just did a straight code-up of the algorithm in the paper, where they had to do a bunch of extra work to figure out how to adapt it to scale-out.

This isn't to say that big data doesn't happen. Just that it's a bit like sex in high school: People talk about it a lot more than they actually have it, perhaps because everyone's afraid their friends will find out they don't have it.
They got acquired for about $12 million: http://www.altium.com/resources/investor-announcement/invest...
No, I'm not. I'm more referring to the money-chaser Type As who come from around the world to hustle there, and yes I'd count NJ as somewhere else, as well as Long Island.
Keep in mind that those tanks aren't under vacuum or have any special physics at play - you could have a guy sitting in the tank bailing them out with a wooden bucket.
Had a friend who worked there. Worst experience of his life. If you aren’t drinking the Jonestown Flavor-Aid, you’re not one of them.
Again, not sure what the quibble is about. Amazon is paying higher than average for the same job
Curious, 49 pounds seems like an odd choice of upper bound. Does some regulatory/legal thing kick in once somebody is required to lift 50 pounds?
The reason we're not living in pod houses or geodesic domes or yurts is probably zoning laws.

A friend of mine was able to build a geodesic dome (maybe in the 80's?) on unincorporated land. Soon afterwards a nearby city swallowed the area he lived in, and if he hadn't built it when he did, they wouldn't have allowed him to put it up.
Webmail was terrible back when every single click required a fetching a new page load. Even on a reasonably fast DSL connection, JavaScript Gmail is noticeably more snappy than HTML Gmail.

Pre-ajax online maps? Almost unusable. I certainly wouldn't want to return to those days.
Agreed. Super painful to learn and still learning, but once it clicks, it's totally worth it. Amazing tool.

Occasionally I still run into weird non-deterministic issues with builds, though: https://github.com/NixOS/nixpkgs/issues/71178

You'd think "pinning" a python version + channel would avoid this.
How much of an advantage is our cooling system in colder climates?
What all features are critical for the success of your ERP?
Is it possible to install custom CAs on a jailbroken iOS device and use a man-in-the-middle proxy? The difference between honest mistake and sinister intent should be clear if FB is transmitting any of that audio or video data while it has access to the camera without you knowing.
Indeed. If you look closely, there's a gear icon right on top of the camera feed.

Facebook can plausibly say that they wanted to make the "stories" feature more seamless but an engineer screwed up. And we'd never really know whether an engineer accidentally screwed up or higher management planned this purposefully to have a junior engineer screw up.

EDIT: clarified wording.
Most warships (of the non-submersible variety) have windows, last I checked. In fairness, though, that does make it easier to mitigate that issue.
Recently Vimeo became a number one house for me in terms of videos. Its constant ads that you cannot stop or skip that least somewhat of 45 seconds (!) steers me away from YouTube. And quality on Vimeo never disappoints, I mean has there even been low quality vid on Vimeo?
See my other comment about how our metrics are designed to capture various milestones in the loading experience. I think it’s already harder to game a good Performance score than you might imagine, and it’s only going to get harder over time as the web platform collectively gets better at metrics: https://news.ycombinator.com/item?id=21511477
very nice
https://superfastblog1.blogspot.com/2019/11/best-free-photo-...
No chinese please.
Can't that baby burn retinas? If that's the case isn't a violation of the Geneva Convention to use that?
It sounds like the listing was not up for a substantial period of time. The community did a good job of policing itself.
Loading "about:profiles" lets you use profiles without the prelaunch dialog. It's not amazing UI; it's there basically to support debugging scenarios, but it does work.
https://superfastblog1.blogspot.com/2019/11/best-free-photo-...
The rest of the US.
How Many Major Companies Have Lost Their Leadership Position Due to a Breach?
Naval architect here. As other commenters have noted the size of the pumps isn’t really the issue here - you can have as many as you want it really depends on the time you have available.

For me, the cool things about this are the size of the installed power and the stability problem in having one submerged object with multiple half empty ballast tanks lift up another object with multiple tanks.

The BOKA Vanguard has an installed power of 27000kW, split between two main diesels and two auxiliaries. This is slightly more than a Los Angeles class nuclear submarine, which goes much faster (perhaps 2x according to wiki) underwater - very much a different resistance problem. There are two 35 tonne and 65 tonne generators/engines. These are not small pieces of equipment. That’s what gets me about these ships - they are on another level of huge.

The stability problem is a significant challenge. You can see in the video that they did it on a flat day. Being able to coordinate the pumping of multiple ballast tanks to make sure that both ships remain upright is another cool thing here. Look up the “free surface effect” if you want to learn about that particular challenge.

Sources; various Wikipedia pages and Wärtsilä technical sheets.
Seeing the Chromium blog post that said it’s going to put a “slow badge” on some sites based on speed and responsiveness measurements, I’d like to see Apple put an “usually untrusted” or “deeply untrusted” badge that’s shown every time the Facebook, FB Messenger, Instagram, WhatsApp and related apps from that company are opened on Apple made devices. There needs to be a lot more mass shaming on Facebook the company and it’s endless loop of “oops, it was a bug, we’re sorry” abominable practices.
I've also always noticed American factories seem okay with workers showing up in whatever they want - i.e. you see in that video they are wearing their own t-shirts. To me this shows a lack of seriousness and pride in the work and team unity. It also shows a lack of respect for safety workwear and process. It shows the employer is likely cheap, and doesn't want to pay for workwear, and furthers my impression that they view their workers as disposable. IMO, it looks absolutely ridiculous how in the Corvette video one guy is wearing basketball shorts and Vans and the woman next to him is wearing a different T-shirt and jeans. Compare to the harmony shown in the German video. Please don't try to tell me that individuality is important in a vehicle assembly line!
The holy grail would be to put antimatter on a spaceship.

Instead of the pyramid of fuel mass needed to escape a gravity well, the capsule would basically be constant mass.

An antimatter-powered spaceship could conquer the solar system or even the universe.
Minio do not support S3 interface just some of S3 API’s. if you use S3 sdk many operations will fail on minio and they do not have interest in making it S3 compatible.

So recommendation is if you can work with minio limitations it’s fine. But don’t think of it as S3 compatible, it’s more a small subset of S3 api support for marketing.
FB definitely does not deserve the benefit of doubt anymore regarding privacy issues.

That being said, this feature soon to be called a bug, feels like one of those things being done in the name of performance. I do not agree with this solution, however, the startup time for the camera on older iOS devices can be frustratingly slow. My 6S now on iOS 13 can take several seconds for the camera to turn on. This is most evident when trying to capture something in the moment on Snapchat. The stock camera app takes long enough that I often miss key moments (I plan to upgrade soon, but have not yet committed to losing my headphone jack).

I’m not at all excusing this, but I can see why they’d try this if they want their users to post more original content
I am surprised there is no mention of hdf5 (via h5py). It's what I used to deal with handling simulation data that was getting too big for RAM to handle.

Use case: CPU is running a simulation and constantly spitting out data, eventually RAM is not enough to hold said data. Solution: every N simulation steps, store data in RAM onto disk, and then continue simulating. N must be chosen judicially so as to balance time cost of writing to disk (don't want to do it too often).

I figure this is what is referred to as "chunking" in the article? Why not list some packages that can help one chunk?

Overall opinions on this method? Could it be done better?
No. I used it for managing my Mac and Linux environments.
You reinforce an unconstructive comment with another?
Oops, yeah, 16gb.
You'd also have to remove or bypass their certificate pinning
High Level Kubes Overview
Subjective and frankly insane to say. Over 8 million people live in NYC (over 2x the population of the next most populous city in the USA, Los Angeles). NYC is commonly known in western culture as a world capital of culture, finance, and world politics (recall the UN). The population of NYC has grown by over 223,615 since the previous census. I agree with you that other cities around the world (a very large area!) may appeal to your personal sensibilities, but saying you 'feel bad for New Yorkers' is trolling. I Feel Bad for any backwoods country-dweller that thinks they have it better than the hundreds of thousands of people that made the choice to move to one of the (objectively) greatest cities in the world to improve their life. See how that feels? You just attempted to apply that to millions of people. Every densely populated has is faults (Barcelona particularly! Many, as in a substantial voting bloc, residents would prefer you to have never come as a tourist at all.) Pigeonholing the residents of the largest city in the USA to be worthy of your sympathy based on their choice to live there is not constructive, nor rational.
This can be done easily and without jail breaking on any iPhone with tools such as Charles proxy (provided they don’t do certificate pinning). They work by having you generate, install, and trust a profile which includes a root CA.
In this case it’s simple. When Facebook asks to have access to either your camera, microphone, or photos library, just say no. You can still use the photo picker to upload pictures without giving FB access to your library.
I agree with you the mistake was mine. What I meant by

> it could be entirely coincidental

is it's possible someone edits a comment before they see there's a reply to it (this is pretty easy with HN's interface).

At first I was frustrated because I thought your comment had been edited after I replied to it, and then my second comment was an apology for erroneously believing it had been changed.

I apologize again for the confusion.
The going rate for them when I picked it up was around 1,800 - 2500. Check past/completed listings for sealed 2015 macbook pros. The higher end ones are rare, but they show up occasionally.
https://developers.google.com/web/tools/chrome-user-experien...
Things You Will Eventually Learn About SEO
Every week or so there's a new theory that some tech company is constantly using your phone's microphone or camera and siphoning all the data back to HQ.

Every time the reason is the same: incompetence. Something like this can result from a single misplaced line of code. On the other hand, no tech company on Earth wants to have the job of processing a billion extra audio or video feeds. This would require enormous resources, on the scale of whole engineering departments, for questionable gain. And it couldn't be secret, because the point of gathering all that data is to target ads, so advertisers would have to know about it. The notion that this is intentional is about as credible as the average conspiracy theory.

(Of course, selective monitoring by the government is perfectly possible -- but we already knew that, and it would be a lot more subtle than this.)
> NYC is commonly known in western culture as a world capital of culture, finance, and world politics

Commonly known in NYC maybe. That view is antiquated in the rest of the US.

> USA to be worthy of your sympathy based on their choice to live there is not constructive, nor rational.

Wow, so sensitive. The pity is not because of their choice. It’s for how the urban planning of NYC has been consistently squandered for 50+ years. You can simultaneously like a city and have pity for its fixable flaws (e.g. homelessness in San Francisco).
I'm with you on the disheartening of the tech industry I held in such high regard 20 years ago. I have a problem though: what else am I going to do for a living?
If you're thinking of getting into K8s, this is a place to start.
I checked out the Vessel which was pretty neat, although I didn’t have a ticket to climb it.

I live fairly close to the Oculus and don’t mind it. Usually once you get past the crowds taking pictures near the entrances it’s not super crowded to walk around in.

Many of the stores are a bit more high end than I generally need but it’s nice to have an Apple store and I’ve picked up some decent clothes for a wedding in some of the clothing shops.

Plus I quite enjoy being down near World Trade these days. The memorial space is really quite pretty and tastefully done in my opinion. They did a great job putting in so many trees, and there’s an area that’s painted with a lot of very colorful art panels.

Plus there’s a really nice farmers market down there many days.

All in all I understand people who sort of avoid the more touristy areas but for me I don’t really seem to mind them so much.

I think that’s why I like it here so much actually, not all the touristy spots specifically, but the wonderful diversity of flavors to NYC.

There’s just so many ways to enjoy the wealth of culture we have here.
I can vouch for this. Anaconda is especially good for simulation/data stuff (based on the focus on which packages are included by default).

One pain point though: getting it to work with Sublime Text 3 requires you to set the `CONDA_DLL_SEARCH_MODIFICATION_ENABLE` environment variable to `1` on Windows.

Not a flaw of Anaconda: it just pays attention to how to with multiple Python installations on Windows.
This is quite similar to a room in Meow Wolf (https://santafe.meowwolf.com/). That one was quite well done, down to painted shadows in spots where real shadows were cast from the lighting.
My issue with mentoring is that in practice it’s often just a way to help the mentor transition into managing or becoming a TL. Which isn’t necessarily good for the mentee because the incentives aren’t really there for you. Your org might force you to grab a mentor who does something unrelated, and not particularly well, just because of their level and career aspirations.

That said, technically capable mentors who actually care about mentoring can be great, I’m just not sure about top-down forced mentoring as a career requirement.
Totally agree here, there's a lot of unnecessary hurdles in setting up MySQL and Cloudflare, which you just don't need for a simple CRUD app.

Basically, YAGNI (You Aint Gonna Need It)
I'm a Dask evangelist. It's a remarkable tool and is one of the first I reach for when this problem arises. Maybe it's not well known?
Leidenfrost effect drops found to be self-propelled (2018)
Why retitle? I don’t follow where it says this.
>Just look at Tokyo ... Every major transport hub is filled with shopping and food.

They are designed that way.

New transit construction is often the result of a joint venture between a rail company and one or more shopping construction companies / real estate companies.

They work together to identify where they can profitably build a new station, with attached (or nearby) shopping + residences. Then work with financing companies to pay for the land acquisition, construction, and advertising.
The other factor for the US GPS system is that there are actually over 24 ground stations, one for each time zone plus at least a couple of spares. A local failure in one time zone doesn’t take out the whole fleet — they can fall over to a backup ground station, and backups for the backups, etc....
Far, far more than millions of chicken. According to this NY Times article 23 billion alive at any one time. [1] The most numerous bird species in the world.

[1] https://www.nytimes.com/2018/12/11/science/chicken-anthropoc...
Google signs healthcare data and cloud computing deal with Ascension
Thanks for this. What you say about proportion of compensation makes a sort of sense, but I don't have the chops or the knowledge of the field to evaluate it. The 'easy to measure' thing is definitely insightful and useful to me as I think about it. Money does have that clarity to it.

The "hacking a casino" thing I'll defend, though: to the extent that getting better at gambling games and finance both can involve prediction, probabilities, data collection, and the like, I don't see how the analogy fails on anything but its crudeness, which I'll happily grant (while also saying I was going for a chuckle with it). I didn't mean to imply that getting good at either is something to be embarrassed about, only that it feels a little ... maybe "small", next to other concerns. I think that superlatively intelligent people do have god-given opportunities the rest of us don't have, and that while they're free to do as they please, the rest of us sometimes hope they'll use them wisely (and, selfishly in this case, to our benefit in some small way).

I'll also say that I meant "hack" in the older, more optimistic 1970's way, like "figure out what makes it tick and do cool things with it" instead of the more sinister modern sense. I don't attribute any malice or ill intent to Simons/RenTec, at least not without evidence.

I guess I could reinterpret/update my comment in light of what you've said to now say that "whatever value these men and women are creating inside this secretive firm, there's a strong case to be made that it's not the most urgent or needed kind these days".

I'm curious and sincerely so, though, when I ask: what actual value does quantitative finance create?