News for hackers. Stuff that matters.

mbel

Re:How the Claude Code team does code review on Saturday October 17, 2026 @09:06AM (#50130827)
Or we’re just getting used to it.
Re:Everything in C is undefined behavior on Wednesday May 20, 2026 @04:52AM (#48204881)
Unless your code targets some exotic architecture, like idk x86.
Re:Meta acquires Moltbook on Wednesday March 11, 2026 @06:05AM (#47333683)
Yeah, totally, just one more year.
Re:Scientists Discover Oldest Poison, on 60k-Year-Old Arrows on Saturday January 10, 2026 @04:43AM (#46564256)
Nobody would say „trujący wąż” (poisonous snake) or „jadowity grzyb” (venomous mushroom). The distinction is similar to English. There are exceptions and contexts where it can be used interchangeably but arguably the same is true for English.
Re:Scientists Discover Oldest Poison, on 60k-Year-Old Arrows on Friday January 09, 2026 @08:55PM (#46561955)
Not really, we have both „jad” (venom) and „trucizna” (poison).
Re:Clicks Communicator on Friday January 02, 2026 @06:29PM (#46470802)
The primary use case that I can see is following: you use your second phone — the communicator — to chat, while watching endless stream of tiktoks/reels/shorts on the first one.
Re:I've been writing ring buffers wrong all these years (2016) on Thursday December 18, 2025 @05:56PM (#46319984)
> In terms of CPU? The other way around.

That depends on your architecture and access pattern. In case of sequential access, packed bools may perform better due to arithmetic being usually way cheaper than memory operations.

Re:Apt Rust requirement raises questions on Tuesday November 25, 2025 @10:54AM (#46047020)
> It’s less simple than many systems languages because it has a very strong type system.

I don’t think that’s the case, somehow most ML derived languages ended up with stronger type system and cleaner syntax.

Re:I spent the day teaching seniors how to use an iPhone on Friday October 03, 2025 @01:25PM (#45465372)
In this case there is both time a distance limit to the gesture. If the gesture is too fast the switcher won’t appear even if the distance was long enough.

That said, personally I’ve always found the gesture navigation very intuitive.

It feels like a stretch to call this a parser. It’s looks like a typical lexer?
Probably the compilation time is better than it would be with LLVM. On the other hand I doubt that codegen and therefore performance is on par with LLVM.

Definitely a weird thing to advertise.

Re:Open-source interactive C tutorial in the browser on Sunday April 27, 2025 @10:57AM (#43812385)
This is mostly an issue with MSVC which refuses to become compliant with c99 standard. Their support for c11 and c17 also has some gaps around features that were introduced in c99.
Most popular languages would prevent this. In this case it’s as simple as having more sensible reader API than sscanf in standard library and forcing variables to be initialized.
Re:C++: terser (shorter) lambda == SHORTY (ab-use?) on Saturday April 12, 2025 @07:04AM (#43663351)
To be honest the implementation looks surprisingly readable… at least compared to other horrors like the standard library implementation.

While there are some new rules regarding arguments naming, the new syntax doesn’t feel more complex than the default lambda syntax.

So all in all I would say the most horrifying thing here is the fact that the language allows such extensions in the first place ;)

Re:Performance of the Python 3.14 tail-call interpreter on Monday March 10, 2025 @09:33AM (#43320422)
It's explained under the first link from the article [0]:

"A new type of interpreter has been added to CPython. It uses tail calls between small C functions that implement individual Python opcodes, rather than one large C case statement."

[0] https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-...

Yup, they most likely do. After all everything is LLVM based nowadays.
Re:A Minimalist TypeScript for C on Thursday January 23, 2025 @07:42AM (#42803408)
It seems to work similarly as in C, i.e. you call malloc manually, there is some form of automatic size deduction though:

https://github.com/galileolajara/cp1/blob/main/examples/04-v...

Re:Ask HN: Resources for GPU Compilers? on Friday September 06, 2024 @05:02AM (#41464326)
For Intel you can just look into sources: https://github.com/intel/intel-graphics-compiler ;) Also AMDGPU and NVPTX targets in LLVM might be interesting.
Re:OpenAI postmortem – Unexpected responses from ChatGPT on Thursday February 22, 2024 @03:04AM (#39464465)
Standard word which implies some level of analysis into causes of the incident. This brief note doesn’t live up to industry practice either.
It's not. 0x8000 is the smallest (-32,768) integer that can be represented with 16-bits and two's complement.
I see, thanks for clarification! I glanced though their website and expected a standard set of features including IMAP.
It’s an email service, the app isn’t really needed.
Re:Make-A-Video: AI system that generates videos from text on Thursday September 29, 2022 @03:15PM (#33025656)
Here's an attempt at doing that: https://dreamfusionpaper.github.io/
Re:Show HN: C3 – A C alternative that looks like C on Thursday July 07, 2022 @03:32AM (#32010939)
Using intrinsics is much more sensible option than dropping to inline asm. Each CPU with SIMD or any kind of specialised instructions provides an intrinsics library for C.
Interesting that CSV is supported but XML is missing. Is it finally dead?
Re:Pronouncing non-English names for English speakers on Monday July 26, 2021 @06:53AM (#27957934)
There is, it’s called „dialekt małopolski” ;)
Cathedral 3-D (https://store.steampowered.com/app/1091590/Cathedral_3D/). It's a retro-ish FPS, basically an arena shooter where you have to survive incoming waves of enemies.

It's using my custom game engine, that was developed from scratch in C, the only dependencies are SDL2 and OpenGL. The engine and game were developed for the last 6 or so years (with breaks) in the evenings/weekends as my evergreen side project. The game was released last Halloween. I still support the game with patches after the release (both new features and fixes), one of them is expected to come out very soon. And to be honest I plan to do so in coming years. I was fun to develop and still is.

The first one obviously.
Re:Pinscreen Deepfake Live Prototype [video] on Monday January 27, 2020 @07:43AM (#22158762)
While it's true that there are some artifacts, I think that they can be mitigated with some tricks like: avoiding sudden head movements by the actor or artificially decreasing the quality of the video. Low quality photos of big foot entertained people for years.

I generally agree though that with time we will learn to see red flags like this and treat video as probably fake.

Re:Pinscreen Deepfake Live Prototype [video] on Monday January 27, 2020 @07:37AM (#22158735)
With deep fakes easily available I believe the pornographic video material ultimately will have the same weight as a rumor, it's somewhat true for photos today. We definitely need a common way to propagate trusted information, but keeping videos as absolutely trustworthy is not possible anymore.

Older »