MurphyA/hacker-news huggingface dataset:
by derbOac | 2025-07-26 09:59:55+00:00
Thanks for posting the link. I had read that before and forgot.

I think sometimes confusion about Section 230 maybe points to some legal soft spots.

I think there's a trend — good or bad — for courts to see websites as accountable for users' activities on the site when those activities are systematic and collectively illegal or jeopardized, when the website is seen as encouraging the activity.

It's not hard for me to imagine a court deciding that the intrinsic nature of the website encourages systematic libel, and is therefore is somehow involved in the creation of post content.

Even more specifically, I'm not sure the "good faith" clause of Section 230 even applies to something like Tea in the case of libel, should libel be there.

Now, actually showing libel is another thing, but that's also easier for me to imagine today than even a year ago, especially in the presence of a data breach where posters are exposed.

I guess I don't see Tea as being held legally responsible for anything about the content of user posts, in the US at least, for the reasons outlined in that article. But I also wouldn't be surprised if it did happen.
by vjerancrnjak | 2025-07-26 10:00:21+00:00
Just have 1 input type and 1 output type. You don’t need more data types in between.

If pydantic packages valid input, use that for as long as you can.

Loading stuff from db, you need validation again, either go from binary response to 1 validated type with pydantic, or ORM object that already validates.

Then stop having any extra data types.

Keeping pydantic only at the edge and then abandoning it by reshaping it into another data type is a weird exercise. It might make sense if you have N input types and 1 computation flow but I don’t see how in the world of duck typing you’d need an extra unified data type for that.
by victorbjorklund | 2025-07-26 10:00:41+00:00
I see some people claim that client-side routing isnt the strongest argument for SPA:s. And that is probably true from a technical point of view. However, lots of times users/clients want that even if they dont care about the rest (which is why I love how easy HTMX and Astro make it to add client side routing on top of a normal MPA).
by holowoodman | 2025-07-26 10:01:37+00:00
The European network is far more fragmented than it seems. There are differences in power supply, track width, station and tunnel width and signalling such that you cannot easily cross borders in a train. There are lots of trains that are equipped for multiple signalling standards and have variable axles. But in general, you can only go to the immediate neigbouring countries, as soon as you cross another border you have to change trains. In some countries, like France, you even have concurring standards within the same network. A hypothetical Lisbon-Moscow connection would need to change trains at least 2, maybe 3 times.

I don't think, therefore, that "total track length" has any useful meaning in Europe.

Here is some maps to illustrate my point:

https://commons.wikimedia.org/wiki/File:Europe_rail_electrif...

https://en.wikipedia.org/wiki/Track_gauge_in_Europe#/media/F...
by gamebak | 2025-07-26 10:01:45+00:00
This article resonated with me, another fellow pawn script, but I used to do mods in the old half life and counter-strike and some other hl mods. Similarily I started from ms-dos, pascal from school and slowly went to the html part. I had the impression that my programming desire just faded in time with so many jobs, but It might be what you described as burnout... who knows, but I learned something from this.

Best of luck!
by sureglymop | 2025-07-26 10:02:13+00:00
Hey! I am currently very close to having blown through the yearly token budget of my Kagi subscription, which I used mainly for Kagi Assistant.

Does OpenRouter offer a similar way to select any model in a user friendly way? Meaning, can I add some budget, hook it up to a desktop application and then just have a convenient selection of models that I can start using?

And also, which model would you use to not break the bank? Currently I am mostly using Gemini 2.5 Pro but perhaps there is already a cheaper and better option.
by formerly_proven | 2025-07-26 10:03:43+00:00
fwiw this just depends a lot on the OEM. All OEMs have a non-trivial mapping of assumed energy content to shown percentage, in part because that's just not trivial to do, in part psychology. (The same is true for fuel gauges). Some brands manipulate the consumption numbers a lot (iirc - Tesla fudges the numbers the most e.g. they don't count energy consumption when not moving).

For most the consumption of an EV is shown rather accurately and is really just (energy drawn from the HV battery as measured by the BMS, which is generally very accurate for safety reasons) divided by (kilometers driven in the current interval).

As far as I know nobody includes charging losses in the readout. Personally I think this is correct for range estimation purposes. If you're swinging at a cost perspective, this of course means you're going to always miss around 3-20% depending on charging method, temperatures, car model etc. (there are fairly significant differences in OBC efficiency across models and also across AC power, low power charging gets inefficient quickly, while 7-11 kW often gets you north of 90%. DCFC is usually more efficient accounting-wise, because fast chargers bill for DC energy, not AC energy, so DC conversion losses aren't on the bill in the first place, though I assume DC chargers are also more efficient at power conversion than OBCs in general).
by joshstrange | 2025-07-26 10:04:49+00:00
What “managed Postgres service” is there for $10/mo? Seriously, I’m very interested.

I don’t care about serverless but I do appreciate being able to scale up and down. At the end of the day I just want managed Postgres with backups and, ideally, automatic failover. Aka, I don’t want to think about my DB.

I pay Neon $20/mo currently.
by redpill12345 | 2025-07-26 10:05:09+00:00
In the original days of TheRedPill one of the first things recommended was to drop porn IIRC (also workout and get paid more)

The manosphere is probably a very large umbrella of all kinds of views only united by one common trait - being a man.

Although you're not wrong that society is hyper sexualised and dating has become increasingly transactional
by wiz21c | 2025-07-26 10:05:11+00:00
"it was all data/signal flow and intercoupled and layered differential equations from sensors to actuators anyways."

And the you need a pure CS dude like me to turn that into readable, maintainable, efficient code.

(I work with these guys who just see the differential equations... Leave them a few years on their own and they produce a huge pile of code and then wonder why none of the students use it :-)

(it's just my own experience, and although I'm a bit cynical here, I like that job and these guys a lot, we learn a lot from each other)
by j_timberlake | 2025-07-26 10:05:47+00:00
No shit, people just use a different credit card, instead of the site pulling a game or shuttering, because these groups have no power beyond pestering Visa.

Not that anyone saying "sweet summer child" ever had anything smart to say.

"i remember seeing pay with crypto so i guess thats what you need to use in the west"

In other words you know nothing and couldn't be bothered to look it up before posting.
by np1810 | 2025-07-26 10:06:50+00:00
> PWA's killer features are circumventing the app store and the app store tax and not maintaining two codebases for Android and iOS.

Agreed, I wish we lived in world where PWAs had atleast an equal share compared to mobile apps. Apps winning, mostly have been a suicide for privacy.

Coincidentally, there's another HN story with even more relevance to our discussion. [1]

[1]: https://news.ycombinator.com/item?id=44689059
by TeMPOraL | 2025-07-26 10:07:20+00:00
> Didn't HTML, CSS, and JS only got more capabilities over time?

They did, but almost all of them are just there so serve developers, to enable them to build even more sophisticated interactive billboards. The web serves marketing and advertising. So do apps, but the web does it better in many ways.

What I meant by websites being neutered, is along the dimension of empowering users. Webapps as tools that provide functionality and play well with others. Composability, interoperability, end-user authonomy. Those are anathema to modern web.

And as I said, apps ain't better. It's really "pick your poison", whether you want to be fighting with your browser sandbox, or with your OS sandbox - and half of the things you need sit on the server-side anyway, out of your reach.
by sirwhinesalot | 2025-07-26 10:08:43+00:00
The most insulting thing about _Generic is the name. Really? _Generic? For a type-based switch with horrific syntax? What were they thinking...

That said, generic programming in C isn't that bad, just very annoying.

To me the best approach is to write the code for a concrete type (like Vec_int), make sure everything is working, and then do the following:

A macro Vec(T) sets up the struct. It can then be wrapped in a typedef like typedef Vec(int) Vec_i;

For each function, like vec_append(...), copy the body into a macro VEC_APPEND(...).

Then for each relevant type T: copy paste all the function declarations, then do a manual find/replace to give them some suffix and fill in the body with a call to the macro (to avoid any issues with expressions being executed multiple times in a macro body).

Is it annoying? Definitely. Is it unmanageable? Not really. Some people don't even bother with this last bit and just use the macros to inline the code everywhere.

Some macros can delegate to void*-based helpers to minimize the bloating.

EDIT: I almost dread to suggest this but CMake's configure_file command works great to implement generic files...
by Kim_Bruning | 2025-07-26 10:09:44+00:00
The canonical wisdom is that the more security sensitive or critical a piece of software is, the more important it is that it be auditable. Open Source meets that criterium, and is arguably the only thing that does so fully.

Some systems do require secrets, that's what cryptography is for. The algorithms are generally open and audited, and only the minimum (the keys) are kept secret.
by chneu | 2025-07-26 10:10:27+00:00
>They should take themselves off the dating apps

Then they can't complain about how horrible people are. Unfortunately, being a victim is a large part of many people's personalities. This is especially true for the "chronically single" people on dating apps. It's never their fault people don't want to date them! It's everyone else who is horrible.

Years ago when I was on the apps and went on dates it was obvious who these people were. They rarely actually go on dates because every person they match with is a predator to them. Then, if an actual date happened, it would quickly go nowhere because they're treating you as if you're a predator. The whole vibe with these people is awkward and judgmental. Then folks wonder why their dating app experience is bad.
by supriyo-biswas | 2025-07-26 10:11:25+00:00
> I've had problems with this though. I want to get the ip4 address from cloudflare, instead of ip6 and it's next to impossible AFAICT. (for the free plan anyway)

I have multiple websites on Cloudflare and can receive IPv4 addresses just fine, though for Cloudflare fronted websites it's usually better to use the CF-Connecting-IP as people can send any value in the X-Forwarded-For header.

Maybe some intermediate layer turns the IPv4 into a IPv6-mapped IPv4 address?
by ralfd | 2025-07-26 10:11:41+00:00
> Why is it that on desktop everyone uses spotify.com to listen to music

But … I don’t?

I download and install Spotify.app on my computer (at least my gf does on hers, I use Apple Music). Maybe I am the weird one? No I am not, I skimmed the Spotify subreddit and most use the app on PC/Mac: It has keyboard shortcuts, people find it nicer being its own program instead some browser tab, it is more lightweight, it provides offline play and crossfading and has (freemium and paid) higher bitrate than web. It is you who are missing out.
by joules77 | 2025-07-26 10:11:47+00:00
That definition of innovation would apply to all the EU colonial empires. They all collapsed.

Modern corporations of the US/India/China hardly last more than a 2-3 generations/business cycles. They are so hyper optimized that any change in the environment causes major trauma or collapse. They praise themselves 24x7 via marketing/ads/pr so people actually believe there is something special about them. But one tariff change/one covid virus/one interest rate hike/one regime change and what happens?

The form of innovation you talk about is seasonal. It comes and goes.

What's still standing? Since we are talking about the EU - The Vatican. There is a different kind of innovation happening there to pull that off. The chimp troupe in the EU is too distracted and mesmerized by the superficial to realize what is interesting about its own backyard.
by simonw | 2025-07-26 10:13:04+00:00
I'm pretty confident in it: I saw the same result from a few different attempts, it's consistent with how the app itself appears to work, and the GitHub Next Twitter account tweeted my article without noting any inaccuracies.

Generally my past experience has been that leaked system prompts aren't hallucinated. Models are very good at repeating text that's just been fed into them.
by troupo | 2025-07-26 10:13:59+00:00
This is objectively good clean code when you develop it.

Because most of those classes are per component.

If you have a single card component defined with these classes, and then repeat it 20 times on the page, then of course the output will look like a giant mess.

> How did tailwind get so popular?

- quick to understand and get started with

- much cleaner for components than the variety of CSS-in-JS libs

- (mostly) do not require fighting CSS with BEM-style atrocities

- come with nice default styles and colors that can be easily changed and extended

> Learn plain CSS. It's really good now

CSS is okay now. We only just got nesting and scoping
by gjm11 | 2025-07-26 10:14:35+00:00
I find this a perplexing comment in view of the fact that almost all of the linked article is in fact about how the author wrote his own date parsing library; the "never do it" bit is just a couple of lines at the start and so far as I can tell is mostly there for fun.

(In particular, at no point does the article actually argue for not writing your own date parsing library. It just says, in essence, "Never do it. I did it. Here's what I did and why.")
by constantcrying | 2025-07-26 10:15:30+00:00
>No one, including governments or payment processors, should be in the position to decide whether a platform can sell something or not.

Obviously the government should make selling certain things illegal. And I think that many of the games sold their, should be made illegal.

What should not happen is payment processors being the ones who decide what is okay to sell. If selling something is legal, payment processors should be forced to make that transaction.

>I wish there was a payment processor who was brave enough to say a big fucking NO to censorship.

I do not. I do not want legal financial transactions being dependent on the whims of how "brave" some company is.
by metalman | 2025-07-26 10:16:04+00:00
peel the lid back just a tiny bit and you find that making a bet , ie: a one time negotiated wager beween consenting individuals is universaly illegal, but gambling is "regulated" and legal. personaly, I might take or make a bet, but refuse to gamble, even to the wholesale amazement of someone trying to gift me tickets, and declining,or the other approch'es of trying to get me to pick up some tickets, pick a number,discuss the wonders of disbursing my inevitable winnings, or in some way join in.......it's a fucked up addiction and there are people who are already rich, spending thousands ,every single week, and people with nothing ready to do ANYTHING for a ticket. yucky
by other8026 | 2025-07-26 10:17:50+00:00
> The GOS could snoop on their users and turn into malware only if it figures out that this is Rossmann's phone.

Well, yes, but not really. What you're saying could be true if the OS wasn't open source. It's not some small OS that nobody knows about. There are forks of the OS, there are other projects that selectively copy code/commits from GrapheneOS, there are security researchers who pay attention to its development. There are also people who reproduce and verify builds. It's just not possible for that kind of code to be snuck in there.

This section of the website about whether GrapheneOS is audited is also helpful https://grapheneos.org/faq#audit

> This is what is keeping me from installing GOS too. Interaction from the developers seems very aggressive towards the competing OSs, which doesn't inspire much trust.

If you pay attention to what they're responding to, you'll find that a lot of that is in response to something they said, clarification about inaccuracies in news articles, etc. The official accounts are also followed by many of the OSes' users, so some posts are for them too if certain things are being talked about in the community.

> In the end you need to trust someone, but I'm not sure GOS is more trustworthy than LineageOS (which has a bigger community, more developers and /e/os building on top of them).

I personally prefer quality over quantity. GrapheneOS developers take a long time to develop new features, test them, rewrite them, and it goes on and on until they have a resulting feature that is very high quality. They also have to keep in mind how much they're adding/changing so features and changes can be ported quickly when there are new upstream releases. Updating quickly is very important for security. Leaving vulnerabilities unpatched for months is not acceptable for a project and users who value security. The same can't be said of LineageOS or /e/OS. They're slow to update, roll back security, etc.
by frauhaus | 2025-07-26 10:18:07+00:00
I don’t know the ratio of real to fake info on Tea, but all ways to provide information about someone are subject to fabrication of inaccurate information.

Many years ago when newspapers, magazines, or books wrote about someone, at least some of the time they may have tried to verify part of the information.

Today, there’s very little expectation that something on an app or website has been partially or thoroughly fact-checked.

For the sake of argument, let’s say 20% of the data is fabricated.

If 80% of the information on Tea about others being a safety risk were true, would that be worth chancing that 20% would have false information spread about them, mostly quietly to a small percentage of the population in a way that didn’t really affect their lives substantially?

I’m not defending Tea losing their users’ data nor defending those that spread disinformation.

However, if the majority of the data were correct and helped others, and if the incorrect information didn’t destroy or substantially affect someone, then I think it may have been better to have had the 80% truth, if it were to have prevented violent crime.
by vegizombie | 2025-07-26 10:18:23+00:00
It's definitely not perfect, but I think both of those issues are better now, if not fully solved.

For needing a DB at compile time, there's an option to have it produce artefacts on demand that replace the DB, although you'll need to connect to a DB again each time your queries change. Even that is all optional though, if you want it to compile time check your queries.
by user____name | 2025-07-26 10:21:25+00:00
One of the big difficulties in vehicle gamedev is taking a big abstract (semi-)physical model and handing it over to the game designers who then have to design with a large amount of unintuitive and correlated parameters. There's been various approaches to reduce the number of knobs to tweak so the designers don't have to rebalance the entire set of vehicles any time something related to the vehicles changes, but it's very much a black art.
by holowoodman | 2025-07-26 10:21:55+00:00
Public transit also doesn't scale. Germany, during the Covid years, introduced a cheap country-wide flat fee ticket (~50 bucks per month, all you can ride) for public transit. Which lead to road traffic going down measurably. Which lead to trains and busses being packed, people traveling more and farther on those. Leading to higher cost, degraded service and packed bus stations and rail lines. Building more of those isn't possible geometrically as well, cities are already packed. We are currently, at tremendous cost and effort, moving railway lines and stations underground, like Stuttgart 21, for that reason.

The point is, moving people inherently is bad. Shifting from cars to public transit reduces the badness a little, but you still need infrastructure that scales O(p * s * f), where p is the number of people, s is the average distance travelled per journey, and f is the frequency of journeys. Scaling doesn't change the slightest bit with public transit, you just have a different constant factor which is irrelevant for scalability.

So the solution isn't public transit. It is the avoidance of any unnecessary travel, meaning that we actually need something like a tax on non-home-office jobs and stores that you personally have to visit (as opposed to shopping online). We need better delivery infrastructure so people don't need to travel. We need close-to-home shopping options. Because actually moving goods instead of people scales logarithmically, the network of countrywide, regional, local distribution centers, bigger shops, smaller shops behaves like a tree.
by Andromxda | 2025-07-26 10:22:07+00:00
Btw I reread all the emails exchanged by Rossmann and Micay (I had already read them back when they were released, but that was over 2 years ago), and I don't see how anything Daniel Micay said would be incorrect. Moreover, I found it quite alarming, how Rossmann addressed exactly zero of Micay's actual points, and then tried to distract from the entire situation with manipulative tactics and by trying to discredit him through his baseless assumptions about Micay's mental health. These leaked emails don't prove anything, other than Louis Rossmann being ignorant and manipulative.