HNHacker News
TopNewBestAskShowJobs

shakow

3,238 karma · joined July 18, 2020

submissionscomments
shakow··on Fixing a 20-year-old bug in Enlightenment E16
MacOS definitely lets you put the dock wherever you prefer.
shakow··on Taking on CUDA with ROCm: 'One Step After Another'
I don't think that you need top-of-the-line, $1M/yr TC people to revamp a build system.
shakow··on The road signs that teach travellers about France
> "people merging in from the right have the right-of-way" actually makes sense to me

Yeah but they don't; priority to the right never happens on motorways, all insertions lanes have “Cédez le passage” signs.

shakow··on Why I love NixOS
“Needed” is too strong, but this does not provide services, does not provide project-specific scripts, does not setup LSP, does not setup git hooks, can't automatically dockerize your build, does not support multiple profiles (e.g. local and CI), etc.
shakow··on Why I love NixOS
home-manager manages your whole user's environment & desktop.

devenv does not do any user-level change (you will not be able to make it configure your WM), but works at the directory level.

For instance I'm currently working on a Rust + C++ project, and my devenv, whenever I enter this project folder: make CMake/g++/cargo/cbindgen available, enable a couple scripts to longer CMake invokations, set-up everything required for C++ and Rust LSPs, and create a couple git hooks to validate formatting etc.

shakow··on The gold standard of optimization: A look under the hood of RollerCoaster Tycoon
That's what I would have thought as well, but looks like that on x86, both clang and gcc use variations of LEA. But if they're doing it this way, I'm pretty sure it must be faster, because even if you change the ×4 for a <<2, it will still generate a LEA.

https://godbolt.org/z/EKj58dx9T

shakow··on Mayor of Paris removed parking spaces, reduced the number of cars
> These two are generally adhered to in the US as well

I'm not sure; granted I did not visit a lot of places in the US, but when I was there (Miami/Denver/Phoenix), I virtually never saw e.g. a customer greets the cashier when buying things.

shakow··on Mayor of Paris removed parking spaces, reduced the number of cars
As a Frenchman living in Paris – we have such a huge expat community already (and many english-speakers, I worked with Brits, Aussies, Kiwis, Americans, Canadians) than one more or less will be a non-event.

Now it's true that Americans tend to love to frighten each other with firecamp stories about the Big Bad Frenchman, but IME it's mostly a mix of latent francophobia and a grapevine of bad experience between what is locally perceived as wholly uneducated Americans and local Frenchmen that the Americans tend to see as arrogant.

The latest if most often due to (i) tourists forgetting that what is a great week you spent years saving for is another Tuesday for the other guys in the street, (ii) many fundamental French etiquette rules (don't shout, say “hello” first when talking to someone, the absence of a hierarchical relationship between hospitality personnel and customers, distant behaviour is not arrogance but a mark of respect, etc.) are completely accessory in the US customs, leading to very strong misunderstandings.

So book a trip for a week and come say hello, we don't bite! (and avoid like the plague any café/restaurant in the touristy areas)

shakow··on Books of the Century by Le Monde
> most influential

> "what stuck in your mind"

That's strongly correlated IMHO; and I don't really see any objective metric for the influence of a book anyway.

shakow··on Why I may ‘hire’ AI instead of a graduate student
“I'm not sure” is academic jargon for “I don't give a damn”.
shakow··on How will OpenAI compete?
What I mean is that the one I cited were first movers that actually found a golden goose, then got ousted years/decades later for various reasons.

For now at least, OpenAI has not found a golden goose (i.e. made a lot of money) yet.

shakow··on How will OpenAI compete?
VisiCalc, CP/M, BlackBerry and Yahoo definitely got a golden goose; it's long after establishing their dominance that they failed at maintaining it.
shakow··on Ladybird adopts Rust, with help from AI
> it’s roots are solving the c10k problem

The C10K was a long-solved problem when Node came out; just it was not for what 99% of people used at the time, i.e. PHP/Python/Ruby.

shakow··on I converted 2D conventional flight tracking into 3D
Use the double-arrow buttons to change the view angle.
shakow··on I’m joining OpenAI
Ah, you were thinking of the German branch, I was talking about the French one, in Toulouse (I have a few friends working there).

There, a team lead is doing ~$4000 net per month. So not poverty, but not great either.

shakow··on I’m joining OpenAI
I can confirm, they do.
shakow··on Anthropic raises $30B in Series G funding at $380B post-money valuation
> San Francisco is better

Yeah, but you're a tramp if you're not making >$250k/year. Of course wealthy people will have access to excellent food, and that will be true everywhere from Moscow to SF through Shanghai. I'm more interested in what the common plebes can get their hands on.

> and the variety of cuisines at restaurants is laughably incomparable

Might be; I only went to Colorado, Utah, New Mexico and Florida, so YMMV. But in my experience, sure, there are a lot of cuisines, but frankly, save for the Mexicans, all of them sucked hard: very salty, very sugary, very spicy, but .

Now I'm sure you can get excellent local fruits/vegetables in California thanks to the climate, but I doubt they would be notably worse or better than anything you will find around the Mediterranean.

shakow··on Anthropic raises $30B in Series G funding at $380B post-money valuation
> more food

Yeah, so I don't want to be a Debbie Downer, but as a European who visited the US, your food is definitely not something I would use as an example of your QoL.

shakow··on Exposure Simulator
> One thing that is lost when using auto cameras is using focus & DOF as part of composition

That's why virtually all cameras have aperture-priority though, right?

shakow··on Exposure Simulator
> If you keep the exposure the same, then changing the ISO on a digital camera will NOT introduce any more noise

So does this mean that changin the ISO directly on my camera, or in DarkTable/whatever at post-proc time is virtually the same?

shakow··on A Love Letter to FreeBSD
> which network and disk usage does it report? Just the main process or all its forks? Same problem in RC.

Well, the main process and its whole hierarchy, that's what you would expect of an init system monitoring its services, right? And what's nice with systemd is that I can get that from a simple `systemctl status my-service` – of course I could deploy a whole observability stack, but better if I can avoid it.

But there is no need to be defensive, it RC can that's nice, if it can't, then well, too bad.

> there are so many other tools already integrated into the system that the init system doesn't need to bother.

That's what I'd love to hear about, what are the equivalent in the BSDs world.

shakow··on The Penicillin Myth
“[97; 103] \ {100}” means the interval [97; 103] without the set {100}; so no, still ~30%.
shakow··on The Penicillin Myth
Even if you shoot only once, you still have a higher chance of hitting something slightly off the middle than the perfect 100/100. And this because that's one point-precise result (100/100) vs. a cumulated range of individually less-probable results, but more probable when taken as a whole.

For a fair coin, hitting 100/100 is ~5%, vs. ~30% falling in [97; 103] \ {100}. You can simulate here: https://www.omnicalculator.com/statistics/coin-flip-probabil...

shakow··on The Penicillin Myth
> every single other result is even less likely.

But the summed probability of the “not too far away results” is much higher, i.e. P([93, 107]\{100}) > P([100]).

So if you only shoot 100/100 with your coin, that's definitely weird.

shakow··on A Love Letter to FreeBSD
Barging in as a Linux guy interested to learn more about the BSDs, so please bear with me.

Something I love with systemd is how I can get very useful stats about a running process, e.g. uptime, cumulated disk & network IOs, current & peak mem usage, etc.

Also the process management (e.g. restart rules & dependency chain) is pretty nice as well.

Is that doable with RC (or other BSD-specific tooling) as well?

shakow··on The fate of "small" open source
Not really familiar with TS, but what would be so weird with the typing? Wouldn't it be generic over `T -> U`, with T the type with snake_case fields and U the type with pascalCase fields?
shakow··on Rust in Android: move fast and fix things
You're sure of a lot of things.
shakow··on Why Sam Altman Won't Be on the Hook for OpenAI's Spending Spree
To play the Devil's advocate, OpenAI actually has hundreds of millions in income, even though they are spending far more in training new models.
shakow··on Say Hi to Kit
Happy to see that Alphabet's $100M/yr. are being wisely spent.
shakow··on US nuclear weapons testing can forever scar a nation.Just ask Marshall Island
> only three days after the first

Maybe, just maybe because Japan was so close to surrender that there even was a coup attempt to prevent him from surrendering?

https://en.wikipedia.org/wiki/Ky%C5%ABj%C5%8D_incident

← PreviousPage 4 of 32Next →