Recent submissions

Comment · 2 months ago
Thank you. I love using duckdb and frequently query directly from zstd compressed files (and write out new ones). They’re easy to inspect using visidata and make outer use of. I found the talk interesting and enjoyable.
Comment · 4 months ago
Sadly, Microsoft 365 is not “pixel perfect” compared to word. I often run into headaches where line numbers are different between the two and content ends up on different pages.

If Microsoft can’t get consistent rendering of word docs between Word for Windows, Word for macOS and Office 365, I don’t like anyone else’s chances.

Comment · 6 months ago
I agree with you on the Casio fx-115ES Plus 2nd Edition. I picked one up two years ago for $11.41. It naturally writes out equations, has a backspace and is generally excellent. I still love my HP RPN calculators, but the fx-115ES works nicely for anyone who isn't using RPN or sympy.
Comment · 6 months ago
I’ve spent many hours using Basilisk II.
Comment · 7 months ago
It reminds me of around 2002 when Microsoft named everything ".net".
Comment · 7 months ago
iOS seems to mute the web audio apis when the phone is in silent mode (the switch on the side of the phone). If you toggle it on, then this site (and many others) play sound.

I have no idea why it works this way and it’s frequently annoying.

Comment · 7 months ago
That .zig-cache seems massive to me. I keep mine on a tmpfs and remove it every time the tmpfs is full.

Do you see any major problems when you remove your .zig-cache and start over?

Comment · 9 months ago
Comment · 11 months ago
How do you update the software in the containers when new versions come out or vulnerabilities are actively being exploited?

My understanding is that when using containers updating is an ordeal and you avoid the need my never exposing the services to the internet.

Comment · 11 months ago
Thank you! I’ll have to take a look.
Comment · 1 year ago
I recommend starting here: https://youtu.be/nKCT-Cdk0xY

Once you understand and use this approach, you can figure out most other approaches you need to use.

Comment · 1 year ago
Thank you for the description of CBC.

I'm curious about it and your thinking on how to track things over time and see what has surprised us since we got started. It is useful to note down every time you (or your team) sets an expectation with someone (or another team) and then make sure you don't forget about that. It's also useful to be deliberate when setting expectations.

Having a public journal could well work for noting down when expectations are set and whenever there is a meeting of minds. I've found when tracking things like this that the amount of data can quickly grow to the point where you can no longer quickly and easily reason about it. The success seems to live and die on the data visualization or UI/UX.

Comment · 1 year ago
Comment · 1 year ago
It sounds like you've got something specific in mind when you say, "modeling". The term modeling is used in a lot of different situations to mean different things. For example, it could mean to make a 3d model in Blender, it could mean to pose for someone to paint you or to take a photo, with databases it's used to mean modeling the data, with statistics it's used to mean finding a way to simply represent and reason about the data (create a model of it).

The things you've listed out make me guess you want to write 2d or 3d image rendering software. Is that right?

If that's the case, there's no substitute for trying to recreate certain algorithms or curves using a language or tool that you're comfortable with. It'll help you build an intuition about how the mathematical object behaves and what problems it solves (and doesn't). All of these approaches were created to solve problems, understanding the theory of it doesn't quite get you there. If you don't have a good place to try out functions, I recommend https://thebookofshaders.com/05/ , https://www.desmos.com/calculator , or https://www.geogebra.org/calculator .

A good place to start is linear interpolation (lerp). It seems dead simple, but it's used extensively to blend two things together (say positions or colors) and the other things you listed are mostly fancier things built on top of linear interpolation.

https://en.wikipedia.org/wiki/Linear_interpolation

For bezier curves and surfaces here are some links I've collected over the years: https://ciechanow.ski/curves-and-surfaces/ https://pomax.github.io/bezierinfo/ https://blog.pkh.me/p/33-deconstructing-be%CC%81zier-curves.... http://www.joshbarczak.com/blog/?p=730 https://kynd.github.io/p5sketches/drawings.html https://raphlinus.github.io/graphics/curves/2019/12/23/flatt...

A final note: a lot of graphics math involves algebra. Algebra can be fun, but it also can be frustrating and tedious, particularly when you're working through something large and make a silly mistake and the result doesn't work. I suggest using sympy to rearrange equations or do substitutions and so on. It can seem like overkill but as soon as you save a few hours debugging it's worth it. It also does differentiation and integration for you along with simplifying equations.

https://docs.sympy.org/latest/tutorials/intro-tutorial/intro...

Comment · 1 year ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton