skysight-inc/HackerNews huggingface dataset:
> external world has tendencies to fail, needs to be retried, coordinated with other things.

This is exactly why I'm so aggressive in splitting IO from non-IO.

A pure function generally has no need to raise an exception, so if you see one, you know you need to fix your algorithm not handle the exception.

Whereas every IO action can succeed or fail, so those exceptions need to be handled, not fixed.

> You have to fake all these issues.

You've hit the nail on the head. Every programmer at some point writes code that depends on a clock, and tries to write a test for it. Those tests should not take seconds to run!

In some code bases the full time is taken.

handle <- startProcess
while handle.notDone
sleep 1000ms
check handle.result

In other code-bases, some refactoring is done, and fake clock is invented.

fakeClock <- new FakeClock(10:00am)
handle <- startProcess(fakeClock);
fakeClock.setTime(10:05am)
waitForProcess handle

Why not go even further and just pass in a time, not a clock?

let result = process(start=10:00am, stop=10:05)

Typically my colleagues are pretty accepting of doing the work to fake clocks, but don't generalise that solution to faking other things, or even skipping the fakes, and operating directly on the inputs or outputs.

Does your algorithm need to upload a file to S3? No it doesn't, it needs to produce some bytes and a url where those bytes should go. That can be done in unit-test land without any IO or even a mocking framework. Then some trivial one-liner higher up the call-chain can call your algorithm and do the real S3 upload.
Fair point on CSRs, though I'd count that as a subset of unsupported/not-yet-specified instructions; pretty sure all of the "reserved"s in the spec are effectively not-yet-defined instructions too, which'll have equivalents in any architecture with encoding space left for future extensions, not at all unique to RISC-V.

But yeah, no try-running-potentially-unsupported-things-to-discover-what-is-supported; essentially a necessary property for an open ISA as there's nothing preventing a vendor from adding random custom garbage in encoding space they don't use.
I currently use flatnotes[1] as a Frontend with a background cronjob to add, commit and push every night.

Works pretty well so far with some acceptable nitpicks. It was a quick and dirty solution to overcome logseq couldn't run in a Server that time... Never needed anything else until now :-)

1: https://github.com/Dullage/flatnotes
It’s great. Thanks for doing that.
The French concurrence authority would probably love that type of reasoning. Specially now that the US is officially an adversarial entity.
what is stopping hackernews from following closely behind?
> People can't even be bothered to read docs but will just blindly install a package just because someone was able to package it and upload it to PyPI.

That's a straw man argument. No one said "blindly". You can very well carefully consider the pros and cons of adding a dependency and arrive at the conclusion that it makes sense. Many PyPI packages are in the Debian stable repositories, you could use that as an additional barrier as well.
I remember seeing a thread from a guy from ASML about this, he clearly said that any academic use is a lucky by-effect; China is building this to obsolete ASML for chip manufacturing.
As opposed to the way SpaceX does it?

Let huge rockets blow up over active airspace?

This looks like a bunch of college kids building small little rockets. I'm probably taking a much bigger risk walking on the street, where I live in India.

It's a little risky. But do the stuff far enough away from people and they'll be fine.
That’s exactly why they are undervalued. Most aren’t parked they’re just buried in bad branding or lazy usage. A sharp name with clear vision still beats SEO stuffing and generic combos any day:)
Time was, maybe. Today, no.
What situation and what mess? Would you mind being a bit more specific?
Is the tl;dr: instead of channels, just use mutexes (and a shared state) explicitly with goroutines?
That's a side project.

Trump has trashed allies and alliances. He has turned the people of Europe, Asia, Mexico, Canada, and other places against American products and services. He is trashing our universities, further undermining the foundations of innovation and risk capital formation.

That damage will consume everyone.
After Reddit's API fiasco 2 years ago, things started to degrade really fast. Today, everything is more bland, less insightful comments and more aggravated/toxic comments. I mostly visit due to habit and mostly I feel worse afterwards. It wasn't like that.

