MurphyA/hacker-news huggingface dataset:
by elcritch | 2025-06-27 12:57:45+00:00
Indirection kills performance nowadays. I did a bunch of benchmarking a couple years back and found that you can parse MessagePack and CBOR faster than Protobuf if you know the types and serialize directly into them. Even if field order isn't known and you use non-allocated field strings.

Well in a language that allows you to generate compile time specialized serde code like Nim or Zig. Maybe C++ has enough compile time reflection to do it now as well?

I don't know enough about Rust's serde, but it seems like there'd be a lot of performance overhead with it's design and the limits of Rust's macro and compiler system.
by warrenm | 2025-06-27 12:58:03+00:00
If something is a "series" type post, I might break it up - for example, over a dozen years ago I wrote a series on storage (specifically focused on the product I then delivered services around, but it has broader application) - and then created a landing page for that series a few years later (https://antipaucity.com/2021/08/13/storage-series/#.YRaG1u0p...)

I also posted the Sun Tzu's `Art of War` as a series of posts

And a few other things along those lines

If it "makes sense" to break up, I will

Otherwise, I go with whatever length the post wants to be
by cm277 | 2025-06-27 12:58:14+00:00
This reminds me of the old XKCD about inventing new standards... fine, you get an EU Inc corporate model. What's the labor law applied for employees? what is the tax regime, and which countries will take in taxes? what about oh, I don't know liability, insurance, debt and bankruptcy, etc, etc.?

A company is a legal person within a jurisdiction --of which all of the laws apply to every person. You can't have an EU Inc without a federal EU. Heck even the US doesnt have a US Inc. This is naive at best.
by csomar | 2025-06-27 12:58:33+00:00
You are delusional. I remember when I was starting (over 10 years ago), I worked with a guy who had a PhD in physics. We were doing WordPress stuff and I was getting paid higher than him (to add insult to injury I was based in a cheap third-world country and he was UK based). Since I've interacted with him a bit, I got to discover that he was very smart, mathematically inclined and did actually write correct English.

There is still no demand for physics. There is a world where we are heading for another bull market in tech but there is a also a world where this slump remains here forever. My guess is on the latter. The talent in the global south has considerably caught up in the last 15-20 years in terms of skills, language and numbers.
by tmtvl | 2025-06-27 12:59:03+00:00
Yeah, and while that video is 5 years old, more recent videos (<https://www.youtube.com/watch?v=_jMcvb7she8>) still make it clear that hasn't changed (even if they try to mask it by playing music over it). I don't really think there's a way around it, though, electric motors spinning fast will just make that kind of sound.

That said, there's people who complain about F1 cars not sounding the same any more like they did back in the early 2000s (with the classic V10 engine), so even if the FE cars get modified in some way to change what they sound like there might be people complaining. Would be funny if for broadcast they replaced the FE sound with '60s V12 sounds, though.
by lofaszvanitt | 2025-06-27 12:59:19+00:00
Nah, they got rich by selling their products while brainwashing their customers, literally turning them into cultists. And in the process they just raising and raising their prices. So in essence shitting on those who elevated them.

If anyone dares to speak up gets strong armed. Instead of giving ordinary people a chance to earn some extra income by creating a market for them, they squeeze them out. They force their fucking, non customisable, shitty ui/ux on people and they also do everything in order to hinder diy fixing of their products. They also skim the developers because they can. They create a soulless society in the process, and they just don't give a fuck. They just love their oppressing rules, so ft.

What kind of inherently evil shitfaced scum comes up with ideas like these? Well, screw these greedy bottom-feeders. Do they think that hiding behind a facade, a faceless corporate entity, means they can do whatever they want? Pull them out into the sunshine, let them burn.
by snowwrestler | 2025-06-27 12:59:20+00:00
Much respect to this man as a fundraiser. He convinced people to pay him to play Viking and go sailing as his job. Could be grants or private fundraising or both.

It illustrates how one monetizes a PhD in a subject overtly noncommercial like archaeology. Plenty of people have sailed in these waters, maybe even played at being Vikings. But with a doctorate in the field, one is able to make the case that doing so will be Real Science because you have developed expertise in that knowledge domain, and research skills to fit whatever you find into the broader scientific context.

I’m not being dismissive, by the way, it’s a fantastic idea to explore for new archaeological finds. And it is absolutely true that academics need to have as much hustle as entrepreneurs to find funding.
by mmarian | 2025-06-27 13:00:11+00:00
Sounds obvious, but I split them based on the topic/theme/question I'm answering. Example...

https://developerwithacat.com/blog/062025/startup-incubator-... - my personal experience for joining Antler

https://developerwithacat.com/blog/062025/join-antler-startu... - why *you* should join Antler
by samuell | 2025-06-27 13:00:35+00:00
In later years, I returned to XSLT to try parsing a structured text format for tool definitions in the Galaxy bioinformatics platform.

Turns out you can do a lot with the RegEx-support in XSLT 2.0!

https://saml.rilspace.com/exercise-in-xslt-regex-partial-gal...

The result? A Java-based tools for creating CLI commands via a wizard:

https://www.youtube.com/watch?v=WMjXsBVqp7s
by sitkack | 2025-06-27 13:00:46+00:00
Thank you. I didn't do a very good job of explaining why I think Proton is worth targeting specifically if perf tests show it running faster than Windows.

The Windows API perf topology is astronomically large.

That Proton is faster than Windows can't be universally true, but if you stick to that subset that has good conformance with Windows APIs and is also faster, that should be the target (and everything is moving of course).

Cross benchmarking games between Windows and Proton, taking API traces and finding those subsets of APIs can usage styles will enable a game developer to target those Proton APIs that are both conformant and fast. It is that subset of Windows APIs (temporal spatial structural usage) that I am suggesting being the target. The API linting tool might itself compare API traces. In fact for those API traces from performant AAA games, I could see generating a header file that only exposes the same API as used by that game.
by ookdatnog | 2025-06-27 13:01:01+00:00
Learning primarily through listening and talking only works if you have an enormous amount of high quality data, ie, the situation you're in as a baby when you're surrounded by native speakers who are producing speech for hours every day.

If you are an adult and want to spend, say, a couple of hours each week learning a language from scratch, especially without constant access to a native speaker, your initial progress will be much faster if you study grammar and vocabulary in a traditional class from a text book, than if you just try to pick up patterns from listening to the TV or something.

I can't source my claim. I attended a public lecture years ago from a researcher about exactly this misconception.
by chriswarbo | 2025-06-27 13:01:08+00:00
> arrogant security hall monitors who think developers cant be trusted to use the HTML escape function properly.

Unfortunately, they're not actually wrong though :-(

Still, there are ways to enforce escaping (like preventing "stringly typed" programming) which work perfectly well with streams of bytes, and don't impose any runtime overhead (e.g. equivalent to Haskell's `newtype`)
by rpaddock | 2025-06-27 13:02:06+00:00
My late wife took her own life because of Chronic Pain. She was told "The pain has become fixed in your perception".

Many years later we found that the actual cause was a Cerebrospinal Fluid (CSF) Leak.

After two failed surgeries to fix it, she had enough and checked herself out.

See our documentary Pain Warriors for the whole saga.
by pseudocomposer | 2025-06-27 13:02:40+00:00
This is what I did for BeatScratch! https://beatscratch.io

My music model is all Protobuf messages, which go from Dart/Flutter land to Kotlin/C/Swift/JS audio backends on target platforms. I also use Protobuf for saving and sharing. It’s been incredibly resilient and performant.
by sparkie | 2025-06-27 13:02:51+00:00
C offers a different solution to the problem in Annex K of the standard. It provides a type `rsize_t`, which like `size_t` is unsigned, and has the same bit width, but where `RSIZE_MAX` is recommended to be `SIZE_MAX >> 1` or smaller. You perform bounds checking as `<= RSIZE_MAX` to ensure that a value used for indexing is not in the range that would be considered negative if converted to a signed integer. A negative value provided where `rsize_t` is expected would fail the check `<= RSIZE_MAX`.

IMO, this is a better approach than using signed types for indexing, but AFAIK, it's not included in GCC/glibc or gnulib. It's an optional extension and you're supposed to define `__STDC_WANT_LIB_EXT1__` to use it.

I don't know if any compiler actually supports it. It came from Microsoft and was submitted for standardization, but ISO made some changes from Microsoft's own implementation.

https://www.open-std.org/JTC1/SC22/WG14/www/docs/n1173.pdf#p...

https://www.open-std.org/JTC1/SC22/WG14/www/docs/n1225.pdf
by bluefirebrand | 2025-06-27 13:02:56+00:00
> Then congrats, you are now in a position where your software development lifecycle needs to handle non-determinism.

Sure, except the Juniors producing wrong solutions is the Juniors problem, not mine

If I give four LLM agents tasks and they call come back with slightly wrong solutions, that's me adding four problems to my own workload

I'm not sure how I'm supposed to keep up with that. I'm definitely not sure it makes me overall more productive
by Groxx | 2025-06-27 13:03:41+00:00
Yeah, I deal with multiple Go projects that take a couple minutes to link the final binary, much less build all the intermediates.

Compilation speed depends on what you do with a language. "Fast" is not an absolute, and for most people it depends heavily on community habits. Rust habits tend to favor extreme optimizability and/or extreme compile-time guarantees, and that's obviously going to be slower than simpler code.
by thimabi | 2025-06-27 13:03:56+00:00
> Custom Search JSON API provides 100 search queries per day for free. If you need more, you may sign up for billing in the API Console. Additional requests cost $5 per 1000 queries, up to 10k queries per day.

What I meant is that pricing for 10k queries per day does not make sense instead of a simple $20/month ChatGPT subscription.
by mlok | 2025-06-27 13:04:42+00:00
I believe some people might find Zjs Components interesting for this matter :

https://news.ycombinator.com/item?id=44290315

Paper abstract :

ZjsComponent: A Pragmatic Approach to Modular, Reusable UI Fragments for Web Development

In this paper, I present ZjsComponent, a lightweight and framework-agnostic web component designed for creating modular, reusable UI elements with minimal developer overhead. ZjsComponent is an example implementation of an approach to creating components and object instances that can be used purely from HTML. Unlike traditional approaches to components, the approach implemented by ZjsComponent does not require build-steps, transpiling, pre-compilation, any specific ecosystem or any other dependency. All that is required is that the browser can load and execute Javascript as needed by Web Components. ZjsComponent allows dynamic loading and isolation of HTML+JS fragments, offering developers a simple way to build reusable interfaces with ease. This approach is dependency-free, provides significant DOM and code isolation, and supports simple lifecycle hooks as well as traditional methods expected of an instance of a class.
by PantaloonFlames | 2025-06-27 13:05:05+00:00
I recently had the occasion to work with a client that was heavily invested in XML processing for a set of integrations. They’re migrating / modernizing but they’re so heavily invested in XSL that they don’t want to migrate away from it. So I conducted some perf tests and, the performance I found for xslt in .NET (“core”) was slightly to significantly better than the performance of Java (current) and Saxon. But they were both fast.

In the early days the xsl was all interpreted. And was slow. From ~2004 or so, all the xslt engines came to be jit compiled. XSL benchmarks used to be a thing, but rapidly declined in value from then onward because the perf differences just stopped mattering.
by sorcerer-mar | 2025-06-27 13:05:46+00:00
No, you're misunderstanding my point. I'm aware money is being spent on this.

Let's say being multiplanetary gives you 99% risk mitigation of asteroid decimation.

My point is that we could pursue that level of risk mitigation via detection and deflection methods by pouring more money into it.

It is obviously far cheaper to achieve 99% risk mitigation by dumping money into detection and deflection than it is to colonize another planet to the point of self-sufficiency.

A couple trillion dollars might get us to a basic self-sustaining colony on Mars, but you could defend earth, and all of its immense natural and man-made assets, to a similar degree for orders of magnitude less money. We already choose not to do this because we don't care to achieve that level of risk mitigation even at the lower price point.
by disgruntledphd2 | 2025-06-27 13:06:25+00:00
> It's rarely an issue and can go about my life by foot. bike, and public transport.

You are a very unusual person then, as the vast vast majority of people in not urban core Ireland have (and use) a car. I live in a Dublin suburb, and we're one of the few married couples that don't have two cars.
Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights
by jamesharding | 2025-06-27 13:06:54+00:00
Hey HN!

Pilots everywhere are required to keep a logbook of all their flying hours, aircraft, airports, and so on. Since I track everything digitally (some people still just use paper logbooks!), I put together some data visualizations and a few 3D globes to show my flying history.

This globe is probably my favourite so far: https://jameshard.ing/pilot/globes/all

If you’ve got ideas for other graphs or ways to show this kind of data, I’d love to hear them!
by lo_zamoyski | 2025-06-27 13:07:13+00:00
This is a good point. Too much emphasis is placed on conquering THE WORLD (tm). This encourages a mindset of domination in which either you beat them by conquering the world, or join them by becoming an employee. Not everything has to be "global". It also produces a world of centralized services and products instead of flexible ecosystems that can cooperate.

Another benefit of decentralization is resilience to global market forces. As an example, look at Polish economic growth in 2008. It was the only EU member to avoid the recession. Why? Because of a strong domestic market.
by AlienRobot | 2025-06-27 13:08:11+00:00
One difference that Zig has is that it doesn't have multiline comments or multiline strings, meaning that the parser can parse any line correctly without context. I assume this makes parallelization trivial.

There is ino operator overloading like C, so A + B can only mean one thing.

You can't redeclare a variable, so foo can only map to one thing.

The list goes on.

Basically it was designed to compile faster, and that means many issues on Github have been getting rejected in order to keep it that way. It's full of compromises.
Show HN: Syft – Check if an Instagram page is legit before you pay
by gavinships | 2025-06-27 13:08:31+00:00
I built Syft to help brands, indie founders, and creators avoid wasting money on bad influencer promotions.

Too often, you run a promo and realize afterward the account had fake followers or wasn’t even reaching the right audience. Syft scans any Instagram profile and gives you a trust score based on:

Bot follower signals

Engagement rate

Comment quality

Audience relevance and niche fit

No signup needed — just paste a handle and see the results.

Would love your feedback — especially on what’s missing, confusing, or inaccurate. I'm still improving the scoring system and would love your take.
by nadir_ishiguro | 2025-06-27 13:10:14+00:00
Really appreciate your work and am thankful for matrix and element.

As a user of Element call via the desktop app, I found myself sometimes confused whether I was actually using the new implementation or the legacy version.

Has the move to encrypted calls happened on the non-element-x platforms? Is there a difference between group and one-on-one calls on those platforms?

Is Jitsi still in use anywhere?
by sorcerer-mar | 2025-06-27 13:10:21+00:00
Depends on your definition of "colonize". In the hundreds of thousands of people range, no we are several hundred years away (if ever).

Mostly because outer space sucks and there's no reason to be there, as evidenced by the inability for anyone in this thread to come up with compelling reasons to do it aside from "ah the adventure!" (from people who haven't done anything that could be described as 'adventure' here on earth, ever).
by layer8 | 2025-06-27 13:10:27+00:00
No, see here: https://developer.apple.com/support/dma-and-apps-in-the-eu/#...

“By January 1, 2026, Apple plans to move to a single business model in the EU for all developers. Under this single business model, Apple will transition from the Core Technology Fee (CTF) to the CTC on digital goods or services. The CTC will apply to digital goods or services sold by apps distributed from the App Store, Web Distribution, and/or alternative marketplaces.

“As of January 1, 2026, the CTC may be explicitly charged as a separate commission or, in certain cases, may be identified as a component of another commission and will apply to sales of digital goods or services usable in an app on Apple’s platforms. Additional details regarding this transition will be provided at a later date.”

I.e. this applies to all apps, regardless of distribution channel. Apple will likely control this via the app review that still happens as part of the Notarization process, in conjunction with the StoreKit External Purchase Link Entitlement.

I think there are SMB exemptions for the fees, though.
by eesmith | 2025-06-27 13:10:32+00:00
I think the author is more interested in showing how to implement a certain problem using a GPU approach than to test a GPU approach vs. a CPU one.

As mentioned, the topic comes from an end-of-chapter problem set on prefix sums, at https://www.cs.cmu.edu/~guyb/papers/Ble93.pdf .

A prefix sum cam be implemented using a GPU, as demonstrated.

However, using a prefix sum may not be the best way to compute Fibonacci numbers. As demonstrated.
by riskassessment | 2025-06-27 13:10:45+00:00
I read the paper before I made my original comment. They fit a clustering algorithm and then hand waved at intepreting the clusters. 'Omics papers get away with a lot of hand waving. Yeah they did some peak detection and found peaks, but you are going to find peaks in a random walk.

