Better HN
topnewbestaskshowjobs
Log inSign up

plq

1,368 karma · joined Apr 2, 2010 (16y ago) · 412 submissions

github.com/plq ext-hn@burakarslan.com
Submissions

comment 1d ago · link · parent

GTA 5 had a similar thing in its ending though. It showed you a personal profile of yours to lure you into GTA Online.

eg. https://www.youtube.com/watch?v=USyemN7y8kw

comment 1mo ago · link · parent

> Quake II (a slight improvement over Quake)

That colored lighting, though.

comment 1mo ago · link · parent

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...

comment 1mo ago · link · parent

Haha so this project speaks IRC, no less :) This is surely relevant then: https://www.mirc.com/split.html

comment 5mo ago · link · parent

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?

comment 5mo ago · link · parent

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.

comment 7mo ago · link · parent

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.

comment 9mo ago · link · parent

Certificates need expiration dates to be able to garbage collect certificate revocation lists.

comment 10mo ago · link · parent

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.

comment 10mo ago · link · parent

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

comment 11mo ago · link · parent

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

comment 1y ago · link · parent

ICE meaning in-circuit emulator in this instance, I assume?

comment 1y ago · link · parent

The (non-existing) license doesn't say it was to be "published in the web"

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

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)

comment 1y ago · link · parent

%70 faster = you wait less

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

comment 1y ago · link · parent

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...

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

> 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))

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Unless you mutter the magic incantation "C compatibility" while doing it

comment 1y ago · link · parent

"Force" upgrades? What do you mean?

comment 1y ago · link · parent

https://explainxkcd.com/3081

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

To my knowledge, meili is free software (MIT license) so theoretically, it should be possible to embed it to an IOS app.

comment 2y ago · link · parent

Why not?
12345
14