skysight-inc/HackerNews huggingface dataset:
I disagree. It should be a compiler warning, maybe a "clippy" one, in such cases.

Btw the problem of sync code blocking async code is very real and also needs to be resolved, adding explicit `.blocking` to every blocking call is just as bad as explicit .await at every line.

Also, I like Haskell approach of being able to introduce syntax extensions at a file-level, so that for code that'd benefit from explicit await – I'd rather let author have it explicit.
I find it annoying to have to solve a puzzle to make progress solving my intended puzzle (i.e. whatever I’m computing)
Podscript – CLI app to transcribe podcasts using ChatGPT and Deepgram
Also due to Anycast, DNS servers can/do respond with different addresses depending on who requests it and from where.
You can most likely use session types to soundly observe a partially initialized MaybeUninit<MyObject> in Rust. The proper use of session types could ensure that the object is only assumed to be initialized after every field of it has been written to, and that no uninitialized fields are ever accessed in an unsound way. The issue though is that this is not automated in any way, it requires you to write custom code for each case of partial initialization you might be dealing with.
How would you update that database? Who would you ask for the updates?

IPs change out from under domains constantly. How would knowledge of those changes make their way from the owner of the domain to your local database?

If you'd want a single source of truth to receive and distribute that info, that's a single point of failure and comes with lots of technical challenges. And it's less "you could never get this 1%" and more "you will never need 99.9% of this"

------------------------------------------------

However, that's all entirely unrelated to this Cloudflare incident, which involved no domains at all, only raw IP addresses. This was an incident involving BGP, which is how the various providers of internet backbone know which other provider they connect to is able to answer requests made to a given IP address, and how changes to that information propagate.
Basically everything I have at https://github.com/hiAndrewQuinn at least started this way, before I polished it up for external use. But, no, if it really is meant for my own eyes only, it lives and dies as a shell script.
Simply because those entries are not static.

When Jane Deer creates a new Blog jane-deer.com, your local database would not know which server to contact to resolve it, and nobody is gonna notify the database in your home.

So you would have to contact some other kind of database outside your home to find out how to resolve that domain--which you might have already realized sounds a lot like a (non-local) DNS server...
Really? I get nearly zero spam text maybe 1-2 per year, even voice calls now. I get maybe 1 per month now. I'm with US carrier TMobile and on iOS.
Don’t worry, you’re going to be unceremoniously rejected by so many tech jobs regardless of your work history
I've often longed for first class constructors in Go and Rust. It was more of a problem for me with Go because you can omit a struct field when building a value, something you can't do in Rust unless it has an explicit Default impl and even then you have to explicitly add ..Default::defualt() when you're building the value.

I never thought that constructors were that burdensome and therefore do not understand the omission in other languages like Go and Rust that followed. Quite the opposite really -- knowing that a type always went through a predefined init was comforting to me when writing Java.
Was hit by this. Took me some time to figure out what was going on, thanks to PiHole caching entries.

Swapped to Quad9[1], been using them since.

Was debating setting up my own recursive resolver, but the privacy aspect seemed less than ideal. Damed if you do, damed if you don't kinda.

[1]: https://www.quad9.net/
Yes that would be the year that US lend lease began for the soviets
Homo floriensis appears to have died out around 50k years ago: https://www.bbc.com/news/science-environment-35930979

And isn't 45k around 50k? That seems like a reasonable statement to me.
The gist is because DNS gets updated. Your computer already has a local cache of all DNS responses it receives and relies on those until that entry expires (as set by the TTL field). If you want to run a local resolver, you can, but it wouldn't solve this problem, because you'll still need to update your cache regularly and guess how you do that? With DNS.

The next question from there might be why do DNS responses change so frequently? I don't have an exact statistic, but most of them don't (I would guess 90%), so you could probably indefinitely cache those. But the ones that do, iirc, it's usually to allow quicker changes (esp. if the site is under active development), load balancing, global distribution, etc.