Even on communities like r/woodworking, which used to be a bunch of nice people. I mean, how can you be toxic and a woodworker at the same time? Sure, occasionally you'd get someone that hammered his thumb but that was the exception.
So does that make it a further attempt to market junk with AI or an astroturfing campaign against AI.

I feel like the Old El Paso girl might have an opinion.
This has happened to me when the battery ran out during the reboot/upgrade. One time I had to let it charge and reboot for a good 30 minutes and eventually it booted again.

I totally understand giving up there though as it sucks to not be able to use the phone for a while and is very inconvenient. Let alone if this happens at an inconvenient time/during a work day, etc.
And whose fault is that? The DNC's. You had a man explicitly calling out so much of what ails this country, and instead of elevating him, they shunned him because think of the billionaire donors.

FAFO of the highest order.
I might have missed it just skimming, but what's the physical method they are planning to use for return channel?
Sort of the inverse, but didn’t Ford import Turkish-built Transit Connect vans with full interiors, only to strip those out upon arrival in Baltimore, as a means of skirting the Chicken Tax?
Drupal CMS desktop application
Seems like the resulting attention on the repost makes for decent justification in this case. I'm glad to have seen this, and I don't like the idea of good content slipping through the cracks because of timing and circumstance.
There are also tidal accelerations due to not being in the center of mass of the space station.

Robert Forward had a scheme for nulling these over a larger volume using a heavy ring, a technology related to the one he used in the novel Dragon's Egg (which used SFnal superdense matter to enable a space station to exist in close orbit to a neutron star without the tidal forces killing the occupants.)
It’s a different situation because the numbers are different even though so far the outcomes are the same. Am I reading that right?
This phrasing from the home page is odd:

> When I publish my next piece I will personally write you an email, with some of my thoughts on the post.

‘My next piece’? Maybe for a part of a book or a long article, but for a blog post?

The next oddity, ignoring ‘personally’, which is inappropriate for a mailing list, is ‘…with some of my thoughts on the post’; you’re going to send me a piece with some of your thoughts on the post?

I’d expect more accurate phrasing from a med student.

Edit: tone down the criticism, I wrote without much thought that some one made the site; my apologies if I came off as overly critical.
I like that the type names are the same as in Java (java.time package). Great work!
> When I did my 20% on Go at Google, about 10 years ago, we already had a semi-formal rule that channels must not appear in exported function signatures.

That sounds reasonable. From what little Erlang/Elixir code I’ve seen, the sending and receiving of messages is also hidden as an implementation detail in modules. The public interface did not expose concurrency or synchronization to callers. You might use them under the hood to implement your functionality, but it’s of no concern to callers, and you’re free to change the implementation without impacting callers.
It was never about that.

It was about asserting he could ruin everyone’s day if people didn’t suck up to him/pay him off.

And it worked.

If you realize he’s a terrorist pretending to be a reasonable person, rather than a reasonable person pretending to be a terrorist - things will make a lot more sense.
The "lib" one needs for date time functions is as good as non-existent.

But yeah, you will have to create tests for the codepath, instead of relying on the tests the library maintainers create.
> The stdlib is much more heavily tested and documented than any 3rd party library will be.

You initially said you write your own code instead of using libraries, I replied to that, and now it's that you use the stdlib instead of libraries. I won't argue against shifting goalposts.
"EHang’s much-touted, recently granted certification comes with numerous flight restrictions that it has failed to fully disclose to investors. The restrictions invalidate the bulk of its potential commercial use cases, including restrictions against flying in densely populated areas, in shared airspace, and out of sight of a ground crew.

EHang claims restrictions will be progressively lifted, but according to China-based eVTOL experts, EHang’s flagship aircraft would need a billion-dollar redesign and an entirely different class of certification to avoid the limitations."

Also from the Chinese Civil Aviation Authority:

https://www.caac.gov.cn/XXGK/XXGK/BZGF/ZYTJHHM/202202/t20220...

