skysight-inc/HackerNews huggingface dataset:
>it was a cascade failure for professional drivers.

California ports suffered from AB5 and EPA rules more than other states, and with California controlling like 40% of the containers, they shot themselves.

Older trucks banned on roads and ports (CARB) and Owner Operator trucks (AB5) gig workers banned, they relocated their llc's outside california to keep their businesses running.

The CA EPA/DOL CARB rules also expanded fire seasons, as older logging companies closed down due to the state not renewing licenses on trucks. Mom/pop companies couldn't afford to buy very expensive trucks, new engines, or licenses. Less companies logging = more fuel.

CA just banned gas generators, as most construction sites use them power their tools. Work arounds will be people buying ford f150's with onboard generators as a quick work around, and most likely will raise costs even further.
I would highly doubt 100% of Facebook users would want to use virtual reality. Out of those who would tho, it would be pretty high, I doubt many Facebook users would buy HP Reverbs after that. Not worth the absurd cost tho
> I just don’t understand how this is a net time/energy savings?

At the end of the day is all about trust. Do you trust code you find in SO/Copilot to be good enough for your use case?

In my case I do not trust SO code. Whenever I use SO, if I find some snippet that seems to be the code solution I'm looking for, I copy-paste the snippet on my IDE, read through it carefully, rename variable names as needed, handle edge cases, remove unused code, etc., etc. Any code solution I find in SO gives me the "starting" kick, which is about 10% of the total effort of writing code from scratch. The remaining 90% (to understand the code that is being committed) cannot simply go away. I do not expect Copilot will make much of a difference.
Yep, I have been there. Example (sorry to use another finance story): the market today is overvalued by any logic. Valuation, 0% returns for next ten years. Equity risk premium, max 2% real. Contributions that are valued most heavily are complex and surprising. If you say the market is overvalued when it has gone up 15%/year for a decade then people are expecting something very big...not some nerd talking about equity risk premia.

I think this is the difference between how humans reason emotionally and how humans reason logically.

Finance is a bad example because most people lose it when money is involved. But you see this in other areas where it is very hard to make a contribution if that contribution isn't surprising, controversial, or shocking in some way. It has to have emotional valence. This isn't universal. Some areas of study don't have that culture, some organizations have clear decision-making processes that try to stop this...but everyone is prone to emotional reasoning.
>Picking on Amazon for a moment, their original "innovation" was a sales and use tax dodge: based in Washington, they were able to sell books to California without having to charge the relevant sales tax upfront. That margin gave huge room to provide free shipping and other customer conveniences.

Sales tax in california was 7.25%. While not having to charge tax was a competitive advantage, I'm skeptical that was the defining factor that led to amazon's success. This is further compounded by how prices work in the US (taxes are not included), so I doubt this even made a conscious difference to most people. Finally, the exemption isn't limited to e-commerce sites. According to wikipedia, it includes "companies doing mail order, online shopping, and home shopping by phone". Why did amazon dominate while sears languished?
My point was that the background thread would remove elements periodically, by checking something like:

if (it->expiry_time < now) erase(it);

Where erase() could certainly remove the item and update the size, but it would remove elements after they have expired. So if size() must return the actual number of unexpired elements present right now, the cached counter you mention would not be up to date.

This is what I meant by "have size() return the number of elements currently not expired". What you're describing is "size returns the number of elements currently not expired OR expired but not yet cleaned up", which is different.
Man faces deportation – to a country that no longer exists
The internet exists under our current systems and, although there are parts of it that suck, it’s dope
Oh. Es raro ver español en hacker news
John Michell
My point is that people still think there is a way to salvage things when there isn't and because they think there is a technological solution they are refusing to change their consumption habits. That's what I mean by adaptation. By the way, at 4C there is no longer any human civilization as we now know it. Even at 3C we're basically screwed.
Not about the article's content, but about the interestingengineering.com web site: it sucks. It consumes 100% CPU, tries to play multiple videos, and takes hundreds of megabytes of memory.