They didn't test the theory that rapid aging occurs at those two specific time points in an independent hold out set.

Most importantly even if these peaks exist this paper does not prove they are biological. They could correspond to common socially driven changes in behavior
by loudmax | 2025-06-27 13:10:46+00:00
As a system administrator, I vastly prefer to deploy Go programs over Java programs. Go programs are typically distributed as a single executable file with no reliance on external libraries. I can usually run `./program -h` and it tells me about all the flags.

Java programs rely on the JVM, of which there are many variants. Run time options are often split into multiple XML files -- one file for logging, another to control the number of threads and so on. Checking for the running process using `ps | grep` yields some long line that wraps the terminal window, or doesn't fit neatly into columns shown in `htop` or `btop`.

These complaints are mostly about conventions and idioms, not the languages themselves. I appreciate that the Java ecosystem is extremely powerful and flexible. It is possible to compile Java programs into standalone binaries, though I rarely see these in practice. Containers can mitigate the messiness, and that helps, up until the point when you need to debug some weird runtime issue.

I wouldn't argue that people should stop programming in Java, as there are places where it really is the best choice. For example deep legacy codebases, or where you need the power of the JVM for dynamic runtime performance optimizations.

There are a lot of places where Go is the best choice (eg. simple network services, CLI utilities), and in those cases, please, please deploy simple Go programs. Most of the time, developers will reach for whatever language they're most comfortable with.

What I like most about Go is how convenient it is, by default. This makes a big difference.
by lukan | 2025-06-27 13:10:49+00:00
Ok, I checked the one link about swiss where I have local info .. and can you please show me the shocking image?

I am not a fan of building much on top of the mountains in general, but the claim was about desertification and at least that link provided nothing about it. Are the others more worth it?

The gettypictures just show solar panels on what was grasland before.
by drcongo | 2025-06-27 13:11:01+00:00
Last time I tried ty and pyre they weren't particularly great with a Django codebase, I'm sure ty will get there at some point, but if this handles django-stubs without any extra faffing, that's one potential selling point.

I did have the same thought as you at first though, and only carried on reading when I spotted that it was from the author of Jedi.
by saubeidl | 2025-06-27 13:12:14+00:00
This is Tim Cook being an arrogant shithead towards the EU once again. This hubris is exactly how he got fined last time - it seems he didn't learn his lesson.

> Vestager was well into the second half of her investigation, and she was unlikely to be swayed by the platitudes and buzzwords Cook came prepared to deliver. Nor did Cook advance his cause when he spent a one-on-one meeting interrupting and talking over her, according to those briefed on the encounter. Apple declined at the time to comment about the meeting.

https://www.politico.eu/article/how-vestager-took-a-bite-out...
by terhechte | 2025-06-27 13:12:37+00:00
I've tended to calling him Smaug. It's a fitting name in that the roots of Apple's success were software development (the "dwarves"), and for a long time developers had a great standing (internally and externally). But then Tim "Smaug" Cook took over the Iron Mountain of Apple (the hoards of Gold). And boy does Tim like money. And anyone who dares wanting any of his money are thieves. Hence software developers are thieves for wanting to maybe pay a bit less than 30%.
by hn_acker | 2025-06-27 13:12:43+00:00
I sincerely hope the pendulum doesn't swing back too soon, not in a political environment that lets Tennessee House Representative Andy Ogles feel perfectly comfortable making openly Islamophobic and racist tweets like [1]:

> Zohran "little muhammad" Mamdani is an antisemitic, socialist, communist who will destroy the great City of New York. He needs to be DEPORTED. Which is why I am calling for him to be subject to denaturalization proceedings.

[1] https://twitter.com/RepOgles/status/1938301392416084150