Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "such code"
-
My classmates are such hypocrites. They pretend to be programmers, but they can't fool me.
"Oh sorry. I can't show you the result of my html code. I have to compile it first, but there's no WiFi."
There's so many things wrong with that.39 -
That moment when you make your code such that even dummies can understand it, implement smart ass algos, do all those comment line things for definitions. Then you show your project to your teacher who has this to say :
"Why are you showing me copied code?"
I am like10 -
C'mon guys! 80 hours, 70 hours, 40 hours... Are you humans or fucking robots?
Once I stayed awake 36 hours helped by energy drinks and I could barely remember my name.
I can't really imagine how somebody could write useful code with such a huge sleep deprivation.14 -
So this other senior dev got seriously ill a couple of weeks ago and the project he was working on was assigned to me. His code was so aesthetic, loved his work, the structured code helped me a lot in meeting the deadlines. He returned a few days back and now the company has given him two weeks notice because "his pace is slow". I am frustrated, PM is frustrated. The guy is such a gem that he is still helping with all the new requirements client is throwing at us.8
-
I'm a new developer. Here is the top advice I've received:
0. Think like a programmer, outside of work too.
1. Programming is tough. It takes a certain kind of mindset to sit in front of a monitor and think it through a problem till the end. Develop that mindset.
2. Handwork pays.
3. Do it for fun. Be exceptional. Money will follow.
4. Care about the craft you build. Write such a beautiful code that your fellow devs would think about your code and have a nerdgasm.
5. Simple is beautiful. Anybody can make things complex. It takes a stroke of genius to make things simple.
6. Write modular code. It makes your code reusable and easy to maintain. Future developers who will work on your piece of code will appreciate it.
7. Share your knowledge. Unlike materialistic things, knowledge grows when you share it.
8. Add comments. You think you'll remember why you wrote that piece of code that way or a clever hack you created but trust me, you won't.
9. Be humble. You'll never know everything. Don't hesitate to ask for help.
10. Writing code is exciting! Of course there will be some frustrating moments. But don't give up! You'll miss a lot of fun.5 -
Whenever I feel bad, I go and help random people with their code.
I also randomly offer to help teach people Java so that they can learn best practice and perhaps not make the same small mistakes.
Such is life. My method of coping with sadness.9 -
People on Stack Overflow are SUCH FUCKING ASSHOLES
"You didn't show us where you declared this unimportant array, please review this article for how to ask questions"
My question doesn't concern the array, my question concerns how the system works, all code I provided was only for clarity. Read my fucking question you arrogant asshole. You have lots of points, fine, go tell your mother, but you assume I don't know how to ask a question which you clearly did not read.10 -
Me: Why is there such a delay between the app and the hardware device?
Colleague: Ah, same old same old, TCP is just an inefficient protocol. We should stop development and build our own replacement to TCP.
(PS. The actual problem was his code)9 -
IF LIVES DEPEND ON A SYSTEM
1. Code review, collaboration, and knowledge sharing (each hour of code review saves 33 hours of maintenance)
2. TDD (40% — 80% reduction in production bug density)
3. Daily continuous integration (large code merges are a major source of bugs)
4. Minimize developer interruptions (an interrupted task takes twice as long and contains twice as many defects)
5. Linting (catches many typo and undefined variable bugs that static types could catch, as well as a host of stylistic issues that correlate with bug creation, such as accidentally assigning when you meant to compare)
6. Reduce complexity & improve modularity -- complex code is harder to understand, test, and maintain
-Eric Elliott12 -
A few weeks ago at infosec lab in college
Me: so I wrote the RSA code but it's in python I hope that's ok (prof usually gets butthurt if he feels students know something more than him)
Prof: yeah, that's fine. Is it working?
Me: yeah, *shows him the code and then runs it* here
Prof: why is it generating such big ciphertext?
Me: because I'm using big prime numbers...?
Prof: why are you using big prime numbers? I asked you to use 11, 13 or 17
Me: but that's when we're solving and calculating this manually, over here we can supply proper prime numbers...
Prof: no this is not good, it shouldn't create such big ciphertext
Me: *what in the shitting hell?* Ok....but the plaintext is also kinda big (plaintext:"this is a msg")
Prof: still, ciphertext shows more characters!
Me: *yeah no fucking shit, this isn't some mono/poly-alphabetic algorithm* ok...but I do not control the length of the ciphertext...? I only supply the prime numbers and this is what it gives me...? Also the code is working fine, i don't think there's any issue with the code but you can check it if there are any logic errors...
Prof: *stares at the screen like it just smacked his mom's ass* fine
Me: *FML*12 -
At least, it was honest comment by developer........
Have you ever encountered such funny statement/code ?3 -
This ist basically my daily work. I have to write Java code in excel files which then are being converted into a DSL and then again being converted into Java code. On top of that many wrappers were built which abstract all this things away..
We have about 30 such excel files which contain about 50000 business rules.
There is no version control for this tables and 5 different team are working on the same tables parallel.
The name of this framework is Drools or as I call it: HELL 😡16 -
“Our code is our documentation - it’s produced in such a way as to be explanatory, logical and clear, and annotated if/where needed”
Really?? That's the reply you give me when I asking API documentation for handover ?4 -
Me to a lead dev: hey, I noticed that junior guy pushed this bad code to prod that you approved.
Him: oh really that’s wrong? Ok we can fix it.
Me (cursing under my breath): no asshole, that’s not the fucking point. You should know enough to not approve such pull requests. -
I'm just beggining to learn to code, and I found this awesome community where people rant ..
Such a motivation,, 😁9 -
One of my colleagues at work has cooked up this amazing amazing method.. and guys brace yourself.. This code is on production..17
-
Seniors: Welcome to the team. Feel free to ask anything if you need help. There is no such thing as stupid questions.
New Dev: Sure. Thanks.
*a few minutes later*
New Dev: How to comment a code?
Seniors: Google it....and please don't ask stupid questions.11 -
Sometimes I have such little idea what I'm to do or doing that I print code to 'analyze' it fully...6
-
Rant Init...
That moment you write some magnificent code and everyone is sleeping so you can't share it with anyone but you feel like the room should turn into an exciting musical where you win an award. (Best code can ONLY be written between the hours of 12am and 6am)
The next day, you try to explain to your significant other (user) how amazing this new genius way of doing that "thing" was, in hopes of sharing your excitement but all you get is a "you're such a dork" instead.
You may even try to share it with a coworker or fellow programmer but somehow they just don't see how exciting it is for you.
Rant completed...7 -
Visual Studio Code. I went in expecting to hate it, but gave it a chance due to good reviews. Been hooked for months now.
Surprised to see Microsoft create such a slick Dev tool.4 -
Screaming at a coworker?
The INTJ in me has prevented that pretty well in almost every critical devSituation.
BUT one time in the past, I was really close to a level 9001 scream:
This fucker, despite having been told about code formatting guidelines and DRY/KISS multiple times, had the balls to commit such utterly crappy and unreadable code that I almost bursted.
He quickly realized his mistake after I reset the repo to before his push, disabled his Gitlab account and wrote him a simple email containing the text:
"IF YOU EVER COMMIT SUCH SHIT AGAIN, THERE WILL BE UNFORESEEN CONSEQUENCES. GFYS."
After a peaceful coffee and a croissant I decided to re-enable his account. He did good after that.2 -
Everytime I look at an open source project code, I realize how bad I am and that I must work harder in order to take part in such amazing projects.2
-
In our morning stand up, dev was bragging about how much code he was refactoring (like over-the-top bragging) and how much the changes will improve readability (WTF does that mean?), performance, blah blah blah. Boss was very impressed, I wasn't. This morning I looked at the change history and yes, he spent nearly two solid days changing code. What code? A service that is over 10 years old, hasn't been used in over 5, mostly auto-generated code (various data contracts from third party systems). He "re-wrote" the auto-generated code, "fixed" various IDisposable implementations and other complete wastes of time. How –bleep-ing needy are people for praise and how –bleep-ing stupid are people for believing such bull-bleep? I think I should get a t-shirt made with a picture of a BS-Meter and when he starts talking, “Wait a sec, I gotta change my shirt. OK…you were saying?”5
-
I saw one guy in Office writing unit test cases and documentation for his code .
Such a psychopath!!!9 -
A friend sent me this in the morning:
“By convention, type names such as String or Int (or Dog or Cat) start with a capital letter; variable names start with a small letter. Do not violate this convention. If you do, your code might still compile and run just fine, but I will personally send agents to your house to remove your kneecaps in the dead of night.”
Excerpt From: Matt Neuburg. “iOS 10 Programming Fundamentals with Swift.” iBooks.1 -
There is no such thing as an 'idea' person.
Learn to art, learn to code, or learn to FUCK OFF!
Talented people can take bad ideas and make gold.
Without skill the best idea will turn out garbage.2 -
Let's see the coder in you.
If I give input: 1 output: 2
If I give input: 2 output:1
Only these two test cases needed.
You should not use control structures such as if,else,for,while,switch etc. (The answer is simple) (Don't cheat)
int number;
cin>>number; //get number
cout<<??????; //Your code53 -
I learnt programming by making cheats for games and reverse engineering them. It was a fun experience as it wasn't always easy to start with C++ and assembly but it was definitely worth it. Though when you come from a low level language such as C++, looking at highly abstract languages such as Javascript makes everything feel wrong in Javascript, especially when it comes to types and how you can just switch types in the middle of the code :D. But it also gives you an understanding of how Javascript could be implemented, what the engine is doing in the background when you create an object etc..
-
I spent 10 years of my life to learn how to code when I could make big money without coding. I'm such an idiot13
-
When you about to start a project by doing a small module, but as you code, you keep thinking about scalability, security dependencies and such....
....three hours later, you still haven't written code2 -
Damn fuck it. I am making a program with
#include <windows.h>
Accessing the Win32 API in c is such a pain. Just made a simple window with 70 lines of c code. And I have to edit it in turbo c but run it in some other compiler. Our teacher is a .... uhhh
Hate projects.
Sorry if the rant doesn't make sense. I am too tired.11 -
Is it just me that is addicted to the feeling when you solved a big problem with the code and everything just works afterwards? Its such a nice feeling!!3
-
I always wonder why people complain about php being horrible, then I actually see the code they write.
It's like complaining "I can't believe I have to use such a horrible desk" when it's littered with empty coffee cups and yesterday's lunch.4 -
Anyone who really uses UML to Illustrate or understand code?
I pretty much always just get more confused when I see such a diagram.8 -
Hahaha guys I got the HTTP response codes tattooed on my arm so I don't forget them! Aren't I fun and quirky? I'm such a code nerd, oh thanks for the likes, Twitter! Wowowowow i am just SO FUN. Look at my nerdy tattoo!!10
-
CODING CODING CODING HAHAHA I LOVE PROGRAMMING BEING A LITTLE CODE SLUT. I LOVE SILICON VALLEY IM SUCH A QUIRKED UP LITTLE CODE SHAWTY LOOKING FOR SOME ALGOASS 🍆💦😩.
“Slams fists on keyboard”
I LOVE BEING A CUTE SCREEN TWINK, IMPRESSING PAPI CEO WITH MY FINGER COMBINATIONS. I LOVE PLEASING EXECUDADDY. 🍑😏🫦
“Takes keyboard in hand and slams it against desk until keyboard keys explode everywhere”
I LOVE WATCHING THE AMERICAN GOVERNMENT AND CORPORATE AMERICA FUCK MY ASS IN RETURN FOR PERSONAL PROFITS. 🤑☔️
*digs fingernails into the wall and claws off paint and then snorts it”
*pees and shits pants*
*cries in corner with extra agony*21 -
When reading your old code, there are two feelings you may have:
1. I was such a dumbass back then
2. I was so thoughtful back then
If its #2, seek a position outside development, like product management, your coding career is probably over.3 -
That feeling when you're supposed to debug code someone else wrote a decade ago but it's such a horrible mess that your brain just gives up and you end up staring at your monitor for an hour in confusion 😵8
-
I'm task to amend the code smell in the project. I literally can cry a river.
I see such thing as i = i++; - It's flag out as a bug.
I have also seen check in classes. With un-used variables. I literally cried.
In the past, i ask why do i got to care about code quality. I actually start to get angry like the team leads in my project.7 -
Worst advice about programming...
My discussion with my company sistem admin :
Me : you must always think that users are dumb and will make mistakes (like putting letters when db saves as number)
He : users must learn, if they make such mistakes its their fault.
My claim: I learned early in school to always assume that users are stupid and will always find bugs and exploits by coincidence. So protect your code from bad imput8 -
I'm forced to open-source all code from my masters thesis as my professor was planning on stealing everything to use as his own.
Anyone ever done such a thing before? anything to bear in mind?7 -
Learning to code in Visual Studio with such lame examples that I literally have to minimize my screen so that no one mocks me. #beginnerproblems13
-
1. Identify the problem
2. Come up with a clever solution
3. Refactor half of your code
4. Watch it fail horribly because you're such an idiot it's a bloody miracle you keep breathing on your own
5. Repeat2 -
Rant!!
Fuuuuuuuuuuccccccckk this new dev hired is such a dick he keeps on not testing his own code for simple things and expects everyone else to test it on local and tell him his bugs.6 -
Hired a designer below me.. guy never wrote a full back nor frontend... Used npm shit for all his solutions and worked his way above me just by kissing ass and polluting the codebase in such a way 70% would be open source shitty plugins for shit he could not do by himself code wise...
At some point he assigned some of his tasks to me and I couldn't work with his patchy framework that was non existent within the codebase I worked on ...
At some point between npm installed tantrums I got pulled up to HR because my code quality dropped... And it was this fucktart that accused me of this saying I could not do modern development...
In the end I either had to butkiss after his butts or just quit, so I did the latter... I told him and HR I owned alot more code quality than this asshat but just not his way of working and therefor it was more an issue of code equality I was never aware of ...
A month after that the company got overtaken by some silicon valley bullshit company buying up competition, and he is still working within that shithole dealing with 90's tech...
Was the best thing that happened to me, after that I grew alot in skillset and such by investments from other jobs and projects... If I would still work there today I would consider myself a caveman6 -
I briefly worked for a fucked up company that had been bought by a coupon company that had outsourced a project to India
The code contained such gems as
If (Booleanvar ==true)
Among many other little things and some really big ones and was a web project written in vb9 -
I recently came across my old interview assignment code which I had written while I was still in college. Oh my God, it was cringy! It was such crappy code 😂
My coworker (who had interviewed me) saw it too. He was surprisingly very chill about it, saying that the code is not bad, it just shows a lack of experience. I think I will choose to believe him 🙃4 -
All the noob jokes about "tee hee I write such bad code exdee" fucking drive me nuts.
There are absolutely such things as good codebases, in any language. By posting "tee hee funny relatable" "memes" about your shitass code you just make yourself look like a fucking idiot who excuses poor quality with "haha so relatable!" bullshit excuses.
Thank you for being the literal cancer of the industry, oversaturating the markets and making all of our managers think we're fucking idiot babies that have to be wrangled like cats in order to get a single feature out the door, devoid of rational thought or a modicum of expertise.
Fuck you. You're the problem. Be better or find another profession where slacking off is acceptable.18 -
Look honey! I optimized the code in such a way only a few lines are needed, I'm so happy with this efficiency. Her reply: "Ooooh, that's nice!! <blankstare>". Yeah, uh, we'll talk later.8
-
PM: You can cut corners it it's necessary.
Me: Thanks for giving me permission to move faster.
*But as you know, I wouldn't be in this position if you hadn't made us agree to such an unrealistic deadline.*
..
...
*after completion*
.
.
PM: There are bugs in the code.
ME: There are bugs, because you asked me to cut corners. *fu#k you* *wtf moment*4 -
Recently for a project I needed to read/write ID3 tags from MP3 files. And after a long search, I found this bloated, monolithic but quite stable library, "getID3".
So, I was looking through the code-base and I found this. This guy literally storing the key value based data embedded as comments within the class file. Then wrote a method to parse the data and even used caching to ensure maximum speed! And such usage is repeated all over the code-base.
So, this is what people used do before arrays were invented :314 -
Ubuntu mono font is such a delight to use as a code font.
Changed all my IDE / Atom / Notepad++ fonts to use that as default now. :-)
http://font.ubuntu.com/2 -
Can't say I am a religious type, not really into discovering/discussing religions and comparing them either... BUT I do hope there is someplace (like hell on steroids!!) for developers who don't test their code before checking it in and/or puting it on production..
Also another question, can I plead not guilty due to insanity when killing such devs?!? O.o FUuuuuuuuu!!!!2 -
"Potimized imports and remopved temp code"
Can't help but wonder what's the code quality like from an author of such a carefully written commit message 🤔3 -
Common Lisp's format function.
Because it supports some crazy convenient formatting directives, such as: writing numbers as words, writing numbers as Roman numerals, correctly writing plurals, etc
The code in the image will print:
one cat
two cats
three cats
...
seven cats3 -
Do you all get the mood when you don't wish to code anything because you like to Google new technologies and platforms all day?
I'm having such a mood today.2 -
You know your expertise is increasing when you're working on your side project for over a year, and you thought the code you wrote in the beginning was so awesome and such a master piece. Now, one year later you realize it's shit.3
-
I have no idea how this code that I wrote last year work and there's obviously no documentation but thankfully I gave my classes very useful names such as "YuDoDis", "Texter467", "TheHolyButton", "GARBAGE", etc. Fucking hate myself sometimes.3
-
Coffeescript is such a pain in the ass. If I wanted to code in Python, I'll code in Python. Why do you have to add pythonicness to JS! Eat a bag of dicks!7
-
I'm having such a blast writing code in TypeScript. Once you learn it you cannot go back to regular JavaScript.6
-
Having to deal with shit code as a new employee so you don't step on any toes...
Who knew developers had such egos. ¯\_(ツ)_/¯10 -
Stuff like this on Friday mornings on the day of code freeze makes you ....
"Fucking throw a monitor at people with such attitudes"😡 -
Ya'll know what... If humans weren't such annoying vulnerability-searching little shits then we wouldn't have had to implement any protection against them and think of all the performance that would be saved on that. Take branch prediction vulnerability mitigation in the Linux kernel for example, that's got to make a performance hit of least 10% on basically everything.
Alas, I do get why security is important and why we keep such vulnerability mitigation running despite the performance hit. I get why safe code is necessary but still... if these people weren't such annoying little bastards.
Yeah, I was just kind of set off by the above. So much would be faster and easier if only the programmers wouldn't have to plan for people exploiting their software. Software would be written much faster and humans would progress to stuff that actually matters like innovation.8 -
“I started learning to code today while I was in the toilet. Let me tell you about the best app to learning coding for beginners.”
How does this person have such blind confidence in their first though?3 -
Code freeze is such an idiotic concept. What year do we have? Just make a goddamn release branch and do your codefreezy things there. Why the fuck would we stop the entire development just because you can't figure out git?8
-
I love tools such as IntelliSense or Copilot, don't get me wrong!
But i still have a deep rooted fear that one day, developers will become so dependent on those luxuries, that we will become practically unable to write code on our own, without our cloud overlords blessings.
Until, you know.. the server for such a service will crash and no one will know how to fix it without its own help. *see Palpatine meme reference*17 -
as a C# dev every time i have to code something in JS i'm just ranting because
- no types
- no fucking errors
i tried to move a Oval in an HTML5 canvas via Drag and Drop and after one hour I gave up...
such a fucking creepy broke language..
as a proof, if js wouldnt be that fucked up why is there typeScript, CoffeeScript, Brython, ... ?
Cant wait to finally use WebAssember...(really)9 -
I ONLY WANT TO WRITE MY OWN CODE
TODAY I FOUND OUT I HATE DOING PR REVIEWS AND HAVING TO GO BACK AND FORTH WITH PEOPLE ABOUT WHAT THEY DID IN THEIR CODE
I'm sure it's beneficial, but it FEELS like such a waste of time12 -
I guess this happens to everyone but damn, hate it when dreaming about code, and not just any code, but the code your enthusiastic about, somehow everything seems to work, so that when you wake up and sit in front of the computer you just go blank... what was that code again, it was so sleek, so simple, yet so robust...
12 hours later dream about it again to wake up realizing you wont ever be able to wake up remembering the code in the detail...1 -
Sticker game:
A friend finds me coding and busy on my code then asks.
Her:Can I have a minute.
Me:Sure,how can I be of help
Her:What's up with all this devrant cartoons on your machine.
Me:Sounding excited,you like my sticker game can ship some for you?
Her:Nah sticker game since when is there such one looks childish and why ship stickers.
Me:It's our techy culture respect it let me finalize on my work.
She messed up my evening human bug.1 -
I’ve started at a new place - the team use Trello to share code 😳They are happy to zip a folder, upload and download each time a project is updated.
I’ve tried to sell the benefits of Git however some have such conviction that it would be worse. FML.9 -
Went for a job interview today, and learned something very important about myself...
...that I should be permanently banned from writing code on whiteboards, for any reason. I have never seen such ugly code in my entire life. Ugh...5 -
!Rant
I'm going to be teaching my roommate how to "code" soon. Or rather, I'll be teaching her how to use Scratch, so she can have a leg up when she applies to work at a children's code academy that uses a Scratch-like environment. Should be fun!
I love that Scratch exists. Such an accessible way to teach basic concepts like loops, conditional statements, etc, with results that are way more fun than "oh look I output the fibinacci sequence"1 -
Git is distributed. What's on gitlab it's also on my 3 different machines. So I have 3 backups for the code. Not such a big deal except issues and PRs.6
-
When I see bunch of errors in my code this badass guy comes in my mind who spend 22 years just to break a mountain who killed his wife.
Salute to such badass!!!
You can read more about him here :-
https://quora.com/What-is-the-most-...11 -
!rant
Arduino CNC
Hey guys.
Since I mostly see frameworks to use with G-Code in Arduino CNCs I'm gonna make my own framework, where you don't need to know G-Code and the code is executed by Arduino code.
The code would include a template to define steppers steps and such.
Would include a library to work with different stepper shields.
Would this interest to anyone?
I'll provide a full example with stuff to learn for any amateur working with CNCs or that want to work with one. If you're not interested, thank you for reading, you can stop here.
Ex:
X(10);
Y(-5.5);
XY(6,7.5);
Z(-10);
This framework would only use incremental coordinates and will work for basic forms, drilling and such.
<Tutorial>
Coordinates.
Coordinates can be relative/incremental or absolute.
Lets say you have a square with 10mm, (top coordinates: (X=0,Y=0) to (X=10,Y=10).
think your drawing this square.
First line:
X0, Y0
Absolute: x10,y0
Relative: X+10
Second line:
A: x10,y10
R: Y+10
Third Line (...)
Absolute is a fixed point (coordinate)
Relative is a distance to move (not a coordinate but the distance and direction)
</Tutorial>
So, to cut a square with a TR10 (end mill with radius=5, diameter=10)
<code>
// You don't place + in positive values
// The tool always cut in the direction of the tool rotation, meaning on the left of the material.
Z(10); // Security Distance
XY(-5,0); //Compensate the diameter of the tool in radius
Z(-1); // Z=0 is the top of the block to mill, in this case. Z=0 can also be in the bottom
Y(15); //Second Point
X(15); // Third Point
Y(-15); // Forth point
X-15; // Fifth Point
(repeat)
</code>
Now we have a block with 1mm depth. If you use a while or for you can repeat the sequence for x=n passages, change the value to Z for the depth and your done.30 -
Spent 5 hours working on a solution for a hash difficulty comparison/scaling algorithm. after a bunch of different iterations and approaches, I find that my problem can be solved by the attached equation. Its such a simple answer but no way in hell would you be able to discern the amount of time and brainpower that was put into it. The git commit is literally 10 lines of code total, but I guess its not about the amount of code, but the time spent thinking about it thay counts?6
-
Do you ever just think of a feature you want to implement in your program, thinking it's going to be a challenge and then you realize "oh, my program is set up in such a way that makes adding this feature literally one additional line and one modified line of code, without making the code messy"?5
-
Typescript seems like such overkill, but then you need to refactor your code and hit a bunch of issues in production. I don't think I'll ever go without typescript again. Fuck dynamic typing, it doesn't scale5
-
So normally I go with a super-conservative error handler that logs errors, and exit the process on even the tinyest/smallest error.
Regardless or project/cms/framework I always to this to prevent myself from installing spaghetti plugins or writing unstable code.
Also because I don't want any code to just soldier on if a variable wasn't defined properly, or likewise.
But today I had to write this little fucker into my error handler, to support the error surpressing operator '@'
Appearently prestashop was developed by a group of senseless moronic fuckwits,
and hteir piece of horseshit software doesn't even work if it isn't allowed to surpress errors.
What was the fucking imbeciles thinking when requiring such lunatic behaviour... -
I contacted the creators of Nova Launcher because I want the full version. They have both an google play upgrade as an input code upgrade.
Since I dont have any google service anywhere I contacted them to ask how to get such a code because I dont have any google service. This was their reply:
"You would need to purchase the app via the Google Play Store, then once you have, email us a copy of the receipt and the email you used to purchase the app with, then we can give you a Direct License to use since you don't have Google Play Services."
How do I buy it if I dont have any fucking google service?15 -
I wish I could read my code on other people's screens. I wouldn't sound like such an idiot whenever I leave my desk. *sigh*2
-
From a Dev at my old place: Don't use git for such a small project, I think we should use email to send our code to each other.
Turned out that this "small project" was a piece for a larger project.
Also turns out there's such a thing as merge conflicts outside of git.
Our code was broken for 3 days once because of his shitty advice.2 -
Fairly new to Linux, read that vim is a neat editor but hard to learn, good for script editing and such, but why use it over a language specific editor or something like VS Code?24
-
Firebase is pure fucking assrape!
How can these spoiled cunts of Google "develop" such a stinking pile of rotten placenta?
No, one fucking Promise is not enough... you have to return Promises for every single smegma function!
I want to just blow up this ugly afterbirth!!
It seems that Google devs are just spoiled MacCunt Pro brats who copy-paste code around until something "kind of works".13 -
Last year I had to program most of my projects in Python. I like the language, don't get me wrong. But man oh man if you indent your line of code one too many fucking times, it can be such a pain in the ass to find your error...
Even if it may clutter your code (not in my opinion), that's why I love them curly brackets and languages which use them <39 -
Such variable names
much helpful
very wow!
Either I need to download sdk source code for var names to show up correctly or I need to memorize which is for what :\9 -
I dislike the damage web development tools have done to my programming habits.
The rapid feedback provided from the development environment (e.g. hot-reloads) encourages me to constantly bang out code with very little consideration for its side-effects.
This tendency has become a handicap when I write instructions for hardware with much less resources, such as a microcontroller.3 -
How to deal with legacy code when you see such thing:
if function() == !!!false
1. Ctrl+A
2. Del
3. rm -rfv /3 -
I am going to create a define in my code:
#define BIT_CH CHAR_BIT
Then do search replace of CHAR_BIT to "update" the code. Probably need to wait for a refactor. No idea if CHAR_BIT is even used in our code base. I just want to be a BIT_CH.
I was sitting here thinking what a valid use for an object called BitCh or BitChar. Still trying to come up with some valid reason to create such an object.
And people say programming as an art is dead.8 -
There are comments in prod code which say "need to change after POC" or something similar in multiple places.
Also, something that was designed to check something, but the call is made in such a way that it always returns true.
Best part, all the original authors left the company before I joined this team.1 -
Never ever directly edit the source code of libraries.
Not to the smallest bit.
I just did that and forgot about it, then I wondered how a decent library like I used can produce such gobshite as it did. Several hours (!) later I discover my little "debug output" line in the library's source.
Goddammit I must have a well built table. And a well built head.2 -
They say 'code drunk, refactor sober' but they fail to mention the sober refactoring dude won't have a CLUE what the drunk coder was even thinking.
Such is my life. -
Why the fuck does a company put such crappy antivirus software on your PC you can't even compile code.8
-
Best part of working in Company:
Getting learning sessions from Seniors and sharing design aspects and their pros and cons.
Had an awesome session on how to focus on making a code testable.
With hands on coding too.
Never expected to have such a great experience. -
Code review:
i ? plus.push(i) : --i ? neg.push(i) : zeros.push(i) || printThis() || checkAge() || !!window.MediaSource...
F***ing such a brilliant programmer, spent 4 hours to write it in 1 line, and will take your the guy who replaces you 4 hours to decipher, why are you so adverse to writing #readablecode?!!!
\n is cheap, if(){} is too
This isn't math class where a 3 line proof gets you kudos, stop wasting my time with your genius.1 -
Why do big companies hire such loser engineers ??? I mean what the hell man. When you are hiring a fresher to code they should at least know how to apply/write a for loop. I once had a colleague who assigned each array element individually instead of writing a for loop and asked me why I refused to approve his stupid code. What do I reply to this ? It was so dumb, I could not articulate an answer.13
-
Yay ...
No more !important in SCSS...
All colors pulled from variables...
Such code ... Very clean 😂 -
Lately I needed to write some swift code and I‘ve never used it before. But acutually I find such a beautiful langange, maybe the one with the best type system ever.
Swift for the win!5 -
Some things should be prohibited! Such as trying to look smart luring geeks with PHP code. That does not do what you wanted to do in the first place. Idiots!4
-
Wrap anything more than two lines into another function. Reading such code makes your brain stack overflow.
I’ve met several...1 -
So... the company I work started a selective process to hire some interns. Since we had a lot of applications and little time, they created a simple test with coding, theory and interpretation questions (9 questions in total) to filter the best candidates then focus on the better ones.
One of the questions (the only one the candidate would actually code) was asking to write a simple FizzBuzz function. The idea was to check the quality of the code and clever/creative ways to solve the problem.
Turns out ONE of the candidates were able to write the function. So now, this question is not being used to evaluate the quality of the code; instead, it's being used to check if the candidate knows how to code at all.
Such disappointment...
-----
PS.:
The idea to put this question on the test was heavily based on the arguments of this video: https://youtube.com/watch/...
:)2 -
A conversation between an offshore developer and his manager at a fortune 500:
I'm a software developer and the company I work for is a vendor for $manager's and $offshore_dev's company. They provide endless hours of entertainment/terror. Recently, we've been trying to convince them that they need to stop sending sensitive information plaintext over HTTP and set up TLS/HTTPS which has led to tons of fun conversations such as this one they had during a conference call:
* $manager: "Did $offshore_dev implement TLS1.2?"
* $offshore_dev: "Yes, we enabled a parameter in the code to enable TLS1.2 in the code but according to $me's email, this requires HTTPS in order to work."
* $manager: "No this works, we're using TLS in $other_application right now."
* $offshore_dev: "Well, $manager, it's implemented but it currently doesn't encrypt anything as such."
* $manager: "Okay, HTTPS is in the roadmap in the next quarter, we can move forward without this for now."4 -
Whenever I get to switch from vs code to a jetbrains IDE, I remember what the difference between a text editor on crack and an actual IDE is. Jetbrains IDEs are just such a blessing.
Visual Studio is still a piece of shit though :)7 -
Protip: proposing a "simple yet beautiful" login form on Bootsnip with absolutely no knowledge of Bootstrap whatsoever, making it not responsive and centering it with hardwritten margins (such as: 'margin-left: 170px'), AND THEN proudly display "theme developed by WhoGives AShit" at the bottom won't make you any publicity at best. At worst, I'm gonna travel to India and won't leave before I erased the code you wrote by smashing your face on the "erase" key.1
-
So I'm at a hospital (everything is fine as long as I'm concerned) and there's this pregnancy sign... But it just hit me (not sure how to start this idea) sex is this amazing interaction between softwares so good and well coded that we already know what can create, not only that but the hardware (with some flaws here and there) makes such great UX! Seriously, the join of code (one of the hardest code I know) to make a better code and the interaction thanks to the hardware is great! Thoughts?10
-
I want to pass along some unsolicited advice to junior developers either because I grew through it, or I've had to deal with developers who behaved poorly.
Your ego will hurt you FAR more than your junior coding skills. Nobody expects you to be the best early in your career, so don't act like you are.
Working independently is a must. It's okay to ask questions, but ask sparingly.
Working code != good code. You are an author. Write your code so that it can be read. Accept criticism that may seem trivial such as renaming a variable or method. If someone is suggesting it, it's because they didn't know what it did without further investigation.
These are just a few quick tips from my experience. Others may chime in with theirs, and some may dispute mine. I wish you all fruitful careers!7 -
Our teacher is forcing us to code in an outdated version of a really bad IDE to write basic C, we can't use anything else!
The IDE is bad and crashes often, and I can't even do anything about it!
I suggested various IDE such as visual studios but nope!10 -
I have a new personal project that I hope I'll share with you guys one day. It just came to me. A fog simulation for a window manager such that it has fog behind the transparent console while you code and the fog goes in front when the terminal is locked. How about it?2
-
Why doesn't Twitter have a public API without authentication for simple stuff, such as reading tweets. One can do that without logging in on the website, why shouldn't code be able to do it.5
-
They call Python, C, Java, Ruby, and stuff like that programming 'LANGUAGES' for a reason. I just wrote a Python dictionary literal in my C# code and was clueless as to why it was failing to compile for five minutes straight. Maybe that was because I was working with Python like 30 minutes ago.
It's like I have to have one 'brain' per one language and need to switch between such 'brains' to write code in another language. And such switches take time.5 -
I’m excited because VM based languages such as Java are no longer in their prime on desktop and server and languages which compile directly to machine code (Go, Rust, Swift…) are finding a broader audience12
-
Some of the worst code reviews I had were at my 1st proper workplace which incidentally was the strictest one! I was such a lazy oaf and hated those.
Still don't like code reviews but I do admit those first ones did me a tom of good.
Nowadays when I am the one co ducting them I tend to be more relaxed and chill and not be a nazi coz I still remember the repulsion of my first ones ^^' -
When you look into the code of old developers with nice comments such as "What a fucking retard he is trying to book in the past". Just laught .1
-
The reason why I like to code alone in the dark is so that people cannot see my dumb mistakes such as 'forgetting to hit run after compile and wasting 10 min wondering why my code didn't show on the console'.
: /1 -
Did not understand why people posted so much on here till I had to argue with my "partner" product manager that SVG icons are better than pure CSS icons, and yes there is such thing as animated SVG, and no I'm not a designer to create fancy icons for you just because they "are actually code" you twat1
-
I spent the whole day coding in python (usually I code in php or perl) and this language is a fucking joke. C'mon, why everything have to be done in such a weird way? And don't say it's python way because it's bullshit way. Want some examples?
", ". join(str(x) for x in array)
to join array of integers. wtf is that?
True|False
why in hell you need the first letter to be uppercase when your own fucking standard says to use lowercase letters in eg. var names and method names. why?
math.isnan(float(x))
to check if a variable (expected to be integer) is NaN. I won't fucking comment that...
Even prolog don't have such stupid things6 -
Coding for me has been such a heartache and a relief at the same time. Having an outlet for my brain activities has improved my mental and emotional health significantly.
It also thought me a couple of valuable lessons:
1. With enough efford you can accomplish pretty much anything
2. You're not the only one struggling with issues, life or code related.
3. Moronic people can be found everywhere you look.
4. Patience is key to grow as a human being. -
My god i hate so much reactjs... And will never understand how a normal brain could write such a russian doll code.
But then, i met flutter, god i will puke.10 -
I've been writing Java the last few days. Really makes me remember why I enjoy writing objective c / swift so much. It's not necessarily the crazy syntax of objective c. It's the conventions behind the languages. It's very easy to make your code read like prose. Which when you become used to this it's very hard to jump back into spaghetti code with abbreviated variable names and such.3
-
Today was a bad dev day working on a shitty React project. Not that React in itself is bad, but it can be hell to work with when the code is a big pile a crap full of anti pattern code. I spent the day refactoring to try to fix a bug, but to no avail. It would take days if not weeks to put some order in this mess and to prevent such bugs.6
-
// Posting this as a standalone rant because I've written the best piece of code ever.
// Inspired by https://devrant.com/rants/1493042/... , here's one way to get to number 50. Written in C# (no, not Do diesis).
int x = 1;
int y = x + 1;
int z = y + 1;
int a = z + 1;
int b = a + 1;
int c = b + 1;
int d = c + 1;
int e = d + 1;
int f = e + 1;
int g = f + 1;
int h = g + 1;
int i = h + 1;
int j = i + 1;
int k = j + 1;
int l = k + 1;
int m = l + 1;
int n = m + 1;
int o = n + 1;
int p = o + 1;
int q = p + 1;
int r = q + 1;
int s = r + 1;
int t = s + 1;
int u = t + 1;
int v = u + 1;
int w = v * 2 * -1; // -50
w = w + (w * -1 / 2); // -25
w = w * -1 * 2; // 50
int addition = x+y+z+a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v;
addition = addition * 2;
if (addition == w)
{
int result = addition + w - addition;
Console.Writeline(result * 1 / 1 + 1 - 1);
}
else
{
char[] error = new char[22];
error[0] = 'O';
error[1] = 'h';
error[2] = ' ';
error[3] = 's';
error[4] = 'h';
error[5] = 'i';
error[6] = 't';
error[7] = ' ';
error[8] = 'u';
error[9] = ' ';
error[10] = 'f';
error[11] = 'u';
error[12] = 'c';
error[13] = 'k';
error[14] = 'e';
error[15] = 'd';
error[16] = ' ';
error[17] = 'u';
error[18] = 'p';
error[19] = ' ';
error[20] = 'm';
error[21] = '8';
string error2 = "";
for (int error3 = 0; error3 < error.Length; error3++;)
{
error2 += error[error3];
}
Console.Writeline(error2);
}5 -
Refactoring/cleaning old code.. Found this gem:
$hour = substr($obj->hour, 0, - 3);
Turns out, hour was saved in the database as a TIME field(DATE was saved in another column) , and the previous genius dev was trying to output time in a H:i format...
No wonder php has such a bad reputation...2 -
Sometimes it's a challenge to show how much work I've accomplished to a non-techie (<- any good nicknames for such people?).
I mean yes it looks like it's pretty simple but there were like ~5000 new lines of code and 2 weeks of work put into getting this thing working perfectly, looking sexy, and moving efficiently all while making sure it protects our infra from idiots like you!2 -
Scrum is such bullshit. You are made to report to idiot product owners who were promoted from customer service reps.(that is who they were in my previous job). A few years answering phones and all of a sudden programmers are made to report to them who don't know jack about coding...Made to work in high pressure projects by setting 2 week deadlines. Then when there are bugs in code, you are penalized for bad code.5
-
Just downloading the CM Source code right now. I'm really excited and nervous because I never tackled such a big project on my own.
Wish me Luck guys! :)1 -
Such glorious Wednesday...
#1: Friend needs me to keep her cats, hasn't called yet to give me keys (and she's leaving tonight).
#2: Got an e-mail from a job I applied, rejected cause I flunked the impromptu technical interview (with the usual pretty wording).
#3: Helping a friend with his dissertation code in Java. Just a marvellous spaghetti code with minimal semblance of a structure and a hodgepodge of various solutions found on the Internet. 2H 40M and still nothing... At least I have my stress ball to save me from mental breakdown...1 -
R.
The statistical "scene" (if there is such thing) grew so much in recent years, because now there is a single language that everyone can use and easily share code via packages.
Before everyone used a different propietary and paid statistical software, and could not share code.1 -
I think I might actually have an addiction to code :S. I can't go a day without writing something just get a feeling niggling at me to write even if I don't know what to. I just opened a terminal on the nearest computer to write 'ls' and had such a relieving feeling, this can't be healthy.1
-
WOW Xcode is such a trash fucking application, I am so pissed at how much I have to fight this damn piece of shit program to get my work done
The time it takes to index my code is disgustingly long, I sit and sit and wait for it to FINALLY recognize I've added a new variable to the header file before it can begin to suggest autocompletions, but wait??? Why is it telling me there's errors about another variable? On a line of code that doesn't even fucking mention that variable??? BETTER WAIT IT OUT FOR IT TO INDEX SOME MORE, NO XCODE MY CODE ISN'T ERRONEOUS, YOU ARE YOU CRAP SHOOT!!
AND WHY WON'T YOU LET ME SPLIT VIEW YOU WITH ANOTHER APP??2 -
Thomas had never seen such bullshit before (Insert name of that guy, who thinks Apple is hyped, and needs better password resets).
Honestly, when people say Indians are shit devs and write shit code, I could not really relate to that. I am an Indian, and I see pretty well educated, telented devs around.
Now I know why everyone else feels so.
I am sorry for his doings, people like him are the reason everybody hates us22 -
!rant
Today I got access to the code for the new contract I’m working on.
It all built first time from source.
I’ve never wept such joyful tears. -
How hard can it be to refactor this 170 lines file?
- a single “data” variable used to store everything
- arrays inside arrays inside arrays (see prev point)
- operations with a lot of obscure sideEffects
- $data[] = something (which in magic php land means $data.enqueue()
Why is such… biological matter… even allowed to code? Fucker’s pretending they are a senior for four years: how in hell didn’t they learn to code in this timeframe?7 -
During an interview, how to detect if a company has a dysfunctional flow of development? What good questions to ask?
Like things are scattered all over and there's no standard being followed, no architecture, no code reviews, everything is a patchy magic, no testing, and everything is just on fire! How to avoid such companies?6 -
I love how our industry has invented such important sounding yet meaningless job titles...
Developer, software engineer, software architect, developer evangelist, dev ops engineer, systems analyst, quality assurance engineer, code monkey...4 -
My idiotic teacher doesn't know the difference between Java and JavaScript , asked us to use a old version of Code::Blocks(some c/c++ IDE) just because she thinks that a update would modify compiler in such a way that basic code would never give the same output , she blames the compiler just because she isn't capable to see her mistakes and gives me bad grades just because she walked through college and I didn't.2
-
Optimizing JS is such a pain. like, the total runtime of the rest of the code is not measurable compared to DOM operations, so the goal would be to optimize DOM access, but there are zero resources online on the relative cost of certain operations, and I get the feeling that they don't have much in common across browsers.2
-
I used to watch my brother code in Turbo C++, creating console games and doing university assignments. Writing something on the computer which transformed into something animated was such a wonderful revelation to me and that's when I started to learn bits and pieces of programming. Now, I'm a fill stack developer :)2
-
I just love it when the management/project office make decisions regarding code language and frameworks and such... just ignore the devs with actual experience...4
-
I broke my code,
got distracted fixing it,
annnnd accidentally flaked on my friend
fuck
why am I like this
I have such regrets8 -
I think that the idea of IIFE in JavaScript is a good example of how shitcoding can be built into the core of the language.
How can I make my code clean if the language itself forces me to make such an ugly constructions?
What do you guys think about it?3 -
My dad was using notepad to edit some HTML for his website. I downloaded Visual Studio Code and he likes it SO MUCH MORE. (I wonder why....).
Kinda happy I could help him with it. He is pretty good at coding but just hasn't done it in a while (not his trade) so he doesn't know all the new tools and such.3 -
someone on discord asked me "why do you code for such shit computers? they can't even play games and you can only do one thing at a time, just program for new computers"
because if i'm gonna suffer in the name of curiosity i'm gonna make shit for other people to look at thx
back to suffering from a 1KB RAM limit5 -
I was at work today, coding and such. A girl walked in, so pretty and smart looking, beautiful eyes and all.. and asked if she can use my computer for a moment. That's it. C'mon what did you expect! We code!5
-
Why is it such a hassle to get Android Studio to work? Spending several hours filled with with installs, reinstalls, downloads, googling, troubleshooting, more failures, suicidal thoughts, env variable tinkering, crashes, total apathy - before I can finally start writing some fucking code is fucked up.1
-
So in our last retros some of my colleagues suggested to (forced) limit the number of lines per method in order to "maximize our code quality".
In the one hand I can see the benefits of this, such as easier testability when having more sperate testable blocks of logic.
But on the other side their code contains lots of such one or two lines private methods which get most of the cases not more than one time called. (And which I then can't even test separately)
I don't understand how this should help...
Is this really a thing? Am I just not "clean" enough?
(it's c# btw)3 -
I wanted to update my previous rant in the comment but what happened is such a fucking nonsense I think it deserves its own.
For those who don't want to look what it is, just another C++ noob (aka me) complaining about how the language was a bitch to him by throwing a random SEGFAULT on release while it didn't show up on debug. Welp.
Half an hour and a ton of std::cout later (thought I would try to read a disassembly ? Think again) I figured out what was the problematic section of code. And guess what ? It was a section I didn't even modify and I never had problems with. Something completely unrelated to what I was rightly imagining causing the issue.
To identify which exact subsection was throwing the error to my face I added more tag code.
Rubbing my hands and ready to fix the fuck out of this damn shit, I built it, launched it…
And all of a sudden the code worked.
All I did. Was to add more cout to know which line fucked up. And now it works.
So. Serious question now: is it a clear sign from heaven I should stop working with such languages and should go back in my shitty high level languages kindergarten ?10 -
There are too many people that consider software engineering a "job". Anyone else here love the process, people and programming? How do people end up at these bad companies and WHY DO THEY STAY??!?!?! There is so much demand for programmers, designers, software engineers, et al. Such that I do not understand how people stay at these companies that hire people who want to make money instead of code.2
-
Who else is fed up of memes on Facebook like 'She was upset because I didn't talk to her. She didn't know that it was because I missed a semicolon in my code'
Really?? WTF compiler do you use dude? Because of such shitty memes, couple of my non-dev friends asked me how frequently I miss the semicolon in my code?! I said never because:
1. I am not a dumb coder to compile my programs with any syntax errors.
2. Even if I do, I fix it in a minute.
:| WTF really! These dumbheads don't make memes on bugs.3 -
Microsoft C/C++ code keeps on giving:
https://msrc.microsoft.com/update-g...
Too sad, that Microsoft is too poor to afford good devs. As a lot of devs here are sure, that good devs surely can code safe and secure in C/C++, Microsoft probably just lacks the resources to get such devs to work for them.13 -
I am working in a cool company where during our coding principles conversation , I was giving a walkthrough of my code. I accepted some valid criticism. Shit hit the fan, when my I tried to explain it to them why I have written modules and the necessity of them in this application. So instead of writing several functions , I have created a common module for handling these tasks . After a lengthy argument , I am told that I should write understandable and lengthy code instead of complex and small one. This is what I think so too, that code should be readable by human but at some point , one also has to look decide if this practice is suitable for every carse or not. Man this is fucking killin me. Then I am also told that to rewrite the code and write it in such a way that's naive and easy to understand
-
There will always be times when you will need to understand/modify horribly written code, or have to work with a fellow "programmer" who is clueless about what programming actually is.
In such situations, not losing your cool is a necessary evil. -
Gitlab fucking sucks why can't you search fucking code in the fucking search bar. I'd rather sell my ass to microsoft than being such a dumb motherfucker using gitlab2
-
Been looking at a new hires code and hes decided to strip all of the whitespace out of a file as well as changing variable names to things such as date and date2.....2
-
I hate being invited to a party!
Specifically when I have no chance to refuse (family parties mostly)
Though I'm still able to code or read a book with my phone but WHY SHOULD I??
Grrrrr !!
Idk ... what do you do in such complicated situations?3 -
Writing documentation is one of those tasks that most developers don't like doing. Especially when it comes to writing in say a Word/PDF file, an online wiki, or Confluence. It's time consuming and a pain in the ass.
But even if you don't like it, at least write comments in your source code! I hate having to keep writing "Write the PHPDocs for this class/function" in every pull request that I review. It's wasting my time writing such comments when it's such a basic thing to do when writing source code.32 -
RAD (Rapid Application Development, such as Oracle's colossal frameworks) frameworks aren't rad at all. They promise to let you focus on your business code, but instead what they do is bring you additional problems to have gray hairs over.
Thoughts?9 -
Am I the only one who very often creates a new project folder and copies all the code because it's easier than cleaning dependencies and such?1
-
We need more enterprise level code!
Such as these innovative projects:
https://github.com/EnterpriseQualit...
https://github.com/Hello-World-EE/...7 -
Web code editors are shit for interviews!!
I was given a timed interview test to code on a hackerearth’s code editor. First of all I have never used hackerearth’s code editor because they suck. The problem was very simple and I cleared the round anyways when an actual human saw my code. But my point is why are programmers creating shit editors for other programmers in a timed environment. I couldn’t figure out for the life of me how the fuck I should take an input and output that in this shit editor. The code logic was ready but the test cases failed.
So Should I be learning about hackerearth’s shit code editor in an interview with a timer or should I be judged on the code logic in the specified time?
I seriously find these web code editors most of them annoying. Cause they aint good enough. You need time figuring out the tools first and then code the logic.
Usually in your job you’re gonna use the editor of your choice. Not a fucking shit fucked half arsed hackerearth code editor. My rant is for those of you if you’re taking interviews on such platforms, be there. Don’t rely on those platforms. This automated crap is still crap.4 -
React native is such a pain to get started with! I feel like Ive wasted way too much time just trying to set up a functioning example. I'm too stubborn to give in. I'm about to rage code right now lol6
-
Yanno, when I pay $60 for a theme, I get what I get. That's fine. Invariably I end up having to mess with the css. That's fine too.
However, theme makers? Please don't mix hyphens and underscores in your selectors. Decide on a case style. Avoid div-itus.
And for the love of all a selector such as #Top_bar .logo #logo a.logo makes code a pain in the ass to test2 -
I must admit sometimes agile methodology zealots annoy me but I just quit a shop with no process, no source code repository, and no testing. I worked there a month and had no idea such places still exist. I knew it was a bad idea but I needed remote work. I tried to evangelize to them but they blamed me for everything after they fired the project manager.6
-
@college project submission
Teacher:once done print all your codebase and come with to class
Me:But sir there are better ways of submitting our code.
Teacher :what do you suggest
Me:we can a repo such as bitbucket or github
Teacher:I got no idea of that you send the code using Gmail or just print the code for your grading.
Me:for Christ sake how will I send all my android files through Gmail.4 -
Decided to reset my Windows OS after 1.5 years. Such things happen when you're not in the mood to code.1
-
Not sure if other programming languages class a Boolean as an integer value buuuuuuut...
The amount of times I've seen people do code such as...
if(value == true) {
variable = "blah blah";
} else if(value == false) {
variable = "blah";
}
Instead of doing a simple 1D array and going...
variable = strings[value];
It drives me crazy, such a small thing that has no real benefit but... Ugh... Whyyyyyyy3 -
As an emerging Android developer, I must say I HATE SQLITE AND CONTENT PROVIDERS!! So much code for such little functionality! Pro Android devs, does the process get any less tedious down the road with more experience?6
-
That might seem a bit random, but I started off this year with a nightmare (a literal dream) where I've fallen victim to remote code execution, because I cloned someone's git repo.
Is such a thing even possible? The closest thing I've found was this blog
https://blog.blazeinfosec.com/attac...
(and the info on it was already worrying enough), but that shouldn't have affected my dream computer.
Some details I more or less remember:
* The execution happened right after git clone
* The uri to the repo was a custom domain (no github, gitlab or anything)
* no submodules
* GNU/Linux3 -
Before my first year of college/university I started looking at various online resources such as Code academy as well as watching many YouTube videos that would help me understand the basic underlying concepts of programming
-
just found this
// ...A shed load of voodoo is then executed...
// .. removing the need for this would have involved messing around with the existing code which is such a rat's nest that I would rather avoid it -
How do i handle code review as a junior developer?
I understand its need and I don't want to skip it.
But I feel under confident after code review when my mistakes are pointed out. They always seem so trivial and wonder how did I even miss them. How should I handle such situations? And how do I improve from here?6 -
Is it just me or have you all be noticing a significant increase in the number of posts on devRant asking for simple technical assistance with code and packages?
I've always had the opinion that asking for personal advice here is fine but technical stuff should be kept for StackOverflow and other such forums. What is your opinion about that?2 -
!rant
I finally published my first open source project. A package for calculation a geohash of a geolocation for pharo smalltalk.
I know that most of the users don't know smalltalk but it's the best OOP you can code with. And geohash is such a great algorithm. Lovely combination2 -
My first game jam,
I was first excited about coding but when I started, I was caring about making my code clean, and I lost too much time focusing on this... You should see the end, such a mess ! Spaghetti code, pointers everywhere but hey, it worked 😊 -
While changing a pathetically written code, a thought came to my mind that like doctors we should also have a licence system for software engineers... And all the engineers who wrote such shitty code should be banned from the profession for life.,👾4
-
What do people think of automated code generator frameworks such as Yeoman and Plop? Any experiences to share using those or similar frameworks?
I like the idea of automation, it means code will be consistent (especially across teams), and it means less boilerplate writing that potentially breaks thought processes.
But then does it just waste time? It's something extra to develop, test and debug. Further most of dev time is reading, thinking and modifying.2 -
I'm not sure I have a "favourite" per-se, but Grace Hopper certainly features high up on the list. We might not still all be writing in machine code had she not existed, but such "higher level" languages would certainly have been many years behind where they are now.
-
I now understand why people say python is such a damn hard language to keep big projects. I'm so hell lost in all those code indentations and lack of conventions!!!!
GET ME BACK TO RUBY PLEASE I BEG AAAAAAA4 -
Would you guys get annoyed if someone(me) made a habit of going through your code and cleaned things up, such as clearer naming, untangling ifs with early returns and so on.
I mean doing stuff that doesn't change the behavior, but makes it easier for the next person.9 -
Jesus Christ, Minecraft source code (with forge in this case) is such a clusterfuck of spaghetti logic. It's especially fun when it uses a lot of reflection and dynamic class lookups...3
-
I dont understand how am i not fired. I literally dont know how to do shit in this legacy 30 year old junkyard code. I am literally alone working on this project on a giant codebase and have no one for help. The project is burning on fire and scrum master is talking shit for breaking deadlines and i cant do anything about it. Why dont they just fucking fire me that would be such a huge relief bro40
-
I am currently using angular from 1.5 years. With angular 2 coming to production i was thinking of moving to it.
But i have some questions:
I am hesitating to move because it encourages typescript over javascript. It adds 1 more dependency to my code ( code will break after angular updates and also when typescript updates).
I do not have any such problem learning vuejs or reactjs.
So, which one do i choose.4 -
Damn, mozart, i am trying to install it for the whole day, and now when i am able to finally install it, i dont know how to compile and run a piece of code in it. Why does anyone create such a language that works majorly on emacs, and also has no well enough documentation how to work with it, if by fluke someone installed it.2
-
I am starting to get a hang of kotlin at last.
But its gives such a weird feeling. all these years i was writing great code that could lift mountains without failing. And now this language comes in, says "fuck you, we must prevent null and make everything static/final asap!!"
Like static inner classes? Why would we even want them? Well the lady says am wrong, am wrong. -
I find it hopeless to achieve anything with applications aimed at non-devs, such as PowerPoint. How the hell can it be so difficult to use the same theme in one presentation as in another? If it had been code, I would just have copied the XML, XAML, include, link, script or whatever code in whatever language on whatever platform from the old project and pasted it into my new project. But with "user-friendly" apps I have no control of how anything actually works. I give up, my presentation will be unthemed. Maybe it's for the better anyway, less distracting graphics.5
-
Genuinely asking some rare pokemon php developers that are up to date with the tech (all php devs I know stopped learning when my grandpa was like 5 years old) to show me php code that is not spaghetti bolognese. I am asking this as I am yet to witness such code for the first time in my life (and I am coding since 94')!13
-
It makes me so sad to see such vast amounts of copy and pasted code at my new job :(
3 identical classes with only a few strings different 😡1 -
First rant ever:
So I occasionally have to work for managers who say things like: "Don't reformat that code, the diff will look confusing in our repo browser". Said with such conviction that they initially made me feel retarded when I was more junior.
As time went on I realized that if we tried to "preserve" code so that the only changes visible were those that resulted in functional changes to our app, our code would eventually degrade into a steaming pile of unreadable piss.
I thankfully am working for a more technical manager at the moment so I don't have this issue and can make small refactors to make the codebase less gagworthy as I go.
I don't know though, maybe I'm wrong. Thoughts?2 -
Probably my language and communication skills.
I tend to think of programming as a conversation between the programmer and the machine.
Similar to being an effective communicator, the key to being a good programmer is knowing what to say when (deciding how to do a particular task, such as reading a file from disk) and not about simply knowing the different ways of saying the same thing (different ways of doing that task in your code). -
This was a few years ago in my 2nd year of college. my very first foray into web dev for a team project. long story short, I wrote over 16,000 lines of code. teammate #2 wrote barely 1,000 lines. teammate #3 wrote around 250 lines, around 200 of which I had to rewrite anyway because it was such complete trash. and yet, still, it was this class that showed me I wanted to go into web dev. LOL3
-
Java apparently thinks it would be too convenient if we would use comparison operators on enumerations.
If you have to use the .ordinal() every time you want to do such a thing, you make the code uglier that you're trying to clean up to begin with!
Time to do this the hard way:
public static final int YELLING = 0;
public static final int SCREAMING = 1;
...1 -
woow PHPStorm is such an incredibly buggy piece of shit .... how can anyone work with such a buggy IDE?
It randomly looses settings on restart. A lot of functionality is just so poorly tested. Anyone ever really tried to work with the integrated DB tool?
Or the CSV plugin? there are countless bugs in both usability and function-wise.
But I guess that's because it's just plugins ... you know .. you don't need to use them ...
Is the PHP code formatter a plugin too? Guess I don't have to use it at all, if it randomly scrambles whole lines if I format with a missing } or some other improper syntax. Right, overall it's my fault, right??
Fuck you PHPStorm, and you IntelliJ too. you're not better at all.12 -
I'm just testing out some code for Spring Boot with Spring web. Whilst inspecting Spring's HttpStatus enum I suddenly realized there are a lot more HTTP status codes than I had estimated. I knew there were many, but woah that's a lot.
Check it:
https://en.wikipedia.org/wiki/...
On a side note, it really helps to debug work stuff at home. More concentration, more time and such.
Fun fun.4 -
I figured it all out, where all the bad code comes from, I know it now!
I think good developers need two things, an ego that makes them wanting to be competent and perceived as such and (very important) a problem with authority!
All the bad code is written by people who wanted to be liked by their teachers. The PM and PO are their teachers now and they make everything possible for them. Technical debt and human costs are swept aside when the authorities want a stupid feature now - because they have to like you and you need to be a nice pet to whip! -
#get unique images ids
images_ids = np.unique(images_df.index)
Dear developer who wrote the code I'm looking at,
thanks, I really need comments like this one. I was wandering lost in 1500 lines of code, looking for an explaination of what the actual fuck the code is doing, and there I see you, comment. It's not like I want to know what the hundreds of lines functions do, who cares about that. What I needed to know, what shed light on this dark forest, is what the numpy functions do, because as you certainly know dear developer, such functions are really hard to comprehend, lacking of documentation.
Thanks.2 -
I have wanted to be a web designer, studied multimedia design, and have always done some code of my own because I couldn't pay anyone to code my projects. After finishing my degree I was a unemployed and couldn't even get an internship. One day a friend asked me to code a project for his agency because he couldn't find anyone on such short notice. I did it in a weekend and got some good money for it. That's when I realised there was a chance I could be a dev instead of a designer. Started to learn more, moved to London, and never even wished I went back to design.2
-
Implementing my own PHP library for Station Playlist Studio, mainly for grabbing the list of songs and requesting songs to be played.
Such a legacy connection... Bad command scheme...
Having it succesfully request songs when UTF-8 ain't even supported properly, is a pita.
Luckily there's been an update to SPL about 2 years later, and my code still works. (:
(Not my biggest accomplishment so far, but those are under RMA..) -
What's the most inane excuse you heard for either a developer or management to not write tests?
I have endured these:
Management:
1) The project is fire and forget. It won't need tests.
2) It's a prototype. It won't go live.
3) Writing tests takes longer than without writing tests. You know how to code, don't you?
Developer:
1) I didn't have the time.
2) It was such a trivial method.
3) It's not mockable.5 -
In my first few months of my first dev job, I written this fragile piece of code in, trigger warning, PHP that sent out email reports to my clients. It was a two men team, and we have no clue about TDD or how to do unit testing for such code. We would just run that piece of code manually do send out dummy emails to ensure things were working.
One day the code broke. I was told by my boss to fix it. Spent the entire day trying to fix but couldn't get anything done. Finally at around 7pm my boss came by and asked why is it I couldn't get it fixed. He helped me troubleshoot and fixed it. And subsequently told me "c'mon man you're better than this."
It turns out that he changed a part of a code that was supposed return an array of strings to an array of objects, adding a second attribute that wasn't even in use.
So what that meant is that he changed a piece of working code, to include a property he didn't need, committed and push to production without even manually testing it. AND TALKED SHIT TO ME.
That was the day I learned git blame and began my journey on TDD. -
Pull an all nighter and Fuck up my exercise schedule or have sleep and code tomorrow (imp and might take multiple nights and day).....
Such hard decisions, 50 pull ups is hard to do after an all nighter 😥1 -
Now as I am refactoring the internal codebase of my company
I understand how important it is to have a good code documentation and writing patterns.
And also how much it is important to help his a junior when someone is in senior position when the junior was given the task of refactoring the internal codebase.
It's such a pain the brain situation these days for me. The documentation is not properly matched here and there and code writings are random. It makes me hates the code.2 -
Today the DBA-team (needed to keep our Oracle mess running) decided to change datatypes in tables that has been in production for 20 years. Without a headsup.
Great success!
Just took us 5 hours to debug good ol' visual basic code......
Why would you do such a thing!? -
http://bloomberg.com/graphics/...
Re-reading this article today and still amaze me how someone can resume such a vast world of concepts. A must read -
What do you think, does Google just have really good code structure that allows re-use at this level, or are they just coordinating release notes?1
-
I just discovered that Go needs a very long time to compile a 120MB source code file. Beside the fact that the file was very big, it just contained a big amount of byte arrays.
Did anyone had ever such big source code files?5 -
so many rust libraries have code in the README but it isn't syntax highlighted lol
this is such a dire omen to me
like it's so basic
why did you miss it2 -
Wow, I'm such impressed by the power of Visual Studio with Team Collaboration, DB Management and this impressive packet manager... But it's like "don't try to understand, just code"
-
So, finally decided to write my first rant.
I finished today a function that takes the generated week calendar of a WordPress plugin and gives the user a nice print layout.
Problem: The plugin doesn't use the database for it's calendar, only for the events in the calendar. I had to write really unefficent code in jQuery(ajax) and PHP and additionally create a new table. Finally completed the code for printing out a selected day, the current week and a timespan that can be defined, every exception and input is now handled correctly .
Such a great feeling to be finally done with this 4000 rows code.
I hope that I will never again have to create a workaround for such a not-developer-friendly plugin.
Why do clients always want to use such plugins?!5 -
What do you guys use to write unit tests in C? I look at some libs such as check, cmocka, gtest etc, but they all seem like way more than I need. Also, I have a hard time to separate test files and source code files (directory structure wise).
Any recommendations?5 -
Spent countless hours on internet reading WMI documentation to write a RAT agnent for our server side application only to find out there is a WMI Creator Tool which literally generates code for such purposes. FML1
-
Testing requirements, some of these are pretty specific such as 'don't do X before you compute Y'... OK, check that off
Now we have some independent analyst saying how can you prove 'X' isn't done... "Look at the source code we've provided"
"OK, but where in the source should I look [for something which isn't there]?" -
I don't understand how people write such poorly indented code. It really boogles my mind how they can live with it.
-
Oh noooo! During the last retrospectives we, as a team, decided to not refactor things to make it nicer, better or even more loosely coupled, as existing mechanisms are working properly and as such the refactoring is not absolutely necessary. But now someone in our team suggests to refactor something that is ready for deployment. Just because it will make the code better and more maintainable. Yay! Lets add another 2 days of work just to refactor out 3 lines of code.
-
Any tips for wannabe programmer? I've learned java basics and feel quite comfortable with them. Unable to write any projects though. I think reading and trying to understand some different medium sized projects source code could help. Do you know where I could find such a thing?6
-
Really wish there was a site that contained a library of fundamentals of development processes like basic networking, specific game mechanics and the such.
I don't mean show code but explain some of the maths and algorithms that go into the programming itself.
If I had the time I'd build it...5 -
Im trying my BEST to not be judgemental about my boss but damn the code's shit
It's written how a 1st year UGrad would, trying to add as many complicated shits to it as they can to show "see? I know this obscure way of writing code, cool eh"
Like they're ticking off a rubrics
There is no design language, barely any structure. MVC's Controllers go beyond 2.5k lines.
Everything is an Interface but with such horribly designed code, they just add on to the clutter
Oh and it somehow also uses ReactJS inside .cshtml, which was already out of fashion A DECADE AGO. -
When my friend finishes an amazing project and I can't even decide which project to pursue and can keep myself stuck to whenever I code (having college rarely helps with timing and such). Meh, that's gonna change soon. Gotta exercise some good ol' responsibility.
-
Building apps in 30 mins at conferences.
First 5 mins: I'm gonna do the entire thing using just some boilerplate.
After 25 mins: I'm just gonna copy some unimportant code from the one I already made... ...And it's done!
Footnote: The people who put themselves up for it are always great! I've learnt a lot from such guys. Massive respect ✌️ -
I still wonder why there's this "a man writes more optimised code than compiler" stuff. Why?
Compiler is automated work, in the worst case it should be able to create multiple e.g. asms and compare the time, right? You can dump all instructions into compiler, it should be able to choose the right one even if it would compile whole days, right? You can't be possibly serious with such a statement.
No "time" arguments, please.2 -
Oh for fucks sake! Why so we have threading when we synchronize EVERYTHING with a singleton... and when I actually show you that even unthreaded spaghetti code runs 40% faster under real life conditions than your shit you just brush it of because I'm still at university and don't know what I'm talking about... And not because changing it would require money or time we don't have... no, just because I “lack the necessary experience with such things.“
-
Initialize a collection, store values in it and then filter values out of it and none of your code may be inefficient, such as having O(n)² performance. Your code must also pass the predefined Test Suite. You have 15 minutes.
This sounds simple but it's not.
This was for a Google-type company that has high standards.4 -
I genuinely want tp know why few devs don't add the opening brace on the same line as method/class declaration ??
Whenever I find a piece of code which follow such style a part of me cries thinking of the time I'll be spending first correcting...14 -
i can't explain why, but hearing the term 'zeroth' in english really fucks with my head.
like, yeah, i'm quite used to 0-based indexing in my line of work obviously. but stuffs[0] == "the first element of stuffs" and that's what I would say when communicating verbally to the person looking at the code with me.
but like, take a use case where you are actually referring to something that precedes the first in a series, such as the number of updates on an original thing. then zeroth is indeed an accurate description, but still just rings such discord in my ear upon hearing it.
kinda like they say about 'moist' describing anything but a cake.8 -
When got into a problem with docker gradle homebrew and such thing first soloution is using VPN only because i am in iran and US laws don't like iranian to code🤔
-
PHP is so insecure and vulnerable that it makes me feel unsafe. It has so many features and settings that can lead to security risks, such as register_globals, magic_quotes, and allow_url_fopen. It also has so many functions that can execute arbitrary code or commands, such as eval, exec, and system.
It is like PHP was designed by a bunch of hackers who wanted to exploit every possible loophole.11 -
We are legion, the legion of galley slaves inside the hold of the bit machinery, who insult themselves as code monkeys as if we were hitting our keyboards until we get Shakespeare or something compilable, while it is us, the anonymous mass of developers that shift the bits such that the Gates and gatekeepers on deck can present the working code or content monstrosity, while we in the engine room looking at the source don't understand how anything could be working.2
-
One year ago I graduated from university college,
Thought I had a stack overflowing with knowledge.
How wrong can one man be?
Very wrong, apparently...
Even though I only had a bachelor degree,
I landed a job at a nearby company.
Today I'm maintaining the code I wrote back then,
Seriously wondering if I could just write it all again.
The code I wrote I would consider a crime,
But it's good to see improvement over such a short time.
I still dread coming back to this code in another year,
Thinking yet again; "What the hell went wrong here?".2 -
I have been writing code in swift for such a long time now any other language feels old and really clunky.
-
Is there any chance that Linux open source distributions such as Ubuntu would hide malicious code or backdoor or similar thing in their code and simply hide it in their release publication?15
-
If they could pay me to:
Play video games - Counter Strike
Read good books
Play games such as table tennis, pool
High salary
Extra perks
Free food
Remote work allowed
Sponsored vacations
And may be, once a while I code something interesting, where they help me out in everything I need...
And that would be my ideal job :P -
During the lecture today, our Professor talked about the implementation of nodes as stacks and queues. Looking at the code itself, I thought it is pretty straight forward. But then he threw a curve ball. For excercise we were told to think of special cases. And I was there, frozen, couldn't think of any. Then he gave us some answers on what those special cases are. And there I was, feeling dumb because I failed to think of such simple things.1
-
I’m annoyed that a lot of people don’t understand that code is art, and don’t value it as such. While many programmers do dabble in more traditional art forms, they don’t see program as *an art form*. Programmers need to actually see this. Stop devaluing programming by using LLMs and the such.
-
When you are trying to write event handlers in JavaScript and nothing is working so you spend hours and hours trying to figure out what the fuck is wrong with your js code only for it to be a duplicate id. Fuck sake. I really wish JavaScript warned you about duplicate ids, but then again that's what you get for using such a weakly typed language.
-
Yo been a longtime.
So I basically quit my last job to have successfully reached the top company in my country only to find they are such a mess.
No code quality whatsoever, testing? Yiu crazy? And all the old people who think they are senior whilst they do not know jack..
I do distribured web applications, but shit I hate titles and I think of myself as a software guy, I can do software that opens the fridge when I close the toilet lid ffs!
So, I am looking to deviate my career from web to something more deep such as distributed systems and services where I can use all of my skills and expand my knowledge more, and be able to code in js, c++ golang and more, handle and tackle infrastructure issues, virtualization etc...
So I want to ask you guys what would be an interesting project I can work on to concretize my skill and be able to convince my next recruiter that I walk the talk.
Thank you everyone7 -
Guys...watch the cppcon21 keynotes.
That is good stuff.
The insights and ideas in these talks are not just for c++. They apply to CS in general.
The presenters have done a phenomenal job with the content. There is a good deal of philosophy for what it means to code and how it should look like (not specifically in c++). Most of it is distilled insights collated right from the times when computer science was a domain of mathematicians and ee majors to the modern age.
It is like Dr.Dobbs but in video. Even book like. Certainly very dense.2 -
Why the fuck JavaFX has to be such a bitch
I create a Checkbox from scratch that is the exact same code of the JavaFX one but the label for some fucking shady reason is like literally attached to the box
Today I'm damn tired of your bullshit JavaFX...stop it7 -
My new boss has such a sensitive ego. The latest is he asked me not to make big changes to 'his' code so whilst attempting to fix a bug in 'his' code I realised a big change was needed. I tell him at standup that he might want to take a look first and he agrees. A few days later he emails me to ask why I haven't finished work on the bug. When I reply he ccs other members of management to ensure he is deflecting any blame from himself (I dont even play the blame game to begin with).
The next day I email him that some tests are broken (he broke them but I just emailed him to bring his attention to it since he doesn't want me touching his code. And because it means he isn't testing properly - not that I would say that).
His reply - "are you going to fix them?"
Me - "ok"
The next morning be brings me into a meeting to ensure I agreed he wasn't to blame and that it was my fault and that he didn't understand my email response as it just said "ok".
I really can't stand such petty bs...2 -
hoi guys,
on freecodecamp i had a lesson to build a website on codepen.io with bootstrap.
except that it has some code features, it felt like normal coding.
i have to write all on my own also.
And then I opened a html5 project on netbeans with downloaded bootstrap and it filled the index. html plus css and other files with much content (but looked like shit)..
why is there such a big difference between codepen bootstrap and netbeans bootstrap?6 -
Why oh why do devRant have this crappy webApp. Ranting about bad Software and code on a such a bad app is like complaining about speed on a rail trolley.6
-
This tuesday I saw a really badly made PHP web application. Two actually. I was giving a time estimate for how long it would take to transfer these applications to our servers. While I was reading the code it became apparent that they had more security holes than Emmental cheese. Most views had obvious SQL-injection vulnerabilities and most probably XSS too. Although I didn't think too look for XSS in the moment. It just puzzled me that this bad code even exists.
But cherry on top was that the password wasn't checked at all. The login form was on the organization's website and was sent to the selected application. But the password wasn't checked in the application. And this was made by a real Finnish software development firm, like what the fuck.
Time to redo the applications I guess. Not like there's anything wrong in that if they pay for it.2 -
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) 😔😓 -
Anytime I write a line of code that works correctly the first time, I’m ecstatic. If I write a whole block or function that works right the first time, I freak out with happiness. Yes, I’m that bad at coding. The rest of y’all probably do such things on the regular and it no biggie. But for me, it’s vanishingly rare.
-
This is sucking major rooster right now. I can’t post a freaking mean to this site.
I was in such a good mood until I faced buggy fudging code. Ive worked way too hard today to have to deal with other ppl problems2 -
Commons sense/ best practice:
Is It ok ti initialize (angular) variabile as {id:" ", name:" ", ..} to avoid errors in the browser console such as "can't get ID of undefined"?
My concern is code readability and debugging, is not ok for the ones looking at the browser console to have such useless errors, on the other side you have to initialize some variables with object that have a lot of keys(id name ecc...) Whith empty fields...useless.
The apps work both cases, whit or whitouth initialization.
By the way we are getting such data by api calls later on.3 -
Okay I usually like Swift, but why did they have to make parsing JSON such a pain in the ass?? You have to loop through every child collection and should give up the type that it should be. Obviously you could work around this by writing some sort of wrapper but if I want to do a simple request to an API it results it so much unnecessary code.1
-
Omg click once applications are such a royal fucking pain in my ass.
Everything has to be code signed and every manifest much match and if you change anything you better hope to the gods you can use mage and resign that shit and that it will work
Can we just like, stop using it thank you god I hate it2 -
Not a rant. Request suggestions.
I am developing a Sublime Text plugin for real-time code monitoring ( screencasting) using Websockets. I would like to know if it makes any sense to develop such a plugin. Also, please suggest some use cases so that I can increase the features of the plugin. Point out if it already exists. Thanks :) -
When working on an old system that’s a complete mess how do you handle adding new code in terms of effort?
I normally take pride in my work but if the system is such a mess I sometimes find it hard to get motivated to do it. I often find it makes me feel sleepy? Even new code that is tweaked is nowhere near as well written as if it were a new system.
Anyone else get that?3 -
Using ReSharper is like becoming enlightened, or de-brainwashing oneself to see true reality. Of my entire dev team, I'm the only one who can see the fnords!
Unused identifiers, badly sorted modifiers, unused property setters, redundant `this`/namespace, redundant casts... Surely if they could see them too, such code would not survive! -
Have anyone of you guys ever build a medium or large application with golang? I mean small services with 3000 lines of code are just fine but what about 10k, 20k or 100k loc? Does anyone has experience with such an app?20
-
The iteration order of some hashmap or some such keeps changing when I add or remove log lines. For a given source code the order is static, but I can't bisect errors by logging because when I add a probe arbitrary symptoms vanish or previously correct probes start printing bullshit.3
-
Writing an embedded webserver recycling code that is in use for a few years now. Can't get my ’getStatus.ssi’ working. Turns out ’statusTag’ cannot be used and for the last couple of years noone cared that the status field was empty.
That's the first time I did such a thing and it took me only one unpaid (!) day to debug that piece of crap thinking my idiotic predecessor delivered halfway working code.
Is verifying and communicating broken code really that hard?1 -
What's the general Software Engineering rule of thumb again for frontend templating code?
If I look at certain websites, I notice some code smells in PHP such as:
$.modal = <?php echo $(base)["username"] != 'me' ?' ': echo 'style="display=none"' ?>
or just in general places in the code where PHP gets used as a templating engine for gluing together pieces of HTML code based on conditionals spread out over the codebase and the database itself too. To make things worse, this carries over to JavaScript ajax functions. As a developer, this to me just seems like spaghetticode.
On the other hand, many popular frameworks properly do templating, such as EJS, containing templating in one place and not mixing it with logic too much but just having simple output like <%= %>.
I know I've seen frameworks like Angular 1 contain pieces of HTML into directives, but maybe that's something different, more 'OO'-simulating or cleaner.3 -
Should I switch from windows to Linux? I'm a college student doing CS and most stuff I've seen on GitHub and such mainly have installation instructions on Linux.
I've heard a bunch of my friends go "dude if you code, consider switching to linux"
Is it worth making the switch? Should I dual boot my laptop or completely switch? Or could I make do with a bootable USB drive?9 -
When do we consider to "hack" some code in?
I am ashamed that I have to ask this. but the codebase is such a mess that simply adding another function to pass some information to 5 different classes that should not know about this. just to make it work. feels awful to me
wait why do I have feelings I get paid to maintain this shit.2 -
Could there be a "greater" GPL which explicitly declares that the constraint extends to use of the code as statistical data, such as in machine learning models?1
-
I'm trying to create log files with the PID or some JVM arg like app name but File appender doesn't parse ${myVar} in the config.
Issue is we have multiple instances of an app running but they can't be all writing to the same file.
I tried creating a custom Appender by pretty much copying the source code of FileAppender and then adding a function to add PID to the filename.
But when I use it, get some error saying "name, and fileName" are invalid parameters.
So wondering if anyone has experience building one that works out maybe there an existing code for such an appender?12 -
JS is such open language with too many frameworks and too many libraries. Takes lot of time choosing good code to use.
-
Anyone that recommends a book that is not boring to read, has figures/code examples and easy to understand for design principles such as SOLID?1
-
I have a habit to comment every single line of code, this helps comprehension but this dirty the code and everyone complain. Is it any way to do such task.6
-
Why is VSC such an incredible fucking piece of shit that I literally can not open any ubuntu files with it if I have WSL installed I can't believe I have to spend 30 minutes on trying to open a fucking folder which would not be necessary in the first place if the VS Code terminal was not so fucking shit and full of bugs that I am unwilling to work with it it's like the mentally disabled sibling of the ubuntu terminal2
-
Just a thought. Writing a program then clicking run, and your code runs first time, should be something that becomes more common place as one improves their coding ability, now that we call development. To be always surprised when that happens, almost seems to say that such is a matter of luck.3
-
VS Code is a horror. Every other editor I just picked up and it ran. VS errors out on obscure demands again and again and again. I don't want to spend time learning this POS when I'm learning Julia. What's horrible is Julia developers, such as in Juno are abandoning their own editors to go to VS Code, which is antithetical to the whole idea of Julia - to a be easy to use and replace multiple languages. They abandoned Juno for a hard to use editor whose only feature is multiple languages.5
-
Xamarin vs Flutter
I already know c# but I’m thinking it’s better to learn Dart + Flutter than carry on with Xamarin (only ever worked on the back end parts of Xamarin so not familiar with the layout syntax and the ui side of it).
Xamarin seems to be so clunky (to be fair more the dev environment than the end result), even on a powerful machine it’s a pig to work on.
Our project uses Xamarin forms, without any extra MVVM framework such as Prism and it just seems a bit shit from what front end code I’ve seen (could be the devs).
So given that I’m not sure that holding out for MAUI and expecting it to be a silver bullet is a good idea.
Is the UI code for Flutter any cleaner?
Is the dev environment more reliable?
Or is another option better, such as ReactNative or Ionic ?
(Particularly if one of those would let you develop an iOS version without access to a Mac)2 -
https://trunkbaseddevelopment.com/
A source-control branching model, where developers collaborate on code in a single branch called ‘trunk’ *, resist any pressure to create other long-lived development branches by employing documented techniques. They therefore avoid merge hell, do not break the build, and live happily ever after.
// Thanks guys, after such a nice introduction I now feel obligated to read the whole damn thing -
How much of "unique" the string that is the current epoch in milliseconds converted to base 36 ?
I know it is not universal. But require such a bad luck to have collision no ?
I am gonna use it for "transaction" primary key. (Every time a user pay, it it a new trasantion).
Uuid are very long, i need to put this pk in qr-code later
Thoughts ?24 -
Is it worth it to learn low-code platforms such outsystem? Is it flexible enough to create custom codes or custom UI/Ux? Is too much abstraction worth it for large systems?3
-
OK, Started to work on iOS app few months ago. Had to deal with so many xcode and swift problems that it is driving me nuts. How any sane person can code this shit language? I never seen such an idiotic syntax in my life. I worked with so many languages in past 12 years: C++, Java, Python, PHP, Ruby, JavaScript. So many code editors & IDE's: Subline, Notepad++, Eclipse, Jetbrains, VSCode, Atom. But after working XCode and Swift for few months I want to burn down my MacBook that I only had to get to work on this iOS app with this shitty XCode IDE.7
-
Anyone looking for shitty code practices take a look at the Emotiv API. The way they have written sample code should be mode illegal.
I fucking hate reading through such a shitty peace of sample code. -
To this day, I'm constantly surprised how developers who are more experienced and senior than me, DO NOT use try-catch wraps around their code before pushing it onto the production server.
Developers like these have such a high level of confidence that scares the crap outta me.9 -
Hey guys - I hope everyone is doing very well as always - I'd love to know , on My Ubuntu is it possible to make modifications of my system through Code? - Perhaps i need to download the part I'm interested in making modifications to? any suggestions or recommendations you'd make as to how you would do that? thank you all once again!
Or maybe its not such a good idea for a beginner to be doing such things?
Cheers! <35 -
Fucking mql5 - code gives no errors, it should create a file but it does not. Why is that?
https://pastebin.com/nUL47eMf
I have searched all my computer, there is no such file.9 -
Omg why are social cards so hard to debug? Did no one think of such obscure techniques as local debugging? And why doesn't Twitter show me the error message? It's the same code for fuck sake! It works with one article but not with another. There MUST be some very exact problem with one of my images, but Twitter just doesn't fucking give me a proper log.1
-
Good day,
Please I need someone to help me with this:
I want help on a python code that'll display a 8x7 matrix such that numbers 1-9 appear without repetition in each row and column and the numbers appear at least six times in the table3 -
AWS offers a wide range of services that can be used to automate your IT operations. Some of the most popular services for automation include:
*AWS Systems Manager Automation: This
service allows you to automate tasks such as
provisioning servers, deploying applications, and
configuring security policies.
*AWS Lambda: This service allows you to run
code without provisioning or managing servers.
This can be used to automate tasks such as
sending emails, updating databases, and
processing data.
*AWS CloudFormation: This service allows you
to create and manage infrastructure as code.
This can be used to automate the deployment
of complex IT environments.
*AWS CodePipeline: This service allows you to
automate the software development lifecycle.
This can be used to automate the build, test,
and deploy of applications.2