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 - "rant in code"
-
So i was playing around with terminal apps in node.js a few weeks ago and made a CLI version of devrant. Images get converted to ascii just for fun. This is about was far as it goes for me though - anyone want to take it over? (The code is shit - this was a midnight proof of concept). Currently there's pretty much just the rant listings, the login works too but I think @dfox would need to approve it's use.
Next script I'm writing is going to be a terminal rant posting tool so I can rant from my server 😉
$ rant -m "fml" -f ~/screenshot.jpg -t "lol"20 -
!rant
Who needs Photoshop or Sketch , when you have code.
Trying out some Generative type.
Still in love with Processing.12 -
INTRODUCING:
---
SYNTAX HIGHLIGHT BOT
---
I have lots of ideas.
This was one of them.
Last week I was playing around with https://carbon.now.sh and found it quite cool!
Then I thought: https://carbon.now.sh supports Twitter. Cool. But what about devRant?
So yeah, then I got the idea: A devRant Bot that generates https://carbon.now.sh images!
Now, 4 days and 800 lines of code later, the bot is ready!
I even had to rewrite the notification checking code 4 times, because none of them worked perfectly...
But on the other hand, the final solution is so good that I want to keep it a secret for now ;D
---
HOW TO USE:
All you need to do is to mention the bot!
Example:
<rant>
@highlight
console.log('Hello World!');
</rant>
The bot then generates your syntax highlighted code (as an image) and posts it as comment a few seconds later.
Everything before the "@highlight" will be ignored!
Example:
<rant>
Look at this code:
@highlight
function add(a) {
return a + 1;
}
</rant>
Here, "Look at this code:" will not be included in the syntax highlighted code.
If the comment text ends right after the "@highlight", the bot wont reply, btw.
---
THEME SELECTION:
That's not all!
You can even select the theme for your syntax highlighted code!
Just go to my other rant and read the instructions!
The theme will be used for every image the bot generates for you!
Link:
https://devrant.com/rants/2178551
---
Feel free to ask any questions in the comments!
My creator (and father thanks to @rutee07), @Skayo, will try to answer all of them!
P.S.: Speaking of @rutee07: I'm a girl. (Also thanks to him)167 -
I just hate npm dependencies.
If you want to write a small website with npm dependencies (some frontend deps like Bootstrap and some development deps like gulp or babel) you will have more npm dependencies in your project than own code. It is ridiculous, how some lazy developers just add dependencies to their projects, without evaluating their dependencies. The source code of one of my projects is around 4MB (without any dependencies). If you then run yarn as required, it grows to around 80MB (where 73MB are node_modules).
This is just terrible.
I rant about this, as I made the mistake to upload my node_modules directories when restoring a backup of my server. Worst idea one could ever have.9 -
First rant here!
So i just inherited this legacy application in my new job.
I started looking at the code and it just doesnt make sense!
What the fucking fuck!!16 -
So yesterday, literally just hours after i basically said on somebody elses rant "friends are overrated," i ran into a friend i havent seen in over a year and we ended up chatting for an hour after she gave me a ride home. I was in such a good mood after and I realized its the first socializing ive done outside of talking to work people or my partner in over a month. I like to spend most of my time alone, and since i discovered coding i try to spend every spare second writing code, but it turns out a social life is actually really important 😯😯3
-
Today I checked out a Repo on Github to help a friend.
Holy shit is this code crap!
Basically one single method contains the whole logic.
637 LINES OF PURE AND UTTER DOGSHIT.
SIXHUNDREDTHIRTYSEVEN LINES!
ONE SINGLE UGLY METHOD.
If I have enough time and energy, I will probably create a PR in 2021.
Some people... wtf.
(not my friend's code, he just uses the program)
(Edit: I had to remove the rant and censor names in the image)25 -
!rant
Guys! I did it! Its possible!
My task was to extension a code in php. I wrote 100 lines of code and then it workes on first try without any errors!
This is a milestone!
Bill Gates is nothing against me!15 -
!rant
Yesterday I upgraded VS Code (insiders version, i.e daily/beta/etc) to the latest version and ran into a minor bug. I reported an issue in the Github repository, and 40 minutes later got a reply saying It was fixed and I can upgrade to the newest version.
Kudos on Microsoft and the VS Code team!5 -
!rant
So this year I had a subject at university called "Linux internal architecture", and for the last assignment I had to write a kernel module and interact with it with a separate program written in C.
Once I had finished and tested the driver, I went on to write the other program, which was supposed to use system calls to read and write data to the module. While debugging this program (~500 lines of code) I reached the level of frustration where you just start printing absurd messages everywhere in your code to see what's wrong. So for example instead of printing "This error happened in this function", my error messages were more like "Fuck this fucking function it doesn't fucking work".
Guess who forgot to delete all those messages before sending the code to the teacher...
Also, if a specific mode is selected, the program enters a while(1) that, apart from doing what it's expected to do, also creates a file in the user's home directory called something like 'motherfucker' and appends the words 'fuck this shit' to it. INFINITELY.
I really really hope this teacher doesn't try to run the program in his own computer, or he's in for a big surprise.8 -
!rant
I'm a developer in germany and of course, everyone in this company has a keyboard with the QWERTZ layout, which ( you all know ) sucks especially when using it do write code.
So i asked my boss, if i can get a keyboard in QWERTY layout, because of the given reasons.
He replied nicely: Yes, I will ask the hardware management.
5 minutes later i got a mail: Here is your harware order, you will get it soon.
It's not much, but that was fast and nice :)
Have a good day everybody.28 -
!rant
My girlfriend sat on my lap the other day when I was helping a friend of mine with some assembly code. She look at the code an said
What are you doing?
I explained the code and said that is the lowest you can get before machine code. She didn't run away in fear....
This is a great sign...6 -
That wasn't so hard :D
I managed to scrape all the images using my Java api in a couple of lines of code, used Apache Fluent to quickly download all of them, and imgflip to turn them into a gif.
Credit for the original rant and idea goes to @linuxer4fun
https://www.devrant.io/rants/42285015 -
!rant
Boss: ehi I was checking out our latest product (made in vuejs) it's blazing fast and responsive.
Me : shiny eyes "... Can I refactor our biggest project from angular 1.5 to vuejs?"
Boss: "mmh what can you save from the old code base? "
Me: "mmh.. A lot.. Mmh like.. The CSS!"
Boss : "no"
I hoped!5 -
rant
The Java course at our Uni requires us to do an end semester project - A Java App with Swing for GUI and some Multithreading code in it.
They asked us to upload the code to drive. I was bored and was checking out my friends' projects.
The code below is what I saw in one of the projects. They have simply called a thread with an empty run method because the project required to use multithreading concepts, wtf.
But then, It is no surprise to me cause these are the people who memorize code and vomit code for marks.
I am worried that people are going to be awarded degrees and called software engineers.
God save the software industry!24 -
[WARNING] THIS RANT IS NOT FOR HULKS OR SHE-HULKS
Here we fucking go again, currently, the time is 1:09 am in Malaysia, while I received a Pull request, so as a senior software engineer it is my duty to review the code before approving to merge develop branch. And this mother fucker decided to do this right after our CTO warned him about his coding style. Refer to https://devrant.com/rants/4699002/... for free cancer.
Our entire team is not happy working with this mother fucker, he is too arrogant.
Btw if he wants to insult me using codes, at least have the decency to draw some UML diagram , write proper documentation and write a proper logic, isn't better?62 -
A guy breaks into your house and start slapping your face with a huge C programming book for 5 minutes until you bleed top quality code from your nose.
Well this is what I was going to comment to the "learn C in 5 minutes app" rant, but can't find it anymore.2 -
Rant rant = new Rant
rant.isRant = false // !!!
I woke up this morning after not thinking about my code for a day, and realized i had a flaw in my validation design. I fixed it before opening my eyes.
It's kind of amazing how not thinking about a problem can help solve it. Even if you don't know it's there!6 -
I'M SO PROUD, I WROTE A FULLY-FUNCTIONAL JSON PARSER!
I used some data from the devRant API to test it :D
(There's a lot of useful tests in the devRant API like empty arrays, mixed arrays and objects, and nested objects)
Here's the devRant feed with one rant, parsed by Lua!
You can see the type of data (automatically parsed) before the name of the data, and you can see nested data represented by indentation.
The whole thing is about 200 lines of code, and as far as I can tell, is fully-featured.24 -
<This is my first rant, though I've been spectating in readonly mode (ie, without an account) for a while now./>
*Programs all day Saturday adding innumerable lines of code to a new project*
*Builds and runs project*
*Everything not only compiles, but the app works flawlessly*
*Faints*5 -
!rant
I just started to use Fira Code as my main font because another awesome user recommended it and I must say, this shit is beautiful. This is what I love about this community. I learn more and get to know more cool shit because of what users say in here than the 5 years I spent at uni. You ninjas rock!6 -
!rant
Some days ago I finished "Ray tracing in a weekend" (Peter Shirley) and I'm learning a lot :D
In the new year I will start with "Ray tracing the next week", but there are still some things I want to tackle before that (improve code quality, optimize... it's my first project that is bigger than a codeforces problem solution, a part from the projects at work).
Any sources of wisdom and recommendations are welcome!!9 -
MAJOR RANT:
Bug in question: Shortened URLs (that we generate dynamically because fuck you) would have a pipe character added in them, obviously breaking the URL.
I SPENT 3.5 DAYS DEBUGGING A MASSIVE, FRANKENSTEIN-LIKE CODE BASE TO FIND THIS:3 -
<rant>
when you're in a iOS programming class and for the 3rd week in a row we aren't coding. I don't give a flying fuck about steve jobs or apple as a company or their philosophy. Im here to code, not for a fucking history lesson.
</rant>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 -
@dfox
!rant, it's the Feature request
Possibility to post `a code snippet with monospaced font` would be usefull.
Or even
```
def multiline_code():
from 2 to Inf:
"Lines of code"
```
Sth like in markdown.9 -
!rant
Yesterday was my first day at my first internship as a naive rising uni soph. I brought my tiny 13 inch thinkpad thinking I was gonna code on that. Imagine my surprise as I walk in and HR brings me to a table with 4 monitors on it. l o l
I like it there.3 -
Hi, rant. I've just finished one of my hobby work. :D
Just another O'RLY book cover generator, written in Golang/Vue, supporting more glyph like CJK.
You may try it on https://rly.nanmu.me/
Source code is available via MIT license on https://github.com/nanmu42/orly
Cheers. :)10 -
Now don't get me wrong, I love the multicultural aspect of open source coding.
But for the love of everything that that is sane, please do not write the basic readme and code in English, and then write the entire documentation for the code in another language.
(Yay first rant)7 -
Making a Package Manager from Scratch is hard.
Making a Scratch-like education coding software in XAML is hard.
Setting up a server with zero knowledge is hard.
Creating a new file extension for my project and making it work is hard.
But, as a student,
studying and coding is the hardest thing.
Same 24 hours for everyone, and I should code as well as study.
Time.
The most precious thing in Earth.
==========================================
NASA dislikes this rant.
clean_air_rocks dislikes this rant.
no_suicide dislikes this rant.
students_who_study_and_code_and_wants_to_do_everything loves this rant.3 -
!rant
Our lead dev in the company seems to be a smart guy who's sensitive about code quality and best practices. The current project I'm working on (I'm an intern) has really bad code quality but it's too big an application with a very important client so there's no scope of completely changing it. Today, he asked me to optimize some parts of the code and I happily sat down to do it. After a few hours of searching, profiling and debugging, I asked him about a particular recurring database query that seemed to be uneccesarilly strewn across the code.
Me: "I think it's copy pasted code from somewhere else. It's not very well done".
Lead Dev: "Yeah, the code may not the be really beautiful. It was done hurriedly by this certain inexperienced intern we had a few years back".
Me: "Oh, haha. That's bad".
Lead Dev: "Yeah, you know him. Have you heard of this guy called *mentions his own name with a grin*?"
Me: ...
Lead Dev: "Yeah, I didn't know much then. The code's bad. Optimize it however you like. Just test it properly"
Me: respect++;2 -
!rant
Yesterday a friend of mine asked if I could help her with an assignment. The goal was writing shortest path agorithm in excel. I told her I don't know excel or VB but I will look into it. I didn't even know that we can code in excel 😅 After 1,5 hours of research and coding I writed a well documented code that does the job (with n^2 complexity of course). I feel VERY motivated after this. Because I did well job at an unexperienced environment with a language that I don't know!
Tldr: my new favorite ide is excel.3 -
So I got laid off because they told me I wasn't communicating enough.
For what I encountered
Reference:
https://devrant.com/rants/4979669/...
https://devrant.com/rants/4675369/...
https://devrant.com/rants/4956866/...
https://devrant.com/rants/4691189/...
https://devrant.com/rants/4699002/...
https://devrant.com/rants/4717638/...
For how I feel About after got laid off:
https://johnmelodyme.wordpress.com/...20 -
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 -
!rant
A rather long(it's 8 hrs long to be precise) story
So I just finished an amazing homework assignment. The goal was to open a new shell on Linux using a C program. We were asked to follow instructions from http://phrack.org/issues/49/14.html . However the instructions given were for 32 bit processors and we had to do same for 64 bit machines. In a nutshell we had to write a 64 bit shell code and use buffer-overflow technique to change the return address if the function to our shell code.
I was able to write my own shellcode within 1hr and was able to confirm that it's working by compiling with nasm and all. Also the "show-off-dev" inside me told me to execute "/bin/bash" instead of "/bin/sh"(which everyone else was going to do). After my assembly code was properly executing shellcode, I was excited to put it in my C code.
For that, I needed opcodes of assembly code in a string. Following again the "show-off-dev" inside me, I wrote a shell script which would extract the exact opcodes out of objdump output. After this I put it in my C code, call my friend and tell him that "hell yeah bro, I did it. Pretty sure sir is gonna give me full marks etc etc etc". I compiled the code and BOOM, IT SEGFAULTS RIGHT IN FRONT OF MY FRIEND. Worst, friend had copied a "/bin/sh" code from shellstorm and already had it working.
Really burned my ego, I sat continuously for 8 hrs in front of my laptop and didn't talk to anyone. I was continuously debugging the code for 8 hrs. Just a few minutes ago, I noticed that the shellcode which I'm actually putting in my C code is actually 2 bytes shorter than actual code length. WHAT THE F. I ran objdump manually and copied the opcodes one by one into the string (like a noob) and VOILA ! IT WORKED !!!
TURNS OUT I DIDN'T CUT THE LAST COLUMN OF OPCODES IN MY SHELL SCRIPT. I FIXED THAT AND IT WORKED !!
THE SINGLE SHITTY NUMBER MADE ME STRUGGLE 8 HRS OF MY LIFE !! SMH
Lessons learnt :
1)Never have such an ego that makes you think you're perfect, cuz you're retarded not perfect
2)Examine your scripts properly before using them
3)Never, I repeat NEVER!! brag about your code before compiling and testing it.
That's it!
If you've read this long story, you might as well press the "++" button.6 -
!rant
I used to be someone who disliked microsoft and windows, but with the new CEO Satya Nadella things are going in the right direction. Really love the stuff microsoft is doing right now! bash for windows, 24 bit color console, visual studio code and the monaco editor, dotnet core ... lately I have switched to windows 10 from OSX and I couldn't be happier :)17 -
!rant
I would like to ask you guys for advice.
I am a content manager who is gradually given more and more dev tasks. That is great because I want to become a webdev. However I have one big issue. Whenever I write code (any code) I feel ashamed because I know that anyone else could do better. I am also ashamed to show my work to my colleagues because I am afraid of what they might think of me. I know that they are good people and they would probably help me out but still...
Someone once tried to explain to me that I am not my code and whenever my code is being evaluated I am not the one who is being judged, it is my code, my current knowledge. I understand conceptually what he was trying to tell me but I just can't feel it.
Did you have similar feelings when you started out?
Thanks in advance.18 -
"Why am I a horrible person for following standard linting and thus not using semicolon in my JavaScript code?"
Next rant
"Sometimes I think people who don't use semicola in JavaScript should be shot on the spot."
Lol, love you devrant3 -
Cs Student. We currently have a course on algorithms, where we have to implement something in Java, test it with some sample inputs and in the end submit it to an online judge, so far so good. So why a rant? Well there's this one person, who strugles with programing and asks me a lot of questions. Usually I tell her, could you send me your code, so I can have a look at what doesn't work/where you made a typo/what ever. My thoughts: let's just copy it my IDE, take a look at the error message, and that should do it.
Guess how I got the code: As a few photos, taken by her mobile phone (as the code doesn't fit on one screen...)! Just send me the fucking file, or post it to gist.github.com or pastie.org or what ever fucking code sharing tool you want! Make a fucking git repo, I'll even live with SVN or just a .txt file by mail. But for the love of Linus Torvalds, stop sending me crapy pictures of your crappy code! For fucks sake!15 -
When you live in a 3rd world country, get a relatively expensive 16mbps connection (that's still very unreliable), and try to clone WebKit… why the hell is it so large even with `--depth 1` and `--single-branch`? Why doesn't `git clone` support resuming/incremental cloning? Is this even 2018?
I want to code but life is actively fighting me right now. I hate this.
/rant26 -
!rant
When I was in 8th grade and was learning to code (c++), I sincerely believed that calling a function within a function simply calls it again (like in a loop) . I had never heard of recursion.
And I actually made a small project in which I called a function again and again thinking that calling another terminates the previous one.
No wonder my program kept crashing. I have still kept that code with me as a wonderful memory.
I know this isn't particularly interesting, but I just saw that code today and felt like sharing this...3 -
On Saturday's I volunteer at this place where I teach/tutor kids how to program. I was sitting down with this kid and helping him when I found this pleasant surprise hidden in his code-
[go to my other rant for pt.2]6 -
I noticed that a lot of people are ranting about writing code on paper in the wk92 rant, but that got me thinking: does anyone here write something like "pseudo-code" (or some kind of plan) on paper before they type out their code?21
-
I wonder if devrant actually uses a `new Rant()` class in the source code like it does on the sticker2
-
I've been lurking on devrant a while now, I figure it's time to add my first rant.
Little background and setting a frame of reference for the rant: I'm currently a software engineer in the bioinformatics field. I have a computer science background whereas a vast majority of those around me, especially other devs, are people with little to no formal computer background - mostly biology in some form or another. Now, this said, a lot of the other devs are excellent developers, but some are as bad as you could imagine.
I started at a new company in April. About a month after joining a dev who worked there left, and I inherited the pipeline he maintained. Primarily 3 perl scripts (yes, perl, welcome to bioinformatics, especially when it comes to legacy code like is seen in this pipeline) that mostly copied and generated some files and reports in different places. No biggie, until I really dove in.
This dev, which I barely feel he deserves to be called, is a biology major turned computer developer. He was hired at this company and learned to program on the job. That being said, I give him a bit of a pass as I'm sure he did not have had an adequate support structure to teach him any better, but still, some of this is BS.
One final note: not all of the code, especially a lot of the stupid logic, in this pipeline was developed by this other dev. A lot of it he adopted himself. However, he did nothing about it either, so I put fault on him.
Now, let's start.
1. perl - yay bioinformatics
2. Redundant code. Like, you literally copied 200+ lines of code into a function to change 3 lines in that code for a different condition, and added if(condition) {function();} else {existing code;}?? Seriously??
3. Whitesmiths indentation style.. why? Just, why? Fuck off with that. Where did you learn that and why do you insist on using it??
4. Mixing of whitesmiths and more common K&R indentation.
5. Fucked indentation. Code either not indented and even some code indented THE WRONG WAY
6. 10+ indentation levels. This, not "terrible" normally, but imagine this with the last 3 points. Cannot follow the code at freaking all.
7. Stupid logic. Like, for example, check if a string has a comma in it. If it does, split the string on the comma and push everything to an array. If not, just push the string to the array.... You, you know you can just split the string on the comma and push it, right?? If there is no comma it will be an array containing the original string.. Why the fuck did you think you needed to add a condition for that??
8. Functions that are called to set values in global variables, arrays, and hashes.. function has like 5 lines in it and is called in 2 locations. Just keep that code in place!
9. 50+ global variables/hashes/arrays in one of the scripts with no clear way to tell how/when values are set nor what they are used for.
10. Non-descriptive names for everything
11. Next to no comments in the code. What comments there are are barely useful.
12. No documentation
There's more, but this is all I can think to identify right now. All together these issues have made this pipeline the pinnacle of all the garbage that I've had to work on.
Attaching some screenshots of just a tiny fraction of the code to show some of the crap I'm talking about.6 -
!rant
Be me, reading the slides of the courses I missed for my semester abroad, when I hit this slide :
"Always code as if the person maintaining your code was a serial killer who knows where you live"
I think I'm going to enjoy my semester in Mérida, México 😀2 -
/* rant */
I freaking hate it when people call me to fix their 9 gazillion dollar ultra extreme enthusiast alien technology pc just so they can play a a god damn freaking son of a damn bloody bitchy fb game on 9000 fps in 4k while some people struggle to have 6 tabs open at the same time so they can code+compile+preview+consult the interwebs. And lets just not mention the amount of monitors mmkay?5 -
Allright, this one begs for a rant.
Me (Linux boi):
0 checkout code
1 update local config file
2 compile
3 deploy locally
4 run
5 use
Coleague (Windows boi):
0 checkout code
1 update local config file
2 compile
3 deploy locally
4 run
-1 "configuration xyz not found in config file"
→ goto #3
After 4 attempts:
ø windows.reboot()
3 deploy locally
4 run
-1 "configuration xyz not found in config file"
3 deploy locally
4 run
5 use
// out of curiosity...
3 deploy locally
4 run
-1 "configuration xyz not found in config file"
NO side actions taken (no configs updated, no code changes made, no nothing. Just simple double-clicking the redeploy script again and again)
Now... How do you objectively explain THAT?
http://weknowmemes.com/2013/01/... IRL :)8 -
No rant, just appreciation
A thank you to the senior developers out there who take the time to help us juniors out, to look at our (potentially) shitty code and point out how to improve it.
To help us to see the bigger picture and maybe take a more lengthy approach to a problem that'll pay off in the end.
And lastly, thanks for allowing us to learn from your years of bug splatting, stack tracing, null pointers and error messages.
You guys rock5 -
It's my first 'rant' so be kind :P
When I started my studies a already knew some very basic programming stuff. I went to the exercises with another dude I met. We always joked about the tasks we had to do and did other things while the others tried to fix bugs in their code. After the semester ended he asked me whether I want to work part time at his mother's office. I went to the interview which was weird because I have never been to one before but got the job straight away. I'm in my fourth year of working there because the team is awesome.5 -
I'll repeat what I wrote in an answer in another rant because I think it made a good story (I just realized it after writing it :p) :
I met a guy in my school who was the best of the school : I mean, he jumped over the first two years of the school (and he started from scratch, he never had programmed before).
I went to ask him how he got enough motivation to make all the two years projects in one and he told me something that made me understand why he was so good : "I'm fucking lazy, so when I code, I code something that I would use for a very long time, tools that will be useful in next projects".
By doing this, all he had to do in end-year projects was to assemble what he already had done to make the program. He had perfectly working tools that were awesome. So, he never had to work more than 10 hours a week after doing this.4 -
I know I rant about how bad the app is I have to update on at work is but seriously first week into this job I found skeleton code from a taxi app, it wasn't in English and lately I found some code from some sort of funeral app wtf!
This just takes copying and pasting to a whole new fucking level!4 -
(Joke || Rant)
This guy came with this joke.
Ok, funny.
Then months later you realise he pushed this tweaked prototype to master, and now this code is shipped in production and it actually prints some idiotic sentence about flat earth on console output.
Ok, idiot.
It's not my project, but sometimes I'm wondering what people have in their minds when using version control and ship crap... -
<rant>
Freelance employers should learn that a "full stack" developer does not equal "fully proficient and experienced in everything code and comp. related". ESPECIALLY if the job pays less than 6£ an hour.
</rant>5 -
Earlier this day (or yesterday, timezones 'n stuff) I posted a "rant" about my new Project:
"The Spigot Web Framework" - a Tool that should help Owners of Minecraftservers without dedicated Webserver and knowledge about developing a website.
In the Screenshot below I show you guys, how few lines of code can make a beautiful website.
The Modulemanager is fully done and people can build their own Modules, which can be live updated.
I am currently working on "cross communication" between the Client and the Modules.
I hope you guys stay tuned!
EDIT: As mentioned in my last rant (look @comments) I will be able to pull off a standalone version of this software.18 -
OK. A friend asked me how I found devRant. Let me tell the story.
I was solving a google code-jam problem. I was in hurry and I missed an intent. I was short in time and the error drove me crazy. so I opened a tab, typed: "fuck python" and the magic happened. The first result was a rant from devRant.12 -
!rant
I suddenly remembered that time when I was a junior, faced an issue in the code. I assign a parameter for a method for background-colour, where I have to declare a Colour value with the hexcode, then I got an error thrown at me. That's says Colour(); not found something something.
Took me one hour to realise most programming languages are American. Should be Color() not Colour()
Facepalm. That day I thought to me self, how stupid can I get in a day.5 -
!rant
I think one of the best moment of life is finding a good song all of sudden. It's like finding a new drug which I can just inject in my ear and code at 100% productivity. -
Not really a rant.
When you start learning a new prog paradigm focused on a particular branch of math and then see it being used to solve a sudoku puzzle in 3 lines of code. Well, that shit changes you and makes you wonder how much shit in the field we don't focus in for being too concerned with everythingPython and everythingNode
Brain is mush but I am loving this shit.9 -
Monday morning: The last straw.
After talking about in a previous rant about how my client wants to fix bugs that keeps popping out after bug fix.
Today I discovered, that all C-levels, worked all Saturday to "fix my code" because it "didn't work" and we "needed bug fixes not pretty things".
The app version I was working on for the last week is gone. Without mentioning that their "CTO" wrote a fucking crappy code to disable features that I added, breaking the build step.
This shit is enough for me, I'm done!3 -
University Coding Exam for Specialization Batch:
Q. Write a Program to merge two strings, each can be of at max 25k length.
Wrote the code in C, because fast.
Realized some edge cases don't pass, runtime errors. Proceed on to check the locked code in the Stub. (We only have to write methods, the driver code is pre-written)
Found that the memory for the char Arrays is being allocated dynamically with size 10240.
Rant #1:
Dafuq? What's the point of dynamic Memory Allocation if you're gonna fix it to a certain amount anyway?
Continuing...
Called the Program Incharge, asking him to check the problem and provide a solution. He took 10 minutes to come, meanwhile I wrote the program in Java which cleared all the test cases. <backstory>No University Course on Java yet, learnt it on my own </backstory>
Dude comes, I explain the problem. He asks me to do it in C++ instead coz it uses the string type instead of char array.
I told him that I've already done it in Java.
Him: Do you know Java?
Rant #2:
No you jackass! I did the whole thing in Java without knowing Java, what's wrong with you!2 -
Hi all, first rant.
I work on an app on the Shopify platform, which requires me to look at the front end of people’s Shopify stores about half the day.
Can we PLEASE get the Shopify devs together and convince them to put a hard limit on the number of pop ups and slide ins and modal apps a single store can have running??? When a user (or app developer) can’t click on a product to buy it (or test installation) because ‘spin the wheel’ and ‘join the mailing list’ and ‘Karen in Ohio just bought a toaster’ won’t stop popping into the view, your UX is shit.
I realize people could still actually go in and build these things into their store code - but I’m willing to bet VERY few would.
Thanks - rant over.2 -
Time for a soap box rant.
I just found this in one of our projects. I've simplified the example to make it more anonymous.
When I see code like this it automatically means there is a lack of attention to enumerations and/or understanding of what they are.
One may argue that in a certain execution of code it's a minor performance hit and therefore insignificant. It's still a performance hit. Furthermore, it takes even less time to do it the right way than it does to do it the wrong way.
Every one of these lines will enumerate the list from the beginning to try and find that one element you're interested in. Big O notation, people.
Throw that crap into a dictionary or hashset or similarly applicable data structure with direct reads at the beginning of your logic so that it only gets enumerated ONCE when the data structure instance is created. Then access it however many times you want.
Soap box rant over.15 -
!rant
Got back into android development recently and while everything was pretty flawless ( I managed to get the basic concepts implemented in a day) something wasn't right.
For some reason I was not happy with the code i wrote, although I took examples from google and tried to adapt their code style. It looked aweful. I hated my code.
But the code itself wasn't the core of the problem. I could easily add new features and replace components with new implementations without breaking the app. All those "good code quality" identifiers were there.
Turn out the problem is Java. Or to be more specific: Java 1.6
Every listener which only calls a single function once a worker has finished needs 6 lines of code. If you implement the inferface in the class it gets messy once there are multiple workers and you have a generic interface. And there are no lambdas!
So I made the switch to Kotlin.
The app was converted to kotlin in 30 Minutes. Android studio can convert the classes automatically and very little manual work is needed afterwards.
After that I spent 2 hours replacing the old java concepts with Kotlin concepts: lamdas, non-nullable types, getters and setters in kotlin style (which in this case is c# style) and some other great thing.
The code is good looking now. I like it. I like kotlin as it has a lot of cool things.
Its super easy to learn. It took me about 2 hours to get into it. It combines concepts from java, javascript, c# and maybe a few other languages to form a modern jvm 1.6 compatible typesafe language.
Android dev is fun again!2 -
Not a rant, but still relevant:
GET YOURSELF A PROPER ERGONOMIC CHAIR!
I'm pushing 30, but have been coding/messing with computers since i was a barely a teenager.
I code at work and i code at home, and while i consider myself decently fit and observe decent routine regarding standing up regularly at work, my lower back is still all kinds of fucked. (Facet Joint Disease - look it up if you are bored)
This is SUPER common in our field and i figure most of you here are working more and more from home, from you couch probably. This is killing your back, and let me tell you, coding is freaking difficult when you feel like the thousand knives of the management layer is in your back literally instead of metaphorically.
You will be sitting in the same damn chair/set of chairs for the majority of rest of your life, make sure its good, preferably before your back is screwed.5 -
Quick rant!!
Deadline in 2 days, working with a team.
Me: yo ! , How's the xyz feature? Is it working now?
Teammate: yah, made it work yesterday.
Me: epic! Can you present it to me?
Teammate: wtf, it's not working today!!
Me: no worries, you can sort it out!
Teammate: the latest release you worked on doesn't work properly.
Me: yah, merged code fucked up, I'm fixing that, I'll push a fix today.
And the cycle continues... -
Episode 3 of this rant: https://devrant.io/rants/871827/...
Me: So I'm going an API call to Mastercard but they don't give us back CreditCard token to save.
Provider: Ya man you need to curl a request in your code to get the token...blahblahblah.... man you need to know these things they are not an easy things to be done, just paste curl code on MasterCard website into your code and it will work
Me: *ignores his shit talk and proceed to test*
*5 minutes later*
MasterCard Server: error.cause=INVALID_REQUEST&error.explanation=Invalid+credentials.&result=ERROR
Me: *calls provider and tell him*
Provider: Oh sorry, we need to enable this feature for your account.
devRant people please, give me one reason why I should not leave this field, and maybe also leave this life knowing there are this type of people alive.
Thank you :)2 -
>Be me
>About to finish large-ish GUI program in Java
>Finish coding program
>Be happy that you finally finished
>Go to test the program
> Doesn't start
>Get concerned
>Debug the code for hours on end to find out why it isn't working
>Find that you were missing a semi-colon the whole time
>Yell into a pillow
>Go to devRant to rant about it11 -
Part 2 of this rant: https://devrant.com/rants/933393/...
Today I received the source code of the application, it has like four views but guess what, all four views have their controllers in one controller.js file that is about 1400 lines of code.
Also all their data models are in one file,
everything is in one file.
Does anyone know how to make it through that shit :(16 -
Came home, opened Instagram and I feel this urge to make a rant about these fcking instagram thots that "code".
I'm not against women that code or anything (in fact, if they got the skill, then I think that is awesome), but I am against those special fcking snowflakes that try to get special attention just because they are a female person that is writing HTML and CSS >.>19 -
First Rant here.
So I was working on some integration test issues when I found this by accident made by a professional level SW engineer:
@Test
public void testMethod() throws ApiException {
Response res = null;
try {
res = serviceToTest.callMethod();
} catch(Exception e) {
assertNull(res);
}
}
Was wondering why tests were being green after some code changes I've made cuz tests could have not been green afterwards.
Together with a senior (I'm also professional only) I've tried to explain him for a good 1-2hrs why this code is useless and he still did it. Good thing there are no errors in the real implementation from him after fixing the tests as it's code freeze here and we are having go live in a few days 🙃
Also luckily he isn't working on our code anymore and has only been doing so for a few weeks.
Wasted a day with it and gonna check all of his code now before I run in the next surprise.1 -
Day 2 in ComSci class (following my last rant)
"Okay, so! All of the schoolwork and homework will be done on paper and pen, submit and I will grade it. Only once, no second chance"
Okay. Okay. This went over my head. What are you gonna do? OCR the code into the compiler, compile it and run to see if we fucked up to give us an F? What are you, god? Here's a brilliant idea, teach them Assembly! Guaranteed error to give us Fs! FUCK YOU3 -
Messed Up my first Coding Interview and that too of Google!
My first rant.
The first question was not an easy one. I cracked it though. Happy. Very Happy! I had 40 minutes left for the second question. And then came the nightmare. Okay, my foolishness.
I compiled my code. Compilation error.
Declared variables. Compilation Error!
Imported Libraries. Compilation Error!
Changed vector to an array. compilation Error!
Checked the loop for edge cases. Compilation Error!
Cannot use an IDE too. Tab's change is not allowed.
My score was still ZERO and I had only 15 minutes left.
Then lazily my eyes went to the language selected. It was C. I wrote the code in C++.
I mean HOW CAN I BE SOOOO STUPID??
I was coding in an entirely different language!
But..But, the story doesn't end here.
Next, I copied the code and switched languages. NOOO, my code was lost. I couldn't paste my code!!
I checked the timer- 5 minutes left.
Somehow, I managed to rewrite the code. And submitted it at the last minute.
I have no idea what will be the results. I just solved 1/2 questions.
SAD but FRUSTRATED at my stupidity :(5 -
Architects at the company I'm at rant about, "We don't believe in commenting our code. Good code is self documenting". Nothing about our codebase is "self documenting" FML6
-
!rant
@dfox
Many people use snippets of code in their Rants, so it's maybe a nice feature to be able to add codeblocks to rants..7 -
For fuck sake I get that people like python but not everyone is going to use it!
Just want a few articles or tutorials on interpreters and would you fucking look at that, it's all just in fucking python using external libraries...
Then I purchased a couple Linux and Raspberry pi magazines just to have a gander at some of the code examples and what do you think every single piece of code is? C? C++? Vala? Nope, fucking python!
I will eventually finish learning what I can about python but there are other languages that exist that isnt fucking python, give us some C, C# or even bloody JavaScript... Please
Ok rant about python over, back to my hole12 -
Top three reasons why I love to code:
1) People will think you are a wizard and feel so afraid of you that they call you nerd and give you a office in a cold basement (especially good in summer times)
2) Your friends call you for every problem they have with their computer and will give you a few bucks or beers in exchange.
3) You can rant about technical stuff and no matter how unfounded the rant is, your non-tech friends will believe everything you say.2 -
!Rant
Is this what we've all been waiting for?
CodeCorrect finds solutions to common errors in your code
"The hack works by inserting a piece of JavaScript in your web code that reroutes uncaught exceptions to a local node.js web server. From there, the code sends a request to StackOverflow's API to search for error messages and return the highest-ranked solutions to user-submitted questions. Answers are extracted from the StackOverflow, and if they can automatically be converted into instructions, changes will be made to the original code."
https://techcrunch.com/2017/05/...3 -
Oh booy...
Once i worked with a classmate
Explaining to him what he has to WRITE IN THE CODE to do it. So i was dictating him...
On the start i told him "now write an int called num1 and then of course end with semicolon"
To which he replied"whats is int and semicolon"
I didnt hang up but if you want to see the sequence +1 the rant4 -
!$rant
"Always make sure to have good documentation in your code."
And I still struggle with this advice xD -
!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.31 -
I just finished upgrading a dotnet core 2.2 WebApi + Console App to dotnet core 3.1 and it was a very smooth process with very minor changes to my code.
Not a rant, just posting because it is the first nice thing that has happened for me in a while now.4 -
I got a project to "refactor" some shitty site. It was written in nativ php. The guy who wrote this is a moron.
The site is so unsecure that my dog could broke into it while barking at cats.
It's sooo unreadable and illogical.
Every time i look at the code i get sadder and sadder. And now i understand why so many people hate php..
**Jump in time**
After i planned the new logic. My boss told me i can't do any of this. Because they only need a new user lever..
Now i just stare at this pile of horse sh*t and rant about it.4 -
Rant on anti devs.
I helped my friend crack a fairly simple hackerank. The questionnaire was basic JavaScript questions and little on CSS selectors nth child. The test is finished in half hour instead of 75 mins.
5 months later. He calls again and ask if he can get the question solutions (code snippets). I didn't have those but curious why he needed it. He says he wants to put that solutions to Github. So would look on resume. This is not even a project just code snippet with a for loop. He just wants any codebase to upload to his profile.
My ears are bleeding. It makes me sad that some people had to do Masters in computer science purely out of societal pressure. Just because software development is booming field a lot of folks who are not genuinely interested in development are being forced into the industry.6 -
!rant
So, Rust again.
When I learned that Rust doesn’t support inheritance, only traits (interfaces), I was shocked at first.
Then I tried to remember when the last time was that I have used inheritance in the code that I write (not the code that I use).
And I could remember an instance some months ago. But I also remember that I was very unsatisfied with that design and refactored it to use composition instead. And it was much better.
One of Rust’s properties is that many good practices in other programming languages are enforced rules in Rust.
And in case of inheritance, it seems like Rust decided that composition over inheritance is such a good practice that it should be a rule.
I’m not 100% convinced that there never will be cases where inheritance is better. But I still like this radical idea of forcing the devs to do it "the right way" in the majority of (if not all) cases.
I think many devs will disagree.
What do you think?14 -
I finally got to releasing a devRant client for Android!
Note that many features are still missing but will be comming soon.
Main features (but not limited to :) are
fresh UI w. themes
animation of @SIMMORSAL (devRantNative)
basic code highlighter (alpha)
landscape + resizeable without breaking
userinfo in feed (optional)
surprise rant
Github and Apk https://github.com/joewilliams007/...9 -
<rant>
I fucking HATE the Arduino environment right now.
First of all: you can't fucking put your project files in a sub folder to the main file. I can't write #include "src/motor.hpp" because it doesn't fucking know what that means.
Turns out you have to put all your header files in the fucking library folder common for all Arduino projects!
Secondly, you can't call your cpp headers hpp, they HAVE to be called h, or the Arduino environment throws a fit and begins whining about being unable to find the fucking files.
Not just that! You can't reference other Arduino libraries from within your library because the environment doesn't know what that means either.
To get around that you need to fucking include the library in your main file, AND THEN you can include it in the library file that uses it. After all, it should be the programmer's job to soon feed a so called IDE, right?
I'M SO FUCKING DONE WITH THIS SHIT! 😤
I'm ready to either program the Arduino directly with an AVR programmer or even port the entire project to the raspberry pi where I have a proper fucking Linux environment with a proper fucking directory structure so I can code proper fucking C++.
Hell I'm even fucking willing to spend all weekend porting all the code myself if necessary.
It's not reasonable that correct fucking C++ code is invalidated because I called the files something "wrong" and put them in the "wrong" directory.
</rant>
"user friendly project board" my ass12 -
rant & question
Last year I had to collaborate to a project written by an old man; let's call him Bob. Bob started working in the punch cards era, he worked as a sysadmin for ages and now he is being "recycled" as a web developer. He will retire in 2 years.
The boss (that is not a programmer) loves Bob and trusts him on everything he says.
Here my problems with Bob and his code:
- he refuses learning git (or any other kind of version control system);
- he knows only procedural PHP (not OO);
- he mixes the presentation layer with business logic;
- he writes layout using tables;
- he uses deprecated HTML tags;
- he uses a random indentation;
- most of the code is vulnerable to SQL injection;
- and, of course, there are no tests.
- Ah, yes, he develops directly on the server, through a SSH connection, using vi without syntax highlighting.
In the beginning I tried to be nice, pointing out just the vulnerabilities and insisting on using git, but he ignored all my suggestions.
So, since I would have managed the production server, I decided to cheat: I completely rewrote the whole application, keeping the same UI, and I said the boss that I created a little fork in order to adapt the code to our infrastructure. He doesn't imagine that the 95% of the code is completely different from the original.
Now it's time to do some changes and another colleague is helping. She noticed what I did and said that I've been disrespectful in throwing away the old man clusterfuck, because in any case the code was working. Moreover he will retire in 2 years and I shouldn't force him to learn new things [tbh, he missed at least last 15 years of web development].
What would you have done in my place?10 -
A rant about people in general:
I am sick of people not caring, not giving a fuck, not valuing others.
Studying CS this is something I noticed the past year: people tend to not acknowledge that there are other human beings around them.
Some are just focused on getting their degree done and dusted as fast as possible, which is fine.
Some are working to pay the rent or student loans, which is fine.
Others just do their thing, code their stuff, criticize other's code... which is also fine.
But nobody's realizing they're interacting with other people! Other living, feeling human beings. For them it's just about getting it done.
And not just at university.
I've started seeing it everywhere.
At the job I'm working, people in the shops and on the streets.
I don't get it. We are all human on this rocky sphere in space. Why do so many not care for each other?
It makes me sad.3 -
Overtime rant, I suspect they will try to denie me half of the overtime pay for the past week cause I did more than ordered to reach their arbitrary deadline.
I will in return offer to delete half the work I did. Rollback changesets and delete the code. -
!Rant
Now that's how I like my operating systems!
Found these earlier on when shopping and was too cowardly to take a picture in the shop and leave them there, so I bought them. They taste nice too.
Like most women, my wife has a sweet tooth and I've told her that these are special biscuits for developers and she can't have any unless she can code.
She's now doing a quick JS console log of 'hello world' in Chrome whilst I make the tea!3 -
This moment when you are learning Vue.js and you are constantly forgetting commas and you are wondering why the code doesn't work.
That's even worse than forgetting Semicolons in normal JavaScript. FeelsFuckingBadMan
P.s. This is my first Rant on devRant even if I'm here since 13.11.16.8 -
!rant
Goodbye Java I will not miss you at all! I swear ...
I do like it when making web services (especially that I can use Java8) but for Android you have been a torture. Hello sweet Kotlin! I shall embrace you and treat you like my newly born baby!!
Story is:
Working on a new project where I need to talk to a web service (also made by me).
Started writing in Java, all is cool and unit tests pass.
Downloaded Android Studio 3 Beta 1 and converted my Java code to Kotlin, That AsyncTask did not look nice in kotlin, converted it to async & await feature and I must admit lots of code removed, no more need to create a new fucking AsyncTask every time the app sneezes for data!
I feel like I'm working with C# but with difference in syntax.
My life is now complete :)undefined java goodbye! am i drunk? koline: sorry i have a boyfriend hi there kotlin i shall not miss you what the fuck did i just use for a tag?8 -
!rant
Our implementation director got bored since yesterday. So, I decided to let him barge in with my colleague and let him manipulate the audio speakers. Things got funny and asked me to code properly so he can take a shot and send it to his friends. What I did, I copied and paste the code and saved as .bat to make the console looked like the matrix while coding. 😂😂 -
To all people who hardcoded stuff like tables in HTML and even rant about how much work this was or how many lines of code they wrote, please stop the madness, please don't talk until you get the basics of programming and why computers are quite handy to handle repetitive tasks.4
-
- Launch the new version of the system I have been refactoring for 2 years and counting, then ceremoniously burn (literally) the legacy code as well as the cluster fuck of hardware it runs on.
- Decrease my stress + bus factor by bringing another up to speed on my code & the new version (his cluster fuck now).
- Pay attention to & take better care of health, my wrists in patricular.
- Find a mentor and mentor someone else.
- Get out of crisis management mode and find the time to write tuts, experiment and live a little.
- Find & join a local dev meetup, maybe make a local dev friend.
- Book leave and actually take it, preferabbly without having to take my laptop to the beach - actually, preferabbly at least have the choice to take a offline vacation.
- Sort through the drives containing ALL the code I have ever written, migrate the usefull interesting bits to Github.
Phew, that bit of self reflection was intense! I'm adding a cron to my server to sms & email me this rant in a year to remind me what hope looks like. -
!Rant
I have not slept in 28 hours.
I discovered Quantum computing, pubo and simulators.
I FEEL it can solve my business problem, but it is fucking time consuming to write this code. (In a good way).
I do not need sleep at this point, I need answers!
Anyone with good links to either pubo examples or a useful quantum algorithm, I’ll take it ! (not the random number… I have already run that on a real QPU 9Still no idea how much that run cost in $)!)31 -
Been trying to learn code for almost two years now, started with C++, took a break because I couldn't figure out what to do with the knowledge, started Python 'cause I thought I'd be inspired by scripting and automating stuff, same thing happened, switched to java, same problem, aaaaaand I'm back to C++ and still can't figure out what the fuck I can do, I don't code anything and I'm tired of following tutorial in the hope of getting something interesting done
Long rant I know but fuck I'm so depressed about that...8 -
!rant
After two years of learning front end librairies and some javascript my mate just threw me into our java backoffice to help him do the testing.
I read so much shit about java, i was a bit apprehensive... But man the more i learn the more i think code is beautiful.
Well i for the first time am starting in java today and its beautiful as well ;) like,i can`t remember having had so much awe for something in a long time. -
(first post/rant on here)
So I recently started at a new company. I was kinda aware that the project I'm working on would be rather old school (to put it in a nice way :-)).
Part of my job is to 'industrialize' and update/clean up the existing code so there is less time spent on fixing bugs due to bad design.
One of the first things I had to do was to write a new interface to integrate with external software.
I already noticed some rather nasty habits, like prefixing every variable with m (don't know why), private fields for every property (all simple properties) and a whole lot of other stuff that either is obsolete or just bad practice.
Started writing clean code (simple classes with properties only, no m prefixing, making sure everything is single responsibility, unit tests, ...).
So I check in the code, don't hear much from it again besides the original dev/architect that started the project using my code to further work on that integration.
Now recently I started converting everything from TFVC to Git (which is the company standard but wasn't used by our team yet). And I quickly skimmed through my code to check if everything was there before pushing it to the remote repo.
To my surprise, all the code I had written was replaced by m prefixed private variables used in simple properties. BL classes were thrown in together, creating giant monstrosities that did everything. And last but not least, all unit tests were commented out.
Not sure what I got myself into ... but the facepalming has commenced.14 -
!rant
how long do you guys code per day?
being a student i have now extreme difficulties in time management😐
need some advice...9 -
It took me way too long to understood what I wrote few weeks ago. After looking at the code for few minutes and looking at my db structure, I finally realized. I also instantly remembered that I wrote that "user is shown as ad" comment hoping I will not confuse myself in future. Apparently I failed.
Temporarily added next line of comment to help the future me.
Deep down I know that I should change function name itself to become clearer, more meaningful and easier to understand.
But writing that comment, making those screenshots, combining the 2 images in Pinta and writing this rant is faster than thinking the new name.3 -
I have been very inactive in these last couple of months but I really need to rant right now:
I am working on a project, which is also part of a contest, with a few of my friends. I asked one of them to write a bit of code and some documentation about it, here's the result:
He wrote half a page of text with plenty of spelling mistakes and grammatical errors but here comes the even worse part:
Instead of just leaving the code in its own file he copied it into the word (libre office writer) file as well. Now I have got 3 pages of non-indented code with a few comments flying around here and there, weird variable names and a lot of commented out pieces of code.
Bloody hell I feel like I am the only one in this team taking this contest serious.3 -
!rant
well today is my final day in this scammer company So I wrote a long essay in the code to warn the next programmer , if they found it and know how to decode it .6 -
!rant
Wish me luck. I am done with the spaghetti mess.
There is a stock management system written using laravel and jQuery. There are mistakes in database structure. There are lots of I-dont-know-what-this-function-do-so-i-should-leave-it-alone codes. There are lots of repeated and duplicated functions.
Gonna start things from scratch and will also start using vue. This week's Thursday and Friday are public holidays here. I hope I can code my ass off and finish the migration/refactoring/cleaning shit by Sunday.1 -
I'm going to be that guy .... A lot of these rants are about code compiling first time .. Throwing away code you wrote because you didn't need it... Getting in the zone and writing a billion lines before you compile .... Am I the only freaking person here that does TDD ? My rant is wake up people ! People evangelize about it because it fucking works !6
-
!rant
What are people thinking when they are building datepickers (or any type of angular/jQuery plugin for that matter)?
Lets put all of the code in one file, place everything that should be dynamic and optimizable in constants, provide no localization support, finish it all up, publish it to bower and npm (so poor devs won't have to struggle) and last but not least don't accept pull requests with useful features for months!1 -
Keep this in mind: I don't like WordPress and PHP at all!!!
So a couple of days ago my boss asked me if I could extend a custom made WordPress plugin made by our intern. First thought: sure why not? Boss says: it has to be done in less than 100 hours of work (an estimate done by my boss and the intern). Me: I can't tell you that before I have seen the code and what functionality has to be in the extension. Boss: Cool, look it over this weekend and tell me if you want to do it or not.
I looked it through and my answer will probably be: NO WHERE IN HELL am I gonna are this in less that 100 hours! 1. no tests has been performed so I have absolutely no clue if his code works.
2. variable names are mostly: $string_query (whatever that means?), $result, $string_temp and so on.
3. Methods and functions are more than 250 lines long, with shitty formatting, and more comments than code. WTF?
4. The estimate has been made by an intern and my boss (doesn't know much about programming). I haven't been consulted about it....
5. No version control. No branches, no commits other than initial commit. Great.
6. Most comments in the code just tells me what I can read from the code. What it returns and what it takes as params. Can I please know wtf your method call named $booking->run () does? I still haven't found this method in the code after 1 hour of intensively looking for it...
FFS man... Not gonna do this, even though I thought it would have been an interesting project initially.
Sorry for the long rant... I just wish the intern would have consulted me about all this shit, since he obviously have bad practices. *sigh*6 -
!rant
Well, I did it.
My alpha first app I'm sharing with the public.
It's small, it's not pretty, but it's mine.
Say hello to, Coding Trainer
https://github.com/IronPhreak/...
Coding trainer is a project to encourage users to code more and not procrastinate. This is done by incentivizing users to work on their code in order to access certain "fun" programs
-----
I know this isn't the best as it's only a small amount of code and hours worked on, I know it can (and will) be improved. However this has given me some experience I didn't have before which will lead into future apps I work on8 -
So I'm approaching a 8 year anniversary working in IT and this feels like the first time needing to do a serious rant.
Today I've come across some code (infact just a single line) written by another company that is so fucking fundamentally stupid that they should be banned from writing any code ever. Like holy fuck.
This is textbook examples of shit never to do ever in any fucking environment or intranet/extranet etc. What the fuck. The fucking muppetry involved in this. This is what they teach novice programmers - you see this code written 20 years ago? Never fucking do this. You see this company that went bust 10 years ago? It was because of shit like this. Never ever write code like this or your 90kg ass will be thrown 300m by the greatest medieval fucking siege engine ever created after we throw you through the catastrophic gaping hole in time and space that your line of code just created.
Fucking fuckity bye.3 -
!rant && 'suggestion'
What if we write cook book in pseudo code (or official development languages) instead of plain english so dumb fuck that can't follow a simple instruction like me could actually make something nice?
def mayonnaise:
mayonnaise = random.shuffle(['yolk', 'salt', 'pepper', 'mustard', 'vinegar'])
while(mayonnaise not "thick"):
mayonnaise.whip()
mayonnaise.append('olive oil')
mayonnaise.append('seasoning' || 'lemon juice')6 -
! Rant
Quick tip for those of you struggling with a error or bug you can't fix.
But that doesn't effect functionality.
Just wrap the code inside a try catch block and don't do anything inside the catch 😂😂. Saved me a lot of hours in my projects.
Nah I'm joking. Don't ever do this8 -
First !rant. I'm working on a 2d game using Game Maker at school and I just wounder if putting constants up this way makes you cringe. Is there a better way? This code is only run when switching to a weapon and he values can be put into the shooting script itself. I just want to know how you put in mass constants in general coding or even at all.6
-
I am happy about a lot of code i have written but most recently speaking, the fuck you github page mentioned in https://devrant.com/rants/4934026/...1
-
!rant
You know you code too much when you try to press control+space in word... would actually be a nice feature3 -
!rant but wondering,
I'm doing Instrumented test for my android app, and wrote that code to check if the fragment loads data and click on first item and check if all is working as expected, am I doing it right?
Any help would be great :)
Warning: LIGHT theme ahead, room brightness is higher than my screen and I can't see shit in dark theme :\10 -
Created a github open source project for voice recognition for react native Android.
Needed help developing some features and did my research with links to some articles.
Then some guy that showed interest in the specific issue just copied my repo and launched his own npm package with the new features.
Just threw my code in the garbage and just felt so irritated. I did all the research and shared the research links and he just duped me and left me to rot. No credit given.
Fuck that guy. This is not open source.
Rant over3 -
!rant
I was playing with adb logcat some apps and I saw some sensitive info from my bank app. So I decided to go deeper , I saw my entire banking information , WHAT THE FUCK? I feel unsafe now using this bank.
Btw this bank is using react native and forgot to obscured their code in production6 -
Remember about this project of mine? Maybe not because I deleted the rant, but after a long pause I re-started working on it. In -just- 1 hour I wrote this code that picks a random number, goes from 0 to 5 and, if found, it prints the match.
This is my most (useless && senseless) project by far.4 -
Rant rant rant!
Le me subscribe to website to buy something.
Le register, email arrives immediately.
*please not my password as clear text, please not my password as clear text *
Dear customer your password is: ***
You dense motherfucker, you special bread of idiotic asshole its frigging 2017 and you send your customer password in an email!???
They frigging even have a nice banner in their website stating that they protect their customer with 128bit cryptography (sigh)
Protect me from your brain the size of a dried pea.
Le me calm down, search for a way to delete his profile. Nope no way.
Search for another shop that sells the good, nope.
Try to change my info: nope you can only change your gender...
Get mad, modify the html and send a tampered form: it submits... And fail because of a calculation on my fiscal code.
I wanna die, raise as a zombie find the developers of that website kill them and then discard their heads because not even an hungry zombie would use that brains for something.1 -
not really a rant but the more i code, the more fun it gets. i havent really dived this deep into coding and allowing myself to take most of my time doing it has made it more interesting for me. now i want to learn more and start creating personal projects aside from real university projects. people may think its weird that i have been devoting a lot of my time writing code, but i guess they just dont understand the difference of coding for grades and coding for fun.
we are all in it for fun!1 -
So just saw an email from our team's vice manager about need to improve code quality by using some new system.
Well that set me off on a huge rant about all the issues I see in my team and what exactly needs to change... (just some new sytem he's pushing isnt going to help)
wonder if i might get fired... even though i m right...
And so much for my plan to update docs... I've forgot what I wanted to do...2 -
I am reviewing a piece of code as I type this, and I just had to make a rant about it. In the code there's all these measures for syncing multiple threads, while the entire thing runs does not even use threading. But that's not the worst: when an InterruptedException is caught, is calls Platform.exit() WHICH CLOSES THE FUCKING PROGRAM. WHY WOULD YOU EVER DO THAT?1
-
!rant
Building on https://devrant.com/rants/1654019/...
It's coming along nicely, I've been working on different themes and I'm still making the tree more natural.
Next is to make the number of branches each time more random, and then I'll maybe add leaves. I might even add a day/night cycle, but we'll see once the code is further along and the automatic background updater is made.4 -
Last few weeks have been very hectic and I will explain everything in a few days when all of my things to do are done (if you are concerned - nothing bad happened, just code nightmares. Expect a strongly worded rant soon).
Also, I’m getting vaccinated for the coronavirus on Saturday night!9 -
Problem with code:
Computer: "Error on line 189: ....."
Me: "But the code ended on line 58 "
-----------------------------------------------------------------------------
Programming is funny
!false
(its true)
(i wrote it here because devRant allows us to post one rant in 2 hours)4 -
!rant
Does anybody know how Google, Microsoft, Apple etc autocomplete their code demos in live sessions? They tend to type out short codes and voila lines of code appear. They must be doing some sort of code mapping and this is what I am curios on how to do.
I am curios on how to do this in Xcode and/or in Brackets for a Python script.
Watch the next seven seconds of this Google I/O to see what I am talking about.
http://youtube.com/watch/...
PS: At the beginning of the presentation, they have four presenters on stage so I know for a fact that a human is typing out the code and its not a pre-recording of any sorts.6 -
I'm gonna rant about how Discord does not let you disable 2FA after having it enabled if you forget the code they provide for cases where you don't have access to the 2FA in the first place and I lost a damn account to that :/8
-
!rant First code review in the new team, came back with list of helpful suggestions and constructive criticisms. Yep I'm going to like it here. Excited to be learning from the bests.
-
!rant
So on the last day before launch our latest feature I'm informed that a requirement was missed and it had to be implemented before go live otherwise the business didn't want the feature. The feature in question was pretty drastic and basically required a scheme rewrite, new tables, etc. So I spent the entire day making the change.
Thankfully I pushed the whole project for good code coverage. Therefore, all I had to do when I was done was run all of our tests and make sure they passed. *warm fuzzy feelings* -
As my friend @AlexDeLarge found my last rant less detailed and idiotic so I deleted that rant and am writing this new rant giving all the possible details.
I am currently doing my graduation in computer science(in 3rd year). I love to code problems and have an experience of working in various languages like c, c++, java, javascript, html, css, python, swift. When I came into this field, I had a dream of becoming an iOS developer but now seeing all those streams out there(android, machine learning and etc etc), I am really confused. I know that I want to do programming but choosing a career is getting on my nerves and taking the hell outta me. So if anyone of you following devRanters could guide me and help me on this point, I would be highly grateful.
P.S- please don't judge me cause i know i am not good at expressing myself.10 -
!rant
All computers are great and not all people are compilers
please use a Semicolon for God's sake
Though coding is competence
I believe in readable code2 -
! Rant
Today i had to revisit my code to change some functionality for an application i made 3 years back.
I wish i could go back in time, refactor the code and write Unit tests.1 -
!rant. Just trying to make people feel a bit better.
Ever thought "Ah crap, I have no idea what's going on with this code?" - then immediately second guessed your abilities?
You're not alone.
https://github.com/search/...
It's not just tiny projects in there either. Gnome is on the second page :-)1 -
Ugh time for my first google chrome rant... thing...
Ughhhhhhhhhhhhhhhhhhh, finished an arch linux install, fixed my slow internet connection in linux, installed only the things I need, vs code and google chrome but fuck me!
Google chromes performance is sinking like a rock, dropping about 25-40% of frames in youtube, slow page loading and the sort.
Installed firefox to ensure it wasn't my system and its all running perfect, I don't like using firefox and want to go back to the warmth of chrome, anyone able to help on this one :-(8 -
Rant!
Why enforce a 90 character limit in code file (C++)
It does not make readability any better..
you either break up functions that barely exceed the limits
or
start making nonsense variable names just because they are short.20 -
!rant
Just read an article about a blind sofftware developer, who is proficient in way more technologies then me, for example.
He can use certain screen reader and code edor combo to read out the text, and also something called refreshable braille display.
This is so insiprational and only goes to show that there is no excuse whatsoever for a person NOT to learn software developing...1 -
!rant
when you find 3 spelling errors in the same line of code and realize that these are legit 'cause the objects and methods are actually coded misspelled.
That's when no one dare doing code review but simply it builds and its fine.
Luckily #NotMyCode -
Hi everyone, I’m new here and this is also my first rant.
I’m in the job hunting boat once again and I’ve been looking at Junior front-end positions. I thought I’d rant about something that always annoys me when looking through the requirements.
Wait, so in order to land a Junior front-end job, I have to be a freshly graduated person with a Master’s degree in CS, with a minimum of 3 years working experience and all that just to come code in HTML, CSS and JS?
For the love of god, I’m one person damn it. It’s not like I’m a self-taught developer that taught myself those things and more in a shorter period of time after quitting college.
On a more serious note, I’m not by any means claiming that I know everything, but having a CS Master’s degree for these types of positions is clearly ridiculous in my opinion.
Sometimes I wonder if the people writing these things are making it up as they go or whether they’re actually serious.8 -
context: I'm sort of a self-deprecating guy and I really don't look for validation.
So, i decided to fuck it. I tried to provide the best decisions in terms of money-wise/biz-wise but apparently this guys rather choose what he believes is best for the code... (he knows shit of coding and that's coming from someone who is not a software engineer but rather a physicist who happens to code).
So, now i let him make all decisions. no opinion from me. a few things are going to shit because of him... fuck it. i had it. as long as I get paid. fuck him.
this is probably common... sorry for the rant.7 -
Listening to hardstyle - gives me energy
School (I don't mean this in a positive way) - creates a lot of hate and anger which gives me plenty of energy to code and to change things (mostly privacy and also a bit of freedom related)
I just realized that I could create a whole rant about the issues I have with school2 -
Rant C++
Why do some people like to use ALL the language features. lets use "auto" en "std::tuple" and "std::tie" to hook everything together.. I cannot put something In a list because I now have to use std::move. SURE! If for every line of code I need to lookup what things were again or fixing compile errors it breaks my flow. "std::bind" this and Template that. half of the stuff you don't actually need.. it just complicates things..
Not all are bad. Only Unnecessary sometimes.7 -
Following my first rant, my boss had the brilliant idea of running the old and the new architecture in parallel. I had advised that it won’t be ideal since the same Scala code was ingesting into 2 different Kinesis streams and one was running an old KCL written in Java where as other was consumed by a Firehose delivery stream(eventually we will be ingesting it into Firehose directly). I had told few manual + automated tests on Code as well as from a functionality of the new architecture and a set of tests for checking the integration of the new Producer code with Consumer.
The statement I got from my boss was “This is the test, we test it on production in parallel”. My boss had a brilliant idea to fucking test the new code on the production directly but running them in parallel without accounting for undefined behaviour it might cause in the current production system. I mean my boss should get a Nobel peace prize for shattering our mental peace.
Anywho, we started the deployment today at 5AM in the morning. I had all the aws services deployed. Was just waiting to deploy the new Collector code which we did at 5AM. Immediately after 5 minutes the system went bonkers, there was fire, blood, demons and I was smoking a cigarette with the biggest “I told you so smile” on my face. I’ve just written an email to my boss and have told him calmly that “Listen motherfucker, 90 percent of the software companies aren’t idiots to focus on testing and quality. We need to start spending time on testing and quality else we’ll again be in the same soup after few weeks again”.waiting for his reply1 -
!rant
The best experience I had as a student was attending a few masters degree classes at a computational arts course, it was awesome being the only developer in the middle of a lot of art graduated students who were learning to code. Awesome exchange experience, final projects were art exhibitions with interactive art. We used Arduinos, Rpi, Openframeworks, Processing. I miss that and I still think that my dream job will look like that. -
I'm currently at a company where we have "performance reviews" every 2 weeks, and based on the outcome we get a percentage which then is used to calculate a performance bonus.
This is simply my manager (also a developer) who has his Excel spreadsheet, looking at tasks I did over the course of the past 2 weeks and almost nitpicking to find some fault. There is no code review or software demo to see what's been done either... I was there for the first 3 months and I don't think anyone had even open my code!
And when confronted, I get told that "You should also somehow be financially liable for the goings-on in the business", along with a 2 hour meeting to support that.
This is NOT how you motivate developers!
Apologies for the long rant...
</rant>7 -
Today, my fellows not a rant, but a glimp of blissfully sent client from heaven. Doesn't complain at all. He is not a fuckin jerk, he just trusts my judgment both in code and looks. No one will ask me to adjust some petty thing for some obscure mental fixations! Join me in this party!4
-
When you have to talk about code and your not sure of the person in front of you knows more.
First business rendez vous!
Ill rant after ;) -
!rant
Dude, you know nothing about the code that was written. Don't just Google the problem "how to xxx in Python" and send me the first stackoverflow link and tell me "here's the solution."5 -
!rant
Recently I started to be interested in how code actually work. I do a for-loop or an if-statement but how do they actually work at the lowest level.
Another thing I've been interested in is security. I thought about learning how to hack my own systems in order to learn how to write more secure code and keep people out. But I'm a little afraid that as soon as I start look at how to hack, the police will storm through the window and take my computer 😂😂8 -
<rant>
How the hell do these people have a senior position?
<rant-cause>
Sdev:"The are no vulnerabilities in my code because i have Avast running at the same time"
</rant-cause>
SecOps: "<insert potoo bird reaction>"
</rant> -
We rant while we hit obstacles in life/dev jobs..
Just one flu/food poisoning makes us realize we are so vulnerable at time.
We can't code our way out of that... -
!RANT
We all have that one colleague who asks for help with his code and when you try and talk about it, he acts like he's got everything figured out.
These guys are so frustrating,if you know it already why'd you call me in the middle of the night to fix an important bug.1 -
This rant is about myself and anyone whos like me: using logs over a debugger
So, sometimes when I wanna quick check something or make sure, if and when something get's executed or I've ran into a Problem, I add a few log/print statements to check in console.
But I don't think about proper and helpful messages, since they aren't supposed to stay in code. So I often type what comes in my mind, like memes or song lyrics.
The last time this became a huge act, was Code review/ Prototype demonstration with Clients (which I didn't knew about, otherwise I would have removed them, I swear) and Boss and my Code printed "show bob and va...", "send nudes" and stuff... in loop... to stdout2 -
!rant
I'm in big dilemma for a few days. About what to do to my HP stream. It was bought from overseas so it has licensed windows 10. It only has got 32GB for storage. And I only have like 1GB 2GB free space. I am using it for presentation, urgent quick code debug, watching movies and browsing internet.
So the dilemma is should I abandon the license windows 10 and install a lightweight Linux distro or not? 🤔36 -
!rant
I've always been wondering why do tech companies need everyone to have a strong grasp of algos and data structures?
I've been coding most of my life but didn't get a CS degree so ended up in IT but I kind of want to get into a tech company as my thinking is the quality of code much higher (I spend a lot of time cleaning up other people's code and prod issues over the years...), I've been learning Algo/DS but when I see those technical questions on CareerCup, I go WTF.... it's this the kind of problems you guys do every day?6 -
!rant
I have a question; when I get interrupted while coding (dinner, friends etc) I'm often "stuck" in my head while just thinking about the problem I were to solve in the code. Anyone else have this? Does it have a name and any tips to "let the code go" while not coding?5 -
So I'm on orders for the Marine Corps, and this one guy thinks he's a programmer because he made a "program" in excel for dispatching our equipment. He's complaining that he's just fixing bugs. I take a look at his VBA code and see literally 1000 lines of if statements bundled into one function. (Or I think they're referred to as sub routines in VBA - it's been a while since I worked with it).
I try to give him some tips and pointers since he's literally just manually checking. Each. F'ing. Cell and a million nested if statements. Tried giving tips on making reusable code, and he has the cojones to tell me he knows what he's doing and doesn't need my "help". Granted I'm higher ranking than him and he also answers in a disrespectful manner.
End rant. -
I wanted to rant like 10 times today but was on a tight schedule (yes its fucking sunday), so here is everything:
*********
Fuck you, i dont give a shit that you need to present data tomorrow, its weekend, you cant just fucking call me to get things done asap. Im working from the code of a dead guy do you know how fucking hard it is to ask a dead person whats their code do?
*********
I really wish devrant had some kinda longboard/skateboard in the profile pic
*********
Im still not a fucking designer i can make like does-not-make-you-barf tier designs, JUST TELL ME WHAT TO FUCKING CODE JESUS
*********
whys the new rick n morty episode not out yet wtf
*********
Yo i love linux but set the fucking privileges right you dipshit, i cant exrcute my damn code on your crappy ass 2008 xeon server fuck you3 -
*use windows, ms office, vsc, skype probably code in ts, ... *
*rant about microsoft buying github*
I'm not a microsoft fan either, but thats the sad truth.1 -
One responsibility of our team is general code QA for the entire dev department, DevMgr walks in our area yesterday…
DevMgr: “Has anyone reviewed the new WPF threaded model execution code?”
- everyone on the team responds “no”
DevMgr: “Can we get a review on that code ASAP? If it works as well as the developer said, it’s going to solve the lock up problems users are experiencing and automatic logging of errors.”
DevA: “Well, no amount of code is going to stop users from performing bad searches locking up the user-interface. That code is just a band-aid around the real problem. If the developers would write unit tests first …”
- rant about 5 minutes on unit testing that had nothing to do with why the DevMgr was here
DevB: “Yea, the code probably isn’t written to handle threads correctly. All the threading they’ve done so far is –bleep-”
DevMgr: “Oh, I wasn’t aware of that. Get me the results of the code review and if they don’t have unit tests, delete it from source control and let the developer know it’s not up to our standards.”
OMFG!! You have not even seen the code!
OK, DevA ..what the –bleep- does unit testing have anything to do with the user interface! You know the DevMgr is too dim to understand the separation of concerns. Shut your pompous ‘know-it-all’ mouth.
DevB…what the –bleep- have ever done in WPF? You manage the source control and haven’t written any C# in two years and never, ever written code for any significant project. Take that “handle threads correctly” and shove it up your –bleep-. Pompous –bleep-hole. Go back and watch youtube and read your twitter while the grown-ups get the work done.3 -
I'm studying Python at the moment and I'm looking for some easy projects to do in order to gain hands on experience. After having written the code of a dice simulator for Risk!, I'm now thinking of a Twitter bot as my next project. Has anybody done it? Would you reccomend doing it?
Since joining devRant I've felt much more motivated to progress in learning Python and if it felt really rewarding to play Risk! without rolling the dice, it also thanks to you all. Sorry for ths cheesy nuance and for this not being a rant.3 -
Rant/Love.
I am sitting in this Big data class next to a girl.(I don't really talk to her so much but things are about to change ) A guy is asking her to share her code base for some insights/ideas on homework and she advices
Don't look at the code base else you'll get same ideas I got and would never come with an original solution. Then she further goes on advising on solving map reduce problems and giving me some tips to be careful about.
I turned amazed. It was like deja vu. I said the same thing to my friend some time last week.
My eyes glittered and suddenly I am like
Where were you all these days ???
Nothing is more attracting then a girl talking about code.
Am I the only one ??6 -
In the darkest dankest parts of the code, I have discovered a way to get the tag UNDEFINED to show up in this rant. They call things that are unknown a black box. But you see, if you have a good enough shot gun, you can begin to blow enough holes through the box to figure out what's inside. I never said that whatever was inside the box was going to make it out... I just wanna get a good idea of what was inside.4
-
!rant
I don't want to seem like a huge noob and a douche... but I spent like 5 hours the other day working on a bash script prompting you if you want to delete each individual user on the system (keep in mind that I'm fairly new to bash) and when I got the code correct... holy shit... I felt like a fucking god.1 -
!!rant
Today I wanted to finish a feature in some Python code I. Working on instead I scope creeped myself a bunch times adding "other cool features" and refactoring working and readable code that didn't need refactoring. Oh and learning about random things on SO and finally giving up on making any more progress for the day and reading devrant.
ADHD Self:"Coding is love, coding is life. Plus I'm getting paid."
....
Responsible self: "Wait no, go home sleep, spend time with your wife"
Remembering self:" she's out with friends"
Responsible self: "ah, carry on, she's probably spending more money than you're making" -
<rant>
Teacher at university told us to install bluej in a Java class. Never in my life have I seen something so irritating as this crappy thing. Your code can have 0 errors and it still doesnt compile.
</rant> -
what the fuck I can't edit the rant after 5 minutes I am fucking posting a new rant which have that last rant ...Why they update the fucking x code in every fucking 15 days . Well some libraries are deprecated oh cool I can use my shit as an object. And why third party libraries don't provide some good documentation of their sdk's . What the fuck is that and I will personally kill auto layout by entering in the mac myself. What is the use of that fucking debugging tool if I know don't the crap of my code that in which class I have done something terribly wrong what the fuck . Oh cool I am having that clang error and I don't know how to wipe my ass. And please fucking don't tell me to use xib code in xcode for my project if there will be 600 screens I will still fucking use storyboard for that. I don't fuck with xib files do you hear me. And fucking stackoverflow ..what the fuck is wrong if I forget an single comma during posting a question ..what the fuck..and you know what the real feeling is when I post a issue on stackoverflow and I got nothing from them expect some minus points...and then the holy fucking coder inside me tells me to solve that fucking problem and I feel like having dope bitch. FUCCKKKK..4
-
Hi there, First “rant” here, although it’s more of a question.
I have been working on a side project for some time and it has come to the point where I feel it might be prudent to protect my work with a patent or something similar.
The project in question is a multiplayer browser based game. The code is currently open source, but that can always change.
Given this is software people use rather than a service that developers might build off of, is copyright more appropriate than creative commons?
Based in the US if you can't tell and I'm above the age of majority luckily.
Thanks for any advice!2 -
!Rant
Just had a very productive night with @hahaha1234 and @jappe. Revisited a lot of code, made it simpler, faster, storage efficient and future proof. Our smart search engine is getting somewhere now. Tomorow we will be continue building ofcourse, but first: time to sleep! It is 3:45AM and after that, go running on the beach in Zandvoort.1 -
So I had a discussion now with my mom about my work and it turned into a rant. But I came to this conclusion:
My most effective way to screen candidates for a backend/fullstack tech job would be to ask them what are the most influential programming books they have read and why.
If they don't mention any books (or points covered in these books) in this list, they immediately fail:
-the effective engineer
-clean coder
-code complete
-team geek
-the Phoenix project15 -
!rant
In my team, I am not allowed to use ANY comments except for the really lengthy classes in the backend.
Thus, the code of the whole project (a complex webapp, consisting of 20-something Django projects and various services) is basically undocumented.
The slogan sounds "good code doesn't need commenting".
Seriously, fuck this and all of the times I scratched my head wondering "what the fuck is this spaghetti about".
Have any of you encountered something like this? Usually people don't want to comment, I would do it gladly but can't even make a small inline about what complex method is exactly doing :P3 -
Bugs are good in code. It shows that you're Human. You make mistakes. And you're willing to correct them.
But when they're someone else's bugs in a piece of code they didn't give a flying fuck about documentation, bugs can tick one off. The bigger the project, the better the documentation needs to be. And I'm not taking about java docs. Put proper comments in your code. Especially when it's not a personal project and you fully intend to leave the company. -
I want to rant about my college.
I studied computer engineering, we spent 5 years studying circuits, diodes, CPUs etc ..
It's cool and all but like in my country we don't have a single computer's manufacturing company and all computer engineering students work in software development. But they didn't teach us a single usfel thing for work! We only studied Java and C++, nothing more and our professors claim that you guys can learn software development from the internet.
Our professors whom they don't even know how to debug a code not to mention how to full screen a power point presentation.
My point is college is trash.3 -
How is it called when I rant about something my colleagues experienced and I just supported his debug session? Third party rant? Anyway, here's the thing.
Other team built some project specific code right in the heart of their software, which in itself would be worth a rant. But as you might guess, it's getting rantier.
For a new project the same code is used, but needed some tweaks. Now guess what happened:
1) Someone took the code, refactored it, made project specific stuff configurable, everything works fine now
2) Someone changed the code completely for the new project, everything seems to work fine for 5 months, then the old project needed a new release 💣 -
!rant
Let's say that I might want to change job. I'm into finance, but I'd like to approach the game developing side (yeah I know, don't even start, it is how it is!)
Question is: I've got a bunch of projects to showcase my ability to code in different languages. Would setting a public git repo be helpful? Currently all of my repos a private, and not really thought for being read by others, but I can always polishing things up. Would that be an asset or doesn't it worth the while?
I mean, in my experience nobody ever asked me access to my git repo!3 -
So recently I saw a rant about a e2e encrypted social network and started to consider the idea, what do you guys / brother in code think about it2
-
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 -
!rant
Buy some colored pens. The more colors the better.
I did it out of curiosity. Ended up being a life saver when taking notes and planning work on paper. It probably cut my work in half. I spend more time writing stuff on paper and planning stuff, but when I do write 10 lines of code, they turn out to be pure gems fitting perfectly in the entire structure. I write them with tons of confidence, knowing that I had thought of everything and I didn't forget anything, because everything is right there, in color, on the diagrams that I drew.2 -
I'm back from the dead to rant again. This time it's punycode.
My job has to do with processing the commoncrawl web archives, and for some reason one in 20.000.000 archived webpages crashed my program. After some debugging I found this issue that seems to be the reason my code crashes https://github.com/servo/rust-url/...
To summarize the issue: Since punycode unicode characters can be encoded into domain names. But not every character is allowed. Not only do these invalid domains get registered, I need an in-depth knowledge about unicode to understand what is wrong here.
How did we turn domain names into something so complicated?3 -
It's always irked me that people can't RTFM simple things. But I've often just hacked my way through code, brute-forcing equations here and there until they work by trial and error. Nothing for an employer or anything, but nonetheless, I was not RTFMing. I was doing all the D and as little of the R as possible in R&D, just to save time. I'm trying to change that about myself. It's easier to implement systems when you properly understand them. No more hackery.
I suppose this rant was from me, about me. -
!rant
The code I've been writing the past weeks has finally been activated in production mode yesterday, thousands of items have been processed and I'm so proud as a junior developer to have this 100% self-written program working and, above all, to create value for my co-workers :D
The code is not as beautiful as it can be, but it's a truly one-off thing that can be deleted afterwards, so it doesn't matter :)2 -
/rant on
React Native is BS for Android. Outdated as hell Gradle builds (1.x for certain plugins I mean wtf) and it targets outdated SDK and build tools... Why no simply code for system your software is meant to work :P
/rant over
In seriousness, I get the concept of build once deploy on all platforms ala Electron but better but hell why is the tooling so outdated?1 -
Here comes my rant about versioning.
Why don't you use semver? Or something that makes fucking sense?
I've been banging my head against this lib that was required, wondering why the thing was crashing everywhere, for hours. Then I had to dig through its code, for a while too.
And then I finally discover that, from 1.3.9 to 1.4.0, half of the API changed and was backwards incompatible. Yay. Also, one would think that's a thing worth of mention in the docs, but why bother right?
Uggggh -
!rant
Interview on Monday. Buzzing! The company is pretty cool, they have a startup buzz but part of a wider umbrella of businesses so don't suffer from the financial uncertainty that destroyed my last company (that and my old boss was pretty clueless about everything except sales). They also give time for personal projects, allow remote working, bonuses if the company does well and provide its employees transparency to its finances.
In short, I'm not going to be a cog in a big corporate wheel. If I get this.
Well they liked the code I produced for their programming test, so good start.
Meta: categorised this as rant because it's tech related, but obviously it's not a rant, what's the protocol? Random?2 -
2 years huh. well...
1.Have a side business
2.Build an IoT project for home.
3.Refactor my code (Im not saying I'm a bad coder but, if some of you saw my code, you'd probably want to strangle me to death in my sleep, so....)
4. And finally, maybe post a rant/reply with no spelling mistakes so that I don't have to edit that shit every fricking time after I post something. -
I just saw this rant: https://devrant.io/rants/841846/ which gave me flashbacks of my first programming class using C#.
Our professor made us write for the whole semester our code using a pen and paper (for tests).
Her grading was "easy." She would write the code in the computer exactly as we wrote it. If it compiles, you got an A, if not, you got an F.
The average test would take at least 5 pages...
Overall it was an interesting class, and I have to admit that I learned a lot.5 -
!rant
I gotta say I really love the beauty of being able to merge math, code, and hardware all in a well tuned symphony to make something awesome. Building an LQR controller for a custom quadrotor flight controller and it is just so much fun! -
!rant
The new end to the idiotic code snippet head scratchers interviews (awkward for both parties but nobody is willing to admit it)?
Hometasks.
Infinite internet access, use whatever tools you want, do as much as you can in 2-3 hours.
The best non-toxic way to see how someone works as a dev.
This is the way I expect you to work, so this is the way I will interview you.
Sorry silicon valley, we don't need people who can write up a binary search algo from rote memory.3 -
Another terrible rant from the inhereted Hydra source code. So deep in the dark dungeon of that code I noticed something interesting. They declare this INT32 array with an incredibly long (like 200 values) list of hard coded magic numbers. Something along the lines of:
INT32 array[200] = {-1,0,1,21,4,7,19,33...};
However, the resulting output was incorrect. After spending a fort night and a good chunk of my remaining sanity I had overcone the 437 levels of indirection left by the previous programmers, and narrowed it down to this line. But it looked perfectly fine.
I pull up the diffs and notice someone had checked in a change to the source. I track it to this line and find what the original data had been.
INT32 array[200] = {-1,0,1,2l,4,7,19,33...};
In VS the default font shows l and 1 as fucking identical. Someone had accidentally made that change to 21 from the original 2l and checked it in. I mean I can't really blame them. Who the fucking hell inatantiates a fucking int32 array and peppers in a fucking 2l (long) for no fucking reason?! -
Update in earlier rant about work.
So I've basically made an flux store using Rxjs. Using symbol's as tagret data and an action. I asked my boss and another work colleague to do code review on the new system as I'm not sure their like it or understand what i was doing.
Passed fined.
2 weeks later i get a comment in some code that implement in basically asking whats all this and what is it doing.
-_- it's called really tidy shorthand code aha -
[Week 44 rant] Worst CS teacher experience:
In Uni (aka college), CS teacher would show introductory C code during the lecture, then proceed to run it... And compilation errors. And then spend the next 45 mins trying to fix it. Usually they would get it working in the last 5 mins of the one hour lecture.
This would go on every single lecture for the next 10-12 weeks.
Most of it was basic stuff like hello world through to sorting algorithms etc.
At the time it was pretty silly and 3/4 of the class stopped attending the lectures...
----------------
In hindsight maybe it was all intentional and training us for what real dev life would be like? -
!rant
Borrowed our designers desktop figurine / mannequin , i read somewhere that there is something called rubber duck debugging so i tried it but on a mannequin , honestly it works like a charm i have fixed a bug in the code thanks to talking to a inanimate object. -
Okay why in the world is Console.Readline() in C# such a bitch? So I was working on this small simple chat application using C# and I had a super-freaked-out-ugly-code-vending team mate who volunteered to build the server side code. After trudging through his elaborate and highly complicated plan of working for the server, I decided to make the client accordingly and for close to an hour I had no clue why the program was sending an empty password field. A few debug messages later I realised that a line of code was getting skipped. The compiler was happily ignoring the Console.ReadLine that asked for the password from the user. I swear I felt like one of those parents in the shopping mall with their really disobedient kids.
Btw, I still haven't figured out how to fix the bloody thing.
PS: First rant post woohooo!4 -
!rant
Coming from a pure sysadmin environment and profession, I feel a great sense of accomplishment when I've successfully managed to use a ruby library properly instead if shelling out to use it's cli interface, with optparse, proper rake task in the lib folders and proper exit code handling.
It's never too late to learn how to program in any language for your personal project.1 -
!rant
finally after months and months of just planning and doing boring stuff a piece of code that was really just fun to code and plan for some days:
i just wrote my first "real" parser for a simple DSL. so much fun! i just really can recommend that to everybody.
i've use a parser combinator. the concept of this parser combinator ist to combine simple parsers (like when it starts with a number or a "-" and continues with numbers then its an integer etc) into a big one. i've written it in c# and used "Sprache" first and after some time i switch to "Superpower". a really great lib, but lacks a bit of documentation. anyway, i've your're interested in these things and want learn how your "daily code" gets parsed i would recommend that to you! :)
greetings to all fellow devRanters and happy coding / parsing! :)1 -
!rant, but let me tell you this
I wanted to automate some tasks in work, because it started to be a pain in the ass, manually copying those assets took me between 30 - 50 min
let me see, I always wanted to check out python so I started to copy paste some code together, editing it and after a few hours all I know I have a tool which logs in to our work CMS download and unpacks a zip archive, creates a backup from the old files in the repository and moves the files I just downloaded in the repo, I put this in a loop for our twenty languages (websites) and its done
Im amazed, I never picked up a language this easy to use2 -
¡Rant
I am a simple man, i see code in comment
I ++ it.
Me= simple;
While (On.Devrant) {
Cin>>code;// Cin as seen (through eyes)
I++; // that i increment it { got the joke?}
}2 -
!rant
Hi everyone,
I'm a 19 year old student looking for some fun things to do when I'm bored so I want to learn as mush programming languages as I can. I was wondering if you guys had some fun assignments for me to do, it can be any language you like.
I'm going to make a page on my website where I will have all projects that I received on with finished code and credits to who send it. Please send the assignments to my email at marcel@haazen.xyz, and don't forget to to put your dev rant username. I will make a new !rant soon when I finished the design of the pages. I can't wait for all of the things all of you might send in.6 -
First Rant...
Why the fuck do I get on a C++ interview the question if I now Javascript......everytime.... NO I DON'T WANT TO KNOW JAVASCRIPT!!!
Real coders code in C/C++ and not hipster javascript. Am I alone???(probably)10 -
!rant
Wrong place to say this, but I'm asked to work on a React-Native mobile apps, is there a need to mix native code with React, or do I only focus on the part of ReactNative components in the docs?
I do know ReactJs so far what I'm reading is familiar but don't know about mobile apps.
I must give an answer tomorrow morning, and SO will only bring me down if I ask there :)8 -
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 -
Today a colleague copy pasted the question from stack overflow in his code, wondering for half an hour why it didn't work. It was quite amusing to be honest seeing him rant around knowing what he did
-
Just a simple rant.
Since when do programmers need to fuck around trying to get client server installs working... pissing around in IIS all day when all I want to do is write a bit of code.
Merde alors!3 -
!rant
I am shifting to India and curious about something.
Do people in Indian companies talk about clean code or ddd or tdd or pragmatic programmer or programming practices type of thing?
As I said just wants a heads up.11 -
!rant
Just finished a backlog item that got rid of redudant code in about 10 classes and almost done with a feature that the marketing people will like
Who knew fridays could be this productive 😎1 -
>= rant
While its really hard to get code wrong in Rust, it is also really hard to get code right in Rust. It took me a considerably long time to write a code which returns the first word in the sentence
I felt the borrow checker introduces a steep learning curve into Rust which is otherwise a beautiful language according to me. C++, my current favorite language, also suffers the same problem with respect to certain language features.3 -
Update to Doomsday !rant which can be found here: https://devrant.com/rants/1000628
Hey Everyone I'd like to let everyone know that I finally found the original file for my Doomsday Algorithm and thought it would be fun to show you the dirtiest code I've ever written (I was 12 when I wrote it).
here is the github link, https://github.com/LiamHolmesEPD/... , and I'll likely update it will more cleaner languages in the future.2 -
!rant
Today I planned to work on my Java school project. I have clean install of windows 10 and I opened Netbeans as usual. No source tab, just history. HOW THE FUCK I CANNOT EDIT THE FUCKING CODE IN FUCKING IDE, I asked. I think let's uninstall this crap and install again then this shit happened. (It's good to have a second computer in my dorm, it's called redundance I guess)6 -
Only half dev-related but AAAAARRRGGGGHH it sure as hell is a rant.
Doing a programming course, and I'm supposed to provide flowcharts of the code. I just spent over TWO FUCKING HOURS working on one in LibreOffice Writer, saving in between to make sure it didn't mess up. But of-FUCKING-course as soon as I do the final goddamn save for the chart, it just magically disappears. My hate for word editors burns with the intensity of all the fires of hell, and almost even rivals my hate for M$...2 -
I finally! managed, after several annoying phone calls and dozens of emails, to convince the client to switch from ZF1 to another framework after spending several hours setting up Zend_Locale, which, as already predicted, didn't work properly.
I've already written a rant about it.
Project size is approx. 200,000 lines of ZF1 code. ZF3 would be a possibility, but I don't know what the guys from Zend will do with it in the future. The community doesn't seem to be that big either.
What framework would you suggest for PHP at the moment?6 -
!rant
I see a lot of people complain about uni degrees and stuff because they don't learn how to code etc. Is this really the standard?
I mean I'm only in fourth semester bachelor and had coding knowledge before starting uni. But we had basic to intermediate java in the first two semester, now learning how to write secure code and OS-Level stuff in C++, we had a module with practical Assembly coding all while still learning all the theory.
At the end of the first semester we had to write a terminal game in Java. I mean of course that's not "real experience" but if you dive in you definitely learn the basics you need to get started in real life.
Or am I wrong completely / just in a weird uni?6 -
!rant
Just posted some swift code to a server, in a few hours I should have all the prime numbers from 1 to a billion!4 -
Rant two of monday!!
We are in a new office. Bigger than the previous one. Fine.
We are away from sales team (check previous rants about sales team and their hero #boringman)
Cool. We still hear him and them but it's better.
Boring man stops by tech team table to ask how many lines of code we have done today or in the last <period of time>.
We have solved nothing.
Boring man is veeeeery bored. -
1) receive functional requirements
2) create functional specification, post it on forum (no jira)
3) create memo document, post it on forum (no jira)
4) create analysis document with actual code changes without seeing the code (wait for step 8), post it on forum (no jira)
5) receive review on analysis document, fix it and post (no jira, redmine etc from now till the end of rant)
6) after analysis is approved make a checkout request
7) source code manager checkouts files from svn and posts them on forum along with the files list
8) you make actual changes to the code, post changed sources on forum
9) source code manager makes a review to check that amendment commet is present in source code and is properly tagged, and every line of code chnged is properly tagged (you are not allowed to delete anything, not even one space, you need to comment it (and put an appropriate tag))
10) after you passed review you fill in standard compilation request form
11) you code is compiled and elf is put on testing stand
12) you fill in "actual behaviour" and "expected behaviour" columns near description of changed function in template of unit test plan document (yeah we have unit testing) and post it on forum
13) if testing ok changed sources and compiled elfs along with its versions (cksum) commited to svn (not by you, there is a source code manager for that)
14) if someone developed function in same source file as you "commited" he is warned by source code manager and fills checkout request form again
15) ...2 -
Sometime ago I had to debug a override to a Joomla component made by the trainne.
So the component work just fine on development but not in production. I made the transition myself so I knew the code was the same.
This is my first rant, quite long, hope you like it.
So I thought something went wrong in the database, I searched and didn't find a thing.
Then I decided to check the code... hold yourself now
The component had to support internalization ..so instead of using the proper function to see what the current language is, he made a if with the URL hard coded..
Like http:://dummy.com/en/
:)2 -
!rant about Codecademy:
I decided to go a short, higher-level JavaScript course with Codecademy to help me nail down a few concepts and approaches to writing JavaScript code.
It turned out to be one of the best courses I've done. It didn't cover everything in detail. It is free so I wasn't expecting that.
Still, the topics it covered, it covered pretty well, and the hand-holding approach really helped give me a much better grasp of these concepts and models.
Well worth the time!6 -
!rant
I feel like I know typescript a lot better than JavaScript... Is that strange? 😂
I mean after studying languages like C#, I feel like JavaScript is so random, I feel like it has no structure and that I don't know how to code in JavaScript. However when I start using typescript I just feel like I can understand what I am doing on another level. I would like to learn JS more in depth, anyone that has any tips?1 -
!Rant
I absolutely hate click bait... But not type you're thinking of. The type of click bait of a stack overflow question and it's either totally not related or goes unanswered... Or even worse it's just a typo in their code.
But i have a solution! You won't believe what it is!
.....
.....
.....
.....
.....
.....
++ If you clicked read more 😂😂😂
(PS: I don't have a solution, I still hate it and struggle daily)1 -
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 -
!rant
When I discovered the usage of (statement) ? : after two years in programming school, I feel like an explorer landing on a new continent.
It looks so much more like the cool hacker code from television. I can use it as a parameter for function calls.. and everywhere else.
But it makes my code unreadable.
But it's new and fancy.
But unreadable..
What should I do?3 -
3 weeks back took a bug..
**long rant**
Looked into it and found that it is exist in older version(say V1) as well.
Sent mail to client stating i can fix this in current version (say V2). Since V1 is already released and our current code stream is V2 and so if we fix in V2 , the code will not reach V1 code base.
**explained to client**
Client : I mean if you fix why it won't work in older release.
Me: Explains how code streams will work.
Client : Okay.. but it will support the functionality in V1 , right ?
Me: (*internally* are fucking kidding me? It won't work dumb ass.) No. It won't work in older versions. I am fixing it in V2.
client: okay.. Let's proceed.
Me: Done code changes. Send code to review. (we have to send review to upper level manager).
Manager1 : I didn't liked this part. can you change this ?
Me : sure. Done.
Manager1 : Now i liked it. Sent review to Manager2.
Me: why the fuck ? Are you not sure about my changes are good?
Manager 2: I liked it, but need some log changes.
Me: Fuckkkk...... Let me change this.. Done. Now can I promote those changes?
Manager2: No we need to send review to client manager as well.
Me: Goddammit.. Okay.. sent review.
*After a fucking week..*
Client Manager : Looks good. Push the code.
Me: Finally..
(This process took 18 days which would have been completed in 3 days if there is only one peer review)
Now the other guy from client whose tracking the bugs reported why it took so long to fix it.
I think my client manager is over paid and can't even know how his company code stream works. Fuck you . why client has these lazy ass old fucking "I don't look into my email" type people. God I hate these "I am in rich country" people.2 -
!rant
Had my first Open Source Contribution in Code. Start of something new 😁😁
https://phabricator.freedesktop.org/... -
For the stress ball is that +100 on a single rant or overall? @dfox
& just for kicks I'll put the question in code form... well, kinda.
if( rantLikes >= 100 || overAllLikes >= 100)
{
Stressball.send( );
}2 -
(!Rant)
Quasi real-time natural language translation. You guys think it will be a thing in our lifetime? I'm a novice programmer but i really want to contribute in this field. Aside of a deeper knowledge of linguistics, what would be beneficial code-wise if one would learn these things?
On this note; fuck learning Chinese - I'm a lazy nerd 😎2 -
!(rant)
I'm a student and I'm currently working on a project.
How do I get it to execute blocks of code depending on the type of value it receives in a variable?
or maybe
Should I just use some other method or workaround to do it?
I'm not sure if I should post my question on SO.
(I think it's a dumb question)
--
If it gets (request.getParameter) a string { execute code }
else if {
//gets an int
execute code
}4 -
!rant
Using Java is there a framework for building functional tests?
For unit testing we use JUnit but when I'm writing my code, often I need to debug against an actual db, for example, to be able check it actually will work and return the results I expected (and mocked in the unit test).1 -
Hello folks.
This is my first rant ever here, although it may not be a 'standard' one. Am I the only poor soul who finds Java Enterprise annotations (the fucking @DoSomething) the zenit of antiesthetic and unreadable code?
I fear I may be alone in this battle.2 -
!rant
I am starting to study next month and I will have to code in C, but I currently only know Java, C# and some python. Do you need anything coded on C or an open source project to contribute to so I have motivation to actually do something?1 -
As this weeks rant is about how to improve CS education I want to share one new university in Berlin called CODE that does many things quite differently:
From the beginning students are working together in small interdisciplinary teams on projects. Meaning software developers, interaction designers and product managers are all already working together. The projects are developed in collaboration with companies and usually last a couple of weeks to multiple months. The students are supposed to learn more if they are faced with an actually problem instead of learning with frontal teaching (“Frontalunterricht”) in a lecture hall.
The founder himself started programming in his teens but studied business administration because he found that the CS courses had an outdated didactic.
PS: And if you are in Germany and between 15 and 21 years old have a look at the “Code+Design Camps”. They are basically longer Hackathons (4 days) with professional mentoring from programmers, designers, … from the industry. I attended four in total (all over Germany) and they were a lot of fun!!!
What do you all think about this?
Website: https://code.berlin/en/
English Article: https://global.handelsblatt.com/com...
Some Articles in German:
http://faz.net/aktuell/finanzen/...
http://sueddeutsche.de/wirtschaft/...2 -
Since when was having 3 spinner styles and 2 pop ups styles a good idea in a SaaS? This baby needs a proper spruce up. I must admit it's not really a rant, I enjoy it, decrapifying the code and general refactoring. This is from a hackathon a good couple of years ago. Finally giving it some TLC. Feels amazing.
-
Some magic happened about situation talked in earlier rant at below link.
https://devrant.com/rants/2910513/...
Now magically even before I inform about this situation directly to the client, now after 8 years they used some proprietary static code analyzer on latest app source & found out around 200+ security issues which covers most pain points I told in the above rant.
I also found out that there is a list of 100+ vulnerabilities documented in client doc repo, which were pending since around 5-6 years.
Now I have to work along my junior to fix these both kind of issues.
Suddenly dull maintenance project became much challenging & interesting. :-) -
So if you haven't read my last rant (https://devrant.com/rants/1980559/...), for the past 2 days I have been working on a Trigonometry Solver because I am in 9th grade and we are currently learning this in my Math class. I have a GitHub open to display my project so I highly suggest you go and check it out (the link is in my previous rant). If you read the GitHub's most recent upload, the description pretty much gives an update of what I did (sorta) and what I hope to do in the future for the program. If you are still reading this (props to you) then here is the GitHub repository link: https://github.com/DylanPerez1/...
I hope the code is understandable and if any professional or well-learned Java developers can, it would be awesome if you could critique my work so I know what I need to work on! -
!rant
I approach programming with a lot of resentment since I am aware that all of us can have MAJOR fucking shifts in the way we do shit from one year to the other.
Let them find out about a different kind of architecture which uses fart propulsion as a form of interpreting machine code and everything becomes absolete.
And then we are only left with FartScript(Oracle TM)
There would still be node though(he he) -
!!rant
Why the fuck would you bother creating a style guide if you don't adhere to it even a bit in creating mockups?!
Sure as hell I can code what you want, but you gotta stick to the agreed guidelines, dude! We can't keep adding *slightly different* elements, it'll lose its purpose! -
My first rant. Which isn't really a rant but it is kind of...
Took a new job supposedly as a software developer. Ends up being CTO position. Now responsible for understanding the code of 6 people in a different country so as to move code dev to the country we're in...(not retaining the 6 after 2.0 release) Been 3 months.. Too much data. Cannot compute. Had to learn too many new things and the fuckers switched the front-end midway from Vue to React. First weeks essentially wasted. Now at the end and I'm supposed to know everything.
Also, I hate Symfony with a passion now. Loved it when it was hidden under Laravel. -
Seen a great rant, where someone wrote a code for the song Santa clause is comig to town, the cores that goes: He's making a list, checking it twice, gonna find out who's naughty and nice...
Can someone share it in comments? Tnx :)1 -
I saw another rant about formatting. Now I want to complain too.
I fucking hate black formatting. Go screw yourself, it all hyped up and fucked up my code. Don't worry, everything still works, except my eyes. They got blinded everytime I see a black formatting commit. Screw you... Fire in the hole!!!!!!10 -
!rant
I'm not sure if it's good or bad, but lately I've lost that "love" for code, not coding itself, but the code in projects.
Because most of the time the projects are inherited, there is never enough time, It's always a priority. And let's be honest, most of the time programmers don't like others code. (Is it God Complex?).
What I do notice with this "new" philosophy it is that I do not stress when I do not like some development, I ask the "bosses" if there is time to change it or if we continue with how it is. I learn that it should be done better and I continue my life5 -
I was thinking about Sublime Text and VS Code just today. Now I'm not much aware of history of editors but the moment I've installed vs code I thought "Microsoft has ripped all its ideas in vs code from the sublime guy, a sole developer of a free app" and I was pissed. But today I had a second thought, "maybe sublime guy had his ideas from another editor too" which I really doubt it. I need to know other people opinions on this, so hence the rant.11
-
!rant
I just found out that if you have a list of lists in C#, you can use a LINQ statement and specify indices inside the lambda instead of nested ForEaches.
This code is giving me the vapors7 -
!rant I own 3 invites to join Enki. Use the below code to register.
IVANN246
This app provides daily workouts based on your skills and knowledgment. These workouts are splendid, seriously, and they don't take more than 10 minutes.
And no, I'm not related to them in any way.1 -
# Gave me a job and more stress and literally nightmares;
# Physically resisting myself to give solutions to everything people moan about. Even myself. But we know things flap in production;
# Cursing my life, other people's code, customer's IQ more often;
# Getting more LinkedIn, messages, profile views and requests than my social media (which I really don't give a shit about);
# Using a combination of programming punctuations in usual writing (this rant for example);
# My sleep is down the toilet;
# Never complaining any coffee as long as it works; -
Rant 1
---
Thank fuck im working from home. Out of nowhere i had the biggest urge to take the shitter and shit the meanest shit that i could possibly bullshit. As soon as i sat on my shitter and opened the asshole wide a Waterfall of shit started flowing out ⛲️🌊💩💩💩 if i was in the office i wouldnt be able to hold this in. Their shitter would be my shitter all covered in bullshit
Rant 2
---
How then fuck do i install openjdk on RHEL8 machine? As root i tried yum but doesnt work. I tried using wget from Nexus repo to download openjdk zip and now what. I gotta configure the shit to be adapted to the migration from RHEL7. Also does RHEL8 even support java 8? Or can this shit handle only java 17? Cause this would be a beyond of a clusterfuck since the legacy code project is built to support only java 1.8.0, and for special cases java 11! How the fuck do i handle java 17. I fucking hate legacy code!5 -
!rant
What font size do you normally use for programming?
I've been using 12-14px for years, but I switched to 16px for the last couple of hours. Feels weird but I kinda like it.
Sure, you do lose some real estate but it feels like it's way easier for the eyes. Less physical strain == less mental strain, which in turn makes for higher quality code.
Also, selecting stuff is more satisfying, but that's probably just me since I'm weird ( ͡° ͜ʖ ͡°)
Any thoughts?4 -
If havent post a rant in a while since i started a new job a month ago. It is a pretty chill company. Not sure if that’s because i’m working remote and almost don’t have communications or…
I have to work on this project. Appearently from 2018. It’s all php and Wordpress here. I don’t have major deal against it but this project..
I have flushed down prettier things then this piece of shit code. My god. And this is live. The horror! -
Imagine the nooblet hell it would create if Python would throw actual errors all over the place if pep8 has been violated...
If only...
sidenote: I post this rant because I had to help my girlfriend and her project partner (for her study) because partner refuses to write readable code (no comments in the code at all as well) and both refuse to write in compliance with pep8 "because it's useless"5 -
!rant
Software development has acquired some interesting jargon over the years, but I keep wondering if other languages and cultures have commonplace expressions for what can be translated as "improvisation-oriented programming" or "hammering code" (i. e. hacking something in a brutish way) -
!rant
My "The rule of St. Benedict, as your Code of Conduct" repository has more stars than the repository of my Emacs configuration in Github, haha. https://github.com/saint-benedict/...1 -
<rant> Why is Apiary's editor so weak? It has no support for navigating from request to its code, it hides inheritance (so in the end you end up navigating source code via ctrl+f which is very cumbersome) and is buggy as hell. It randomly scrolls around, after awhile is laggy, syntax highlighting often breaks on a blank line with few spaces and so on... I wish so hard it would have had a plugin for IntelliJ IDEA with proper navigation and request preview. The web "editor" is just so clunky and generally bad :(.</rant>
-
!rant
Finally set my first big ticket to "QA" and I hope it get's through. I put in a lot of work and it feels nice to have accomplished something.
But now I'm sitting here, waiting for another ticket to float in so I can do something. I've been sitting here all day and I'm writing reusable code snippets for VS Code so I can use them in the future.
Does this happen often in the life of a developer that you have to wait a few days until you get to do something meaningful again?3 -
!rant
If anyone used (or still uses) REBOL 2, I found a lovely open source version that is actively maintained called red. Go check it out, I love the REBOL 2 like syntax. Apparently it's 90% compatible with REBOL 2 code so I'd consider porting when it's further on in its life.
That's my contribution for the month. -
!rant
There is an applicant for a dev position coming in today for an interview and a short coding exam. I'm looking forward to walking by the meeting room while they are doing the exam and seeing the anxiety on their face while I give a completely useless thumbs up.
Hmm...code compiled. I've earned a coffee break. -
wasting 4 hours trying to send a post request and fetching back the json reply, and having to fall back on fsocket when c url is not available is no fuck, the fuck with C api code in what's supposed to be web directed high level language that has no fucking native interface for REST actions
!rant -
Why is debugging like finding a needle in a haystack, except the needle is on fire, the haystack is on fire, and everything's in JavaScript? If debugging is removing bugs, then programming must be putting them in!
And Git blame? More like Git shame! Every "fix stuff" commit is a reminder that past-me was a jerk.
End rant. Back to code. May the coffee be strong and the bugs be weak. 🐛☕💻6 -
!rant
I'm so happy. A month ago I started my apprenticeship, today I published the first version of my application for my company in the Google Play Store.
It was a hard time, but it was very interessting and I never thought that I can code an app in this short time (I also had 2 weeks school in this 4-5 weeks).1 -
!rant
Let's say that you have (or had) a colleague that you utterly despise for whatever reason. Have you ever wrote convoluted or straight up spaghetti code on purpose just to make his/her life harder?
(I am aware that authoring bad code can bite you in the ass down the line, just curious to see if anyone ever went that far) -
rant. Tried to fix a weird bug in gamemaker, with some unfamiliar technic, resulting in another bug. Then one hour later, still no solution to that bug until I look around in the code seeing that I already used the exact solution that fixes the first bug.
In gamemaker there are scripts. I tried to forcefead the fucking script with a variable when calling it. Inside the script, there where already variables working fine with the extension or what-to-call-it:
other.(insert variable).
And that pisses me off. -
!rant
Are there any worthwhile jobs were you (remotely) can code part time on the weekend. Want to make some money on top of my daily job.
Maybe it would also be possible to contribute in the afternoon (since my timezone is utc+2).
Languages of choices would be Java (preferly spring boot stuff) >> Python / JS. Any idea if that is possible?4 -
!really a rant
Any vim devs here that code in dotnet?
I use nvim and have tried and tried again to set up proper intellisense and debugging with omnisharp but it just doesn't want to work properly.
Anyone having suggestions / alternatives? -
I really want to switch my career from being a Full-Stack python/javascript developer to be a Data Engineer.
I've already worked with relational and non-relational databases, troubleshooted a couple of Airflow DAGs, deployed production-ready python code but now I feel kinda lost, every course I start on the Data engineering topic feels really useless since I feel like I've already worked with that technology/library, but I'm still afraid of start taking interviews.
Any good book/course or resource that I should look in?
BTW first rant in a couple of years, this brings me memories1 -
Honestly my biggest rant in the past month hasn't been about code, It's about Windows 10 changing my desktop password to my Microsoft Account. I have certain security pet peeves and it just screams "telemetry"...
-
First thing I see when I log online is Masturbate between work. heh. Oh that and a hate rant/lure to get some guy to come online and feel like crap or respond with a ghost account.
Seems most of the amusing accounts got caught off way back.
Now we're stuck with wonderful beautiful sweet people like @Hagarth trying to be some technoviking of code and @floydimus talking about getting humped in the butt.56 -
!rant
F1 fans
I was wondering if in f1 games they hav code that prevents the hulk from gettin on the podium.
I jus think if thats an actuall thing it would be hilarious1 -
So this is my first rant but here goes
So I'm studying I.T. in college right, I swear the longer I do this the summer I feel...like the more they teach u the less self worth I have all I do is regurgitate code...sigh not everyone can be like cardi b...but strip club here I come -
Kind of continuation of this my other rant https://devrant.com/rants/2345105/...
I have now reached the point where I want to tear off my exes with my own hands, turn off my brain and "unsee" what's in this garbage bag of code.
I swear to the programmer's gods (assuming something like this do exist apart from the D&D Story in my brain) if I do see another GLOBAL variable I'm gonna kill somebody!
It will take me good part of 2020 to sanitize this shit! -
new Confession(new Rant()).admit("My kludge bit me in the ass. But If I make a series of classes that encapsulate (hide) the awful hacks, one day I can replace the hacks with nice code. This is why I say I love refactoring. But right now, procrastination looks ugly.").asRant()1
-
Not a rant, but what tools do you use for development?
As-in, what apps/services you've bought / installed for free?
For example, I use Visual Studio Code, iTerm2, Docker, DigitalOcean, CodePen etc.9 -
!rant
I'm a starting programmer. So when my supervisor asks me to write a report and test against 50 coordinates written in little endian hex form in excel, I got lazy and wrote a code that gives me all the coordinates in decimal to be input into my excel program.
Anyone know an easier method tho? -
!rant
found this android app dcoder where you can write code and it compiles/interept it on their server
and you can do some in/out challenges
feels like passing tests, the whole thing feels like work, but easier
and you can pick any language of the list to do the task, fuck cheap clients and their php 4 shared fucks -
In response to my previous rant:
You guys thought I'd have to redo my time estimate to my boss. I'm chill fam.
I just finished the code in about an hour of editing and testing.
Pic related, my face until the next time this thing breaks. -
Why devrant should have an inbuilt code editor
1. it can be easier to read than just reading code someone wrote in their rant
2. it would be way easier and indented plus added syntax highlighting should be good
please add a code editor to dev rant it would erase having the need to decipher everything in a chat xD15 -
!rant
I'm just a beginner with CSS, nodejs, sass and whatsoever. Also I really enjoy writing my docs with Markdown, so I decided to make an effort and create a project that aims to create an easy-to-use and easy-to-apply Markdown themes, that can be customized.
I know that this may be horrible code, but If someone can point me in a good direction, I'd be glad to learn and apply it.
https://github.com/apexJCL/...1 -
!rant Learned from an online course that you can use Chrome Snippets (JS) to run your own code as an entire file rather than writing it all in console (which only supports line by line unless you do shift + enter).
I had seen this before but I wasn't fully aware of it.1 -
!rant
I have worked with VueJS for some time, and i like the fact that i can split html, js & scss.
Now i am going to work on a project with React, and i can’t find a propper answer on what is the best way to split the code there.
Does anyone have experience in this?3 -
I just want to rant about my teacher who did not teach us on software engineering principles especially on version control and how we handle our code.
[This is Tl;dr section so I won't take your time to read] I just want your advice or opinions on students required to learn version control.
Now that there are many freshmen in our school, I want to teach them the very basics on version control. Our flaws as a group, when we are in developing our project is, there's only 1 person who handles all of the code and that's not very effective, the others were busy on the documentation and project management but not the code that the person wrote. I can relate to that person but I'm actually doing other task and review it. My group mates didn't review my code because it was written in Ecma Script(I refer to them as javascript). I put comments on every functions, conditions, and variables so that they could understand, but they don't.
So If you have any ideas please reply. I will read them and evaluate. -
!rant
Oh god how I've missed this community
rant:
I hate people always asking me how to solve their f***ing bugs when they don't re-check their code and only have a missing argument in functions !