etimberg

Joined 13 years ago

Karma
2,342
Submissions
439
Member since
Sep 17
https://github.com/etimberg https://everttimberg.io/

Maintainer of chart.js

View on Hacker News

Recent submissions

Comment · 3 months ago
Comment · 5 months ago
As others have mentioned, it's not actually that performant. The matrix solve is about as fast as a single threaded solution can do, but the problem is parallelizable. There are a number of GPU implementations and I have even heard of offloading the matrix solve to an FPGA, though without unified memory a lot of the gains are irrelevant.

Even if you avoid most of the numerical code initially, the interface in the original spice core is a mess of string handling and building a custom shell experience. There are tricks like setting the upper bit of every byte to 1 when inside quotes so that the custom shell history matching skips over things in quotes. Very elegant for the time, but now that means if you want nodes with non ascii names you're either keeping a mapping outside or using utf-7.

Another great example is the expression parsing. There was a long standing bug where the expression parser leaked ~160 bytes for every step of an output expression for every timestep. So for example, if you had "($2 * 4) + 1" as an expression and ran a simulation for 10,000 timesteps you'd leak 8M bytes.

Comment · 5 months ago
The spice core that ngspice is built off is terrible code. It has a long history going back to 1970s era fortran. Starting fresh is probably preferable
Comment · 5 months ago
Glasses is another place where the savings are astounding
Comment · 8 months ago
Eng leadership pings seems to be one of the few strategies that's been working on the hiring side for finding great talent the last few months
Comment · 8 months ago
Comment · 1 year ago
Not to mention, lots of places have time of use electricity pricing which makes it even worse. This is the problem with running my heatpump when its cold, some of the coldest times (right before dawn) coincide with peak time-of-use prices
Comment · 1 year ago
Reminds me of when we used to drive past a Pinetree Line station every summer on the way to visit my grandparents.
Comment · 1 year ago
Is this detecting people who work overnights?
Comment · 1 year ago
I have a kobo. The firmware is absolutely terrible. Somehow it's gotten itself to a state where it doesn't detect books that are added to the device, even after fully reseting the hardware
Comment · 1 year ago
This sounds like wire fraud ....
Comment · 1 year ago
Comment · 1 year ago
the stubs can only do so much. There's so much magic and inferred properties that a type checker will never be able to fill in alone
Comment · 1 year ago
maintainer of chartjs here.

It’s probably more performant. Chart.js isn’t designed for a ton of data and we recommend sampling before visualization . We have a builtin plugin that does a form of min/max sampling to retain peaks but cut down on the amount of data points drawn

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton