Enderman
โœ”
5.82K subscribers
380 photos
24 videos
7 files
137 links
A software engineer, a malware enthusiast and most importantly, a weird tall creature.

https://enderman.ch
https://youtube.com/endermanch
Download Telegram
๐ŸŒ Twitter

New Grok logo looks super familiar...
Please open Telegram to view this post
VIEW IN TELEGRAM
โค107๐Ÿ˜ฑ62๐Ÿค”22๐Ÿ‘4๐Ÿ˜ข1
๐Ÿ˜ฑ107๐Ÿคฌ29๐Ÿ˜ข14โค8๐Ÿ‘3๐Ÿค”2
๐Ÿ˜ฑ37โค22๐Ÿ‘5
โค21๐Ÿ‘1๐ŸŽ‰1
๐Ÿ‘11โค8๐Ÿ‘Ž1
โค10๐Ÿ‘2๐ŸŽ‰1
๐Ÿ˜ฑ39๐Ÿ˜ข25โค19๐Ÿ‘3
This media is not supported in your browser
VIEW IN TELEGRAM
๐ŸŽž Switching editing software

Some of you might've already known this, but I've been actively learning DaVinci Resolve the past couple days.

And I'm happy to announce, I actually really enjoy that editor. Compared to Adobe Premiere, which I trashtalked really bad in my very first edit, it's comfortable and fun to learn. Many monotonous tasks I had to carry out in Vegas manually are nicely automated and polished. These improvements will help me focus on something cooler and give me extra motivation to continue learning.

I'll be moving to Davinci Resolve from here on out, and I might never return to Vegas ever. So yea, pretty cool and historic for the Enderman channel.

The production quality of my videos will definitely grow, because compared to Vegas it's actual professional editing suite used even in Hollywood.

Oh, and the attachment is my first complete edit in DaVinci Resolve.
5๐ŸŽ‰87โค17๐Ÿ‘10๐Ÿ‘Ž1
I tried booting up my computer and got this???
๐Ÿ˜ฑ177๐ŸŽ‰23๐Ÿ˜ข17โค13๐Ÿ‘3๐Ÿค”3๐Ÿ‘Ž2
๐Ÿ“Ÿ How Apple blasted the competition with their iPhone

Above are the slides from a 2007 Nokia emergency meeting presentation.
๐Ÿค”90๐ŸŽ‰14๐Ÿ‘8๐Ÿ˜ฑ6โค4๐Ÿ˜ข1
๐ŸŒŽ The first ever advertisement

Did you know the first ever ad on the Internet looked like this? It was a banner for the AT&T campaign that appeared on Hotwired on October 27, 1994.
๐Ÿ˜ฑ96โค8๐Ÿ‘6๐Ÿ‘Ž1๐Ÿ˜ข1
๐Ÿคฌ Safari is atrocious

How does Apple keep getting away with this?
๐Ÿคฌ83๐Ÿ˜ฑ12๐Ÿ˜ข6๐Ÿ‘Ž3โค2๐Ÿ‘2๐ŸŽ‰1
This media is not supported in your browser
VIEW IN TELEGRAM
๐Ÿคฌ118๐Ÿค”7๐Ÿ˜ฑ6๐Ÿ˜ข6๐Ÿ‘2
๐Ÿ˜ฑ69โค25๐Ÿค”15
โค90๐Ÿ‘17๐Ÿ˜ข4
๐Ÿคฏ The first successful AI pull request

Yesterday a person submitted a low-level optimization PR written 99% by DeepSeek-R1.

Is it over for software engineers, boys?
๐Ÿ˜ฑ105๐ŸŽ‰13๐Ÿ˜ข10๐Ÿ‘5โค2๐Ÿ‘Ž2
๐Ÿ”ฎ Counting days in a month

I was tired of lookup tables so I came up with this optimized algorithm counting days in a month. The operations seem simple enough, and the โˆš3 can be replaced with a constant. To me it seems like the bottleneck of the algorithm is all the float operations. The rest can be very elegantly optimized with bitwise.

def days(y, m):
if m == 1:
return 28 + int(y % 4 == 0)

p = m / sqrt(3)

return 31 if p - floor(p) < 0.5 else 30


Super lenient on storage, but slightly more complex in computation. Developers, what do you think about this?
โค51๐Ÿ‘8๐Ÿค”6๐Ÿ‘Ž1
Enderman
๐Ÿ”ฎ Counting days in a month I was tired of lookup tables so I came up with this optimized algorithm counting days in a month. The operations seem simple enough, and the โˆš3 can be replaced with a constant. To me it seems like the bottleneck of the algorithmโ€ฆ
๐Ÿ˜” The boring way

Well, for one, I fucked up the leap year check, because I didn't know they are skipped every century unless the year divisible by 400.

Float operations are obviously super slow, and even though my solution was mathematically elegant, I think basic comparisons are way to go for time optimization... Shame

int days(int y, int m) {
if (m == 1)
return 28 + ((y & 0b11) == 0 && (y % 100 != 0 || y % 400 == 0));

if (m == 3 || m == 5 || m == 8 || m == 10)
return 30;

return 31;
}


I'd actually bet my money this approach is slightly more optimized than a lookup table, if we consider storage:

const int lookup[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };

int daysLookup(int y, int m) {
return lookup[m] + (m == 1 && ((y & 0b11) == 0 && (y % 100 != 0 || y % 400 == 0)));
}
โค27๐Ÿค”10๐Ÿ‘5