"EHang EH216-S Unmanned Aerial Vehicle System Special Conditions.pdf" (in Chinese) - https://www.caac.gov.cn/XXGK/XXGK/BZGF/ZYTJHHM/202202/P02022...
I've found my ability to recall names (or proper nouns) to decline as I entered my 60s more than any other cognitive facility, both names of people as well as objects that have one-off names, such as 'Montessori' schools or 'Schroeder', the musician in the Peanuts comics. I suspect such name recall is done using a minimum of secondary cues and associations, relying entirely on a very limited subset of neurons and pathways to drive the retrieval.

So far, I've not been able to devise any way to improve such recall, other than to guess the likeliest first letter of the name then step through successive letters to, hopefully, trigger remembrance. But I bery much doubt most of the memory-enhancing techniques that are in vogue will help. Regenerating a mnemonic to cue the name is no easier than recalling the name itself.
I've started using old-school forums where I can find them for communities I care about (e.g. music production forums like vi-control...sometimes Hans Zimmer shows up!). It's a joy when you find one, kinda feels like the old days. The only annoying thing is the never-die threads. Some threads on these forums are over 15 years old. But honestly, I've really soured on the voting mechanic.
The funny story is that Lem despised this adaptation and for a good reason if you manage to read his book. He called Tarkovsky an idiot and refused to cooperate with him on the script as Tarkovsky threw pretty much all of Lem ideas from the book to shoot Crime and Punishment in space.
My rule of thumb is that the goroutine that writes to a channel is responsible for closing it. In this case, a deferred call to close the channel in HandlePlayer is sufficient.

Still, this example has other issues (naked range over a channel?!) potentially contributing to the author’s confusion.

However, this post was also written almost a decade ago, so perhaps it’s a result of being new to the language? If I cared to look, I’d probably be able to find the corresponding HN thread from that year full of arguments about this, hah.
I think GrapheneOS is one of the most important projects going. Many people walk around with all-purpose spying devices in their pocket, oblivious to how much power they are giving up. They have no control over these devices, and they don't even understand.

GrapheneOS gives us a way to resist. The convenience of having a modern phone is hard to give up, and with GrapheneOS you can have 90% of that convenience while reducing much of the surveillance and attack surface. Now, we just need a pixel phone with two big hardware switches, sliders on each side of the phone: one kills the radios, and the other kills the sensors (cameras, microphones). When you want to take a call, just flip the big slider switch up to activate cameras and mics.

Thank you to strcat and the rest of the team! If you don't use GrapheneOS, I would consider it. You can donate here: https://grapheneos.org/donate
And if you have the right kind of programming skills, why not help out?
And groups, really. Almost all local level group activity exclusively gets managed on Facebook in the cities I lived in.
As I was doomscrolling Reddit yesterday I saw the first AI video that fooled me[0]. It's a very typical Reddit video that's unremarkable in a lot of ways, yet designed to perfectly fit in and attract engagement from a large part of the users. I guess you can say it's "too perfectly calibrated, suspiciously optimized to trigger maximum relatability" just like the post in the article. On one hand I don't care that much since I already dislike these kinds of videos even when they're "real", on the other hand the amount of slop is about to increase even more. The best time to quit Reddit was years ago, the second best is today.

[0] https://www.reddit.com/r/SipsTea/comments/1jxnau3/does_size_...
All commercial planes have it at this point. And most part 91 airplanes (General Aviation) have it at this point. Without ADSB you cannot fly in or near class A, B, or C airspace and must stay below 10,000 feet. Which largely makes having an airplane useless for most people.

There are still airplanes flying that have no electrical system but even then some of them have retrofitted a system.
Was chatting with someone in the air travel industry about boarding pass designs and they mentioned they would never redesign the physical tickets and just skip to paperless verification.
We might have posted "fuck u/spez" one too many times...
The bottleneck with Skyscanner isn’t not being able to enter the dates without moving my hands, it’s waiting 30-50 seconds for all the flight options to appear, and trying to figure out “which ones are actually flights with the airplane and not third party resellers”.

Similarly with IDEs and programming - saving 0.5-2 seconds for 10-20 operations isn’t my bottleneck once I’ve decided to do the thing; waiting for the corporate antivirus to scan the chrome executable that has self updates since it last saw it, plus the VPN timeout because I haven’t logged into a corp site in 3 hours is.

