jmuhlich

Joined 15 years ago

Karma
117
Submissions
45
Member since
Mar 18
jmuhlich at bitflood dot org
View on Hacker News

Recent submissions

Comment · 1 year ago
Try this: https://alexsaveau.dev/blog/projects/performance/files/fuc/f...

> The key insight is that file operations in separate directories don’t (for the most part) interfere with each other, enabling parallel execution.

It really is magically fast.

EDIT: Sorry, that tool is only for local copies. I just remembered you're doing remote copies. Still worth keeping in mind.

Comment · 3 years ago
CPython still needs to update reference counts after the fork even if your python code itself doesn't modify any data, making Copy on Write less helpful than it would first appear. Monolithic memory buffers like numpy arrays can be shared efficiently via CoW, but rich data structures with many PyObjects suffer from the refcounting issue.
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
To make this more clear as I have had the same experience and want more people to enjoy it: Mamba is more or less a drop-in replacement for the conda tool with the guts rewritten in C++ and as a result is much faster to resolve dependencies -- I want to say an order of magnitude faster or more. It's even noticeably faster at downloading and installing. You just

  conda install -c conda-forge mamba
in your base environment and then you can start running mamba instead of conda.
Comment · 3 years ago
TIFF will support that size and larger. It can use JPEG or ZLIB compression as standard, or even WEBP or JPEG-XL which are unofficially supported by a small number of TIFF libraries.
Comment · 4 years ago
I’ve used those Snappy brand cutters in a handheld cordless drill. It’s workable but tricky. You need to start with light pressure and high speed until the cutters score a clean circle, then gradually increase the pressure. The workpiece absolutely needs to be clamped down with zero movement, and it helps if you can find a way to brace your upper body and the drill as you work. The trickiest part is keeping the cutter perfectly square to the work in both axes —- if you tip it too far you’re likely to shatter the cutter as the metal is very brittle.
Comment · 4 years ago
Comment · 4 years ago
Comment · 5 years ago
Comment · 5 years ago
Also if the upper tray is height-adjustable, check the rubber one-way valve flaps in the middle of the supply tube that runs up the inside rear wall of the basin. If any of those flaps are damaged or missing, water will leak out there instead of being directed to the spray arm depending on which height position you're using. If you're lucky, you might still have one usable height position without replacing anything. Otherwise you need a whole new supply tube ($60-100) as the rubber part doesn't seem to be sold separately.
Comment · 5 years ago
Nice work avoiding the copula there :)
Comment · 5 years ago
PDF had support for JS at least since the late ‘90s as part of the scriptable forms system.
Comment · 5 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton