Show newer

Oh hey, apparently Intel removed some DRM related stuff from their new processors and new CPUs can't "legitimately" play UHD BD disks with DRM.

So Activision Blizzard was purchased by Microsoft. Mojang was too years ago and they both have Lego sets. Hopefully they don't buy Valve as well.

212 5/6


What a graphic this one made.

gudenau boosted

211 4/6


Rust is so bad it doesn't even have a standard memset.

How do I know this?

A toolkit I want to use for modifying a game uses Rust. It depends on 242 packages. One of them isn't building because it requires unstable features. I have nightly installed and I am passing the flags to cargo, still doesn't compile.

The thing the library does?

Implement memset.

If your language is so unstable and so bare bones that a library that adds one of the most basic memory functions breaks, you have a bad language.

While trying to find an exploit related to a story I heard about Discord I hit a really long rate limit window.

How fun!

210 3/6


Yeah I got really lucky here.

Today I saw some stupid complicated C++ template mess for writing files. It doesn't handle errors and treats all I/O calls as if they always succeed and always process `length` bytes, they even increment internal pointers by the return codes of read/write.

If anything weird ever happens to this program's files while it's running it's going to corrupt stuff and crash. How fun.

I tried to warn the author but they told me error checking is pointless and makes the program larger.

207 4/6


Got lucky here.

Man, compilers are so cool.

clang took something that could have easily been a couple register operations and an entire function call and turned it into a singe mov instruction because it yields the same results.

I thought this is how it worked but I wanted to make sure!

SHA-1 Question 

u8 sha1Init[] = {
0x01, 0x23, 0x45, 0x67,
0x89, 0xAB, 0xCD, 0xEF,
0xEF, 0xCD, 0xAB, 0x89,
0x67, 0x45, 0x23, 0x01,
0xF0, 0xE1, 0xD2, 0xC3
Is this a correct initial value?

I'm fairly sure it is, but I am not 100% on it.

gudenau boosted

2566. Decorative Constants 

title text: Arguably, the '1/2' in the drag equation is purely decorative, since drag coefficients are already unitless and could just as easily be half as big. Some derivations give more justification for the extra 1/2 than others, but one textbook just calls it 'a traditional tribute to Euler and Bernoulli.'


Today I tried to open a C# program in a C# IDE.

The IDE couldn't do anything and didn't report errors at first. Then it told me to install .net.

I installed the .net SDK and it still won't compile things, but at least it's reporting errors like STD classes not existing so progress?

So weird that it is so hard to use compared to Java when it is Microsoft's weird clone of Java.

Today I learned this can be a proper noun.

Wordle 204 X/6


I find it strange that people think it's impossible to write slow code in a fast language. Just look at Windows, that's made in C(++)/ASM and it's super slow...

How can I get the key used to encrypt a file on Android?

Why is the only non oversized thing in Android S the PiP?

Show older
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!