I hope that's helpful.
Autocomplete on steroids. There aren't many training examples where "yes you can" was followed by further refusal.
It was just a thought based on a quick look at the screenshots. I didn't use it yet.

I would use a tool like that as a low-code platform to quickly make data accessible. Might be a different use case than most users are looking for.
The invasion has made Ukrainian membership of NATO much more likely. So if concern over NATO proximity was indeed the reason for Putin's adventure - rather than a hubristic thirst for imperial conquest - it seems to be backfiring pretty badly for the Kremlin.
I couldn't disagree more when it comes to quite a few significant pieces of regulation:

* light bulbs

* unified chargers

* GDPR

* making Apple screw its customers less
Oh, hadn't thought of this... While the goal isn't to build a music player, I think we can make it configurable to show a queue button if a function is set with your preferred mechanism. Would that help?
"Just buy an iPad/Mac"

- Tim Cook probably.
And you trust the people making these decisions to agree about what’s an opinion and what’s an assertion of fact? When they can put their political opponents in jail by blurring that distinction?
I don't think DNSSEC would help in the common case of non-validating stub resolvers querying a public resolver. My understanding is that the DNS query response from a DNSSEC-validating public recursive resolver doesn't contain the information required for the stub client to validate it, only a single AD bit.
Ways to holiday with friends – without falling out (2023)
Reporting AI in Openkoda [video]
Yeah, the early hopeful news spread widely but the scandal and fallout certainly kept things in the news over here for a long time.

There's a Netflix pop-documentary called "Bad Surgeon" with a that does cover the viewpoint of the colleagues that turned whistleblowers (and the persecution they endured before media and prosecutors started looking into it) even if much of the focus is on his many concurrent women (the main one believing she's going to be wed by the pope).
Sure, but you can already tie your opponent up in court by accusing them to be drug dealers or having embezzled party money.

It does not happen, because there is a political cost of the public opinion of doing that.

If indeed your opponent has done nothing wrong, it will be obvious to the public and clear that you are a piece of sh*t. If you have enough power that you don't care about that, then you already have plenty of other ways, way easier and efficient, to get rid of your political opponents.
Show HN: Launch a new website in 1 second using Scroll
The Playdate makes a surprisingly good e-reader
Interesting. As a direct neighbor of Ukraine this hybris doesn’t sit all that well to me, but it is good to know, regardless.
> Are you aware of what's happening in Ukraine today, or the history of South Korea [1] or Taiwan [2]?

Nonetheless:

1. South Korea, and Taiwan right now are democracies (though flawed to varying degrees), and enjoy a higher standard of living and more freedoms than the neighbor who wants to "unify" with them; and that was true of the Ukraine before Russia invaded. (War tends to reduce your standard of living somewhat.)

2. If every competent engineer in "the West" (including the US, Canada, and Europe) suddenly left the defense sector, those countries would soon be invaded by their neighbors, significantly reducing their standard of living and their freedoms.

> Also I think it's increasingly obvious that fertility rates are one of the most critical factors in society today.

Not sure what this has to do with the proposition that "Preparing for war is necessary to achieve peace".

> I am very much a pro-capitalist person

Personally I think capitalism is pretty terrible: there are constant forces pushing power into the hands of fewer and fewer people, leaving more and more people wage slaves, and it takes Sisyphean effort and vigilance to prevent it. But so far everything else has been worse.
It's a shame Nature seems to keep these articles locked up forever. I found the first reference, which is a study from 2000, which is still paywalled and I can't read it. I'd be curious to know how state of the art has changed since this. I had a two level lumbar interbody fusion seven years ago, the procedure in which discs are removed and replaced by metal spacers that get seeded with a bone graft. Within about 18 months, you've got one solid bone. They seeded it with my own bone, sawed off of my pelvis, plus some kind of growth-stimulating protein. Beats me whether that was coral-derived or synthetic or what. I didn't think to ask. In any case, it certainly worked. It takes a while, but x-rays today look ridiculous. The bone is enormous, effectively growing around the original screws and rods that held everything in place while the bone was growing.

