MurphyA/hacker-news huggingface dataset:
by kccqzy | 2025-11-02 19:23:55+00:00
Git bisect is never unnecessary. Even when you can easily test the components and find the bug that way, a bisect allows you to understand why the bug was introduced. This is wonderful in all places where there is a culture of writing long and comprehensive commit messages. You get to understand why the bug occurred from a previous commit message and you will write about that context in your bug fix commit message. And this becomes positive reinforcement. The better the commit messages are, the more useful it is to use git bisect or git blame to find the relevant commit messages.
by galangalalgol | 2025-11-02 19:24:09+00:00
What language do people considering c as an option for a new project consider? Rust is the obvious one we aren't going to discuss because then we won't be able to talk about anything else, Zig is probably almost as well loved and defended, but it isn't actually memory safe, just much easier to be memory safe. As you say, c# and go, also maybe f# and ocaml if we are just writing simple c style stuff none of those would look all that different. Go jhs some ub related to concurrency that people run into, but most of these simple utilities are either single threaded or fine grained parallel which is pretty easy to get right. Julia too maybe?
by mxkopy | 2025-11-02 19:24:59+00:00
https://arxiv.org/abs/2507.22950

Their argument is that quantum gravity can encode undecidable statements, and therefore cannot be completely computed. Of course take it with a grain of salt, since it relies on an incomplete and possibly inaccurate characterization of quantum gravity, something we don’t know anything about. Still, a cool idea.
by mikeyouse | 2025-11-02 19:25:34+00:00
It’s incredibly common for bats and rats to be coinfected with the same viruses… this is literally why we were looking at pangolins and raccoon dogs and mink for SC2 and at masked palm civets and ferrets for SC1. The term of art here is “intermediate host”.

The virus doesn’t need to make the animal sick to increase its human transmission risk, it just needs to infect its cells and be in the same host as other circulating viruses to get the crossover and recombination events.

From early host analysis,

> For a precursor virus to acquire the genomic features suitable for human ACE2 receptor binding, an animal host would likely have to have a high population density to allow natural selection to proceed efficiently (27). It is interesting to note that rodent betacoronaviruses have the polybasic cleavage site (38). Considering the above, surveillance and whole genomic analysis of CoVs from rodents are important to elucidate whether these species have any role in the transmission cycle of the virus and to detect the emergence of possible recombinants involving CoVs from these species and those from bats. However, there is not yet any evidence on the role of rodents or squirrels as intermediate hosts.

https://pmc.ncbi.nlm.nih.gov/articles/PMC7297130/

Or more direct examination of the FCS issue between rats and bats:

> Here, we examine the spike protein across coronaviruses identified in both bat and rodent species and address the role of furin as an activating protease. Utilizing two publicly available furin prediction algorithms (ProP and PiTou) and based on spike sequences reported in GenBank, we show that the S1/S2 furin cleavage site is typically not present in bat virus spike proteins but is common in rodent-associated sequences, and suggest this may have implications for zoonotic transfer. We provide a phylogenetic history of the Embecoviruses (betacoronavirus lineage 2a), including context for the use of furin as an activating protease for the viral spike protein. From a One Health perspective, continued rodent surveillance should be an important consideration in uncovering novel circulating coronaviruses.

https://www.sciencedirect.com/science/article/pii/S235277142...
by ryukoposting | 2025-11-02 19:26:07+00:00
If you're talented enough to pique a recruiter's interest in high school, you're much too talented to sign yourself away to a single company for the long haul in your 20s. Get experience in different industries, see what different corporate cultures are like, and learn how to negotiate compensation. Do these things early and often, because you don't have a spouse, or kids, or a house yet.
by runarberg | 2025-11-02 19:26:21+00:00
Lack of interest from standards committee and browser vendors seems to be the only thing stalling:

https://github.com/w3c/IndexedDB/issues/230

I personally think that this stall is simply a symptom of the larger issue that the IndexedDB standard was bad to begin with, and that lead to lax adoption from developers, which deprioritized vendors from fixing the standard, leading to a vicious cycle where even a seemingly trivial issue like adding BigInt support goes unimplemented.

