Show more

vim: copying text is called yanking
emacs: pasting text is called yanking
everyone else: nothing is called yanking oh my god

The new Raspberry Pi 4 looks super interesting! I'd really like to see a version with better GPGPU though, and USB device capability. The price point is really great though.

raspberrypi.org/products/raspb

Nothing makes soldering these ridiculously tiny parts easier than my Quad Hands! Love it!

When you correct someone on terminology, you deeply hurt your chances at winning them over to your worldview. You should be willing to sacrifice the correct words if it means you can win the correct thoughts

I really wish I could write code without bugs in it. It would save me so much time.

Also, the "Ask the Experts" section of the source report from WalletHub has some great advice for entrepreneurs too.

wallethub.com/edu/best-cities-

Finally got a world-space technique for ambient occlusion working in my molecule renderer! The extra darkening at corners really helps with depth perception and makes the objects easier to visually parse.

hello if you still use chrome i gently recommend giving firefox a chance. i gave up on it a few years back but now that i'm using it again i think i'm here to stay. it's not perfect but neither is chrome, and it's actually beating chrome in speed in some areas these days

also google is about to seriously hinder adblocking extensions in favour of letting their own ads and tracking shit slide through

9to5google.com/2019/05/29/chro

Been working on lighting shaders lately. Found a good intro to physically-based rendering here:

codinglabs.net/article_physica

It starts with a simple Lambert BRDF. The author glosses over some important bits, but there's enough detail there to get the main idea.

Of course, I decided to go for analytical solutions to the integrals because I'm apparently a masochist. But it was fun!

More progress on my interactive molecule app for work, called MolScope. It's built using Kludge, my and wrapper for .

"A language that doesn't affect the way you think about programming is not worth knowing"

-- Alan J. Perlis

Apparently I'm going to be gushing about the ecosystem for some time now...

But cargo makes fork-and-fix for libraries super easy! Just clone the git repo, and add a `[patch]` to your cargo toml file and you can edit library sources just like they were in your own project.

Although, sometimes I really know more than rustc does. Especially when I'm reasoning about the C libs I'm using. For those cases, I'm allowed to break the rules and be "unsafe".

But the coolest part is I only have to be "unsafe" when I really need it. And since rustc makes me think twice as hard about "unsafe" code, I think I'm less likely to get it wrong in those cases.

The compiler continues to amaze me.

I've been writing a multi-threaded app that interfaces with other C libs. And so many times now, I've wanted to write my inter-thread communication in a certain way, and rusc often tells me no.

And when I think about the communication some more, rustc is usually right! And then I change my design to make rustc happy, and that bug goes away.

Show more
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!