What the hell is that code even meant to do?
da_cow (she/her)
She/her 🏳️⚧️
Professional cow, Linux Nerd, Hardcore Techno enthusiast. The Emporer protects us.
- 15 Posts
- 220 Comments
da_cow (she/her)@feddit.orgto Technology@lemmy.world•Get ready to see ads on your… Samsung refrigeratorEnglish4·9 hours agoSell me this pen.
Here WE have our latest advancements in manufacturing pens all combined in this new masterpiece. Made from the highest quality materials we could find this pen is made for those who need equipment capable of withstanding all weather conditions. This pen is not for those who worry about getting their hands dirty, its made for the explorers of our world, those who have a desire to advance humanity and are not afraid to go through hell for it and their mission should not fail because of some bad quality products. For just 10.99€ you too can become part of our global movement to advance humanity beyond its limits.
Writing this felt horrible.
Damn, thanks for the correction, I will correct it.
OK, so assuming that each Hard drive has A size of 16TB we have 12 Hard drives per layer and 20 layers so in total we have
12 * 20 * 16TB = 3840 TB of storage.
This is The same as 3840 * 1012 bytes
In RGB a Pixel has 3 Values (Red, Green and Blue) each having a value ranging from 0 to 255, so 256 possible valuesbin total. A single byte can store numbers up to 256. This means, that storing a single pixel takes 3 Bytes.
3840 * 1012 / 3 = 1280 * 1012 Pixels that WE can store.
To get the maximum length of one side of the image we have to take the square root of this so
√(1280 * 1012) = 35.777.087
So if I didnt miscalculate this server could store a single image with the size of approximately 35.777.087 x 35.777.087 Pixels in RGB encoding.
We also assume that no other space on the server gets used and we can utilize the full 16TB of each Hard drive. It is probably impossible to view the image, due to its size, but you could store it.
da_cow (she/her)@feddit.orgto Technology@lemmy.world•Exactly Six Months Ago, the CEO of Anthropic Said That in Six Months AI Would Be Writing 90 Percent of CodeEnglish33·7 days agoAs I already stated, AI is my last resort. If something doesn’t work because it has a logical flaw googeling won’t save me. So of course I debug it first, but if I get an Error I have no clue where it comes from no amount of debugging will fix the problem, because probably the Error occurred because I do not know better. I Am not that good of a coder and I Am still learning a lot on a regular basis. And for people like me AI is in fact quite usefull. It has basically become the replacement to pasting your code and Error into stack overflow (which doesn’t even work for since I always get IP banned when trying to sign up)
da_cow (she/her)@feddit.orgto Technology@lemmy.world•Exactly Six Months Ago, the CEO of Anthropic Said That in Six Months AI Would Be Writing 90 Percent of CodeEnglish293·7 days agoYou can use AI to generate code, but from my experience its quite literally what you said. However, what I have to admit is, that its quite good at finding mistakes in your code. This is especially useful, when you dont have that much experience and are still learning. Copy paste relevant code and ask why its not working and in quite a lot of cases you get an explanation what is not working and why it isn’t working. I usually try to avoid asking an AI and find an answer on google instead, but this does not guarantee an answer.
da_cow (she/her)@feddit.orgto Europe@feddit.org•Germany is not supporting chat controlEnglish14·8 days agoat least in its current iteration.
That’s the important part here.
da_cow (she/her)@feddit.orgto Europe@feddit.org•Germany is not supporting chat controlEnglish4·8 days agoThey were undecided at first
It may have been with Alpine Linux. It has been a while since I saw it the last time.
Or it comes as a second low with an even higher peak at the end.
Sadly I dont have this Copypasta where someone explains to an Arch purist why his Distros is just Linux.
da_cow (she/her)@feddit.orgto Europe@feddit.org•EU Survey about mass surveilance until 20th SeptemberEnglish1·11 days agoWhere can I submit feedback? For me it says “feedback closed” since June 18th.
da_cow (she/her)@feddit.orgOPto Programmer Humor@programming.dev•Yes, I did spend time on this1·12 days agoYes, I did type it out manually (not really, I just copy pasted it and changed the according values)
da_cow (she/her)@feddit.orgOPto Programmer Humor@programming.dev•Yes, I did spend time on this6·12 days agoJust stupid
da_cow (she/her)@feddit.orgOPto Programmer Humor@programming.dev•Yes, I did spend time on this21·12 days agoIts already written in C1
da_cow (she/her)@feddit.orgOPto Programmer Humor@programming.dev•Yes, I did spend time on this6·12 days agoThis is 100% true. I never plan on actually using this. It might be useful for working on microcontrollers like an ESP32, but apart from that the trade of for more computational power is not worth the memory savings.
da_cow (she/her)@feddit.orgOPto Programmer Humor@programming.dev•Yes, I did spend time on this6·12 days agoHmmmmmmm, that sounds like another fun idea. Trying to make storing a single char as inefficient as possible.
da_cow (she/her)@feddit.orgOPto Programmer Humor@programming.dev•Yes, I did spend time on this3·13 days agoI do sometimes work with microcontrollers, but so far I have not encountered a condition where these minimal savings could ever be useful.
People might be if you eat the Mona Lisa.