4,342 karma · joined Sep 15, 2016 (10y ago) · 2,202 submissions
You can contact me at hn at mayeul dot net
I live in France, working for a semiconductor company.
comment 4d ago · link · parent
Docs: https://www.kernel.org/doc/html/latest/admin-guide/mm/multig...
In practice I think you may still want a userspace OOM killer that knows a bit more about what processes are preferable to kill.
comment 1w ago · link · parent
There would indeed be many holes to plug, especially when considering side-channel attacks.
Thank you for the answer, this is interesting, and fuels my reflection. I had not considered some of the most common leak vectors. It seems that the main risk is that almost every API surface may get tainted fairly quickly.
To take an example: Changes to the DOM could taint that part of the DOM, and if these specific elements are accessed by another context, that would taint the context. But to reduce the collateral damage, one would need deep integration: only adding or removing elements should affect the length attribute, only the changed part of a str could be tainted, etc. That said, it might not be that complex to implement: assuming an attribute is computed by walking a list, the taint should be applied when crossing the modified boundary. If it's stored when the change occurs, it should be tainted directly.
I guess that only a prototype + corpus would give definitive answers.
The second idea I had in mind was more complex: when detecting that a tainted context is about to perform a network request, replay the context using non-fingerprinting data. Obviously it would have a performance cost. An alternative could be: every time a context get tainted, "fork" it and perform changes both in the real context and in a "parallel universe" with dummy data: use this dummy context when sending back data.
Anyway, they are just ideas. I am not in the browser space but if I was, I'd probably ask an agent to run some experiments with this.
comment 1w ago · link · parent
Of course, there are legitimate use-cases: downloading specific assets based on client device, etc. And that's a whole can of worms of side channels to open, but that would feel like a useful additional layer of defense, and the paranoia level could be configured. The price might be subtle bugs, and/or a permission dialog that most people will ignore.
I am asking this as, from what I've seen, most websites do not need complex interactions: the battery level will be used to render a battery indicator, etc. XHRs do not usually depend on such data.
comment 2w ago · link · parent
Now, please vibecode me a winxp directx driver that serializes calls to its wasm counterpart, to enable graphics acceleration for such VMs. Sounds highly doable: virgl, virtio-gpu and Venus exist. Might be even simpler to do it for Vulkan and port dxvk to XP.
comment 2w ago · link · parent
Looking a bit more into it, they are now selling the game again, with some track removed (notably "space oddity").
NFSU2 is known for its iconic music, so I am not sure they could sell copies without at least some of the more iconic original music.
comment 2w ago · link · parent
I do find it legally dubious to also host the assets, but at least they make it easy to jump in.
Free roam with online players is such a great concept! However, playing in the browser is not ideal. Are the extra features (name claims, multiplayer free roam, etc) available in a native version? It is unclear to me whether https://github.com/TalhaMudo/NFSU2Recomp includes these extra goodies.
A relatively good resource to discover game recompilations is https://recomp.gg/, but there is no obvious way to contribute, and no search functionalityy.
comment 3w ago · link · parent
Now, in my opinon, the major issue with opening a business (regardless of the country) is that it is costly to do so, even if there are tax and state incentives. It's much easier to create a startup when seed funding is available.
comment 3w ago · link · parent
Given that the content providers (CDNs) are targeted, that would incentivize p2p. P2P networks are already employed by Microsoft to distribute updates, for instance.
What about CDNs? The article mention Valve, but their traffic comes from Akamai.
In any case, I would be surprised if this law ends up being adopted.
comment 3w ago · link · parent
Here, I would tend to make a tab group per activity (so all products contained inside), so it is not too useful, but at least that allows me to collapse children tabs. It is also nice to be able to close the group and reopen it later.
Overall, I am fairly satisfied by TreeStyleTabs, but the extension must have a memory leak as it tends to use gigabytes of RAM.
Tab groups are available on Firefox mobile, but they have a major deficiency: new tabs are not opened in the same group, so I cannot have, say, a HN group with comments and websites automatically added to it, so the overhead of adding them manually is too high.
comment 3w ago · link · parent
I imagine that is shouldn't be too complicated to support more HW in the agentic age.
comment 3w ago · link · parent
The output trace needs to be impedance-controlled, but it could be a regular GPIO, or an external antenna connector/footprint.
comment 4w ago · link · parent
I am a tab hoarder. It's usually because a task requires me to open a dozen tab, and I may have multiple tasks, including ones I intend to come back to later, if I ever have the time.
And no, I do not really have more cognitive ability. Or at least certainly not to the point where I can remember each tab.
I wish I had another way to visualize them. A mind map would be ideal, this is also why I like tab groups and tree-style tabs.
Let's pick an example: I am looking for a product (could be a car, screen, mouse, etc). I explore the product space, perform a wide search first to identify candidates. ~10 tabs. Then I make a short list. 5-15 tabs. For each, I will look at datasheets, reviews, manuals, search for common issues, availability of spare parts, etc. Dozens of tabs per product, but I will close most of these, and leave the most salient ones open. Prune the whole product from the tree if I can eliminate it. And so on (availability at retailers, second hand stores, etc), until the task is done.
Obviously the depth will vary from one task to another, but this is how I usually work on any topic, including literature review. So I only have "root nodes" with the next 20-ish tabs related to it. I don't mind archiving and restoring a tree later, but "out of sight, out of mind", and having them visible reminds me of the tasks in flight.
There are probably more effective ways to work, including spreadsheets (I use them when there is a lot of data to track), but browsers aren't bad at handling that many tabs, usually. Though I also tend to leave a huge quantity of tabs open on my phone: half-read articles that I intend to come back to. Wallabag may help there?
I would conclude by saying it's probably (bad?) habits, a locally optimum workflow, I should expend some energy to try a better approach.
Anyway, your two links are now sitting in my open tabs, hopefully I will come back to them at some point :)
comment 1mo ago · link · parent
Admittedly, it isn't that useful anymore. Missiles can reach that altitude fairly easily, so it does not provide increased survivability anymore, and spy satellites, though less mobile, are more useful for day-to-day operations. But it is still a fairly unique capability.
I'm sure that wasn't the focus of the design, but I can also imagine that its balsa wood structure provides a lower radar cross section as well. (Edit: I made a mistake: looks like it's made of aluminum, not wood. Probably had another plane in mind)
An interesting anecdote was this interception of a U-2 over France in 1967 by a rocket-assisted Mirage. The pilot photographed the U.2 with a hand-operated civilian camera, leading to a diplomatic incident: https://theaviationgeekclub.com/that-time-a-rocket-booster-e...
comment 1mo ago · link · parent
The USA certainly have the "best" (according to some metrics) economy in the world, but the reasons are complex, diverse, and mainly historical.
I will concede that some areas see fewer regulations, leading to a leaner permitting process (though it has consequences on road safety, environment pollution and gun safety, for instance).
However, it is hard to predict the future, and I am unsure if your last point will stand the test of time. For instance, if/when the AI bubble pop, the USA job market will probably suffer more than others. It is tempting to always see greener grass elsewhere, but Europe isn't in such a bad position compared to the USA.
comment 1mo ago · link · parent
For instance, decreasing distance increases capacitance (thankfully, imagine the capacitive parasitics Voyager 2 would induce into all of our electronics otherwise... I'm taking a ridiculous example, but the claim is ridiculous too). On the very same diagram, it shows two capacitor values changing, but those would be connected in parallel, so you would get a constant value at the end: the structure as presented is wrong, though it has the correct idea: inertia in a mass-spring system, readout (usually) via capacitance change.
So yeah it works, but if you don't know these devices already, you can't really tell what is accurate. The Wikipedia article is more accurate.
comment 1mo ago · link · parent
You would need a juicy target, easy to procure for cheap for the effort to make sense.
It's probably doable, though I suspect that more recent models are probably better protected against that sort of attack. These are performance-oriented chips though, not security-oriented, so they probably make a few compromises. They may also use chiplets with a more secure "secure element", I have no idea (though you still need to communicate with it).
I don't think I've seen anyone attempt it, so it may be that they haven't specifically hardened their designs against these attacks.
Then comes the question of practicality: would you solder a "modchip" to your GPU? It may even be hard to reach the correct spot without interfering with cooling.
I would bet that this is doable with the same setup as the RP2350 hack, but that requires drilling into the specific chip that you are targeting, so great, but not very useful: there probably aren't many secrets to extract, you could decrypt the BIOS (I thought these were just signed with asymmetric keys?) and try to find an exploit in the code there, I guess. But this specific technique is not useful for putting your own firmware then using the chip.
Anyway, it's probably doable to glitch the power supply of some mid-to-late 2010s nvidia GPUs to have it accept custom BIOSes, though graphics card are specifically designed to keep the power supply stable, so you would have to desolder a lot of capacitors (and reconnect them after startup is finished?).
comment 1mo ago · link · parent
Using a gyroscope, you can look at it an hour after starting it, and understand how your orientation changed. Using a gyrometers, you need to continuously integrate the result (including the measurement error) to get your orientation: it's far less precise and tends to drift. Both laser and mems gyrometers suffer from this.
Besides this, the video is full of slop and likely AI-narrated. Someone mentioned the bacteria bit, I can also mention the weird-looking PCB image, where traces do not connect correctly to the chip.
comment 1mo ago · link · parent
Homebrew software had been a driving force behind consoles being hacked in the past. The console is obviously more secure, but they also removed some incentives.
comment 1mo ago · link · parent
And it is true, but the capability was already quite cheap in 2017 and before: fx2 chips can do quite a lot, for instance.
I hope Bunnie's Baochip BIO approach will take off in microcontrollers, making that sort of feature more ubiquitous. You can do a lot of things with an ESP32 for instance, but the RP2040 still has an edge for I/O.
Also missed the opportunity to mention that the RP2350 itself had its protection defeated by fault injection.
Lastly, side channels and fault injection attacks are highly viable for mid-2010 and earlier hardware, but chip designs are hardening against them, for instance forcing a reboot when a glitch is detected. This makes current and next-generation chips harder to attack (see the laser fault injection on RP2350, though this is also being hardened against). It's probably a good thing to some extent (make it harder to duplicate my credit card), but I mourn the loss of control over my own HW.
Incidentally, tinkering with the first gen Xbox (which is the security equivalent of a swiss cheese) taught me a lot about software, networking and electronics when I was younger. I hope that future generations will still get to tinker like that.
comment 1mo ago · link · parent
Both sides have used drone-mounted signal repeaters for FPV drones. FPVs use cheap radios, and signal extending drones can be reusable and carry a more expensive and jamming-resistant radio.
Since it is rarely a single drone attacking, but more often an entire swarm (to saturate air defences), having a mesh radio between drones can be useful, reduce the requirement that every drone must be equipped for long range communication, and enhance the connectivity back home.
Of course, both sides are mostly supplied by the same Chinese factories when it comes to radios, so China also gets to develop their drone warfare know-how. I assume that Ukraine also uses mesh radios, but probably to a lower extent than Russia does, as they can rely on Starlink.
To address your last point, I would also assume that it is possible to air drop signal repeaters from the swarm, especially for one-way trips, they do not need to last more than a few hours. Range will be degraded on the ground though.
Obviously, I would assume that most strike drones are fully autonomous, but having a connection back home means it is easier to adjust plans (air defense location, for instance) and provide intelligence (if target was hit, etc).
I am also wondering if the recently discovered SDR APIs in Wi-Fi chipsets will be leveraged for warfare. If I had to bet, I'd say: yes, pretty soon. These are a good fit for mesh radio, jam-resistant frequency hopping and wideband transmissions.
comment 1mo ago · link · parent
That said, depending on a single piece of tech is not a good idea (as evidenced by the Russians when they lost starlink access). Russians have resorted to long-range mesh radios, Ukrainians should probably integrate that as well (though it does increase BOM costs).
The other dependency is Chinese suppliers, who supply both sides but may prefer to favor Russia. It is a huge liability for Ukraine as it supplies 80% of the parts that perform 70% of battlefield duties, and could stop anytime (besides known design leaks to the adversary, etc). Russia is even relocating whole production lines to evade sanctions.
Ukraine has been fighting with one arm behind its back, this is the latest development in the series of seemingly-arbitrary limitations imposed on it.