Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "1024"
Dev1: I started work at a new company.
Dev2: Cool, how is it?
Dev1: Well its ok... but they are a bit weird.
Dev2: How weird.
Dev1: Very weird, they round my pay to 1000 insted of 1024.
Dev2: Yeah weird.6
How about some good news for a change?
We have new baby! 😊 He's our second.
And he was born on 10/24!
He's going to be my little devvy.
So I cracked prime factorization. For real.
I can factor a 1024 bit product in 11hours on an i3.
No GPU acceleration, no massive memory overhead. Probably a lot faster with parallel computation on a better cpu, or even on a gpu.
4096 bits in 97-98 hours.
Verifiable. Not shitting you. My hearts beating out of my fucking chest. Maybe it was an act of god, I don't know, but it works.
What should I do with it?251
I'm designing a new programming language, so far it looks like this:
hodor hodor //hodor, hodor
hodor hodor hodor
There's a compile error somewhere, but I can't find it.22
I don't get 50 shades of grey.
They should have called it: "256 shades of gray unless you're on 10bit HDR, then its 1024 shades of grey"
That would have made much more sense9
Found this in a API from a big company. NDA prevent me from telling the name.
if(index < 1024 && index > 1024)12
A normal person believes a kilobyte is 1000 bytes, a coder believes a kilometer is 1024 meters.
The amount of people who don't know the difference between kilobyte and kibibyte is too damn high. So much confusion.
TL;DR : Most people use Kilobyte ( KB ) and Kibibyte ( KiB ) wrong and i am angry about it.
When i first got involved with software as a teenager, i always wondered why we convert kilo to mega with multiplying by 1024, when we do it with multiplying by 1000 basically everywhere else. Our physics teacher called this SI unit system and told us that this is an internationally accepted statement. So why is there a different rule ? Did i miss out something ? Regrettably I didn't ask her about this.
I just didn't get fully as a teenager. Now, as I am a developer now, i understand that dealing with power or ten is troublesome. Due to ease of work, we lazily mess with SI system and use it wrongly. Isn't it the time we end this abomination ?
2 years ago i talked to a friend about this, he said that i shouldn't bother.
I talked to a teacher, he said "you are right but using different brand of unit system can be overkill, since there is not much difference anyways." I said okay and left.
1 mega = 1000 kilo
1 giga = 1000 mega etc
MB = Megabyte ( 1000 Kilobyte )
KB = Kilobyte ( 1000 Byte )
MiB = Mebibyte ( 1024 Kibibyte )
KiB = Kibibyte ( 1024 Byte )
I am writing this because today i saw someone do it wrong on the internet, all of these came into mind. I wonder your approach about this, for research purposes.
Call me dick all you want, but i am the guy who always corrects uncertainty, no matter what. Things should be in place, correctly. No i don't have OCD. If you say something like "I have 1 MB of executable file, which means i have 1024 KB of it", i will find you, and i will correct you.37
1024 points of soldering !!
Wasn't expecting that when I began, but it's quite interesting and the result will look amazing ^^
I'm making a LED matrix from 0, controlled by an Arduino, it will look really good when it's finished, I plan to use it to display notifications, clock, sound spectrum etc...
What do you think of it ? 😇15
I find it funny how so many people still do not know that 1 kilobyte is just 1000 bytes and not 1024 bytes!
That's a KibiByte!
Guys, kilo means 10^3, always! Always!23
So 10 months ago i moved from Cambridge (UK) to Guildford (UK), due to moving this distance i started working from home and going into the office once a week.
Now after 10 months i have finally got my home office how i first imagined it. Everything runs from my laptop which is located on the shelving unit away from my desk. Everything plugs into it via 1 USB lead.
27" 2560 x 1440 monitor flanked by two 1280 x 1024 monitors.
Asus Laptop (i5-6300HQ, 12GB ram, 512GB SSD + 1TB HDD)
Home PC (i5-7600, 8GB ram, GTX 770)
StarTech USB hub - This allows me to plug my three monitors, keyboards, mouse and everything else into my laptop.
KVM switch - Allows me to swap between my Work PC and Home PC with a click of a button14
Functional Programming. Because Moores Law has moved from making processors faster to multiplying cores, and we may eventually have to code on machines that have 1024 cores or more. Mutable state will cause all kinds of hell in those scenarios. We already have problems with it when we have like 2-3 different threads.4
It has come to my attention that, I @C0D4 have become an addict.
This is something I thought I could fight. Resist the urge to become attached to my substance of choice in the early days and not have it compromise my every day life.
But how wrong I was, my addiction grew over time and my ability to resist the urge to peek at a ++ spam wall, or get back into a discussion at the mention of my name, read more of the great stories that remind us all, we are not alone and many of us are on a similar journey.
So, devRant my one true drug of choice, Today is a significant milestone on this path of corruption, my 1024th (1kib) day!
Here's to another 1024 days of snorting rant lines 🙌 🤤😎11
Somebody ranted about VIM being ported to web assembly. I present to you: Windows 2000. In your browser.
Some say DC is the best, Some say Marvel is the best,
But deep down we all know, 1GB is 1024 MB not 1000MB5
How some of our country's government websites handle responsive web design:
"Best viewed in Internet Explorer 5.x or higher in 1024 x 768 resolution"5
OCR (The exam board for my course) are fucking thick in the head when it comes to anything computing.
- I get a mark or two for saying open source software is worse than thier propritary counterparts
- ALL open source software forks must also be make open source. They spend so much time going over the legal stuff BUT HAVE NEVER HEARD OF OPEN SOURCE LICENCING!
- One exam paper had a not gate picture with 2 inputs...
- I have to differentiate between portable and handheld! YOU MEAN HANDHELD DEVICES ARE NOT PORTABLE!?!!?!?
- In level 2 education, OCR say 1 MB = 1024 KB - In level 3, they say 1 MB = 1000 KB, and 1 MiB = 1024 KiB, and expect you to differentiate. Why do you expect the wrong answer in level 2!?
- INFORMATION FORMATS AND STYLES ARE COMPLETELY DIFFERENT THINGS! If you look up synonyms for "style", "form" is there, and if you look up synonyms for "format", "style" is there.
- When asked for storage devices, I have to say "smartphone", "tablet", "desktop PC" - I mean yeah they store data but when you ask me for storage devices I will say "hard disk drive", "solid state drive", "SD card", etc. >.>
I could probably go on an on about this...
I sure do love being asked to copy-paste existing HTML/JS/CSS and being asked to just tweak it here and there, and then wait for other people's incompetence in copy-pasting... I sure do love being stuck with this sort of "education" ._.4
I’ve been programming with other languages than Python for so long that when I finally had to pick up Python to help teach my friend some python I felt like I was rediscovering a past life.
With Python I feel like King Fucking Arthur with the Holy Blade Excalibur, armored up and ready for fucking war.
When I’m writing a script I feel like I’m parrying and piercing my blade straight through that fuckers chest and slam them into the fucking ground. And leave their bleeding out cold dying body on the fucking ground with no hope in their eyes.
Although when an indentation error occurs I feel like I just fucking tripped over a fucking pebble and apparently stairs were nearby and I bash my head on all 1024 steps, get to the bottom to just to get some fucking Java Chad punt my fucking head like a fucking football screaming random reasons to not use python.8
Edit: disregard this rant, as it seems I have no idea what I'm talking about
"Filesystems encrypted with 128 bit keys are practically unbreakable with today's technology" - my OS professor.
No, I didn't mishear him saying 1024. He said 128 bits.
And yes, it's the same guy from my previous rant (the one with "Linux is just for hackers")13
Could you imagine a guy who takes A4 paper with encrypted text using modern algorithms and decrypts it in 20 minutes which pen and his mind?5
I had a test when i was in 9th grade for computer( not computer programming )
Q) how many KB are i an MB ?
1) 500 2) 1000 3) 2000 4) none of the above
Since its 1024 i thought its none of the above like a sane person but my teacher be like " there are 1000 KB in 1 MB." I tried to explain that i think thats wrong but well gg.20
Welp, at a dinner with @ewpratten and @n3xus . Just told them I was literally one vote away from 1024 and they both down voted me under 1000 and then above 10246
A developer asks his friend for a loan: 'please give me 1000 $...'
Friend: sure, here, take 1024 so its round.3
Debugging programs is like trying to cut all of the corners off of a square. You might get them all, but when you look again, you now have 8 more.
Eventually, you get sick of the exercise, so you redefine your 1024-sided polygon to be a circle, because all the corners are features anyway.
A typical bouba coder:
- thinks a kilobyte contains 1024 bytes
- thinks Object.assign clones an object
- codes in react.js, thinks he knows reactive programming
- “amd is better for games, intel is better for work”
- thinks that the main advantage of ssh is that you don’t need to enter your password manually
- watches porn in incognito mode
- “uhm, is it immutable?”
- thinks “persistent” means saved to local storage
- thinks designer is an inferior job because “they only draw shapes”
- thinks good accessibility is when the tab key works
- “All non-mechanical keyboards are trash”
- “C is outdated and nobody uses it anymore”
- “Zuck quit uni and now he’s a billionaire, everybody should quit”
- thinks “pointer” is a shape of the cursor53
So today I spent the whole day at work in a website to make it go full responsive. When I finished, the PM told me "Forget about these and those screen sizes, make everything over 1024px a desktop view". There are tablets with screen bigger than just 1024px... Anyway, I got a little mad because I spent the WHOLE day working with those tablets that are bigger than 1024 just to get a " Forget about these and those".
Fine, I'm fine now... I needed to tell this to someone, I know you will understand my pain, guys :)2
years back, before the dawn of dual core cpus. our rich friend of the group got 1024 megabytes, ONE WHOLE GIGABYTE, of RAM. and we were all like, "what are you gona use THAT for?"
today the answer is. uh, maybe browse the web? like a single page, from over a decade or 2 back?
customer: I have a problem.
Smart Cell: here's a math problem, just divide it 3 times by 10243
Ladies and gentlemen... It finally happened... I finally killed a Linux install!
Was stuck at 1024 x 768, installed NVIDIA drivers, crashed, restarted and ended up in an endless login screen loop and then boom, crash and is no longer recognised in Grub.
Don't know what I did seeing as the machine hasn't been on for 3 days ¯\_(ツ)_/¯
Guess I'll have to do a reinstall when I have internet again!4
Early 1970s, when I was around 8 years old. I read about Artificial Intelligence and it blew me away. I knew nothing about computers, other than I wanted to program them.
I still have old computer magazines, starting from around 1978 not long after the microcomputer revolution started.
My first computer had 2K RAM. That's 2048 bytes. I expanded the memory 1K at a time, and it took 2 chips - they were 4 bits by 1024 so you needed 2 chips to have 8 bit wide memory.
2114 static ram, 300ns.
I think they still make them!6
I'm not sure if I really should have celebrated 1024++ by buying myself a desktop PC.
But I really prefer it over any kind of laptop. 😸2
Watching @bonises trying to fix his ps4 (changing drives since the stock one died), after 4 hours and almost throwing the ps4 out of the window because of corupt file error it turns out that the install drive must be formated with not only fat32 BUT also with a sector size of 1024, and welp, it worked1
½ Rant, !dev;
HECK i missed the exact moment it happened >.<
but THANK YOU so much for (1 << 10) ++'s!
like who cares celebrating 1000 :P
Thank you guys <3
Shoutouts to @jiffier for being the 1024'th ++er6
Looking through Java tests, cause I need to pass one for job. And every one of them has a question like:
What's the result of:
boolean b = 42 >= 1024;
if (b = true) System.out.print(1);
And each time I answer like there is (b == true) and not (b = true).
Cause no one in real life would write = in if statement. Why do they put such question in each and every test.1
Almost halfway there to reach the milestone of 1024 ++es! My day couldn't start in a better way haha :D2
So we have a teacher who always annoys us with being extremly specific and precise. Today we "learned" how to calculate the scan file size based on the dpi of the scanner and the size if the picture. He began to calculate, and then, he said: "Now we have 1737389 bytes and we gonna divide with 1024 to get the kiloBYTES. This was it. He rants about us everytime because of this shit. I raised my arm slowly, whilw preparing the words in my head. "Excuse me, but you are calculating kibibytes, not kilobytes! To get kilobytes you have to divide with 1000, hence kilo." Then he muttered something about he didnt wanted to write that because of courae he knew about this... One teacher well done please.
The difference between a programmer and a non-programmer is.........
The non-programmer thinks a kilobyte is 1000 bytes,
while a programmer is convinced that a kilometer is 1024 meters.....6
Can’t wait for python 3.8 and pep-p572 Assignment expressions 👏👏
while chunk := file.read(1024):
Trying to fix an urgent issue with our Xamarin iOS app and a known bug in Xamarin "IOException: Sharing violation on path /Assets.xcassets/AppIcon.appiconset/Icon-1024.png" is blocking me.
Luckily I still have my old laptop from my last upgrade on standby, boot it up and it's not using the affected version of Xamarin. 😃
Instead this one has the also know "/ios/release/mono/mini/mini-arm64.c:5439, condition `native_offset % 4 == 0' not met" blocking issue when debugging. 🤦♂️
I just want to do some work. ☹3