Pinned toot

Finally got my single-board-computer working as a USB device! :blobaww:

Now to get the host side working.

And here's a shoutout to the Linux kernel for letting me do almost all of this in user-space! :linux:

Developer Pro Tip:

When you copy code from stackoverflow, make sure it's from the answer, not the question.

The Interruptible Programmer:

stevestreeting.com/2010/09/04/

This describes me much more accurately than I’d like to admit.

I just spent the last few days optimizing some CUDA kernels to go super fast.

It's *so much* effort to worry about memory alignments, access patterns, getting the compiler to emit wide load instructions and other special things on the hot path, vector math, math intrinsics, register usage, warp schedulers, etc.

But it's also *super* rewarding to see the huge impact all that stuff has on performance. It feels like all that hard work pays off when your code literally gets 10x faster! =D

"Boy, when your I’m-outta-here essay goes viral, do you ever get a lot of input." - tbray.org/ongoing/When/202x/20 interesting follow-up by @timbray to his recent resignation blogpost

You, a coward: Python doesn't have a switch statement

Me, a modern-day Galileo:

Wow, I ran across my first ever c++ compiler crash in the wild today.

Those things are so battle-tested that usually someone else finds all the bugs before you do.

I feel special now.

" I quit in dismay at Amazon firing whistleblowers who were making noise about warehouse employees frightened of Covid-19." - tbray.org/ongoing/When/202x/20 #kudos to @timbray “Never heard of the Streisand effect.” /cc @mmasick...

If you could end COVID-19 by sacrificing one programming language, which one would you choose and why is it PHP?

This is the coolest thing I've seen in 3D printing in a while!

mosaicmfg.com/

It's an automated filament splicing tool that sits inline with the stock. It lets you print in multiple colors/materials with just a single print head!

And here’s a good overview on the state of Project Panama, now called the Foreign Memory Access API, in Java 14. Courtesy of Ty Young.

medium.com/@youngty1997/jdk-14

I don’t immediately see why this is much better than ByteBuffers, but apparently it’s a stepping stone to better integration with C APIs. I’m all for better integration with C though. I use that all the time for GPGPU work on the JVM.

Show thread

Here’s a nice summary from Azul Systems on what’s new in Java 14, which was just released a couple weeks ago.

azul.com/whats-new-in-jdk14-la

Here’s a very thorough breakdown of an arbitrary form UI in intellij IDEA, and how to improve its visual consistency.

tonsky.me/blog/form-cleanup/

Is it just me, or does anyone else feel like this is the offspring of extreme OCD and bikeshedding?

I don’t really think the final version is much of an improvement, and feel like I’d rather spend that time fixing bugs or implementing new features than tweaking alignments and padding.

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!