skysight-inc/HackerNews huggingface dataset:
The USN was the largest navy in the world (technically tied for it with the RN) for the entirety of the Washington Naval Treaty system. When the naval arms limitation treaties broke down, circa 1936, their spending ramped up at about the same pace as the other two nations that matter (IJN and RN), e.g. the first battleship commissioned by any of those 3 navies after the breakdown was HMS KGV (Oct 1, 1940), the second was HMS PoW (Jan 19, 41) but the third was USS North Carolina (April 41). They had actually spent an awful lot on naval technology during the 1930's- e.g. they had the best engineering plants in the world thanks to their small tube high pressure boilers that enabled unitized machinery.

As for combat experience, of those three navies, the only one with serious battle experience was the RN- and Jutland was so unlike the aero-naval war that actually occurred 1939-1945 that it is actively misleading (e.g. for Jutland the RN apparently forgot to signal to HMS Campania, the only seaplane carrier in the Grand Fleet, to make steam, so she was left behind. Such a mistake would have been unthinkable during WW2).

What might be confusing you is that while the US spent a large amount of money on its navy, and quite a bit on its air force (at the time technically still a part of the US Army as the US Army Air Corps), it spent very very little on its ground forces- in 1937 the US Army ground forces were smaller than that Yugoslavia! That was the branch that came from nothing, with very little experience, and grew exceptionally fast. It did indeed lead to problems during the war, as a whole lot of people got a whole lot of promotions very fast- e.g. General Mark Clark made O5 July 1, 1940, and was made O10 March 10, 1945.

The 1937 UK army was larger than the 1937 US Army, and the US Army at its peak was about 3 and a half times larger than the UK Army at its peak, so this rapid expansion is much more notable in the US Army than in the UK. If you look at Army Group commanders during the war, all of the British ones except Leese had at least 1 star on Sep 1 1939; all of the Americans who would go on to command Army Groups were Majors/Lt. Col's except for Devers who was a full Colonel.
Sean Carroll I listen to as a podcast, and Quanta I read. :)
Holy cow, I added it to my Discover account, and it found all kinds of stuff that was publicly searchable. Thanks.
BTW since India makes a great many of medications and supplements for the USA and the world, and those factories are never inspected or products tested, do you think this "cheating" / "hacking" attitude doesn't spill over into each and every industry?

Webpage is one thing, how about things you consume?
When I visited this site, I got an annoying popup about the option to enable dark mode from the page’s JavaScript. The page was already in dark mode.

Is this post meant to be ironic?

Griping aside, this article was a useful reminder to go into my devices and delete a bunch of apps (8!) and double-check my (lack of) notifications.
Re last paragraph: the services got dramatically cheaper, mainly because you only really need to pay for internet.

Software (at least household one) is cheaper -- you don't need to pay for many essential things like word processor, web browser, backup software, etc.. There are mostly usable open source solutions for all of them. The professional software might have gotten more expensive, but most people don't care.

Cable TV is completely optional now, you can get the same level of entertainment (boring show with 10-minute ads every 20 minutes) from youtube. And Netflix is $10, which is cheaper that cable ever was.

Internet is about the same (average), much cheaper per megabit -- for example cheap DSL was $40 in 2000.. that's $68 in today's dollars, which is in the range for modern broadband.

Home phone plan is gone.. I am not even sure who has wired phones anymore. Even my grandparents use Skype and Facetime (which, incidentally, do not require any sort of cell phone plan).

Cell phone plans are also growing less than inflation. Remember time when you had to pay per minute or per-megabyte data billing? You get so much more, but you are still paying about the same, maybe a bit less.
That's the old "source/sink" pattern.

"Source" functions return a malloc'd pointer. You have to manually call free on it, or pass it to a "sink" function (which internally calls free). In C, this is seen in strdup.

