MurphyA/hacker-news huggingface dataset:
by ChrisRackauckas | 2025-06-01 10:23:32+00:00
It's not uncommon to dispatch on 3 or more arguments. Linear algebra specializations are one case where I tend to do this a lot, for example specializing on structured matrix types (block banded matrices) against non-standard vectors (GPU arrays), you then need to specialize on the output vector to make it non-ambiguous in many cases.
by blue_pants | 2025-06-01 10:23:41+00:00
Slightly offtopic, does anyone know how to setup vscode dev containers with podman on NixOS? I tried vscode-fhs and some consulted wiki[0], but encountered some issues with gid ranges for commands like `sudo apt install ...` inside a container.

Is there an guide for it?

[0] https://wiki.nixos.org/wiki/Podman
by whilenot-dev | 2025-06-01 10:24:48+00:00
It's data (JPEG/JSON) VS software (HTML/CSS/JS)... you can choose to look at HTML/CSS/JS as just some chunks of data, or you can look at it as a serialized program that wants to be executed with optimal performance. Your blog post makes it seem like your focus is on the latter (and it's just quite typical for react applications to fetch their content dynamically via JSON), and that's where your analogy to the progressive mode of JPEGs falls a bit flat and "streaming outside-in" doesn't seem like all you want.

Progressively loaded JPEGs just apply some type of "selective refinement" to chunks of data, and for Progressive selective refinement to work it's necessary to "specify the location and size of the region of one or more components prior to the scan"[0][1]. If you don't know what size to allocate, then it's quite difficult(?) to optimize the execution. This doesn't seem like the kind of discussion you'd like to have.

Performance aware web developers are working with semantic awareness of their content in order to make tweaks to the sites loading time. YouTube might prefer videos (or ads) to be loaded before any comments, news sites might prioritize text over any other media, and a good dashboard might prioritize data visualizations before header and sidebar etc.

The position of the nodes in any structured tree tells you very little about the preferred loading priority, wouldn't you agree?

[0] https://jpeg.org/jpeg/workplan.html

[1] https://www.itu.int/ITU-T/recommendations/rec.aspx?id=3381 (see D.2 in the PDF)

EDIT: Btw thanks for your invaluable contributions to react (and redux back then)!
by ghaff | 2025-06-01 10:25:02+00:00
At one time, I had some accessories so that I could present from my phone if needed. I think I may even have used it once. But, yes, be prepared both in terms of gear and mentally for glitches. E.g. if your clicker isn't working be ready to smoothly transition to telling the AV team next slide or walking up to your laptop as appropriate.
by nixpulvis | 2025-06-01 10:26:37+00:00
Problem is, homework is also what most closely matches real work. Tests are good for controlling the environment (we need them too!) but some students will just naturally be better at homework. Also, incentivizing students to put time and effort into the homework builds work ethic which will serve them well in the working world.

Personally, the best classes I had all had rigorous homework assignments. I would learn much more from them than studying for the tests. In fact, doing the homeworks would generally cover more than would be possible to test.

Plus I'm just glad to have built things like a DNS server, and inode filesysyem. Many small games and web servers. Database applications, shells, and compilers just to name a few. These are all things that give me confidence as a programmer.
by cb321 | 2025-06-01 10:27:16+00:00
Since identifier bike shedding is more broad than only top-level domain names, readers interested in a tool like this might also be interested in https://github.com/c-blake/thes - a command-line thesaurus utility written in Nim and organized around the Moby Thesaurus format. An example usage might be:

$ thes -n5 lofty airy gaudy high showy brand sound big grand lurid steep clear valid erect grave noble tall lucid logo fancy great proud tony regal

Observant readers might notice 3 banks of alphabetic sorting for the 3 kinds of synonyms - reciprocal/reflected (airy..tony), defined but irreciprocal (brand..valid), and wilder made-up names/phrases someone got into Moby (just logo in this example). These can be configured to show up in 3 distinct terminal colors.

