dannyz

Joined 8 years ago

Karma
134
Submissions
64
Member since
May 23
www.danielzawada.com
View on Hacker News

Recent submissions

Comment · 1 year ago
While `uv` works amazingly well I think a lot of people don't realize that installing packages through conda (or let's say the conda-forge ecosystem) has technical advantages compared to wheels/pypi.

When you install the numpy wheel through `uv` you are likely installing a pre-compiled binary that bundles openblas inside of it. When you install numpy through conda-forge, it dynamically links against a dummy blas package that can be substituted for mkl, openblas, accelerate, whatever you prefer on your system. It's a much better solution to be able to rely on a separate package rather than having to bundle every dependency.

Then lets say you install scipy. Scipy also has to bundle openblas in their wheel, and now you have two copies of openblas sitting around. They don't conflict, but this quickly becomes an odd thing to have to do.

Comment · 1 year ago
While the limit of increasingly concentrated Gaussian's does result in a Dirac delta, but it is not the only way the Dirac delta comes about and is probably not the correct way to think about it in the context of signal processing.

When we are doing signal processing the Dirac delta primarily comes about as the Fourier transform of a constant function, and if you work out the math this is roughly equivalent to a sinc function where the oscillations become infinitely fast. This distinction is important because the concentrated Gaussian limit has the function going to 0 as we move away from the origin, but the sinc function never goes to 0, it just oscillates really fast. This becomes a Dirac delta because any integral of a function multiplied by this sinc function has cancelling components from the fast oscillations.

The poor behavior of this limit (primarily numerically) is the closely related to the reasons why we have things like Gibbs phenomenon.

Comment · 2 years ago
Observation assimilation is a huge field in and of itself. Observables have biases that have to be included in assimilation, they also have finite resolution and so observation operators need to be taken into account.
Comment · 2 years ago
TEMPO is one of three similar instruments, GEMS for Asia and Sentinel 4 for Europe.
Comment · 2 years ago
Similarly I switched to Colemak, and I agree, it's not worth it for most people.

I switched because I never typed with proper technique in QWERTY. I would only use ~2 fingers on my right hand. I tried multiple times to retrain myself but there was just too much muscle memory. The only way for me to switch to proper technique was to switch layouts.

Comment · 2 years ago
I wasn't worried about safe usage, more that some of the initialization may be moved inside the benchmarking function instead of outside of it like intended. I'm sure you know more about it than me though.
Comment · 2 years ago
Related on the Eigen benchmarking, I see a lot of use of auto in the benchmarks. Eigen does not recommend using it like this (https://eigen.tuxfamily.org/dox/TopicPitfalls.html) because the template expressions can be quite complicated. I'm not sure if it matters here or not, but it would probably better not to use it in the benchmarks.
Comment · 2 years ago
Comment · 2 years ago
It seems like every large project these days has coalesced around Eigen, what are some of the advantages that Blaze has over Eigen?
Comment · 2 years ago
I agree, I think upper bound constraints go against what is commonly accepted and used in the Python ecosystem. What I try to do on my projects now is to always have a nightly CI test step, in theory if an updated package breaks my package it will be caught fairly quickly
Comment · 2 years ago
There have been lots of posts here about efforts to “modernize” Fortran, which is great! But I’m wondering what the current state of things is. Has anyone recently started a new project using modern Fortran and can comment on their decision?
Comment · 2 years ago
There’s a lot more to it than just snappiness. But where I think Microsoft is going to have a tough time is ensuring x86 compatibility as well as Rosetta does.
Comment · 2 years ago
The short answer is to measure methane you rely on methane absorption features. To do that you need to be looking at a source through the methane plume, from a satellite this source is the ground. From a ground instrument you can use the sun as a source, but it limits the times of day/direction/location you can measure from.
Comment · 2 years ago
From a user point of view Python packaging has probably never been better, but it is still a huge mess from anyone having to maintain these projects which might explain some of the dichotomy in the comments.

In my experience most of these packaging tools work fine for pure Python packages, it is when you try and bundle extensions in a cross-platform way that things get really messy. For better or worse I think third party package managers somewhat outside the Python ecosystem, i.e. conda + conda-forge, are the only tools that get this right.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton