News for hackers. Stuff that matters.

nwlieb

The EU age verification system requires tying yourself to Google/Apple [0] (ie will not work with GrapheneOS) which is a non-starter. This means you will need a mandatory Google/Apple account. What if your Google account gets banned?

[0] https://github.com/eu-digital-identity-wallet/av-doc-technic...

More information here about how the implementation enforces a Google/Apple duopoly: https://github.com/eu-digital-identity-wallet/av-doc-technic...
Have you tried the OpenAI deep research in the past week or so? It's been updated to use 5.2 https://x.com/OpenAI/status/2021299935678026168

(I work at OpenAI, but on the infra side of things not on models)

Re:Understanding C++ Ownership System on Monday January 19, 2026 @04:35PM (#46684813)
Yes: https://m.youtube.com/watch?v=xt1KNDmOYqA

Title: “ Casey Muratori | Smart-Pointers, RAII, ZII? Becoming an N+2 programmer”

Re:0+0 > 0: C++ thread-local storage performance on Monday February 17, 2025 @01:57PM (#43082133)
One concern with PTWRITE is that it is somewhat "slow," at least according to this: https://community.intel.com/t5/Processors/Intel-Processor-Tr...

I wonder if this is a general issue relating to memory ordering or out-of-order execution, or whether this can be implemented more efficiently in a different extension.

Thank you for the linked article! Agreed on the huge potential for using these tools in production. The community could definitely benefit (even indirectly) by pushing for this kind of instruction set more widely.

Re:0+0 > 0: C++ thread-local storage performance on Monday February 17, 2025 @01:30PM (#43081884)
Known users:

- LTTng tracer

- tcmalloc

Curious if there are other prominent users of rseq.

Re:0+0 > 0: C++ thread-local storage performance on Monday February 17, 2025 @01:24PM (#43081829)
Hi, love the article. You mention in the article that a hardware mechanism for tracing should exist -- have you investigated the intel_pt (processor trace) extension? I believe this uses hardware buffers and supports timestamping & cycle counters (at somewhat larger than instruction granularity sadly, although it might issue forced stamps at on branches, not sure).

You can also use the PTWRITE instruction to attach metadata to the stream which seems very powerful.

Hope we can see such an extension on AMD as well.

Re:Boehm-Demers-Weiser conservative C/C++ Garbage Collector on Sunday January 21, 2024 @04:13PM (#39083132)
There's some ambiguity for argument destruction order for example: https://stackoverflow.com/a/36992250

Similarly, the construction/destruction order for std::tuple elements is not well defined.

Granted, that's implementation defined behavior, which is technically deterministic on a single compiler.

Re:Ranking by Engagement on Sunday May 14, 2023 @06:39PM (#35941993)
Say I wanted to rank my own personal collection of songs by retention/engagement— are there any open source libraries or crisp descriptions of algorithms/statistical models that one could use?
The runtime is quadratic for a given context size, although it seems like there is some progress on this front https://gwern.net/note/attention
Re:Why do arrays start at 0? on Wednesday August 24, 2022 @01:29PM (#32582780)
Is `(x - 1)` not a runtime cost if `x` is a runtime variable?
Re:2020 Mac Mini – Putting Apple Silicon M1 To The Test on Tuesday November 17, 2020 @12:53PM (#25126963)
Is this a 1-1 comparison? If the ARM compile is compiling to ARM binaries then there might be less work/optimizations since it is a newer architecture. Seems like a test with two variables that changed. Would be interesting to see them both cross-compile to their respective opposite archs.
Re:A hybrid thread / fiber task scheduler written in C++ 11 on Sunday February 09, 2020 @05:43PM (#22284847)
Could you describe what makes the Google Fibers so nice?

I'm also really curious why they require modifications to the Linux kernel. My first guess would be stronger integration with the IO model at the syscall boundary (similar to io_uring).

Edit: is this the talk your referring to? https://www.youtube.com/watch?v=KXuZi9aeGTw

Re:Understanding Disk Usage in Linux on Thursday September 26, 2019 @03:50PM (#21084781)
Related: is it possible to reliably maintain physical disk space quotas in Linux (similar to cgroups)?

Furthermore, is it possible to say how much "space" you would use if you were to create a file with a given size, accounting for block-size, fragmentation, and metadata? Matters such as block-size, inode usage, and metadata seem to make this very difficult even if you add special integration to the userspace application, for example by using stat or statfs. This could help prevent quota overruns for example.

These seem like hard problems unfortunately, and I suspect the best solution is to just create separate disk partitions for each quota group.

Re:An introduction to deterministic builds with C/C++ on Monday September 02, 2019 @09:45PM (#20863077)
In my experience this is only true for C/C++ (with a decent amount of work to setup CROSSTOOL properly). As soon as you start to get into Python, and Python<->C++ interop, it becomes very leaky.

I heard that Google has some tools internally that build the Python interpreter with Bazel and use that in order to guarantee hermeticity, but that doesn't seem to be possible with public tooling (at least not without some major hacks, for example https://github.com/bazelbuild/bazel/issues/4286 )

It would be interesting to see how Google manages languages such as Python at scale (and other languages that have similarly leaky package management).

What is an example of a 3-space embedding or interesting literature? I'm having difficulties googling the term.
Some FANGs definitely use Arista/Cisco. As far as I know white box hardware is mostly for top of the rack switches (as opposed to backbone infra).
Some CPU heavy operations like crypto are not put in a threadpool. While it may be running C code, it will block the main thread while executing. See https://github.com/nodejs/node/issues/678

Perhaps the new worker threads may alleviate this, but I'm not sure (it's still an experimental API).

Re:New Dell XPS 13 developer edition now available on Wednesday January 23, 2019 @01:50PM (#18981303)
Why is the 16GB RAM + FHD screen (1080p) variant not available in the US and Canada? It seems like this has been a long-standing issue since at least the 9360.

This is very frustrating since I don't need the 4k panel (in fact I don't want it for resolution scaling reasons) however I absolutely do need the 16GB of RAM.

Mind boggling.

The majority of the userspace is not in python, but binaries. None of the magic is in the asics (which are commodity Broadcom).
I'm very curious, what pain did you see with the repo.py tool?
This is fantastic! The biggest standout feature in my opinion is workspaces. I've been using workspaces on a client project with many sub-projects and it has been a pleasure.

Shared modularized code without creating private npm packages or doing some "linking" magic has been wonderful for productivity. It's as simple as creating another local package and symatically everything else has remained the same as a regular npm package, plus the benefits of having immediately updating code. For anyone with a large modular codebase wanting to forray into a monorepo approach I highly recommend checking it out. They also released a blog post here detailing the feature: https://yarnpkg.com/blog/2017/08/02/introducing-workspaces/

Re:Building Better Interfaces with SVG (2015) on Monday January 09, 2017 @12:24AM (#13354210)
Info on typescript+d3 would be really nice. With the large scope of d3, a little auto-complete would go a long way for a beginner like me.