Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "formating"
Ok, so teacher (which should be something like a professional dev or whatever) assigned us a homework for a Christmas (I dont care, I can complete his assignments in like 10 minutes max). We have to do some simple shit in C++, just some loops and input + output. Nothing hard. He challenged me to write it as short as possible, so I did. My classmates have codes around 60 to 70 lines long (after propper formating). I made it 20 lines long using some pointer magic and stuff like that. I tried my code, it ran fucking perfectly, so I sent that to him. He replied that the code does not work. I tried to recompile it and it ran perfectly. Again, it does not work. Afeter 13 fucking emails he fucking finally sent me the error message. Some fucntion was not found (missing some library but literally everywhere else it works without it...). Thats strange, because it run perfectly on my Fedora with CLion, so I switch to Windows and try to run same code in Visual Studio (which we are using in school btw). Works perfectly. So I start arguing with the teacher more and more. I tried around 10 online compilers. Works fuckng everywhere. Teacher is pissed, me too. So I rewrote my whole code, added comments and shit, reinvented wheel literally everywhere. Now I have C99 standardised code over 370 lines long that run even on a fucking arduino after changing input output methods so it can work with it. It (suprisingly runs) on his PC too.
After a bit more arguing, he said that he is using CodeBlocks from fucking 2015. Wow. Just fucking wow. Even our school has some old Visual Studio (2007 I guess) and it worked there.7
I would like to know some of you guys most used/preferred apps that you have been using it for long time or you will install them immediately after purchasing new phone/ formating/ installing custom ROM.
List them down if you feel like it, maybe some of them can be helpful to us. Here's mine list.
P.S. Apart from devRant
- ES file Explorer
- NoRoot firewall
- xda labs
- Nova launcher8
did all the work and showed it to client . a person came and did just formating/ui , even values were populated by me .
Now he is the one who did everything. even client appreciated his effort of 4 hours.
Fuck this company.2
For the next 2 months, I'm forced to migrate documentation from one site to another, correcting the formating if needed.
What did i do to deserve this?5
I just love code-golf, I only started recently, but sometimes it's nice to fuck all coding conventions, missuse lazy evaluation and abuse scope leaking.
I'm normally really tidy with formating and whitespace placement, but code-golf is also a testing field for uncommen constructs and I think it can give deeper insights into a language.
I don't like languages specifically for code-golf though, these are just stupid and no fun (at least for me).3
Feeling like a boss! 😎
Long story short:
Solved a formating issue in a program at work by using ancii code 32.
Even my team lead didn't think of that solution!4
Experiences of owning a private server with JFK!
Dropping a prod db: 1
Misplacing passwords: 3
Config errors: Over 9'000
fail2ban banned me: 2
Not reading the docs first since: Forever
Setting up a sever again because I fucked up: 4
Formating the wrong USB stick, which had needed data: 1
Resetting lost DB root password: 2
Server crashes due to insufficient psu: 3
Not knowing the firewall is enabled again, so near to nothing works: 22
It's getting to the point where I can put on my resume "make Word formating more gooder". It's amazing how dumb this is making me feel for how often I have to do it.1
I was adding/removing some programs on os x, and accidentally did sudo rm -rf /usr/local ... now guess who is staying all night formating and reinstalling everything? OS X should really ask in such cases..3
Google drive won't load on my pc, google docs fucks up the formating. I know i can stil download the document from the web io but i have to upload it every once and then to have it synchronized manually and that runins my mood rn.1
Wow why is TFS (with default settings) locking files and the whole solution for the whole team just when i change the code formating for better reading? I cant wait when we move to git or even svn1
worst sin? 🤔
I guess not following any best practices, really bad formating, no comments, simply puting all code together just to make it work. I cry everytime I have to dig through my old codes 😫 such a shitty code, such a shitty programmer I was (am) 😔😓
Does anyone know how to copy text to clipboard from a h1 but text formating should be the same and no html attributes should appear9
TIFU by accidentaly FORMATING MY ENTIRE DISK during a Windows onstallation.
To my credit, Windows disk partitioning is horrible, since the monkeys over at Microsoft thouht it was a good idea to MAKE THE CHANGES TO THE DISK IN REAL TIME.
did a google search for typesceipt date formating as just 'ts date'...
the results were less than helpful.1