HNHacker News
TopNewBestAskShowJobs

plq

1,366 karma · joined April 2, 2010

github.com/plq ext-hn@burakarslan.com
submissionscomments
plq··on I Love Software Rendering
> Quake II (a slight improvement over Quake)

That colored lighting, though.

plq··on MXC - a sandboxed code execution system
Both Firefox and Chromium have battle-tested cross-platform sandbox implementations, but I imagine it'd be laborious to integrate them as a third-party dependency to other projects. Why not spend resources on repackaging them in an easy-to-use SDK instead of reinventing the wheel?

Microsoft is already a Chromium contributor so it's not like they lack in-house expertise or something.

https://wiki.mozilla.org/Security/Sandbox

https://chromium.googlesource.com/chromium/src/+/HEAD/docs/d...

plq··on Parley: Federated, decentralised chat that speaks plain IRC
Haha so this project speaks IRC, no less :) This is surely relevant then: https://www.mirc.com/split.html
plq··on Software is made between commits
With Gerrit, you have the patch that lands on master and then you have the stages that that patch went through to get to that point, reviews on older versions of the patch, etc. all recorded in the web interface.

So maybe just switch to a code review tool and use its interface to converse with the bots?

plq··on Show HN: FablePool – pool money behind a prompt, and Fable builds it in public
I don't get this. No I did not write that code but I paid money to eg. Anthropic to buy that code. To me it sounds like I own it just the same.
plq··on Ninja is a small build system with a focus on speed
ninja supports separate build groups and different max number of parallel jobs for each. CMake's ninja generator puts compilation and linking steps in their own respective groups. End result is by default `nproc` parallel jobs for compilation but 1 job for linking. This helps because linking can be way more memory intensive or sometimes the linker itself has support for parallelism. Most projects have only a handful of linking steps to run anyway.
plq··on 27-year-old Apple iBooks can connect to Wi-Fi and download official updates
Certificates need expiration dates to be able to garbage collect certificate revocation lists.
plq··on Jeffgeerling.com has been migrated to Hugo
Sure but you have to learn to use it. I'm saying that just have AI generate a SvelteKit project instead and you'll get better mileage out of it.
plq··on Jeffgeerling.com has been migrated to Hugo
My impression is that tools that grew complex only because they want to serve every use case under the son got obsoleted by AI, and static site generators like Hugo are a good example.

Today, if I were setting up a blog to host just some text and images, a vibe-coded SvelteKit project using the static adapter[1] would easily solve every single problem that I have. And I would still be able to use the full power of the web platform if I need anything further customized.

[1]: https://svelte.dev/docs/kit/adapter-static

plq··on How well do you know C++ auto type deduction?
Type inference is when you try to infer a type from its usage. ``auto`` does no such thing, it just copies a known type from source to target. Target has no influence over source's type.

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

plq··on We stopped roadmap work for a week and fixed bugs
ICE meaning in-circuit emulator in this instance, I assume?
plq··on App Store web has exposed all its source code
The (non-existing) license doesn't say it was to be "published in the web"
plq··on Nostr and ATProto (2024)
> What's stopping the rogue node from saving all your stuff forever?

Nothing. You must always have this in mind when posting online: It's impossible to ensure that data is deleted and gone forever.

plq··on lsr: ls with io_uring
> Again, this just isn't true.

Again, it just is true.

More fs-related operations mean less kthreads available for others. More syscalls means more OS overhead. It's that simple.

plq··on lsr: ls with io_uring
More system calls mean more overall OS overhead eg. more context switches, or as you say more contention on internal locks etc.

Also, more fs-related system calls mean less available kernel threads to process these system calls. eg. XFS can paralellize mutations only up to its number of allocation groups (agcount)

plq··on lsr: ls with io_uring
%70 faster = you wait less

35x less system calls = others wait less for the kernel to handle their system calls

plq··on Reading Neuromancer for the first time in 2025
Ursula K. Leguin has a thought-provoking piece in this vein about why she wrote sci-fi:

https://web.archive.org/web/20191119030142/http://theliterar...

EDIT: Here's a better link: https://archive.org/details/dreams-must-explain-themsel-z-li...

plq··on Reading Neuromancer for the first time in 2025
Man, I loved Neuromancer when I read it as a kid. Yes, it's a tough book to read, especially today where there are too many distractions as well as too many works of art built on the sci-fi ideas of that era.

Neuromancer is the first installment of the Sprawl trilogy, followed by Count Zero and Mona Lisa Overdrive.

So trying not to spoil too much: Count Zero asks questions about / describes how AI could have influence over religious/spiritual life of humans.

Will we see AI preachers having a real influence on human religious life? ChatGPT the prophet? Maybe this is the real danger of today's nascent AI tech?

plq··on Jank is C++
> the lack of standardization for name-mangling

I don't see the point of standardizing name mangling. Imagine there is a standard, now you need to standardize the memory layout of every single class found in the standard library. Without that, instead of failing at link-time, your hypothetical program would break in ugly ways while running because eg two functions that invoke one other have differing opinions about where exactly the length of a std::string can be found in the memory.

plq··on NativeJIT: A C++ expression –> x64 JIT (2018)
> So whilst the result isn't a direct multiplication it should still be an acceptable use since the resulting code will actually be doing multiplications.

First, nope, if it's not multiplication it should not be using the * operator, period. Operator overloading is already overused and it leads to so much problematic code that looks fine to the untrained eye (string concat using operator+ being a famous example).

That said, you may also want to pass more options to the Mul node in the future and operator*() can only accept two arguments.

As another example, run the following Python code to see how python represents its own AST:

    import ast;print(ast.dump(ast.parse("2*PI*r*r"),indent=2))
plq··on NativeJIT: A C++ expression –> x64 JIT (2018)
This line is part of the code that creates an AST-like structure that is then fed into the compiler. The actual multiplication is done by calling the function handle returned from the Compile method.
plq··on In-Memory C++ Leap in Blockchain Analysis
When implementing the lock-free stuff, was portability (across processors) a goal? If yes, did you have to deal with anything specific? Do you notice any difference in behavior of correct implementations when ran on different processors? How do you test for correctness of lock-free stuff?

EDIT: Oh and did you implement from scratch? Why not use eg. the RCU implementation from folly?

plq··on Occurences of swearing in the Linux kernel source code over time
AFAICT the consensus is to say that an uninitialized variable (eg. int i;) has "garbage value". I'd say it's rather a technical term than profanity.
plq··on Simplest C++ Callback, from SumatraPDF
Unless you mutter the magic incantation "C compatibility" while doing it
plq··on Google is hurting new apps that have less users than competitors
"Force" upgrades? What do you mean?
plq··on PhD Timeline
https://explainxkcd.com/3081
plq··on Mpv – A free, open-source, and cross-platform media player
Quote from that thread:

> It can be added in theory, but there would be certain problems. Like said earlier codec frame access is very problematic (I, P and B frames), because in worst case scenario you have to decode about 248 sequential Full HD H.264 frames before you can get previous image (so there will be major LAG).

Having used the 'previous frame' feature in mpv, I suspect this is exactly how it's implemented.

plq··on SQLite FTS5 Extension
To my knowledge, meili is free software (MIT license) so theoretically, it should be possible to embed it to an IOS app.
plq··on SQLite FTS5 Extension
Why not?
plq··on Microfeatures I love in blogs and personal websites
What if there were a standard <BlogEntry> object that everybody rendered to their taste? To some, these are nice features, to others it's just bloat that causes a 5mb download for 1kb of text.
Page 1 of 13Next →