HN Simulatornew | past | comments | lists | submit | MayeulC's commentslogin

You can also try the following to let the system detect thrashing and fire up its OOM killer: echo 1000 > /sys/kernel/mm/lru_gen/min_ttl_ms

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.


I don't have FCM on my phone, but UnifiedPush works fairly well with the apps that support it (looking sideways at Signal, one on my top battery users). It works well with Matrix clients, for instance. It also works with DavX5 + Nextcloud, and others.

I feel like I am commenting this under every post mentioning fingerprinting, but is there a technical reason access to fingerprinting information (screen resolution, battery level, etc) couldn't be made to "taint" the data/code, where the browser would then refuse to send off that data? Or anonymise it and replay the code before sending the request.

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.


If by "tainting" the data you mean subtly changing it in a way that preserves functionality while making it harder to use for fingerprinting, then this is what we do at Brave browser for many of our anti-fingerprinting protections: https://brave.com/glossary/fingerprinting/#how-can-i-prevent...

I think the idea is that a given JavaScript variable/context would be “tainted” the moment it accesses those APIs; taint tracking would then be used to guarantee that tainted data couldn’t be attached to any network request. The idea here is that fingerprint-capable APIs could be used but only locally.

There’s some parallels to canvas tainting: JS is blocked from reading the pixels of any canvas that has had a cross-origin image rendered to it. This is done to enforce the same-origin policy while allowing canvases to use cross-origin images like the tag can.

Unfortunately, when you can run arbitrary JS, even doing strictly local computations can likely be used to leak tainted data to a cooperating untainted context. Since you’d want the JS to still be able to do something useful with the tainted data, that resulting changes could be measured to leak the data. A more draconian measure could be to just block fetch() and similar APIs entirely after you call a fingerprinting API, but that would probably break too many sites.


Indeed, this is what I have in mind: metadata attached to variables and js contexts, "contaminating" everything it interacts with.

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.


Boundaries on such a model would be very hard to enforce. If any element of the page "moves around other elements", all other elements must be tainted as they'd leak information on the tainted DOM node. Presence or absence of a DOM node can leak information about a tainted context.

The second idea would be vulnerable as long as you can exfiltrate tainted data to untainted context.


As I understand it, almost all anti-fingerprinting protections are some measure of this, balanced against the level of breakage to accept. For example, Firefox is able to "letterbox" your viewport, i.e. restrict its size to one of a number of preset ones, filling up the remaining space with grey. That reduces entropy, but makes the user experience considerably worse, so it's not enabled by default in Firefox. Something like Tor Browser has a higher tolerance for breakage, so it does enable it.

It's very difficult to prevent JavaScript from using your screen size to affect which elements are displayed on the screen (which is detectable since you'll only click something that's visible) and still make websites work.

Not as easy for graphically demanding games, but web browsers have been able to run a full VM in a browser for years now. Slap the game on it and call it a day: https://retroonline.net/Windows/Pharaoh%20%26%20Cleopatra

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.


This is great, I have been thinking about revisiting this old game. Unfortunately, it is not available for sale anywhere (probably for music licensing issues, see other games such as Alan Wake), and older versions don't run as well as they could.

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.


> I do find it legally dubious to also host the assets, but at least they make it easy to jump in.

A firm has generational culture locked up, and won’t take money for even a low-effort re-release?

Nobody’s being harmed, here.


Hello there, i am the dev of static compilation of the game for mac as you mentioned. i mainly focused on just be able to dig into game and get the c code of it. But turns out there are a lot of extra features that is needed to run the game on modern standards so i try to bring them. However online and freeroam was never my idea and i didnt do it. thanks for the mention :)

I was pleasantly surprised recently with the lutris install scripts on Linux for NFSU2. I remember a few years ago struggling with it, it ran but often crashed in the middle of the game.

What do you mean about Alan Wake? It's available in online stores

I used it as a notorious example (among others) of a game that was removed from storefronts because of music licensing deals expiring: https://www.reddit.com/r/gog/comments/6asmg9/alan_wake_will_...

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.


It was temporarily removed some years back

A better example is Spec Ops: The Line, which was removed from online stores in 2024 and remains unavailable to this day.

Just install Recomp Launcher, a libre tool to explore, download and set recompilations.

Well, for one, it usually is much more energy-efficient: longer battery life, cooler computers, and more responsive under heavy (CPU) load.

I mean, the law is stupid, but as one of the commenters there says, there is a 2% revenue (profit?) cap, and I don't think that VideoLAN makes a lot of revenue.


They don't, association in France can't make revenue/profit. (Except some of them from Alsace/Loraine because of WWII..., not relevant here)


This is something I have been wondering for a while: do custom laser printer firmware projects exist? I'm mostly interested in that to remove toner manufacturer checks, and fix a few annoyances in CUPS and the printers' postscript drivers.

I imagine that is shouldn't be too complicated to support more HW in the agentic age.


I would love to see some of this. Brother is awesome because of how accessible the hardware and toner ecosystem is, but a lot of the older models are security hazards.

Unlike inkjet printers, laser printer controllers can actually cause some damage because of the high power fuser unit. Running the fuser continuously will melt the printer (or at least trip the hopefully hardwired thermal protection), and cycling it on and off rapidly can be unpleasant for other devices on the circuit due to the inrush current.


This but especially for the tracking dots. In the age of LLMs, I doubt it would be that difficult, so long as you don't hit guardrails.


Do laser printers include tracking dots? I thought that was a color printer thing.


I used to assume the same, it's apparently just laser printers and actually not inkjets with the tracking dots. Supposedly the resolution of inkjet printers is too low to embed discreet tracking identifiers that wouldn't be noticeable in the final print.


We know about the yellow tracking dots.


For some of those devices, they use very bespoke CPUs that are simply not documented publicly.


You can also have infernal multiplexers to route the antenna signal to another pin, like the esp32-S3 has: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s...

The output trace needs to be impedance-controlled, but it could be a regular GPIO, or an external antenna connector/footprint.


The 'infernal' really threw me until I realized you must have meant 'internal'.


Ah, sorry, my Android keyboard isn't that reliable, I tend to make a lot of typos when I type on my phone.


Thanks for the links, that looks useful.

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


Maybe tab groups would be enough? One group per product. Close the whole group with one click, and you can reorder them based on preference. It’s what I use for different tasks since they all have their own repo, pipelines, docs, etc


I do the same thing. But there's always another level I see a lot of people (well the ones sharing their screen in meetings) forget about: Windows.

For each topic, I have a window for it. And I have at least 5 windows always open (e.g. Email, Youtube [currently 25 paused videos], HN [Sometimes I'll keep articles open I want to get to, but then I will blindly close hem all to start over], Google Drive, Google Music, etc). That way I can close the window when that task is complete.

I always tell myself that I can just Bookmark those 5 things and go to that site again, but I never do.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: