HNHacker News
TopNewBestAskShowJobs

joconde

465 karma · joined August 25, 2021

submissionscomments
joconde··on Trade-Offs in Automatic Differentiation: TensorFlow, PyTorch, Jax, and Julia
I’ve looked into transformers for semantic segmentation, but the patching aspect seems to make it hard too. Do you have some sources that describe these hacks in detail?
joconde··on Goddamn AWS seems to be down again 4th time this month alone
“Breaking: AWS censors website that criticized them”

As if they didn’t already get enough negative attention.

joconde··on Ask HN: What's the best book you read in 2021?
My headcannon honestly throws away the sequels. They are the first books in the timeline that felt like really soft sci-fi. Not actually bad books, just out of touch with the rest of the story.
joconde··on Ask HN: What's the best book you read in 2021?
Foundation is basically the story of Seldon’s plan, and of the leaders trying to keep it on track while handling the turning points predicted by psychohistory (“Seldon crises”). I think Seldon just assumes or hopes that his advice and the leaders’ judgment will be enough to not derail the plan.

It’s like Asimov’s entire timeline, a series of visionaries steering the world in the direction they want. Except there’s an additional challenge, in that they have to act without derailing Seldon’s goals. I think the books do a great job of showing that conflict.

Edit: agreed about the battle of wits aspect, but that’s also just Asimov being himself.

joconde··on U.N. talks adjourn without deal to regulate 'killer robots'
> I can absolutely envision - without much difficulty - a megatons-to-megawatts motion swiftly bringing an end to this period in Earth's history.

I can't figure out if you're talking about a nuclear war changing the world, or a nuclear disarmament process that somehow also leads to energy production.

joconde··on Defrag Like It's 1993
The boring one
joconde··on Defrag Like It's 1993
I did that on a high school Windows lab PC, put the task bar on top of the screen, set it to auto-hide, and killed explorer.exe so the Desktop icons were only part of the background.

A prof had to ask me to set it back because they couldn’t figure it out.

joconde··on Pelosi defends stock trading by lawmakers. ‘We are a free-market economy’
I mean, there's also only one winner in French presidential and national assembly elections, and we have a lot more than two big parties.
joconde··on Reddit files to go public
I mean, if that’s your usual way of arguing about things, I’d be happy to see you banned from here too.
joconde··on Reddit files to go public
Yeah, I’ve been here a few months only and there is a very different attitude than on better-known websites like Reddit. HN is the only forum I’ve seen where anyone who argues in obviously bad faith will get downvoted to invisibility, and most well-made arguments get upvoted, no matter which side they’re on.

A few years ago, trying to have the same conversations on reddit, everything degraded into personal attacks eventually.

joconde··on What does a Principal Software Engineer do?
That sounds weird. Are you saying that doing more work than better-paid employees shouldn’t be an argument during salary negotiations?
joconde··on The CIA and the Media (1977)
Well what does the law says if someone under oath gets asked for classified information they aren't allowed to disclose, and saying that it's classified would itself disclose a secret? Maybe there just wasn't a clearly good answer.
joconde··on How to run a small social network site for your friends
Moderated groups and personal pages are the only sane places on Facebook. It’s the only feature I use along with Messenger.
joconde··on A few things I’ve come to believe in my years in music tech
> In my opinion, the best source for music discovery continues to be local radio

In my region(s) of France, they either suck or only play very big names. I envy people who live in range of a good local radio.

joconde··on A few things I’ve come to believe in my years in music tech
Spotify has hand-curated playlists that make it easy to discover new artists though, if you know which genre you're looking for.
joconde··on A submarine's weakness: its software?
Jekyll is quite popular and generates very light webpages. I find the result pleasant to use. https://jekyllrb.com
joconde··on One decade later, Minecraft world generation is interesting again
After doing the basics (stone tools, safe base, light and food), I'd always do that as soon as possible. Diamond stuff is very useful for later parts of the game, and you'll need a lot of redstone to build interesting circuits.

It's its own form of exploration, at least in the versions with fun cave generation: you always end up in some cave complex that you can then explore. But I'm happy to see that it's less needed now, because interesting caves are more commonly accessible from aboveground.

joconde··on Compile Python applications into stand-alone executables
PyTorch works very well with PyInstaller. The only issue is that it can't use the DataLoader's worker processes, they crash for some reason (even with multiprocessing.freeze_support()).
joconde··on Compile Python applications into stand-alone executables
PyTorch's C++ API is experimental and doesn't have feature parity. PyTorch is a Python lib that heavily uses C++ extensions, but I don't think it has ever been a C++ library.
joconde··on Buried in Infrastructure Bill Is a Mandatory Backdoor Kill Switch for Your Car
I think it happens in France sometimes, and it’s one of the roles of the Constitutional Council to strike unrelated measures from laws.
joconde··on A cross-platform Markdown editor focused on speed and usability
They have a Markdown-like syntax, but AFAIK it's only for notes stored in their cloud service.
joconde··on MacBook Air M1: the best laptop?
A few specific issues I had all the time:

- Alt-Tab takes between 0.1 and 2 seconds to work, apparently at random. Windows are skipped, also at random, so I can't predict which window I'll get. I can't even switch to another window and back; most of the time, the order will get messed up.

- Bringing up the notification pane and the overview with all desktops sometimes works instantly, sometimes stutters and takes 3 seconds. The animations are always half-baked and awful to follow.

- Switching desktops with Ctrl+Win+Arrows sometimes seems to re-organize all windows at random, for no reason at all.

These issues usually happen a few weeks of heavy use after install. I don't have any third-party software that messes with Explorer. Re-installing fixes them for a few days or weeks. That was on a Dell XPS 15 with a Core i7 and 16GB of RAM, and it also happens with my larger, well-cooled workstation at the office.

macOS has its own multiple-desktop weirdnesses, but in general it's polished and works predictably on my M1 MBA. Windows was just painful to use, mostly because of the above issues. It seems like UI features have a lot of inefficiencies that Microsoft can't or won't factor out.

Also, Windows 10 desktops can't be re-organized, which I imagine would be trivial to implement, and makes the macOS desktops much more practical.

joconde··on MacBook Air M1: the best laptop?
UI slowdowns, awkward multiple desktops, and general slowness is definitely a factor that made me leave Windows though.
joconde··on MacBook Air M1: the best laptop?
I see new Safari tabs crash and close immediately after I open them. It's been the most annoying issue, along with some pages rendering the first screen, and staying blank below for 2 minutes.
joconde··on Ask HN: What are the best-designed things you've ever used?
> this is more of a mismatch between Dockerfile functionality and what you want to do. Dockerfiles are not designed to execute general-purpose programs, so there is an assumption in the design of Dockerfiles that you know (more or less) which files you want to COPY ahead of time.

I don't follow that. In a Dockerfile, I want to install software, and software is usually distributed in packages like .deb. Why can I `RUN apt-get install libabc` and have a clean, automatic install of libabc, but not do the same with a libabc.deb file on my host filesystem?

> It sounds like you want a mechanism for COPYing all filesystem changes resulting from a RUN instruction without having to know what those changes are ahead of time.

That's one way of doing it, but it's more complex than the obvious solution:

> I don't follow the part about mounting a host dir in the build (how it would help)

It simply lets me give the build container access to libabc.deb, so I can `RUN apt-get install /mnt/host_folder/libabc.deb`, which will install libabc without putting `libabc.deb` itself in an image layer.

It would have been trivial to add this, but the Docker devs rejected it because "multi-stage builds can do this" (wrong), and it would lead to "non-reproducible builds" (because downloading packages from the network is somehow more reproducible?).

They finally added it as a non-standard option, which means a build process that relies on it won't work with a Docker install that uses the default config. It's the devs making it needlessly hard to use Docker for a perfectly valid use case.

If you're wondering why I want to install that locally-built software via a .deb, it's because we want to distribute it to all our systems, and we want to have only one packaging method to maintain.

joconde··on PyTorch: Where we are headed and why it looks a lot like Julia (but not exactly)
> Oh, and I think the standard library API design is pretty poor. Filesystem has caused me immense pain and suffering. Runtime errors are the worst.

Do you mean os.path, pathlib.Path, or something else? I use pathlib.Path all the time and never get filesystem errors anymore, it's really practical.

joconde··on Ask HN: What are the best-designed things you've ever used?
I don’t find it satisfying: I can copy files from one stage to another, but I can’t install a .deb (or any other package for that matter).

Copying a list of paths will break if the package changes, and it can’t easily do anything done by pre-install and post-install scripts (like changing a file, registering a GPG key, etc.)

The official excuse from Docker is that “multi-stage builds cover that use”, but that’s not true if you need to install local packages. I think the buildkit feature that lets you mount folder in the build container is a hidden admission that this is wrong, but it’s annoying that the build process will then only work on machines where a non-standard option is set.

joconde··on Kubernetes Cluster API v1.0, Production Ready
We use both, but I much prefer docker-compose, because systemd scatters deployment files in system directories, which makes them a bit of a pain to find and backup. Not sure if we're doing it wrong.

docker-compose is just one folder per service, much more practical.

joconde··on PyTorch: Where we are headed and why it looks a lot like Julia (but not exactly)
What about everything that isn't yet represented by widely-adopted mathematical notation? I'd hate to have to learn which Greek letters correspond to which operations every time I dive into a new codebase. The advantage of English words is that everyone knows them.

Edit for details: `Σλ∀φ` is a chore to read for me. These letters only make sense if I've absorbed the author's notation beforehand, like in a math proof. I parse the snake case version instantly, because my brain is trained for that. And I understand it much more quickly, because it says exactly what the function does in the way I would represent it in memory.

joconde··on PyTorch: Where we are headed and why it looks a lot like Julia (but not exactly)
I'm not completely sure that you aren't joking. Maybe for a mathematician the latter would be "very readable"?
← PreviousPage 3 of 7Next →