I personally think that IndexedDB is salvageable, and not only that, it has the potential to be an amazing web API. But the way things are progressing with the standards committee, I very much doubt it will be any better in the foreseeable future.
by Marshferm | 2025-11-02 19:26:37+00:00
Race grievance? Do you even know the basics of what you’re talking about? SA went from an authoritarian apartheid state to racial equality on a midnight.

Presuming you’re US, the US is still relatively an apartheid state spatially in terms of its original inhabitants who are sequestered in reservations not of their own making, and who live in unequal territories with reduced services.

https://womensrightsny.com/apartheid-what-the-us-doesnt-want...

Joburg suffered the panic of whites fleeing city center worried about township residents finally being able to use transports after curfew. Once whites departed for the suburbs and exchanges and businesses followed, there was no capital anchor and the city had to recapitalize at 10-20% of its initial value while the burbs exploded in value. The WSJ doesn’t grasp the fundamental exflux that has no other examples. Even US cities emptied downtowns over much longer periods, in Joburg it was overnight.
by nobodyknowsme | 2025-11-02 19:27:14+00:00
I met John Walker in Second Life shortly after the pandemic started.

We both used the name "Acme" in our gadget names and he came by to see what I was building. He was wearing a Wile E. Coyote avatar.

It wasn't until after he left that I noticed he was one of the original authors of AutoCAD.

He was very prolific at writing code in Second Life from the beginning of the pandemic until shortly before his death.

He was very thorough in writing documentation for all the free code he wrote, and even included detailed diaries of his development of his neat gadgets.

His products were all removed from the Second Life store after his death, but I'm trying to get it all back up for people to enjoy. The code is still on github, but I'm trying to recreate some of the 3d objects needed for that code to work.
by labarilem | 2025-11-02 19:27:26+00:00
I'm building a manually curated catalog of videogames made by the HN community. Currently I've added data up to the end of 2022. The plan is to gather all data up to today and then keep updating the collection. I'm finding it a bit hard to add the 2023 games since there are lots of them(I guess thanks to the various LLMs).

You can browse the catalog at these addresses:

- https://hackernews.games/

- https://hn-games.marcolabarile.me/
by riversflow | 2025-11-02 19:31:33+00:00
> I wonder if domestic cats attack bats.

I have no doubt. Cats have an incredible prey drive, and it would be down right batty for them to have some sort of hardwiring to avoid bats when they happily attack moths who have a similar flight pattern. I haven’t personally seen one catch a bat, but it wouldn’t surprise me at all. A cursory search says indicates it happens.

Although for whatever reason I would be more concerned about a dog finding, rubbing in and eating a dead bat. I mean I don’t know what percentage of bats die while out, but it can’t be zero, and dogs—especially spitz-types—are remarkable at finding dead animals. Now that I think of it, I could easily imagine a person getting direct exposure to diseased bat remains through that vector. People typically put their hands on the shoulders of dogs and think little of it.
by Aldipower | 2025-11-02 19:32:01+00:00
This tool is a content generator. It does not create reach. So I think I do not get your question? If you read the Pomelli article it states in the first sentences that Pomelli will help small businesses by creating campaigns. "Pomelli is an AI marketing tool designed to help SMBs more easily generate scalable, on-brand social media campaigns to help grow their businesses." But my point is, those campaigns are useless, if you do not have reach already. So, Pomelli does actually not help small business as they are stating, but instead is wasting your time and money, because you will end up in buying some ad words from Google.
by wrs | 2025-11-02 19:32:17+00:00
Yesterday I tried something similar with a website (Go backend) that was doing a complex query/filter and showing the wrong results. I just described the problem to Claude Code, told it how to run psql, and gave it an authenticated cookie to curl the backend with. In about three minutes of playing around, it fixed the problem. It only needed raw psql and curl access, no specialized tooling, to write a bunch of bash commands to poke around and compare the backend results with the test database.
by labrador | 2025-11-02 19:32:41+00:00
It occurred to me this morning that I should learn Clojure instead of Rust for non-lowlevel code because Clojure solves the same problems Rust solves in a much simpler way. I'm a fan of Clojure author Rich Hickey's "Simple Made Easy" talk but otherwise don't know either language in detail and need to do more research.
by toomuchtodo | 2025-11-02 19:32:58+00:00
Sometimes we do things that the market has failed to price properly because there is still value not captured in the economics. That is not performance, that is internalizing unpriced externalities. The free market, perfect information, and perfect prices do not exist.

France has similar legislation.

https://www.pv-magazine.com/2024/11/18/france-publishes-new-...
Show HN: Letterboxd for Everything
by Venisol | 2025-11-02 19:33:08+00:00
Ive been building this all in one media tracker for about a year now. Starting to look like something I can be proud of.

None of the existing solutions really spoke to me, so I built my own. You can track everything games, tv shows, movies, anime, books. Music and albums are already planned, but there really is no limit of types in the vision

Check it out and let me know what you think
by kragen | 2025-11-02 19:34:05+00:00
I like C, have a probably unhealthy relationship with C++ where I am amazed by what it can do and then get unrealistic expectations it keeps failing to fulfill, and don't really like Java.

You know Julia Ecklar's song where she says that programming in assembler is like construction work with a toothpick for a tool? I feel like C, C++, or Java are like having a teaspoon instead. Maybe Java is a tablespoon. I'd rather use something like OCaml or a sane version of Python without the Mean Girls community infighting. I just haven't found it.

On the other hand, the supposedly more powerful languages don't have a great record of shipping highly usable production software. There's no Lisp or Ruby or Lua alternative to Firefox, Linux, or LLVM.
by jopsen | 2025-11-02 19:34:22+00:00
Their new law requires parking lots with more than 80 spaces to have solar panels.

Great idea, where I live I'm pretty much maxing out the percentage of permitted structures allowed by zoning.

I could imagine that if solar panel carports didn't count towards structure limits, I'd build a carport across my absurdly large driveway :)

I think there are lots of "free" ways we could incentivize private construction of solar panels -- even without monetary subsidies.

Or we could even tax people for not doing it. In Denmark your land is taxed based on what it's zoned for, and how it could be utilized (not how it is utilized).
by fluffypony | 2025-11-02 19:34:31+00:00
I spent a lot of time 25 years ago learning to love BSD in general, but FreeBSD in particular. I tried to make DragonflyBSD my desktop OS for a time. It’s sad how little love BSD gets nowadays…especially given how much of modern iOS / macOS owes BSD (for BSD subsystem that’s on top of the Mach kernel).
by portaouflop | 2025-11-02 19:35:12+00:00
It does make sense if the vuln doesn’t fit in your threat model. There are always an uncountable number of vulnerabilities and you can never fix all that are found.

No idea of course if the threat model that said boss had in mind made sense. But I always recommend to come up with a reasonable threat model first and then think you can harden against it.
by lucasoshiro | 2025-11-02 19:35:38+00:00
Ideally, we should write bug-free code, but we can't. There are some tools to avoid bugs, tests are one of them. Those tools avoid them, but not mitigate. Bisect doesn't replace tests, it only helps find where the bugs are happening. After finding and fixing the bugs, it's a good idea to write a test covering that bug.

To sum up: bisect and tests are not in opposite sides, they complement each other
by diegocg | 2025-11-02 19:36:02+00:00
There are certainly other use cases. git bisect was enormously useful when it was introduced in order to find Linux kernel regressions. In these cases you might not even be able to have tests (eg. a driver needs to be tested against real hardware - hardware that the developer that introduced the bug could not have), and as an user you don't have a clue about the code. Before git bisect, you had to report the bug and hope that some dev would help you via email, perhaps by providing some patch with print debug statements to gather information. With git bisect, all of sudden a normal user was able to bisect the kernel by himself and point to the concrete commit (and dev) that broke things. That, plus a fine-grained commit history, entirely changed how to find and fix bugs.
by MoltenMan | 2025-11-02 19:36:51+00:00
Super Mario Galaxy is not non- euclidean; it's just a regular 3D projection onto a 2D screen. The spheres you travel on are technically non-euclidean if you consider the surface in a vacuum, but you aren't playing on the surface, you're playing in a full 3D space.