Besides the prefix/suffix ideas of `tldx` in TFA, "synonymity" could also be incorporated, but you might need a higher quality source of such than Moby which has kind of a "big tent" aspect to its synonym lists.
by KupaMakunura | 2025-06-01 10:27:32+00:00
CarryID Labs is live (Beta)! We’ve just launched CarryID Labs — an AI Agent that autonomously explores your web app, tests key flows, and surfaces issues before your users do. It’s still in beta, so you might spot a few quirks — your feedback is invaluable.

Try it now: https://carryid.com
by maccard | 2025-06-01 10:27:53+00:00
Agree on error codes, but I disagree on branching. An api request failing with 429 is retry able (after a period), but a 401 isn’t. A 401 might require a refreshing an authorisation token, but a 400 maybe needs the user to change their input.

> I always prefer string error codes

My parent company provides an API for us to use for “admin-y” things, but they use stringy errors in the response payload of the body. Except they’re in mandarin, and you’d be surprised (or maybe not) at how many tools barf at it. Getting them to localise the error codes is as likely to happen as us fixing the referer heading. The really nice thing about status codes is that there’s only a fixed amount of them so you don’t get two slightly different responses from two different endpoints (not-found vs not_found), and there’s no locale issues involved.
by secure | 2025-06-01 10:28:21+00:00
SuSE Linux (around since the 90s) had such a single-layer-manages-everything approach, so yes, it’s not a new concept.

I used to think that you don’t need Nix to get most of the benefits that Nix/NixOS are known for. And to a certain extent, that’s true — you can achieve much in other scenarios. But by now, I think the reason why Nix/NixOS work well and deliver these powerful abstractions is because they are Nix all the way down, giving you an unparalleled level of integration/reach for your declarative layer.
by Xafnor | 2025-06-01 10:29:55+00:00
I've archived public comments posted on Youtube, not all, but about 20 billions so far, from 1.4 billion different users(I archived user information too)

I've made a tool to search through this database, allowing to input a user, which outputs the comments they've wrote.

I've stopped the crawling due to the server cost though, so this database may not be expanded further. I've achieved this amount in 40 days~

This is a paid tool and while I do of course remunerate myself, I also use a good chunk of the money to make new tools and improve current ones, I've been doing that for the past 3 years now and the set of tools on my website grew that way.

If anyone has any doubt I can do test queries on users you'll give me :)
by lordnacho | 2025-06-01 10:30:01+00:00
How do people separate their land value from the development value?

If I see an Apple shop across from a parking lot, it may not be immediately obvious that the land part of the valuations should be similar. I could see the crowd systematically getting this wrong.

Having said that, it's not a damning criticism. I think LVT is a good idea, and people are generally going to know what piece of land is worth more than another. You can then stitch the relative values to some sort of exchange-based anchoring to give your map real dollar values.

I do tend to think a Harberger system makes a lot of sense, though. Maybe something a little bit like:

- Everyone puts a value on their land. We take the total, figure out what percentage needs to be taken, and everyone pays their share of the tax take accordingly.

- Your land is for sale at the price you put, but you can change up the price if you don't want to sell it, and thus pay up extra tax. If you have land set at 1M and someone comes and offers 1M, but you don't want to sell, you can pay the tax at whatever price is too high for him, eg 2M would double your tax. The offer needs to be firm so that you have an actual choice, someone can't just double your tax bill on a whim.
by DaSHacka | 2025-06-01 10:30:02+00:00
If you check the bugzilla thread in the OP, this is specifically about adding manual search engines outside of automatic OpenSearch support.

Theres a panel where you fill out the name, search URL, suggestion URL, and search keyword yourself, under settings. You can add whatever you like, even if its not OpenSearch compatible, just like you already could on Chrome (for the better part of a decade, mind you)

If a dev is lazy and doesnt incorporate OpenSearch functionality you can homebrew it easily this way.

I personally use it quite often to restrict searches for engines that otherwise only support OpenSearch for their entire catalog.

For example, I have seperate `@ma` for manga and `@an` for anime via MAL, where by default (IIRC) they only have the combined "search everything" advertised through OpenSearch.

