korstmos

joined 1 year ago
[–] [email protected] 3 points 7 months ago

Moooom, theyre treating the metric again!

[–] [email protected] 9 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.

[–] [email protected] 160 points 1 year ago (11 children)

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

[–] [email protected] 7 points 1 year ago (2 children)

What if there are no crappier cars on the road?

[–] [email protected] 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 ;)

[–] [email protected] 10 points 1 year ago (6 children)

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

[–] [email protected] 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 (?)

[–] [email protected] 2 points 1 year ago
[–] [email protected] 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)

[–] [email protected] 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

[–] [email protected] 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

[–] [email protected] 4 points 1 year ago (1 children)

I actually have aphantasia :)
I get open-eyed distortions and wavyness, and can see some images with my eyes closed. I have very little control over what I see, and it is more like short glimpses, but it is tons more interesting than the black void I usually stare into with my eyes closed!

view more: next ›