Additionally, 2D sphere surfaces are very understandable because they can actually exist in our 3D world and we're used to them; hyperrogue has a hyperbolic non-euclidean 2D geometry which is impossible in real life, much more confusing, and impossible to display with no confusion. I don't know what Smart Kobold is, but I presume it's also not just a regular 3D game like Super Mario Galaxy.
by unlikelytomato | 2025-11-02 19:36:56+00:00
In my experience, this form of expense management is a relatively new development. Not so long ago, I had a company linked corporate card. Credit card transactions are already labeled with the type of purchase. You have to submit a report that corresponds to the actual charged amount. Additionally, they get all the bills with their hotel partner to cross reference the transactions with the credit card and the submitted expense. Flights etc worked the same way. Those are now additionally tracked in the company travel relationship portals which accomplish the block chain without the block chain. None of this requires a global immutable currency ledger or anything like that to accomplish their goal: just get some reasonable transaction validation long enough to process the expense then never look at it past an audit. Later, they also made people eat from the same hotel and negate the issue for meal expenses. It's just not a technology problem. If it were, they would just demand more granularity from the credit card company and the employee and reject things out of policy.
by Reason077 | 2025-11-02 19:37:26+00:00
> ”the problem with carpark solar is the mounting solutions are low volume niche products that cost way more than traditional ground mounts.“

Yes, but if you’re building shade canopies over the parking lot anyway (this is quite common in southern Europe, for example) the marginal cost to add solar to the design will be relatively small. And if the government is backing it, production volumes will rise so it’s no longer a niche product. Economies of scale.
by phil21 | 2025-11-02 19:38:07+00:00
It would not stop the harassment at all. These reports are effectively free for the originating organization to write using AI - and some low level junior looking for promotion within said org will be highly motivated to pump those metrics up come review time.

You’d have to basically blacklist these orgs from all bug reports and maybe open it up to a select few known trusted senior resources that care more about their personal reputation within the community vs. corporate politics.
by jmaker | 2025-11-02 19:38:23+00:00
I don’t understand what you’re saying. Typical Java is Spring Boot. Typical Rust is Axum and Actix. I don’t see why it would make sense to push the argument ad absurdum. Vert.x is not typical Java, its not easy to get it right. But Java the ecosystem profits from Netty in terms of performance, which does the best it can to avoid the JVM, the runtime system. And it’s not always about “HTTP servers” though that’s what that TechEmpower benchmark subject matter is about - frameworks, not just languages.

Your last sentence reads like an expression of faith. I’ll only remark that performance is relative to one’s project specs.
by timeon | 2025-11-02 19:39:51+00:00
> Would you rather have a gc or unsafe?

Like in case where you can't use Rust? (ie.: existing codebase). Sure that is what Fil-C is good for. Point is that Fil-C does not solve the problem Rust does. It is more like band-aid. (Maybe my comment was misunderstood because of typo: sell/well)

Also I think there is huge difference between GC and fact that some people use .clone() somewhere.
by thaumasiotes | 2025-11-02 19:40:02+00:00
> but you aren't playing on the surface, you're playing in a full 3D space.

That is not true in any meaningful sense. You can jump. But you can't move through the 3D space. You're stuck to the surface of the closest sphere. All of your pathfinding problems are non-Euclidean pathfinding problems.

If you were a sprite embedded within the surface, moving from sphere to sphere by using pipes, that would add nothing to the difficulty of pathing around the sphere.
by vacuity | 2025-11-02 19:40:03+00:00
Hacker News is not a place where any one group brigrades a thread. There are people who prefer C who don't want a GC, people who prefer Rust who don't want C, people who prefer Rust who agree with Fil-C for legacy C, people who don't prefer C or Rust and may use languages with GC.... We all have interests and face people who denigrate them in bad faith. If you have specific objections to inaccurate statements in this thread, then state them. I'll do the same for any technology if I'm qualified to make statements on it.
by AznHisoka | 2025-11-02 19:40:53+00:00
Comen'n, you're a techie. Use Google Sheets + Google App Scripts to make external API calls for each column! Or just use N8N :)

I feel like there are a lot of tools in this space, but they're all flawed, or they all defeat the purpose of Clay - which is having easy access to a lot of integrations with external data providers, and then falling back to their AI agent if you can't find a data provider. You're probably not going to save money by spending more time stitching together multiple tools, instead of doing everything at once in Clay.

That said, I did compiled some alternatives in my blog awhile ago if you're interested. (Just search for "Bloomberry Clay alternatives"). If you're OK with some limitations like less CRM integrations (ie. some only support Hubspot), or less data providers (some use less contact data providers in their waterfall enrichment), then there definitely are some cheaper ones you can try.

Is there a particular thing you can live without?
by stevan | 2025-11-02 19:41:00+00:00
> But people have regularly asked why Isabelle dispenses with proof objects. The two questions are essentially the same, because proof objects are intrinsic to all the usual type theories. They are also completely unnecessary and a huge waste of space.

I believe proof by reflection relies on proof objects? Georges Gonthier's proof of the four-colour theorem crucially uses proof by reflection.
by mindslight | 2025-11-02 19:41:32+00:00
It's both. Starting to mature at that age, independence of living on your own, and applying yourself to some kind of real work, but without all of that being colored by unrelenting abuse by the financial treadmill. One could probably replicate that kind of slack outside the university environment, but you still need some kind of direction to be learning rather than merely hanging around and playing video games, so such an environment would be halfway to higher education regardless.
by irusensei | 2025-11-02 19:41:54+00:00
> Dang, are these kind of hateful, discriminatory comments towards marginalized groups appropriate for HN

It's a new account so they are probably avoiding an existing ban. Just flag and move on. From my experience these people lead extremely shitty lives wallowing on fringe political brain rot and negativity. They are not very bright either so when they look around how sad their lives are they tend to point towards a single thing as the source of all their problems as opposed to recognize nuance and their own ineptitudes. Thats why they reach ridiculous conclusions such as "my life is shit because my neighbor is watching porn".
by 1313ed01 | 2025-11-02 19:42:42+00:00
To the list of compiler listed I want to mention this one as well, that is my compiler of choice for 16-bit C in (Free)DOS these days (because it has a MIT license, it's very small, and it runs great inside of DOS itself so no need to mess with cross-compilation and I know if I have an environment like FreeDOS or DOSBox set up I can both compile and run my code, and I will never have to re-install or reconfigure anything when moving between different host systems):

https://github.com/microsoft/MS-DOS/tree/main/v4.0/src/TOOLS

(Not only Microsoft's C compiler in that directory, but also MASM, MAKE, and a bunch of other tools. 1-2 MB of files and you have an entire toolchain for 16-bit DOS.)
by Izkata | 2025-11-02 19:42:55+00:00
> or code formatting changes (heh heh heh heh) which make it extremely difficult to see what you changed...

One of the "individual commits saved me" cases was when one of these introduced a bug. They tried to cut the number of lines in half by moving conditions around, not intending to make any functional changes, but didn't account for a rare edge case. It was in a company-shared library and we didn't find it until upgrading it on one of our products a year or two after the change.
by kemayo | 2025-11-02 19:44:19+00:00
Yeah, bisect is really handy because often a bug will have been introduced as a side-effect of a change made to support something else, and if you don't know what new usage was introduced you're relatively likely to break that in the course of fixing the bug.

You can avoid it via the "just look at every usage of this function and hold the entire codebase in your head" method, of course, but looking at the commit seems a bit simpler.
by sgbeal | 2025-11-02 19:44:25+00:00
> I have a python web app that creates a DB connection per request (not ideal I know)

FWIW, "one per request per connection is bad" (for SQLite) is FUD, plain and simple. SQLite's own forum software creates one connection per request (it creates a whole forked process per request, for that matter) and we do not have any problems whatsoever with that approach.

Connection pools (with SQLite) are a solution looking for a problem, not a solution to a real problem.