I guess the scaffold matrix in me must have been of the coating variety. As far as I was told, the spacers were just the same titanium alloy as the screws and rods, which for some reason don't set off metal detectors, which makes me wonder why nobody makes knives and guns out of the same material.

It'd be nice if they put a date on this page. The other references I could find were from 2011 and 1987.
My objection is that I don't want websites running arbitrary code on my machine. My solution is for sites to stop requiring that for them to function.

I realize that's not realistic, but I can still choose to live in my bubble, however unpleasant that may be.
Pedantically, any storage of money is a bet, because it could change in value. However, to the Buffett-style investor, you think about whether you want to buy the entire company, even if you can only afford one billionth of it. You look at a reasonable projection of earnings growth--and don't buy companies that are unpredictable (like early stage tech companies). You try to buy at a discount ("margin of safety") in case you are wrong in some fashion. And so forth.

So for example, Coca-Cola (KO) is pretty predictable. Absent any major blunders by management, KO is going to grow roughly the size of the economy, and it's going to put out 3% a year in dividends. So the fair market price of KO is reasonably determinable, and you wait until you can buy it at or less than it's fair price.

This is usually contrasted against technical traders, momentum traders, etc., who are not investing in the fundamentals of the business and assuming the price will follow good fundamentals, but rather they are betting on how the price will change.

So "investing" is seen as buying fundamentals and "betting" (or "gambling") is seen as buying on expected price changes.
I have long considered building a code generator that only serves "nice" codes.

The standard implementation would use a hard coded set of patterns. The enhanced version would pair automatic random code generation with a public site where members of the public can decide in real time whether a given code is "nice" before it's sent along to the intended recipient.

(note @tptacek if you're reading this, I swear it's (mostly) a joke)
https://thecodingsite.blogspot.com/2024/03/algorithmic-pixel...

https://math.stackexchange.com/questions/4875032/beautiful-e...
How about make a copy to an external drive? If you want to be sure do 2. Check them every 5-10 years, replace as needed when connectors get discontinued (eg Firewire -> USB-C).

Bonus: Keep backup with external cloud service.

No need to make overly complicated. No need to do Bluray.
Everything society does is aimed at (locally) reducing entropy, and energy is the only way to do that.
There's a great Machine Thinking video about the history of the lathe that makes this point: https://youtu.be/djB9oK6pkbA
For some reason the game is highlighting the correct answers for me before I click them.
I've been trying to remember the name for this for weeks now, thank you for mentioning it!
This seems to be imagining some other much bigger kind of collapse than what the thread started with. The top post proposed an EM event that knocks out computers, which is not something that destroys all books and mechanical machines, nor kills any people immediately.

I don’t necessarily buy the energy argument. Why would it have to be coal & oil primarily? Maybe it doesn’t. Coal and oil aren’t gone, but there’s also ample solar, wind and hydro to power a new society. Would losing computers actually cease coal & oil production completely? I kinda doubt that. I’m sure it would be a temporary setback and slow things down, but there was a lot of coal and oil production before computers.

The hypothetical question here seemed to already assume that food production and energy aren’t gone, it was just whether we can rebuild electrical compute without computers, based on knowledge of mechanical compute.

We can certainly imagine some epic worst-case scenario where no people with knowledge of any engineering survives, no books survive, and future humans have to start from absolute scratch. That seems far less likely than the probability that some of our knowledge carries. But even in the total doomsday scenario, what we have already is evidence that it worked the first time, and yes we can imagine hypotheticals that make it harder, but we already survived stories of dragons once, right? The default assumption kinda has to be that it might happen again given time.
Same here, except with a EdgeRouter (Ubiquiti) DNS caching.
> Nvidia have invested a lot in CUDA,

This is a significant understatement. For quite some time Jensen has been saying repeatedly that 30% of their R&D spend is on software. With the money-printing machine that is Nvidia if that holds they're going to continue to rocket ahead of competitors in terms of delivering actual solutions.

