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 - "no class"
-
Holy fucking shit. I just went to my first Java class at uni (3 1/2 hour long one at that) and I havent felt so damn irritated in a while.
Some background:
So first, I only had about an hour of sleep last night and a full day of work before this class so I was more cranky than normal.
Theres only 7 students in the class, 6 others plus me. I am the only one with any resemblence of programming experience. The teacher also claims to be a linux developer.
This is a three part course series. Java 1, 2, and 3. All taught by the same teacher.
The fuckery:
-teacher spends 48 minutes talking about text editors. Not even IDEs. Just talking in depth as fuck about notepad (notepad. Not notepad++ )and atom and textpad. Those three only though, nothing on vim or emacs or ACTUAL IDEs. 48 minutes.
- I briefly mentioned learning node.js on the side and am now the "javascript girl" to my teacher. I'm probably less experienced with js than any other thing i ever practised or studied.
-professor saw linux on laptop and asked what distro. When I said arch he said "oh no you shouldnt be using that Its not really for beginners" ... Uhh what makes you think I'm a beginner to linux? Or does he not think I should be using arch while learning java? Either way its really ridiculous and irritates me that he would discourage anyone from using any software/OS/anything, regardless of what it is or skill level.
-teacher moved a bunch of content out of the course because theyre either "concepts that are never implemented anymore" or "arent critical to know to master the language". These particular topics that were removed? Multi-dimensional arrays, scopes, and exception handling. EXCEPTION HANDLING.
-he writes a hello world program and displays it on the board, proof of it working and everything. He tells the class to write the same program, compile and run it. Never did I guess we would spend the remaining hour and ten minutes of class struggling with fucking hello world programs. Especially when the correct code is on the fucking projector.
And I get it guys, everyone starts somewhere. People have to learn from square one. But these kids have no fucking interest in this. One of them literally admitted to pursuing this degree for the "lavish life" that comes with the salary. Others just picked programming because they didnt know what else to choose to get into the school. It fucking saddens me. I hope that one or some of them end up caring and finding a passion in this field, otherwise I feel fucking sorry for them having to spaghetti code their way through life to get a paycheck cause they couldnt be bothered to put in the effort. I feel even more sorry for any devs they work with in the future too.
The other annoying bit is that I can't test out of this class!! so it looks like for either 7 hours a week ill be bored out of my fucking mind with these beginner concepts or ill be helping others fix really stupid shit in their code (like putting quotes around hello world so it would actually print the string).
Fucking hell. Waste of a semester class.44 -
Being paid to rewrite someone else's bad code is no joke.
I'll give the dev this, the use of gen 1,2,3 Pokemon for variable names and class names in beyond fantastic in terms of memory and childhood nostalgia. It would be even more fantastic if he spelt the names correctly, or used it to make a Pokemon game and NOT A FUCKING ACCOUNTANCY PROGRAM.
There's no correspondence in name according to type, or even number. Dev has just gone batshit, left zero comments, and now somehow Ryhorn is shitting out error codes because of errors existing in Charmeleon's asshole.
The things I do for money...24 -
Me: "Hey, I see you've started your class name with a lowercase letter, It's common practice to start it with a capital letter"
Co-worker that started two weeks ago with almost no experience in c++: "Oh, right. You women and your rules, you must know it then"
Me: *Awkward laugh* *Thinking as long as he changes it i'll let that one slip* *Sends him coding standard guide just in case he doesn't believe me*
-- Two days later --
He still didn't fucking change it. It pains my eyes to look at it each time he asks me for help. Oh and stop calling me "miss", I have a name.46 -
Three years into studying software engineering and three quarters of my class have no idea what git is.
But by gosh, can we code the shit out of a tic tac toe game.18 -
Today,
First day of new dev class...
Teacher, "As you know Tablets, Smartphones, Smartwatches etc... Are not allowed in class, except Laptops."
Me,
"Is a Surface allowed?"
Teacher,
"Is it a Laptop?"
Me,
"Yes, but also a Tablet.."
Teacher,
*Furious*
"NO TABLETS"
Me,
"Bu.."
Teacher
*Still furious*
"YOU ARE HERE TO LEARN HOW TO BE A GOOD RELIABLE DEV, SO LISTEN"
Me,
*Proceeds to Lift up surface from Keyboard*
Teacher,
*Rips surface out of hand and goes to secretary*
"You can have it after school"
Me,
*Sitting there speechless with nothing to develop with*
10 Minutes later
*rector comes in and gives me surface back*
Me,
Thank you
*Proceeds to use surface*
...
The Teacher hates me...22 -
Me and my team in middle of our first hackathon-
a girl who is our class topper is my team mate, trying to write some Android Code.
I am writing nodejs Api, she calls me saying there's a bug in my code,so for saving time I decided to fix that small thing on her laptop,so when I went to the backend folder to open the js file,I see no default text editor set for it. After searching,I found out she had no atom,sublime,vs etc.
I asked her - "Do you even have notepad++ ?".
She - "I have notepad,but not ++".
That day I had to edit my code in Wordpad. I am still shaking.12 -
Another story on the spirit of wk93. TL;DR I DOS'd the whole campus network for some beers.
In highschool teachers had this blackboard system (a sort of moodle) and we used to have really lazy teachers who only read the PowerPoint presentations and made us take notes. One day I was fed up with their bullshit and figured these lazy ass professors wouldn't "teach" crap as soon as there was no internet connection...so the race was on...
10 minutes before the bell rang a friend and I managed to break in into a computer lab, I booted up Kali and searched for the access points, 3 routers through the building all with CISCO OS.
I figured they had all the default configs, time was running out so I decided to Smurf the three access points with the lab's IP range, scheduled an automatic shutdown in 2 hours and blocked the PC. The bell rang and as predicted, no internet, no class, my friends and I used that free time to go to a bar (on a Monday afternoon).
Funny side note, since the 3 routers were down the whole network collapsed, no cameras, no access control, no faculty network or any network. We kept doing it and every time we did campus security would be desperately searching for someone with a black hoodie.6 -
Love how a teacher of mine described IO wait for CPUs on a blackboard.
"That's calculation time." *draws three small lines on the blackboard* And this is IO wait. *draws a really long line, goes out of the class, out of the school, comes back* "Yes, this is IO wait. No matter how good and fast your CPU in your gaming PC is, if your hard drive is shit, everything is shit."5 -
Me being a good collegue teaching my friend basic C++ for upcoming exam and trying my best not tore my friend apart.
Crime scene: university's library, today, 1PM.
Me: Create a new class, just type 'class' and hit TAB
Him: I'm trying to but it pastes some code
Me: That's the point of hitting TAB.. now that we are finished, include it in your main file, the one with main entry point
Him: I have no such thing
Me: Look for main function
Him: There's none, what is it called?
Me: ...main
Him: Yeah, what is it called?
Me: ..main, the name is main
Him: I get it, but what is it called?
Me: 'MAIN' FOR GODS SAKE, THE NAME IS 'MAIN' *points towards my code*..
Him: Oh, okay, I get it now
Me: Ok, let's compile
*Error pops on his screen*
Him: You know what, I don't think you can really program.. *closes laptop and walks away*.
FML16 -
Teacher : Explain two parallel lines.
Me : Lines that never intersect
Teacher : Good. Can u explain it with an example.
Me : Me and my crush.
*Whole class laughing, still don't have a clue what I said wrong. That's as real as it fucking gets.*
Fucking education system. No real world examples.3 -
Teacher: Homework for next time is to make 2 web pages with three javascript.
* whole class is quiet *
Me: What's "three JavaScript"
T: undefined
M: Do you mean three files?
T: No, I mean three JavaScript.
M: Okay, so let's go with five CSS and twelve HTML as well then...
Please, go somewhere else when you can't explain your OWN HOMEWORK ASSIGNMENT. Holy fuck.16 -
Object oriented thinking.
A boy tries to look at girl in a class.
Girl : It's bad manners.
Boy : No it's not. "MEMBERS OF THE SAME CLASS CAN ACCESS PRIVATE DATA".9 -
So, today I was at my college library, working on an Haskell project that I have for my Functional Programming class. Library's packed and no seats are available, when the lady that works there passes behind me and says:
"There's people that want to study, if you're gonna be playing on your laptop please leave."
What? Excuse me? Are we in the 21st century or what?
How does a lady that works at a library, on an Engineering College, for more than 10 years, doesn't...
Screw it, I just laughed so hard and proceeded working.
Oh and by the way, first time posting on here!12 -
Our teacher wanted to show us a video in class so she opened Internet explorer (windows 7) used bing to search for the video and clicked on the link.
The video didn't work and instead there was an error message saying 'Your browser is too old, please use a more modern browser, for example mozilla firefox'
She looked at the error message for around 30 seconds like it had just told her that it is gonna explode in a minute. After some time one of my friends asked if she needed help. Here is what happened:
F: do you need any help?
T: No (very serious voice)
Teacher shuts down computer, stands up, looks at our class angrily and says in a very serious voice:
T: you broke the computer although you aren't allowed to touch it!
Me: mother of god...5 -
So, rage time.
A few months ago I inherited a big Wordpress website, with around 750 pages.
The client has reported the main menu is broken.
Upon looking at the code it appears the previous "Wordpress Developer" (ahem ...) attempted to rewrite navigation system - no idea why.
As part of the 4000 class below is a screenshot of part of the file where he's determining if the current menu item is active, within a loop. Whilst the whole if statement spans 409 lines - the code basically continues exactly the same downwards.
Shameful :/22 -
🤣🤣🤣
Somehow, my boss got his son, 19, working in a team of developers last week.
Son: i got ton of money and i dont need to do this. i inherit lot of properties from my dad.(trying to sound funny, superior, and boasting of his inheritance knowledge he might have learned in school during java class probably.)
A guy in the team: No you dont. You are like us.😎😎😎
Son: minds his own business now.
Damn that line made my day.
🤗👏👏👏👏
++ for this dude for insulting morons like this at work.
I may have to remove it on boss request if he see it. But for now hit as many ++ to show that idiot no body likes people like him.rant boss eat your money knowledge is power respect your senior morons at work worship the job i love my work workplace8 -
Look... I know I'm just a newbie. I started a year ago as a junior. Sure. No one wants to do code review, so I got chosen to do it. People don't like it when their code gets criticised. And you know what? I get it, I should probably be a bit nicer with my comments. I should not suggest I'll make a fork and split internal library into two streams if things continue this way. I should not ask questions that can be understood as me being passive-aggressive.
But holy fucking shit, you're a senior developer. Don't treat Java as a fucking scripting language. Don't have a method that has 600 lines of code, because you're repeating the code! You've already copy pasted this shit, and modified it slightly. Like, couldn't you have created some architecture around the code? How can a senior dev copy-paste code?
Oh and why the fuck did you create a new utility class for functionality I already provide? Look, I admit, yours is a lot better, ok? It has extra functionality. But why the fuck didn't you enhance my utility class? Why did you create a new one? Did you just not want to touch my code, or did you not see it right below your newly created class?
Am I the only one who fucking cares about maintainable code in this company? When I got hired, I was in tears by how frustrating a lot of the things were. No documentation anywhere, not even fucking comments. No processes in place. Want to do something? Source code is your documentation. Fuck you! I busted my ass of to force everyone to document every little bullshit, to re-factor their MRs that I reviewed, and I won't let even a senior fucking dev pollute the code base!
Fuuuuuck... Me...2 -
Flashback to when I was in 7th grade
Art teacher: Taco, your focal point is wrong
Me: *looks* ....no it's not
Art teacher: *looks* ...oh, you're right
Fast forward to c++ class
Prof: Taco your calculation is incorrect
Me: *looks* ....no it's not
Prof: *looks* ...oh, you're right8 -
So I was taking a Linux class in college. I knew Linux pretty good at this point but it was a required course for my degree. I found some other people who were programmers in other languages like python and C and we just fucked around the whole semester. End of semester is coming up and the teacher poses a problem: write a bash script to do this complex thing that bash isn't the best language. But it's a Linux class. Everyone is typing away while the four of us are stunned, having no clue. So we did the only reasonable thing: write a bash script which echos a full python script to achieve it into a file, run that python script, then delete it. We submitted first and got extra credit. She threw it up on the projector as an "extrodinary example" of a good script, having not looked at it. She complimented us profusely, never turning around or reading it.12
-
teacher (me): for the next session, we will need vagrant, please use the command 'vagrant box add…' before coming to class.
student, one week later: I tried your command, but an error came 'vagrant command not found'
me: did you install vagrant?
student: no... why?
*sigh*5 -
How did I learn programming?
When I joined college I was literally the dumbest in the class... I didn't even know what is a char and what is a String.. Our lecturer made fun of and humiliated me in front of the whole class....also my parents barely afforded my college tutotion fed...
So one night I sat with myself and reevaluated myself and decided that no matter how hard it is gonna be, I must become an excellent programmer....spent restless nights and days learning the core of programming in c++ then switched to Java *best day in my life* and also learned Android development.. And later JavaScript "mostly worked with jQuery and AngularJs*
In my final year project I built an Android web browser that even the lecturer that made fun of me was impressed by..and my app was rated the best project of that batch.
Now I'm working as a Java web dev and made a promise to myself that I'd learn something new every day.8 -
Medium Article Title: How to Optimize Your Use of the Terminal
Dev: Oh goody.
Article Content: The terminal is a cli that devs use in order to work at their jobs. It is a very important tool in which… (continued)
Dev: …
WHO IS THIS ARTICLE FOR?? PEOPLE WHO WANT TO GET BETTER AT THE TERMINAL BUT HAVE NO IDEA WTF A TERMINAL IS?
This isn’t high school english class, you can skip the circle jerk introduction.13 -
I was talking in class. Teacher saw me. She asked me to explain the topic she was going to explain. It was Network Security. I started explaining how we can prevent tracking of our online activities by using VPN and all.
Teacher (to class): Do you all know about VPN?
Whole Class: No.
Teacher (to me): They don't know about VPN. Now, how will you explain?
Me: I won't.
*Cyanide out*7 -
Got cold hands in class. So I decided to test the meme.
I put my hands under my laptop's vent and installed Android studio.
My hands are no longer cold.4 -
Fucking crunchyroll hardcodes their access tokens in a Constants Class in their APK, technically that is a security issue.
What the actual fuck Crunchyroll!? No fucking wonder you got DNS Hijacked so quick, security is literally your second priority you dumbed down twats, get some real devs and some real QAs for fucking god sakes, you're tearing down your own system by inviting exploits.8 -
Just realized no one in my class knew that Stack Overflow was an actual thing, not just the website. Too much Java I guess :D10
-
My brother made a PC game for his game dev class.
You are a hamster with a hammer
- acorns drop and u crack them for points
- you have to avoid rolling logs and eagles that swoop down
- the game gets faster
Dad: I just played the game, I think it has potential like Angry Birds, can you convert it to Android?
Me: no and no
Dad: why and why?
Me: **facepalm and takes a deep breath**
Explains why very simply and that I'm not a game dev... And if he thinks it's that good, go pay for a freelancer...6 -
Dev: We need a better name than “Data” for this class. It’s used for displaying a set of tiles with certain coordinates so maybe TileMap would be a bit more declarative?
Manager: No I don’t like that. Data is perfectly fine, this class is for managing data so it’s perfectly declarative you just need to get better at reading code. If you have to change it then DataObject or DataObjectClass might be a bit more specific.
Dev: …14 -
Just got picked up for a project. 20,000+ code base, no comments, no docs, variable names like x, xx, xxx, no function name conventions, and a mishmash of Czech, French and English class names.
I thought this job was too good to be true. #fml4 -
Back the mid 90s at secondary school, a friend came back from holiday with a Casio CMD-40 TV remote control watch. It was like magic, no one had never seen anything like it before.
We pranked our history teacher so badly, changing the channels, volume and turning the TV off while we were supposed to be watching some video on Henry VIII or something (no idea, too busy PMSL).
We'd pass the watch round the class to keep em guessing.
In the end, school replaced ALL the TVs and were seriously pissed off, to this day I believe they had no idea it was us!4 -
Story time:
Ok so I'm in school and I'm on the computers we have to do a project on them the with rest of the class and I'm sitting beside this guy let's call him Bob (not his real name) anyways so Bob is working away on his computer and I'm trying to move documents and i decided to use cmd for it so opened it and then bob saw the cmd window and yelled "TEACHER HE'S TRYING TO HACK THE SCHOOL" then my teacher came over who has no idea how to operate computer like the rest of the class im surprised they can even turn the computer on anyways my teacher comes over and yells "PRINCIPALS OFFICE RIGHT NOW" and I'm like WTF?! anyways I have to explain to the principal what I was doing but she didn't understand so I go detention that day. Thanks a lot BOB!10 -
Fuck ever working for a company that doesn't know shit about the worth of a developer ever again.
> be me
> just got my first class masters in Soft Eng that I worked hard as fuck to get
> get a job for a pretty well known medical company here
> offered a bit less than what I was expecting but fuck it, it's a job straight out of uni doing what I want to do
> fuckitwhynot.mp4
> stay for a year with no bonus programme, no pay review, no objectives, no perks, literally fuck all
> see literally every other position in the company be promoted and actually supported from IT & the developers
> feelsBoomerMan.jpg
> get the hail mary recruiter "you'd be great for this role" linked in DM
> follow it through and go to the interview
> nailed it
> comes to negotiating a starting salary and they actually laugh at my current rate and immediately raise it by about 30% with bonuses, reviews and all that shit occurring regularly
> later virgins5 -
Him: Relation databases are stupid; SQL injections, complex relationships, redundant syntax and so much more!
Me: so what should we use instead? Mongo, redis, some other fancy new db?
Him: no, I have this class in Java, it loads all the data into memory and handles transfers with http.
Me: ...... Bye!5 -
Once crafted a beautifully executed use of Polymorphism with intuitive interfaces and classes with a concise and loose code just to watch my boss get rid of the interface , because it had no code in it, and fill the fucking code with an ugly switch statement to choose which class to instantiate.5
-
I'm holding a programming class today, it's an open-door event, so anyone can come and try it out.
Nothing too much, just basic things.
I've been holding it for 30 min... To no one... No one showed up...7 -
For my school coursework, we have to create a search facility, now the problem is my class weren't taught this. So 3 sleepless nights and with basically no knowledge of Javascript, I create it. Now, I like my classmates so I don't want them to fail, so I distributed it to them with clear instructions and told my teacher that I'd done this. They asked for my help anytime it crashed but no-one said thanks, they just treated me like an easy route to a pass. I went onto my school private development forums and it turned out my teacher had created a tag for me called 'Unsung Hero' and made a UH appreciation thread that I could read but others could only type their own post. People in my class were praising me for what I'd done and how much I helped. I understand why I do development and why I'll never stop.9
-
I feel like at some point it'll become more shit than it's ever been. Partially due to the fact that it seems like EVERY school is trying to get the students into computer science at this point.
NOT EVERYBODY BELONGS IN COMPUTER SCIENCE. PLAIN AND SIMPLE. IT'S NOT FOR EVERYONE.
I feel like some kids that are being forced to do computer science will basically be like "huh there's money in this, maybe I could do this" but they're completely shit at it, when they would have been MUCH better off doing something else.
Side rant, somewhat related actually:
I had a teacher last semester that has to teach one of the computer science classes starting this year (I was not taking her computer science class, it was an unrelated class). From what I've seen, she does not seem fit to teach the class at all.
She's supposed to be teaching some simple programming (no clue what languages, I didn't bother to take the comp sci class). And she knows that I know the stuff, so she would ask me about the simplest things. Which is 100% fine...if she wasn't teaching a computer science class.
She just does not seem fit to teach a computer science class. I'm sure that the school basically just threw her in there because they needed SOMEONE.
I'm honestly kinda scared for the students in the class that might want to go further into computer science, only having taken that class and having met the requirement for a more advanced class, but then being thrown into a class where they don't know a fucking thing.6 -
!rant
In my Software Engineering II class, our teacher begins a overview of NoSQL DBs. A buddy of mine leans over and asks me "A SQL DB walks into a NoSQL bar, do you know why he left?"
I said, "No idea".
He said, "Because there were no tables".
Our teacher heard me laugh, so my buddy had to explain the joke to the entire class. Needless to say, the whole class got a kick out of it! -
Our school like:
School: hey everyone! Today we are learning java.
We: But we can Java and we already read the whole book
School: So ok! Let's do Java for 4 months!
We: What the... c'mon that makes no sense!
School: ...
We: ...
*After 4 months*
School: So class lets write a exam in java!
We: oh boy! this is nice!
School: Open your VM!
*Everyone started theyr VM and opened Eclipse*
School: Aaaaand now open NetBeans!
We: Holy Moly Crap! Really? why?
School: because...because...because...fuck off! we dont know...but it stands on the fucking exam so shut the fuck up u little crap!11 -
I bought Minecraft back in 2007 or 8. It was $20 and gave me access to Minecraft forever, all updates included.
Today Microsoft closed all the old mojang accounts and I no longer have access to Minecraft. I could have migrated to a Microsoft account, but it will be a cold day in hell if I ever open one of those.
Sounds like law suit material. Class action anyone?12 -
I'm fed up of this shit. I'm a Bachelors student and I study in a class where no student wants to study. Like literally none. You'd think someone studying Bachelors degree would have some sense. But no. Not a fucking one of them. Our class requires a minimum number of students to attend to smoothly run the class. I am the CR and I can't convince them enough to even meet that level. How am I gonna get through these two years? I try to say something, everybody snaps at me for being a smartass. Which I'm clearly not. These are the same people who come at me when the courses to do finish in time. I am alone. I am getting too weak to stand against them. My self esteem is declining day by day. I am really insecure.13
-
The girl I'm talking to right now (not officially dating), I met because I knew web dev. I've mentioned the story before a couple times, so I'll just give a TL;DR
She has a graphic design class with my friend. The class was doing basic web development and had no idea what they were doing. I decided to go in there to help out some. Started talking to her, now everything's fun.
Here's a picture of us from Friday (you can only see my face tho, not hers). We were just being cute, as ya do.12 -
A kid that went to my daughter's preschool class died (they are in the 3-4 years old range)
The parents still don't know what their kid died from some virus.
They said the kid became braindead so I'm guessing meningitis?
Meanwhile we're pretty scared, and unsure if we should keep sending our kid.
I'm very disappointed in the way the school handled this, like no quarantine, no fucking notice on our kid's book about how they're going to deal with this.
Fucking piece of shit school.
Everyone on the whatsapp group is sad, saying religious shit. Hello!!!! Can I know what this kid died from so my kids don't die too????
I feel sad for the parents and the kid but... everyone is reacting in a very stupid way to this.
Like no one's gonna even fucking ask if this kid went to class this week and potentially passed it to other kids?
Fuck this dumbass mediocre country.10 -
Yahoo, Kotlin is the first class language for android. So no more fucking Java codes. No more 100 lines for basic configurations. No more null pointer exceptions.
Only beautiful code and fun.14 -
Being an introvert I don't like to show off but it's been around 7 months I am doing internship (3 so far) and didn't tell anyone about this.
In class every faculty thinks I am stupid because I spent more time in work rather than on my college materials. Due to which other guys get recognised who are good with college studies and I am always left behind.
I really hate this feeling when you work so hard and there is no one to tell about my achievements.7 -
Let me repeat this out and loud so that we are clear before another idiot starts pitching to me on building their "world class machine learning algorithm":
NO DATA, NO MACHINE LEARNING!2 -
Okay so this happened ages ago (nearly five years) but this suddenly came to my mind again.
It was in the first year of my study (currently in my 5th and last year).
I was experimenting around with php and mysql during some free hours. All the insert,delete and so on statements worked perfectly find except for one update statement. Started to debug of course and after a little while of no results I was like "oh yeah right, something like logs exists of course". Looked in the logs but nothing. No matter how I altered my code (rewrote it numerous times for some 'clean starts') it just would not run the update statement.
Alright, time for some class mate help. After multiple hours of debugging with a few classmates, there was still no result at all.
Time to bring in one or more teachers. After hours of debugging, still no result even with the help of a few good teachers.
Decided to give it a rest for that day.
Two weeks later it still was not updating anything/working and I finally gave up.
Till today, I still have no clue what went wrong and it still bugs me from time to time :/4 -
I started programming 7 years ago, but I downloaded my first tutorials on programming in C++ already back in 2000. I had read maybe 4 pieces of literature, didn't understand anything, because it taught things in this order 1, "So, say you want to create a cat?", no I don't. I want to make a useful program.
2, "then you have make a constructor and a destructor", makes sense since that perfectly replicates nature, not,
3, "then you can define a method in the class that enables your cat to meow", eeeh no it doesn't make a sound, what it does however is print a series of characters even less useful than "Hello World" to stdout.
Then I found assembler and it all made sense! 😀 -
Java : He is the topper who is usually mocked, but still everyone seeks his help on the day before exams. He tops the class no matter where he is.
C : He was once the coolest guy in the class with all the new gadgets but now uses outdated gadgets.
C++ : The guy who comes 2nd and is also loved by everyone. He is very competitive.
R : She has everything readymade from food to tiffins.
JavaScript: Tries to be in the cool gang but she is someone to whom nobody talks.
CSS: The most beautiful girl in the class and a make-up expert. Also the only friend of JavaScript.
Python: She will soon top the class.
C# : Is she still part of the class!!?24 -
So in the 2nd grade of middle school.our classes had computers with projectors and teachers would present on them. At that time I was still a beginner in programming and knew some basic cmd commands, so before our teacher had come to class I went to the computer desk, opened cmd and then executed this command “shutdown -s -t 36000” which basically shutdowns the pc after 36000 milliseconds and then the teacher came to class and started explaining us a new lesson on a power point and half way through the power point the pc suddenly shutdowns and the class got wild. and no one admitted who did it so all the teacher did is to say” who ever did it pls don’t do it again”. Like wow...😂😂😂4
-
I have this great professor who taught us how to be logical human beings (not that I learned much of that haha). He introduced us to web dev. He started with the basic html shit, then proceed with php and sql. His lectures were awesome. He'll then proceed with code exercises. And we'll have mini 'codefights' in his classes! yey! He taught us that in programming, it is much more important to practice logic than master a single language(no hate please). I learned to love programming through his passion. :) I learned to program in his class, now I hope never to stop learning. :D8
-
It's about a guy that knows better.
I was working as a subcontractor on a bigger system. We (subs) were not allowed to deploy code, we had to wait for contractor to deploy.
One day I got an email that my code is bugged and that my feature is not working on production. I checked it on test env, everything was fine. Then I checked if the code I wrote was deployed. It was not.
I send an email explaining that if they deployed my code it would be working. Then I got a response. There was a bug in my code.
Another email. I asked how would they know? Do they have a test on their environment that failed?
No. There is one guy that READ my code and he said it should not work, so he will not deploy it. He was not a programmer, he was a business consultant responsible for the documentation.
His issue was that I used a function that was not in a class. So if the function is not declared it's obvious it will not work. I had to explain to him in another email, that you can use object of another class inside your class and then call a function, that is not in your class. It was the last time this guy blocked my deploy.
TL;DR, I had to explain a non-dev how object composition works in order to have my code deployed. Took four emails.4 -
"I don't see women as objects, each woman is in a class of their own! HAHAHAHAHAHAHAHA"
- People who have no fucking clue how OOP works
Objects are instantiations of classes, you poor, retarded bastards. You saw those two words while skimming your 1st year college textbook, made this joke, promptly changed to some useless English degree because you cried after your "hello world" program didn't run, and never looked back to see the damage you had done.
I know the joke is the word play but word play word play puns are retarded anyways. Everything about this pun is awful.8 -
Back in school a class mate used a bat file to recursively create a directory an then enter it and repeat.
The directory also ended with ascii 255 which looks like a space and when placed at the end is invisible.
This was in msdos and there was no mouse or autocomplete, also no deleting of non empty directories.
The teacher finally gave up and admitted he could not solve it.
You had do make a new script first to traverse to the inner most dir, then recursively back trace removing directories.2 -
No IntelliJ, just because my API CLASS has an unused method, doesn't mean IT SHOULD BE MADE PRIVATE!2
-
"Why is this style not appearing in the browser??? All is perfectly written! No missing semicolon."
*staring 5 minutues at HTML source*
"Oh there you go: I put two times class="..." in the same tag..."1 -
Ok so we went to a graphic class seeking graphic designers for our game.
We pitchted our 3d fast paced speed running game. With highscores and shit. (We only have a week to create this game)
This fucking moron in the back of the class starts to rise his hand asking:
Is this a MMORPG?
Me: No this is no fucking MMORPG?!
Him: But i only want to design to a MMORPG
Me: Well we are not doing a fucking MMORPG..
Him: Can you change it to an MMORPG please?
Me: WTF NOOO!
Him: Okey you sure?
Me: YES... smh
Like why the fuck shall we change an idea to something litrally impossible to make in a week and that will fucking crash and burn like every Michael Bay movie ever...4 -
Currently I'm working on 3D game engine and making a 3D minesweeper game with it.
I have started creating a compiler not long ago using my own implementation (no Lex no tools nothing just raw algorithms application) to hopefully some day I will be able to make a language that works on top of glsl inside my game engine. I have compilers design class this semester which haven't even started yet and made a lexical analyser generator. I also have another class about geographical information systems which I will be using my engine to create some demos for some 3D rendering techniques like level of details or maybe create something similar to arcgis which we will be using.
Oh man I have many stuff I want to do.
Here is a gif showing the state of my minesweeper game. I clearly lack artistic skills lol. One thing I will be making is to model the sphere as squares not triangles.
Finally I want to mention that I months ago saw someone here at devrant making a voronoi diagrams variant of this which inspired me to make this.
I made long post so
TLDR : having fun reinventing the weel and learning 😀 -
personalproject C++ codebase:
- Clean code,
- 1 class per file,
- naming conventions
- comments .
- No more than 10 files per folder
Work C++ codebase:
- 22 classes per file.
- Classname not the same as file name
- weird variable names CmdStng
- All files in one source folder.
- Source control from 20 years ago
Me every time I cannot find anything I wondering why it is in a different file on line 3574 inside another class with an unrelated filename6 -
There was an error in one of my Java file. Impossible to find it. I commented all the code and the error remain. I commented the import of that class and no more error. How the f**** is possible that a empty class give an error ?
I opened the file in another text editor and found out that the last character was a symbol that wasn't recognize or display in other text editor.
I was really proud (and confused)3 -
There was this uni project where the teacher gave us a project to work as a team (the entire class, 17 people). We were meant to use Scrum, and deliver the first release in 1 week.
Turns out no one except me did the work, and this went on in the upcoming sprints, even with me telling the teacher what was going on.
Then, one day, a girl (let's call her Rose) did a commit to git, and I thought that something as going to change...She committed and push a new line at the end of a file.
After 2 months, the project was done. I had done 4k+ lines of Java EE + Hibernate + JSP code (which was very difficult to me) and the grading came out. I got a 7... most of the rest of the class got an 8 or 9. They did nothing.
When questioned by me, teacher said (it was a group project...)
TL;DR: I did the work of 17 people in a university project, got the worst grade of them all.12 -
My feelings towards half the people in my class because most a brain-dead cunts with no aspirations or passion for anything they do.3
-
When your Tesla’s battery fails, because they cut costs, you are hit with a high-pressure, thick stream of chemical hellfire spanning your entire car’s interior space. It will burn you to a crisp in 30 seconds. Because of all those “aUtOmAtIoNs”, door-opening mechanism will also fail. There is no way you’ll get out.
After 30 seconds, there will be no one left to rescue. After two minutes, there will be nothing left to bury.
There is no way a fire squad could extinguish this. That’s a battery fire. If you remember your chem class, you know lithium burns violently underwater.
You’re gonna die. Elon won’t be responsible, as usual. No one will face any consequences.
But damn, what’s an epic bacon hyperloop tech way to go out, isn't it.15 -
I need bleach...
Lot of bleach.
When you think that not using a JS framework is bad...
Ever saw a Frankenstein of a HTML, PHP and JQuery? Full rewrite of an old project with more than enough time allowed....
Just... That was not awful enough.
*sobs* so the dev added bootstrap onto this pile of garbage... Instead of rewrite....
Think I missed CSS or included it in HTML? Lol. No.
No CSS. Inline. HTML 4 Tags.
?>
<table width=40 class="table table-striped">
<?php
foreach( $table as $row ) {
....
<input onkeyup="..." onkeydown="..." class="form-control"
...
To give you a basic example of how worse it is...
But the best. The lead developer does not understand why I was speechless.
i need more beer. And bleach. Filth and disgust must get out of my system2 -
Took me 6+ full days.
The feature does not work. Repro is unknown, so only prod is experiencing the issue.. Which rules out the debugger option. Sometimes there's an entry seen in logs: "java.lang.StringIndexOutOfBoundsException". Nothing more - just that. No stack, no class, no nothing. Is it my code that's buggy? Is it some config? Integration? Unexpected response...? A bug in a lib? Is dimm faulty ir maybe server's shared libs are off?
Turns out I used a closing parentheses instead a closing curly bracket in an error message that's supposed to be interpolated...
String message = "{some-business-rule-related-error-message-key)";
took me 6+ full days... But I found it. Took the rest of that Friday off to walk in a park and enjoy my life :)9 -
In ESnext, private properties are marked with `#`.
Who thought that was a good idea? No really, who thought that was a good idea?
Why not just -- I don't know -- introduce keywords like ... let me think ... public, protected and private!?
Why this:
class MyClass {
a = 1; // .a is public
#b = 2; // .#b is private
static #c = 3;// .#c is private and static
incB() {
this.#b++;
}
}
If this becomes part of the language, no JavaScript developer may joke about php usage of `$` anymore.32 -
I'm currently one of two "pen testers" for the anticheat system of a game.
It all started a few days ago when the developer handed me the obfuscated package and told me to go at it. No big deal, I've bypassed it before the obfuscation, so I just changed some imports and sent in the screenshot.
Fast forward 100+ hours, it's turned into a cat-and-mouse game. He sends us (the testers) an update, we break it within hours. We show him what we exploited and he attempts to fix it. Rinse and repeat.
Finally, today he patched the one hole that I've been using all this time: a field in a predictable location that contains the object used for networking. Did that stop me? No!
After hours of searching, I found the field in an inner class of an inner class. Here we go again.3 -
Physics class, groupwork
Me: *Writing a protocol in Markdown and LaTeX*
Partner: Are you currently using Excel?
Me: "No"
Partner: *yells* We need a new computer!7 -
You wanna know what the fuck we did in our goddamn code.org class today, wait no, the last whole fucking week. YES OR NO QUESTIONS. I GET BINARY IS FUCKING 0'S AND 1'S. FOR GOD SAKES I KNOW BINARY. I EVEN KNOW FUCKING TERNARY. AND. YOU KNOW WHAT TEACHER ? EVERYONE ELSE COULD LEARN BINARY IN FIVE GODDAMN MINUTES. "Is code.org worthy of being kicked in the ass and tied up on a railroad when the trains coming?" Is a perfect binary question. This whole fucking class I feel like I'm in an english class for five year olds in spain. HEY TEACHER I DON'T CARE IF BILL GATES OR MARK SUCKERBURG OR BARAK OBAMA OR GODDAMN CHRIS BOSH SUPPORTS IT. ITS FOR THERE FUCKING REPUTATION. PEOPLE WITH HALF A BRAIN KNOW THESE PEOPLE DON'T GIVE A FUCK. THEY EACH HAVE HUNDREDS OF MILLIONS OR EVEN BILLIONS OF DOLLARS, BUT THEY ALL CHOSE TO USE A FIVE DOLLAR MIC JUST TO FUCK WITH US. EVERY TIME I WALK IN THAT CLASS I FEEL DEGRADED LIKE I'VE BEEN PUT BACK IN PRESCHOOL. THANK YOU TEACHER, I ALWAYS WANTED TO LEARN BINARY TO MAKE MY FUCKING SIMPLE JAVASCRIPT APP AS MY FINAL PROJECT FOR THE REST OF THE YEAR.4
-
Ok might as well share my misadventure on a phone screen:
It started pretty normal, the guy talks about his background, the position, and asked me about my background.
Move on to the language trivia; I’m not good at memorizing language features, but I guess it’s what people want, so I’ll be working on that down the road… Anyways it didn’t go well, and the guy somehow made me feel like an idiot even on the questions I got right.
It’s really awkward at this point… but let me tell you I was not prepared for what I can only describe as the fucking coding portion of the phone screen…
No computer. No pencil or paper. No whiteboard. Over the phone I’m saying: “class Dog with a capital ‘D’ colon newline tab def space bark open parentheses close parentheses….”
what the actual fuck4 -
Started development on a Firefox addon again:
Adding an onclick HTML tag/property (however you call that) - doesn't fire at all.
Adding an event listener - says no elements with the class I'm using (checked, it's correct) exist, doesn't fire.
Well, fucking great 😐4 -
Reviewed some Unity game code yesterday
[HideInInspector] public NavMeshAgent agent;
Me:”why is this hidden if it’s public”
Dev: “so designers don’t fuck it up”
Me: “then why have it public”
Dev: “I need it to be set by another class”
Me: “then make it a private bar and create a get:set function”
Dev: “Why?”
Me: “Because hiding a public variables from designers is a bad model and by standards things now to be shown to the inspector should be private”
This shit is why I have no confidence in devs my age10 -
As a college student, best part of being a dev is when there is no class, but instead of being happy for going home earlier to do whatever like everyone else, my happiness comes from being able to stay late at work, and put that project to roll.
Only developers can feel that. -
I don't get it why there are so many people out, that think testing stupid model classes with getters and setter is needed.
Dude. There is no logic in this class ... it's pure data that gets not modified there (well except if you call the setter)
I've wasted way too much time writting useless unit test because some ppl want to masturbate on 100% code coverage 🤦🏻♂️12 -
This is going to take a second to get dev related, please bear with me.
So, I'm from a pretty small (and poor) town. Like most small towns, not many give a damn about computer science/IT (that shows by the fact I'm the only CS major. And there's one IT major).
Now, my high school offers a few "career prep" classes. There's (no exaggeration) almost 5 or 6 classes for medical majors to prepare themselves; like 4 different agriculture based classes; 2 business major classes; and surprise surprise...not a damn Computer Science or IT class.
Yes, we have a computer class. But can you even call a "How to Use Microscoft Products" class an computer class? Finally by my senior year, I got pissed off by this.
I had/have relatives that have worked/are working in the school system, so it wasn't hard to get a meeting with the superintendent and the assistant superintendent to discuss my thoughts. They were both open to and even supported my ideas. But due to funding, it wasn't a feasible idea at the time. (Especially since not many care about CS or IT.)
This is where I get really really pissed off. Being that the town is small, the people with money/a name tend to control things. So, a former principal retired with the expectations to work in another county. However, this job fail through. But there was a "magical" opening for a job that didn't exist before this job fail through.
This pisses me off. We can create a job for someone and afford a full time salary for them, but we cant get an actual CS class. (And this isn't the first time a job was created for someone.)8 -
[wordpress trigger warning]
Had an idiotic colleague who re-implemented the insert image function as a shortcode. A “senior php developer”. No, I’m not kidding.
Him: “But this way we can set a class”
Me: “As you can with the standard mode”
Him “No you can’t”
Me: *shows*
Him (smiling): “well why don’t you remove my stuff then?”7 -
a girl from my class made a presentation and it was really good, and now i'm thinking "how did she do it? what came to her mind that she could prepare such a good presentation?"
and also, "i know that no matter how much i try, my presentations will not be that good, because those are MY presentations"...13 -
Php code without any class. Every page is a separate php file in project root folder.
Everything is all over the place, code repetition is everywhere.
The worst part? No security. The sql calls are with mysql_ functions and string concatenation. Files are just uploaded without checking.
And I had to repair it.2 -
I'm making an educational game for a school project.
What I thought I had to do:
Write complex code
Learn to animate
Make all resources by myself
What i do:
Drag and drop stuff into unity.
Moving arrows around.
Watch tutorials.
Im 3 weeks ahead of my planing... After 6 days.
No wonder there are so many 3rd class unity games -
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 -
So python does not have constants and the only way to create one is to create a class with a getter but no setter.
WHAT.THE.FUCK or am I just wrong?4 -
Had my algorithms and data structures lab this week... 6pm-9pm
No one sat next to me or talked to me... probably cause I’m the only girl in the class :/11 -
😂😂😂
OBJECT ORIENTED THINKING
A boy tires to look at girl in a class.
GIRL: It is bad manners
BOY: No it's not
GIRL: Why?
BOY: "Members of the same class can access private data"...
Old but Interesting5 -
Took a class on computer systems, was supposed to be taught instruction sets, interrupts, pointers, basic gate level digital logic, etc. Professor spent the whole semester going line by line in the Visual Studio disassembler for some arbitrary C code, explaining in painfully dull detail, what each assembly line did. They did this for every class session, including the first, with no introduction to assembly. I lost count of how many times I fell asleep in class.
-
I'm 19, and I was given a $1500 scholarship to take 80 hours of Office 2016 classes. It was going to disappear if no one used it. I get to stay home for the online courses, and it doesn't count against my vacation time.
I get paid for 8 hours a day while I take each class, even though I get an hour lunch and usually get out of class an hour early.
I know 99% of Office capabilities already, but this is a good stress reliever. Life is good4 -
Well after years of programming, I've hit my first runtime error that provides no info , the code fails prior to being able to generate an error so this is fucking fine :-)
And of course, the one time I need stack overflow, it tells you to initialise the class with data... Yet the class doesn't contain a fucking constructor... Smiley face7 -
>Advanced code optimization class
>Professor : Your midterm exam will be written on paper....with no code.
>Me: ?????????????3 -
When your code is brilliantly modular and class based, but no one gets your joke about it being super classy...
-
The worst was an open source project I tried to look at.
It was written in Turbo Pascal.
I am not sure, never really got so far, but it looked like it was one single class with hundreds of methods and hundreds of instance fields for data.
Almost no data objects, if it needed for example 4 sets of 6 variables it had 24 instance fields and in some instances 4 different sets of methods for accessing said variables.
Around there I stopped looking ;)3 -
The lower the level language, the more concerned I am with performance for some reason...irrational I know.
Programming in C: oh no I have this extra if statement which may have to copy the 16 byte struct.
Programming in Python: oh hey I can simplify the logic if I write a class to dynamically build this regex, compile it, and search through a 1MB text file.5 -
dev "no no no, you're overengineering it. You just need one class for that"
Me "but ... Those are different object that share a common interface. The internal logic is not the same, only their output is. You know ... That's the purpose of interfaces"
Him "no no, as i said, you don't need that. Listen, you can put ALL the fields and methods in a single class and then you can use a switch with different cases .."1 -
In `Computer Fundamental` class
friend: What 1 + 1 equal to?
me: two.
friend: ...no, it's equal to ten.
me: oh fuck!2 -
How many times do I have explain the rookiees in java developer team, that implementing an interface is not inheritance. You are not actually inheriting any member - variable or method or otherwise. You are just getting a skeleton, according to which you have write your class. THAT IS NOT INHERITANCE.
So MULTIPLE INHERITANCE does not exist in java. Period.
There is no way around it. Stop misunderstanding stuff and passing that misconceptions to newbies.1 -
A bug which takes 6 days to be found/fixed. Screw you financial data. 👹
🏀on the good side: whole class was de-constructed and re-factored + no other bugs were found! 😀🔥1 -
So I've got a few stories, but the first one goes like this:
>> Spring semester last year
>> Likely have the best grade in a front end web dev class
>> Has a file on a server that we used for this class.
>> Copies HTML file to desktop from server
>> Opens desktop file in VS (or VSCode, I forgot lol)
>> Opens server HTML file in chrome
>> Edits the file
>> Browser doesn't change.
>> "What to fuck?"
>> Clears cache
>> Doesn't change anything
>> Closes and reopens Chrome
>> Still no change
>> 'Yo what the fuck???"
>> Calls professor over to get help
>> Explains problem
>> Instantly realize I'm a dip shit and open the desktop HTML file in Chrome and see the changes I made2 -
Unfortunately, I was causing the bad experience of the group project.
Had a 3D modelling class at university. I was totally overwhelmed and had no time to do anything for the project. I was too scared to face my team so I decided to just break the contact and didn't show up to the presentation.
I thought I would get a bad grade and that I will have to take the class the next year again.
But the worst part is, I got a better grade than the rest of the team because someone did the part, I was responsible for, so well.
I felt so bad for my behaviour, I cut my hair and shaved and hoped they won't recognize me at the university.
I'm sure there are or will be some rants about me this week -.-'3 -
I never use linux, we are entirely on windows everything at work...i'm a .net guy, and all my home stuff is on windows too. But, I have to take a linux class so I got ubuntu going on a virtual box. Prompt for updates comes up (shit, here we go. on a virtual machine with hardly any resources allocated to it no less, better get comfortable). Hit install and it's done before I can even finish shitting my pants in shock at its speed. Seeing all these "linux is better" rants in a slightly different light already, and looking forward to poking around with it5
-
Is it usual in your university that students don't come to classes for no reason?
Or just seeking for a chance to cancel the class?
Or I'm just the only one who can't wait for learning new things?7 -
So we were supposed to have another good build today.
Supposed to.
This one guy on our team gets weird sometimes, and refuses to commit his shit until the last minute. He says "Don't worry, I'll handle all the merging, it'll be fine!"
What he forgets is that much of our code relies on his! His latest commits reworked a couple entry points and a class definition. No backwards compatibility.
He made his commit, and nearly our whole stack shit the bed. Jesus jumping Christ. Weekend? Nope.2 -
Ahh boy, uni sure is fun...
I missed my comp-sci class last week when we got a project assigned. No big deal, right? We have an online student portal where teachers can post assignments for everyone to see. I'm sure it's in there.
It's not.
Okay. How about the syllabus? Professors are supposed to create a weekly schedule for students to follow, it's probably in there, right?
Nope. Nothing.
Alright... I guess I'll email him. At this point about two classes have passed and I haven't heard anything in class, so I fire off a quick email to the professor asking for the details to be posted to the web portal so I at least have some idea of what I'm doing.
Surprise surprise, I get a response in about an hour.
"I'm not posting anything online. You should have been in class. Talk to a classmate."
*sigh*
So, from what I can gather from my classmates, we have to design a game using python. It might be a quiz, maybe. We have a week.
Are you fucking kidding me? Is it really that hard to take 20 minutes to type up a few requirements so your students at least know what you're grading for? I barely have any idea of what you even want, and from the three people I talked to it wasn't very clear even when he explained it in class. Post your assignments online, asshole!7 -
My two cent: Java is fucking terrible for computer science. Why the fuck would you teach somebody such a verbose language with so many unwritten rules?
If you really want your students to learn about computer, why not C? Java has no pointer, no passed by reference, no memory management, a lots of obscure classes structure and design pattern, this shit is garbage. The student will almost never has contact with the compiler, many don't even know of existence of a compiler.
Java is so enterprise focused and just fucked up for educating purpose. And I say it as somebody who (still) uses it as main language.
If you want your students to be productive and learn about software engineering, why not Python? Things are simple in Python can can be done way easier without students becoming code monkeys (assuming they don't use for each task a whole library). I mean java takes who god damn class and an explicitly declared entry point which is btw. fucking verbose to print something into the console.
Fuck Java.17 -
First time I was screaming out of anger while looking at code.
I'm doing a group project in my university.
We are developing a indoor navigation Android app.
And a team mate of mine just merged this…
/*Method for help-feature.
Sets all the TouchEvents that are at least 400 ms long. This is made for all the relevant buttons or editTexts, which are seen on the mapView.
The case for mapView is needed because otherwise the other buttons, etc. wont work properly.*/
public void setButtonsForHelpDialog(){
View v = mapView;
switch (v.getId()) {
case R.id.mapview:
mapView.setOnTouchListener(…);
case R.id.buttonUp:
buttonOn.setOnTouchListener(…);
case R.id.buttonDown:
buttonDown.setOnTouchListener(…);
…
case R.id.description:
description.setOnTouchListener(…);
}}
The code is really aligned like this - no breaks. And it's even worse. There are if statements like if("constantly false var" == true). Which is highlighted by Android Studio.
This is done in a own class. The views are set via public member variables of this new class. The constant vars were added in the actual class holding the buttons and also stuff like this useless method
public void getDoStuff() {
doStuff()
}
And I could continue like this.
I never saw code this bad…
I can't even find words for it :/4 -
So, first a bit of background:
We've got a parent class, owned by another team, and two child classes, owned by my team. One of the children is unused. (Already sounds bullshit right.)
On to the story:
6 months ago, I had to modify one of the children (add new functionality).
I try to modify the base class to add it, the senior dev in charge says "no, just add it on the child". So I do, then merge it in.
Yesterday I wake up to a high priority bug. Turns out the senior guy wants to add another child class, and wants the functionality I put in my class on the base class.
Even commented on my PR from 6 months ago asking why I didn't do that.
The fucker opened up a high priority issue assigned to me, asking ME TO DO THE CHANGE I WANTED TO DO 6 MONTHS AGO THAT HE SAID NO TO.
Fuck this shit. I have a meeting with him and my boss in an hour. My boss is pissed, I hope he tells the other guy to go fuxk himself and do the change himself.14 -
Rant time. So, me and a few classmates finally finished and handed in a website for a web development class a few days ago. Before we handed it in, we had a meeting with the professor to discuss what we still needed to do.
Us: Are we missing anything?
Prof: Nope. Looks good. Just make sure you have stylus implemented.
Us: Cool, thanks.
We got our grade back today. We didn't do as great as we'd hope, and here's one of the comments that the professor left us:
"You forgot to implement all of the CRUD operations. -4"
WHAT THE **** IS THAT? We asked you if we were missing anything, and you said no. You reminded us about stylus, which we looked at ONCE in a 13-week class, but you failed to remind us that we needed all of the CRUD ops?2 -
what the fuck is wrong with boomer professors ?? I enrolled in a front-end development elective at my uni in hopes to just brush up on some little things I may have missed on my self taught education.
this class has been an absolute tragedy. he spends about 1 hr each class trying to figure out how to configure docker... FOR A PROJECT THAT IS JUST BARE HTML CSS JS. WHY??? he is so adamant that we use DOCKER for this class. I don't understand why.
most of the students are BRAND NEW to front end development and know Jack shit. and here this professor is insisting on nuancing the class with docker. it makes absolutely no sense.9 -
Ok so this is my first rant. I'm 16 years old. Have had some experience with Python and AI and I want to pursue it. But, I'm in class 12 and all my teacher teaches me is how to open a frickin file in python. I mean I have begged her to tach me Django but she's like no no child we only study what's in the syllabus. I mean it's so frustrating17
-
Just sitting here in class, when all the sudden my profs code shows up in the schools hall for no apparent reason....2
-
I bring you all another gem from my computer science course, this time from my OOP class.
The first assignment we made for this class was a simple CLI shop, where you would have basically three main classes:
- A Product class that you extend to create different types of products.
- A Cart class that manages a list of products (basically an ArrayList<Product>) and has some useful methods
- A CLI class to display a simple interface to the user and call methods on a Cart.
Basic OOP stuff, so far so good.
Then for our second assignment the teacher asked us to make Cart a generic class, where you would say Cart<Bagel> and you would only be able to put bagels in it. This makes absolutely no fucking sense, this is not a good use case for generic types since
1) you would never limit your customer's cart to one type of product at compile time.
2) in Cart, you have to cast the generic type to Product to extract any information from the product, like when getting product prices to calculate the total price, so might as well use a fucking ArrayList<Product>
I'm just saying what he's asking us to do has (to our fictional shop's business logic) absolutely no advantage over subtyping.
Also, why the fuck teach generic constraints when you can just tell your students "just cast T to Product", right?
Like fucking hell, couldn't you spend like 10min to come up with a decent assignment that actually teaches generic types the right way? ffs
And just so no one can say "but wut simple assignment would you give to teach students generic types?", here's a simple and much, much better alternative: implementing your own ArrayList. Done. Can't get much better than that, it's a legit use case and teaches you the basics.
Sorry man, you're a great person, you really are, but you suck as a teacher.3 -
Didn't go to class on Friday cause some asshole broke into my car. Checked slack for my homework over the weekend before bed and...nothing.
Check slack 2 hours ago... huge project due in 7 hours... wtf slack thanks for no notification and updating my messages late as fuck...
Time to brew some coffee I guess.1 -
Disadvantages of coding after midnight... Was modifying a makefile for an assignment when suddenly:
$ make clean
> rm -f com/package1/*.class
> rm -f com/package2/*.java
wait..
WAIT NO
😢7 -
My school class is going for a skiing trip soon. Since I don't have a laptop yet, no code for me in the evenings. :(12
-
It was when I saw that he was writing CSS in one huge file (couple of thousands of lines)
And I needed to change one thing (ctrl+f it) and saw it was copied and pasted 4 times ..
And no, not just the CSS properties, the whole thing including class/id selectors...1 -
Today on incompetent profs & classmates...
Dumb student forgets to exit vim and rewrites program 3 times before calling d prof
for help
I ask the prof for approval to use an IDE or a text editor in lab and she has no clue what an IDE is. I installed atom just as she left.
Another kid fooled into thinking web dev has no future.
Apparently I can't use laptop in class to execute programs as "other students may be at loss" i mean wtf that's their fkin problem why do I have to suffer.
Student questions unix prof about the file size limitation in fat32. She had a poker face.
Prof gives "hello world" program to sophomores. Nice.14 -
Damn bro Vue 3 sucks actually. It's just a big function now with arguments like "`this` can be sometimes confusing when TypeScript is used." - hell no, my component was a class and this was the fucking class. nothing was confusing about this.
It's all a clusterfuck of magic now, I don't see why writing `ref(5)` or `return { all of your shit }` after `setup() { complete business logic inclusive functions here }` is better.
I was so looking forward to all the improvments, but why do we need these 3 apis with actually no difference, tried to be explained by the same image of colorful blocks in every single fucking article?
what happened to methods? am i seriously supposed to return them from a function? that just feels wrong.22 -
A form for an order checkout has a fucking stupid select box for comments... Options like "knock loudly" or "Ring doorbell"... 🤔
My wife had no way to put in a comment to say it needed to go to level 2! So I took over, inspected the element to make sure it wasn't using ID values for these stupid values, then replaced it with a text area with the same control ID, name and class.
Problem solved, felt like such a ninja 😉5 -
I'm currently volunteering as a student assistant at my school, and today I've gotten the same question 20x. What question do you ask: "Why doesn't ^ return the power of the 2 numbers?"
It turns out that last week they've had a Math class from a new teacher (no programming experience) who said that if you want the power of 2 numbers you have to use the ^ operator...
If you don't know how to program, please don't teach it!5 -
Please do not make assumptions..
When you create a world class e-shop and if you detect a person is browsing from some EU country, don't assume he's fluent in Spanish [?].
Aliexpress detects I'm from LT and I have no idea how to change my language. I don't understand spanish enough to find langg settings and changing the url does not work17 -
Vs studio 17, Y U NO COMPILE MAH C++? It's literally one tiny program, with only one "Rectangle" class. g++ likes it and compiles it clean, why can't you be more like him? :(11
-
Proud to say that I've graduated with a first class degree! Going to start my graduate job soon, would appreciate any advice as I have no idea how to tackle it or what to do.8
-
I just got a new phone, a Tecno device with a measly 8GB internal storage. Decided I'll have to root it, and force part of my class 10, 32GB mem card as adopted storage.
Went online, learnt for a few weeks, successfully rooted, and began enjoying the vast benefits.
But there are no good endings. Months later, while doing some heavy gaming, my phone reboots... and everything on the memory, pack up and go on a vacation... -
Dude what the fuck with C#'s code style?
Pascal case variable names and classes? Don't we do this so we can differentiate between variables and classes??
Newline between parentheses and brackets?
Retarded auto get/ set methods that serve no purpose than to make code difficult to read and debug?
And after all that shit, string, which is a class, has a lowercase s and is treated as if a primitive?
I really have no idea why this language is so widely praised. The only thing I like about it is that it's the only major bytecode language that has operator overloading and reference parameters.19 -
Part two of: a day off an iOS developer life:
1. App crashed and stack trace gives no info in which file it happened, I have a generic table view cell that is used in so many places and Xcode just wrote: xcell does not support key value.
2. Mac freezing when Xcode is creating IPA file thanks to a new feature in Xcode 9 (Mac freezing is the new feature, even mouse pointer doesn't move -.-)
3. Let's check the value of this class property, Xcode: fuck off and either print it in console (after hitting a break point) or expand that shitty tree at the bottom to reach your class property!
An advice: never click jump to definition when Xcode is indexing, it will either freezing Xcode or crash it.
Part 1 link: https://devrant.com/rants/1137208/...1 -
Nothing makes me happier than listening to my neighbor's disgusting banda music playing as loud as it can.
No worries tho, the cops will be here in about 20 mins (it usually is 20) one would have expected that after getting the cops called on you for 3 times already you would get the message:
No homeslice. If i want to listen to that cantina piece of shit music on my fucking friday nights I will make sure to let u know :) but I actually have class so no thank you.
This is why Trump hates us (Mexicans) -
"Web" Teacher wanted us to learn horribly outdated html in the middle of web2.0 wave.
HTML5 ? CSS3 ? nope.
No CSS at all, and longest part of the class was on the importance of prehistoric HTML doctypes.
Capitalized tags, tables, BGCOLOR attributes...
Like she scrapped everything on W3schools...1 -
This is one from when I was in school, so I wasn't a dev but it made me feel like a CS student badass.
A class mate and I were having a discussion about his study habits. Basically he was freaking about the mount of studying he was going to have to do for this class:
Me: dude, you need to relax. You'll do fine.
Classmate: no, have you seen the amount of work that is on the syllabus? The size of the book?
Me: wait you bought the book? Also we took this same professor for several classes. His syllabuses are always huge. What did you get in the prereq to this class?
CM: an A.
Me: there you go.
CM: but I had to study all the time. I had no free time.
Me: really? I had an insane amount of free time.
CM: what did you get?
Me: B+.
CM: See but I did better than you.
Me: yeah . . . but I had fun last year.
Professor: you know, it's hard to tell who is the better student. The one that had no fun, but got an A. Or the one that had a lot of fun and got a B.
Other Classmates: probably the guy that got the B.
Hurray for peer and professor validated laziness. -
Found this comment in a class I visited today after a few months of writing it.
//todo: Fix this fucking POS hack
I have no idea what POS refers to anymore. FML.4 -
typescript, I HATE you!
ME: Trying to extend Subject and override Subject.subscribe(PartialObserver<T>)
ME: export class MySubject<T> extends Subject<T> {
subscribe(obs?:PartialObserver<T>): Subscription {
return super.subscribe(obs);
}
}
ME: compile
TS: Compilation error! No such method to override!
ME: load the app -- ERROR
ME: recompile
TS: Compilation error! No such method to override!
ME: load the app -- works perfectly
:confusedjackie:
Make up your mind! So is that class compileable or not???
If not -- how the fuck does it work then???
If yes -- why the fuck do you yell in my face with all those errors???8 -
CoWorker: “Yea then just use double inheritance to grab the methods off the two classes.”
Me: “Yea that doesn’t seem right... the first object is a string parser the second object predicts future occurrences...”
CoWorker: [louder] “No trust me, I’m taking a developer course right now. If you inherit both classes your new class can use all the needed methods!”
Me: “Okay, go for it bro.”
So tired of people who think they know what they’re doing...4 -
Good morning class! Let's start the day solving bugs in an Android application that many people have already gotten their hands on, which has 3 mixed languages, no comments in the code and is so bad that not even Android Studio recognizes the sources directory. But it compiles, runs and has a 4 month old bug that no one has been able to resolve.5
-
Helping a friend study for a midterm for a web development class at the university I went to. They have a new teacher this semester and I’m reviewing his slides about javascript to see where the confusion is...
First slide: based off of Java, hence the name JavaScript, but is not Java. Borrows most syntax from Java.
And they wonder why employers comment on the surveys: “unprepared for the workforce”
Looked up the professor.. no experience teaching or any background in cs. And people pay 6-12k / semester for this state university.1 -
There was this woman who would write code on the board at lightspeed which the students were supposed to copy to notebook and then type in TurboC then run it before the class end. I had to do this for a semester and my brain crashes every time i am reminded of that. And no one in the class was interested or cared enough to complain. She was a nice woman but a terrible instructor.
Oh, and there was a guy who taught a theory class and all he did was read some notes which we were supposed to write down and memorize for exams. He scored the paper based on how close the answers were compared to his notes.
Now i got a headache and have to take the day off. thanks and bye3 -
Null Pointer Exception
Null Pointer Exception,
you're in a class of your own.
I will try and catch you,
each instance you're thrown.
Null objects expel you,
because you are vile.
I dread that I'll c you,
when I attempt to compile.
Like the grim reaper,
you destroy lines of code.
And so to you,
I dedicate this ode.
You have no remorse
for those who won't test.
As a result,
I need to confess.
From time to time,
when there's no time waste.
I must rely
on cut and on paste.
Although we're acquainted,
I really must mention.
You're not my friend,
Null Pointer Exception. -
WRITING CODE ON PAPER...smh
I know many people wrote about this already, but writing code on paper is one of the worst things of a CS class. I’d rather get a computer with no internet access and use a notes app to write code instead of having to write everything by hand. It takes so much more time that you could spend thinking about the problem. Not only that but also my hand gets tired of writing...ughhhh
I need to convince my teacher and the school to switch to writing code on computers! I will not loose this battle ahah8 -
I'm about to lose my freaking mind on intellij. Ran my tests yesterday and everything was good. I added a new method and a new test case today and suddenly no tests are found. Well they didn't go anywhere!! "Class not found, empty test suite" ... Lies! I've been messing with configurations for over an hour now. I just want to run my tests...1
-
Oriented Object design class today, introducing inheritance with squares-rectangles and circles-ellipses.
No don't do that.
It's the worst example ever. It does not work. Just no, stop3 -
While TAing an introductory python class:
Student 1: What were comments again? A pound sign?
Student 2: No, they are hashtags3 -
Long time no rant.
Here's the summary of a review meeting I & team just had with our programming prof:
"You did exactly what I taught you in class, and I don't like it."
"To get a better mark you should've done more than what was required."
"This wasn't a requirement. You should've kept it short."
except we asked about it being a requirement earlier and only got vague answers like "that should be obvious."
Also, printing a class diagram over 2 pages apparently is unacceptable and we should've gone to a copyshop to print that as one page instead.1 -
RDBMS class: I have to fucking attend every class even though our lecturer just reads slides from Oracle to us.
In order to pass that module, we have to take the exams on their shitty website full of stupid questions, I.e. "Oracle academy is beautiful? a) true b) false" (I put false and they obviously marked it as wrong, ffs).
Multi-user operative systems: I was the one teaching our lecturer stuff on Linux.
WHY THE FUCK I CANNOT STAY AT HOME AND BE FUCKIN PRODUCTIVE INSTEAD?!
The only fucking interesting class is Data Structures & Algorithms and they pretend that we also attend every other useless class. FUCK YOU!
PS: I know the 90% of the stuff they are trying to teach us because I actually want to learn something and I know how to use Google, but no, I have to waste 2 hours on the bus every single day I have lessons.6 -
tbh my high school curriculum revolves around the fact that my compsci class is run by code.org
i fucking hate those videos and drag and drop blocks to learn how to code
in 10years when im (hoping to be ) a software engineer, will the company have drag and drop? no. they will have keyboards and a screen. teach me how to fucking type code and not blocks please...
code.org has tainted this world just like how puberty tainted my dick recently...
teach me how to code, dont teach me how to drag and drop..4 -
Whichever fucking cunt at Wordpress came up with that filthy Walker class and how a navigation item tree should be traversed, shall be hanged to death.
How fucking brainless can one be to create such a complete pile of donkey turds?!
No wonder Wordpress itself makes no sense at all nor has it any connection to any intelligent lifeform whatsoever.
Edit: This rant does not even closely show how high my fucking rage-level is!2 -
I'm giving a presentation on different text editors on Friday to the class I'm helping teach. I'm excited it's the beginning of the year and they're new our world and I get to show them and review 5 editors.
If you're curious the the 5 editors are
Notepad++
Sublime Text 3
VS Code
Atom
Brackets
No IDE they have no need for an IDE yet.11 -
Haha this is the first time ever I have had to play catchup on a class as much as I am currently doing with one inside of my graduate program :V it has been absolute hell man.
On one side I love the concept and topics and will definitely dig more shit on it for myself for future reference and application. On the other the instructor and his OVER THE TOP CHINESE ACCENT will forever hunt my dreams and provide for major pain.
Can't wait for this class to be ovee. Sadly i might not get the grade that I want, but I know I am gonna pass it.
Never man. I ain't no brainiac, but I know for a fact that I have never done so poorly in a class in my entire life and I honest to heavens blame it on this dude not being able to explain shit properly or provide feedback on a timely basis.2 -
Biggest lesson learned for me was believing some guy wearing a comb over & a fake tan who sounds like a car salesman. He claimed selling web app services to companies was no different than selling cars. It turns out that a lot of investors were not too happy that the company went under (b4 anything was released) b/c the CEO/CFO somehow managed to burn several million dollars on first class flights, cruises, 5 star restaurants, a luxury company car (for himself), hotels, etc.,. oh and even some fake tans!
Worst part about all that he wasn't even worth sueing because he had no money after all that. He even signed the 'company' car over to one of his kids!3 -
For my AP Comp Sci final project I put a ton of work in, and built a mix of space Invaders and galaga, and called it Space Invaders 2. I created the thing on my own, with no partner, and I did all the art myself too. It was easily one of the best in the class.5
-
When I first began with Python I really missed the static typed checking from Java, I barely know anything about a returned object from a method and have to read the API extensively for every new library.
After a while I finally understand why Python is so powerful, the combination of dynamic typed language and rich default methods make the language unbeatable for your productivity.
While Java's Object only has toString(), hashCode(), equals() or clone(), Python's basic Class has every fucking method for every scenario I could ever image. No wonder that libraries like numpy or pandas work so well and fluidly.8 -
I couldn't easily find it again and I didn't screenshot it yesterday. But this is not made up.
Yesterday I found a Sponsored post on Facebook about a class for one of WordPress premium theme with visual builder. Well it's more like a workshop rather than a class.
The description said if you want to have stable income, want to work from home, want to experience a *real developer life*, etc etc.
REAL DEVELOPER LIFE. No kidding.
I do WordPress websites. Yes I use premium themes. Yes I do visual builder. Fuck but I don't call that work real dev work and I'm not proud of those projects as real dev works.
In the end, the hungrier guy gets the bread. I guess. I haven't thought of providing such courses at all.
PS : the mentioned theme is Divi from Elegantthemes. -
Before I dropped out of college,
We had a pretty big group-project.
We we're tasked creating a multiplayer version of "Labyrinth" in Java, using SE practices.
The problem was, that not all student that took the class were CS students.
So, me group consisted of 4 CS students , including me and 2 med-tech students.
Those two were nearly a dead weight.
They spoke nearly no German and only limited English,
Lied about their programming knowledge(non existent) and gave our profs false expectations about the final product.
I still can't imagine, why the uni thought they needed to take this class.2 -
I’m studying at uni remotely at the moment. I’m taking a software engineering class. I love developing software so I was super excited about this course. First assignment is to make a tic tac toe game in python. I finish the assignment super fast within the first hour of our first class.
We end up spending the rest of the fucking semester on this fucking program. No improvements, nothing. Literally just staring at this less than 200 line command line tic tac toe game talking about the same fucking shit every class.
Our fucking final is a presentation about this fucking program. The entire class is going to present the same command line python tic tac toe game
People told me that in the past, this class would find a local client and fulfill a request (making a website, etc)
However, now there’s a new prof teaching this course.
Best way I can describe it, 3 hours of this fucking prof screen sharing a google doc and droning on for 3 hours
I wish I could get the 20+ hours of my life back that this course has taken from me10 -
Not entirely dev related, but definitely shameless. In high-school we had to study CS, but it was more about knowing to use Office. We had class tests, which mean that we all had the same task and we had to finish it until the end of the class. Obviously no one wanted to do it, so whoever finished first would email it to everyone. Most people, however, were stupid enough to leave the meta data untouched, so it was obvious who was the original author. To not appear suspicious, I removed the original metadata and put my own in, and deliberately made errors in the sheet and corrected others that I noticed. I never got caught, because my work would always have "unique" mistakes.1
-
!rant. Story from my college abt 6 months old.
We had to make projects for our course.
One team made a very nice project. One part of that was mobile no. verification using OTP.
And the student who was supposed to to that, did it by sending the required otp to the frontend page, and when user enters it, validate it using javascript.
The prof got mad about it and the rest of the class couldn't stop laughing.
Just remembered. Thought it would be worth sharing. -
Why does it always follow the same format?
Me: we should do do and so because xyz. Alternatives are this and that because uvw.
Manager: no, I'll hire another manager.
[Q]uit, [T]ry again? T... fml
Manager 2: let's have a meeting.
Meeting almost ends up being about an entirely irrelevant topic. Barely get the requirements before the end of the day.
Me: write summary following conventions.
Manager 2: let's hire another manager. Manager 1: great idea, manager 2!
Manager 3: let's build a spaceship!
[D]evsplain, [R]agequit, [T]ry again?
class Manager:
"""This shouldn't be too hard..."""
... -
Simple ANTLR project for compiler class accepted .
Easy money
(btw I had no idea about what antlr was , so i googled everything :D) -
I AM ABOUT TO KICK SOME PROFESSORS ASSES!!!!!!!!!!
THOSE MOTHERFUCKERS ARE MAKING GO MAD BEYOND MY BOUNDS WITH THERE MOTHERFUCKING STUPIDITY AND SELF RIGHTEOUSNESS.
LISTEN YOU FUCKS I WORK AS A PROGRAMMER TO PAY FOR MY FUCKING TUITION. NO IT IS NOT A PART-TIME JOB. I FUCK UP MY SCHEDULE SO I CAN CAME HERE TO THIS SHIT LEARNING SOMETHING BECAUSE YOU FUCKERS DO NOT HAVE A LECTURE AFTER HOURS.
SO WE I SAID THAT I CAN ONLY CAME TO THIS CLASS AT THIS TIME AND DAY OF THE WEEK I AM NOT BULLSHITING YOU.
SO DO US A FAVOR AND STOP BEING SO FUCKING STUPID AND GIVING ME THAT CYNICAL SMILE YOU PIECE OF SHIT.
FUCK YOU FUCKER AND YOUR PIECE OF SHIT CLASS.2 -
I can't stand Swift's initializers. No other languages have the problem with constructors/initializers that Swift does. It's a complete failure of a feature and to hell with safety if it comes with this cost.
Just to illustrate how ridiculous it gets, I want to have a class where my initialization logic can be split among reusable parts. That is, the logic that initializes the class with no parameters has logic that I want to reuse in my other initializers. Simple DRY stuff. Well, the only way I can do that in Swift is if I use a convenience initializer that calls another one. But convenience initializers have completely different rules from designated initializers (again, something only Swift does).
For example, you can't access "self" until you call a designated initializer. You can't chain designated initializers, and if you want to chain anything in the same class you have to handcuff yourself by using a "convenience" initializer (there's nothing convenient about them, I might add).
So now I want to subclass my class and initialize myself using one of my superclass initializers. Oh but the one I want to call is a *convenience* initializer so I can't, unless I turn my new initializer into a convenience initializer. Except wait, a convenience initializer must delegate with self.init(), so it can't even call a superclass initializer!
And it just goes round and round and round. I don't know if I should try to convert all of my initializers to convenience initializers or the other way around.
Why all this nonsensical madness? Get rid of the distinction and go back to nice clean powerful initializers like Objective-C. I mean what does it have to take? This is a complete nightmare.13 -
So I recently finished my Abi (final school exams thing in germany) and got relatively good grades. My IT grades were good, I was best of the class. So two local companies gave me some neat gifts (the best of the class always reveive some presents). One of the companies I was thinking about applying to even gifted me a Bluetooth speaker (thanks for that!).
Now comes the bad part: I looked up the speaker on amazon and now it thinks I want to buy it. I get ads from that exact speaker EVERYWHERE although I already own it. And no, amazon doesn't even think about showing me ads of other articles I've been looking at way more often and way longer.
Wtf.8 -
if you want to encounter 400 lb angry virgin programmers go on r/Python and suggest they should add a static keyword to their classes.
They swarm out of the woodwork and take turns trolling you until a mod bans you for responding in suit.
Its amazing, the dumbest lack of language feature and they're like
'me no want the extra keystroke me like code that can lose peopel, me fo fucks no never, not gonna happen, you asshat, haha, now go bye now, *click*'
valid argument is python classes are lacking in decoration
this i suppose is ok overall, i mean they work. except the issue i was having the other day resulted from a variable not being DOUBLE DECLARED IN BOTH THE CLASS SCOPE AND INSIDE THE CONSTRUCTOR LIKE IT WAS A JS OBJECT BEING INTERPRETED AS A STATIC FIELD !
ADDITIONALLY IF THEY LIKE CONCISE WHY THE FUCK DO ALL THEIR CLASS METHODS REQUIRE YOU TO INCLUDE ===>SELF<== !!!!
BUT NOOOO TRY TO COMPARE SOMETHING SENSIBLE LIKE
MYINSTANCE.HI SHOULD NOT BE STATIC
MYCLASS.HI SHOULD BE STATIC AND THEY GET ALL PISSED
ONE ACTUALLY ACTED REJECTED FOR THE SAKE OF HIS LANGUAGE SAYING 'YOU WANT WHAT PYTHON HAS BUT YOU DON'T WANT PYTHON !'
...
...
...
I DIDN'T KNOW THEY MADE VIRGINS THAT BIG!40 -
We were 4 dudes developing this little disposable material management system for a course in college, and we had to write documentation and present on the last day of class. Second week into the course and one dude goes rouge, not taking phonecalls nor replying to messages, just goes to class and does not get together with us to make progress. Neddless to say the other three of us had to do all the work. Fast forward to last day, all of us wondering where this dude could be. He shows up 6 mins before the presentation, already late, reads like 3 pages of the doc, and decides he will be the lead presenter.
>Mfw he takes over and starts bs'ing the whole thing.
>Mfw he mentions the possibility of the system to be extrapolated to manage salami in a butchery.
>Mfw the professor seemed to have swallowed all that bs like cake.
>Mfw we get an A, including him.
>Mfw I have no face4 -
Unpopular opinion but I really don’t have any sympathy for people who have been laid off at tech companies. Everyone knows it’s fucking volatile. That is coming from someone who has been laid off in the past year. Out of all the wealth classes of our society, I have no sympathy for people in the richest career field in the world. They will undoubtedly find work and be able to support their high class lifestyle. Let’s start having sympathy for people actually sleeping out on the streets you dumbfucks.15
-
Hey guys
I'm starting my first programming intern job in a week.
It's a big company and have many projects and they liked me because I knew some Java from college.
I obviously have no industry Java experience but am looking to review the book used in my class & the projects I did.
I'm still kinda nervous a little cuz I don't have any idea what it's going to be like.
What could be advised to do while waiting a week? Any good Java brush up idea
Thanks3 -
"Non-technical" users must have some magic skill that goes beyond my understanding. How can anyone work with no-code page builders? I tried Wix, Webflow, Gutenberg, Elementor, Divi, and Semplice. Each one sucks in their way, but they have one thing in common: their UI behaves even more erratically than Microsoft Word.
Is there a "non-technical personal computer user" class where people learn that logic? How did they manage to hide their secret understanding from developers? Or what did I miss?8 -
Without getting into politics as much as I can, is there any black sw developer who is genuinely hurt by usage of blacklist/whitelist, master/slave terminology? Or is this sudden sensitivity a bullshit from white liberal silicon valley types who live in the most white populated, rich areas who have no lower class black/hispanic friends but still get offended on behalf of them?10
-
It’s very annoying that at my school we barely get any coding at all and to top it off it’s in a typing class using block coding. Considering it’s in a TYPING class you’d think they’d’ve used their typing skills to use but no, they instead use block coding meant for like 4th graders. This is why I say we need more coding classes in schools. Not only that but make it more mainstream1
-
No best story, but definitely a worst human to ever exist. The first day of can class, I asked this guy what language we would be using, and he sincerely said "English". This man thought I was referring to that, legitimately. Never for one second did he think that I meant programming languages, since we ARE in a cs class. He then said that for programming languages he wanted to do Python and or html. I lost all respect for him the first day.3
-
Jesus fucking Mary... I spent 30 minutes debugging why my bean wasn't being fetched and literally I decided to retype the class name for context.getBean(beanName) and it works... there was no difference whatsoever in the fucking spelling!!! Bullshit.4
-
So I'm studying at a university where everyone who studies electronics has to do the same "internship" where we have to program some microcontroller.
For most of us it is the first time programming with pointers and working with the register (C++). But the institute who does this shitty internship manages to FUCK up the class description and even the classes and methods they give you.
In the class description there are methods missing so you have no idea what they want you to do with that method and then they write stuff in the class description that aren't in the class and you don't need. For fucks sake how can you fuck up such a simple task.
And then their shitty template is wrong. If you expect your students to do well please for fucks sake make sure you give your students the correct classes and descriptions. Many students won't fucking know what is wrong because the never programmed in C++. The best part is that they are doing this "internship" for more than 5 years.5 -
In freelance world,
Some Computer Science degree holder (from client company) explain how good are they in Software development.
But when as soon as my team and I (after got criticized by this guy for the fact that my team and I don't have a degree in computer science) review their code, the code is a bunch of spaghetti! No proper Architecture, no documentation, and everything in one class?
Damn...4 -
Just had a class where we had to write a heap adding algorithm in Java to reduce rounding error for x amount of floats being added together
After an hour of writing code with no testing anything I finished. Ran the JUnit tests provided by the teacher and it passed all the tests!
Who says it can't work the first time?2 -
Data representation is one of the most important things in any kind of app you develop. The most common, classic way to do it is to create a class with all the fields you want to transport, for example User(name, lastName). It's simple and explicit, but hell no, in my current company we don't play that kindergarten bullshit, the only way we know how to do things here is full hardcore. Why would anyone write a class to represent a Song, a Playlist or an Album when you can just use a key-> value map for pretty much everything? Need a list of songs? No problem, use a List<Map<String, String>>, OBVIOUSLY each map is a song. Need a list of playlists? Use a List<List<Map<String, String>>>... Oh wait, need to treat a value as a number and all you have are strings? That's what casting is for, dumbass.
No, seriously, this company is great. I'm staying here forever!1 -
*Writes magnificent class for company that makes code safer and faster. Nothing proprietary but super useful.
Me: yo boss I just wrote some sick shit, can I use it my projects too.
Boss: No, all your codenz belong to me4 -
Took a software engineering class at my university. The class was online which is common at my school.
The entirety of the class ends up being the prof. scrolling through a google doc while sharing her screen. No watching her program stuff, no opportunities for us to program in class, nothing. Basically like reading documentation for 3 hours.
The final project? A fucking command line tic tac toe game written in python.
My group asked if we could do a tic tac toe multiplayer web app instead and she denied us with no reason
Complete waste of time1 -
The CS instructor who was (maybe an adjunct?) who no matter what homework we turned in gave us randomly different grades. We actually all handed in the same hw one time to see what would happen (only changing variable names and such), and confirmed it. Also, he used to call me J-Lo when I'd raise my hand to answer questions. (I was fit and am Latina) The second time he did it, I sternly corrected him in front of the whole class. He stopped after that. And yes he was gone from the school soon after!5
-
Something they don't tell you about c++ development until it's too late: cross-compiler compatibility is an enormous monster.
When I worked with C# creating a DLL and distributing it to others is a completely transparent process, there's no special considerations required at all.
In c++ you basically aren't allowed to use the standard library in many cases. You can't just export a class with a standard string as a member because when another person goes to use your DLL, the string might have a different implementation.8 -
Best way to deal with office politics?
As background: we have our own implementation of some C++ data structures, including an "Array" class (basically the same as std::vector).
A few years ago, the senior guys on my team refused to add new features to it for (seemingly) no good reason.
So senior guys from another team added the features anyways, in THEIR repo.
My team couldn't stop them, but refused to allow the new features in OUR repo, so now our Array is split between two repos for no good reason 😢.
Two years later, here I am, hoping to clean this up. As far as anyone knows, there's no good reason to have it split up like this.
How do i convince my team that we should move the code to OUR repo where it belongs?7 -
In the lab:
"Look! I have compiled and that gave me no errors! On the first try!"
So I look closer and
"Dude, ehm.., you are compiling the wrong file..."
Then he tries to compile the right class and the compiler returned errors on errors
"You know what? I hate you."
Never laughed that loud -
Alright i make jokes alot of times for fist over ip but damn there's just so fucking many people that it could be useful on. Somebody needs to figure this shit out where i can go dark side and just choke a dumbass no class asshole out.
-
Back 2 school tomorrow (and a new one)... Hoping that computer class will be interesting and no shitty stuff6
-
Some old cool warning:
"class X' only defines private constructors and has no friends"
(using a singleton pattern implementation)1 -
The assholes in my class (or just my classmates) keep asking me:"Yo, man, do you hack to websites and stuff?" And I always say " No, I don't really know how" and they keep saying " why won't you learn how to do this, shouldn't be that hard" and it's getting really hard to explain to them that I have no desire to ruin someones day, I just want to help people and make others happier. Any ideas for new answers for these questions?
Or, if you like, any good websec books?10 -
- The golden rule of CoffeeScript is: "It's just JavaScript".
- Nice!
- And provides a basic class structure that allows you to name your class, set the superclass, assign prototypal properties, and define the constructor, in a single assignable expression.
- No nO NO NO! -
More marks for a bubble sort.
For those of you that know the bubble sort you may share my frustration. I built a simple python program that took three integers and sorted them using a series or compound if statements using no built in low and max functions. Someone in my college class did the same thing but used a bubble sort and got higher marks. This angers me, I had to write an algorithim in a language I had barely touched but this person just used old scrappy code and got higher marks. Only a little tease but you get the picture, bubble sort is inefficient.2 -
“Your code is so shit I could use it to torture people.“ - Some random kid from my Computer Science class (No, it wasn’t directed to me)
-
Somehow I wrote some code that ended up comparing a string type object against a pointer of an unrelated class. There are NO functions to convert that class to any kind of string representation. Let alone ones that would allow that to happen in C++.
WhyTF did the compiler not pick up on this?5 -
Every once in a while the flexibility of dynamic types comes back and bites you in the ars:
So I created method that returns the date significance (day, month, year) or null when no date is set.
I chose a class constant DAY with the value 0.
This is not a problem in if statements as I always use === but in this case a switch made more sense. And as you can guess no date set (NULL) was handled in the self::DAY (0) case... 😐😑😶 Silently resulting in wrong results when no date is given! #£#@$& (and other comic swearing symbols)
Even though php7 finally has decent type hinting resulting in much clearer defined API's we can still go very wrong.
More love to Go for less verbose static typing! To bad we can rarely use it at the office 😥2 -
In my high school we just finished our prelims (Aka, Test Exams, Just to see how we are doing). I failed everything except computing. In Higher Computing I got a B (3-4 Marks off A), and I was the only person in my class to pass, and we are the only higher Computing class in the school. And there is no Advanced higher Computing class.
And I was one of only 3 of the S5s taking it, Everyone else was S6.
I feel more proud than I probably should.2 -
At internship with a fellow student from my class, making a SqliteHelper class in php to make things easier. Delete methods only have only one parameter (Primary key)
Coworker: "Why do you use the primary key as parameter? The user has no access to it!"
I can't express in words how close I was to snapping. -
I code for 2 1/2 days straight, I'm in the zone, no comments, because I'm not in some comp sci beginners class, finish up, test it the only problem is with... All of it... Just considering writing another program to comb through that one and find the mistakes for me3
-
Easy one,
Got there for job Interview,
Then a 1week internship with another person,
After the week they called me upstairs and said I got the job.
Few Weeks later I signed the contract.
And no the other Person didn't get the job but is now in the Same school and class as me. Irony is a bitch... -
Yesterday while learning some basic php stuff, prof was telling us about text fields and how php auto converts HTML and JavaScript.
He said to test it out before class, he wrote a lil JS script and submitted it to a text field using IE and then again using Chrome.
IE let the script run no problems (big surprise) but chrome blocked the script from running.
He doesn’t use Firefox, but I just recently switched from chrome to FF so I tested it out in class on FF.
I was surprised to see FF ran the script no problem. Surprised because I made the switch because of security reasons, my partner helped me secure all my shit and we both switched to FF cause every resource suggested it.
This is just one small case that I feel isn’t a huge deal, my prof said any decent dev will strip tags or whatever, but made me think: are there any other security concerns with FF? Am I right to consider it a more secure and therefore “better” browser?4 -
Okay, so there's one guy in my class, which offends me for no reason (I don't give a f about that), and then few minutes later he comes to me and asks "can you make forum/launcher/website". So I say no, because I'm not gonna waste my time for free... So he offends me even more.
When I was telling "Sure, but that will cost you X PLN (Polish Nominals)" - he laughed.
This is really annoying.7 -
Gahhhh!!!! I just finished a project that let every kid in my school have a perfect class scheduler, gradebook, etc., in java. Now I have no idea what to do. I want to do something in java because I want to have a very strong base in the language. Do you guys have any ideas?4
-
Please don't speak if you don't have anything of value to add. Professional world is not classroom where you get marks for class participation. There's this guy in my team who is supposed to be developer but acts like analyst/PM, talks shit, mostly repeats what other have already said. There's no single meeting where he hasn't spoken or added anything valuable. Hate him.7
-
very interesting how uni stressed me tf out but is still better than school has been.
I'm taking a class which has a theoretical and practical part, and there is a guy leading the practical lesson. and after struggling to find motivation for studying, this class somehow probably gives me my hopes back... even though I'm way less capable than the rest in what we're doing, I still can follow everything, which is very suprising to me because I'm always behind and the class has some recommended classes I should've taken before (but I failed some or didn't take them at all)... I still can follow the class somehow?
so... school taught me to not ask question because even if they say there are no dumb questions... the possibility still existed that I could ask a dumb question (shoutout to my math teacher in 3rd class). so... I stopped and when I didn't understand something I gave up.
now... this class makes me feel differently, I can ask questions and the guy I've talked about talks to me normally, talks to me as human beings should talk with each other and doesn't judge me for making a mistake, because... mistakes are human and when I allow myself to ask questions I can learn from it.
this is really a weird epiphany I had this week
and I also don't know if anything of this makes sense1 -
me: *Taking Applied Statistics with R in the Math Department in my college*
classmates: "Did you get what's going on in that class?"
me: *never took statistics* Well I can get the programs to run, but I have no idea what they're telling me"
classmates: "I might get what's going on... if I could get the code to work."
me: "Well we're both doing great, then"1 -
Imagine a "development" environment with no vcs, no APIs, no general hierarchy for db admin or software development, no test environment. Well this was my first job.
Quite literally a dumpster fire.
I know I'm not a world class developer but I still think this was beyond unacceptable for a software startup.2 -
Calculus sucks. My proffessor is good, but I have no idea how to Differentiate functions.
My CoSc class is much funner7 -
Taking a class at University. Professor just gave us the CDF for the midterm scores. I have no idea how to read this.
Too afraid to ask in class!5 -
So here is my take on a shitty teacher.
I once had a microcontroller teacher, who tried to teach a class of non programmers how to code, from a broken compendium. While he was teaching he would correct errors that he found. Most of the classes would be pure theory on C and no exercises.
Needles to say after the first two semesters none of the students could program, and over half of the class had left the school. -
!dev
Today, on the Hypocrite show we have a bunch of hypocrit wankers talking meta. For example, this just in, a bunch of talkative wanker classmates, all gorls (yes, this is not a typo (yes it's for sarcastic goal (yes read it in Gru's voice (no I don't do Lisp stop asking)))), start talking about how they don't like their lower-graders talking too much they, the previously mentioned "gorls", are around and would prefer them to shut up and let enjoy their "peace and quiet". Oh I don't know, you wankers wants my 2-page 11px complain on you talking too much in class and everywhere you go?6 -
In html/css class
no don't leave hold on
my teacher called me an advanced student for knowing that the different homework assignments we had all shared the same file structure, and that you could easily copy/paste html from last week's assignment into thos week's because the referenced stylesheets and content were all in the same place
i feel good but dirty
html is litterally where i started learning -
What was your nickname given to you by others? Just please, no cheating and no making things up.
I had two:
1. “Chalk” at school, because I was _very_ pale.
2. “Wonderful librarian”, given by my wife's uni friends when my wife had a class on zoom during covid, I forgot about it, casually walked into frame and kissed her. She was at my place, and my room looked like a library with all those bookshelves I had. I was a book hoarder before depression.14 -
@college project submission
Teacher:once done print all your codebase and come with to class
Me:But sir there are better ways of submitting our code.
Teacher :what do you suggest
Me:we can a repo such as bitbucket or github
Teacher:I got no idea of that you send the code using Gmail or just print the code for your grading.
Me:for Christ sake how will I send all my android files through Gmail.4 -
I know I'm a bit late with this, but I thought I'd share it anyway.
A few years ago me and my friend were messing around in computer class and I decided to look at the network devices.
I couldn't believe, what I saw. All of the school security cameras were there, and the best part: when I connected to their ip addresses, they were just showing the live feed, no password or anything.
I didn't really do anything with it since I couldn't think of any great ideas and it has since been fixed.
Technically not hacking but still somewhat related. -
This is Node.js FYI
Exporting a single class from a file called util.js. This class only has static methods. Each method is a util function. No fucking way of importing a single method. Class abuse?6 -
In the middle of the semester, my class and I are going to have a class about threads in Java. The teacher is at his normal days, 10 minutes later he just looks at us and says "Do you want to teach? Do you want me to teach today? You know what? I won't teach today. Let's talk about each other, I want to know you more. Tell about your hobbies, what do you do besides your student life?" 😂
-
The Rise and Fall of Helper Classes
New method doesn't seem to fit into one of the existing classes so a developer creates a new class and innocently called it "helper".
Another dev had a similar conundrum and adds a couple more methods to the "helper" class.
And a few more methods added...
A couple more methods surely wouldn't be too bad. It has unit tests anyway.
After a year, the helper class has now grown to about 10,000 lines that no one is brave enough to refactor.
CTO now says, "Ok let's park this project and build a new one in Go." Fun times!2 -
Today is thursday. Oh no.
At thursdays I have a 8h30-19 schedule (I have 1h30' of free time to go home and cry after I finish a class at 15h30 though) and there's this one class I DREAD. It's a 2h class at 17h and it's an exercise class. This wouldn't be so bad it I actually understood the code behind the exercises, because they don't teach us code in the theory classes (btw it's C. I hate that language because of all this). The teacher pretty much tells us "do this exercise", waits like 10' and then starts to (try to) explain what we're supposed to do. Oh my god.
The other day he was like "write "exec ( ... "text" ... )", compile and execute". It didn't work. Of course it didn't why would it? I was switching around between terminal, manual and text editor, to no avail. In the end he explained but I don't think I got it.
Every time I think about this class I die a little inside and start to become somewhat anxious to be honest. The theory is not that that hard, the practice part is what is killing me (I have test in 2w but I'm just gonna start studying earlier so I can go watch this match LoL).
Does someone know a good book (preferably online, if possible) or a good website on C? I really need to read that, that language is killing me.
Bonus: the other day I had to do a homework that was to be delivered. We had to write a program that read the program and its arguments like this:
./program_name
numArgs
arg1
arg2
etc
I wrote the code, had some bumps in the way, asked a colleague for help because we needed to have a custom function made that was to be done in the class but that I couldn't make because of the reasons above. Then it came the time to test. My VM broke (I think I'm gonna format my PC to try to fix that. Have installed some other versions of the VM but the installations fails or the machine doesn't start) so I sent it to said colleague to test. She said it did OK and so I sent the work to this website we have to send our works to.
"2 errors".
What? What happened? She said it worked just fine.
Looked at my code, couldn't see anything wrong.
Asked the same colleague for help.
Turns out I missed a space. A SPACE. I don't think I've ever felt so frustrated in my life. A presentation error in Java is a good thing, at least we know the program works fine, it's just the output that's wrongly formatted. But C? Nope, errors all around, oh my god. I'm still mad about it.
And I owe her a chocolate.1 -
finally no more lecture, no more class, holiday is here. time for side project :D
no, most of the time i hate vacation. -
It's a good intention if you want to separate your code in logical units and split it into multiple methods, but could you please stop handing the control flow through about 20 methods before even really starting with the actual logic? This mess is 10 times as long as it needs to be, because someone decided to make everything go through 10 "validate one little thing" methods for every method with actual logic!
Edit: DevRant didn't allow me to post first, now I've analysed the code a bit more and the control flow actually goes out of a specialised class into a generalised class and back (not by returning, but by calling the specialised class from the general one) and the parameter that says what specialised class to call gets written into a class variable, then read from there and passed as a method argument, then back into another class variable, then the code changes it up a bit as a local variable, then passses it as a method parameter again... First it seemed like it knew what class to call using black magic, but no, it actually just hid the fact really well that it did in fact pass the class reference through in multiple forms from beginning to end. -
So the guy who sits next to me in my class uses white theme for his IDE.
Me: So, you use white theme.
Him: Yea, I like it. So much better than darker ones. Don't know why people like it. Does it bothers you too?
Me: Pfft, no!
Me inside:7 -
I needed to create a c# wrapper class for an activex element which has functions for sudoku.
Then create a wpf interface to play it.
So far so good. Ive had c# wpf, so no problem.
Finished that
"Make another interface in asp.net mvc"
I thought to myself, sure how difficult can asp.net be?
Very difficult apparently.
At least, if you want to make a grid which you can change per cell with an x and y.
I just went to bed after i gave up, when I suddenly got an idea. It ain't pretty, but just might work -
One time, someone in my class asked for my help and sent me a file.
Pretty normal stuff, right? Well. I go to open the file. File open. It looks like a big jumble of random stuff. I looked through it, trying to figure put what it was supposed to do. No luck. So I ask him what it does. I decided while I wait I might as well try and run it to see what kind of error it gives.
It opens. And it's literally just a window that says "anime is trash".
Lel1 -
Why the fuck...!
Wrote code to import a spreadsheet... A "class code" field is in there to define the the product category... But when no products matching I find that the number is the result of a concatenation, one half of which is not in this file...
Just... Why... ?!?!?! -
💻 Four months ago. 💻
The Systems & Networks's professor said "You've to do a program that simulate the ARP table, in C."
...
After one week I had done the program!😎 (About 400 code lines)
And the rest of the class?
... One week... Two week... Three week.
Somebody had done the program, somebody else no.
Have an "informatics-stupid class" is funny and makes you look smarter. 😂🔝 -
A DSA teacher who didn't write a simple line of code in class. No, not even the pseudo code. Teaches us A,B,C,.. in class and expects us to sing songs during the exam.1
-
PHP is awesome, but it annoys me that there is no typing and that you still can get errors based on types...
Other than that, not being able to catch all errors in one catch and especially not being able to natively catch fatal errors is my biggest problem...
(not natively meaning that you can use hackish solutions but there's no "fatal error" class to use in your try catch, and you're using the register shutdown function not as intended...)8 -
I like C++, but it is seriously easy to do fucked up things:
class Test{
public:
Test(){};
};
Test test;
Test* test2 = nullptr;
Test& test3 = *test2;
Test* test4 = (Test*)0x12345;
Test& test5 = *test4;
Test* test6;
Test& test7 = *test6;
No warnings at all. I wonder if there is a flag for this kind of stupidity. Here's your sign...11 -
I'll preface this by saying that TypeScript is a beautiful language.
But also UTTERLY INCOMPLETE.
Here's what I'm trying to do: give the compiler well-defined contextual type information for a decorator's argument (a lambda signature) and for the decorated class method, so the user would not have to toil and type every single argument.
But does that happen? No.
I'm honestly disappointed.2 -
Took me like an hour to finish the final assignment in a class where each project gets progressively harder. I was shocked, I was like “there’s no way it’s this easy. What did I do wrong”
Turns out the assignment I did was not even for marks, and the actual final assignment is completely different and MUCH more difficult.
Hug!!!!!!1 -
I just found a class in the codebase which was named "Ariadne". Coz it was responsible for holding the information of where you are on the site wrt the homepage. Talk about giving meaningful names. There was no other documentation whatsoever. You know you've serious code quality issues when you expect fellow developers to know entire stories from Greek mythology to understand the code.1
-
Not sure if other programming languages class a Boolean as an integer value buuuuuuut...
The amount of times I've seen people do code such as...
if(value == true) {
variable = "blah blah";
} else if(value == false) {
variable = "blah";
}
Instead of doing a simple 1D array and going...
variable = strings[value];
It drives me crazy, such a small thing that has no real benefit but... Ugh... Whyyyyyyy3 -
In a class right now. The rants are more interesting than what the professor is teaching!
How our professors teach:
Step 1: Open up a PDF of the subject book.
Step 2: Read everything line-by-line.
Step 3: "Refer the internet".
Yeah, because I don't have the book to read the shit you're teaching.1 -
I remember being a TA for an intermediate java class. I tried helping as many people as I could, but some of them were doomed. Their code looked like it was written by Satan himself. I would try explaining why their code was bad, but it was like speaking another language (no pun intended). It was also the first class where people needed to use git... I don't need any more explanation there.3
-
Im taking an AP class for Java at my school. (AP is like an honors class). But there is an standardized test throughout the US that everyone takes. But it's so annoying because you are not allowed computers on the test so you have to HANDWRITE all of your code. So the way we "practice" for the test is in our class is we use a buggy ass program called greenfoot which is worse than writting in notepad because it crashes every 5 mins but only on Windows computers and since I go to a school and everyone it a retarded they all have Macs so my Windows laptop is a "non issue" like wtf. So now I just use intelij and tell the teacher to fix it but our school has a code where teachers are not allowed to touch laptops so he's just stuck right now.
Forgot to mention that the reason why we use greenfoot is because there is no auto fill features not even closing brackets automatically which "makes us learn better".
Also all of our tests are hand written which is annoying.3 -
Class normal people:
Def good day:
"Manager was out, had great lunch, got a. special someone's number, successfully avoided traffic, got in special someone's pants"
Def bad day:
"Stubbed toe this morning, rained all day, broke up w. special someone, sat in traffic for 2 hrs"
Class software dev:
Def good day:
"Wrote lots of working code, little to no bugs, checked in no-probs, ahead od schedule for ship, extra time for ping-pong!"
Def bad day:
"Somone fucked up the latest build, coffee machine's broken, ran out of adderall, manager on everyone's @$$ for a fix, 5 hrs later...no fix, no blames, no coffee, board meeting; fml" -
!rant
So got into a small debate (actually a civil one, surprise surprise) about the final project for a class. Basically the final project involves a team of 3-4 coders making a website for an actual client that either they find or provided by the professor.
The exact point of conflict was that the work is pro bono. The student argued that the work should be paid since after all, real work, real client. My argument is that because the clients don’t exactly choose the designers (or have little to no knowledge of most of their work) there will be high variance in quality and contract work would cause more conflict if done in class.
So just wondering, what do people think about this? Logistical issues aside (earning money for technically school property/ownership and money for learning essentially)6 -
In our class we have one subject where we take notes on one shared Google docs document. To be honest, this may be the worst "teamwork" that I every had to deal with.
• Simply copying the stuff from the blackboard:
• Missing context
• document consists of keywords and occasional sentences
• These fucking deep nested lists
• No quality control whatsoever
--> nobody fucking cares
• What, nobody made notes for this point?
• Any attempt to speak up result in me being scolded
• Be me, the only one not shopping on amazon instead of taking notes
• Wtf does this mean, where's the context
• one line of code without needed context code
No quality, no Motivation, no better alternatives, no fun. -
Here's a story about why putting util functionality in a generic parent class is baaaad. So we run into a bug where an online shop module we develop causes a third party module to break the entire site until the session expires.
We track the bug down to the fact that the third party module has added some functionality to the part of the shop that deals with the cart and that functionality expects that one of the module's libraries is initialized. But as it turns out another of that module's libraries that is loaded earlier is fetching the cart and thus triggers our module which adds gifts to it.
Now, since we need a deeper integration with the cart to make gifts depend on the cart contents we call the part of it that now depends on the third party module's unloaded library.. So we think changing the order the third party libraries are loaded will fix the issue, only to discover the unloaded one is a child class of the first and the cart is fetched in the parent constructor. The parent of course then turns out to be a generic util class, inherited by all the module's libraries, so whatever order we load them in, the constructor is always called, so we had no other choice but to dynamically disable our module during the initialization of those libraries and then patch the updated cart contents into them after they've all been initialized.
At this point we get curious what that module's doing with the cart contents only to discover.. nothing. It's just that the parent class is full of utils and data fetching that the vendor reuses in all their modules.. -
Let's go down the memory lane back to freshman year in college as a Computer Science student in my Intro to Programming class....
I remember I was lost as to how the professor created this simple variable below:
int a = 5;
I had no idea what was going on there. haha. looking back to it and seeing the projects I'm working on now puts a smile on my face..
I asked questions. Even the dumb ones and that's what helped me to now..programmers always ask mates or search.
Do you guys care to share yours?1 -
TLDR: RTFM...
My dad (taught me how to code when I was a kid) was stuck serializing a Java enum/class to XML.... The enum wasn't just a list of string values but more like a Map(String,Object>.
He tried to annotate it with XMLEnum but the moment I saw this enum, I'm thinking that's unlikely to work.... Mapping all that to just a string?
He tried annotating the Fields in it using XMLAttribute but clearly wasnt working...
Also he use XMLEnumValue but from his test run I could clearly see it just replaced whatever the enum value would've been with some fixed String...
Me: Did you read the documentation or when the javadocs?
Dad: no, I don't like reading documentation and the samples didn't work.
I haven't done XML Serialization for years thought did use JSON and my first instinct was... You need a TypeAdapter to convert the enum to a serializable class.
So I do some Googling, read the docs then just played around with the code, figured out how to serialize a class and also how to implement XmlTypeAdapter.... 20 mins ...
Text him back with screenshots and basically:
See it's not that hard if you actually read up on the javadocs and realized ur enum is more like a class so probably the simple way won't work...2 -
When comments find their way to class tests:
“TODO: Finish conjugation of montre in the whole text”. I had no idea of the conjugation and finished under time pressure so this stayed in the class test (gave it back last second) and I was well aware of it.
Just wondering what the teacher must have thought. Didn’t say (or write) a word about it tho.
Should see if someone tweeted or posted this (I mean someone wrote a book only with examples of stuff like this)
Idk, I should ask if I’m allowed to write class test in an IDE. And set MARK, TODO, etc. Would make them a lot easier.30 -
I'm doing a project for uni in Omnet (C++ framework that should facilitate working with networks of queues, simulating and displaying statistics).
I needed to retrieve a random value from an exponential distribution, and the function to do so requires a random number generator as input. The framework has 2 implementations of the RNG and I picked the first one.
I spent 3 hours trying every possible thing, using both the exponential() function and its class wrapper (both provided by the framework), it was always returning 0 or NaN.
The RNG was spitting out values correctly, so I thought it was okay.
When I was almost ready to give up, I figured I could try and change to the second implementation of RNG, expecting nothing to change. And it fucking worked.
Zero reports on this behavior on Google, no apparent reason why it would work with one and not with the other when the two RNGs literally implement the same abstract class and spit out the same exact numbers... Just black magic...
Oh and cherry on top, it works with the raw function but not with the class wrapper on that same function... IF YOU GOTTA IMPLEMENT SOMETHING IN YOUR DAMN FRAMEWORK THAT DOESN'T WORK, FUCKING DON'T! 1 combination working out of 4 is not good! Or at least document it!
Sorry just had to share my pain -
Why isn't physics an optional class in my computer science degree?
I mean, why would they assume I will need more physics in my life? I had physics until my senior year in school, we're pretty much learning the same thing! The only purpose I see in this crappy class is to lower my average, I will never need to know how to measure forces, sound waves or magnetic fields.
I know some people will need some of this in the future but it's a very small portion I bet.
I've always hated physics and to make matters worse I need to go to exam (if we fail the class by tests we need to go to exam) and I've been studying ever since the semester is over when I could've been on vacation and studying stuff that really matters, like how to make gui's and playing more with Linux and C. But no, I have a shitty exam in the 13th (Friday) and because of it I only have 1.5 weeks until classes start.
I just hate physics so God damn much...6 -
Mine was quite recent. I discovered that there's no real pre-existing way to create an SQL statement in C# when the number of targeted columns and the number of conditions is not predefined, so I custom built a reusable class that I now keep in my collection of tidbits.
Of course, someone here is going to tell me that there is something already.4 -
Colleague's thought process:
Hmm I have observables but I don't understand shit.
Hey I like listeners let's add listeners to all observables.
Should I make the method return an observable and subscribe my listener to it?
Nah I'll erase everything and pass an anonymous class listener to the method so no one can chain a few calls together.
Fuck you and I hope you're reading this!!!
Time to rerewrite 2k lines of fucking code.... -
aight cool so this is fucking stupid thanks Tk
my python teacher is putting us through Tkinter right after "this is how to do basic math" in a class meant for those with no programming knowledge at all
and i remember now why i only do CLI
i've got 2 lines in a func (because "command" params in Tk are fucking retarded), the first changes the text on a button and then the second does shit with os.system ("have this button change this other button then do *something*" ok sure) and yet the button's text does not update until AFTER THE OS.SYSTEM COMMAND FINISHES. I can't even insert a moment between them for it to update in case it needs a sec as time.sleep does *FUCK ALL*
fuck tk, luckily we're gonna move on to files next
(goddamn prereqs, sticking me in this shitty class...)8 -
Why does it have to be so difficult to get unit tests to run? Spent about an hour yesterday trying to get a single test class to run and it kept complaining about a compiler error in a completely different module. Went to the file and there was no error. WTF?!
In the end, checking the “delegate build actions to gradle” box made it go away. why..... -
Fuck
Threw together a quick Python/Qt app that would have been exactly what we were looking for...but no...the one class method I absolutely *need* isn't available in pyside2 yet.
Stupid asshats can suck my bologna pony.6 -
So last semester for my English class, I had to learn a "new skill" and write an essay [the final] about it. So naturally instead of taking the time to learn something new, I just slapped together a c# (in which I'd say I'm already fluent) calculator app with winforms.
When it came time to present my "new" skill to the class, everybody was overimpressed. Then at the end of my little presentation, one guy goes "Oh! Is that all done in HTML?".
Without giving it a thought, I instinctively replied "No, it's a programming language". He just looked so confused after that. -
Inb4: I swear I am not an asshole.
Ok, I did a year of business, judge me all you want. Now I'm in CE. So we were learning VBA basically for those managment files that you preprogram to do your enterprise finances...or your grocery store list. Anyway, I was not paying attention to the classe, we were learning "For", so I was on Facebook and doing nothing along with my friend. The teacher caught us and decided the whole class would take a surprise quiz right that moment, because "some people think they know it all". So, all the class got bad grades because he was pissed at two students out of 56. Dick move!
PS:I got an A, so I am just stating that he was a dick to the others guys for no reason -
Well, mine is pretty different.
Year 2006.
I was in class (grade) 5 when I first introduce to computer, it was mostly restricted to windows painting software (I forget The exact name of software). It was fun. At that, computer are not used widely use. In my school, we only do painting, making colorful picture. No internet available!3 -
i got put in this stupid intro to computer class and it's so fucking pointless. the teacher is clueless and 29 years out of date in information, all we do is fuck around with windows and everyone acts like wow it's so amazing despite being the most basic features. this damn teacher assigns home work too and i use linux at one, NONE of my computers at home have windows and i have no intention of using either windows or os x . this teacher knows that i'm very proficient with computers and treats me like an assistant, while that's cool and all it's not within my interests. this class period is a literal waste of my time.2
-
Had a lab for class that asked for something super simple in Java. All you had to do was submit your source code when it was done, go through some test conditions, and if it passed you were free to go. I finished the work in 10 minutes, yet spent the next 40 trying in vain to submit it. The work was fine, I knew it was right, but no matter what I changed, the damn thing wouldn't accept my work. After countless attempts and changes, getting the professor herself over there looking at it, I finally figured it out.
I was submitting the class file by mistake.
Some errors are harder than others, I guess. -
In year 2000, I was 10, Tunisian government had made it possible for middle class families to get cheap computers and pay later. So my dad brought one home.
I played with it then I got more interested in what was inside.
Think of it as a 10 years old with no prior experience playing puzzle with computer parts.
It can't end well.
But the thrill I felt while doing it definitely had something to do with my career.
Hint: I don't do hardware :v -
Learning Java after learning python for School and helping the new programmers who are in the class I finished last term. I see python code and get nervous because there’s no semicolons or curly brackets, but then again I’m like “Fuck I miss python!”
But I’m usually the go to guy when people need help because I make YouTube tutorials for my colleagues to help them understand what I’ve learned, and share flash cards on quizlet, and generally tell anyone if you need help I’ll help. -
took me 3 nights (i spent my daytime working out) to refactor our whole system cause i made a huge change to the class that we are using to all of our stuffs, no regrets.
I'm the one who made the class, and I made that when i'm not that really exposed to web development, but when I learned lots of stuffs, I saw that the class I made that we are using is not really that fast and there's a much easier way to implement such thing.
i want to punch myself every night, but then i care for our project and of course our first big project that can be seen and used by many.
//been too busy to rant, but not too busy to check devRant every time when I find myself on a break. -
Fuck Java. Why does the syntax have to always give me such a headache. It is a language where I know what I want to do, have a general idea of how to do it, and have no fucking clue what the syntax looks like.
My guess is that it all makes sense after 3 years of use. I don't want a Java job, I just want to pass my class. Fuck Java.5 -
Error Message : No ClassToInherit class found. There must be a class which inherits from ClassToInherit in the namespace 'blah'.
okay but there is a class in that namespace which inherits from ClassToInherit.
I hate private frameworks. -
Met in c++. I read the course book the summer before and decided to ditch the final review class. He followed me as the instructor said "There are two guys that don't need to study!" I waived and said, "NOPE" and kept on walking with a wave. Proved it with an A. no clue what my friend got but 20 years later we are still working at the same company.
-
My first dev project was back in the third grade. I made a simple (and hideous) HTML website. No CSS, no JS, just plain old (and I mean old) HTML.
Showed my whole class, there was much awe and wonder.
</end story>2 -
My colleague checked in the compiled java class files on every commit, until i could convince him that this makes no sense. 😂
-
Read this and tell me OOP (or at least C#) isn't broken:
https://levelup.gitconnected.com/5-...
All I want to do is mock System.DateTime is for a few of my tests, and I ended up going down this rabbit hole of absolute horseshit: build a custom class that you can mock in tests, blah blah blah blah, uhhhh... YEAH NO
Such a simple functionality / need, and yet there is no easy way to test for it. Sigh.16 -
When you realize you are blocked ........
Background:
A simulation I am working on stopped working due to some linking errors again. I looked it up online and followed some suggestions. Deleting the project from work space and reimporting it. I also created a new workspace and compared binary files with another similar class. The makefile seems to be detecting it. It just doesn’t agree with he file syntax although it’s correct. Oh no ....
Me: “You gotta be kidding! I just want to code .....!”1 -
C- let's See
C is a procedurally developed language follows sequential method of solving a problem.
Example
If a teacher of an Institute teaching various subjects, Maths, English, Science and History.
Case1.One student comes and asks teacher to teach English
and next student to teach Maths,
And the other to teach History.
Case2.Next students comes for English
Case3.Other one for History.
So what I understood regarding C is procedural language is
It completes first case1,next case2, and then case3. (Task after task)
Here English is taught 2 times seperate
And History too 2 times separately making time and process complexity.
C is a platform based high level language support only desired platform. If I program in windows with i3 processor , it runs only on the same OS and Processor, if code is run in other computers.
Single threaded, if a code is interrupted in between, stops there and doesn't allow other part of the code to run.
Java
In this if the same above cases encountered then and tell
Computer to create a Class of English and tell all the students to attend the class(time saving, No complexity and not repetitive)
Same way Creating History class and make all students attend the class at once.
Students may be the objects created.
Multi threaded language, if a task is interrupted following code cannot be stopped. Allows other part of thecode to run.
JVM- Java virtual machine allows Java code into signs that can be understood by computer. Where as C converts into binary code.
A class concept added to C language become C++rant support rant learning to code want to code jvm newbie asking high level languages are cool discussions java c mistakes3 -
I only prefer { on same lines if not used for class constructors & try catch blocks..
Other than that, I adapt to the existing codebase styles, to not fuck up things further, even if it makes no effing sense (old project, styles & best practises changed 'a bit')..
So I guess I'm being influenced most by the old code and pass devs on the projects..1 -
I am going to start a big project (6-10 weeks) in my computer science class and had an idea to create an application that allows the user to share their mouse and keyboard over several computers regardless of OS. I plan to do the project in C++ but have no experience creating applications with C++. Firstly, is this project possible in. NET Core? If not, could you point me to resources or give me some tips that would help me in my project. Thanks.6
-
So we got this new teacher last year. He is a decent programmer but has never made anything using C#.
When he had to start teaching it to the first year students he wanted to practice.
He made 1 cli program that only used 1 class besides main and that wasn't even used properly.
His words after he was finished: "I'm now a C# expert"
What!? No you're not! Why don't you just take the student course so you know what you have to teach next week!? -
Just had the displeasure of working with knockout, how is it that a JS library can be soo fundamentally flawed that you cannot concatenate a string with a variable inside a binding definition.
All I want to do is create a css class using the value of a variable inside an itteration with a prefix, so that I can write other less bad code to get around KO's other limitation, but no, you cannot concat, why would I want to do that inside of javascript.
Useless pile of tosslet2 -
*in class, last year of masters program in cs*
Lecturer is talking about how digital signatures are used to verify software
Some Guy: I don't get it, what are signatures? How do they work?
*first facepalm*
Lecturer proceeds to explain signing using RSA quickly.
Some other guy next to me: Wow that's cool! Had no idea that this is how it works!
My brain: We've needed this knowledge since year 2, HOW ARE YOU HERE??? -
I am busting moves rn. I'm in the bathroom but the surge of energy is making me pump my arms like the time Leo Messi scored a clutch winner against Valencia in 2019
Remember the plugin I referred to in this rant? https://devrant.com/rants/6019851/...
Yup! I managed to subdue that fossilised codebase. Effected all changes required. To have a rough idea about how ancient the code is, its classes use constructors predating PHP 5. It throws away the ~15 years of autoloading, view templates, routing engines, DI, ORMs (NO PDO!!), lower-cased multi word variable names, etc. I'm looking at SCRIPTS with raw functions north of 4-600 lines. The client insisted I zip the folder across
BUT! The good news is, we surmounted it. In fairness to them, it's commendable for one man to have pulled this off. The codebase is massive and appears to have been predominantly written by some Gideon dude. Who knows where he is now
There is one pattern I appreciate –something I wish Transphporm does–some segments of the rendered view are composed using class methods ie instead of having the HTML file mixed with templating syntax, you have class methods that receive the raw data. Then you can extend this class as you wish, overriding just the method that composes the segment you intend to modify. That was elegant to work with. But it can become dreadful if the class expects a specific structure of data (an array with weird keys) that you have no access to sourcing
So, I finally get to enjoy one good evening in 2/3 weeks. I called 2 friends to express an emotion that's not gloomy, but they were unavailable. Will probably get some sleep4 -
So I’m taking a class on compilers (currently a college student) and as I get further into a coding project we have to do I can feel and see my code degrading into a giant mass of spaghetti. Although I know that I should refactor it because it is messy (currently trying to find a balance between refactoring and actually getting the assignment done) the scary thing is some students in my class think this is perfectly normal code and is what good code looks like. Scary thought that so many people graduating from university have no concept of object orientation, reusability, etc... but what’s even scarier is most professors could not give two shits about any of these notions. I guess this is the biggest reason why a computer science degree does not prepare you for a job in industry.
-
At home. Phone and backup drives connected to the computer, nothing else (no external monitors, no mouse, no extra keyboard). I like it zen. One of the drives makes this turbine-like sound when on, which gives me the "ALL SYSTEMS GO" alert I need. Couple of albums lined up on [insert music streaming service here], boosting on the Bluetooth speakers.
I can work for 12 hours straight like that. (Twelve hours later, takes eyes off the screen, *blink blink blink*, is there any food in the house, oh, wow, my kidneys are killing me, when was the last time I took a piss?, also I should definitely take a shower, but while I'm doing that I can think about that class interfacing with that other one and making them... wait, I should write this down... sits down again)2 -
I have a class on my college on which we can choose what to do as a final project the only requisite being that we need to do something we haven't covered in any class at the degree.
I want to be a Gameplay programmer and saw that many offers ask for Lua, then I think this is an opportunity to do something in Lua and learn the basics but I don't know what to do, any ideas of a simple project I can do in Lua or a framework that uses Lua that can teach me the basics of it?
Tl;Dr: Want to do a small project in Lua, have no idea what to do tho. Ideas?4 -
Going through some code I was handed to do an emergency project... Think of an aspx site that follows no design rule, like database access directly in the code behind. No models ect. So I'm going through this section that calls a function good start. Open the function find a class that contain code to access the database.. Humm ok this part look better that the rest. Read the code that validates if it exist in the database and gets the type back. So far so good then there is a get details function call.... Open up the fct ... Started crying... There is a 200+ lines switch case that goes over the type previously fetched..... And the type is stringed compare in the biggest switch case I've ever seen.... Fthis... I'm out1
-
Symfony docs suck.
https://symfony.com/doc/current/...
when running
doctrine:migrations:execute
what parameter to pass to the fucking version to not get class not found fucking error?
No explaination in docs, no explaination in command --help. wtf is wrong with symfony devs?9 -
The Ankmocker Package for flutter
Mock your api offline by specifying the fields of your class as well their types.
You can also generate standalone data to test the limits of your UI
Installation very easy because it is a simple file that you just copy and paste in your project
No yaml required
No dependencies
Work with all versions of dart
Github link
https://github.com/Afrographic/...
Don't forget to share and support the project if you find it useful.
Happy coding 🙂1 -
Maven simplejavamail dependency import, build email, try send it: jakarta.mail.messageexception whatever, not class def found. After some googling: Depends on jakarta-mail. Find jakarta-mail dependency, include it in pom, start again: jakarta.mail.someotherclassexception, no class def found.
Yeah fuck you, too...2 -
I'm in my 4th week of a coding bootcamp. I left last nights class in tears and ready to give up. We were barely introduced to JavaScript last week and this week we're on jQuery, not to mention, I'm supposed to have mastered HTML and CSS by now. I don't understand SO MUCH of this!!! Every YouTube, CodeAcademy, TeamTreehouse, etc. video is DIFFERENT!!! No time for this, I have to make a hangman game by Saturday!!!2
-
Why does maven for eclipse not do what I want? Am I just doing it wrong, or is it too complicated to get an executable jar with all dependency plugins packaged, where no alert like "main class not found" will pop up at execution?!?
-
As I understood the Adapter pattern, you start with two given (!) interfaces that are incompatible, create a class that implements one interface, and has the second interface as a property. Then the methods of the implemented interface wrap the calls to the interface referred to from the property.
Everything is fine with that.
Now I wonder, why every other class in our code base is suffixed with "Adapter". There is some external thing to be used, like a file storage, a message queue, an email service or just something outside of the system. But the class that makes use of that external interface is made up on our own, no interface given.
So I think Adapter is a misnomer, because we do not adapt thing A to thing B, we just use thing B and call it from some class.
What are your thoughts on that?5 -
Most students find their way in damn things. I know time and experience teaches us a lot
It was really so fun but now I can't confront it
Why everyone involves in a relationship? Not worthy at all we all know but still carrying on
Can recall those days, my gang having a good talk time in class every day. No matter boy or girl, everyone was acceptable as a friend, and also neither of our talks were useless
It sucks so much when someone fingers out to find your crush. In my case, I know no one interested in a nerd and also I don't want to be a part of it. Why do those fucking bitches want a dumbass? I actually don't mean to be ace forever but still this teenage fucking too shit1 -
Android class later :) the problem is i only have 4 gig of ram for my computer, anyone willing to donate? Poor country, poor computer science student, poor me. But still goin,no excuses!!! ;D4
-
Fuck social media websites that don't allow you to embed their content with a simple iframe
Good example 👍 :
<iframe src="https://youtube.com/embed/..." allow="..." allowfullscreen></iframe>
Bad example 👎:
<blockquote class="reddit-card" ...><a href="https://www.reddit.com/r/.../...">...</a></blockquote>
<script async src="//embed.redditmedia.com/widgets/platform.js"></script>
NO I DON'T WANT TO RUN YOUR 100kb JAVASCRIPT FILE WITH FULL PERMISSIONS ON MY WEBSITE JUST TO DISPLAY 1 SENTENCE AND 1 IMAGE. WHO KNOWS WHAT OTHER NASTY THINGS IT MIGHT LOAD IN IN THE FUTURE.
With an iframe it's at least somewhat contained.5 -
To like really bother someone with the code
Just go and write in the body class display:none
No matter what the person does he won't be able to find the error😂😂2 -
I have been working on this whole day but is not able to find a way around this.
I want to create an xsd from a given Python class. I want to automate this process and we have a bunch of such classes.
What I have found numerous times today is "How to convert XSD to Python class " for which there are bunch of libraries such as PyXB and generateDS.
Asked a question on stack overflow but there is no response.
Can anyone help me with this2 -
i think google should add a button feature in google meet which gives user feature of playing statement of " yes mam" and" no mam" based on requirement of user to save students from that fucking online class in which professor are forcing students for their responses ...
i hope any one from google notice this post a nd take a thought on that -
Hey you people ever recover from translating hate speech against black guys into hate speech against black comedians however many years ago ?
How do old news storyies from
A decade or more ago with the word “trans phobe” keep getting sorted to the top of my feed ? No wonder there are so many fucked up people from middle class neighborhoods these days
They have no idea how to feel
The rest of the time they reacted to this toxic world regulating thought while promoting real actual abuse against something other than laughing at a chick with dick or a old dude in drag and a wig or mr garrison that messed up them up and made them precisely what all this shitty crap was made to do to them apparently
Confused fucked up and often evil3 -
Creating a new class to help implement a new feature. Start with my tests (going full TDD).
Feature gets more urgency given to it, write slightly less tests as deadline approaches (half TDD).
Out of time, any future tests are burnt (no TDD) as I frantically wrap up the class with not even the time to write down a plan, it's live coding at this point.