skysight-inc/HackerNews huggingface dataset:
My daugher flies in next week to visit. The fact remains, you have no way of quantifying whether an airplane is more dangerous than your local grocery store and it could be argued that an airplane is actually a more controlled environment.

As these numbers grow (reopening, traveling, etc.), how long before the majority of the population catches on that it has zero effect on the mortality rate?

US hospitals are not overwhelmed, a vaccine is not guaranteed and shutdowns do not cure viruses. It's time we stop living in fear based on computer models.

Protect the nursing homes. All jobs are essential.
I can agree with your point in general, but [...Array(N).keys()].forEach() is not the most readable way to write "do this N times".

It creates an array of length N, but for obscure-to-most-people reasons, Array(N).forEach() doesn't work, so they Rube Goldberged their way to an array that they could call forEach() on. Their solution was to use Array#keys to get an iterable from the array. But an iterable doesn't have a .forEach() method, so they iterate the iterable into another array just to iterate it again with Array#forEach. Frankly the only thing this seems optimized for is to solve the problem without the for-loop for some reason.

The for-loop, on the other hand, is an instantly obvious solution. It's how programmers have been expressing "do this N times" for decades across languages.
Show HN: Terminal Vim w/ macOS Cmd/Ctrl Hotkeys, 100 FPS, Collaborative Editing
I didn't downvote the OP but I am picking up a tone of indignation that I don't quite understand. I find this pretty interesting.

Here is my take on the situation:

Let's say I own a widget factory and you are highly skilled at turning paper clips into widgets. We agree on a price for your time and I hire you to start making widgets. Things are going gangbusters, you produce a ton of widgets and I pay you for the time you spend working for me. All of a sudden people stop buying widgets. I no longer need your services so I have you stop coming in and stop paying you for your time.

I don't understand why I should be obligated to pay you for services you didn't provide. It's not like I can go to my customers and ask them to pay me for widgets I didn't sell them.
Don’t complain about the price. This isn’t for you. It’s for pros who need the best rolling performance to do their jobs. I mean, when the pros’ time costs $$$$/hr, are they really going to buy some knock off wheels for $500 and risk getting octagonal ones made in China instead? At least you know these will be perfect circles.
I'm kind of surprised it took this long, honestly. It does suck if you're one of those affected so you have my sympathy if you're one of those. On the bright side, at least by US standards, this does seem to be pretty generous.

That aside, if this whole pandemic manages to kill or mortally wound AirBnB, I won't be upset. What AirBnB does to cities, neighbourhoods and the long-term rental market is atrocious and it needs to be reined in.
How can I express a preference to have my managers discuss my mistakes over email, instead of by “gently pulling me aside” and talking in person? I am more comfortable expressing myself in non-real-time text format, especially with topics that feel hurtful. A paragraphs-long, detailed email explanation would be the best way for me to receive feedback!
Not automatically. It depends on what you do. I see Mac Pros specced where a fast PC might even be more productive, without the ridiculous premium on RAM and storage.
The critical difference being that government makes a lot of money off gambling taxes; it may be a negative-sum game, but it's their negative-sum game.
Sounds like SQL query
Nothing to do with brand and everything to do with Enterprise spending.

Enterprise spending consists of obscene markups.
To me, the "feet kit" is the bigger eyebrow raiser. Even though the total cost is less, the wheels actually... you know, they turn. They're wheels. They perform a function that's somewhat greater than a brick sitting on the ground.

The feet kit is half the cost, but they're feet. It's like they're designed for safe use in operating theaters or something.
The second parameter in the gen_key function is the RSA public exponent. I believe this means the ciphertext will be the same as the padded plaintext.

Here is the documentation from the RSA.gen_key() function.

def gen_key(bits, e, callback=keygen_callback):
# type: (int, int, Callable) -> RSA
"""
Generate an RSA key pair.

:param bits: Key length, in bits.

:param e: The RSA public exponent.

:param callback: A Python callable object that is invoked
during key generation; its usual purpose is to
provide visual feedback. The default callback is
keygen_callback.

:return: M2Crypto.RSA.RSA object.
"""