No, thank you.
Genuine question: 2020 feels like the biggest shock to the economy in a while yet it was one of the best years for most big businesses. If Jeff Bezos didn't feel the shock from 2020 then when will he feel the shock?
Without "F" in the acronym, maybe Microsoft can be added to the list!
> // Most FizzBuzz routines produce output with `write` or a similar
> // system call, but these have the disadvantage that they need to copy
> // the data being output from userspace into kernelspace. It turns out
> // that when running full speed (as seen in the third phase), FizzBuzz
> // actually runs faster than `memcpy` does, so `write` and friends are
> // unusable when aiming for performance - this program runs five times
> // faster than an equivalent that uses `write`-like system calls.

Why can't `write` use a reference like vmsplice?
You keep repeating that, are you trying to will it into existence?
Compare it to UK: https://ourworldindata.org/covid-deaths
Did anyone else get recommended and see the FizzBuzz video on YouTube ( https://youtu.be/QPZ0pIK_wsc ) just before this article or did I just witness an incredible coincidence?
I have $9.00 and three Avenue C coupons in my wallet.
The Most Popular Languages on Reddit after analyzing 1M comments
I think the holding already existed. But it was called Facebook and now it’s called meta
So what is this technology if not hardware you wear on your face? Does it exist? Can anyone try it out? When is the release date?
Ask HN: Hey Functional Programmers, how did you learn functional programming
Hi Everyone,
I am not here to start a debate about OOPS vs Functional programming. So if you are not doing functional programming and don't like it simply ignore this thread.

This thread is for everyone who uses functional programming in their day to day life and have gone through the struggle of building mental models about functional way of doing things.

I am not looking for a guide to learn haskell syntax and any other programming syntax. I am looking for how to really learn functional programming how to build the mental models in order to think functionally. So that even if a language is not functional by nature, I can model my functions and data in functional way of building programs.

I myself write JS and Typescript for living and i came across this library https://github.com/gcanti/fp-ts

But not even 1% of this library make sense to me. So if anyone of you have gone through the struggle and overcome it and using fp in your code. Please share the knowledge to fellow learner.

Thanks <3 !!
Relatively little can apparently be $10B:

“ In 2014, for example, Oracle cofounder Larry Ellison disclosed he had used 250 million of his Oracle shares as collateral to secure a $9.7 billion personal line of credit.”

Source: https://www.businessinsider.com/american-billionaires-tax-av...
Agreed but lots of Apple’s growing services don’t have low marginal costs - Apple Music - or they are investing heavily - Apple TV - so this seemed a bit surprising.
You can hit this now with the CM4 modules,

For qty 1 @ $30 you get 2GB and 4 cores, you could put 2 more ethernet ports on the PCIe port for a total of 3. That gets you into the same-ish performance regime.

I am all for aggregates of low end compute, but I think something with more processing power and more PCIe lanes would scale better.

https://www.digikey.com/en/products/detail/raspberry-pi/SC02...
> Email is open, and incredibly valuable because it is open. A model like this threatens to close it

Phones were also open. Now no one answers calls from strangers because of the proliferation of spam calls.

This is a natural solution to spam and nothing to be enraged about. It is ridiculous but not for you to dictate how other people manage how you contact them.
Yes. In 1978 I learnt from the radio that the answer to Life, the Universe and Everything is '42'
The first section of the blog post goes to great lengths to say "oh this is actually something he figured out after extensive research, and he's making his advice seem more credible by framing it as 'aw shucks I just noticed this on a quick boat trip where I heard [what is actually his own understanding] from Legit Experts It's Okay To Trust' and thus reduce popular resistance to considering it".
By the economic catastrophe causing us to elect a president who dismantled a group that worked to monitor and respond to global health issues to prevent them from becoming a pandemic. I think it's hard to say if that group could have prevented Covid-19. Nor am I necessarily saying that the economic crises of 2008 caused us to elect Trump. But I think you could possibly find a path from one one to the other.
Amazon Earnings Suffer as Growth Slows, Costs Rise
I've never heard of this before. Are you talking about services like Apple pay, arcade, tv+, fitness+, icloud+?
I can't tell if this is satire, so I'll respond to it as though it is not.

> How are you supposed to staff an incredibly shitty low paying job if people aren't literally starving?

Why should anyone be forced to do that shitty of a job? Why can't the wage be increased and/or the quality of treatment be increased?

> Offering more money or better working conditions is a nonstarter, they would rather just move the work offshore.

This works for things like software developers, but not for the majority of food & service industry.
What would the consequences of an earthquake be?
Honestly, HarvardConnection would have been just MySpace but solely for Harvard users. Forums have been around since what, the 1980s (as BBSs)?
Citation of a climatologist pointing to a known tipping point that says the tipping point is the greatest threat?

I'm certainly not saying tipping points aren't a threat, but who would claim to know the greatest threat inside of climatology? I mean we have dozens of unaccounted for nuclear warheads from the cold war era and you'd have me believe there are qualified people stating they know what the greatest threat is and it's some tipping point that will set off global warming?
have you ever lived in the soviet union before? or You just read about it from the media? Not to defend the system here. Just a gentle reminder of a bit critical thinking. >its all a game and there is little difference between what you can get away with, and what is right<...Here what about the Jeffery Epstein?
>it's still in his best interest to ensure that the economy doesn't crash

Technically, yeah! Functionally, though, if the Even Greater Depression arrived tomorrow? He'd still be the richest man alive, and probably even more powerful than he already is right now thanks to how Amazon and AWS would get to take over more failing social institutions.

Sure, a falling tide lowers all boats, but Bezos will still comfortably afford his gigayacht. It's a setback for Bezos, and maybe he wants to avoid it in order to maximize profit and utility and whatever, but it's an existential threat to him in the same way spilling a glass of milk or losing a round in a video game are. Even extreme social unrest has been priced in, at however much a luxury bunker in New Zealand costs.

Other people, when the Big Crash arrives, will -- in a totally economically rational way! -- commit suicide in order to ensure their spouses and children aren't bankrupted by their medical bills. Uh, in greater numbers than they already do. Many will starve, or at least go very hungry. In greater numbers, I mean. Should be a good time for the owner class to buy up all the housing stock for cheap, too.

I don't think the owner class is worried about it. I think they actually might be excited.
This is like a Rorschach test. There is truly something for everyone.

What caused all the supply chains bottlenecks?

Hard Left: "It's the fault of *capitalism*!"

Hard Right: "It's the fault of *unions*!"

Soft Left: "Truckers don't have a living wage!"

Soft Right: "We stopped producing because of lockdowns!"

Greens: "It's *climate change* disrupting the economy!"

Libertarians: "*Government mismanagement of ports!*"

YIMBYs: "*Zoning laws don't allow stacking!*"

De-regulators: "*AB 5 bans independent operator trucks!*"

Taleb: "Globalization JIT is *too fragile*!"

Krugman: "Republicans destroyed our infrastructure!"

Montana: "Workers are staying home, collecting unemployment!" (h/t tamaharbor)

Did I miss any explanation? I need to start collecting these.

Full Disclosure: I have no idea what the causes of the port bottlenecks are, but it's a great launching pad for talking about all of these issues.
> That's a common adage, yet some of our most used technologies are created or maintained by committees - the Internet, web technologies, ECMAScript (enemy though it started out as a single person project), C++, OpenSSL, Unicode - these are all design-by-committee projects.

I think "created or maintained by committees" here is not precise enough. In most of these cases, especially in the case of net technologies, ECMAScript, and C++, a committee came into place only after independent vendors began to blaze the trail on their own. The committee's job here was to take existing implementations and distill them into a standard. This is important because individual entities often have almost no incentive to cooperate otherwise.

However, there are examples of initiatives created top-down by committee that ended up becoming too complicated to achieve actual usage. The OSI Model vs the TCP/IP model [1] is a good example of this failure.

[1]: https://en.wikipedia.org/wiki/Internet_protocol_suite#Compar...
Email and instant messaging aren't in competition they fulfill different communication roles and while each can be used as the other (there isn't a deep fundamental difference) each is habitually used in a very different manner. Asynchronous notifications about large tasks shouldn't be done in a medium where that notification is possibly going to scroll off of a screen in a few hours[1] (maybe I'm busy and want to review that long document sometime next week) - while low friction direct communication becomes sloggy through emails - nobody I've ever met would ever email AFK before going off to lunch. And, specifically, I wouldn't want them to mass-email the whole company with ever status change - being able to see availability at a glance makes communication smoother.

