Better HN
topnewbestaskshowjobs
Log inSign up

battesonb

12 karma · joined Jun 29, 2022 (4y ago) · 10 submissions

I sometimes blog at https://blog.batteson.com
Submissions

comment 11mo ago · link · parent

Do you have a write up about this? Actions are great, but my #2 gripe with actions, after the tenuous security posture, is that the default practice is not to run/validate actions locally.

comment 1y ago · link · parent

I'm surprised not to see any comments about rainbow brackets for the Lisp family of languages. I just started in a non-Emacs environment to avoid learning two things, but colourful brackets have made the paradigm shift a lot easier for me.

comment 1y ago · link · parent

Agreed on this. Especially with the return keyword argument presented in the same article.

An assertion of correctness relating to a matter of taste is, ironically, going to be trivially falsifiable. Even though I found myself personally agreeing with most of what the author had to say (for my tastes)! I definitely want to try lifting the visual importance of comments.

comment 1y ago · link · parent

I can vouch for Mealie. My wife and I run it locally for family recipes and to pull down recipes from websites. I have a DNS ad blocker running, but most recipe sites are still a mess to navigate on mobile.

You can also distill recipes down. I find a lot of good recipes online that have a lot of hand-holding within the steps which I can just eliminate.

comment 1y ago · link · parent

I'm exactly that person. Always running an older device and lamenting the lack of small devices. Unfortunately, the mainstream wants big devices, so we all get big devices.

comment 2y ago · link · parent

We somewhat have this with object picking. You can render objects with unique IDs to a framebuffer, so it's all in parallel. Then you just query the buffer at your mouse coordinates.

Of course you lose some properties of the object and it's on a one frame delay. There's the added complexity of collision response, working in 3-dimensions, etc. But, to the point of just "eyeballing" collision, we can actually parallelize it!

comment 2y ago · link · parent

I look over at Zig with envy every time I have to write and, inevitably, look up how to write a Rust macro.

comment 3y ago · link · parent

I started writing a static analysis tool for the BNF metasyntax. Basically one half of a parser generator, which I do not intend to implement as it's all just for fun!

comment 3y ago · link · parent

I switched to Neovim because of RSI. I don't think I would have been able to keep my job without it. I know the other editors have Vim emulation plug-ins, but I found I would always reach for the mouse if I didn't know the keystroke(s).

There are definitely moments that result in a bit of time sinking. Overall the tradeoffs work out for me.

comment 3y ago · link · parent

https://battesonb.github.io

A relatively new blog. I've picked up posting more frequently in the last few weeks. Right now, I'm working through making a simple game end-to-end using WebGPU and TypeScript. I enjoy revisiting the linear algebra involved and focusing on something different to my work day.