https://gitlab.com/m2crypto/m2crypto/-/blob/master/M2Crypto/...
Their 2020 revenue will likely be less than a quarter of that. And 2021 might not be much better. They have a struggle ahead.
Actually no, it's so they can afford a 500sf apartment.
Tesla's cyclist detection is awesome:

https://youtu.be/Dg2MqMJo-uk

I really want to buy a Tesla as soon as I have the money for it to be a safer driver, as it's generally really hard to spot cyclists and pedestrians sometimes, and I'm more worried about hitting somebody than getting killed in an accident.
XB-1 Fuselage Bonding Advances the Build of Boom’s Supersonic Demonstrator
In dark mode, buttons have a darker highlight and don't invert their text color.
Van Gogh's Favorite Books
Serious question - Who puts towers on wheels? If you need to move a computer don’t you normally use a cart that has eg a display and keyboard on it?
Biweekly is easier for the employee, semimonthly is easier for bookkeeping.
The formula makes sense, but it doesn't give you the full picture of floating points. The formula doesn't explain NaN, positive infinity, negative infinity or even the bias. I think seeing the layout of a floating point number and their constituent parts in memory is more instructive than a formula.

Floating points, like two's complement, are hardware derived/limited creations. You have to understand the underlying hardware and binary limitations to understand why they exist and why they were created in that manner. The same thing applies to ascii. Zero is 48, A is 65 and a is 97. The mapping seems arbitrary unless you see the bit pattern and you realize how clever the design is and the reason why some of the symbols got their mappings in ascii.
...and they continued to pay it, despite it being an obvious rip-off. Until one day they didn't.
Including DigiCert? https://news.ycombinator.com/item?id=23062904
The price is a marketing move. Apple couldn't care less if they sold 12 units of these wheels-kits per year, as long as it gets people talking about Apple. "There is no such thing as bad publicity"
The Mac Pros start at $6K. Choosing every max option except for the wheels is $54K. $700 for wheels isn't that crazy in relation to the product price.

Plus, if you know you want the wheels before purchasing, you can get them for $400 in the configurator
This isn't going to be a popular response, but I read your entire article and I have the following advice.

First, what toy wrote tells me you started your business because you consider yourself to be highly intelligent and capable and you believed that you should be in charge. What you've said about how your business failed and how few people still want anything to do with you afterwards tells me you were not prepared, you do not understand how to run a business and you lack even a minimal competency when it comes to leadership. I do not want you to think I am being harsh and unfeeling, I am being critical because it's what you need to know if you ever intended to work in the tech industry again.

Almost everyone wants to be in charge and believes they could succeed in such a role given the chance. Of those who attempt to start their own businesses only about 10% have what it takes to merely stay in business. Fewer than 3% of business leaders have sufficient ability in the field they already work in to create a genuinely profitable business, and less than 0.3% have what it takes to found an industry disrupting company.

Investors will always behave the way you described because they're basically playing roulette and they've bet on a bunch of things in the hope that 10% of their investments will pay off because they know the statistics I just told you. Your friends abandoned you however, because as a boss you make them promises and promising things to your friends which you probably cannot deliver always damages the relationship.

Finally, it's time for my advice. One, you need to remove your ego and emotions from your work as this will always eventually damage working relationships and burn you out. Two, work is always a marathon, never a sprint. A lot of startup guys will tell you that you have to work 70 hour weeks, but this is not maintainable and will just result in failure later on as opposed to delayed sustainable success. Third, if it wasn't clear from my initial statements, you are not well suited to being high level management and changing that about yourself would likely take so long as to waste the rest of your career in pursuit of a highly stressful goal that is unlikely ever to feel worth the effort. I suggest you take an engineering position or stick to no higher than mid-level project management at an established company. Finding somewhere relaxing where you can limit your work hours to 40 or less per week is the only real chance you have at reversing the burnout, but only if you can remove your ego and emotions from your past and future professional work. I strongly recommend mindfulness meditation to help with getting past your former business failings and MO e forward into a career that you can find fulfilling.
And also majority of businesses will never need more scaling up than perhaps upgrading to a slightly more expensive VPS or adding 2 more GBs of RAM.
No mention of locks. This first iteration is obsolete by design and will eventually be replaced with a new version with locks in another Apple line up. Who knows on what the price that would be.