Companies should use both.

1. Message reminders in most clients can sorta do this but I still prefer emails.
When the climate crisis begins to hit, this kind of a system will rapidly collapse the world economy way before climate change even starts to wipe humans out.
Maybe one day you’ll try out OpenBSD and find that you actually like it… and then you’ll be hit by the force of hundreds of thousands of software developers who subscribe to the philosophy you describe above. Standards are important — they’re the balance between a monopoly and a fragmented ecosystem, and give developers a chance to create new platforms that can innovate while supporting existing code.
The antidepressant fluvoxamine can reduce Covid-19 hospitalizations
Why is everyone "suspecting" this? The blog post starts by laying out that that was exactly what he did (knew beforehand and put it into a plausible but made-up narrative).

See my other comment: https://news.ycombinator.com/item?id=29032229
You are being pedantic. Your argument is that the authors of that document can predict the future and only make definitive statements. You're effectively basing your entire argument over a single word. The intention was clear or they wouldn't have mentioned it at all.

Ok, you win! Nobody knew PoS was coming! What a great surprise! /s :facepalm:
> fizzbuzz co-processor, obviously

One of the functional modules on the M1 Pro Max chip, but only the Max one, unfortunately.

Take that, Intel!
Not at all.

I consider this in particular deeply incorrect: "only measure of acumen the CEO of a publicly traded company is that little number called the share price". And I'm hardly alone here. Indeed, the whole reason Facebook is in public doghouse right now is Zuckerberg's focus on dominance and profit without regard to little externalities like genocide. So you may have different goalposts for him, but that doesn't mean I've moved anything.

