skysight-inc/HackerNews huggingface dataset:
In one case I cited elsewhere in the comments, an engineer had called ramda.uniq on an array of nested objects which was occasionally very large. When calling into external packages, I don't think we have as much control over yielding to the event loop, but I could be wrong. I know that there are some JSON/regex libraries that give you some protection on this front.

I agree that it would be nice if all developers were infallible – I'm reminded of a friend describing their company, where "we don't write tests because we all write good code". At a certain point, you have to look for processes – linters, monitoring, testing, language choices [1] – where people can't shoot themselves in the foot. (Code reviews being only moderately less fallible than a single engineer.) It's not enough to just say "be better" whenever bad code is written.

I think when the decision was made (years ago) to handle a single request per container, they couldn't find such a process to prevent event loop blockages, other than migrating an already-large codebase away from Node. As others have pointed out, maybe such a migration is necessary – after all, event loop blockages are still an inherent risk because of how Node works. It's just a lower risk than it was a year or two ago, because we've significantly improved our usage of the event loop, and also have tooling in place to catch blockages before they become an issue.

[1] https://news.ycombinator.com/item?id=18564643
The concern about the train tunnel seems a bit overblown to me. The busiest route in the country? Maybe, but I bet most of it is passenger trains. If the tunnel fails, NYC won't starve. People just won't be able to commute to and from New Jersey by rail, or to take a train to Philadelphia or DC. That's inconvenient, maybe even somewhat disruptive, but not catastrophic.
Actually blowing them up is a completely appropriate description if you have any non-human's relying on JWTs.
The world temperature is not going to run away in 30 years, there's nothing to worry about.
I suppose then you could argue about the inside of the car, as that is where most of the unnecessary covering would exist.
The Boston City Hall can suck without meaning that all brutalist architecture sucks. For example, the Glen Park BART station in SF is widely considered an architectural achievement

www.sfchronicle.com/bayarea/amp/Glen-Park-BART-station-could-soon-be-an-official-14189658.php
Now imagine trying to be a politician in that hypothetical world. Make one person angry enough to kill you, and you die.

If you haven’t, I recommend reading “Assassination Politics” by Jim Bell. It’s an interesting though exercise.
> So, what do you do when different projects need different versions of libfoo?

Well typically other people's projects I would normally rely on the distro to compile other people's projects as well; and then the distro maintainers would sort that out. That may include making a patch to allow older projects to use newer versions of a library; or if the library maintainer made breaking changes, it might mean maintaining multiple versions of the library.

Obviously if I myself need a newer version than the distro has, I may need to work around it somehow: I might have to build my own newer package, or poke the distro into updating their version of the library.

I mean, honestly, I don't build a huge number of external projects (for the reason listed above), and so I've never really run into the issue you describe. It seems to me that the "language-specific package" thing is either a side-effect of wanting basically the same dev environment in Windows and MacOS as on Linux, or of people just not being familiar with distributions and seeing their value.
Yep, that's true, should have clarify that I was talking more about fire and forget CRUD apps (small business stuff).

OTOH, there a huge companies with successful rails(github,airbnb)/django(instagram) apps, but maybe they get away with it because the have big teams to re-architect anything.

What is your preference to interact with databases in Clojure? hugsql, honeysql, clojure.java.jdbc ?
> such as when first logging in to your system in the morning

This is what the article is talking about, but completely misses in its involved complaints. The best password manager in the world will NOT help you actually login to the computer you're running it on. So everyone at work basically has to have at least two passwords that need to be memorized: The main password to login to the machine, and the unlock password for the password manager.

Forcing these passwords to be impossible to remember is going to be a huge impediment, given how often you end up actually having to type them.
The Apple Watch (and Apple devices in general) allow for device tracking and location sharing with end-to-end encryption and forward secrecy[1], so it's probably the most secure and privacy-conscious option available for such things.

[1]: https://arstechnica.com/information-technology/2019/06/the-c...
How do you measure "strength"? It's probably more euphoric, might result in higher "alertness" (based on some arbitrary test), on the other hand though it probably wouldn't raise your heart rate more than the coffee, or your blood pressure.
Intro to Distributed Deep Learning Systems
Yeah it does feel overwhelming. I'm actually starting to think that some of this may be targeted. Meaning that actively political people (of any political affiliation) are actively looking to get hired at Google and stir shit up. One way to confirm this theory is to get the the seniority of people that start these internal movements/arguments/threads/etc.
I wonder if there is a market for a company that will shop for you, but at scale.

You go and say "I want a pair of black leather gloves, in this size." Check a box or two about your usecase, and give them your price range... and viola. A few minutes later you've got 2-3 to pick from. Even include a "I'm feeling lucky" option.