The lesson here is to not purchase the very first iteration of Apple products. Sometimes it can turn out to be an expensive sunken cost.
Have you learned about Lisp macros yet? If you’re intrigued by this idea, Lisp macros are a few steps above in terms of functionality, integration, etc.
https://chrome.google.com/webstore/detail/cursor-traveler-mo... Here it is. Doing the same
And even with that — your package could sit at Fedex for five extra days because it wasn’t “scheduled” to be delivered until Wednesday! $8 well spent.
> which basically uses the post office

Pretty sure this isn't quite true—UPS ships it all the way to your local post office, and the post office does the last mile.
I'm in exactly the same boat. Rails gives you so much functionality for free. Kotlin/KTor is not a drop in replacement since it's closer to something like Sinatra in scope but it still looks like the best bet going forward to me.
Yes, 100% compliance is low. We already knew people weren't going to be 100% compliant.

I would say it's close to 80% for most people right now, which is pretty darn good considering what's being asked of us.

Thankfully our outcome is still significantly better than what the models predicted, and that's a reason to celebrate.
Maybe you're right, but, out of interest, what would call it when half a dozen systems store elements of each others data and then refresh that data on a daily basis?
This is one thing I've struggled to understand.

Scenario A: RSUs have an expiration date. RSUs you own expire before the company hits a liquidity event.

Scenario B: RSUs do not have an expiration date but the company goes bankrupt/dissolves and never hits a liquidity event.

Is one of these scenarios taxable and the other one not? One of my biggest fears about joining a startup (pre covid) was scenario A happening.
I disabled it in the first 15 minutes.

I just hope they don't remove the disable recipe.

(about:config browser.urlbar.update1 -> false)
It's not just the pixel density, it's not allowing me to scale everything way down. The smallest font in settings is too big. UI elements are too big. With the keyboard open writing this there's about an inch high of the actual page visible, barely more than this textarea itself.

(It's the old SE, FWIW. Bought a refurb to try iOS when my Android phone broke. But the repair for that was arranged right around when lockdown started so I've been using this for longer than anticipated. Not the polished 'just works' experience I expected, the a priori known restrictions on changing default apps, browsers, etc. aside.)
I use OCaml at work ~every day, and HKTs (to the extent they can be expressed at all, using HOMs) are so unwieldy that I have never run across them in production code. In Haskell, they are both easy and routine. So I’m approximating this with “no HKTs in OCaml”.
Before you mock it. This is not for YOU. Just like the monitor stand. It is way more about the form than the function. You go into a big time executive/creative head/hedge funder's office and it is baller, except for that ugly ass plasticy monitor stand on their desk (Dell Circa 2002). For a $1000 that eyesore turns into a piece of art, considering they likely have art pieces on the walls worth $50-100k it is a no brainer. Same thing for the wheels. I would say I would never buy one but if $1000 wheels were the equivalent of a latte to me... sure wtf not? People whined at Apple for not making a "pro" product for awhile, then they made one that was too "pro" apparently. By pro, I mean gets PAID not gets by. Now they will whine about definitions of pro. Apple has a pretty good idea of what "rich suckers" will buy.
No, you can’t. You might be able to build a pc that meets your specific needs for half that, sure.
Keto Cook Book
Fox News, 4 weeks ago: https://www.foxnews.com/opinion/former-cdc-chief-tom-frieden...

Let the downvotes begin!
You're not alone. Super annoying, especially on a phone
There is an internal program at Amazon to do this. You can go work in an FC for a few days to see what it’s like.

