HNHacker News
TopNewBestAskShowJobs

fathyb

1,913 karma · joined June 17, 2021

hey@fathy.fr - github.com/fathyb
submissionscomments
fathyb··on Since when does Windows support forward slash as path separator?
Another feature: .reg files!
fathyb··on ICJ orders Israel to prevent genocide in Gaza, stops short of ordering ceasefire
That's a weird argument: more than 60% of South Africans were Black during apartheid, where the term originates.
fathyb··on ArVid: Russians squeezed 4 hard drives into one VHS tape in the 90s
Also see the Nyquist frequency: https://en.m.wikipedia.org/wiki/Nyquist_frequency

44.1kHz lets you store all frequencies from 0 to 22.05kHz, which ought to be more than enough for most humans.

fathyb··on Game Boy / Color Architecture
If you don't mind your GameBoy being as fast as a supercomputer when it came out, then I think you could get an ARM SBC running a GameBoy emulator on Linux rendering into an OLED screen for less than $150 and a bit of your sanity.

If you're looking for hardware fidelity, I don't think it'd be in the "democratised" price range if you want to build a single unit that fits in a handheld form factor.

fathyb··on FUSE-T is a kext-less implementation of FUSE for macOS that uses NFSv4
Does not answer your question directly, but related: https://github.com/macos-fuse-t/fuse-t/issues/1#issuecomment...

> The project consists of two components: libfuse and fuse-t server. libfuse is LGPL licensed and can be downloaded from here: macos-fuse-t/libfuse [1]. You can modify and build it as you wish, the build instructions are provided in the README file. The fuse-t server on the other hand is a proprietary component, it's written in go and doesn't link to or includes anything GPL related, all respective copyright owners are mentioned in License.txt file [...]

[1] https://github.com/macos-fuse-t/libfuse

fathyb··on Osdev.org
I knew about the wiki but I never read the "What Order Should I Make Things In?" [1] page.

Laughed out loud a few times reading about those oddly relatable archetypes.

[1] https://wiki.osdev.org/What_Order_Should_I_Make_Things_In%3F...

fathyb··on 'Like we were lesser humans': Gaza boys, men recall Israeli arrest, torture
> a system called “Habsora” (“The Gospel”), which is largely built on artificial intelligence and can “generate” targets almost automatically

Do we have any example of popular open-source software with a license that restricts military usage?

fathyb··on 'Like we were lesser humans': Gaza boys, men recall Israeli arrest, torture
> To end this, I usually come to HN to escape from the horrors and constant negativity of traditional news.

I completely share your sentiment, but I don't believe HN ever offered that. I wasn't here for long but I often see posts about current events or uncomfortable subjects (cancer is one of mine for example), although they still represent a small minority.

fathyb··on A Windows Update bug is renaming everyone's printers to HP M101-M106
I always liked imagining big players like Apple, Sony, Microsoft, Nintendo, etc.. taking absurd measures to protect their private signing keys, something like that Coca-Cola recipe vault.
fathyb··on Teen arrested in England after felling ancient tree
Does that mean that in the UK if someone breaks a maxed-out MacBook voluntarily they risk up to 10 years in prison?
fathyb··on Google Ending Support for Jamboard
Seconding Excalidraw! A feature I really like: you can export diagrams in PNG with the scene data embedded in the image metadata. This lets you modify the diagram by opening the PNG image directly.
fathyb··on WASI Support in Go
Don't know about the server side, but I've been using threads on the browser for ~2 months, I didn't hit any bug specific to it yet. I use it both with Rust (wasmbindgen with async/await) and C (Emscripten with pthread support). HTTPS with some headers is required for `SharedArrayBuffer`.

I still build a single-threaded binary for Firefox, and fallback to it if `SharedArrayBuffer` is `undefined` or if the `WebAssembly.Memory` constructor fails (some iOS devices might throw when `shared` is `true` due to a bug).

fathyb··on MacOS in QEMU – ARM edition [pdf]
It is, and Docker for Mac uses QEMU for `--platform`, just like Podman AFAIK. The issue here is that it's QEMU user-space emulation, which does not support some syscalls, like `ioctl`.

The fix here would be to spin an amd64 VM and run the binary or install Docker there, instead of relying on the more convenient - but less compatible - user-space emulation of Docker. Not very related to this very interesting presentation on virtualizing ARM macOS guests on QEMU hosts..

fathyb··on VirtualBox 7.0.10 download links have disappeared
The changelog looks pretty mundane: https://web.archive.org/web/20230721185635/https://www.virtu...
fathyb··on Istanbul's blue tile paradise
With that view it can get even more amusing when you consider that it was first conquered by the latin empire during the 4th crusade and converted into a catholic church, and then back into an orthodox church about 60 years after, and then finally into a mosque about 200 years after!

As for an interfaith building, it's an interesting thought. There might be issues with ceremonies such as weddings, funerals, and events. There is the Abrahamic Family House in Abu Dhabi, but it's not a single building. I thought something like this might exist in Jerusalem, but I couldn't find any..

fathyb··on Thunderbird 115 “Supernova”
They mean an arbitrary "from" email address, useful when you own the domain attached to your address. You can do that in Mail.app, but you need to configure it in advance, whereas Thunderbird lets you type any address directly.

I want this feature too because I use custom addresses, such as booking@mydomain.fr for hotel reservations, and replying with contact@mydomain.fr could be confusing to the receiver.

fathyb··on Istanbul's blue tile paradise
Nice use of scare quotes but that's false. It has been a mosque from 1453 until the 1930s.

I have to say, I'm seeing this kind of "byzantine fake news" more and more on HN threads related to Islamic history.

fathyb··on Newpipe.net removed from Google search results due to DMCA take down request
Well that's just normal!
fathyb··on (IEEE Spectrum) Your navigation app is making traffic unmanageable
I don't agree, let's take 5 big cities spread around the country to Lyon:

- Toulouse: 4h by train, 5h30 by car

- Nice: 5h30 by train, 5h by car

- Strasbourg: 4h15 by train, 5h15 by car

- Le Havre: 5h05 by train, 7h by car

- Nantes: 4h50 by train, 6h45 by car

fathyb··on (IEEE Spectrum) Your navigation app is making traffic unmanageable
> Buses and trains were already obsoleted by cars and can only survive by targeted anti-car policy

Where? In France most people would take the train to travel a long distance (2h+ drive). I can be in Paris in 2 hours at 320km/h using the high-speed train whereas it would take me 6 hours at 130km/h using a car. Not counting the nightmare of going through the Parisian périphérique.

fathyb··on Wikipedia switches to CC BY-SA 4.0 license
> awesome is when you hear fighter jets zoom overhead, or a metal band from in front of the stage, or Niagara Falls, or a mile-long freight train full of rocks shaking the ground as it passes.

To me all of these things sound very lame. I find the Wikipedia licensing change more interesting. I think the post did a good job explaining why this matters and what this changes for Wikipedia.

fathyb··on 2,200 forgotten vintage computers from a barn in Massachusetts
In case someone would like to know more, it's called the second-chance pool: https://news.ycombinator.com/item?id=26998308
fathyb··on Twitter Is DDOSing Itself
And when you're at Twitter scale, sprinkle some jitter too.
fathyb··on Should you use Jest as a testing library? (2022)
> what percentage of React users are making interactive SVGs

Every single app I worked on for the past 5 years did. `mui` icons are SVG for example, and it's common practice to embed SVG as components to avoid the HTTP requests overhead and allow for theming through props.

fathyb··on Should you use Jest as a testing library? (2022)
`instanceof Array` is a famous JavaScript footgun you should not use anyway. The same happens when sharing objects with an `iframe` (aka "cross-realm objects"). This is why `Array.isArray` exists.

That said, Jest used to be so good when it was first released, and got gradually slower and more complex. Same with Yarn.

I hope React won't face the same fate. I loved integrating the recent suspense and async rendering features. It made my app feel so much better by removing loading flickers with no architectural changes.

fathyb··on Ironies of Automation (1983) [pdf]
According to the local folklore, a mixture of automated and manual labor is required to produce a top comment of related links: https://news.ycombinator.com/item?id=35668525
fathyb··on Cloud, why so difficult? (2022)
> There's nothing that prevents you from redeploying your service in microsecond, just as you hit "Save" button in vscode.

I knew someone would find some merit to my PHP + SSHFS setup someday

fathyb··on A large crash spike affecting Firefox users on Linux
Bundling does not inline all symbols into a single scope, tree shaking does. I was one of the people implementing tree shaking in the first Parcel bundler. https://github.com/parcel-bundler/parcel/pull/1135
fathyb··on A large crash spike affecting Firefox users on Linux
This does not appear that crazy to me. In fact, today it's almost a recommended practice for large web applications and it's called "tree shaking". ECMAScript modules are inlined into the same scope. It makes the JIT work easier because it now works with symbols instead of `require(foo).bar` calls to speculate on. It makes most web apps run better, both in bandwidth and compute.

It's very likely to have affected users on other websites, but Google is a common denominator for debugging.

My uneducated guess: they're using the Google Closure Compiler to make smaller JavaScript bundles. It saves some bandwidth and allows for better optimizations. It seems like a reasonable engineering decision to ensure product decisions don't affect the user experience too negatively, something a lot of us are familiar with..

fathyb··on A large crash spike affecting Firefox users on Linux
It does hide some assembly. Those calls are calling an assembler to generate native code at runtime for JIT compilation. The C++ compiler compiles an assembler, but this assembler runs at runtime. `MacroAssembler` itself is architecture independent, and calls into functions implemented in back-ends such as `MacroAssemblerARM` and `MacroAssemblerX64`.

So the code in this function is not performing the stack-probing, it generates code to perform it instead.

← PreviousPage 2 of 9Next →