If I'm trying to understand somebody's acumen, I want to see what they can do on their own. As someone else pointed out, Zuckerberg didn't even really have the one idea that he successfully exploited. He's rich, sure, but, "He's so rich that he must be a genius" is pretty far from my criteria for genius.
A large amount of Kodi/android based tv boxes support that. For example pentoo devices
>2020 feels like the biggest shock to the economy in a while yet it was one of the best years for most big businesses.

by what metric?
I really hope this transparent dodge to avoid regulators doesn't work out. The first time Zuck says "Oh, don't subpoena me, subpoena this human shield" Congress needs to turn around and say no.
You're describing the stereotype of a mean drunk. In reality, there's also the happy or the sentimental drunk. They might just laugh it off or smile big and hug the person bumping into them.

For sure, alcohol reduces inhibitions. If you're a naturally chip-on-the-shoulder kind of person, alcohol will turn you into a certified jerk. Alcohol can turn other kinds of people into lovable fools as well though.
Them being foreigners they are on very thin ice to do any meaningful criticism. You can pretend otherwise, but as a foreigner you already being monitored 24/7. And just few words away from your life being turned upside down. So yea it makes sense all "influencers" only speak up once they have taken care of their affairs so that China govt is no longer easily hurt them.
That's an interesting setup, I'd love to hear more. Do you have a wifi antenna hooked up to the pi?
I don't think this is that unrelated. There are certainly plenty of examples of things about this related to a company's primary focus. There are several Amazon products that are pretty huge since they started as just "books" (Echo, Kindle, AWS), Netflix streaming after DVDs, the entire ecosystem of iOS devices after starting with Macs.
Sounds like the user intentionally set up Earn instead of unsubscribing to hundreds of newsletters. Seems like it's working just fine.
> It's the feeling that you have something to contribute to the great project of figuring out the secret structure of the world, and that other people in a shared community of knowledge-seeking will appreciate you for it.