The "What are you talking about? AMD/Intel runs torch just fine!" crowd clearly haven't seen things like RIVA, Deepstream, Nemo, Triton Inference Server/NIM, etc. Meanwhile AMD (ROCm) still struggles with flash attention...

What these hardware-first (only?) companies like AMD don't seem to understand is that people buy solutions, not GPUs. It just so happens that GPUs are the best way to run these kinds of workloads but if you don't have a wholistic and exhaustive overall ecosystem you end up in single digit market share vs Nvidia at ~90%.
IMO Pornhub or a gambling company is much more ethical than Boeing or Lockheed. Just list it but as a regualted online betting platform, focus on the tech not the gambling.
> If instead we listened to what they were actually saying about the expansion of NATO toward their borders this conflict could have been avoided.

Yes, we should have seen their invasion before it started and helped Ukraine defend against it better.

Because, surely, you're not suggesting that we should have let Russia rape, murder and pillage Ukraine (and other countries) without any resistance?
I think this should run just fine, why not? As long as you have proper Postgres operator, such proxy will run normally on top of that.
I tried that with having ChatGPT walk me through some Godot (game development framework) tutorials. Almost literally everything it said was wrong, but it confidently insisted it was saying the correct steps even when I would tell it that it was mixing up features in older versions, steps from Unity, and other total blunders.
Probably because you can't GPS jam a dumb artillery shell. otoh:

US-made weapons augmented by Global Positioning System (GPS) satellites for position updates in Ukraine are now susceptible to Russian electronic warfare (EW) jamming ... The weapons affected may include the 155mm Excalibur artillery projectiles, Ground Launched Small Diameter Bomb (GLSDB), Joint Direct Attack Munition (JDAM) and weapons rounds used with the High Mobility Artillery Rocket System (HIMARS), among others, depending on how they are employed by the weapons operators.

An unnamed source reportedly familiar with the classified report told the NYT that in the worst-case scenario, only one in 19 Excalibur rounds was hitting its target, where the report said the cost per successful strike skyrocketed from $300,000 to $1.9 million between January and August 2023.

Being able to test GPS jamming techniques against intact munitions isn't some hypothetical academic problem.

https://www.kyivpost.com/analysis/33448
> Ukraine border is too close to Moscow, it is easy to go from Ukraine to Moscow and Russia know they would fail to defend themselves from a NATO land invasion from there. Thus why they are willing to pay a very high price to ensure this won't happen.

Ironically, pushing Finland into NATO, bringing Moscow into SRBM range of an actual NATO member. Oops.
> The use of fables, hyperbole, puffery or invoking of spiritual beliefs should not send a politician to jail.

Agreed. But the argument is about lying, which is not any of those things.