Though, I imagine even saving people time for things like "I need a hammer" would save people enough time comparison shopping that you could still take a cut and everyone would be happy.
Now see how fast you can make it run! 22 year old me was the king of the project Euler forum for that specific problem ("find the longest sequence below 1000000") until my post got removed (which all newer posts for old problems are).

Doing those stupid things actually made me learn a lot about how computers work
Funny read.

The Outer Worlds is an unexpected joy, too. Definitely an open-world game I had no idea I needed. If you haven’t, check it out. It’s basically Fallout 4 but in space.
>require me to submit my address and credit card info

You do realize that for those that don't require credit card info that you can enter a random address in your zipcode to get past the "enter address" part before you can learn that the shipping on a $19.99 item is going to be 24.95 after 'handling' is added in, right?

I've entered random names and addresses many times to get to the "how much will shipping cost" pages. Then I can make an informed decision whether to continue or abort the transaction.

If I decide to continue, I just start over going through checkout with real info.
Ask HN: Which software would urgently need a security audit?
Skate 3 has tons of glitches, or at least a few good glitches that keep on giving: https://www.youtube.com/watch?v=UaUR6u8nHoM

You can launch yourself into the air (100s of feet), run inside a dumpster to move it, drop through the floor to start falling from the sky, booby-trap a trashcan so it flies out of no-where and hit you upside the head, walk up an invisible ramp... it's fun.
I really love when writers wrongly mix up economic metaphors.
Playing any Bethesda game on release is a gold mine.
The Cybertruck is very carefully designed to hide a lot of it's structural components. It's designed to look "brutal", but it's not brutalist. It is very carefully designed to look a certain way.

A brutalist truck would be something like a Land Rover Defender, or in the concept car world something like the trucks from Bollinger Motors.

A brutalist truck does not use internal hinges that are hidden from sight; a brutalist truck just has bolted on hinges.

A brutalist truck does not have elaborate LED lighting seamlessly integrated below the hood. A brutalist truck just has lights bolted on somewhere.
it's _a_ goal. it's not the only one.
Would you sue me if I tried to implement this? That is a amazing idea.
What's interesting is your second time around was probably faster because your research from the first round could have altered the second round of choosing gloves.
"For the Pro computer, that new case design helps the new Pro get “about 20 percent more airflow” compared to the Power Mac G5 that precedes it."

I lost any respect for the writer with that sentence.
A shift I've noticed in the USA, is I'll go to an electronics retailer, and the item I want isn't on the shelf. In it's place is a placard instructing me to order it online. My hope was to actually handle the item and see if I liked it, then not buy it if I didn't like it.

Instead I have to order it online and then if I don't like it, either return it to the store or send it back via post.

While its super convenient for the consumer, in some respects, ordering everything online seems wasteful and bad for even the consumer and retailer in many respects.
Literally the only curve I see on it is on the fascia.
CBD is listed as the first item...

My trust in such a brand quickly goes to zero.
Ask HN: My company wants my side project. What can I do?
Hello everyone,

I created product on the side as a side project in my own time and it has become a huge hit in the community to a point where my employers wants me to transfer the code-base over. The company does OSS and my side-project is also Open-Source.

I've developed it on my own time but the product directly relates to what my employer does so I've sort of cornered myself in a bad place. In hindsight, I also made some mistakes in how I went about evangelizing it.

Ideally, I want to keep the ownership with myself but I doubt that is going to work out.

I think what I want is:
- to be compensated in some form for all the time I've put in over the last two years
- to have control over the product roadmap (this I'm fairly confident won't happen in the way I want in the long run)

What are my options here?
What should I ask for here? I don't have much clue as to what can I ask for here so any suggestions would be helpful. People at my company generally wants to work things out to keep everyone happy to some degree.
I believe that comes from a satirical Facebook page, but in an effort for a serious response, this page does a decent job categorizing the different sub-genres:

http://www.fourfa.com/styles/index.htm
There are two things I've tried -

- Choosing a place that is looking for my skills, and incidentally seems like a good cause, vs.

- Choosing a place with a cause I care about, that might or might not particularly need my skills.

I find the second one works better, although it might be possible to have a bad enough fit to try something else. If you have a pre-existing connection to an organization, possibly have made donations, and you show up and ask what you can do, and then you prove that you don't mind doing simple tasks, you will likely graduate into technical stuff if that's what you want.

My impression is a lot of non-profits have a great need for technical help that their usual interns, volunteers and employees can't provide, but if you don't connect with them in the right way, it won't work out.
Yeah, these should be totally, uh, relaxing:

> Tropical forest, West Africa at night/dawn.
Whether morality is learnable is something the ancient Greeks were already unsure of.
> In aggregate healthcare only constitutes 8.1% of US household expenditures.

Why do you think is 8.1% a reasonable number? Meanwhile, average annual health insurance premiums for employer plans for the last 2 decades have gone way up [1].

A significant portion of that increase has been paid by the employer, masking the increase in costs significantly.

> Education only constitutes 2.3%.

Education expenditure here is being masked by the debt used to finance a great deal of it, from student loans, to credit cards and home equity loans (often on a parent's home) [2]

> The median price per square foot of American housing has not increased

People don't buy housing in units of square feet. They buy access to shelter for themselves and their families near work, educational, and other advancement opportunities. The price of that access has increased, even outside the Bay Area.

> the price per square foot metric doesn't reflect significant aggregate quality improvements like central A/C, better fire safety, higher capacity electrical circuits, more bathrooms, higher ceilings, better insulation, attached garages

Most of these features are commodified to the point that they aren't reflected in price differences much at all. What increases prices are exclusionary zoning laws designed to inflate property values.

> A record number of people are getting cosmetic surgeries

$16 billion spent on cosmetic surgery [3], out of $3 trillion spent on healthcare overall. That's .5%. The vast majority of people are not getting cosmetic surgery. It's statistically insignifcant compared to overall healthcare costs.

> It'd be like claiming there's an ongoing food shortage, while obesity rates are rising.

Except nobody claims that there is a calorie shortage. You're using a straw man.

1. https://www.kff.org/report-section/2018-employer-health-bene...

2. https://www.investopedia.com/student-loan-debt-2019-statisti...

3. https://www.plasticsurgery.org/news/press-releases/americans...
A "personal key" was a 16-character string that was used as a salt(?) for encryption and as a backup for lost passwords, https://www.login.gov/help/creating-an-account/personal-key/. Frankly, this change seems like an improvement. While text messages are weak, the other options are strong and widely-available.
“Some webpage” should be “some webpages” I think :)
I don't think searching for higher quality longer-lasting products in a sea of disposable short-term-focused products is something we should be so eager to complain about. In other words, this is bad take.

The author comes so close to this realization near the end of the piece when he says:
> But isn’t that terrible for the environment?

And never follows up on that statement.

We spend decades of consumerism buying whatever was available with little forethought because either we didn't have a choice, or we didn't really care because it was cheap and got the immediate job done. This resulted in single-use products littering the shelves of most retail outlets because of our focus on instant-gratification.

Wirecutter may make people overthink their purchase experience but at the very least educates people on the pros and cons of different products which is something the market has woefully failed at doing.
> Wil anything be done about it?

Not if you and I don't demand it. And demanding takes more then simply voting.
Buying things sucks now. This drives me nuts all the time and is one of many reasons I want a democratically planned economy. In addition to too many choices to meaningfully use, the vast majority of them are trying to essentially trick you into buying them. The drive for each glove (or whatever) manufacturer to increase profits causes them all to buy fake reviews, use cheap materials, imitate the style of the authentic, high quality ones... There is a persistent problem in clothing where whenever a brand gets a reputation for being good and not over-expensive, it is quietly bought out or switches to lower quality material in a year or two to cash in on its reputation. The same thing, of course, happens to the review sites (like the wirecutter) over time... It's hard to imagine the waste of resources that goes into this insane battle over the same purchases.

By contrast, if all the designers, manufacturers, and sellers were working not individually for their own profit, but for a salary (and intrinsic motivation) along consciously, democratically planned lines, we could have a rational and sane number of good quality gloves (etc) to choose from.

As Marx said, "In bourgeois societies the economic fiction prevails, that every one, as a buyer, possesses an encyclopedic knowledge of commodities." What is funny is he said that in about 1850.
#5 is disputable.
I suspect it’s going to become a massive shakedown racket over the next decade; groups will go to tech companies and allege their algorithms are racist/sexist/whatever, and keep complaining until paid to go away.
Ah yes, I understand what you're saying. The videos aren't being stored anywhere. It's all happening inside the browser. The video disappears as soon as you refresh or close the browser.
How about the Bollinger as a brutalist truck?

https://www.equipmentworld.com/electric-truck-maker-bollinge...
This is basically describing the Amazon stores.
Interesting example. I use the DC metro every day and it would never have occurred to me to call it brutalist. I could see it for the tunnels themselves. Certainly the above-ground portions have lots of purely decorative detail; in fact it would be foolhardy to attempt to label all the above-ground parts with a single philosophy since they have a lot of variety.
I used to work in a company like that almost all techniques described in the article were in use.

Turns out it doesn’t piss only customers but developers (of the API) as well.
The other link is about "philosophy PhD". This seems to be the big difference -- when I talk to non-CS PhD students, they often seem to have much harder time and worse conditions that CS ones.

My theory is because of all the opportunities. At least in CS, there is no problem in finding the job with "incomplete phd", and such jobs usually have a much higher salary than PhD stipend. This means that if you don't like PhD, you just leave -- and income increase associated with such action makes it really simple.

