Show more

Here's some more progress on my Molecular editor/viewer thingy for work. I'm working on a tool to focus on and highlight only certain parts of the molecule.

Here you can see a Phenylalanine residue up close and personal!

An intro to GPGPU programming in Java by Dmitry Aleksandrov:

blogs.oracle.com/javamagazine/

It mostly focuses on OpenCL, but mentions the very interesting Aparapi project, which translates JVM bytecode to GPU kernels automatically. I can’t imagine that translation would result in very optimized kernels, but it could be a quick and easy way to get started with GPGPU in pure Java.

I ran across this article today clarifying when using a document store (eg MongoDB) is a good idea, and when it's not, compared to a traditional database (eg PostgreSQL).

It makes a lot of sense actually, since it's hard to relate disparate documents together without database support for the relations. But the article, being from 2013, is pretty old now.

Do these arguments still hold up today?

sarahmei.com/blog/2013/11/11/w

Just for the lols, I set up a twitch stream where you can control my office room lighting. Let's see how crazy this gets 😂

Type "color red/green/blue/purple/..." in the chat!

twitch.tv/codecereal

Ignoring the incendiary title, this article presents an intuitive derivation of 3D rotations using rotors rather than quaternions:

marctenbosch.com/quaternions/

The two approaches seem to me to be exact duals of each other, but maybe rotors are easier to understand?

This is one of the ways math is super cool because you can explain the exact same phenomenon in multiple different ways.

See also: Singletons considered harmful.

Concurrency is hard to get right.

Show thread

Wow, I actually managed to observe an obscure JRE deadlock bug in the wild. It was apparently reported in 2010 and it's now marked as "wontfix" in v8 JREs. =(

bugs.java.com/bugdatabase/view

We're still supporting v8 JREs, because you know, backwards compatibility. Luckily the workaround is pretty easy.

At least I think so... you never really know for sure if you fixed a concurrency bug or not.

JetBrains is looking for feedback on Kotlin. Fill out the Kotlin Census if you want to be heard.

kotl.in/census

h/t to @jwildeboer@birbsite for the post.

Also, I finally figured out how to make those nifty alt-text thingies for the images. Enjoy!

Show thread

The second edition of _The (ANSI) C Programming Language_ by Kernighan and Ritchie apparently has a fun easter egg about recursion.

In other news, manually soldering SMT Optoelectronics without breaking them is hard.

I got a label printer as a gift. So of course this is the first thing I printed!

no, you fuckers, i am not downloading your app just because i am looking on my phone. i have a whole-ass web browser

"GoatCounter: Simple web statistics. No tracking of personal data."

"Doesn't need a GDPR notice
Adds just 1.8KB
Accessibility is a high-priority feature
Open source
Own your data"

And a bonus point for the name 🐐

goatcounter.com

Firefox 72 is out today with great updates:

1⃣ Blocks fingerprinting tracking by default
2⃣ Hides annoying notification requests by default
3⃣ Introduces picture-in-picture video

If you haven't switched yet, here's what you're missing out on markosaric.com/firefox/

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!