I also use it to search individual boards on foolfuuka archive sites, as the default OpenSearch advertisement suffers the same issue as MAL where it's only for searching every board on the site at once.

I'm sure I have even more examples on my browser, I actually use it all the time so I'm glad this is getting mainlined rather than nixed. I use Librewolf, so they already had this enabled by tweaking the corresponding about:config setting themselves.
by sandworm101 | 2025-06-01 10:30:33+00:00
>> But at the same time, I’m so happy that the digital revolution happened. It’s a bigger toolbox for your creativity, especially for night scenes. It’s much easier to light something natural, and to do something with less.

No. This is why everything is so dark. With film, cinematographers had to hedge their bets. They could not risk a scene being too dark, something they would not be sure of until the film was developed. Today, digital tech means they can see the results live on monitor screens. So they can cut the lights and make everything super dark without worry. Forget "natural". There is nothing natural about watching a screen in the dark where your eyes cannot properly adjust as they would in the real world. Also, I want to watch TV in my kitchen without having to douse every light in the house.
by meowface | 2025-06-01 10:31:10+00:00
The cinematography, editing, writing, and overall feel of this show far exceed any Star Wars movie I've seen. I had long since written off the Star Wars franchise as a shameless cash grab since the original movies but they proved they could do something cool with it.

I'd definitely watch a new movie if it were handled by the same team that made Andor. Prequel, sequel, side story, or re-telling of the originals.
by techpression | 2025-06-01 10:32:25+00:00
Reading this makes me even happier I decided on Phoenix LiveView a while back. React has become a behemoth requiring vendor specific hosting (if you want the bells and whistles) and even a compiler to overcome all the legacy.

Most of the time nobody needs this, make sure your database indexes are correct and don’t use some under powered serverless runtime to execute your code and you’ll handle more load than most people realize.

If you’re Facebook scale you have unique problems, most of us doesn’t.
by palata | 2025-06-01 10:32:35+00:00
I'm sorry but it seems far-fetched to me. For signCount to be useful with shared passkeys, the attacker who managed to copy the passkey and get full access until the true owner logs in again would have to not synchronise the signCount (which they can totally do because they have full access), and it would "only" let the true owner know that the passkey is compromised.

It seems strictly worse than just sending an email saying "your passkey was used from <IP-based geolocation>, wasn't it you?".
by nixpulvis | 2025-06-01 10:32:59+00:00
It's often just as difficult to make a good decision of "no" as it is to say yes and build the whole thing. By the time you understand the problem space well enough to have a somewhat confident answer, you've done a decent bit of work. It's also difficult sometimes to admit that something could be better, but we can't do it now, so we'd better come up with something that works within our own limits.
by masklinn | 2025-06-01 10:33:04+00:00
> This message shows at a quick glance which participant, which database selection, and which integer value where used when the call failed.

And it's completely useless for looking up the errors linked to a participant in an aggregator, which is pretty much the first issue the article talks about, unless you add an entire parsing and extraction layer overtop.

> Much more useful than Stack Traces, which don't show argument values.

No idea how universal it is, but there are at least some languages where you can get full stackframes out of the stacktrace.

That's how pytest can show the locals of the leaf function out of the box in case of traceback:

def test_a(): > a(0) test.py:11: test.py:2: in a b(f) test.py:5: in b c(f, 5/g) f = 0, x = 5.0 def c(f, x): > assert f E assert 0 test.py:8: AssertionError

and can do so in every function of the trace if requested:

def test_a(): > a(0) test.py:11: f = 0 def a(f): > b(f) test.py:2: f = 0, g = 1 def b(f, g=1): > c(f, 5/g) test.py:5: f = 0, x = 5.0 def c(f, x): > assert f E assert 0 test.py:8: AssertionError

So this is just a matter of formatting.
by submeta | 2025-06-01 10:35:51+00:00
When I make Apple style presentations (no visual noise, no bullet point lists, one appealing visual / idea on one slide etc and narrating the story instead of showing densely packed info in one slide after another), I can literally see how my audience is really enjoying the presentation, getting the idea, but then constantly management approaches me telling me to use the corporate template, stick to the template, use the template elements, etc.

They just don’t get it. What comprises a good presentation. Even if they themselves enjoy the content while they are in the audience.

Futile.

Edit: Tangential: I am the only one using a MacBook in a company of 700+ coworkers.
by PicassoCTs | 2025-06-01 10:37:06+00:00
It may be pre-conceptions, but after a while you know where to look. Its "imperial"-entitled cultures that produce the most hefty cheaters. "I belong to the cultural, god-chosen center of the universe therefore i excel" as an attitude.

And then there is face-culture, which assumes that everyone puts up a show anyway and the grades are created by a bribe competition of the families heads in some backroom.

There is a reason, why academia refuses to read a ton of papers from certain countries unless they get propelled by other trusted sources to the top of the heap. A mediocre, honest student is worth 20 fake doctors with accolades.

https://files.eric.ed.gov/fulltext/EJ1296860.pdf

https://link.springer.com/article/10.1007/s10805-021-09391-8
by elephant3761 | 2025-06-01 10:37:21+00:00
I wonder if there is a way to do this with a regular composting toilet. The type that has a separate pee compartment in the bowl to separate liquids from "dry" material. I'd imagine it's quite hard to aim during the washing process and getting the solids wet defeats the purpose of a composting toilet.

I love my bidet and usually carry a travel bidet. For campervan camping I looked at composting toilets but this one problem has ruled them out for me so far.
by EliRivers | 2025-06-01 10:37:43+00:00
"most bidets starts leaking after 6-12 months."

Well that just doesn't sound true at all. I would definitely remember if it leaked every year. Do you have any evidence for this? A bidet is pretty basic plumbing, and basic plumbing can go decades without leaking.

I guess if someone goes out and buys cheap parts that fail fast, and always does that, then you'll get some people whose plumbing fails every six months and everyone else goes years or decades without problems.
by maccard | 2025-06-01 10:38:52+00:00
IMO error handling is the sort of thing you really want to get right early on, even in toy projects. It’s very hard to retrofit, and the actual payoff is low until you need it - at which point you definitely don’t want to do the work.

As antithetical as it might be, I tend to just stuff sentry in (no affiliation just a happy user) when I’m setting up the scaffolding, and insert rich context at the edges (in the router, at a DB/serialization/messagebus layer) and the rest usually just works itself out.
by somnic | 2025-06-01 10:39:49+00:00
Someone getting forced out of their home in exchange for a few million dollars isn't exactly the most tragic story out there, and increasing tax revenue to pay for better amenities is hardly a bad thing by my reckoning. The aforementioned rich people are a bit less richer, because now they're paying those rates.

Most plans to implement LVT at scale that I've seen include provisions to increase the rate slowly over years and decades, and allow deferred payments for the elderly upon sale or from their estate because yeah, a lot of people made plans to retire based on the present tax regime. Younger people saving for retirement can plan on putting retirement savings into productive assets rather than land speculation. I'm also not entirely clear on why a pension that pays for everything except housing is fine, but providing housing for the elderly is a problematic level of state intervention.
by ALLTaken | 2025-06-01 10:39:53+00:00
I don't know the exact cost-breakdown, but they've come up with a few really inspiring and qualitatively high value papers that demonstrate how they further increased efficiency at their scale. Along with it they also published quite a few repositories with fully open-source code.

I stopped using ChatGPT as it was just reinforcing my prompts and not ever giving deeper insights, except something I call manipulative behaviour.

DeepSeek was seriously cool, but it started behaving similar to Google Gemini Pro, which just tries to be lazy, if you give it a hard task to chew on. It basically gives you patch-files instead of printing out the whole code, which is more tedious doing manually, than c/p the code.

It also started indexing our private repository and some corporate repositories that were on GitHub behind MFA and stringent lock. Definitely illegal.
by scbrg | 2025-06-01 10:40:10+00:00
Again, I believe the problem you're talking about is caused by time zones.

If you're used to date changes happening "whenever", you'd stop assuming they happen at a fixed point during the day.

Any argument that starts with "Today, we're already confused about ... because we're used to date changes occurring while we sleep" is meaningless, since we wouldn't be used to date changes occurring while we sleep.

The whole terminology thing would be solved by having two words; one meaning "after next sleep cycle" (which would probably be more common when speaking to people in your own geographic region), and one meaning "after next date change" (which would probably be more common when speaking to people in other geographic regions). The appearance of this second word would likely happen naturally within weeks, if not days after abolishing time zones. As usually happens with language.

The argument against abolishing time zones always seems to assume that humanity would be incapable of adapting to a time zone free world. Like this would mysteriously be the first and only change in the history of mankind society couldn't adapt to.
by sethammons | 2025-06-01 10:40:18+00:00
This is good stuff. After riding a unicorn and seeing systems mature over time as things change and scale grows, I've learned that Structured (Error) Logs are the only way to run systems at scale with sanity.

I wrote my Go version of this same error wrapping utility for the same reasons: https://github.com/sethgrid/kverr

My current work uses python and I am hoping to change us over to structured logs that play well with structured exceptions.
by perching_aix | 2025-06-01 10:40:29+00:00
For those looking to save time, the answer is batched inference. Pretty much running multiple people's "prompts" through a model instance at the same time instead of just really tightly timesharing each model instance.

This is also why you may experience a variance in replies when using these services, even when you set the temperature to 0 and the seed to a fixed value. It's cause you don't control the other prompts yours get batched with. Could this be a data exfiltration attack vector? Probably, I didn't "research" that far.
by rsynnott | 2025-06-01 10:41:39+00:00
Honestly, it’s kind of amazing that 55% of companies are admitting to it. “Hey, CEO, did you do something really stupid?” It is surprising that in 55% of cases the answer is “yup”.

And bear in mind that most corporate messing around with LLMs is only really in the last couple of years. Even where companies are being honest, figuring out whether something works takes time.
by saagarjha | 2025-06-01 10:44:07+00:00
Nobody writing high-performance code for these machines has that documentation. They largely do ok anyway because the time of cycle counting is long in the past and the name of the game involves cache effects and synchronization that is very hard to reason about individually but clearly visible if taken in aggregate. You don't get a cookie if you can accurately time 10 instructions, but you do if your matrix multiply over a hundred million of them is 1% faster.
by atoav | 2025-06-01 10:44:07+00:00
As someone who grew up on the countryside: many people don't really know how dark it can get outside, as you mentioned your eyes do adjust, but that will only take you so far. I remember walking home on a cloudy new moon night through the woods with both eyes fully opened and adjusted and I couldn't even make out the contour of the sky.

So yeah, not seeing shit can be natural. Whether it is good for the narration or 100% of your viewers like it is a different can of worms. Let's only say that the cinematographers thought making the viewer have to concentrate on what is going on at that point was benefitial.

The "natural" part about shooting digitally is that you can go outside and use a camera in dusk and the picture isn't all black or incredibly grainy as it was back when you shot at film. And that's about it. In digital you can shoot with available light only in more situations than before. In the end cameras perceive light situations different than the human eye so it is still the task of the cinematographer to do that translation.
by tren | 2025-06-01 10:45:02+00:00
We have one near my place that I'm a member of, it's run by volunteers. They have stuff outside of tools too (camping/cooking gear). You can view the stuff their inventory before you join: https://toolsnthingslibraryperthwa.myturn.com/library/

The main downside for me is returning the items in the window they're open.
by codingdave | 2025-06-01 10:47:07+00:00
I didn't add more context because the answer is simple: "Ask an attorney."

Coming up with all the edge cases where things can go wrong is adding FUD to an already complex and difficult situation. Rather than focus on the FUD, I am focusing on the simple answer to a complex scenario: "Ask an attorney."

For the record, that does not mean I don't take issue with problems in our society. I do. But there are cross-cutting solutions to such problems, so that is where I choose to focus my energy.