C++ took this pattern and formalized it into auto_ptr<>, and later unique_ptr<> when RValue references became a thing in C++11.
The first I heard of this book was when I read “WWW: Wake” by Robert J. Sawyer, which regards an emergent global AI out of the Internet. “WWW: Wake” also tries to demonstrate the emergent global AI's development into having a bicameral mind through China temporarily severing their [post global AI emergence] Internet from the rest of the world.
Any idea if it is used to help deaf people talk? Seems like it would be useful.
My own view, and with multiple ancestors that were in the Pacific Naval theater and survived.

The US military invested, and still does, a lot in damage control and survivability. Everything is designed to maximize the equipment and people that can survive to fight another day. This has a significant cost, but the US has always leaned into their prodigious production capacity in support of this objective. This is doctrinal and fundamental, the US really goes to great lengths to make sure every soldier comes home, preferably with minimal damage.

In a long war, experience compounds. You can build a core of savvy battle-hardened veterans in a matter of months if your soldiers can learn the necessary lessons of the conflict without dying in the process. Experienced savvy soldiers are effective and difficult to kill. In many military traditions, these lessons are learned immediately before dying. US doctrine is that they learn their lessons quickly, survive, and adapt. That may not always come off, but that is the approach and has worked well for the US. There is no substitute for contact with the adversary when it comes to learning; how quickly you can adapt to those learnings determines outcomes.

No country's military is ever prepared for real war. US doctrine has been that they will survive their hard lessons, unpleasant as they usually are, and leverage that experience behind their vast productive capabilities. With respect to the US Navy specifically, the US has always had a strong naval traditions, by virtue of their location in the world. Even when they aren't at their peak, they've always known what they are doing.
I think the anti-life bit was about entropy, but avoided the word for some reason. Could be for simplicity, poetic reasons, who could say.
I introduced Nix into our build setup as well. We are an acquisition within Google and it's been quite a fun adventure incorporating it alongside Bazel.

Nix has been great but I've run up against a few thorny edges. Luckily I've sent out patches for them; long love OSS :)
The U.S. Military Would Freak: Does China Have Its Own X-37B Space Plane?
Still used a ton in manufacturing.
I don't believe this should be downvoted, since it's an earnest question.

The answer is that Rust has affine types, which is a fancy way of saying that variables are owned exactly once. The borrow checker enforces this property, essentially by making temporary reference copies of the owned object and proving that they never outlive their backing value.

Move semantics are an implementation detail of affine typing, but can also be used (and are successfully applied) outside of purely affine languages like Rust. C++ is probably the most famous example of that, where `std::move` essentially means "extend the lifetime of this value by moving its contents to the lvalue."
Yup, and this is also why many end up proxy gRPC over HTTP/1.1 after giving up on making HTTP/2 work with systems that don’t support it…
I used to not like videos, but then I started leaving them on in the background. I don't think it's too different from having a teacher draw on a board in front of a class.

For me, these videos are about problem solving. It's nice to watch other people solve problems, and explain difficult topics as they solve the problems in that domain...
>The concept of "Carbon footprint" was fabricated by Ogilvy & Mather a PR company hired by BP, with the purpose of deflecting attention away from Oil&Gas industry and onto consumers.[0]

What's "fabricated" about it? Are consumers not responsible for the carbon they emit through the gas they buy? If you drive a SUV or fly half way across the world for your vacation why should you be able to pass on the buck to BP/American Airlines?
I know so little about this but aren’t fighters much more ballistic in order to be nimble? My loose amateur sense is that a fighter pilot is always flirting with their plane no-longer behaving like a plane and more like a guided missile if they flew it just the slightest wrong (or right?) way.
Thanks for the correction. I missed that.
Yes, I'm inclined to believe such an "in-between" might possibly arise from Iain McGilchrist's line of research into the difference between the brain hemispheres and the relatively recent dominance of left-hemispheric thinking in society. I always highly recommend his book 'The Master and His Emissary' as a follow up to anyone interested in Jaynes' ideas. While it doesn't necessarily imply the full spectrum of schizophrenic-like symptoms in early peoples the way 'The Bicameral Mind' did, it's presentation of right-hemisphere driven societies of the past isn't a far leap from what Jaynes seemed to be grasping at.
So... I get paid to listen to podcasts I don't like? Sounds like a raw deal, as a user.
Yes, definitely. The farm will be close to the community again.
exactly! looking for the flash dev experience applied to web app development.
the stuff you should know podcast just did an episode on this last week. https://www.iheart.com/podcast/105-stuff-you-should-know-269...