QAnon exists, in part, because of the metaverse. The metaverse can be viewed as some augmented reality version of of the real world. Conversations and ideas that foment and thrive in the metaverse eventually make their way back to reality. You can (mostly) thank Facebook for that...
On the other hand, if you’re not at the point where you care about maximum performance, you may want to shy away from C++ altogether.

This implies that there are very few situations in which C++ with STL is the right choice - which seems contrary to how widely it’s actually used.
Ironic. Actually I got offer from google and virtualised table was part of interview. Refused as they use own weird frameworks and job was boring.
VR the implementation is prone to false starts. I still don’t know whether this current wave will stick.

But VR the concept is universal and inevitable. The idea of feeding artificial input to the biological senses, in order to place our consciousness elsewhere, is a genie that can’t be put back in the bottle. No way does humanity leave that option on the table once it’s technologically feasible.
I mean, popular sliger m-itx cases are around $250

https://www.sliger.com/products/cases/s620/
Can we use a giant thruster on the south pole to change Earth’s orbit?
> What are you reading and why?
Audiobooks are a special case for me. They help fill the time when I'm driving to work, mowing the lawn or doing dishes. If I consume my entertainment during these productive times, I find I'm less drawn to television and other mindless distractions. They also help me to be motivated to do tasks that I otherwise find dull. The better alternative is to find a friend to share these tasks with, but that is not always a practical option.

While I do read for entertainment, I really enjoy non-fiction as long as it's light. If I want to explore a topic and truly learn something, I often need to find a text version. That said, I have found some great audiobooks that I have learnt from:

-The Goal

-Pragmatic Programmer

-Designing Data-Intensive Applications

-Thinking Fast and Slow

-Ultralearning

The best entertainment so far have been

-Dune

-The Expanse series

-The Bobiverse series

-The Expeditionary force series.

I asked this question so broadly as I wanted to try something that I wouldn't usually go for. I have a heavy bias towards sci-fi and wouldn't mind exploring other genres. I love good non-fiction but have also found a lot of trash non-fiction out there that I regret wasting time on.

I have a log of recommendations but not of books read. It sounds like a good idea.

I'll add How to Read a Book to my list :)
Maybe they lose less time writing comment on HN. Dont hit me I am guilty of this too.
For an alternate take, see https://www.nationalreview.com/2021/10/the-real-culprit-in-o... ...

These posts raise some interesting points I hadn't thought about (I don't see any problem with Next-in accounting). But it seems that lack of inventory isn't the only problem, throughput at ports is also an issue, and the ports themselves are limited at what changes they can make to fix these issues, partly due to profits (no one will want to operate a huge port that's profitable 5% of the time), but also partly due to limits put on ports and shipping by the government.
On the plus side, they have ~24 years of runway in the bank just in case things go south. :)
That comparison doesn't make any sense.

Earn.com was making people go through them in order to contact whoever used its service. It completely killed the open nature of email where if you had someone's email you could be sure the message directly reaches him. It was then his choice if he chose to read your mail or not.
A little off-topic, but this makes me wonder... what if sending email required a very small amount of currency (crypto or fiat) to be sent to escrow. If the receiver decides the email was unsolicited or unwelcome, you would lose that currency (burn it or redistribute it amongst everyone participating).

The value can even be small enough to be inconsequential to individuals but costly for high-volume spam.