MurphyA/hacker-news huggingface dataset:
by 0x696C6961 | 2025-09-12 11:43:55+00:00
If you need more control, you can create a wrapper type that implements `slog.LogValuer`

type StringerValue struct { fmt.Stringer } func (v StringerValue) LogValue() slog.Value { return slog.StringValue(v.String()) }

Usage example:

slog.Any("requests", StringerValue{req})

There might be a case for making the expvar types implement `slog.LogValuer` directly.
by evermike | 2025-09-12 11:44:43+00:00
100%. What’s also interesting is that this pattern holds true in many other aspects. I often review our support tickets to see what customers are writing. And often, the bigger the client, the more polite and reasonable they are. Of course, there are exceptions.

For example during down time. AWS might goes down and we’re rushing to fix things. The first ones to complain are usually the smallest customers. They tend to write everywhere, often in a rude tone, sometimes exaggerating “we couldn’t track time for half a day”, while it is only 10 mins. Bigger clients usually more polite, thank us for responding quickly, and sometimes even offer to buy us some coffee 'cause they say we’re under pressure )
by whywhywhywhy | 2025-09-12 11:46:00+00:00
> because it makes it seem like the EU law is just meritless pestering of people

The law should have been just a browser setting sites had to follow, making it a "banner" has made it meritless pestering while pretending it's for my own good and allowing the worst offenders to make convoluted UI to try and trick you every site visit.
by incomingpain | 2025-09-12 11:46:00+00:00
I saw this post a day ago and upvoted; totally agree with your comment.

I too am trans.

Unfortunately, and you probably have already heard. ATF leaked that the rounds were etched with pro-trans messaging and the shooter is allegedly a trans man.

Assuming this all turns out to be true. This will lead to greater hatred; far more than before.

Hard to predict what will happen but let me give examples from history each time this has happened.

Christians were thrown to the lions in Ancient Rome.

Many times through history for the jews.

Muslims and crusader kings of spain.

Irish and chinese, the chinese exclusion act of 1882?

armenian ?genocide?

rwanda tutis.

We now have a situation where government must do something about the trans shooter issue. LAwfully they'd have to take each trans person to court to prove mental illness to ban them from 2nd amendment right. Technically... DSM5 is pretty clear about it...
by 8organicbits | 2025-09-12 11:46:09+00:00
XFN is the origin of the rel=me attribute [1]. Rel-me adoption is growing in recent years, with Mastodon and others adopting it as a way to associate profile pages together [2].

Maybe two years ago, I added rel-me to a blogroll web crawler I'm building [3]. Unfortunately, theres a bunch of misuse, like people adding bidirectional rel-me to a company page which make it look like the whole company is one person.

I don't think we'll see other attributes, if only because people are more privacy aware. XFN is like using Facebook but letting every web crawler harvest your social graph, instead of just Facebook.

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

[2] https://docs.joinmastodon.org/user/profile/#verification

[3] https://alexsci.com/rss-blogroll-network/discover/feed-de42f... (rel-me adds the checkmark here)
by bigglywiggler | 2025-09-12 11:46:48+00:00
Right, but they have to do R&D for their cool stuff because the standardized way doesn't allow for their features. Then other manufacturers get salty because they didn't do any of their own expensive R&D to make things work properly and the EU makes laws to force Apple to open up their R&D and support iit so that other companies don't have to do their own. The EU is definitely saying that it should be Apple's responsibility to maintain support of it's proprietary features for 3rd party products. If you don't want Apple products then don't buy them? In fact, what is the objective reason that other manufacturers should be able to make interoperable products?
by StopDisinfo910 | 2025-09-12 11:47:36+00:00
The fact that I rightfully qualify Apple products as overpriced don’t magically make the discussion about saving money.

Sony headphones sounds noticeably better than AirPods Pro 2 by the way and their EQ is better. AirPods have great noise cancellation but their sound quality is not that great.

> > only properly works paired with an Apple phone or laptop

> Which also isn’t true.

Care to explain to me how I set what presses do on AirPods without an Apple product. How do I disable noise cancellation and pass through? Where do I setup the level of noise cancellation?

Yes, exactly.
by catlifeonmars | 2025-09-12 11:48:46+00:00
I’m not sure I understand what you mean by “magic for config”. You create and configure a logger using slog.New(…). You can use the default logger instead, slog.Default(), which is just a global and has a default config. You can also set the default logger using slog.SetDefault(…).

It’s extremely unmagical in my opinion.
by sam_goody | 2025-09-12 11:50:02+00:00
I have been using pnpm as my daily driver for several years, and am still waiting for npm to add a symlink option. (Bun does support symlinks).

In the interim, I am very glad we haven't waited.

Also, we switched to Postgres early, when my friends were telling me that eventually MySQL will catch up. Which in many ways, they did, but I still appreciate that we moved.

I can think of other choices we made - we try to assess the options and choose the best tool for the job, even if it is young.

Sometimes it pays off in spades. Sometimes it causes double the work and five times the headache.
by ruszki | 2025-09-12 11:50:27+00:00
In my experience, this was true also with Google’s version. The first few iterations were great, then went shit. I need only one thing: add diacritics, and fix basic misspellings. Now all of them try to be “smart” even when they should just add a diacritic to an “a”, they suggest me something completely different even when the word which I need is in their dictionary.

Maybe most people need more, but it annoys me greatly that it tries to be more than simple misspell fixer.
by age123456gpg | 2025-09-12 11:51:45+00:00
Thanks, great question!

In short: I got obsessed by making it as fast as possible and read a ton of elliptic curve cryptography papers.

It was a journey that started from reading WireGuard kernel sources, then I was thinking about deriving IPv6 address from peer key, left a random comment on a dated gist https://gist.github.com/artizirk/c91e4f8c237dec07e3ad1b286f1... from which I learned about vanity key concept.

I naturally enjoy doing performance optimization work so when I discovered incremental approach idea here https://github.com/warner/wireguard-vanity-address/pull/15 I decided to create my own tool.

I've implemented first version of https://github.com/AlexanderYastrebov/wireguard-vanity-key and then continuously profiled it to improve performance. From profiling I saw that field inversion and multiplication are the main operations.

I realized I need to reduce unnecessary computation to make it faster and for that I need to understand the underlying math which is actually quite simple.

I read RFCs for Curve25519 and papers from D. J. Bernstein who invented it.

You can see how my understanding evolved from the commit history https://github.com/AlexanderYastrebov/wireguard-vanity-key/c...

Once I have the fastest algorithm to generate vanity Curve25519 keypairs I can apply it to other things that use Curve25519 (https://ianix.com/pub/curve25519-deployment.html) or Ed25519 (https://ianix.com/pub/ed25519-deployment.html) which is an equivalent curve.

See also my other related projects: * [age-vanity-keygen](https://github.com/AlexanderYastrebov/age-vanity-keygen) — Fast vanity age X25519 identity generator. * [vanity25519](https://github.com/AlexanderYastrebov/vanity25519) — Efficient Curve25519 vanity key generator.
by chaosprint | 2025-09-12 11:51:52+00:00
> "The audio engine is built on a declarative audio graph (using `virtual-audio-graph`), inspired by React's virtual DOM, which makes managing the Web Audio API much cleaner. If you're building web based audio apps I highly recommend checking out this library. "

when you have more and more interactions on the gui web audio api will become a problem, check out audioworklet.

I am developing https://glicol.org/ and it has a js port on https://glicol.js.org/ a typical usecase is drum machine with very high time accuracy
by Twey | 2025-09-12 11:53:03+00:00
Oh no I get that the in-site MDI is a funny stylistic choice, and I've no problem with it. But the thing it's poking fun at is in-browser MDI, hence the comment.

I stand by the anti-pattern comment. I think there are very, very few cases where ‘MDI’ is appropriate, and I put it in quotes because the things being managed in that case are almost never ‘documents’ in any meaningful sense (rather they're some kind of graph node). Functionality apps build with MDI is basically always independent of the actual app and would be better implemented in the window manager — and more often than not there's actually no additional functionality over even the lowest common denominator of window managers.
by thinkingtoilet | 2025-09-12 11:54:07+00:00
I use it a couple ways. I am learning Hindi and while it's the third most spoken language in the world there really isn't that many resources for learning it. Sites like Babel don't have a Hindi course. I started with Pimsleur which is by far the best resource out there. It's mix of vocab and conversation done in an incredibly effective way. They only have two levels for Hindi so it's not a lot. With that base I use ChatGPT in the following ways.

- With the new GPT Voice, I have basic, planned conversations. Let's go to a restaurant. Let's say we're friends who ran into each other. etc...

- I use it for quizzes. "Let's work on these verbs in these tenses. Come up with a quiz randomly selecting a verb and a tense and ask me to say real world sentences." "Quiz me on the numbers one through twenty".

- I am using it to help learn the Hindi script. I ask it to write childrens stories for me, but I ask it to write each line in the hindi script, then phonetic spelling of the hindi script, and then in english so I can scroll down and see only the hindi first, then if I have issues I can see the phonetic spelling of the hindi. Then I can try to translate it and then check the english translation on the third line.

Those are the main things I'm doing. I don't know if I'll ever be fluent, but I find if you work on these basic ever day conversations you can have a conversation with someone. If you speak a language for the first time around a native speaker it's usually very predictable. They'll ask how long you've been learning, where did you learn, have you been to <country>, and you can direct the conversation by saying things about where you live and your family, etc... That's the base I'm building and it's fun. If you're not doing at least 30 minutes a day you're never going to learn a language, you probably need an hour more a day to really get fluent.
by SnuffBox | 2025-09-12 11:54:48+00:00
Yet another internet manifesto that just ends up being "Use FOSS" and little else. Laughed at using Linux to "to make technology fun again"; Using Linux isn't going to turn you into a cyberpunk rebel who has beaten the powers that be.

I must also say I dislike the obnoxious "Look at how quirky I am!" 90s web badges on an HTML5 page.
by kstrauser | 2025-09-12 11:55:28+00:00
That’s unkind. I want to do the right thing in such cases, but I’m also learning about this today for the very first time. I’ve never, not once, heard that US/Pacific was a bad idea until this post. If not for this, I still wouldn’t know. I thought it and America/Los_Angeles were semantically identically and just kind of symlinks to PST8PDT or whatever.

If anything, the city TZ always felt off, like I was opting in to that specific city’s strange legal decisions or something.
by AshamedCaptain | 2025-09-12 11:56:08+00:00
The entire point of the law was to make websites using extraneous cookies and trackcing annoying to use. It's not something that can be solved in the browser _at all_. What I guess no one expected is that most websites would just decide to go on and pester their users rather than stop the tracking -- and that users would still continue using those websites.
by Jepacor | 2025-09-12 11:57:09+00:00
The percentages really don't tell you that much. To illustrate with an extreme exemple, if the top 0.1% earns a million, and the government taxes a single dollar on them and nothing on anyone else, the top 0.1% would pay 100% of the taxes. But it obviously would not be enough to help people in need.

I don't know the particular situation for Canada, but I know that welfare benefits are getting worse in my country (France)
by ACCount37 | 2025-09-12 11:57:18+00:00
We don't value LLMs for rote memorization though. Perfect memorization is a long solved task. We value LLMs for their generalization capabilities.

A scuffed but fully original ASCII SpongeBob is usually more valuable than a perfect recall of an existing one.

One major issue with highly sparse MoE is that it appears to advance memorization more than it advances generalization. Which might be what we're seeing here.
by flakeoil | 2025-09-12 11:58:09+00:00
The author of the article says he could not have implemented the app without SQLite, but nowhere in the article does he explain why he could do it with SQLite and not with MySQL/PostgreSQL.

> Feed Your Email is only possible as a service because of SQLite—if I had to maintain three Postgres instances and a couple of web instances and a couple of worker instances, I would have felt like it was too much hassle and cost too much money, and given up.

What's the issue to run MySQL instead and all on one server? You can do it for $5-10 on a Hetzner server.
by kace91 | 2025-09-12 11:58:15+00:00
I had a similar experience as a teen, where somehow I had never considered a sport or the gym because “that was not what people like me did, I was the nerdy one”.

I didn’t really ever think that explicitly, or say it aloud, it was just an obvious implication on my mind.

Turns out the only thing separating me from someone who is good at sports, or being buff, was doing it frequently and not half assed. Applies to most of life when it clicks.

Btw, if anyone’s reading this and feeling motivated:

>It began slowly, but I began. Knee press-ups to start, later adding assisted pull-ups.

>If anyone was watching, it would have looked stupid. A grown man barely able to push himself off the floor. But I showed up and put in my reps, day by day, week by week, in the privacy of my bedroom.

That works, but if you haven’t done any work before you’re better off joining a gym. Precisely the advantage is regulating weight more discreetly, and equipment helps for that.
by voidUpdate | 2025-09-12 11:59:35+00:00
That will work for the videos that youtube tags as music releases, but I also pull music from videos that don't conform to that correctly.

For example, if I wanted to download Better Luck Next Time by Bombs Away (a random example from the My Mix playlist right now), it would set "Artist" to "Central Station Records" and "Name" to "Bombs Away - Better Luck Next Time [Official Video]". I have a reasonably diverse and sometimes niche music taste, so that problem would crop up a lot, and at that point it's just easier to do it myself, but it would work well for some people =)

I have a python script set up so I can just do "./id3.py artist name filename" and it'll do all the id3 stuff for me (apart from thumbnails, still working on that)

I realise my workflow isn't ideal for some people who want everything to "just work" but I'm happy enough to sort out filenames and stuff like that myself, it makes me feel happy. I do the same with my very legally acquired films and tv shows too
by metalman | 2025-09-12 11:59:35+00:00
the former Ugoslaviain police were infamous for dragging youth of "to beat the Zappa out of them", but on.the fall of communism uncle Frank was greeted in Ugodlavia by thousands at the airport was given special honours and a very strong offer to be part of there government, they very much wanted to keep him perhaps something similar is taking shape in.NK
by nailer | 2025-09-12 11:59:58+00:00
> Trying to use the audience to corner someone is not debating.

No but having the student admit objective morality exists is debating. You know this. I know you know this. You know the audience reaction is to the person losing the point too. You know you are being deceitful pretending the audience reaction is the debating technique not the actual technique that caused the reaction. I know you are being deceitful too. Stop posting, go outside.
by troupo | 2025-09-12 12:00:11+00:00
> What I don't want is for the protocols that allow for apple's seamlesness to be opened to cheap trash.

You either allow "cheap trash" that no one forces you to buy, or you exclude everyone. Here's Pebble on how they can't make their otherwise capable watch compatible with Apple products for absolutely arbitrary decisions on Apple's part: https://ericmigi.com/blog/apple-restricts-pebble-from-being-...

> Customers already have a choice, e-waste slop garbage or apple products.

Ah yes. As we all know, there are exactly two categories of products: Apple's flawless products and cheap trash. Nothing in between.
by hechem | 2025-09-12 12:00:25+00:00
Been building a tool that turns AI text into natural human writing with basically zero technical background.

AI got me 60% there. Landing pages, dashboards, login systems all fine in theory. But real users broke everything:

Stripe payments failing randomly.

Database queries choking at 1,000+ users.

User sessions logging out unexpectedly.

Billing logic causing chaos.

AI could suggest fixes, but had zero clue about production realities. The turning point? Becoming a smarter AI supervisor: testing flows with real users, learning enough about databases and payments to know when AI code would actually survive in the wild.

Still using AI for 90% of development, but now Humanizer works with real users and real money without blowing up.
by hu3 | 2025-09-12 12:00:31+00:00
There's more to competition than price.

After all apple hardware isn't even the most expensive. There are pricier phones and laptops being sold daily due to different features. So your race to the bottom point is moot.

If anything, competition could fix apple's sloppiness which it manages to leverage over the gullible due to artificial anti-competitive measures.

If Apple was so good, it wouldn't need to abuse their customers intellect.
by wjnc | 2025-09-12 12:00:32+00:00
Most likely answer, based on [1] is that this was investigated and not a contributing factor. I infer this from thinking that investigators know for sure that the operational awareness of the watch can be impacted by watch schedules.

Training for the test versus training for operational deployment.

[1] Safety Investigations by Other Countries - https://msiu.gov.mt/wp-content/uploads/2022/12/PDF-Safety_In...
by joz1-k | 2025-09-12 12:01:14+00:00
Oh, yes, I remember those early times as well. :) The question is whether it's possible to maintain the legacy API and upgrade the internal architecture to use more modern approaches. I think it's almost always possible, but perhaps the cost to develop and maintain such a legacy layer is too high for an open-source desktop environment and toolkit. The Windows OS managed to support old APIs quite well, but the available resources are incomparable.
by ubermonkey | 2025-09-12 12:01:43+00:00
I still do not understand the appeal of a folding phone. I mean, phones are solid devices now, and they work for years upon years if you don't have some kind of mishap. Putting a hinge in the display 100% is creating a weak point in that display. It's very likely going to reduce lifespan for an expensive device.

I get gadgetlust, sure, but is it more that that?

The other thing is that even if I wanted a folding display, it wouldn't be enough to get me to jump platforms.
by jstummbillig | 2025-09-12 12:01:59+00:00
For the last 2 years, despite all efficiency gains, I am literally watching characters appear on my screen, as if this was a hacker movie. Lately, I am also waiting for at least 60s for anything to appear at all.

If that happened at 10x the speed, I would still be slow in computer terms, and that increasingly matter, because I will not be the one reading the stuff – it will be other computers. I think looking back a few years from now, every single piece of silicon that is planned right will look like a laudable but laughable drop in the ocean.
by yuhao2dai | 2025-09-12 12:02:33+00:00
Location:Tokyo, Japan Remote:YES Willing to relocate:YES Technologies:Python/SQL/Snowflake/dbt/Dagster/Scala/C#...bunch of BI Résumé/CV: https://www.linkedin.com/in/y2d/ Email:yuhao2dai@gmail.com I'm a data enthusiast that follows all the data trend there is, and a tech lead + people manager + scrum master. I can run a team or do the hands on myself, and I'm a very result oriented person that's opinionated.
by pjc50 | 2025-09-12 12:03:34+00:00
> If you are citing Dunblane as an example of gun control not working

No, the opposite. An example of the policy response working. The tragedy was met with universal revulsion and tightening of gun control. There were a few complaints that the tightening was a bit much, but there wasn't a significant faction of people who said that a few dead schoolchildren were a necessary sacrifice for their gun "rights".

(School shootings seem to be a post-cold-war phenomenon. Dunblane was 1996; Columbine was 1999)
by littlestymaar | 2025-09-12 12:03:34+00:00
> Then you just check if "Obama" is correct via the same speculative decoding process, which is a lot faster than if you had to start over from layer 1-48 and generate "Obama" the regular way.

That doesn't match my understanding of what speculative decoding does: AFAIK with regular speculative decoding you ask a smaller llm infer the next few tokens (let say 5 tokens) and then, you can have the big model infer token 1, 2, 3, 4, 5 and 6 in parallel (each time starting from the sentence partially completed by the smaller model). Because llms are bandwidth bound, doing the same work six times in parallel isn't slower than doing it only once (what's costly is moving the massive model weights between VRAM and the GPU cores).

If token 1,2 and 3 match what the small models inferred, then you keep them. As soon as you have a mismatched token (say token 4) it means that you have to discard the next inferred tokens (here token 5 and 6) because they were calculated under a wrong assumption for token 4.

So if the MTP layer merely replace the smaller llm in the previous scheme with everything else working the same way, you would save anything when inferring “Obama” (you'd still need to “generate it the regular way”, as there isn't really another way) but you could also start working on the word immediately after “Obama” by assuming “Obama” was already chose. And if the model actually outputted “Hussein” instead of “Obama”, then the token calculated to happen after “Obama” would have to be discarded.

Or maybe my understanding of speculative decoding is completely off…
by gchamonlive | 2025-09-12 12:03:47+00:00
You are right, I wasn't really thinking about how customs evolve organically. Outrage kinda blinded me because that experience was such a culture clash that clouded my understanding. Thanks. I mean, I still feel like using the word "tip" for something that is culturally not optional, even though you can opt out, is unnecessarily confusing and hostile, but that's what respecting foreign culture is all about.