I am not convinced it could ever work, though maybe in a society with a king it is plausible. We certainly manage to define "lying" well enough to call it "perjury" when you do it in a courtroom after swearing an oath. So it can be done. But who will be the judge(s)?
On the latest quarter, NVDA’s net profit was 3 times AMDs revenue
Just silly stuff as my development abilities let me do - the most "significative" one is a remote control to, ahem, control my TV from my pc (to save some batteries from it and some peace of mind so I don't need to look for the remote control every time) - as a KDE Plasmoid w/ QML and some Javascript via IRCC-IP. It broke in the KDE5->KDE6 transition but I'll fix it, try to improve it and share it when I have some spare time.
That’s because court cases tend to be between two parties, and don’t have far-reaching impacts on the whole country.
We ran future scenarios planning for the Canadian NSF > 20 years ago about this.

One that I really liked was having the instruction manuals for objects available directly from looking at the object (or it's bar code).
My perspective: the incentive for manufacturers is to generate as much revenue as possible. In hardware manufacturing, margins are extremely tight.

Consequently, any additional revenue from selling customer data is incredibly attractive.

Especially if you can do so better/faster than your competitors, thereby competing at the same retail price points with better net margins.

As a result... they have every incentive to fuck their customers over from a privacy perspective.

And what they're doing is invisible.

And this is an entity people are comfortable trusting with unfettered access to their devices/network?
Indeed, organizations like Sinclair Broadcast Group exemplify the issues with a homogeneous consolidated media opinion of what "truth" means.

In a random system, the errors of known facts should not be slanted toward any bias, but rather cancel out over time in a predictable manner.

Oh joy, a fresh bag of cheese goldfish crackers, nom nom nom =3
But you can’t trust the “fact checkers” to be honest.
Managed Chinese E-Sports Cafe and Hotel Switch: 48-Port 2.5GbE 2x 25GbE 2x 10GbE
> This pattern isn't something that we invented! The Python world even has a dedicated website about it.

I mean, this is basically what the IO monad and monadic programming in Haskell end up pushing Haskell programmers to do.
I'm not sure there's any really good book that furthers this argument (possibly The Perfectionists or One Good Turn?) but it sort of becomes obvious when you read about Maudsley (https://en.wikipedia.org/wiki/Henry_Maudslay and https://en.wikipedia.org/wiki/Screw-cutting_lathe) and Wilkinson (https://en.wikipedia.org/wiki/John_Wilkinson_(industrialist) and https://en.wikipedia.org/wiki/John_Wilkinson_(industrialist)...

the cannon boring machine was what enabled the efficient steam engines which unlocked large mechanical shops (along with high quality cannons), while the lathe enabled precision machine tool making. I am sure many things had to happen around the same time for the revolution but IMHO the lathe was the true linchpin
I spent a year and a half writing go code, and I found that it promised simplicity but there an endless number of these kinds of issues where it boils down to "well don't make that mistake".
Doctors and dentists are shifting to apps with integrated VoIP calls and dropping PSTN.
I once ripped the corner of my windows install code sticker. I was missing the last 2 characters. I wrote a script in SikuliX to bruteforce the remaining 2 characters. It took about 4 hours to run but in the end, I got the full valid code.
Hi there, I'm one of the creators of Unison, feel free to AMA!
I actually saw numerous issues with segments being one frame out of sync with the rest.
This seems unworkable. I propose we eliminate politicians altogether.

I am kidding, but not entirely. https://en.wikipedia.org/wiki/Sortition
Install a content blocker - uBlock Origin on a browser which does not try to thwart its purposes, i.e. Firefox or similar - and you won't see a single ad or pop-up on that site.
These are the products that are being used to destroy the internet. It's like selling meth at a school playground to applause. Nice UI execution I guess.
It’s much harder to do that, because it requires evidence of physical conduct. It’s much easier to just label something that’s an opinion to be an assertion of truth that can be prosecuted.
I think it's rather that they're using the dot as a thousand separator, not as a decimal separator.
A recipe scraper and rehosting website that nobody cares about but me, a slack/mumble/link checker/duper and chat logger, a bunch of arduino/espressif stuff to manage and control little projects like a home gardening, a suite of database synchronization, troubleshooting, and monitoring tools.
> And yet Ukraine is still losing territory, countless men, and the war.

Ukraine is losing territory at a glacial pace. Meanwhile Russia is giving away (selling) territory to China.

Russia is also losing men att a rate of 5-to-1 or thereabout.

Losing the war? Pfft. Russia is throwing away all their equipment, countless of lives and ruining their economy in the ground... For nothing.
I wrote a tool to do automated QA on internet video (HLS/DASH, tech used for Netflix, YouTube, Twitch, etc.).

It evaluates streams against a database of 100 or so "quirks" that identify either general issues or issues that will only manifest on certain player libraries. For instance, specific "in spec" encodings which are actually non-standard in practice get flagged.

Built on TypeScript/node/Docker over the course of maybe 18 months. Used it fairly often when I was working in the space, not at all these days. Originally the plan was to license it as an enterprise vid tool.

(I've been considering open-sourcing it - would YOU use it if so?)
I use the bezels for postit notes. That doesn't answer "why", but my motto is "When life throws you lemons, make limoncello."
That's a cool take, thank you!

I think it's something that I already knew in my heart, but I think by putting it like this you killed some shipping anxiety and perfectionism tendency in me. Thanks :)