From what I understand, this is not the case for non-CS PhD specialties.
My impression (as a nonscientist who sometimes works with climate scientists) is that very few experts believe we have a realistic chance of holding to 2 degrees.

Personally, I think the situation is likely much worse than reported in the mainstream media. There's a fear of scaring people too much, or making them give up in despair, so we keep hearing about how we "could" meet these increasingly farcical reduction targets, even as we're blowing past them.
Some webpage deserve to be lasting kept in eBook format

This is not a valid English sentence. Perhaps you meant “Some webpages deserve to be permanantly kept in eBook format”?

There’s lots of other errors throughout the site that make me suspect English is not your first language; I would suggest finding a native speaker to do an editing pass.

I don’t own a Kindle, I just use the app on my phones and tablets, so I am assuming I can’t use this since it repeatedly refers to “your e-ink Kindle”.
You say no it doesn't and then speak about concurrency models for single-threaded systems. Choose one :)

Node can't not be single-threaded. Because Javascript is. Node.js is single threaded. It has a single event loop in a single thread, and all the "concurrency" is simply queued on that loop. It offloads some tasks to libuv for some system-related tasks but that's it. And the thread pool that libuv creates is very limited.

Anything that doesn't end up in libuv (that is, probably vast majority of user code) will only ever run in one thread... because Javascript is single-threaded hence V8 is single-threaded hence Node.js you get the gist.

And of course, node.js even has a separate documentation section titled "Don't Block the Event Loop (or the Worker Pool)" [1] because it's trivial to block the event loop.

[1] https://nodejs.org/en/docs/guides/dont-block-the-event-loop/
I wanted to add to your comment. When I've looked to volunteer in the past I've seen places that ask for a 6+ month commitment because bringing someone up to speed sucks up resources (not unlike training a new employee). Other times I've shown up early and you see how much wrangling is needed to organize volunteers.

Volunteer labor can often be a resource suck whereas money is money.
I'm guessing you mean turbulent eddies (which form in a fluid) rather than eddy currents (which form inside metals subjected to changing magnetic fields).

In any case, it's impossible to stop eddy currents from forming. Any car, even if it's as slippery as a LMP1 prototype, will generate lots of turbulent eddies. The question is, how bad will the drag coefficient be.

And that's a question you won't be able to answer with simulations unless you have a few tens to hundreds of millions of CPU-hours lying around.
I had a terrible time in academia and I'll agree with everything that the OP wrote.
This is backwards: companies began outsourcing support functions because it was cheaper, and the reason was precisely because the contracting companies would provide worse pay and benefits than the large company provided to its own employees. The worse benefits are the point, not a side effect. Nobody's forcing companies to outsource, especially not the IRS.
My company has started using 2fa for every intranet app, so I have to get my phone out a few times a day. Its going nuts.
Violent death was common, sure, but not necessarily more so in pre-agricultural times. See e.g. the early chapters of "Sapiens" (Yuval Harari). Agricultural revolution led to lower standard of living, increased risk of starvation (feast-or-famine dependence on fragile harvest), increased health issues (less-varied diet, also disease rampant in denser populations), and whereas in the presence of potentially hostile competition nomadic hunter-gatherers could choose to move, farmers would logically choose to stay and fight rather than leave the farm and almost certainly die. The agricultural revolution was a pretty bad deal for most people for most of the time since it began.
https://rebellion.earth/

https://www.sunrisemovement.org/
As someone who also dual-boots. I would say that Windows is definitely the better of the OSes. I've tried, so hard, to make it work. It's been almost a decade now since I switched to Linux OSes. But, software/package management is absolutely horrible in the OSS world these days. It's so bad that actually downloading + installing MSI/zip files from the software provider is a better experience and more reliable. Linux has lost almost all the benefits from having a package ecosystem.

These days, everything on linux is either random potentially insecure PPA repos, shell scripts loaded from a server via curl and piped to sh with sudo access, or "snaps" (whatever the fuck they are). That all ontop of wildly outdated packages in the supported repos. No wonder everyone rants and raves about "docker", now we know why things moved into that space.

I know, this is my opinion and it's biased. Yes I may not have done things properly, or there are other ways of doing things, etc etc.
It'd be great to have an automated shopper that somehow correlates what you buy + like to what (you would buy + like) . In some regards this is what targeted advertising is supposed to do, but most of the time it's just showing me the things I've already bought.

I was telling my boss the other day that I wished there was an AI that I could give a budget, say $100 a month, and it would automatically and incrementally purchase the items I do not have that I would be most likely to enjoy. Maybe it saves up for N months if it's more than my monthly budget etc... Could give manufacturer's a pipeline for stuff (eg, AI declares I'm going to buy item X at $Y in Z months, please make it) ...