Besides, visual tools can and do have very powerful shortcuts. ‘Make run’ takes longer to type than pressing F5 does, in visual studio. Photoshop, Maya, Nuke, ProTools, Final Cut, even Unity/Unreal are all graphical tools that have powerful widely used keyboard shortcuts.
Mermaid looks amazing. Did not know gh had support just via

```mermaid

```

Thanks for mentioning this.
Convince everyone to learn from Norway's model of actually reducing crime in prisons, rather than increasing it like basically everyone else. By using it to solve problems instead of as means to exert revenge.
One of my all time favorite books!

The Empire never ended.
GrapheneOS looks almost exactly like AOSP and doesn't add any visual features, so screenshots would be somewhat pointless.
PixiJS React V8
> The EU has managed amazingly much over its existence. After WW II, it managed to keep peace

You misspelled NATO.
Trellis Text-to-3D Models Released
VGGT PyTorch Inference
Really neat proof of concept—I’m just trying to understand what tradeoffs come with bending general-purpose tasks into the NPU shape.

One thing I’m curious about: when expressing algorithms like this as static computation graphs, does that change their computational complexity in any meaningful way? For example, could certain problems end up with worse asymptotic behavior (O(n²) instead of O(n log n)) due to being flattened into a fixed graph with no branching or dynamic control?
Does anyone know of a decent video game made with AI yet?
If you want to use websockets, then you are most definitely going to need some library that wraps the websocket, because websockets themselves are very simple and don't do things like reconnect on their own.

This one is pretty simple and pretty great:
https://github.com/lukeed/sockette

I did my own which provides rpc functionality and type safety:
https://github.com/samal-rasmussen/smolrpc
But - and hear me out - what if that trip happened _twice_.
The lunch break literally a thing that exists because society is organized around hunger a food a lot.

People being somewhat harsher or less focused does not imply everything should stop. That is massive exaggeration. What happens is that organizations have lunch breaks and people have snacks so that effect is not too large.
Time to just call these tariffs: sales tax. Extra money for the government on all goods imported are taxes. The rest of the complexity distracts from the basic cash flow and the inevitable results. More money spent and consumed by the government.
Congress already have the Capitol police which they could have arrest anyone they think committed a felony in any jurisdiction and have top jurisdiction in DC and any government building within it.
RNA Motifs Coming into Focus
The blog has been running since 2022 under a different domain name. It was then focused on economics, as the archive suggests. I'm currently migrating articles from the old host.
And what was the previous domain name?
A library that goes "poof" when you need to upgrade it is also a hidden debt
Why do small teams keep getting wrecked by AWS bills?
Saw someone on Reddit lose $86k from a compromised AWS account. I've heard way too many stories like this: misconfigured IAM, tokens in repos, no billing alerts...

If you're on a small team, how are you actually protecting yourself from stuff like this? Is there a sane setup that works without needing a full-time AWS security person?
I really, really wanted the SimulaVR headset to work out because of th attention they were paying to text rendering. The hardware feels dead but the virtual desktop project might still have legs: https://github.com/SimulaVR/Simula

As far as eye strain goes, I think there's room for argument: having virtual screens cinema-screen-distance away from you is less straining than something under a meter away, but only if the text rendering is up to the job.
The Video Game Industry Failed Monolith Productions
In the case of an actual hunger and lack of calories, carrots are mostly useless while chocolate bar provides those.

Even better would be complex sacharids and full meal ... but intuitive eating does not imply you will never each chocolate or sugar. It does not mean you will eat like person with an eating disorder either.
> I thought to write a 'house manual’

My parents are real estate agents and have seen this a handful of times. The buyers are always very appreciative. In fact, their house came with a plastic bin with filing folders containing manuals/warrantees/etc for stuff in the house (Fridge, Oven, Dishwasher, Pool stuff, etc).