I’d recommend it to all Amazon employees.
Just because something is new and shiny doesn't mean it's not a step forward. People dismissed Rails with these same criticisms in the beginning. Sometimes new tech gives us a big step up in productivity and I think we can now do better than Ruby/PHP/Python.
I don't see why you would only have one of those headers. There are use cases for two proxies to operate (think a corporate proxy + your proxy, or a corporate proxy to a privoxy instance to your proxy, a corporate proxy connecting to a data-saving proxy, etc.). Some proxies like to add these headers by default. Duplicate headers are acceptable in HTTP, so this is all perfectly up to spec.

In this case, if your reverse proxy is adding its own header, it should be stripping away the other X-Forwarded-For headers if you so wish, or have the application pick the appropriate header if you wish to receive all of them. This sounds like a misconfiguration issue on your website to me.
California sues Uber, Lyft over misclassifying drivers as contractors
I need to read this draft RFC a few times before I can grasp it completely. There is an existing RFC drafted in 2013 with a focus on OAuth 2.0 threat model and security considerations [1], and it looks like this new RFC is making more specific recommendations on top of it. May be read them together.

To be honest, I was wishing for OAuth 2.5 if not OAuth 3.0 to consolidate already fragmented OAuth 2.0 spec and landscape [2]. At this stage, there are too many draft proposals and a majority of them led by vendors with some interest in standardizing their implementations.

For example, this RFC suggests restricting issued access token to one resource at a time (using audience parameter). Well with Microservices landscape this gets really challenging. Your client application may be interacting with multiple resources. Neither OpenID Connect nor OAuth 2.0 offer solutions to issue multiple access tokens (not yet). An API Gateway may be a solution but still so much ambiguity.

I think OpenID Community has done a better job to organize their specifications and working groups [3]. If you go on their specification page it tabulates really well what spec is final, currently under implementation, draft, or obsolete. Still, big vendors influence agenda and direction.

(Disclaimer: I am the founder of https://axioms.io/ which OAuth 2/OpenID Connect compliant identity management platform)

[1]: https://tools.ietf.org/html/rfc6819

[2]: RFC 6749, RFC 6750, RFC 6819, RFC 7662, RFC 7009, RFC 7519, RFC 8414, RFC 7591, RFC 7592, and 20 more.

[3]: https://openid.net/developers/specs/
> Because names don’t carry meaning, they’re pointers:

That's been debated in philosophy for over 150 years, and there are many alternative theories.

I think a better point is that technical names don't matter because their formal meaning may not correspond with any word, and if there is an everyday word, it's probably slightly but importantly different.
From my understanding when I first read through Kendra info (albeit that was launch day) it is more enterprise knowledge-base search and not quite the same use case as Algolia.
If you’re talking about revenue which is likely well into 6 figures for a random developer working for multiple years then the price difference between a Mac and another workstation is all but a rounding error.
Thanks for the great content!
I'd probably go for Django but it feels like a step sideways more than a step forward. Once you've gotten used to a more modern language with great tooling, typechecking & null handling it's frustrating to go back to a stack where you're getting errors in production that would have been caught by a compiler.
When Dell charges $200 for a $2 stamped metal server rail no one bats an eye
No, we're being used by other humans because they are not confident in their robots' results.
Previous discussion: https://news.ycombinator.com/item?id=23082901
I worked with a guy who had a DIY walking desk. Part of his setup involved leashing his tower like a dog and taking the whole mess around the block to work out tricky problems.

Poor guy would’ve been bound to his desk without the wheels.
Rails has been very good to me over the years so I am tempted to try to help out but I think if I'm going to volunteer I'd prefer to help a more modern stack like KTOR.
i was going to mention this, but the comment was already long :) of course, this doesn't stop you from implementing it as

stackPop _ = Nothing

or just doing the wrong thing. but it does prevent you from returning `([1,2,3], Nothing)`, and that's always one less thing to worry about - if not for the implementer, then for the users. and the more the signature constrains possible implementations¹, the better!

and this might be subjective, but for me `Maybe (Stack a, a)` results in less cognitive load. with `(Stack a, Maybe a)` if i do

case stackPop xs of
(_, Nothing) -> ...
(xs2, Just x) -> ...

in the back of my head i'm going to be thinking "hmm, am i 100% sure i can throw away that first value if i get a Nothing in there? if it's useless, why does the function return it?²"

whereas with

case stackPop xs of
Nothing -> ...
Just (xs2, x) -> ...

i know for certain there's no new values introduced in Nothing case – great, less things to keep in my head! it's a small thing to be sure, but i like when the types assist me like this :)

---

¹ parametricity is one of my favorite things in pure FP!

² but i hate throwing things away, so it might just be that...
I wonder what the previous CFO is thinking right now. I believe he tried to take it to an IPO earlier but Chesky disagreed with him. This is rumor of course.
What about additional information on encyclopedia quality pages that would normally have been excluded?

It seems like anyone could make an extension site to wikipedia where articles that aren't allowed at wikipedia could find a home, and the search there could also search wikipedia. The issue seems that nobody wants to put the hard work into making this happen, marketing it, and managing it. They just want wikipedia to do it for them, using the limited resources wikipedia has at their disposal, for free.
Polio didn't stop. Smallpox is not extinct.
That’s because Safari was ported to Windows by porting a large chunk of AppKit to Windows - it didn’t make direct use of Win32.
On the other hand, if you don't have subnormals, then you have the funny property that subtracting two inequal numbers would yield 0. This never happens with subnormals because they allow representing numbers closer to zero, below the smallest representable exponent. The numerical stability of some algorithms crucially relies on subnormals.
Zurich and London top out at $100k, any more and we're talking managerial responsibilities. Compared to SF or SEA they are only paying ~25% market rate.

The safety net argument has no legs. Australia and Canada both have social benefits that far exceed the majority of EU nations, yet pre-pandemic there was no shortage of $150k+ dev roles.
People cost money. You can buy a lot of services on any of the cloud providers if you can save the fully allocated cost of one employee - say $180K. That’s just looking around in any major city in the US, not west coast salaries.

Every dollar you spend on R&D or migrations you have to consider whether that dollar could be better invested somewhere else and whether it adds business value to have the expertise in house or to outsource it.

Dropbox and Backblaze for instance decided that storage was a core competency. Dropbox moved away from AWS and backblaze knew from day one not to get on it.

On the other hand Netflix went the other way and is now AWS’s largest customer.
I think Kelvin meant that if the Sun was keeping the Earth that warm underground then the surface would be frying.
There are no locks. It will roll away if your floor isn't flat, as demonstrated here: https://twitter.com/MKBHD/status/1232708514625310721

Next up, $500 machined aluminum wheel blocks.
Until I had kids of my own I did not quite comprehend just how capable little kids can be.

A 5 year old holding an AK47 is entirely capable of being a legitimate competitor to an adult holding an AK47. An average 10 year old armed with an AK47 might be more dangerous than an average 40 year old. Child soldiers are likely very effective, as depressing as this thought is.

Small children are profoundly ignorant but they're not dramatically less intelligent than adults. In limited domains, like driving or shooting, a high performing child can easily beat a low performing adult.
Spotify CEO Expects Apple to Further Open Up After Complaint
The link in the story is $1,049 in AUD which is roughly equal to $699 in USD — the link in the post you replied to.
So be an e-aphid and let the kindly e-ants farm you?
Sure they do, they provide a clear status symbol which people at every level above subsistence value more than "real value" (whatever that is) Also its one of those silly signals that they "only buy the best" or "only use the best tools" or something equally pointless. People aren't buying rolexes to check the time...
Probably the most useful mechanism I have for determining this is “if this AWS account disappears, how screwed am I / can I recover.”

I tend to separate all of my projects/services, and each of those to environments.

A cold storage AWS account, audit and security (ship logs, config changes, etc), shared services to another account.

If dev account gets hacked, that sucks, but we can clear it out.

It prod gets hacked (and deleted!) that super sucks. But hopefully cold storage and audit accounts can help us out.

If some other services/projects account gets hacked, I don’t want to be worried about impact to unrelated projects.
So your template metaprogramming is itself generated?
Initial failures of Apple's butterfly keyboard doomed it from the start
Perhaps studios etc are buying these, but "enterprise" spending usually shops at Dell or HP.