Coincidentally I also just finished reading Murakami's Hardboiled wonderland and the end of the world. I think it was playing with these ideas a bit also.
This works great for small datasets, but often you’ll have to eventually use streams rather than arrays. I’ve used pull-stream to do this in the past.
> My point being, don't judge spreadsheets by Google Sheets.

I've used Google Sheets for years and greatly prefer it over Excel at this point. The killer feature is the sharing, which Excel does not do unless Microsoft 365 has greatly changed. The graphics, pivot tables, and functions are entirely sufficienty for cash flow and revenue models.
io_uring based userspace block driver
Yep. Killed so many pilots that the guy out of Hawkwind made a satircal concept album about it.
I live in Austin, and I frequently have to tell people I know, especially people from New York, that hardly anyone here talks the way they expect (I lived in New York for a long time before Austin). A related misconception: thinking it’s a desert.
Pictures: NASA's Curiosity Rover is still searching for life on Mars a decade on
look at what hilti is making if you think electricity is a limiting factor for Power tools. they don't make power washers but they makes extremely powerful cordless electric tools. The kind that allows you to drill 1.5" wide holes in reinforced concrete and cut thought rebars.
Unity suffers from being 3d by default (so you're kind of defaulted into "physics-activated 3d world" stuff), having very low discoverability of features, and a lot of googling to land on the Unity forums.

If you're a programmer, there are a couple ways you can experience happiness:

- Try one of the many "2d game library" things. They tend to be limited to playing sound, displaying gfx, and handling input. But if you're a programmer that will at least give you an idea of what is implemented and what isn't.

- Use Unreal with Blueprints. "But I'm a programmer, let me write code!" Trust me, when you are using blueprints you both get a much more discoverable API, and can actually get all the fancy built-in 3d stuff to work. Also if you're not working on something by yourself, suddenly other people can help out a lot.

- Use Game Maker Studio! Being a programmer means you might have some more systems thinking, but ultimately having stuff like tile editors easily means you're not going to spend a month building out your own little tools.

Programming everything from scratch is overrated if you actually want to make something that works. But Unity has a lot of half-baked features and is actually pretty hard to get working nicely for so many things that it can easily end up being a massive source of incidental complexity.
The mailing list does not tie directly to a line of code. That’s the point of tracking commentary with the code. It helps keep a rough level of confidence about what comments are still relevant (based on whether or how much of the code survived).
I never heard of The Phaistos Disc previously. Very clearly it’s another example of someone making a record of the weird lightshows in the sky that ancient peoples witnessed when enough energy was flowing through the local plasma environment to cause it to go from dark mode to glow mode.
The floor desperately needs anisotropic texture filtering. Hopefully should be easy to turn on.

Better yet, check this article and implement some really high quality texture filtering: https://bgolus.medium.com/sharper-mipmapping-using-shader-ba...
Don't know the guts of the optimization, but 128 64bit pointers is 1024, which is a round number. Could be to avoid memory or cache blowup, or maybe they're using that 8th bit for something internally
My MacBook Air M1 can, although I only tested it with a 2.xA charger, not a 1A charger.
No, "we can reduce reduce bad behavior if we punish for it". This stuff actually works -- if we don't punishing bad behavior, we get more and more of it over time (which is kinda what happened with internet)

I am not sure why you keep bringing up Google here -- no one cares about it, it is megacorp and it can take care of itself. We want to protect entities like IMDB and Wikipedia. It does not matter why it was vandalized (and that's what happened here) -- to fool Google, or to impress friends, or to get to backstage -- it was bad, and it should not be encouraged.

And finally, learning that actions have responsibilities is an important part of the growing up. I certainly got some parking tickets when I was younger and it taught me an important lesson. (Of course the punishment should not be excessive, nothing that stays on your record for the whole life).
Right -- it's a chicken and egg thing where US manufacturers don't make consumer-grade 240v pressure washers because consumers don't have those outlets installed in the right places, and people don't have the outlets because there would be nothing to use them for.
What about the vast majority of languages that aren’t JavaScript?
> They're different enough in structure...

Sure, I mean more in terms of producing a compiled form with O(1) rather than O(n) performance.

> Massive switch statements are also not reasonable situations from the perspective of a compiler, as they see little use outside of VMs.

I'm not really following this logic, massive switch statements are those that can benefit most significantly from the generation of jump tables.

And what needs to be done to generate them doesn't differ significantly based upon the branch count (when you hit case 0x100 you'll need to switch to 16-bit, so binary size will be impacted).

The fact that it's primary use case is reasonably niche is fairly irrelevant given there's bugger all compiler overhead required for support.

Now from a code perspective, I would say that a statement that large probably isn't ideal (depending on the size of your case blocks).
How did you determine that 50x estimate rule?
>That article doesn't say that at all

Yeah, because it's intentionally being vague to elicit rage. What's actually happening (ie. people with poor credit being denied access to cerdit) isn't as rage inducing as some vague implication that Experian is running death panels. However, there are snippets that imply hospitals are basically doing a credit worthiness assessment.

>Under these heightened circumstances, you now have to wait to see if a company thinks you're a good customer for them.

>While Reede says this is likely not an issue for larger hospitals that have less financial pressure (although Kaiser Permanente uses this system), it's definitely appealing for smaller hospitals that will notice a hit to their finances if a patient defaults.

Besides, what plausible reasons do hospitals have for refusing care based on information from experian? Do you think hospital administrators despise people with under 800 credit score and want them to die of illness?
How to convert users that continually repeat trials
Nowhere, not once, did I say that all negative feedback should be ignored. I specifically stated "I have long held the belief that if the audience of Reddit or Twitter or Slashdot or Hackernews universally hates something with such vehemance that you doubt your own thoughts then you are probably doing the right thing."

This is not "all negative feedback" or "that it should be ignored by everybody" or "treated as a positive sign" and it is disingenuous of you to imply otherwise or to conflate it as such. I'd like to introduce you to a video between a psychologist and someone with an agenda: "So what you're saying is..." No, that's not what I am saying at all. I cannot decide if you have poor reading comprehension or want to twist someone's words. Perhaps both. I'm done with this discussion with you because I'm not going to engage with someone who suffers from the former or wants to engage in the latter.
Oh, they don't remain accurate over time.

The point is to capture what is true at the time the commit is made, and in aggregate to tell a story of the code's evolution. If someone wants to know why a particular thing is done the way it is, then this can provide insights as to how it got that way and why.

I don't regard a commit log as an adequate substitute for documentation on the latest version of a codebase. Rather, it can provide a useful starting point for writing documentation that I find easier than beginning from a "blank page" so to speak. It's a starting point only - there's a lot of work required to get from that point to an accurate description of the most recent version of a codebase.

I agree with your point about changes in adjacent systems, though where that happens I try to mention those changes in the commit message and explain how they relate to the commit itself. I'm speaking mostly from experience working on software that exists in a single repository; for things that are split among multiple independent repositories/services I agree it's more difficult (and this is why i prefer monorepos whenever its viable).
You're thinking of something different. Modern (computer-controlled) fighters are aerodynamically unstable because that makes them more manouverable, but that's about being able to turn or spin rather than flying balistically.

For traditionally-shaped planes (delta wings work differently) there's a fairly straightforward tradeoff between big wings to increase lift at low speeds and small wings to reduce drag at high speed. Flaps help but there's a limit to how much you can change the shape of a wing in flight. So if you build a plane to go very fast, you tend to end up with a plane that has a high minimum speed as well, which makes take off and especially landing difficult.
> they ship their brand new Pinebook Pro with outdated distro

Honestly, it was probably physically built months ago. Shipping takes like a year.

> to install Manjaro Plasma as the default OS

This is custom SOC that Manjaro's community specifically built out support for, including PinePhone too. Other distros don't really do this, and PINE do give back to Manjaro for it.

> to put the switch inside

I have very serious difficulty trying to figure out what the problem is with putting a switch that controls eMMC next to the eMMC board. Which is a hardware board that is attached to the SOC, not an external or hotswappable drive. I don't think this is unreasonable?

> It's not about my comfort - I don't want to have to unscrew the brand new laptop on day 1!

The PINE store warns on nearly every single page in large red text that this is not for non-tinkerers. And explicitly tells you to not order if you want something right out of the box.

I understand that you want a laptop, but this is very much not a "laptop that I can just throw linux and use a browser" on. For that get a thinkpad or something.
I don’t know of anywhere where 5A is common, everywhere I know of is always 10A minimum (2300 W at 230 V nominal). Here in Australia 10 amp sockets are everywhere but it’s common to have at least one 15A (3450 W) outlet somewhere in the home too
> Root cause? I didn't even know commit comments were a thing that GitHub had!

Me too. It wasn't a term or feature I was familiar with, and (incorrectly) assumed they were talking about commit messages.
He clearly took payment in advance for it and knew spending time would be part of it if he was caught. So he basically signed up for it himself.
The pledge implementation seems like something that would be useful to other things too, so maybe spin it out into a separate library?
.. of the US
I feel it's ironic to say this for The Sandman, but for me the standard woke changes to the source material hurt the story, as they forced Dream to be a much weaker character. Johanna Constantine for instance starts off rude and dismissive towards Dream, since this is the sort of behavior writers use to telegraph strong female character nowadays -- which ended up making the main character feel weaker when he's not taken seriously. Lucien's change was of no importance to the story, but just threw me off a bit from how I pictured mentally the comics.

Episode 6 on the other hand was the highlight of the season as it completely stuck to the source material. Death now being black still felt completely natural, since her personality was the same, and the Endless are not bound to any form.

I'm fine with changes made to adapt a work to a new medium, but changes without any reason just confuse me as a fan of the original work, as I'm subconsciously expecting a reason for the change that never comes
Inigo is amazing. He explains difficult things really well. I really appreciate his live coding videos where he recreates some of his famous shadertoys.

Inigo and Martijn (the art of code) are really good teachers. I've learned a lot about shader programming by watching their videos
Here’s what one sounds like: https://youtu.be/lc7y8pqdO6U
why would being born with the right passport allows you to pollute 5x more with impunity? the planet doesn't give a crap about our made up borders. What makes Europeans/Americans individuals so special that they get to consume wayyyyyy more than the rest of the planet?
No, in fact it is explicitly identified as a war crime by the Geneva convention. Air crew abandoning a plane are distinct from airborne paratroopers in this regard - for obvious reasons.
You can switch on arbitrary types in JS and you can add expressions:

switch(3) {
case true: break;
case "ab" + "c": break;
case Math.random() >= 0.5 ? "heads" : new Error("tails") : break;
}

The optimizer will have to be persuaded that the switch and each case is integral before optimizing with a jump table. On the other hand, Arrays typically have a fast path for integer indices.
https://archive.ph/saTzr
All of the amounts in the article seem way too high. He’s paying farang price. A one BR apt in a decent location in Bangkok is much less than $2700. Almost every apt/condo for foreigners has gym and pool and maid service. And you’d have to eat at expensive foreigner restaurants every day to spend $1,600/mo for food.

I lived there for five years and could do it for well under $4k/mo.

Bangkok is full of expats living on pensions, spending far less than this guy. When I saw the $8,000/mo number I thought “alcohol and bar girls,” the usual downfall of the Thailand newb.