I’ve not gone that far but I have a rough floor plan with the circuit breaker noted for each switch and most lights. Also a 3D version I built of the house in a cad-type app. I’d happily give it (and info about the smart home devices, like switches) to the next owner but I have a feeling it would be mostly useless.
OK, well at least you're being honest now.

You could have saved us all a lot of time by simply stating upfront that you hate Google as a whole, rather than discussing the technicalities of which parts have to do with advertising or not.
apathetic.bid
Why do small teams keep getting wrecked by AWS bills?
Saw someone on Reddit lose $86k from a compromised AWS account. I've heard way too many stories like this — misconfigured IAM, tokens in repos, no billing alerts...

If you're on a small team, how are you actually protecting yourself from stuff like this? Is there a sane setup that works without needing a full-time AWS security person?
Did anyone try out docs[1], the open source self-hostable project from the French government?

1: https://docs.numerique.gouv.fr/
Everything , including facebook came out of craigslist, as is known to everyone
Maybe you're also part of this -- fresh hn account kinda sus? Double fake call out?
My hope is that a lib like this one or similar could rally mindshare and become integrated as the new standard, and adopted by the wider developer community. In near term, it comes down to trade-offs. I see no decision that works for all use cases. Dependencies introduce ticking time bombs, stdlibs should be correct and intuitive, but at least when not they are usually well tested and maintained, but when stdlib don't meet urgent production needs you have to do something.

Link to Tom Scott & Computerphile from 10y ago on tz madness. https://www.youtube.com/watch?v=-5wpm-gesOY
Do German cars, in Germany, still have a two hour timer to remind you to take a break?
> Due to the economic restrictions of Poland under the communist regime, Lem was unable to give Dick his due royalties. Surely losing out on this potential source of income, regardless of reason, would incline Dick unfavourably towards Lem

If we pull aside the ideological grandstanding what we see is plain old jealousy, resentment and vindictiveness. That’s usually the case in any context. The ideological grandstanding is just a fig leaf.
> I don't know, sometimes I wonder if the member who forgets they posted the same only a day ago ... is in fact a bot. ;)

https://news.ycombinator.com/item?id=43672231
As a friend calls it, "Noun Deficit Disorder"
SpaceX's rockets launch with downrange areas carefully considered; launches have been aborted because of boats wandering into these areas.
One nit: reflect.Select supports a dynamic set of channels. Very few programs need it though, so a rough API isn’t a bad trade-off. In my entire experience with Go, I’ve needed it once, and it worked perfectly.
This is not correct. There is no hard requirement for GPS nor anything that requires “something that transmits its location”. There is also no requirement for a flight plan or communication with ATC.

I can take off from an uncontrolled airport with no GPS, no transponder, no plan, and no radio and as long as I’m in the correct airspace I’m completely legal and within my right to do so.

There are some differences with these rules through out the world.
I find it funny that i hated Lem for most of my life... because i was forced to read only his Robot stories in school.

I still despise those moralist fables.

But his other works? i love them! My favorite is The Star Diaries, despite having some robot stories in them.
I'm not the parent commenter, but made a similar transition (years ago at this point). I have always loved outliner formats, but the obsidian ecosystem is quite strong, and because I already had thousands of notes that were just plain old markdown, it was a more natural home.

I wrote code to facilitate the migration. Nothing too crazy, but in general I wrote scripts that:

- Add lines between logseq's daily notes format and the rest of the content
- Moving daily notes to month-based subfolders
- Automatically adding frontmatter to files that didn't have any
- Removing indentation when unnecessary
- Covert everything to space-based indentation rather than tabs
Hang on are tarriffs not effective on date of purchase? I'm not American but it seems madness to apply them at any other time as then no one knows what will actually need paid if you've someone like Trump changing them frequently.
They sell the debts of the users who do this to law firms, which then collect those debts with scary legal letters. Works most of the time. I don’t know if those law firms actually follow with lawsuits when it doesn’t.
The real win for me is being able to work outside in full sunlight, without having to care about screen glare. I have used them in the office and in coffee shops but that's almost incidental.
As seen in VALIS and the Exegesis, PKD was almost literally living in one of his own stories later in life.