MurphyA/hacker-news huggingface dataset:
by latexr | 2025-06-09 09:36:44+00:00
The list of pros made me cringe.

Yes, I’ve had a baby fall asleep on my chest. Personally I prefer when a cat does it.

Yes, I’ve seen a baby sneeze. It doesn’t even register in my top favourite things and definitely does not make up for the rest.

Yes, I make my friends laugh, and I’ve made them wheeze hard until they’re out of breath with clever ideas we can all build upon. If your friends are faking laughs around you and in a way you can’t tell, I’m afraid to say maybe they’re just acquaintances.

Yes, I’ve been stared at with “unfiltered love and wonder”. By an adult, who has reason to and does it out of genuine felt affection for the person I am and the things I do, not simply because I’m the person in front of them and they’re ignorant of everything around them.

And on and on. I could address literally every point.

Look, you do you. If you enjoy being a parent, more power to you. But this list doesn’t really “[contribute] to the debate” nor will it “help others make up their mind”, especially when the cons are clearly dishonest or at best uninformed by a fatherhood which hasn’t even spanned half a year yet. You’re either trying really hard to convince yourself that you like being a parent (which is a bad sign) or you’re genuinely so happy (good sign) that you just wanted to gush to the world. Which is fine, sometimes we just want to share what makes us happy and that’s positive, let’s just not pretend this list is in any way an honest attempt at conversation.
by Pmop | 2025-06-09 09:37:05+00:00
And a lot of them cannot get up to speed, even when they want to. Many big corporations struggle with evolution and innovation due to crippling bureaucracy, created and supported by risk averse leadership. This is usually worse for publicly traded companies.

Unless it is something like Meta, then they have a Zuck, someone smart, with enough oversight and power, who can drain the swamp and make the whole machine move.
by religiontrw | 2025-06-09 09:37:41+00:00
>I am Christian so do not think the same way about religious law

Judaism isn't Christianity any more than Islam is.

Trying to apply Christian norms to Jewish practices usually ends up in a pogrom when Christians realize that Judaism isn't Christianity.

And just in case I hadn't said this enough: Judaism isn't Christianity.

I have no idea why the right in America has run with the whole "Judaeo-Christian Western Culture" bullshit when Christianity was founded from the start on not being Judaism and making a clean break with it. You might as well say Cristiano-Islamic culture since there was about as much impact on Western thought by Islam as there was by Judaism.
by dirkc | 2025-06-09 09:38:01+00:00
> But the feeling of having your own app, that does something which improves your own life, running on that computer you’ve been carrying in your pocket for years, is extremely rewarding!

It's great that you did this, kudos to you!

At the same time it is a little sad to read a statement like this. It used to be so natural for anyone doing software development to write things that improves their lives running on their own devices. Mobile has made this so much more tedious and then you need to ask for permission if you want to share the app.

Last year I also launched my own app on the app store [1], and briefly reflected on the experience [2].

[1] - https://dingdongdoorbell.com/ [2] - https://www.thebacklog.net/2024/10/22/building-and-releasing...
by rsynnott | 2025-06-09 09:38:11+00:00
I mean, you could say this of many if not most cities, I would think, for at least some part of the transport system. I can see elements of this from my office window: https://en.wikipedia.org/wiki/Dublin_and_Kingstown_Railway - it's almost 200 years old. Still carrying a train every few minutes at peak times.

(Obviously a bit of a railway of Theseus at this point, in that besides some of the bridges there's ~no part of it which is literally from 1832.)

This thing is kind of weird in that it's apparently basically been the same route since completion (most old railways ultimately become part of larger systems), but there are other examples; I'm fairly sure that the Glasgow Subway route is ~exactly what it was in 1896 today, say.
by mlugg | 2025-06-09 09:38:15+00:00
I don't understand how you reached this conclusion.

Nothing is decided for sure, but the plan is most likely to re-introduce stackless coroutines as a set of lower-level primitives [0], and support implementing the planned `std.Io` abstraction [1] using them. The usage isn't quite as "pretty" as our old async/await syntax, but this approach sidesteps a lot of design problems, allows applications to seamlessly switching between different async implementations (e.g. stackless vs stackful), and simplifies the eventual language specification.

It's true that we're not doing this work right now, but that doesn't mean async is "never coming back", nor that you'll be waiting "till 2028".

[0]: https://github.com/ziglang/zig/issues/23446 [1]: https://github.com/ziglang/zig/blob/async-await-demo/lib/std...
by sph | 2025-06-09 09:40:03+00:00
Yet the !g bang does not work any more.

I get that they want to replace Google, but removing such a bang is user-hostile and I'm unhappy about it for those 2 times a month I need to compare with Google's results.

EDIT: nvm it works iff you add the bang at the start of the query, for some reason.
by dns_snek | 2025-06-09 09:40:25+00:00
A few things off the top of my head:

- an integrated build system that doesn't use multiple separate arcane tools and languages

- slices with known length in Zig vs arrays in C (buffer overflows)

- an explicit optional type that you're forced to check, null pointers aren't* allowed (*when they are, for integrating with C code, the type makes that obviously clear)

- enums, tagged unions and enforced exhaustive checks on "switch" expressions

- error handling is explicit, functions return an error (an enum value) that the caller must handle in some way. In C the function might return some integer to indicate an error which you're allowed to completely ignore. What is missing is a standard way of returning some data with an error that's built into the language (the error-struct-passed-through-parameters pattern feels bolted on, there should be special syntax for it)

- "defer", "errdefer" blocks for cleanup after function returns or errors

- comptime code generation (in Zig) instead of macros, type reflection (@typeInfo and friends)

- caller typically makes decisions about how and where memory is allocated by passing an allocator to libraries

- easier (at least for a noob) to find memory leaks by just using GeneralPurposeAllocator

As someone who's always used higher level languages since I started programming and strongly disliked many of the arcane, counterintuitive things about C and surrounding ecosystem whenever I tried it, Zig finally got me into systems programming in a way that I find enjoyable.
by progx | 2025-06-09 09:43:06+00:00
I don't want to blame you, you have put in a lot of work. My point is, that at the current state, your kanban offers nothing special. It is like the other 1000 kanban boards.

I think you should specialize your board for a selected audience. Not a board for all, that kind of boards we have.

Example: Kanban with special features for game developement. More visual options, images and not only text. Currently there exists only some really overbloated tools.
by anthk | 2025-06-09 09:43:07+00:00
Check Fedora Silveblue, or Kinoite (or the Budgie edition) if you don't like neither KDE nor Gnome. Inmutable OS, it can be set to a rolling channel to get daily updates, you can rollback it from GRUB in case of disasters and, even better, everything non-desktop environment based it's installed from Flatpak and containerized.
by pjmlp | 2025-06-09 09:44:09+00:00
Memory corruption caused by lack of bounds checking, or vocabulary types like the ones provided by SDS and glib.

Microsoft had to come up with SAL during Windows XP SP2, Apple with -fbounds-safety alongside Safe C dialect for iBoot firmware, Oracle with ADI on Solaris/SPARC, Apple's ARM PAC extension, ARM and Microsoft's collaboration on Pluton and CHERI Morello, Apple, Microsoft, Google and Samsung's collaboration on ARM's MTE.

Lots of money being spent on R&D, for something WG14 considers exaggerated.
by rob_c | 2025-06-09 09:46:38+00:00
Then to be blunt, be the change you hope to see in the world.

I work with a few people who do cross disciplinary work (mostly to educate and collaborate with colleagues who are behind in other fields) but this sounds like more of a US phenomena because I'm Europe there's plenty of ways of having such work accounted for, assessed and promoted.

I'm far more worried about the reproducibility crises in a certain hard science than I think I'll ever be about failing to get a promotion on time for taking on a different project.
by cap11235 | 2025-06-09 09:47:04+00:00
I do love the reaction to "here's a tool that can do everything when asked correctly" (ie, a compiler for arbitrary human artifacts), and then not read the manual. I remember a dude on this site complaining that 4o-mini only had superficial opinions of analyzing a particular poem, then it turns out the fellow didn't even supply the LLM with the text of the poem. Then the person's argument is that it is like criticizing someone for their hammer being 2.7mm off center. Utterly ridiculous; LLMs are not psychic, they just have approximate knowledge of many things. People seem to love setting them up to fail. My favorite "demonstration" is showing LLMs messing up doing multiplication of large numbers. If only the LLMs had access to some sort of machine that could do multiplication well...
by rob_c | 2025-06-09 09:49:14+00:00
Much less that and I think this is transitionally and normally is trying to drag (attract) people from scientifically (statistically minded) harder fields into softer ones to help them fix up methodologies, improve their basic stats and maths and even yes computing skills in their departments.

The real benefit comes from scientists who stop using any form of "black box" and either can build all of the tools they're using our at least understand them.
by giovannibajo1 | 2025-06-09 09:49:18+00:00
Uhm can you better explain that? I don’t get it. D3 doesn’t get reset because it’s guaranteed to be 0 at the beginning of each scanline, and the code needs to go through all “scanline blocks” until it finds the one whose Y contains the one specified as argument. It seems to me that each scanline is still self contained and begins logically at X=0 in the “outside” state?
by buran77 | 2025-06-09 09:50:29+00:00
> any loopholes in the rules were put there on purpose

> The true sinners are those who think that they know what God wants better than what He actually passed down as commandments. God knows what He wants and wrote it down exactly like that.

So it's just man who decides "this is a loophole and God wants me to use it". Man decides what God really wants. Man who not only looks for ways around God's word but he also claims God wanted him to do this.

> If you have studied the holy texts deeply enough to find the loophole, that makes you more holy, not less. It's like an easter egg for true believers.

Did God ever say man should look for loopholes, exceptions, or reinterpretation of His word? Did God say what you just said or was it you who thinks that you know what God wants better than what He actually passed down as commandments?
by martin-t | 2025-06-09 09:50:35+00:00
As others have pointed out, such algorithms written by amateurs have been demonstrated to work.

You also assume people are meticulous in taking precautions and never make mistakes. People whose access to information is restricted (such as by the great firewall of china) won't even know stylometry exists.

Even if it doesn't identify all cases, the chilling effect is enough.

Authoritarians are not known for their attention to false positive rates.

---

You didn't even try to address that dissent will be identified before it reaches a sufficiently conscious and intentional level to even consider taking precautions.

Most people don't have alts for normal usage and tying an account to IP to real person is easy for the government. The only difficulty is identifying opponents at scale.

---

Finally, please don't dismiss arguments by employing the "sufficiently snarky comment" technique.
by mlugg | 2025-06-09 09:51:04+00:00
The other comments get the general idea, but here's a slightly more detailed explanation.

Code generation backends in the Zig compiler work by lowering an SSA-like structured IR called AIR to machine code (or actually first to another intermediate data structure called MIR, but don't worry about that). The thing is, AIR is intentionally quite high-level, the intention being that the code emitting AIR (which is complex and difficult to parallelize) doesn't have to waste loads of valuable single-threaded time turning e.g. a single line of Zig code into tens or hundreds of instructions.

However, this approach sort of just moves this work of "expanding" these high-level operations into low-level instructions, from the code producing AIR, into the codegen backend. That's good for compiler performance (and also actually for avoiding spaghetti in the compiler :P), but it makes it much more difficult to write backends, because you need to implement much more complex lowerings, and for a much greater number of operations.

To solve this problem, `Legalize` is a new system we've introduced to the compiler which effectively performs "rewrites" on AIR. The idea is that if a codegen backend doesn't want to support a certain high-level operation, it can set a flag which tells `Legalize` that before sending the AIR to codegen, it should rewrite all occurences of that instruction to a longer string of simpler instructions. This could hugely simplify the task of writing a backend; we don't have that many legalizations implemented right now, but they could, for instance, convert arithmetic on large integer types (e.g. u256) into multiple operations on a "native" integer size (e.g. u64), significantly decreasing the number of integer sizes which you need to handle in order to get a functional backend. The resulting implementation might not emit as efficient machine code as it otherwise should (generally speaking, manually implementing "expansions" like the one I just mentioned in the backend rather than in `Legalize` will lead to better code because the backend can sort of "plan ahead" better), but you can implement it with way less work. Then, if you want, you can gradually extend the list of operations which the backend actually supports directly lowering, and just turn off the corresponding legalizations; so everything works before and after, but you get better code (and possibly slightly faster compilation) from implementing the operation "directly".
by anon-3988 | 2025-06-09 09:51:10+00:00
The difference is between saying '"I want a hammer" and it magically pops in your hand' versus '"I want a hammer" and I have to chop some wood, gather some metals, heat it up...'.

Both gets you a hammer, but I don't think anyone would call the latter magical/divine? I think its only "magical" simply because its incomprehensible...how does a hammer pops into reality? Of course, once we know EXACTLY how that works, then it ceases to be magical.

Even if we take God, if we fully understand how He works, He would no longer be magical/divine. "Oh he created another universe? This is how that works..."

The divinity comes from the fact that it is incomprehensible.
by thrdbndndn | 2025-06-09 09:51:31+00:00
> Fortuitously, almost simultaneously the Multiscreen Corporation was .. > IMAX made an obvious basis for a high-resolution projection system, and so the then-named IMAX Corporation was added ...

I got confused about the name of the company and even Wikipedia seems to be very inconsistent about it [1].

What exactly was it called in 1960s and 70s, "Multiscreen Corporation" or "IMAX Corporation"?

[1] https://en.wikipedia.org/wiki/IMAX_Corporation:

It says:

> IMAX is a Canadian corporation that is based in Mississauga, Ontario. The company was founded in 1967 when three filmmakers—Graeme Ferguson, Roman Kroitor and Robert Kerr—incorporated IMAX Corporation

No mention of "Multiscreen Corporation" other than in the infobox.
by d3ckard | 2025-06-09 09:51:55+00:00
In no way I want to sound demanding/ungrateful, since Zig is free work, but I am mostly interested in some realistic 1.0 timeline.

Zig is pretty much exactly what I would want from low level language, I'm just waiting for it to be stable.

And, of course, kudos - I really appreciate minimalist design philosophy of Zig.
by perching_aix | 2025-06-09 09:52:03+00:00
I really liked how the story starts with not wanting to introduce captcha because it hurts real users, then continues to spend the next 80% of it covering how open registrations and the public timeline were down for however long, extremely negatively impacting users.

Still, fun read though. Also made me definitively realize I can't imagine myself hosting a community space for others online.
by lmm | 2025-06-09 09:53:12+00:00
Monorails are somewhat cheaper than elevated trains (if you don't have extreme disabled-evacuation laws) but more expensive than a conventional train at ground level, and junctions are a nightmare. So they only work where you have a single isolated line and would need to elevate most of the track anyway (and suspended rather than straddle-beam improves cornering performance but at a cost, so is only worth it if your route has many sharp corners as well).

For Wuppertal, where the town is pretty linear along a river valley, it works. (Even then, a straddle-beam monorail would probably be more cost-efficient if you were starting from scratch). For most places it doesn't.
by wahnfrieden | 2025-06-09 09:55:47+00:00
Others have found that CalAI likely uses Gemini 1.5 (not sure which variant) which is used because it's very cheap, not for its accuracy.

I understand the fundamental issues with calorie counting via photo analysis/LLM. However these articles would be more interesting if they included comparison with results from actual cutting-edge LLMs, rather than the budget models. I acknowledge that apps don't use these models though to protect margins and lower cost.

Also:

> Cameras capture two-dimensional images of three-dimensional objects.

iPhone camera captures depth, too. I don't think it's being used in CalAI though. This article is more about current commercialized solutions rather than analysis of state of the art capability.
by Daedren | 2025-06-09 09:57:29+00:00
>and what developers choose to do.

I disagree. Developers are VERY strongly encouraged by Apple to move their minimum deployment versions up.

New APIs and frameworks are never backported (Swift Concurrency and the COVID tracking API were notable exceptions), and additionally if you dipped your feet into SwiftUI, you've essentially jumped into river rapids. Despite its age at this point, SwiftUI is still very immature, and all the new stuff to fix its holes requires you to jump up versions or fall back to UIKit.
by neoromantique | 2025-06-09 09:58:58+00:00
This user has a "staff" badge and is credited a lot in changelogs.

https://s3.gtw.lt/v42aeA8QI0WiBtX9z25HMKqf.png

If the company truly had best search results in mind, they would allow an opt-out for the questionable indexes, instead they doubled down and lost all respect and more importantly trust in my eyes.
by zargon | 2025-06-09 09:59:13+00:00
> I feel that the GPU is still the bottleneck here, not the bus performance.

PCIe bus performance is basically irrelevant.

> Token generation is completely on the card using the memory on the card, without any bus IO at all, no?

Right. But the GPU can't instantaneously access data in VRAM. It has to be copied from VRAM to GPU registers first. For every token, the entire contents of VRAM has to be copied to the GPU to be computed. It's a memory-bound process.

Right now there's about an 8x difference in memory bandwidth between low-end and high-end consumer cards (e.g., 4060 Ti vs 5090). Moving up to a B200 more than doubles that performance again.
by olq_plo | 2025-06-09 09:59:48+00:00
IANAL, but it means the commit itself is public domain. When integrated into a code base with a more restrictive license, you can still use that isolated snippet in whatever way you want.

More interesting question is whether one could remove the GPL restrictions on public code by telling AI to rewrite the code from scratch, providing only the behavior of the code.

This could be accomplished by making AI generate a comprehensive test suite first, and then let it write the code of the app seeing only the test suite.
by cap11235 | 2025-06-09 10:01:59+00:00
Yeah, my primary usage pattern for it is purely autonomous for new feature development. I have Claude iterate on a prompt for itself a lot, asking me questions as it goes, then after, I can just say generic things like "Do the thing", "Continue", "Check the repo" and it does the thing, based on R/W Todo and my larger scale todo list for implementation. Also, Claude does have a github action (not that I've tried it though).
by Haeuserschlucht | 2025-06-09 10:02:39+00:00
Whenever I mentioned that in forums, people were extremely hostile as they knew they were wasting their time and instead of getting praise for useless optimization and eye candy, they got a well intended reality check. I stopped after a while because people never stopped posting this kind of rubbish.

The real question is: what is a good use of your lifetime and isn't everything just some sort of procrastination till you die?
by sebnun | 2025-06-09 10:03:12+00:00
I started a software Youtube channel 2 days ago [1], so I went down the rabbit hole of finding the best tools, best way to record, etc.

I first thought of using a presentation tool like keynote, but it can be limiting if you want to make more complex content, like showing browser tabs, drawing diagrams, etc.

If your content is more technical, I think is best to just record your screen and show the command line or editor. Most people use OBS to record the screen and show your face at the same time. You can explain things with a diagram tool like excalidraw. Theprimeagen and "Theo - t3․gg" work that way, they first make a live stream, then edit that stream into a Youtube video.

> where can I find royalty free music and clips

If your content is more "infotainment" like Fireship, he explains his way of making videos here [2] and this video also goes into his process more [3]

[1] https://www.youtube.com/watch?v=F_WM0lJU6GY

[2] https://www.youtube.com/watch?v=N6-Q2dgodLs

[3] https://www.youtube.com/watch?v=XRoSBWYMefY
Show HN: SDFY: Fast 2D Vector Shapes and Shadows with Signed Distance Functions
by elcritch | 2025-06-09 10:04:05+00:00
SDFY is weekend project I made using signed distance functions and some SIMD to quickly rasterize vector shapes and shadows for GUIs. Rendering drop and inset shadows is a relatively slow process using a standard 2D gaussian blur. Not being happy with the performance of existing renderers I made my own way.
by perching_aix | 2025-06-09 10:04:39+00:00
How many times a day and how many unique food items does one need to eat to continually remain so hopelessly unfamiliar with their caloric intake that they need an app to track it?

What role can AI possibly have in this, when all you need to do is either turn around the packaging or do a web search for the dish you cook to get a number?
by marcus_holmes | 2025-06-09 10:05:36+00:00
Same. Happy Kagi user, and very happy to pay for search now I've tried it.

Hopefully, now that they've proven that you can create a profitable company from doing this, more will follow and we'll get a proper ecosystem.

Like others, I'd prefer to see Kagi succeed at being the best possible search engine and nothing else, than try and do the Google thing and do everything.