korstmos

joined 1 year ago
[–] korstmos@kbin.social 3 points 7 months ago

Moooom, theyre treating the metric again!

[–] korstmos@kbin.social 2 points 1 year ago

A beater for 5k? Ive bought 500$ beaters less than 6 years ago!

500$ nowadays will not even get you a junker with its engine and transmission removed.

[–] korstmos@kbin.social 161 points 1 year ago (11 children)

Because paying a few grand a year for a certificate somehow makes your software more trustworthy

[–] korstmos@kbin.social 7 points 1 year ago (2 children)

What if there are no crappier cars on the road?

[–] korstmos@kbin.social 9 points 1 year ago (2 children)

Every book has a unique number used to identify them, the ISBN (International Standard Book Number). If you can figure out the ISBN of a book, it becomes an easy search term for piracy, because now you aren't looking for a long title, you're looking for a unique number!
Most bookstores will list the ISBN of a book on their website, so that step should be pretty easy.

Then to commit the piracy, you can often just google the ISBN + filetype:pdf and get a free PDF pretty frequently.
There is also library genesis (libgen), where you can look up pirated books via their ISBN, which has a super wide selection.
And if even libgen does not have it, you can try torrent trackers (read up more on !piracy )

Of course most of those options are legally questionable or illegal depending on where you live, and I of course would not recommend you actually perform them ;)

[–] korstmos@kbin.social 10 points 1 year ago (6 children)

I like how textbooks all have ISBNs
They make pirating them so much easier!

[–] korstmos@kbin.social 4 points 1 year ago

Because even a long (64-bit int) is too small :)
A long can hold 2^64-1 = 1.84E19
A double can hold 1.79E308

Double does some black magic with an exponent, and can hold absolutely massive numbers!

Double also has some situations that it defines as "infinity", a concept that does not exist in long as far as I know (?)

[–] korstmos@kbin.social 2 points 1 year ago
[–] korstmos@kbin.social 50 points 1 year ago (9 children)

Doubles have a much higher max value than ints, so if the method were to convert all doubles to ints they would not work for double values above 2^31-1.

(It would work, but any value over 2^31-1 passed to such a function would get clamped to 2^31-1)

[–] korstmos@kbin.social 1 points 1 year ago

Ive never used githubs CI/CD, but gitlab has quite a large ecosystem for its CI/CD.
Seems to me like you could use gitlab as a one-stop-shop to host everything from your code to your artifacts and containers, if you are willing to pay for those fancy features

Free is able to just do basic CI/CD for like 250 minutes a month, or unlimited via your own runners/build servers, thats about it

[–] korstmos@kbin.social 38 points 1 year ago (6 children)

I dont post my code to github because I would rather use gitlab

We are not the same

[–] korstmos@kbin.social 10 points 1 year ago

I just use my regular wrench and say "click" out loud when it feels nice and tight

view more: next ›