Inspired by a recent 916 post
Ew Java
Flowers for Algernon
Where the Red Fern Grows

I noped the fuck out of that course. I’m sure it’s super interesting and rewarding, but I just couldn’t take it mentally at the time.
Pfffft….

Amateurs!

Big guy with a club:

I see someone finally embraced the fact that C++ templates are Turing-complete and you don’t really need much of the rest.
Some people thought too much if they could, and not enough if they should.
/j 😁
Josuttis’s books are normally pretty good, lots of examples and a clear explanation of why you might want to use something, but oof that looks akin to a kick in the essentials.
Even if you’ve no other reason to update to C++20, the fact that
if constexprgets rid of half the things you’d previously need to use SFINAE for, and concepts gets rid of the other half, makes it well worthwhile. Amazing how much it stops hurting when you stop doing ridiculous things.C++ 20? I had to learn and do template metaprogramming on gcc 4.8 😭😭😭
The book is a good book though.

Wasn’t there more to this interaction?
Yes


I am a freak who really enjoys linear algebra. It’s actually quite heartening to discover that even amongst my friend group of weirdos, there are still freaks
The only thing i understand from that book is the title.
I see your linear algebra and raise you nonlinear acoustics: boom!
For anyone who doesn’t know, this is what linear algebra looks like

you got to use numbers? i’m so jealous. we had to use matrices of variables when i learned it
For me the variables made it a bit easier
One time at work I was trying to work out a least-squares fit using linear algebra.
I have no background knowledge in linesr algebra, it felt like drawing a pentagram on the floor and chanting in backwards Latin.
y = mx + b
It’s algebra. It’s linear. 😬
No way, dude. Thats affine, not algebra, and not linear. Its a lie meant to divide us.
I solved it. Answer hotdog
Is this how Costco keeps their hotdog combo so cheap?
That and the threat of the CEO going full Patrick Bateman on the board.
That’s not a fair example, I know what linear algebra is but can’t tell what’s going on.
Change of basis would be my guess, but that’s pretty basic.
You could’ve provided something far worse, like a manual construction of the Jordan normal form of a large matrix.
It’s been more than a handful of years since I had to learn linear algebra so I am very out of practice, and this was the first image that I saw that made me go, “yeah, that looks about right.” I thought I should include some image since I have told people during college that I was in a linear algebra class and several had the same response of, “Really? I learned algebra in high school. Weren’t you in calculas last semester?”
My dad’s grade 4 teacher used to clobber him real good with a Bible whenever he did normal kid stuff, the Bible can definitely make you cry.
Java is neat: you just get what you write. There are things that really makes you cry and Java is not among them
It makes me cry when modded minecraft uses 100% of my CPU and eats up 20gb of ram. (This is only a little bit java’s fault)
-
Java should not be used for game engine design. Stop-the-world events and poor shaders support do not help.
-
JVM eats as much memory as you give it, so try playing with -Xmx param
Java has been used by programmers of mobile games just fine, for ages. The trick is the same that one would need with any other environment: knowing what objects you’ll need to allocate, and not allocate more than that.
Oh yeah I know all about that, I’m talking about what it actually uses within the JVM 😅 It’s a messy monster of a game once modded, and there’s really nothing you can do about it other than some slight optimizations here and there.
-
Just make the 200 line boiler code setup to make some
system.stuff.thingy.log.println(“hello world”);
Then it’s not compatible with the installed vm.
Then it’s not compatible with the installed vm.
This almost never happens, unless you do very niche things or have unrealistic expectations from your file system.
Niche things include using obsolete cyphers for net communication or running java code on the ibm mainframe, not something you do day to day.
Java has changed a lot since Java 8. Here’s a 3-line HelloWorld.java compatible with Java 21+:
void main() { System.out.println("Hello, World!"); }
you just get what you write.
Every language is like that
Hahaha… man you have a whole life ahead of you.
What?
They’s a vibecoder.
Fine langauage, terrible build tools
Is that why there’s like 27 languages that are based on the same jvm?
I feel weirdly drawn to learning kotlin.
You should, it’s fun to use and runs on pretty much every platform.
Whenever I look at it, it just looks “comfortable.” I’m most familiar with C#, and I’m interested in some of the type features of Kotlin that are not yet a part of C#.
Of which like 3 work in production
Project Hail Mary legitimately made me cry there towards the end. I watched the movie afterwards and it wasn’t nearly as impactful (and I have opinions about the movie, even tho it was decently good), but the book just kicked me in the chest.
It didn’t make me cry but the greatest book I ever read was A Short Stay in Hell by Steven L. Peck.


















