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 - "marks"
-
Professor : Explain deadlock and I will give you full marks.
Me:- You give me full marks and I'll explain deadlock.20 -
My GF just selected all files on her harddrive and clicked "Open".
The look at her face when she figured out what she have done.
BONUS: She restarts her computer, and upon start she selects Yes to the "Your computer shutdown unexpected, would you like to re-open the applications" popup 😂12 -
FUCK YOU, STOP FUCKING WITH ME! my stupid fucking colleague has just replaced all the semi colons in my repo with Greek question marks for the 5TH FUCKING TIME THIS MONTH. it wasn't funny to start, it isn't funny now, so take your fucking rat-like grin and hyena laugh and FUCK OFF AND WORK! fuck me28
-
Happened during an exam!
Had a viva session after the exam
Examiner: how much do you know about Linux
Me: (pulls out phone and shows him the kernel I have been working on)
Examiner (to other teacher): give him full marks already11 -
At my company we need to change our passwords every month and every month I add a an extra exclamation mark at the end of my password. Now after 5 years there is an unbearable amount of exclamation marks so I tried to change my my password to 'beefstew'.
Apparently it wasn't stroganoff.9 -
The GET /users endpoint will return a page of the first 13 users by default.
To request other pages, add |-separated querystring with the limit and offset, as roman numerals enclosed in double quotation marks. Response status is always equal to 200, plus the total count of the resource, or zero when there's an error.
You can include an array of friends of the user in the result by setting the request header "friends" to the base64-encoded value of the single white pixel png.
Other metadata is not included by default in responses, but can be requested by appending ?meta.json to any endpoint, which will return an xml response.
If you want to update the user's profile picture, you can request an OAuth token per fax machine, followed by a pigeon POST capsule containing a filename and a rolled up Polaroid picture. The status code attached to the return postal dove will be the decimal ASCII code for a happy smiley on success, and a sad smiley if any field fails form validation.
-- Every single external REST API I've ever worked with.7 -
Tldr :
Office Building : 1
Population: 5000
Number of PC users: 5000
No of Spare mice: 0
Day 1:
Training period commences.
My mouse laser sensor doesn't work.
Solution: Use this mouse to log in to your system.
Open the company portal.
Connect to vpn.
Enter username password.
Create a ticket for mouse replacement.
Done.
Day 3
I bring my own mouse.
Confiscated at security.
Becomes a security violation.
Day 9
I get a call from helpdesk.
Agent- what is the problem?
Me- my mouse is not working.
Agent- why?
Me- what do you mean? Something is wrong with the sensor.
Agent- clean the sensor.
Disconnects call.
Marks ticket as resolved.
Me- WTF just happened!
Naturally, I escalate the issue.
Day 15
Level 2 Agent- what happened? Why have you escalated the issue?
Me- I need a mouse, waiting since 2 weeks.
Him- No mouse is available
Me- you don't have a single spare mouse available in an office with 5000 PC users?
Him- no they're out of stock.
Me- when will it be back in stock?
Him- we will 'soon' launch a tender for quotations from sellers.
Me- time?
Him- 1 week.
Day 34
I email the head of supplies for the city office. Next day I get a used super small mouse, which doesn't have a left button. Anyways, I've given up hope now.
Day 45
I become a master at keyboard shortcuts.
Finish my training.
Get transferred to another city.
No mouse till date.
Surprisingly, this was one of the top recruiters in my country. Never knew, MNCs can be so so inefficient for such simple tasks.
Start-ups are way better in this regard. Latest tech, small community, minimal bureaucracy and a lot of respect and things to learn.15 -
Never let anyone make you believe that just because you don't have a specific skill which is 'required' for your dream job/a job you really want, you won't be able to reach it.
I've heard countless times that I could never do anything with programming/linux (server) engineering because I'm freaking bad at maths. They always said it was a requirement to understand it in order to become good at those two things.
Except for a few simple tests with 'okay' marks, I never got a good grade for it and failed it entirely at every school.
Guess who's a programmer (free time) and a professional linuxer right now!
It just pisses me off when people tell someone that because they don't possess a skill, they won't be able to make it to what they would love to do.14 -
Got 98% (31.5/32) on a French test
Teacher drops a mark from everyone’s test
Now I have 102% (31.5/31)
Teacher apologized to me saying marks can’t be over 100%
So she gives me a .5 mark on whatever I want
Started with:
- 98%
Ended with:
-100%
-extra .5 mark
...who needs mathematics... or logic for that matter40 -
Client: so how could we test this 😬
Me: you know what, send me an email at linuxxx@companyname.com and I can look if I can properly reply! Keep in mind though that this is for one time only, no further questions through that email address!
Client: Yes of course! *sends email*
Me: *tests* - *works fine* - *messages client back through the ticket system*
Client: *proceeds to send two follow up questions to my fucking work email address*
Me: *selects emails* - *marks emails as spam and deletes them*
Fucking seriously?! Cunt.18 -
In unit test
Me: *uses everything I have , writes a program with my own logic, tries to make it better by adding some user friendly features and also documents the whole code*
My Friend:*copies from textbook*
RESULT
ME:9/10
HIM:10/10
"Your code isn't present in the textbook, so I can't say if it'll work but still I've given you marks" -_-
What kinda system is that -_-12 -
Wrote a script that calms the extreme use of exclamation/question marks and capslocked rants, do have to say, it makes it much easier to read many of the rants, it also adds small stats at the bottom of the rant
may sound like it takes the "fun" out of those rants, but it only triggers if the capslock is more than the lowercased letters
wish the devrant webapp was accessible from mobile, to use all them scripts on mobile too25 -
Waaaay too many but let's go with this one for now.
At my previous job there was a web application which was generating about 1gb of log data a second. Server was full and the 'fullstack engineers' we called had zero clue about backend stuff and couldn't fix it.
Me and another engineer worked our asses off to figure this out but eventually the logging stopped and it went back to normal.
Great, right?
For that moment. I was the on-call server engineer and at like 3am I got called awake because this shit was happening again.
Sleep drunk with my phone I ssh'd into the server, not sure about what to do at first but then suddenly: let's chattr the goddamn log file...
$ chattr +i /var/log/logfile
Bam, worked, done, back to sleep.
(this comment + param marks the file in a way that it can only be read until the mark is removed, so you can't write to it or move it or remove it or whatever)13 -
Finished the script for calming* rants and comments down and even made a fancy readme this time:
https://github.com/7twin/...
*context: https://devrant.com/rants/1419613/...30 -
Got a 0 for a question in the midterm of a microprocessor course(x86). I Went to the lecturer fuming with rage and explained to her my work and its 100% correct, therefore I should get full marks for it. She agreed but only gave me half the marks because I did not follow the solution that was in the text book. In my head: "Bitch I don't even have the textbook nor do I want to argue with your kind". I was so enraged I just stood up and left her office. Needless to say, I didn't get the A I deserved. FML9
-
Had devRant installed for a while now and finally have something worth sharing.
This happened in my last Python lab at uni:
Me: *Working away at this week's assignment*
Dude next to me: You know last week's assignment?
Me: Yes?
Dude: Did you test you solutions to the exercises?
Me: Yes
Dude: Oh, I didn't. Do you think I'll lose marks?
Me: Yes
I can only hope I'm not forced to work with this guy on group assignments...10 -
Today pranked my colleague changing some semicolons in his PHP Code to greek question marks.
It took him tears, sweat and a long time until I told him.
Now he wants to kill me.
XD9 -
rant
The Java course at our Uni requires us to do an end semester project - A Java App with Swing for GUI and some Multithreading code in it.
They asked us to upload the code to drive. I was bored and was checking out my friends' projects.
The code below is what I saw in one of the projects. They have simply called a thread with an empty run method because the project required to use multithreading concepts, wtf.
But then, It is no surprise to me cause these are the people who memorize code and vomit code for marks.
I am worried that people are going to be awarded degrees and called software engineers.
God save the software industry!24 -
My teacher at school who taught me programming. We were taught Java.
You see, Java is not a beginner's language, most say. But the way she taught it, the examples, the analogy, the explanation; she made it so easy.
She made us execute our first Hello World program (using BlueJ) and proudly said, "you're all programmers now!", that was when fascination took me over. I remember that moment till today.
Also, unlike regular exams, the programming exams required extreme competency. Marks were split up for algorithm and syntax. There were also questions like find the error in this algorithm for this output. She would always surprise us at the exams!
I had several glorious moments in class by being the first to answer most of her questions. At 13, it was kind of a big deal for me.
(Okay, who am I kidding, it still is :-P)
*sigh*
It was mostly just self learning from there. I switched schools and then there was college. Attending classes in college was like going to the gym with fat trainers. Utterly useless :-/ It just made me appreciate her even more.6 -
Other students:
#define redLed 2
#define yellowLed 3
#define greenLed 4
void setup ()
{
pinMode(redLed, OUTPUT);
pinMode(yellowLed, OUTPUT) ;
pinMode(greenLed, OUTPUT) ;
}
Me:
void setup ()
{
for (int i=2;i<5;i++)
pinMode (i, OUTPUT);
}
Proff - This code is wrong it won't work. Where have you specified red led, green led, yellow led?
Me - wtf! Code doesn't know which led is used in what pin it's just pin numbers!
Gave me less marks 😑
P. S. I wrote comments in my code specifying which pin will have what led connected 😑14 -
Sometimes I have such little idea what I'm to do or doing that I print code to 'analyze' it fully...6
-
We had a Christmas Party in our office in December and the office looked fairly trashed in the morning.
I took a photo of a colleagues desk and photoshopped burn marks on it, sending it to our group WhatsApp saying the bosses are furious and whatever they did after I left has left the guys in so much trouble.
It was a horrendous photoshop too, because I had nothing but PowerPoint to use - but everyone still believed it.
Most of the guys had booked that day off to deal with hangovers so it wasn't till the Monday that they realised it wasn't real!4 -
I've found sites like Udemy/Khanacademy/Codecademy/Brilliant/Edx to be very useful — possibly more useful than expensive education.
But they still need:
1. Better correction/update mechanisms. Human teachers make mistakes and material gets outdated, and while online teachers are rectified faster than classroom teachers, the procedure is still not optimal. Knowledge should be a bit more like a verified wiki.
2. Some have great interactive coding environments, some have great videos, some have awesome texts, some have helpful communities. None has it all. In the end, I don't want to learn a new language by writing code in my browser. It could all be integrated/synced to the point where IDEs have plugins which are synced to online videos, with tests and exercises built in, up to a social network where you could send snippets for review and add reviews to other people's code.
3. Accreditation. Some platforms offer this against payment, but I think those platforms often feel very old school (pun intended), with fixed schedules, marks and enrollments. Self paced is a must.
4. Depth is important. Current online courses are often a bit introductory. We need more advanced courses about algorithms, theoretical computer science, code design, relational algebra, category theory, etc. I get that it's about supply/demand, but we will eventually need to have those topics covered.
I do believe that for CS, full online education will eventually win from the classroom — it's still in its infancy, but has more potential to grow into correct, modern education.10 -
*Opens some Computerphile video on YouTube in Chrome Canary*
CPU > hey ho dude, wait a minute..! I can't process all of this in realtime!!! >_<
Alright.. I think I've still got a copy of all their videos sitting somewhere in the file server.. perhaps I could use that instead.
*Opens said video from the file server in SMPlayer*
CPU > aah, thanks man. Now I can allocate 15-ish % of my resources to that and give you a good watching experience.
Web browsers are really great for being the most general-purpose document viewers, application execution environments (remote code execution engines as someone here called it), and overall be one of the most versatile programs on any PC's standard software suite.
But that comes at a price.. performance. And definitely when it comes to featureful fucking WordPress shitsites (shites?), bloated YouTube, Google, Facebook, and all that fucking garbage.. I fucking hate web browsers and this "Web 2.0" that people keep on talking about. Your boatload of JavaScript frameworks just to ease your own fucking development has a real impact when it happens on dozens of tabs, you know.
Besides, can't those framework creators just make it into a "compiler" * of sorts? So that front-end devs can flail their dicks in an shit-infested environment full of libraries and frameworks all they want, but the framework can convert it into plain JS code that the web server can then serve. Or better yet, the JavaScript standard could be improved to actually be usable on its own!
Look, I'm not a front-end dev. Heck, I'm not even a dev to begin with. But what I do know is that efficiency matters, especially at large scale. Web browsers being so overgeneralized and web devs adding a boatload of fucking libraries or frameworks or whatever, it adds up, both to the CPU's and my own temper.
(*) Quote marks because source code to source code isn't really compiling, but then uglified JS looks worse than machine code anyway so meh :/6 -
I’ve battled depressed I failed to realized I had for many years. I didn’t love myself, I forgot what it felt like to love myself, and then one day my life turned around out of the blue. I believe my turning point was when I realized that I wasn’t alone and that people did care about me. I just wasn’t motivated especially after almost losing my cousin to suicide 3-4 months back. It changed my DNA, my personality, everything about me changed until I told myself that I had enough.
Today marks the 4th month where I last had a cup of coffee, soda, or junk food in general because in all honesty it was just making my depression worse. Today also marks the 4th month I’ve been going to the gym without fail and I’ve now noticed how far I’ve come. I love myself more than ever now and I am VERY goal oriented as well. I have one more year left until I get my bachelors degree in Software Development and soon after I’ll go in for my Masters and who knows what I’ll do after that.
It’s all uphill from here and by sticking to my new routines I am feeling a lot better as the days and months pass.
Attached is my progress thus far, left is from when I felt at my lowest and right is the progress I’ve made so far with improving myself and where I am at now.
I love myself, I love those that love me, and I LOVE feeing AMAZING like I do now when I wake up every morning waiting to see what the day has in store for me 😄❤️rant self-improvement let me be your antidepressant <3 love you guys self-image story time progression depression love you all19 -
Manager: How’s the progress coming along?
Dev: The section of code I’m working with is one of the more difficult ones so it’s a little slow
Manager: Ok well I didn’t write that section of the code
Dev: I’m not saying you did I’m just giving you the status update that you asked for
Manager: Ok well I can’t really do anything about that so how about you tell me something I can do something about instead of just complaining about code THAT I DIDN’T EVEN WRITE!! *Marks self as offline*
Dev: …10 -
Why... why the fuck do people write unit tests and then comment out the god damn fucking assertion lines....
Like what the flying fuck? Cool, we can get some code coverage marks but for fuck sake actually let your tests do their fucking job!!!
Oh, the asserts fail?
Well fucking sort that shit out instead of commenting them out.
I don't get it, if you're going to write tests, fucking test something with them, or we'd be better of without them.7 -
Just did 70% of the job for a software project in college, only to get the least grade of the group because others were more vocal during the presentation.
The thing that irritates me is that not only did they assume that they can take part credit for my work, they cared more about 5%of a semester grade than their own self respect.
No hard feelings though, because even though I got lesser marks(about 2-3 marks lesser), I gained the most knowledge in the group, which is what matters5 -
It happened 2 nights ago.
We had a whatsapp project for the distributed application programming class, my project mate and me were coding for 2 weeks whole day to finish it, especially with the end-to-end encryption feature that teacher asked, till 2 nights ago the project was trash, the private chat wasn't working and and nothing else is done we had only the UI, we was really doomed especially we had 1 more day to deliver the software, and we decided to deliver the project as a trash and get marks from the UI and the presentation.....
Till the night before deadline at 8 pm
I wanted to try fix some interface pictures and to make it better......
The next thing it was 6 am and the project is full working..
When I told my project mate he was not believing, I had to swear multiple times fot him and hat to go and show him the project by the eye.
We delivered the prohect and got 22/25 😁😁😁
It was incredible I didn't believe my self at first place.
Sory for the long story 😓.3 -
Lying bastard of a teacher.
Context:
This is year I'll graduate from my high school. But before that we have to pass the final examination. One part of that examination is presenting a project, which we should complete within this year. Each student has to choose a mentor/supervisor to help him on them on their project. I chose a professor who'll leave the school in January because of her pregnancy.
This is the part where the bastard, who asked me whether I use HTML or CSS for a website, barges in.
Given the fact that he incompetence be matched by his arrogance, nobody would ever choose him. He has to watch while other ring the other professors. He asks desperately for students, but everyone already has a mentor.
Yesterday he told me that my mentor will leave this January and that she already WROTE him an email where she asked him to continue mentoring her students. I was kinda confused, so I told him I would talk it over with my mentor and guve him an answer on a later date.
Today the truth comes forth. She didn't write anything. This bastard invented all of it. She even told us that she is aware of this guy is incompetent and that she would have asked a teacher with a good reputation.
But I'm furious. Not only did he waste my precious time with that conversation, which he follow up with the most basic way of time managing you could think of.
HE STRAIGHT UP LIED TO STUDENTS TRYING TO BOOST HIS NONEXISTENT REPUTATION.
I am not comfortable with a person like that being able to give me marks. Just yeet him out already!7 -
Me in a test:
if(boolean)
return value;
return something_else;
I then lost 2 marks for not having an else statement -.-30 -
Typical Tuesday morning. Got word that a client was having trouble viewing a mp4 video, thats being used as a background element on their website, on their iphone.
No biggie, I think to myself.
An hour in Im praying to the safari Gods and cursing the existence of iOs (or however the hell you spell it).
While debugging I realise the browser gives up on downloading the video 2 seconds in, the same way I gave up watching that Netflix Neath note abomination, two seconds in.
So i quickly write up an ajax script forcing the browser to download the file before displaying it...F.I.G.J.A.M
But hold up 'webkitURL' is deprecated. Please use 'URL' instead ..dafuq ?
Okay okay I got this just use a work around for that ..aaand done.
Should be working right? Wrong (-_-)
Half an hour later searching stackoverflow like its the gospel and judgement is upon me and I found the solution..I found the solution, simple stupid solution that would make you wanna facepalm so hard that your great grandkids would have marks on their face.
Declare the MIME type in the bloody source tag in the html ... shoot me now3 -
Allright, I'm pissed.
Warning: more than 4k characters written by a non native english speaker ahead.
Legend:
Storytelling
> Short summary of the current situation
> "Something being said"
> (Something being thought)
* Actions *
-- Background --
In an attempt to reorganize my desktop I accidentally deleted a folder I called "development". In there I stored links to all my IDEs (Not sure how you call these in english), but also some workspaces like unity (Not much stuff there, processing (just some hobby stuff) AND Eclipse (FUCKING EVERYTHING RELATED TO SCHOOL WEB DEVELOPMENT). Now 3 days have passed and I realized this important folder was missing. Cleared that windows trash the instant I deleted the trash on my desktop.
> Shit, Regret
Install a file restore programm. Do every possible search. Nothing found.
> Big shit
Deadline was in like 3 days. Week was fucking rough so:
> "Screw this, the teacher nevet corrects the assignments and also fuck JSP"
Fast forward 2 months to last week. Teacher starts checking assignments.
> Fuck
* Sees pattern: Only students with missing or bad marks are checked. *
* Feels save *
Teacher approaching me while working on current projects.
* Doesn't feel save anymore *
> "Well, I'ld like to see your THAT programm"
> Well fuck
* Tells the truth *
> "Well that's unfortunate, but I must write a mark. Do you really have nothing to show?"
* Remember that I worked on the school pcs when I started *
> (Better than nothing. Gotta try it)
* Teacher checks programm, not pleased *
> (Fuck me, but at least it's over...)
> Nope
* Teacher calls me over *
> "With the mark I had to write today you can't reach that good mark even with a good examination, what are we gonna do about this?"
> "Well, there were other assignments that were never checked. Could we replace that mark with one of those?"
* Teacher agrees *
> (Srly bless this guy for that support)
My best choice was an Android app we had to develop during December in pairs. I did the front end (90% of the whole work) and my partner the backend (10 %). I also did 30 % of these 10 %, because I had to review the shit he wasn't able to debug himself.
> brainlogic.exe provided by windows vista
This distribution was partly my fault since I overestimated the work needed for the backend, but also the fault of that fucker. I mean, he didn't tell me the professor already provided 90 % of the backend...
Rest of the week was really busy (always 1 or 2 things to study for each day, workout and family stuff).
Yesterday (It's past 12 already) I arrived at ~9 pm in the dorm I could finally start reviewing my code.
Internet gets shut down at 10 pm.
Gotta hurry.
* Opens project *
* Sees half a year old code *
* Fights urge to puke *
> (Alright I gotta do this. For the mark!)
* waits for gradle to index files *
* Remembers the fact that I haven't opened Android Studio in the last 2 months *
For those who don't develop with android studio: This is an equivalent to ~10k windows updates waiting to be installed
> (Well, gotta work with this kinda old version)
"gradle sync failed"
> ( Ok, just restart it. You're fine )
* Android Studio doesn't react anymore and/or renders *
* Waits 5 min *
* Restarts laptop *
* Android Studio is reacting again*
"gradle is synching"
9:45 pm: gradle is done and I can finally compile my app
> FML
* Sees App launched on phone *
* Almost pukes again *
> (This was the assigment for the UX chapter, so design doesn't matter)
UX is decent. Proceeds with testing stuff. Save paths work, but some bugs can be caused by going of it
* fixes as much as possible *
* Takes quick look at backend *
Date date = new Date (GregorianCalender.getInstance().getTimeInMillis());
C'mon, I asked you to be the backend. You got 90% of the methods already written by the teacher and had 2 months to write the interfaces to my Front end AND you come up with shits like that.
Note: this example is a minor example of brainlogic.exe
I did what I could to make improve my situation. Hopefully he doesn't discover the bugs. And If it's a backend bug then I could't care less, since that was not my job!
Wish me luck for today!undefined web development jsp school assignment not my job fuck up android studio tldr; not getting paid enough for this shit gradle blame backend9 -
Once one of my coworkers tried to prank me while i was afk and changed a line in my code.
Good old habits of mine instantly realized the file's unsaved status and i could ctrl+z without even knowing someone edited my code.
Don't mess with a developer. We know our shit.2 -
April fools day prank idea:
1. Replace all semicolons with Greek question marks
2. Add a Gradle task that automatically fixes the semicolons, but only when run on the build servers
3. Watch as people get confused because the code builds in the server but not locally3 -
When my partner in a project has a sudden change of heart and confesses to the the professor that he cheated and we both get a negative mark(-8 marks) even though i didn't know or participate in cheating 😡6
-
When your prof gives you 9/10 on your CS assignment because, instead of returning an int and doing a comparison, you do the comparison and return a boolean.
🤔😑 u serious man15 -
Met a student who has failed and appearing for re-exam.
Me: You need to work hard to get distinction (~85%).
He: Who wants distinction? I just need passing marks (35). Marks doesn't matter, knowledge does.
Me: Student who strives for more knowledge will surely get distinction.
He: 🤔8 -
I know it's not done yet but OOOOOH boy I'm proud already.
Writing a JSON parser in Lua and MMMM it can parse arrays! It converts to valid Lua types, respects the different quotation marks, works with nested objects, and even is fault-tolerant to a degree (ignoring most invalid syntax)
Here's the JSON array I wrote to test, the call to my function, and another call to another function I wrote to pretty print the result. You can see the types are correctly parsed, and the indentation shows the nested structure! (You can see the auto-key re-start at 1)
Very proud. Just gotta make it work for key/value objects (curly bracket bois) and I'm golden! (Easier said than done. Also it's 3am so fuck, dude)15 -
Have you guys heard about blind coding?
I had been to competition, first round was quiz.
That was quite easy, though most of the questions were incomplete and didn't make any sense.
They have provided an app. We use that to check the result.
So first round is over, 1 hour later my friend called me asked whether I'm qualified for the next round . I checked the results and my name wasn't there. I was very disappointed.
I left that place after I saw my result. I got a bus which goes to my place.
After 10 minutes, I got a call from the event head asking why I didn't attend second round 😑. I asked why name wasn't there on the result, for which he replied with "database updatation error".
I got down in the next stop and took a bus again to that place.
I reached there, second round was started, First part was debugging. It was easy, I debugged the given program and got the desired output.
Second part was coding. A guy showed a problem to solve and told me to read it quickly . I did as he told.
He opened Dev C++ and gave me a paper to write the program .
When I was about to start typing, he turned off the monitor and told I should write it on paper first and type the program having monitor turned off. 😨
I wrote and typed the program without seeing.
After 30 minutes a college lecturer came to give marks. He told me to compile the program.
TBH, there were many typing mistakes. As header file spelling was wrong it showed only one error.
Him: Huh, cool only one error, well done. *noted that and walked to a guy next to me*12 -
!rant
A rather long(it's 8 hrs long to be precise) story
So I just finished an amazing homework assignment. The goal was to open a new shell on Linux using a C program. We were asked to follow instructions from http://phrack.org/issues/49/14.html . However the instructions given were for 32 bit processors and we had to do same for 64 bit machines. In a nutshell we had to write a 64 bit shell code and use buffer-overflow technique to change the return address if the function to our shell code.
I was able to write my own shellcode within 1hr and was able to confirm that it's working by compiling with nasm and all. Also the "show-off-dev" inside me told me to execute "/bin/bash" instead of "/bin/sh"(which everyone else was going to do). After my assembly code was properly executing shellcode, I was excited to put it in my C code.
For that, I needed opcodes of assembly code in a string. Following again the "show-off-dev" inside me, I wrote a shell script which would extract the exact opcodes out of objdump output. After this I put it in my C code, call my friend and tell him that "hell yeah bro, I did it. Pretty sure sir is gonna give me full marks etc etc etc". I compiled the code and BOOM, IT SEGFAULTS RIGHT IN FRONT OF MY FRIEND. Worst, friend had copied a "/bin/sh" code from shellstorm and already had it working.
Really burned my ego, I sat continuously for 8 hrs in front of my laptop and didn't talk to anyone. I was continuously debugging the code for 8 hrs. Just a few minutes ago, I noticed that the shellcode which I'm actually putting in my C code is actually 2 bytes shorter than actual code length. WHAT THE F. I ran objdump manually and copied the opcodes one by one into the string (like a noob) and VOILA ! IT WORKED !!!
TURNS OUT I DIDN'T CUT THE LAST COLUMN OF OPCODES IN MY SHELL SCRIPT. I FIXED THAT AND IT WORKED !!
THE SINGLE SHITTY NUMBER MADE ME STRUGGLE 8 HRS OF MY LIFE !! SMH
Lessons learnt :
1)Never have such an ego that makes you think you're perfect, cuz you're retarded not perfect
2)Examine your scripts properly before using them
3)Never, I repeat NEVER!! brag about your code before compiling and testing it.
That's it!
If you've read this long story, you might as well press the "++" button.6 -
When you boss marks everything critical and you respond with "when everything's critical, nothing's critical." And he scowls.1
-
I present you, WhatsApp Web.
For every favicon, there is a function.
And it is selected by object's key.
And object's key is represented with double qutoe marks inside single quote marks.
' "BUT WHY" '2 -
I never had problems with punctuation marks during coding, especially the notorious semicolons because I've always used an IDE, ain't gotta time to waste on compiler errors.
But today I meet my nemesis, a fucking comma wasted an hour of my precious time, causing my unit tests to fail in Python, my unit tests where expecting a list and the actual value is a tuple, it turned out that there was this trailing comma - which I don't know where the hell it came from - at the end of a function call that returns a list.
I only noticed this freaking comma after Pycharm indicated a conflict between the returned type and the expected type and underlined the culprit, that small invisible fucker 😬.
Thank you Pycharm and type hints in Python 3.
this is why, my fellow devs, you have to use an IDE.
PS: For those of you who aren't familiar with python, a trailing comma at end of a variable turns it into a one element tuple.
1, = (1,)1 -
I have changed
I cannot study anymore
I don't like doing it
There's no fun in it
I cannot run after marks like everyone do
I cannot mindlessly memorise things without understanding
Anyways bye7 -
When GitHub marks your iOS project as JavaScript because there is that much JQuery floating around3
-
'Sup mates.
First rant...
So Here's a story of how I severely messed up my mental health trying to fit in university.
But the bonus: Found my passion.
Her we go,
Went to university thinking it'll be awesome to learn new stuff.
1st sem was pure shock - Programming was taught at the speed of V2 rockets.
Everything was centred around marks.
Wanted to get a good run in 2nd sem, started to learn Vector design, but RIP- Hospitalized for Staph infection, missed the whole sem and was in recovery for 3 months.
So asked uni for financial assistance as I had to re-register the courses the next semester. They flat out refused, not even in this serious of a case.
So, time to register courses for third semester, turns out most of the 2nd year courses are full, I had to take 3rd year courses like:
Social and Informational Networks
Human Computer Interaction
Image processing
And
Parallel and Distributed Computing (They had no prerequisites listed, for the cucks they are: BIG MISTAKE)
Turns out the first day of classes that I attend, the Image proc. teacher tells me that it's gonna be difficult for 2nd years so I drop it, as the PDC prof. also seconds that advice.
Time travel 2 months in: The PDC prof is a bitch, doesn't upload any notes at all and teaches like she's on Velocity-9 while treating this subject like a competition on who learns the most rather than helping everyone understand.
Doesn't let students talk to each other in lab even if one wants to clear their friend's doubt, "Do it on your own!" What the actual fuck?
Time for term end exams and project submission: Me and 3 seniors implement a Distributed File System in python and show it to her, she looks satisfied.
Project Results: Everyone else got 95/100
I got 76.
She's so prejudiced that she thinks that 2nd years must have been freeloaders while I put my ass on turbo for the whole sem, learning to code while tackling advanced concepts to the point that I hated to code.
I passed the course with a D grade.
People with zero consideration for others get absolutely zero respect from me.
Well it's safe to say that I went Nuclear(heh.. pun..) at this point, Mentally I was in such a bad place that I broke down.... Went into depression but didn't realise it.
But,
I met a senior in my HCI class that I did a project with, after which I discovered we had lots of similar interests.
We became good friends and started collaborating on design projects and video game prototyping.
Enter the 4th sem and holy mother of God did I got some bad bad profs....
Then it hit me
I have been here for two years, put myself through the meat grinder and tore my soul into shreds.
This Is Not Me
This Wont Be The End Of Me
I called up my sister in London and just vented all my emotions in front of her.
Relief.
Been a long time since I felt that.
I decided to go for what I truly feel passionate about: Game Design
So I am now trying to apply for Universities which have specialised courses for game design.
I've got my groove again, learnt to live again.
Learning C# now.
:)
It's been a long hello, and If you've reached till here somehow, then damn, you the MVP.
Peace.9 -
Introduction to graphics
Lecturer says "this is a very practical course. In fact I think we should have a practical exam"
All students agree. He would sort out that matter.
Meanwhile he taught us how to making shapes in java, then a house, then a game...
And the exam was for us to make a building where a user can walk through the building using the arrow keys...
What fun we had. We got out marks...and everybody did well!!!!1 -
!rant For my uni project I have been developing a anti ransom-ware price of software which had a main purpose of damage limitation/containment in a business environment.
Some course mates were critising it saying yeah when is ransom ware ever really looked at these days, (they developed a chat app), then the news struck about the Nhs hack and now my Lecturer can't get enough of the project and suddenly the marks for real world application seem to be in my favour 🤘
Again not a rant, just a nice feeling after spending so long on my work.5 -
As a consultant, you get tasked with a variety of stuff. Last few weeks been struggling to maintain an old C++ application that was written by a complete tool of an a$$hole with zero knowledge on how to write maintainable and production quality code. It would hardly run without a crash. First it was a challenge I had to accept, but as I stabilized the code and just fell over even more traps, I had to admit defeat and review my approach.
Rewrite is something I would choose last, but this one ticked all the marks worthy of a rewrite. So, the customer is a very friendly researcher and gladly spent 15 hours with me explaining all the math and concepts - just a delight for a programmer to have such a customer. Two days in, with a DDD approach - a functional, more precise, faster and stable application.
Sometimes there is no rant to share, it's rare to have that perfect communication with a customer that is so dedicated that he spends so much time teaching you his speciality and actually understand your approach. DDD was really a lifesaver here, by using it's key concepts and ubiquitous language. The program is essentially 8000 lines of math, but wrapping it up with value objects and strong domain models made me understand his domain and him mine. It also allowed me to parallelize the computations, giving me a huge performance boost. Textbook approach, there will not be many like this!4 -
I accidentally wiped my entire drive because I fed my program the string: C:/Program Files/ProgramName/program.exe Without quotation marks and my program interpreted the space as a new command. It tried to delete C:/Program, and then the parent directory, C:/. I actually posted a “rant” on here asking how to recover data if you want to dig through my history.
*Edit* Actually, no, I must have deleted the rant asking about data recovery. My bad.5 -
I have a Windows machine sitting behind the TV, hooked to two controllers, set up as basically a console for the big TV. It doesn't get a lot of use, and mostly just churns out folding@home work units lately. It's connected by ethernet via a wired connection, and it has a local static IP for the sake of simplicity.
In January, Windows Update started throwing a nonspecific error and failing. After a couple weeks I decided to look up the error, and all the recommendations I found online said to make sure several critical services were running. I did, but it appeared to make no difference.
Yesterday, I finally engaged MS support. Priyank remoted into my machine and attempted all the steps I had already tried. I just let him go, so he could get through his checklist and get to the resolution steps. Well, his checklist began and ended with those steps, and he started rather insistently telling me that I had to reinstall, and that he had to do it for me. I told him no thank you, "I know how to reinstall windows, and I'll do it when I'm ready."
In his investigation though, I did notice that he opened MS Edge and tried to load Bing to search for something. But Edge had no connection. No pages would load. I didn't take any special notice of it at the time though, because of the argument I was having with him about reinstalling. And it was no great loss to me that Edge wasn't working, because that was literally the first time it'd ever been launched on that computer.
We got off the phone and I gave him top marks in the CS survey that was sent, as it appeared there was nothing he could do. It wasn't until a couple hours later that I remembered the connectivity problem. I went back and checked again. Edge couldn't load anything. Firefox, the ping command, Steam, Vivaldi, parsec and RDP all worked fine. The Windows Store couldn't connect either. That was when it occurred to me that its was likely that Windows Update was just unable to reach the internet.
As I have no problem whatsoever with MS services being unable to call home, I began trying to set up an on-demand proxy for use when I want to update, and I noticed that when I fill out the proxy details in Internet Options, or in Windows 10's more windows10-ish UI for a system proxy, the "save" button didn't respond to clicks. So I looked that problem up, and saw that it depends on a service called WinHttpAutoProxySvc, which I found itself depends on something called IP Helper, which led me to the root cause of all my issues: IP Helper now depends on the DHCP Client service, which I have explicitly disabled on non-wifi Windows installs since the '90s.
Just to see, I re-enabled DHCP Client, and boom! Everything came back on. Edge, the MS Store, and Windows Update all worked. So I updated, went through a couple reboots-- because that's the name of the game with windows update --and had a fully updated machine.
It occurred to me then that this is probably how MS sends all its spy data too, and since the things I actually use work just fine, I disabled DHCP Client again. I figure that's easier than navigating an intentionally annoying menu tree of privacy options that changes and resets with every major update.
But holy shit, microsoft! How can you hinge the entire system's OS connectivity on something that not everybody uses?6 -
I suspect this may happen to alot of people:
Me: Is this the right way to implement the feature?
Lecturer: yes that looks good
Me: *happy*
*Results come out*
Lecturer: *deducts marks for no reason*
Me: You said this is the right way of doing this...
Lecturer: I didn't quite see what you're trying to do
Me: it's fully commented.................
Lecturer: *confused as fuck* i will remark and get back to you
Me: *thinking* fucking retard playing with my grades like it's a joke.2 -
I started attending this IoT class in some computer training school. During my first class, I was early because I had the raspberry pi class earlier in the day. A guy came up to me and started chatting to me, he was bragging about how he created some big projects, how he works in his dad's company which develops IoT products (he codes it). Later on in class he talked about how he hacked his school's server or something and changed his marks. Whenever he brags, he has a tendency to use a deeper voice (which is pretty annoying).
Anyways so I thought he is pretty good and maybe I can learn a thing or two from him. A few class later, I started having my doubts, why? Because he doesn't know how to debug code, he copies the lecturer's code and still copies it wrong, and he doesn't know what variables and constants are. He uses IE and doesn't know about GitHub.
Now he asks me or the guy in front for help in class. He makes the class more fun, it's funny listening to him brag. Love it.2 -
Today we had our "web technology" University exam. One question was to write a sample html program for our university's website.
I swear I could've built a fully functioning website on MVC and hosted it on some cloud service in far less time than that I spent scribbling 5 pages of writing HTML/CSS/JS so that I can "pass the exam". But nooooo. Our university syllabus takes IE and Java servlets as standard and apparently you get bonus marks if you could implement IE's Active-X on paper.
So much for the future web development4 -
University Final Viva for OOP with C++
(Yeah, that first line is a rant in itself for the likes of me and Mr. Torvalds)
Assistant Professor:
Tell me a few "functions" in C++ STL algorithm header
Me:
*starts off with the first one that came to my mind*
sort()
AP: Huh? a I'm asking the Algorithms in C++ STL
Me: Yes, this is one of them Ma'am.
She looked at me as if I told her that I'm dating her daughter. It became clear she doesn't know about it and she'll gladly deduct my marks for getting it wrong. So I explained how Sort() is a hybrid of quicksort, heap sort and insertion sort. (Read about it an hour ago while doing a competitive programming question)
AP: Tell me the ones we did in class.
I haven't attended those classes, so I just told her the ones I knew.
After a couple more infuriating questions, which themselves sounded right from a book published in the 90's, she gave me 10/15.
This is what's wrong with India's Education system, even the teachers know only the stuff mentioned in the course hand-outs. Forget brownie points, you get screwed over by the teachers for actually knowing stuff and using it.8 -
In school we had to create a project using Java and SQL we created a library management software.
In India a teacher from other school comes to check your projects and allot marks. (They just take a viva and give a marks)
Out of the whole class he asked me to present my project (they usually don't look at it ) and he checked each and every file asked a lot of questions.
Viva went on for 45 mins (usually 10-15 mins) and when the whole class is looking at you like what did they make.
Yeah that made me feel like a badass dev.1 -
“Good comments explain why, not what,” says Andy Marks. “Do more of the former and none of the latter. A well named method or variable will beat a well-written comment every day.”2
-
Discord and captchas can go get fucked in the ass by a rusty, tetanus ridden 2m pole....
I changed my discord-password yesterday and, naturally it prompted me for a login today. So I enter my new password and that motherfucking spawn from satans anus himself with the name of captcha threw itself at me... I seriously had to select fucking street signs for about 5min before Discord let me know that I apparently logged in from a new IP (thanks VPN) and therefore needed to confirm my e-Mail address. Alright, so off to my inbox I go.
SURPRISE, I also changed my password there yesterday (LastPass Security Challenge, I changed like 30 passwords yesterday) and guess what was waiting for me?... If you guessed a captcha, you just got full fucking marks. So I was busy selecting busses and streets for the next 3min again before I could finally log into that piece of trash and autorize my IP-address and log into Discord6 -
Today, January 13th 2019, marks the one year anniversary of the initial release of DXVK.
https://github.com/doitsujin/dxvk/...
Through DXVK, I've personally seen compatibility like never before with running Windows games on Linux. Some games which I had never been able to play on Linux before, games which tied me down to keeping a Windows desktop around - no longer bind me.
At the same time, today marks one year remaining for Microsoft's support of Windows 7 - which will be cut off at January 14th 2020. At which time those shackles would bind to a corpse.
I felt it appropriate to celebrate with a DXVCake!1 -
Friends of mine have a new flat.
It's a nice flat. Cheap. Noone wanted it. 100 square meters.
Reason noone wanted it...
Previous owners were bastards from hell.
Really. Every motherfucking room needed to be completely renovated by the owner.
Door frames were made of wood, nice and old - at least the part that was left of them. Splinters, scratch marks, partially broken out of the wall.
2 windows needed to be fully replaced. Rest of the windows needed to be bleached, PET abrasive cleaning solution and the frames needed repair with resin as they drilled into the frames. Then treatment with sealant of course.
Yes. There was no other solution. After bleaching you recognized the windows were white. Before... Let's not talk about it.
The previous owners even managed to destroy the bathtub.
The kitchen tiles... Fat cleaner. Bleaching. Abrasion. Polishing.
Soooo.
Day of moving.
The apartment is in the 6th floor / level.
Cran / lift was ordered.
16 people wanted to come.
7 people came.
2 including myself couldn't lift heavy stuff nor walk the stairs due to health issues.
Crane broke after first try.
Today. I want to murder the previous owners. After torture and crucification.
I'm feeling levels of pain I couldn't Imagine before.
Only hate and beer let's me keep my shit together.
I REALLY didn't think after renovating and cleaning the flat for my friends in the last several weeks that it could get worse.
Boy. I was wrong.
Thanks for letting me vent here. I really feel devastated currently -.-
And I need to help them tomorrow, too.
Bikini Atoll, tchernobyl and every other atom bomb desaster Zone combined looks better than the chaos in their flat.
Everyone who could lift shoved everything inside.
I solo carried everything that wasn't too large in the room and then, as every room looked like desaster, completely managed the kitchen (cleaning, unpacking, trash, placing everything where it belongs and so on) :( :(4 -
This happened with one of our senior profs during the first year of my college. I wouldn't call him a dev if my life depended on calling him a dev but regardless, I narrate the story here.
We were "taught" C++ by some really dumb professors during our first year of college and it was mandatory that everyone cleared the subject regardless of what field of engineering the students chose. Having already done 2 years of C++, it was quite a breeze for me. But during the final lab exam, one of my friends requested my help in solving the quite tough question (for those beginners). Thinking the exam and teaching was unfair, I stupidly wrote the answer on a piece of paper and passed it to him. One of our teachers, who had seen him ask me, was lying low waiting to catch me in the act and she swooped in and busted our asses kicking us out of the exam hall and sending us to the HoDs office like some prize from her war against academic corruption.
In the end, I failed the exam for cheating and had to redo (not only the exam but the entire lab course).
When I returned to college during the summer vacations to redo the course, I first met the antagonist of our story. Having a huge head that looked like a deformed watermelon and an ego the size of a building, he assaulted us first with a verbal diarrhoea of his achievements as a CS professor. I quickly realised that I was in a class of people who had failed to grasp how to make a program that printed "Hello World". To make things shorter, every question the prof gave us, I managed to solve in a mere matter of minutes, several better than his own solutions. Not having expected a student who knew his shit, he was determined to play me down. He hurled tougher question at me and I knocked them over his enormous head piercing his ego. He asked me such questions as how to reverse 1000 and get 0001 and wasn't satisfied with the several ways I gave because none of it were what he had in mind (which turned out to be storing them in a fucking array and printing them in reverse. That's printing not reversing you dung beetle). I kept my calm throughout but on the day of the final exam, he set quite a tough paper for a class of people who had already failed once. To his utter shock and dismay, I aced that too and I produced flawless code. This man who has an MTech from one of the most reputed colleges of my country then proceeded to tell me that he had to cut my marks because I had used more than one function when the question had asked for one function ( it never said only one). I lost my shit and pointed out that since I was the programmer, it was my wish how I coded. I also explained to him how repeating code is a bad practice and one should use functions to reduce redundancy and keep the code clean. Nevertheless, he lost his shit and he threatened me with consequences as apparently "I didn't know who I was messing with". I handed over the paper and stormed out of the class (though he called me back and tried to argue more with me. I apologized for losing my shit and left when he was done talking). I ended up getting a 'C'. Totally worth it.4 -
Had to interview a "Tech Lead" who apparently has 9 years of experience in Enterprise Java, AWS, spring cloud, microservices and all the in-demand tech jargon you can think of. Plus has mentioned he has cleared OCJP (java certification) with 90% marks.
So I ask him how do microservices work - he says there's another team handling it.
I give a simple string manipulation problem and ask him to write code in an IDE or explain the logic with pseudocode and get this..
He says since he is a lead I cannot ask him to write code and should only ask about his experience.
I'm like - Sure Sir. While I do that, I will also put in a strong recommendation for you to be hired, give up all my salary to you, become your slave for life and order your lunch everyday with my savings.6 -
When my brother doesn't know weather it's greater than or lesser than....still manages to get marks7
-
The University Professors are full of shitt !!!!!
Just ended up scoring less than my team-mates in 3 projects when I was the one who did the complete work !!!
Even I was the one who presented the projects. Soo tired of this randomly marking thing !! :/4 -
Tldr: hilariois scam website is hilarious
Today I saw a website that was obviously a scam, but it was quite hilarious: it said you could download an ebook and they tried to trick the user into clicking the fake download links. It was a textbook for engineering and at the botom of the page they had those fake user comments that encouraged people to du those things you are asked for after clicking the wrong download button (like entering your bank info). They described how their friends couldn't believe what an awesome book they got for free and so on and that they really loved reading it. Reading an engineering textbook. Also, and that made me lol quite hard: they discribed the condition of the book as "used with a few water marks". A fucking pdf with water marks...3 -
I'm in 3rd year of my CS degree....
Fucking Indian Education System
I'm having a subject css(cryptography & system security)... The bitch who teaches us doesn't know shit.... She just picks random words from the ppt & blabber random bullshit...
Last week we had our unit tests...and the question was explain Working of deffie-helman. Just because I didn't use the names Alice & Bob in the example she didn't gave me marks....I mean wtf..that was just an example mentioned in the slides.....
I bet it wasn't required at all...
I knew most of the things they teach here..
These mofo professors have just a CS degree and they are here to teach the same course....10 -
Oculus (Meta/Facebook) support be like:
- Hello, I have an issue. Tracking has stopped working after one of the updates
- <silence>
- Hello, I'm another fellow who has this problem
- Hello, here,s a link where a bunch of people are complaining about the same
- Hi, I am from the Oculus side. We will check it and let you know
** marks ↑↑ comment as SOLUTION **
Case closed! Good job everybody.
https://communityforums.atmeta.com/...2 -
I really don't understand how developers from Facebook, WhatsApp and other messaging platforms still didn't figure out that ever since they introduced message previews on push notifications that those "seen" check-marks became utterly useless in most of cases..
This COVID-19 quarantine just confirms it, since nobody is doing anything else except being on phones and computers whole day but somehow it still takes them several hours to "read" the message..9 -
As long as the couch does what it should and is stable, I think it's a good code. Programming means knowing what the computer does before it knows it.
Heaven for programmers:2 -
Today I gave my Network assessment (code) on an A4 sheet as told by the professor. He will later type the code and check if runs or not and award marks !!
ಠ▃ಠ 凸ಠ益ಠ)凸 Where is my stress ball?4 -
Lessons I've learnt so far on programming
-- Your best written code today can be your worst tomorrow (Focus more on optimisation than style).
-- Having zero knowledge of a language then watching video tutorials is like purchasing an arsenal before knowing what a gun is (Read the docs instead).
-- It's works on my machine! Yes, because you built on Lenovo G-force but never considered the testers running on Intel Pentium 0.001 (Always consider low end devices).
-- "Programming" is you telling a story and without adding "comments" you just wrote a whole novel having no punctuation marks (Always add comments, you will thank yourself later for it I promise).
-- In programming there is nothing like "done"! You only have "in progress" or "abandoned" (Deploy progressively).
-- If at this point you still don't know how to make an asynchronous call in your favourite language, then you are still a rookie! take that from me. (Asynchronous operation is a key feature in programming that every coder should know).
-- If it's more than two conditions use "Switch... case" else stick with "If... else" (Readability should never be under-rated).
-- Code editors can MAKE YOU and BREAK YOU. They have great impact on your coding style and delivery time (Choose editors wisely).
-- Always resist the temptation of writing the whole project from scratch unless needs be (Favor patching to re-creation).
-- Helper methods reduces code redundancy by a large chunk (Always have a class in your project with helper methods).
-- There is something called git (Always make backups).
-- If you don't feel the soothing joy that comes in fixing a bug then "programming" is a no-no (Coding is fun only when it works).
-- Get angry with the bugs not the testers they're only noble messengers (Bugs are your true enemy).
-- You would learn more than a lot reading the codes of others and I mean a lot! (Code review promotes optimisation and let's you know when you are writing macaroni).
-- If you can do it without a framework you have yourself a big fat plus (Frameworks make you entirely dependent).
-- Treat your code like your pet, stop taking care of it and it dies! (Codes are fragile and needs regular updates to stay relevant).
Programming is nothing but fun and I've learnt that a long time ago.6 -
Today marks the first day i needed to use a fork of a Github repo, because it just didn't contain a very basic feature i needed. The PR which fixes it has been open for months without a comment on why it's not merged.
I mean i'm glad i found a solution at the end, but goddamn it's so sad when a popular repo is not maintained well.3 -
The moment you enable the PHP warnings in your company and you want to delete all your coworkers code.
#why #you #do #this #to #me3 -
So, I got my very first gaming laptop on March 2015. Took a break from the almighty PC Master Race.
It's an Asus ROG G751JT. It was doing great, running my favourite games at 60FPS on high-ultra settings.
Few months after purchasing it, I've been getting a lot of BSODs with the same error (IRQL_NOT_LESS_OR_EQUAL)
As told by the guys at a local forum, I was told to try replacing the RAMs and I was stupid enough, I did. It has 4x 8GB HyperX Impact DDR3L.
The error still won't go away until I changed my SSDs. Which worked for a while until a week ago.
Getting the same BSOD countless times. This time I decided to directly talk to an expert, which is a friend of mine and guess what. It was the motherboard after all. Spent a lot of $$$$ to fix ONE BSOD.
Now I'm stuck with an Asus T100TF for about a month because I had to send it for warranty claim.
smh jfc anasmy y u so stupid for a year and a half. 10/10 worst experience (since it involved a lot of money)
What do you think of my stupidity? Comment below (10 marks).8 -
Fuck exams!
Over thousand slides, 100 marks. Postgraduate term exam. So screwed, can't remember title of unit, rather don't want to. -
*flashback to days of windows xp*
Just finished formatting and installing xp on friend's trash pc cuz the os was compromised due to a shitload of viruses. Notice that other partitions might still be infected and i don't have an antivirus on me.
"Big boi Ill be back in an hour, just whatever you do, don't open ANY drives no matter how urgent it is. Just Don't do it or i won't be able to help you"
Come back and VIOLA this worthless trash avocado opened a drive to play a game and d pc was infected. Again. Back to square one. It almost broke my heart. Almost.
I remember that day well. I was 15yo and hopeful. That day marks d start of my hatred toward tech incompetent people.
SO FKIN
A N G E R Y
So today
College
My classmates stink of incompetence. I'm not that smart in fact i consider myself to be a noob among devs but seeing ppl that are several order of magnitudes trashier than me breaks my heart and makes me soo Fkin
A N G E R Y
Hey you cunt of a skunk, WHY can't you even compile a fkin cpp file without an IDE what the fuck is wrong with you? What do u mean ur program isn't compiling? Well it literally says there syntax error on line 15 congrats u moron u fkin spelled else as esle. Why shud I waste my time on stupid Shitty ppl like u huh?
And waddup mr shithead.No. Not gonna help you partition ur drives and install a fkin linux just cuz ur too lazy to google it urself.
And if i refuse to help cuz im working on my shit then I AM D BAD GUY? Stop bitching about me u lazy bastards get ur lazy arse off and read the fkin book. Watch a tutorial or sm shit why the fuck can't u understand YOU LITERALLY PAY TO COME HERE AND YOU AREN'T EVEN TRYING TO LEARN THE BASICS GOOD LUCK GETTING A JOB YOU WORTHLESS CUNTS.
Now now all the poison is out i can finally focus on improving myself and stop giving a fuck about them. Its hard to be calm and cool when ur surrounded by ppl like this all day. Even harder when there is almost noone that you can look upto. All this time, there's only one thing I've learnt- in a place like dis, being an asshole is better dan being polite.3 -
trying to install devkitARM:
>don't wanna install pacman for one special snowflake library
>download source
>sh some-bad-buildscript.sh
"can't extract /-.tar"
>???
>report issue
"lol just use pacman skrub"
>I DON'T WANNA FUCKING USE PACMAN YOU TROGLODYTE, MAYBE HELP ME WITH BUILDING SOURCE?????
"nah, just use pacman, it'd be dumb to provide a copy for every package manager"
>EVERYONE ELSE DOES THAT. YOU ARE THE EXCEPTION, NOT EVERYONE ELSE.
*fucker marks issue as spam, doesn't help me*
i'm gonna fucking stab somebody i swEAR TO FUCK
https://github.com/devkitPro/...
Turns out i'm banned from making another issue to try and ACTUALLY GET HELP THIS TIME.
"You can't perform this action at this time" isn't fooling anyone, GitHub, we all know what happens when you get errors like this7 -
When a client sends you an email with multiple question marks "????" Just because you havent answered an email solely stating "ok thanks" in the past 24 hours.
What am I even supposed to do with that dude?
PS we need to fix some stuff on his wordpress website thingy to which we agreed literally a day ago. First of all do you really expect we magically fixed everything today even or ehm at least try to be friendly instead of just sending a bunch of question marks thank you very much3 -
Project in college, many moons ago.
Team is building a robot for a project. Nothing too crazy, it does some simple tasks like walk along a path and shit.
3 weeks for the project. 3 team members.
The largest graded part of the project is the ability to follow a path based on vision.
The 3rd member INSISTS on doing that part, he says “I want to prove to the professor that I am the smartest in the class so he helps me get a work term.”
Of course, my other partner and I see this as the complete selfishness of a child who will never be employed anywhere worth talking about anyways. He is a big asshole about it and we end up giving in.
## Week 1
We get our parts done (working together the way a team would) without his help.
He struggles, hits walls, complains. You know, dumbass grown child stuff...
## Week 2
We offer to help since we are done. He refuses. The teacher sees all of this and doesn’t like it at all.
After class the 2 of us go to the teacher and let him in on the details. The guy insisted, he is struggling and will not take help etc.
Teacher goes and talks to him and tells him it is a team project for a reason and that we should be helping. He says yes.
Then he misses the rest of the classes that week and send an email saying...
“Since everyone decided to keep interrupting me and breaking my train of thought, I could not get anything done in class. Therefore I will be staying home to finish the project from there.”
And to top it off, he didn’t even take home the robot’s connectors he needed to do the damn thing. Haha.
## Week 3
We know he wasn’t going to get it done, so we approached the teacher. We make it clear that we have done all we can and that we are not ok with losing marks because of this.
Since we are both good students that he likes, he decides to give us an option.
You can take a 50% on his part even if he doesn’t get it done (for trying to help) or we can do it ourselves and he won’t get the marks if he doesn’t finish.
## Night before
We say fuck it and do the thing.
In fact, since we were learning Java at the time we decided to do it in Java. Our other prof sees us playing with robots and gets excited, he stays with us and suggest improvements.
In the end we rewrite all 3 robot functionalities in Java and hand in the project the next day.
## The day of
Partner 3 comes into class and says this...
“That walking path part is impossible, I didn’t get it done, but I bet nobody else did either. So at least we will get a 60% on the other 2 parts!” (With a big shit eating grin)
Prof calls our group up. We walk up and the prof looks at the 3rd guy and says.
“Since you have decided to do your part alone, we will have you present your part alone at the end of the groups”
He tries to say something but the prof cuts him off and tells him to sit down.
We show all of our code and the robot does everything perfectly.
Groups go by, now it’s that guys turn.
He says that the walking part was impossible but seems to realize right away that he just saw EVERY other group get it working.
The teacher ask him to stay after class.
## Result
We got a 98 (prof said he was hoping we would have done in VB like asked but he liked the result a lot).
Other guy gets a 5% for his non-working spaghetti code on 0s on the other 2 sections. He blames us, of course.
Bonus Content:
That same asshat above once said this to me...
“I don’t indent my code so that if I work for a company and no one else can understand the code then I am unfireable!”
Yes, he wrote all code like this...
const Example = () => {
Stuff
More stuff
For() {
Stuff
If() {
Stuff
}
}
}
Fuck that guy🖕🏽3 -
When you're proud of writing plain clean C and GitHub marks it as C++ Objective-C and Objected-C++.5
-
!rant
It's funny to consider that my previous rant (https://devrant.com/rants/4510906/...) before I stopped checking this platform as regularly was about what the perfect job would look like to me
…
Because I just landed it today, people!
Signed with a very chill, medium sized, local dev company that appreciates me as much as I do appreciate them. Starting next month I won't be just a random intern (although they never treated me as such anyway) anymore but a professional developer, with even a slightly more important pay than what you (at least I)'d expect for a junior
Adios annoying courses and mediocre marks, now the fun begins!14 -
Almond: "This isn't right, we need to use <blah> instead"
Phil: <Marks as resolved>
Almond: "This still doesn't look to be resolved"
Phil: "IT IS RESOLVED IT WILL BE PUBLISHED AS PART OF MY NEXT COMMIT WHICH I WILL PUSH ON SCHEDULE LATER TODAY"
🙄
...yeah, that makes sense...4 -
So for almost all of my c++ assignments I've recieved various emails from the instructor about things like "incorrect header guard" and "library inclusions out of order".
The first being that I didn't include the namespace inside of the guard (I did "FILENAME_H" instead of "NAMESPACE_FILENAME_H")
The second is that I accidentally included header files from my project before any of the standard libraries. This one wasn't even intentional, it was caused by vscode when it formatted/prettified the file.
EX:
#include "test.h"
#include <iostream>
In my opinion these seem pretty nitpicky and, especially that first one, appear to be more like naming conventions or best practices than something to deduct marks for.
On the flip side though I did accidentally store a couple functions in the global namespace which I understand isn't particularly safe. I also made a couple one line conditional statements that simply never evaluate to true, but I didn't think this was a huge deal.
I don't normally code in any of the c languages outside of college so I'm not sure how important these are to actually follow. I've apparently been deducted an entire 10 percent off the assignment because of the head guard. I know that every professor has different criteria for deducting marks, but even this seemed rather unnecessary.
What does everyone think?11 -
"Did you know that if you put two exclamation marks at the end of a function, server will prioritize that function and make it work faster?"3
-
tldr: maintainers can be assholes
So there's this python package+cli tool that I found interesting while browsing github and thought of contributing to it. Now this repo has around 2000 issues and multiple open PRs so seemed like a good start.
So i submit 2 PRs implementing similar features on different sites (it is a scraping repo). This douche of a maintainer marks comments various errors in the code convention not being followed without specifying what they actually were. Now I had specified that i was new to this repo so and would need his help (I guess this is one of the jobs of the reviewer). This piece of shit comments changes in the pr with one or two word sentences like "again", "wtf" and occasionally psycopathic replies. That son of a bitch can't tell what's wrong like wtf dude, instead of having a long discussion over the comments section of the fucking pr why can't you just point out what exactly is wrong and I'll happily fix that shit, but no, you have to be a douche about out it and employ sarcasm. Well FUCK YOU TOO.1 -
Had some time again to work on my scripts and changed the calmifier script to detect mid-rant screaming and also make them half transparent after calming them - just to see how much actual screaming there was before.
That option can be turned on, by just setting inside the script "highlight_changes" to true, default is to not highlight them.
Anybody who doesn't update it now, will get the update depending on the tampermonkey update setting, which defaults to once a week iirc.
If you want to try it out now: https://github.com/7twin/...
Original rant: https://devrant.com/rants/1419613/...4 -
So apparently the Android and iOS versions of whatsapp interpret formatting marks differently. Turns out the script wasn't in root...4
-
0 programming knowledge starting to learn C. write a chunk of code and go to another room to make coffee, friend changes all semicolons with greek question marks. I spent the rest of the day trying to fix the errors while my friends where laughing like maniacs.2
-
My father used to beat the living shit outta me for getting low marks during my school days. Happy Father’s Day lol17
-
Aaaah. I ask one fucking question on askubuntu. One dude marks it as duplicate, I explain in multiple comments it has no relation. Still fucking creates an answer with some solution with clearly doesn't work. If he had EYES he could see my configuration is already there and with his one brain cell conclude that it has nothing to do with it for fuck sake.8
-
After you brainstorm on a white board, take a photo, and clean up after yourself.
Coworkers were complaining about dried white board marker.
I told them to use the hand sanitizer from the bathroom, it will clean off all marks.
Now you know too.2 -
Need to rant. I am doing programming 2 at university with java and the assessment is to make a card game. The subject is shit and is basically going over loops, variables, conditionals ect which we learned in introduction to programming and programming 1.
This leaves little time for oop principles, design patterns inherentance and all other useful stuff.
I am dedicated to making a career in programming and want to do my assessment the correct oop way. Although the lecturer doesn't care and is instructing the class to do it procedurally and shit.
I could do the program really quickly the shit procedural way and still get full marks but I feel dirty as hell coding like a scrub. So I'm 60 hours in on this assessment and there are so many classes and even more because of unit testing (we don't have to unit test) and I am spending way too much time.
My code is beautiful, my classes are tiny and maintainable, easy to modify and I'm learning so much about how to code oop the correct way with the help of a mentor and someone I look up to. But god does it take forever to code this way. And soo many iterations and redesigns because I'm still learning.
It's almost done but now I have another programming assessment for another class I'll have to do the dirty way because of time restraints and other assessments.
Sorry for wall of text but this is stressing me out 😛4 -
Next 30 days : no linux, no developing,no designing... only scratching pens on stupid assignments and licking teachers asses for marks. I hate college exams ;___;12
-
During college, I was unable to compile a program during lab sessions. So I decided to ask the assistance of Technical assistant. He went through my code for like 5 minutes and said :
"You forgot to add Comments"
To which I replied :
"But sir what that does have to do anything with the program"
His reply was :
"DON'T ARGUE WITH ME, DO YOU WANT ME TO DEDUCT YOUR LAB MARKS"4 -
Back at my masters degree there were 3 group projects and 2 of them were dev related. Being the last to enroll and classes had already started, I entered a team missing one person. 2 out the 3 team members were complaining how they couldn't keep up with the workload and kept doing nothing on the group assignments. The other person and me did all the work because we wanted to get good marks on the project. Sadly, the teams remained the same on the 2nd semester, mainly because all the star students were grouped together to our chagrin. This time though, neither the teammate nor me were lenient on our comments during group assessment which influenced heavily on the individual marking.
-
Today marks literally the 4th time a recruiter has put me through to a technical test for a language/ framework i do not know. Even if you are tech illiterate just fucking ctrl f my cv to see if I know it. Absolute waste of time.1
-
I've been using the Square REST API and I spent one hour thinking there was something wrong in my code until I f** found that THEY were not following OAuth 2 guidelines, which made their workflow incompatible with the OAuth lib I was using, so I had to mark an exception for Square's OAuth from the rest of my OAuths. Specifically, RFC 6749 Section 4.2.2 and 5.1.
However, after reading OAuth 2 guidelines, I became angry at THEM instead. The parameter `expires_in` should be the "lifetime in seconds" after the response. This will always be innevitably inaccurate, since we are not taking into account the latency of the response. This is, however, not a huge problem, since the shortest token lifetimes are of an hour (like f** Microsoft Active Directory, who my cron jobs have to check every ten minutes for new access tokens). Many workflows (like Microsoft, Square, and Python's oauthlib) have opted to add the `expires_at` parameter to be more precise, which marks the time in UTC. However, there's no convention about this. oauthlib and Microsoft send the time in Unix seconds, but Square does this in ISO 8601. At this point, ISO 8601 is less ambigious. Sending a raw integer seems ambiguous. For example, JavaScript interprets integer time as Unix _milliseconds_, but Python's time library interprets it as _seconds_. It's just a matter of convention, a convention that is not there yet.
Hope this all gets solved in OAuth 2.1 pleeeaasseee1 -
I watched some of markipliers videos back when I watched yt
I felt down and like I wasn't giving my best and stuff
Searched for "markiplier inspiration"
Marks video "believe in yourself" is just that
Inspirational af
Say what you want about him, I guess there are people who think he's about the money or stuff, but no matter how you look at it he is a good guy.
He makes you laugh when you need it (if you get the idea of watching his videos)
He has a kind heart, he is a fucking inspiration on himself, inspiration in person.
Comparing myself to myself, I still think I can do better, but that's also what he encourages, set your own goals and just try to be a bit better than yourself
Only compare yourself to your past self.
I may not be as great as I want to be, but I am a lot fucking better than I was a year ago.
And that's what it's all about.
I'm gonna try a bit harder as I go, I wanna BE BETTER as he says, I am going to be fucking better.
It won't be instant, but I'll try.
I hope some one who reads this crap will get inspired a bit as well.
Believe in yourself, and know that others believe in you as well.
...His hair looked better in blue.undefined crap rant ending inspirational af sentimental crap comparisons blue inspiration markiplier yt believe in yourself youtube believe5 -
Tuesdays at work suck. This is something I've put a lot of thought into.
Take Monday for instance, we love to hate him, when it comes to Mondays we all know the score we tell Monday where he can go and he takes that and owns it. He knows we hate him and we all know where we stand.
Wednesday is hump day, not great but we know we're halfway through the week. Thursday gets us a little excited cos we can see the end of the week.
Friday is the one we've been waiting for and we love him, Saturday and Sunday are bliss.
Tuesday... What's Tuesday got? It's just a day, there's nothing going on with Tuesdays.
Well except this week, in the UK we had Monday off as a statutory vacation, so this week, this week Tuesday is the day we love to hate, he's now got all this beginning of the week rage directed at him. The other days are unaffected, Thursday and Friday still have their thing, Wednesday still marks the half way point.
Monday has buggered off and let Tuesday be something for a day, I don't think he can take it. If he could Monday would probably go into retirement. Monday probably has more hatred directed towards it than Katie Hopkins (and that's saying something).
In short, no, no I do not want to get out of bed and go to work today, but I will, cos that's just what we do, but fuck you Tuesday.
Fuck you with a bag of spanners...
...Sideways...
...With habanero sauce...
... And a pineapple.1 -
The moment when your teammate raises a 150+ file pull request on Friday evening and marks it as urgent.1
-
I’m so fucking pissed off right now ... what the actual fuck!!! I worked so damn hard during this semester i got 70% for a presentation whilst some jack off who gets 100 fucking hundred percent doing it last minute by MY FUCKING HELP and also has the nerve to tell me to stay silent while he enjoys his Fucking undeserved HD (high distinction)
Well guess fucking what???? I’m not staying damn silent !!!! I’ll definitely be watching out for who I help in the near future, 😡 1AM i should be sound asleep but im legit so bloody pissed right now...I put my heart into my project stayed up late nights till 2 bloody fooking AM many times in a row, put my heart into my FREAKING presentation and i get stabbed in the back?!? Well thats how i feel right now.. i dont know how i will sleep tonight.. what PISSES ME OFF THE MOST IS HOW SOMEONE HAS THE NERVE TO TELL ME TO BE QUITE SO THEY ENJOY THEIR UNDERSERVED MARKS!!!
anyways guys and gals.. i had to get that off my chest. Thank you for taking the time to read my rant.. as always wishing you all the best.
Milo12 -
My boss wants me to make a web application in .NET, it's like asking a Android developer to build the app for iOS as well.
Note: Im a PHP developer4 -
Today marks the day that i finally get to do stuff on a production server.
Its just installing the elasticsearch cluster. But i still feel honored by the trust im given even tho im still an apprentice.6 -
It was time of my grade 11 result.
When result was out, I asked my school coordinator about the number of students failed and he replied it was non of my business. I got back home, coded a script in python to fetch the result of 233 students and pass it to text a file. Printed it and gave it to the coordinator the next day, he was like "Ok, I'll tell computer science teacher to give you full marks on practicals"4 -
I often read articles describing developer epiphanies, where they realized, that it was not Eclipse at fault for a bad coding experience, but rather their lack of knowledge and lack of IDE optimization.
No. Just NO.
Eclipse is just horrendous garbage, nothing else. Here are some examples, where you can optimize Eclipse and your workflow all you like and still Eclipse demonstrates how bad of an IDE it is:
- There is a compilation error in the codebase. Eclipse knows this, as it marks the error. Yet in the Problems tab there is absolutely nothing. Not even after clean. Sometimes it logs errors in the problems tab, sometimes t doesn't. Why? Only the lord knows.
- Apart from the fact that navigating multiple Eclipse windows is plain laughable - why is it that to this day eclipse cannot properly manage windows on multi-desktop setups, e.g. via workspace settings? Example: Use 3 monitors, maximize Eclipse windows of one Eclipse instance on all three. Minimize. Then maximize. The windows are no longer maximized, but spread somehow over the monitors. After reboot it is even more laughable. Windows will be just randomly scrabled and stacked on top of each other. But the fact alone that you cannot navigate individual windows of one instance.. is this 2003?
- When you use a window with e.g. class code on a second monitor and your primary Eclipse window is on the first monitor, then some shortcuts won't trigger. E.g. attempting to select, then run a specific configuration via ALT+R, N, select via arrows, ALT+R won't work. Eclipse cannot deal with ALT+R, as it won't be able to focus the window, where the context menus are. One may think, this has to do with Eclipse requiring specific perspectives for specific shortcuts, as shortcuts are associated with perspectives - but no. Because the perspective for both windows is the same, namely Java. It is just that even though Shortcuts in Eclipse are perspective-bound, but they are also context-sensitive, meaning they require specific IDE inputs to work, regarldless of their perspective settings. Is that not provided, then the shortcut will do absolutely nothing and Eclipse won't tell you why.
- The fact alone that shortcut-workarounds are required to terminate launches, even though there is a button mapping this very functionality. Yes this is the only aspect in this list, where optimizing and adjusting the IDE solves the problem, because I can bind a shortcut for launch selection and then can reliably select ant trigger CTRL+F2. Despite that, how I need to first customize shortcuts and bind one that was not specified prior, just to achieve this most basic functionality - teminating a launch - is beyond me.
Eclipse is just overengineered and horrendous garbage. One could think it is being developed by people using Windows XP and a single 1024x768 desktop, as there is NO WAY these issues don't become apparent when regularily working with the IDE.9 -
A custom script that makes a Jira ticket, assigns it to me, marks it as in progress, check out a git branch, set the commit title and the Jira title to my command line argument…. Push, open a PR, and fuck it, merge that shit too.
I checked all the corporate boxes and you got the typo fixed. -
I'm tired of meth. I mean math. MATH.
I'm sick and tired of everything.
"First!" numerous blog comments shout to no-one, from the colorful abyss of the internet.
And for me, this is a first. But lets rewind.
It's 2 AM, about a month ago, spring in Akron Ohio. Someone reading this is no doubt shocked "You just revealed where you live, ON THE INTERNET! The weirdos will find you." Anyway, it's a dark and stormy night, as the cliche goes. Like most people up after midnight, I'm browsing facebook posts and useless productivity sites. (lifehacker)
I yearn for something more out of life, somewhere deep down inside..maybe in my colon?
All the articles are saying "10 tips to supercharge your life", "how to discover your life purpose in three easy steps", mixed with an ad about ron jeremys one secret tip to grow a massive cock, and exhortations to buy such-and-such's "new ebook!"
I am not moved by any of this.
Scrolling, and tabbing, and intermittently dropping f-bombs because of js ads locking up my browser, I stop and lean back. In the blue afterglow of my shitty compaqs screen, a thought appears, like a cheesy genie, popping out of a brass toilet. "Start a blog! A youtube channel! A podcast" the ad proclaims. "Yes. Thats what I have to do" I whispered (I'm embarrassed to admit I really did say this).
Then I Control+W'd out of it, and flopped onto my mattress. This was the wasteland of my life. I couldn't help but think The whole internet was like some seedy back alley 2.0, where boxcar willie with his train of needle marks had been replaced by more upstart, greasy-haired gurus. Each peddling 'ebooks' of 'advice', stuffed in between ads to buy 'this one hot stock you have to own' and porn. And that alley was really the 'blogosphere' and 'youtubers'. As I drifted off, the last thought was 'We're all just bottom feeders,leeching and whoring on the attention of faceless anonymous users, hoping for another quick fix.'
I fell asleep, these racing thoughts fading into sweet oblivion, but never too far away.
Welcome to My Back Alley
That title is only twice as dirty, and half as thought-out as I planned. As you imagine, the lure of being the electronic equivalent of a conman never quite faded. And the more I read, the stronger the message "Start a youtube channel!" grew. As if everyone and their grandmother having a youtube channel would somehow make the world right, cure cancer, and save kittens from animal shelter gas chambers. Everyones an expert, everyones an agent of change. Maximizing productivity, Evangelizing Technology, ninjas collaborating to socialfy your community diversification benchmark for target traffic
through user-engagement and authentic grass-roots, blah, blah, blah, blah, money. Thrusting, moaning, screaming. Money. Pumping at the center of it all.
Wake up and smell the bullshit.
This blog is not a blog. This blog is the anti-blog, and we are the anti-streamers. 'We' (read "I") resist your bullshit lingo bingo, call out the Truth (Tm) and refuse to be satisfied with any standards of decency, journalistic integrity, or common sense.
Every blog, every channel, every podcast is Starbucks And I'm tyler durden, pissing in your coffee, and calling it a 'latte'.
Freaks, and anarchists, laymen and losers. If you feel as I do, then this is the place for you. Welcome to devrant.11 -
I spent hours trying to enable CORS on AWS Lambda through API gateway (it was supposed to be simple and Amazon had a nice tutorial) but it turns out that there's a known bug that makes Lambda Proxy Integrations not adhere to any setting in the API Gateway, you have to respond with the headers through the Lambda yourself.
Amazon now mentions this in the tutorial, but if you click "Enable CORS" in API Gateway, it'll show you green check marks and tell you that everything went fine, but you'll find that the Lambda does not respond with the CORS headers. They shouldn't even have "Enable CORS" as an option when you use their Lambda Proxy Integration.1 -
"Company Policy requires you to complete data awareness course"
Open up link, press next 30 times and exit before the quiz marks the action as Complete,
My Balls do like HR1 -
!rant
I would like to present you the story that I tell everyone who is afraid of expectations, stressed to impress interviewers etc. Story about how I got my first job.
A little of backstory:
I always was good with computers, not like expert, but good. Of course parents were against giving me admin rights, so I just played games or such. When time came to choose my path throgh life, I've chosen to go medicine-related way, and chosen high school with such profile. I did my exams terribly, cause I never cared about marks, so I applied to uni for Information and Communication Technology course. I've learned basics of coding there, much stuff I don't really need right now, but in the end it was the best choice I've made.
With that way too long prologue...
I had to do internship for my uni and decided to try and find some year earlier. There was a lecture about multiplatform coding held by company my uni had partnership with. I've filled a questionare and few weeks later they invited me for assessment - event where they will choose who is good enough.
Of course I didn't believe in my chances to win an internship (1st place got full time job). There were 3 stages:
- solo coding (C/C++ own implementation of list)
- group designing (UML and presentation according to specification)
- interview (talking about code from stage 1, some questions, theory)
I failed 1st stage miserably... so I decided to don't give a shit and bravely presented our group project. A guy asked why we did not included a thing on UML, so I told him that it was not in specification - he was suprised but took it as big +. We "won" that part. When it came to interview... I was myself, cool headed, admited when I don't know things.
I thought that was it.
Few weeks later I received email - they invited me for internship.
They put me into Python project, language that noone in our trainee team knew. Told us 2/4 will be hired. At first I was not interested, wanted to finish my degree. But they convinced me. Now I'm here +2 years.
I am aware there are not many companies like that. Here, the people matters - you don't have to know everything, as long as you are getting along with others.
My tip for you though is: BE YOURSELF, NO MATTER WHAT THEY SAY 🎶
And I wish us more companies like that.😉1 -
(Part 2/2?)
THE RAT-RACE ARC:
I get a mail 2 months into this fiasco telling me to register on their website and take up another test. I was already over with my emergency and was working my full-time default. (Fortunately I found another internship during this time which was one of the best initiatives I've worked with).
It asks me to register as a new user, take up the test and "share" my results. Not pushing it on insta/fb but legitimately share my test results link to my friends manually like a referral code. The more shares the more marks I'll get in the test. Why the test you ask. Of course to sign you up for the same Whatsapp trickery bullshit.
Luckily these nutcases didn't know they could be bypassed. I simply opened the link in incognito and logged in with my own account and that counted as a point. So I automated that shit.
Surprise surprise. The same fucking "Hello everyone" message into my mail. To my surprise I was relatively lucky to get ghosted after my attempt. This story is quite depressing in general cases. You're supposed to do this assignment shit for 2 months and then they ask for 2000 INR for a training period, past which you are paid between 1000/- and 7000/-. Though I didn't get the chance but I'm willing to bet you get 1000/- per month in a 2-MONTH INTERNSHIP. WTF.
You also have the other option of ranking first in their 3 consecutive competition that they hold. The theme is again to create chunks of their actual outsourced work.
WHY NOW:
The reason why this rant sparked is because I recently received an email with my results of the aptitude exam that I first took before the Whatsapp fiasco. I imagine they just pushed out a new update to their test thingy and forgot to set it's limit.
THE CORRECTION ARC:
I pushed this message to Internshala. They were kind enough to remove them from their website. I also shot down their Angel and Indeed listings. I sent a strongly worded email counting their con-artist operations and how I've alerted authorities (obviously a bluff but I was enjoying it). They most probably are not affected by this though. They might still be continuing their operations on their website.
I'm sharing the story here with the moral of:
Don't do jackshit if they're not compensating you for it
Always check for reviews before you start working at a place.
Be cautious of bulk messages (and the infamous HEY GUYS!! opening)
Don't do anything outside your work specification at least while doing an assignment.
You're free to question and inquire respectfully about the proceedings.
If you're good at your job you'll get good working place. No need to crush yourself with an oppressive job due to external restrictions.
And if you manage a company, please don't take advantage of helplessness.
There's no good ending to this tale as I have not received a follow-up. Though I want to see scumbags of their calibre shot down without remorse.
Good bye and thank you for listening.2 -
My ideal job (which very fortunately my current one), is best described by Troy from Community is, "a job that looks from a distance like I do nothing", (or at least that's what my parents think I do -- nothing).1
-
I missed half of the Algorithm classes because of sleep but managed to keep the highest marks.
Faculty members that don't force on attendance are a blessing!2 -
Ok GCSE finals are coming up and I take ICT. literally it's harder to fail than pass this subject. But some how half the class is failing it. One of the topics that a lot of the class are struggling with is web development. Honestly all you have to do is add 2 images and some text and you have 10 marks it's stupidly easy. So at the end of the class the teacher handed me some notes on web development that he thought might come in handy. Knowing me I just chucked it in my bag never to be seen again mainly because I already know a lot about web development and a lot of the time he's asking me why his code isn't working and I'm there mumbling "you forgot a semi colon" or something like that. So when I got home I decided to take a look at these notes and honestly this made my day2
-
my covid is still not recovered. Today marks the two weeks. I got fever the first day and then fever was gone but body pain and weakness was there. In 2 days, body pain was gone too. Now I couldn't only eat well. So tried light food but after sometime it was harder to eat properly.
Now I'm having the same diet I used to have before covid, but I'm still not feeling well. I feel pain in my shoulders. My heart races almost all the time and that gives restlessness to my days and it's very hard to focus because of that. Family issues, work, excitement of switching companies, even small bit of sound makes me more restless. If someone has the same symptoms when did they last?27 -
Teacher : You don't have to enter quotation marks: it makes the website crash, I don't know why. We will add a message to warn you.
Me : Can i play with it ? :)2 -
So I did an undergraduate degree in Physics and as part of that did a few courses involving c++. The classes were terrible ("make a class, it'll get you extra marks" kinda bad). I found them interesting but had the self awareness to know it was a terrible course. So fast forward a year and I'm following the MIT CS 001 video lectures and it clicks.
I've been a dev ever since. I've not let my mathematical background slip as it's bloody useful but I enjoy what I do day to day. For the most part.2 -
When some complete Fuck-Knuckle marks your question as a duplicate on Stackoverflow and doesn't link to the duplicate.2
-
New dev guy in office, Does zero research when stuck in somewhere while doing a task. Goes around asking the team if they had done that before. Talks on the phone for like 10-15 mins with god knows who when he has a technical problem.
Doesn't even bother to do a simple debug before complaining about an exception in a service to the dev who wrote it (if he knows the dev who wrote it)
Interestingly, he marks the tasks he does in a google sheet in red, yellow and green rows that's shared with our tech lead.
Not that he bugs me or anything, but just thought i should share this here.6 -
so i have to practice on codewars for homework and my code.. doesnt work! what a surprise. i was wondering if anyone could tell me whats wrong since yall are professionals. its probably a stupid mistake. this is the challenge: Implement a method that excepts three integer values a, b, c. The message return true if a triangle can be built with the sides of given length and false in any other case.13
-
Some marketing people function on a whole 'nother level. They write internally in the same way they write to represent the company externally, using all the bullshit-laden buzzwords, using exclamation marks all over to convey fake enthusiasm. I wonder if they feel exhausted after doing this for a whole day. I know I would. But I suppose if it helps them perform better, well, let them do it, I guess.5
-
Back in college, we were assigned a group of 3 other students to complete a duplicate of a current popular site. My team received Kijiji, a Canadian ad listing platform similar to Craigslist/eBay. This was to be done with JSP and JavaEE. We had to create a 30 minute presentation to go along with it.
Fairly simply, except we had one week. As I worked 2 jobs at the time, I typically left my college work to the last minute. Initially, we split up the work, myself taking 50% of the code and splitting the rest between the other 3. I was perfectly okay with this, until the night of the last day, they messaged me saying they had done nothing.
Extremely annoyed, I told them to just do the fucking presentation and that I would now finish the other 50% of the code myself. I coded 16 hours straight, went to bed, woke up and coded for another 8 hours. It wasn't exactly what I wanted, but it covered all the points.
The day of, they showed me their presentation. It was complete trash. When we ended up presenting, I improvised the entire thing. The others didn't even speak. Not once. At the end of it, we received 65%. The professor said that if the project had been completed by one person, it would've received a perfect grade, but because there were 4 of us, he expected more. They all looked at me in fear of saying something. I just thanked the professor for his time and left.
The professor knew I did the entire thing myself. My code was by far the most consistent in his class, constantly receiving perfect marks and him asking me to assist other students.
When I graduated, I didn't have 100%, but I did have a 90%. Considering that project was worth 25% of our final marks, he definitely bumped my grade.3 -
When you see a monitor with this error message on it:
Alert: Keyboard not found.
Press F12 to continue.
😂1 -
Found this gem when trying to figure out what transclusion is in Angular. Didn't we all learn in like, 3rd grade not to use a form of the same word in a word's definition?
"ngTransclude
- directive in module ng
Directive that marks the insertion point for the transcluded DOM of the nearest parent directive that uses transclusion."1 -
I got to see my paper for information system today and I got half the marks from total.
The teacher wanted me to write the latest technology properly from fucking 10 year old book.,🤐😠😡1 -
Cant believe this shit happened in my country today
A mass school shooting where a 13 year old kid shot and killed 9 kids, teachers and a security guard. Several other kids wounded and one girl having brain surgery
All of this because he got an F in history class
He was a quiet kid, well behaved, got straight A's and very intelligent. But he was reportedly bullied and no one did shit about it
This the type of shit you see in america daily. But now Serbia marks #1 country in europe with a school shooting
The kid planned all of this attack for 1 whole month. He drew a sketch on the paper of the school's pathway so he can know where to go, from enter door to exit door. Even wrote the names of kids he planned to kill, sorted from high to low priority
Due to Serbia's law, no one under 14 will be held accountable or go to jail for any crime, and this 13 year old kid was so intelligent of knowing this dumbass law that he executed on this plan Now in May because he turns 14 in July this year
Ironically, his dad was a well known doctor, and now the dad is fucked. Dad's gonna go to jail. Because the kid stole his dad's gun with 5-6 clips of magazine
Very bizarre21 -
I find it bizarre that streaming services have a "skip intro/recap" button and clearly marks a segment in a film/show worthy of forgetting but will keep it in your "continue watching" section if you leave during the credits.
Surely you would mark this as complete if the identifiable segments exist?1 -
Building on this other rant: https://devrant.com/rants/2168393/...
What other pet peeves you have when chatting or texting? What things grind your gears?
For example:
People.........that type..........long messages................with lots of dots in between.........like they are allergic to the spacebar......
people that don't write any punctuation because they write like they speak and when you speak you don't speak the punctuation right and you also don't speak the question marks right do you agree
People that send a message to you, then after a whole minute has passed…
Hey
Hey
Hey man
R u there?
Heeeeeeeeeeeeey
Maaaaaaaaaaaaaaaaaaan
Call me when you read this ok?
Heeeeeeeeey
H
e
y
:(
:(:(:(:(:(:(:(:(3 -
Establishing an eating schedule was truly a brilliant decision. It allowed me not to eat right before I go to sleep, keeping my stomach empty and making my body lose fat every single night.
As far as I keep breathing, the chemical reaction that makes me alive (CHn + O2 => H20 + CO2 + Energy) just need to continue, and when my stomach is empty, my body is just forced to burn fat.
It works like a charm. No “fat-burning” supplements and other MLM BS is needed. You just need to adjust the schedule so you never feel hungry. If you need to eat five times a day to achieve this, so be it. Just allow two to three weeks to establish a schedule and learn how to maintain it. Recurrent reminder apps are helpful.
I’m off liraglutide for more than two months now and I’m keep losing weight without any meds and my digestive behavior changed entirely.
If only I had emotional resources to make this happen earlier, there wouldn’t be pre-diabetes, numb feet, apnoe, stretch marks… -
!rant
This year marks our 5th anniversary of devopsdays in Amsterdam and the whole team is working hard on making it the most awesome experience of 2017 for anyone interested in the devops movement. :)
I really believe this will make us be less frustrated and rant less! Though, I never want this app to end! =]
But what is an amazing conference without amazing talks? That's where you come into the picture. We have spots open for talks (lightning and non-lightning) and workshops.
If you feel like you have a valuable devops story to share please fill in our CfP here - https://devopsdays.typeform.com/to/... .
You can expect about 300-400 people at a talk and somewhere between 10-30 at workshops.
When is it? 28th-30th of June (2017)
Why Amsterdam? Amsterdam is pretty cool. We make it extra cool and make sure you're never hungry or thirsty.
Hope to see you there!
And I need to see devRanters there to share the best stories!
❤️️ on behalf of the Amsterdam organizers.3 -
Lesson of the day:
<If a section of your code keeps on bringing errors, just comment it. The code is likely to work./>4 -
Why does it take 3 interview stages to get a 3-month internship...
That's ignoring the personalised CV, resume and cover letter for each one as well.
Can't imagine the fun of getting an actual job!!8 -
So:
git add . - marks the files in my local folder to be added to the repo
git rm -rf . - deletes the files off my file system ? Crap!2 -
One of the students I'm a TA for handed in a one-liner with the comment that his submission was the shortest.
The idiot forgot to add imports for the functions he used, so the code didn't even compile.
Safe to say he didn't get high marks for that. -
"The culture here is one of success based upon academic excellence, studying, learning, practising and having a good job and a great life. For upper India, not the lower. I see two Indias. That's a lot like Singapore study, study, work hard and you get an MBA, you will have a Mercedes but where is the creativity? The creativity gets left out when your behaviour is too predictable and structured, everyone is similar."
Steve Wozniak on Indian Talent.
As an Indian, I agree with him. In this day and age, where education is so easy to come by, We live in a country where from the beginning we're told that education is about getting marks and writing stuff down 10 times. We live in a country where we're asked to cram up answers to questions which start with "what are your thoughts on..". How can we expect to be creative?
Can marks be a metric for good candidate in a country where the thought is, "first complete your engineering with good marks, then think what you wanna do in life".
Should academic excellence really be about the amount of shit a guy could cram up?
Sure it's easier to filter out people on the basis of marks in a country with 1.3 billion people, but is it justified?
Can we justify "success" as a good job for a guy who's life's only achievement has been getting into a good engineering college?
Can we really consider a guy successful, if his only "effort" has been reading and rereading books twice, thrice, a million times. Is this person, who has literally crammed his way into life, and has no practical experience, really successful?
This is the very reason Woz giving such a statement is justified. As long as we as a country gives up the stupid thought that patriotism is all about abusing the guy who says something negative about the country, and we actually start taking an action and change our thoughts on education, we won't succeed.
doomsday out 🤟 -
DR-4798: Have notifications be marked as read only when clicked on instead of after seeing content
Priority: Should Fix
Type: Story
Description:
**Background**
Some users are reporting that they are not seeing all of their notifications because one notification marks all other notifications as read. This is because users mostly focus on the notification tapped on and then return to the notification screen. But other notifications such as mentions may reside on the same page and thus marks notification as read leaving users to miss out on possible important responses, etc.
Let’s change the way we mark notifications as read by only marking them as read once clicked on not seen.2 -
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 -
So today (as of 5 min ago) marks a great day for my personal projects! I just got my embedded systems Flash memory driver debugging on my PC in Visual Studio, talking directly to the REAL flash chip, WITHOUT being tied to a embedded target! It's glorious. I can finally debug and write tons of tests without having to worry about the constraints of my embedded system. Ahhh. All the pieces I've needed to build this have slowly come together over weekends, and it feels so good to have this tool in my arsenal now! Great day indeed.
-
Company i applied for told me how they are planning to release a new project on friday.
... Decided for a different company -
Reason to hate my D grade engineering college.
1st lecture of web development.
(Syllabus html,css,PHP)
Expectation : at least teacher will introduce fucking web development technologies.
Reality:
Teacher=> look I don't know anything about PHP so learn from web. I will give you internal marks just submit assignment on time.
😅
Btw it is not story.3 -
I avoided coding web apps for too long.
tried angular but I am such a retard that I just do not get it :/
started a project in blazor yesterday. still a lot of question marks but somehow I accomplished to finish something and feel this oddly exitement where I want to dive deeper 😁3 -
Helped my electronics teacher with a basic MATLAB code in beginning of the semester, she awarded extra 2 marks at the end to acknowledge it.
All I did was google the error and apply fix according to first link.😂😂1 -
It takes courage to use npm as a product. The inability of its leader, Isaac Schlueter, to communicate the reasoning behind decisions pose a risk as a choice for long term toolchain.
My company will move to yarn for now and jump ship to Deno as soon as it reaches all of my check marks.5 -
So,the lecturer is discussing with the other lecturers to not let us cs101 students use lists when writing our Python solutions because he says that the students don't know how to think in terms of lists.fuck,coz literally every single solution of mine used lists.If they subtract marks,i will not put up with that.Just because the other students have absolutely damn no clue about what they doing when they using lists it doesn't mean they can stop me.3
-
Completed a python project, started as interest but completed as an academic project.
smart surveillance system for museum
Requirements
To run this you need a CUDA enabled GPU on your computer. (Highly recommended)
It will also run on computers without GPU i.e. it will run on your processor giving you very poor FPS(around 0.6 to 1FPS), you can use AWS too.
About the project
One needs to collect lots of images of the artifacts or objects for training the model.
Once the training is done you can simply use the model by editing the 'options' in webcam files and labels of your object.
Features
It continuously tracks the artifact.
Alarm triggers when artifact goes missing from the feed.
It marks the location where it was last seen.
Captures the face from the feed of suspects.
Alarm triggering when artifact is disturbed from original position.
Multiple feed tracking(If artifact goes missing from feed 1 due to occlusion a false alarm won't be triggered since it looks for the artifact in the other feeds)
Project link https://github.com/globefire/...
Demo link
https://youtu.be/I3j_2NcZQds2 -
So, our university has this something called "E-LAB", a portal where students copy and paste codes from hacker-earth, in order to get marks in their internals.
The fun part is, the questions in our online portal are itself copied from hacker-earth, and other technical platforms.
And even funnier, our faculties can't solve a single problem, and they expect us to do, 80+ out of 100.
I mean, WTF!!!1 -
I did it today...
It wasn't easy, and I'm scared that the consequences may out weigh the rewards, but it was worth the risk.
I posted a question on stackoverflow.
Sorry to sound super dramatic, but the last time I posted to that site I was noob at coding and the responses I got actually made me generally feel bad for asking questions and I can see why people stop coding after they visited it.
Anyway wish me luck and hopefully someone can see what I'm doing wrong or if it's a bug in React Native.
Also I swear to God, if some motherf*cker marks my question as duplicate I will... prove them wrong because I looked all over google like a starving polar bear looking for food in the arctic tundra and found nothing of substance. So I dare you.1 -
So I got my GCSE results back yesterday. Its the first year with the new 1-9 grading system, and I was really hoping that I could get a 9 in computing (I did in the mock).
What I got? Well. I got 138/160 marks total. What did I need to get a 9? 140/160 marks. 2 marks off of the best grade. 2. I was so damn close.5 -
I love this wk108 tag. Have a lot of stories related to it.
For me , my mentors are the reason i am what i am today. In this crazy selfish world where people only want to run faster than the others, having nice helping people around is great.
(Val titanLannister=xx)
(1)class 6-10th, xx is a curious, but poor boy with no desktop/mobile , but still loves cs classes due to various ,caring teachers.
(2) class 11th end,programming for the first time that year, hates programming, one day when everybody goes out for lunch, xx tears down while talking to his cs teacher "why can't i score good marks when i was the best till 10th? Is programming so tough?" . I remember him giving me a little but greatest motivational lecture followed by 40 minutes of the most basic concepts in which i might had asked him a 1000 questions. "You are my chaempion", he used to say😂 (bad accent) . But god, if he hadn't motivated me that day, i swear i would have left all this and go for business. Thank-you, lokesh sir💗💗
First year : tried to go for a competitive learning course. Mann, am not cool in that stuff. Again was about to break (i was among the top scorers in school boards and had designed many small games back then. I should have been good here too, but nah... the other guys were like bullets .)
Oh my, my deepest bow to this amazing teacher SUMEET MALIK (oh sir, you were so good) .
How this guy taught? Well, he first explained the concept. Fo those who understood, he gave them question 'A', for those who didn't, he repated . For those who understood , can do question a again, and those eho did A already gets an even advance question B. And this cycle went on until the weakest student(usually me) understood the concept.
And no, it never happened even once that class finished with even a single child not doing all questions he gave.he used to teach very less concepts each class and would go to everybody's desk to check they understood the concept, the question, its working, weather we implemented or not and weather our implementation is correct or not +our doubts. Hell , i even took doubts with him for hours after the class and he always just smiled💗(oh sir, am so sorry for being so dumb)
Real Doubt classes, doubts on whatsApp, revision assignments , tests , competitions,... damn, i haven't seen a teacher with this much dedication. At one point of time, that institution was famous for our Sumeet sir's classes 😂
Then last year, i got another mentor . Harshit bhiya. The guy is awesome, and a little extra swaggy 😂. He got a lot of chill, with his big AAD badge, a bag full of stickers and his every day association with people at udacity and google. As always i tried to overwhelm him with my ton of doubts in class, but he use to just give me a few pointers/links, after which i was like quiet for the complete session😂. He gave me a lot to think/work upon and i got a kind of career to work on.
I also think of mentioning a fucked up depressing-bot assholic friend of mine, but he don't deserve to be in this list of my best people. Just fuck you mann with a blockchain of dicks, if you are reading this.1 -
My Data Communication & Computer Networks (DCCN) teacher was the best teacher I've seen.
Teaching can be super hard. You're one against like sixty others who aren't interested in being there. To make that good learning environment, making the subject interesting etc, it not easy. Some justify that, "I can only bring the horse to the water" & proceed to just regurgitate whatever is on the book. Others cross question you & impose punishments - try to make you learn by fear.
But my DCCN teacher - she had the right balance between strictness & humour. So kids took her seriously (did homework, weren't late), yet never feared her - we felt comfortable asking doubts/questions.
She had some good tactics, like asking us to teach certian chapters - that made us learn better. She would revise them in the end also, incase we missed anything.
My best moment with her was when I scored the highest in my internals. She picked up my paper & showed the class - "see? Just two pages & he scored so much". There's was always those students who pump out a lot of stories/essays or whatever that comes to their mind about the topic in question. Lots of teachers just blindly give marks - "oh, s/he wrote this much, so it must be right".
But my DCCN teacher had zero tolerance for garbage. If you're wrong, you're wrong. Some even believe that the number of marks = number of lines you have to write!! Doesn't matter what you write. So, I was super glad when this teacher upped the standards. -
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
-
Ok so today marks one week of harrassing our client to deploy.
Finally she calls in today after agreeing to deploying tonight, and says "oh no! We tested it today, it's not ready, and we'll need this functionality on the backend tomorrow, thanks!"
So, because we don't really have a choice, we must dev a new functionality + API + interface for tomorrow.morning (it's 9PM right now) -
Today marks the 2 years of my night shift. It appears it would take another 2 years to settle in the day shift.
This change of shift doesn't suit me at all. I sleep at working hours and stay awake all night.
What do I do?2 -
Most interesting bug caused - created printer driver for vietnamese diacritical marks for old matrix printer without VN support by switching to graphics mode and plotting the dots and dashes. Print speed reduced about 200x and printer shook itself to pieces by rotating the cylinder back and forth. Oh well... Ended up buying two new laser printers instead.1
-
So I work at a company where we sell on eBay and Amazon...
Got an email from a colleague about a problem to do with end of day (marks orders as processed, dispatched online via API...
Was doing something in the office and since it was pretty silent, thought I'd ask about it, maybe get a little more info about the problem.. what was their response?
"Was my email not clear enough?"
Well fuck you, you miserable fuck. -
Best Sites to Learn Ruby: poignant.guide, ruby-lang.org, rubymonk.com, SoloLearn App, O'Reilly Books, apidock.com
Beste Seiten um C++ zu lernen: cplusplus.com, cppreference.com, SoloLearn App, O’Reilly Books
And of course, YouTube has also reinforced.
These are my personal experiences. Which method (books, websites, apps) do you think is the best?4 -
TL;DR - I came up with an ingenious version of a solution to a problem and still got 0 marks.
In my bachelor's degree we learned about abstraction, as usual for CS degree students.
In a later exam, a coding question asked us to swap two variables values without using a third variable and print the before and after on the screen.
You can read the question above again, because wait for it....
So this is what I wrote basically (JS equivalent solution),
class Solution {
constructor(obj) {
this.var1 = obj.var1;
this.var2 = obj.var2;
}
swap() {
return {"var1": this.var2, "var2": this.var1};
}
}
let input = {"var1":5, "var2": 7}
let object = new Solution(input);
console.log('Before');
console.log(input);
let solution = object.swap();
console.log('After');
console.log(solution);
Now look, before your boomer asses jump in and say "aCkChUaLlY tHiS iS iNcORrEcT"
I did include all kinds of comments that this is abstracted. The swap function is hidden away and the object variable doesn't need to know what it's doing.
In the context of this question, this is absolutely acceptable as a solution since the end-goal is to print the results on the screen and the user wouldn't see the source code.
I still got 0 on that question and I still get pissed about it sometimes, when I remember it, like just now.16 -
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 -
Have to apply as a software dev again. Going to study now and the amount of jobs that are available is too damn low.
Anyway i hate this formal stuff. Why would I need to tell you why your company is so cool. Your IT probably sucks and you know that.3 -
Monday marks the beginning of a new month. In the new month, I turn a year older. As I steer further and further away from "youthfulness", I intend on starting a new chapter in my life.
Sunday 28th Feb is the last day I put any investment towards my "white-collar" professional career. Beginning March 1st, all my energy is going towards my entrepreneurial career instead.
This means that instead of learning that Huawei HCIA networking certification that I hate, I'm going to continue learning Docker (then Kubernetes) which I intend to use on my first product & the many more to come. Instead of studying the horrifyingly boring Data Science course, I'm instead going to put my energy behind understanding GCP & AWS, with the hopes of eventually getting certified.
Basically, I'm going to put all my energy into learning technologies that interest me AND have the potential to help me deliver on my entrepreneurial journey faster & better, rather than studying certifications which everyone believe will make me more employable.
Unfortunately, there aren't that many jobs going around & I'm currently under a year long internship with extremely smart graduates (a valedictorian included). The joke is we're earning $250 a month and have zero hope of getting employed anytime soon. I'm tired of going down this path.
I'm glad I got my degree in CS, now onto creating job opportunities for my fellow peers!
PS: Expect rants about my entrepreneurship challenges, and celebrations about my entrepreneurship wins!2 -
Hello everyone
I want to know of the educational systems around the world because I think that my country's educational system is the worst over them all.
In my country schools literally turn students into books & their worth is overwhelmingly decided by their marks. Because of that system students don't try to learn anything outside of school program. Currently I am suffering from that because I can't keep up with my school program & learning programming & algorithms for competive programming at the same time.
Sorry for my bad article & my bad English 😢.8 -
There is this thing we were able to take at college to get extra UCAS points.
At first I was like "fuck yeah might as well, doesn't seem too hard and its something I like so I wont be distracted"
Long story short, the website was badly designed. I got distracted. And I found out how to get admin rights over my marks (and rest of my project), and perform an xss injection.
Currently waiting for them to reply to my email asking about a bug bounty program.
Seriously guys, make sure you do proper server side checks. -
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 -
Some compilers give an error message on forgotten type casting. From that it shows good typing style casting. So you also avoid clerical errors that can lead to the program crash in the worst case. With some types it is also necessary to perform type casting comma on others Types, however, do this automatically for the compiler.
In short:Type casting is used to prevent mistakes.
An example of such an error would be:
#include <stdio.h>
#include <stdlib.h>
int main ()
{
int * ptr = malloc (10*sizeof (int))+1;
free(ptr-1);
return 0;
}
By default, one tries to access the second element of the requested memory. However, this is not possible, since pointer calculation (+,-) does not work for a void pointer.
The improved example would be:
int * ptr = ((int *) malloc (10*sizeof (int)))+1;
Here, typecasting is done beforehand and this turns the void pointer into its int pointer and pointer calculation can be applied. Note: If instead of error "no output" is displayed on the sololearn C compiler try another compiler.1 -
I find it very interesting how many types of primes there are.
This kind of prime number, I think very nice!
What types of primes do you like?
https://sololearn.com/learn/12365/...6 -
I worked for 14 hrs continuously for my school project which was the best and hard experience for me.
it still hurts... so much work for just few marks -
Once I found out an unprotected folder in my school which is used to store sensitive data.
It was open to any administrator there.
We copied the Question Papers, Edited the attendance, and Even changed the Marks.
We were able to extract photos of students from the database and retrieve stored passwords -
Sigh Im getting depressed from going to work whilst a few weeks ago it gave me a bunch of happines.
I think its due that management is approaching a triple deadline (?!?!?!) project in an agile/scrum way (?!?!??!)..
We can not change our data model completely when we have to be in acceptance in 3 weeks and do a demo in a few days..
Yes we can work around that but fuck database design theory and lets ignore all primary keys and foreign keys, great idea
We have to create and prioritise user stories on our own? We have two product owners and a scrum master.
Scrum master offers to deal with organising and creating tickets to organise Infrastructure without having a laptop of the client, so no Service Now access or any other system..
Guess who has to do it in the end..
Many question marks about this project -
analogy for overfitting :
cramming a math problem by heart even the digits of any problem for exam.
now if the exact same problem comes to exam i pass with full marks else if just the digits are changed however the concept is same and simce i mugged up it all rather than understanding it i fail. -
Our computer science GCSE exams are so flawed in so many ways. They're awfully vague or just completely wrong. In the last exam I did, I got a question that was basically:
"There is a server in a network. Name 3 of its functions"
If you did not provide an answer within the 5 "correct answers", it was considered incorrect as it was beyond the curriculum hence irrelevant.
That's like penalising people for not correctly guessing the contents of an opaque box...
I've genuinely lost more marks to the flaws in the marking scheme than genuine error.
Valve, pls fix2 -
So my math teachers who don't even know a single bit about Dev, even ms paint, came into the IT classroom and said
"Learn hard students, get good marks for Advanced Level and get a scholarship. Then become a software engineer. Then you'll have a wonderful life. You'll have a beautiful wife, beautiful kids, Mercedes, big house. You'll be able to live in relaxation"2 -
Out of everything in this assignment, I just know I'll lose more marks for shitty variable naming than any missing features.
Commenting? Perfectly acceptable. Use of functions and classes? Perfectly acceptable.
Variable names? perfectAcceptableMaybeFileOneButAsAString
I don't get how I'm so shitty at it! I currently have shit like file input, file input as string, file input as vector, I didn't know that would be the hardest part!1 -
Write 5 pages full of relevant information for a 15 mark question in the Human computer interaction exam but the teacher chooses to give me 2 marks , why? Because I didn't write everything that was given in the words exactly ( I had written it in my own words) . Don't know whether today's engineers are supposed to know how to use their brains or whether they must just know how to copy paste some shit.5
-
Aiming for 90%, barely managing 60% ever.
From marks in school tests to code coverage in apps, the reality remains the same. -
May's last week was very hectic. I had just finished my final exams and there were going to be semester project evaluations in that whole week.
@safiullah and me had decided to make a whole Social Network with all features in it, for the DB course project.
All other classmates were making small management systems like ticket booking and etc.
We thought that if we really wanted to learn DB concepts then we should come up with something different than a management panel.
Hence we did it. This was the first time we used a framework. Well, I had written that PHP framework while i was learning about how frameworks work and the way they are made. So it wasn't a big thing but it was something which could be used as a base for clean and organized code.
It took about a month of commits and pushes and it resulted in a very good social network. It had all the features and algorithms present in a starter social network.
For us students, we were happy to see what a fine job we had done. We learnt a lot and used new concepts.
When we went to the instructor, she asked us to sit down and show the project. @safiullah placed the laptop, and logged out from the social network so that he could show her a demo.
She exclaimed,"Why did you do it (Log out) ?"
He replied: "To show you how it works🤷🏻♂️"
She:"Get to the previous state and leave it"
Then she asked different questions like what was a post request in php and how it differed from get? what library for DB connection was used... etc.
We explained each and every step.
She saw the frontend design and said "You've just added text to the elements" as If we were showing her a theme demo with hard coded text accomplished by inspect element.
She did not take a look at any other page than the one we had shown her at start. She navigated to no other page and asked nothing about what total features were implemented and how they were done?
Then she said Thank You and we left.
After some days marks were uploaded in LMS and we were just two points above the average.
She took no look and gave us the least when our project was the best.
I'm 100 percent sure she thought that we were showing her a project copied from somewhere else. 🤣4 -
That feeling when your teacher tells you won't get any extra marks for implementing your own solutions to things (such as queues, stacks or even just using SQL) you can just download a library/module for it.
Wth?! Surely you should get more marks for implementing your own solutions to things like this?!5 -
One of the key principles in Life is acceptance. I just wish some of the codes could understand this....
-
Hello Guys, I am in a dilemma whether I should update my Laptop to Windows 10 Fall Creator Update or not. Any honest opinions or recommendations from Devs?
(posed to Windows Users)6 -
!Dev related
So you know when you write an exam.You studied your ass off every day for the last 4 weeks .You see the questions and you like hey I can do like 80-90% stuff.You do the paper.You smile while handing it in
You leave.
Then,you wait.Confidently.In your mind thinking "hey don't fear the maths calculus paper was nice"
You recieve your marks after 2 weeks
You check it,and your heart COMPLETELY SINKS.How on living earth did I get 40%
Idk what it might be, insufficient studying(maybe revising the syllabus three damn times in 4 weeks wasn't enough).or stupid mistakes.or just the fact that it maths(calculus).This is the mid year so this mark doesn't determine if I pass or fail.
I need help,like serious help.I've kind of lost hope right now.If I talk to my parents their only solution is to study more(which clearly isn't doing the trick for the past 3 years in the same course)
I don't know anymore.I just dont.5 -
I don't know how it's out there, but where I'm from, we don't get a lot of practical classes. The curriculum has tried to include practical alongside theory but its just not working. All we do is theory and more theory. Maybe include a major portion of marks for practicals rather than theory. And yes, please no coding in paper.
Another major thing we lack is teaching logical thinking. I have met final year under grads who find using a (!foo) to invert the value of foo mind blowing. They would rather use a full blown if-then statement to do the same. I think we need to incorporate chapters that motivates students into logical thinking to make better programmers.
Another essential part CS education around here lacks is in relevant examples and chances for internship. If you're studying something, I believe you would understand it much better if you see and experience it. Curriculum should include a real world project that you would use in a daily basis. Maybe break down and analyse a successful application and its component. -
Today marks the third interview in a row that included an equality statement diluted to uselessness by liberal doublespeak.
I think I should write a real equality statement. One that doesn't dance around money.1 -
So this is something that happened in the first year at college.
I was at one of the top 50 engineering colleges in my country. To get admission here one needs to get a good score in the qualifying exams.
Now we had a cs related course in the first year which covered basic programming and coding concepts.
So in the first practical session we had to just write a hello world program in C.
The guy next to me for this session was the class topper who had secured the highest marks in the qualifying exams.
Now, as most of us know that program has a line that is:
printf("Hello World!"); or a variant of this.
This guy gets stuck while writing this line, so I ask him if I can help him.
He turns to me and said, " Man, I'm trying to get this comma to go up but it's not working"
Extremely confused I look at his terminal, only to realize that he was pressing shift+, and trying to get the " sign.
That guy went on to finish with a 4.0 gpa and is currently doing his masters.
Although hilarious, this serves as a very good lesson to all the beginners out here.
If you learn from your mistakes and improve you can definitely succeed in your life!
Just remember to actually look at the full keyboard though!1 -
I have no specific story to tell (for now. Will post ke if i remember one) but i have had tons of CS teachers that are shit. From ones who don't know shit to ones who are so bad as a human being i am sure thrte are hundreds of people out there to kill them. I have had multiple teachers where all they did was read out a book and we'd have o site everything they read. Whole fucking semester. And not just one person or once. M-U-L-T-I-P-L-E TIMES AND TEACHERS. then I ve had ones who would rejection my code even if it's better, is right, can andle more edge cases, most likely magnitfrs of times faster and isn an eye sore with just effig if-else on op of if-else nested within if-else with many for loops. Then there are those who want you to do just what they want and expect you to not have a life of your own. Those who blatantly abuse their powers. Those who couldn't care less. Those who are not that bad a teacher but their attitude and style just makes you want to leave. There's one currently who wants a group of 4 people in second year to develop a full blown industry level application in mere 3 weeks. AND WE ARE HAVING OUR THEORY PAPRRS INBETWEEN FOR 2 EFFING WEEKS. So that's just like a month. Fortunately I have a group that's good enough that I can have them do the testing and filling up the documentation (did I mention that he needs full documentatiin for software plus a report on how our development process) and have them work on presentation (yup. We need to present this thing) all for just 50 marks. 1 uni credit. Our system still gives 80% weightage to pure theory. Plus the practical part is somewhat theory too.
Our HOD wants us *insists*forces** to stay back at college and work on projects (which is nice but what he ments is use the shitty outdated books from early 2000s to study something). Now I'd be happy to stay back if college provided decent internet (I am not asking for gigabit speeds. Even 1-2Mbps would work) and place to sit. But nope, our college non-teaching staff is eager to send us out of their department and by extention college building. There is literally nowhere you can sit. Plus yup, there is no internet and nowhere for you to plug your laptop in. That's a moot point anyway because they don't want you to use your laptop in college library or anywhere anyways. Plus you don't get much of mobile data too because of the building design. Those work only near windows. Why would I be at college if I can get a 50+Mbps down, area to sit, snacks, port to charge all at home. And you'd say we should talk with him about this – well it's not his issue is all he has to say.
Well, such is life in Indian colleges. And my college/uni is one of the better ones.1 -
Don't fucking put exclamation marks in your fucking error messages!
I fucking hate turds that does this!5 -
I prefer VSCode over visual studio for a ton of tiny conveniences. Some git operations can really only be done conveniently by switching rapidly between the command line and the big scrollable list of diffs. The currently open file is automatically focused in the tree, not by explicit user command. Ctrl+Tab shows the last viewed section of files and not their name, so I can find an arbitrary point in my jump chain. If I open the diff for a newly added file it's possible that I want to edit the file, but it's also possible that I didn't notice that it's newly added. Painting the whole background green doesn't hinder the first scenario nearly as much as it solves the second, in contrast to VS not showing any changes, which just has me confused because of the total lack of modification marks.3
-
I fucking hate when people that give you marks are not qualified enough.
Actually, in school, it's two weeks where we conceptualize projects (we don't code them, just have concepts) and we're noted on them.
But there's a partial jury, that has partial opinions, the different juries doesn't share the same opinion and are biased.
I don't know, it's like if because they are programming teachers or communication teacher, they were able to know what will work in the future and what won't. Even in domain they don't know. -
Friend just quit job, tells HR in an exit interview about how they are putting marks over people just for not share ideas or disagree on decisions of HR.
HR goes and put marks over all the people that was friend of my friend.
Even the ones related to his algorithms club.
(By putting marks I mean: points at/put final notice letters/similar)2 -
Just trying to set up my girlfriends Kodi box and found this in the manual. It's running android KitKat too. I feel ill.5
-
Anyone know why using "OS" instead of "Operating System" in AQA A-Level computing loses you marks?8
-
The good thing about a Google search that includes "words in speech marks" is that Google will *only* return pages where that phrase definitely appears.
Or not.5 -
Joke 1: A good horse is expensive. A Trojan can be more expensive.
Joke 2: She: "Do you love me?"
He: "!yes, babe"
(! = not)7 -
When you are a we developer since 3 years and you get such marks in Web Development course just cause you asked a question that the faculty didn't know. Duh!😞1
-
Who gives out an assignment with a weightage of 6 Marks in total that too for demonstrating GRAPHIC USER INTERFACE? My Cryptography Proff. that’s who.
Why are faculties such bullies considering themselves the kingpins?
😭 -
What do you think the best antergos desktop is? I'm looking for one that's relatively fast and lightweight but that looks nice.3
-
"Dear TitanLannister : You are in the final year. A lot of shit is happening around u. its now time to make a career and take tough decisions. What would you do?"
CHOICE 1: COMPETITIVE
>>>>background : "a lot of super companies like wallmart, fb, amazon, ms, google,.. etc simply takes a straight coding test for fresher placement. They ask tough bad ass level questions, but with right guidance, a hell ton of dedicated hours of coding, and making it to the top of various coding tests could make you a potential candidate"
>>>>+ve points :
- "You got the teachers and professionals with great experience to guide you"
- "a dream job come true.you can go there and join teams that interests you"
- "it was your first exposure to computer world. maybe you would like doing it again, after 4 years"
>>>> -ve points:
- "You have always been an average 70 percentile guy. The task requires 2000-3000 hours of coding an year. it will be hard and you always grow bored out of this pretty quickly"
- "Even If you did that , you stand a lesser chance because your maths is shitty.There are millions running in this race with brains faster than your IDE"
- "your college will riot with you because they expect 75% attendance"
- "You are virtually out of college placements, in which , even though shitty companies come and offer even shittier 4LPA packages($6000 per annum), would take a tough logical/aptitude based test for which you won't be able to prepare"
CHOICE 2: PROFESSIONAL WORK
>>>>background: "you always wanted to create something , and therefore you started taking android based courses. you have been doing android for over 2 years and today you know a lot of things in android. you might be good in other professional lines like web dev, data analytics, ml,ai, etc too if you give time to that"
>>>>+ve points :
- "you will love doing this, you always did"
- "With the support of a good team, you will always be able to complete tasks and build new things quickly"
- "Start ups might offer you the placement, they always need students with some good exposure"
>>>>-ve points :
- "Every established company which provides interesting dev work takes their first round as coding, and do not considers your extra curricular dev work. So you are placing your all hopes in 1 good start up with super offerings that would somehow be amazed by your average profile and offer you a position"
- "start ups are well, startups and may not offer a job security as strong as est. companies"
- "You are probably not as awesome dev as you think you are. for 2 years, you have only learned the concepts , and not launched more than 1 shitty app and a few open source work"
CHOICE 3: NON CODING
>>>>background: "companies coming in college placements have 1-2 rounds of aptitude,logical reasoning , analysis based questions and other non tech tests. There are also online tests available like elitmus,AMCAT, etc which, when cleared with good marks help receive placements from decent established companies like TCS, infosys, accenture,etc"
>>>>+ve points :
- "you will eventually get placed from college, or online tests"
- "there will be a job security, as most of these companies bonds the person for 2-3 years"
>>>> -ve points:
- "You really don't like this. These companies are low profile consultant/services based companies which would put you in any area: from testing to sales, and job offers are again $5000-6000 per annum at max"
- "Since it includes college, the other factors like your average cgpa and 1 backlog will play an opposing role"
- "Again, you are a 70 percentile avg guy. who knows you might not able to crack even these simple tests"
Ugh... I am fucking confused. Please be me, and help.The things that i wrote about myself are true, but the things that i assumed about super companies, start ups or low profile companies might not be correct, these points comes from my limited knowledge ,terrified and confused brain, after all.
:(7 -
Today marks the end of my first week as a full-time employee in this company (been here a month as a part-time before being hired).
I joined as a QA agent, but they put me in localization duty (in addition to QA) about two weeks in. This week, they told me I'd be responsible for the whole translation process, from choosing the tools to implementing them.
On one side, I'm excited as hell to have some responsibility. On the other, afraid I'll fuck it up and wreck my shiny new position.
Any tips on not fucking up you new job? 😅3 -
In my school, We started learning computer science (Java and programming stuff, to be more specific) last year in 11th standard (I was 16 at that time), starting to learn programming and stuff like this are common in India at that age (Yes, I live in India). I m the only student in my class or in my school who knows about programming and things related to that, yes of course I know, I made my own game when I was around 12 y.o.
In school our teacher started teaching us everything from the most beginning, It was really boring and exciting at the same time for me, it was exciting because I always wanted to tell my teacher and friends about my game and other programming kinds of stuff I knew, and it was boring bcoz I had to learn those things again which I already knew.
It was obvious that I was getting good marks in the subject without even reading my book for once, and it really amazed my friends, classmates and even my teacher.
Now, since my friends have learned CS for 1 year, some of them thinks its nice and are fascinated by the world of programming and developers, and some of them think it's boring and they just need to pass the subject for good marks and nothing else.
It feels funny and bad at the same time when some of my friends come to me and ask what does a for-loop (any loop) even does... And the rest of them thinks a for-loop is just used for printing tables of numbers.
well, that's the story of my school.
The thing that will never change is that I love programming and I will never stop programming...
Thanks for stopping by Ranters,
Happy programming!4 -
I need advice fellow developers, am I stubborn?
So I lost an argument in my team regarding constant vs variable directly in a method for stored procedure names.
I separated names of procedures into their own StoredProcedureConstants file because it makes it very easy to see all procedures used in a project and refactor their names if necessary. Argument against was that you loose time creating a constant. Am I silly if I am alergic to seeing quotation marks stuff without its designated purpose throughout the code?
Their way is adding var procedureName = "cc.storeProcedureName" directly in a method. I just can't find my peace with it. To me this is a magic string.
Am I being unreasonable?3 -
Me and this friend of mine were usually average in college subjects. We were not really bad at them, we just never got any exceptional marks in those subjects.
So when our 4th sem result came, a third friend of us got really good marks in some subject , like in 90s, and we again had marks around 70s.
At that time we both knew that we know that subject way more than this topper guy in terms of knowledge, but he just crammed everything about that subject word to word and got the better marks.
We thus believed that marks doesn't matter, its the knowledge and we both know its stupid to cram useless things which could easily be referred from documentations or internet when required.
But last sem, something different happens. looks like mah boy was a little envious on the inside, he scored a whopping 88%, just near to that topper friend of ours . i was happy watching his happiness , and he was saying that "dude this sem, i will even try to beat that guy in marks."
Even though none of them are class toppers, but they are somehow running in the race to be one. I on the other hand is still firm on the belief of not cramming stupid shit just to get a status of some 'topper'.
even though cramming subject knowledge is not a total waste, i still believe we should only understand what we need to understand, like learning the moral from a war story, not cramming the actual war dates.
Some might find this quality of mine to be the reason of me being 'average', but i feel totally fine with it. I have trained myself to be able to lookup for a particular resource online faster than they are able to lookup for that resource crammed in their brain memory, and i wonder if i should feel guilty about it. Yet the society will always see me as an 'average' guy and them as a 'winner' -
Do any of you feel you have never achieved anything in life? I am kind of feeling that :(
I want to accomplish something. Anything that i could be proud of or be happy about . I sometimes look into my past and just feel sad.
I guess I won't find a lot people like me. Everyone has something to be proud of.
Someone might have a good school percentage, a good college, a non academic prize in debate or drama, a good score in some online platform, a love partner , good physique, a nice app with 10k+ installs , a popular blog or other talents. I got none of those :/
Everyone is proud of something. How can i be proud of anything ? It's so frustrating every time i open my mouth to give opinion about anything, because i am 21 and i have lived my whole life just... Living
Because most of the time these achievements later turn to be not much. There is always an option to "just pass" or "submit the assignment late" or "take a smaller package" or simply be average.
No one asks high school marks in any interview now , a guy with 70% and a guy with 95 % are considered equal.
But at that time, i just spent the day as my usual when the results came out and my friend with 95% got a new bike , and had his parents and relatives congratulate him all day. I don't worry of my marks, but now 4 years later he might have a happy moment to look back but i don't :/4 -
Just a warning to Web Dev's out there. My university has taken to marking our web coursework by "machine marking".
The necessary steps to getting full marks? Upload files with the specified name and extension and voila! No need to worry about code quality or whether it works. Full Marks!
Misspelled a single file name? Straight 0.
Nothing. -
Someone tell me why I picked Tkinter as my GUI when I could have used easygui and got the same marks. 🙃😅5
-
Today marks the second day of me having to build an email template and I never hated anything more in my life than that. WHY DOES IT HAVE TO BE SO COMPLICATED? WHY CAN'T THEY UPGRADE THEIR STUPID RENDERING ENGINES SO WE CAN USE MORE MODERN METHODS?!? Sorry but I don't want to create an E-Mail and having to pretend its 1995. The table view is so outdated and I'm aware of the fact that some clients support divs but not Outlook (Outlook itself sucks pretty hard but thats another story). I just wanna be able to use grid, flex, etc. to build my template.
I HATE MY LIFE5 -
This is the first project that I remember. There were probably others before it, but nothing really stands out before this.
My buddy and I got an Independent Study together in high school. Our goal was to write a video game. We harbored no illusions that it was going to be the best game ever or anything, it was supposed to be a project that taught us enough to move on to something else later.
Our chosen tool for this endeavor was Flash 4.0, back before Adobe bought Flash. I don't know why we thought it would be a good idea to do this. I think it was because we could let Flash handle all the graphical stuff and we could focus on the behavioral side.
I don't really remember much about how the project turned out other than we both learned a lot about what not to do.
Luckily, the teacher overseeing our Independent Study felt that the lessons learned were more important than the product, so we got high marks. -
Markdown admonitions are unofficial extra's to the spec to render basic info/warning/note alert boxes. There were already 2 syntaxes for these:
Supported in python-markdown, Mkdocs, marked js extension: 3 exclamation marks followed by a type, and indenting its contents by 4 spaces:
!!! note
Supported by Docusaurus & extended by Nuxt.js as "MDC" or "markdown components": 3 or more colons followed by a type, and with an end delimiter:
:::note
:::
So why the fuck did Github have to go for this retarded syntax mixing blockquotes with half the syntax of an image link instead of following in the footsteps of others?
> [!NOTE]
> -
That moment when you discover that Vim has macros, tag support, marks and other cool shit you didn't know about all these years in Uni... well, at least I knew about plugins lol
-
I created a custom interface for an LMS that allows students to see their marks even if they haven't been 'shared' yet by their teachers. This is all done without accessing any unauthorized apis, as the LMS always returns all student marks and then hides the ones with a False 'shared' key. School administration caught me, so I've now shut it down. I have a meeting with the deans tomorrow. Any advice? (Again, this is all done using existing methods found within this LMS)4
-
One of my Computer Science modules this year revolved around completing a team project, and one person in the team basically fucked it up for all of us in the last minute.
We had to create a simple task management app for a fictional company, the university did not care about how the program looked and all that mattered was if the app is functional or not. The app relied heavily on a database, so all we basically had to do was get, modify, and add data from a database. Now this person did his part of the programming, but with an outdated database model and did not even test his code as he said MySQL wasn't working on his home computer.
2 days before the final deadline is when we decided to merge everything together in the git repo (as that's when the rest of us finished our tasks), and that's when we found out none of his code worked. We then spent the next 48 hours with little sleep to try our best to fix everything, but unfortunately due to his tasks carrying a majority of the complexity of the program we couldn't fix it all in time and we ended up losing roughly 50% of the marks.
This all probably could have been avoided if one person in the team did look at his git branch properly, but this person was the programming lead of the project and didn't ask for any help at any point until the last moment when we merged everything together. Oh well though, at least I've learnt better for the next team project that I do2 -
Github Down - This is just another rant about Github being down.
[Imagine Github's Rainbow Unicorn Here] -
Which browser do u use and why???
Chrome
Edge
Firefox
Brave
Opera
♤Lynx
♤Internet Explorer
Tor
Etcetera, Etcetera
Ps. The "♤" spade marks are for the Legends who will leave their mark on the history30 -
In high school my IT teacher gave marks instead of count of account on Facebook which students made for him to winning contest on social media. I and my one friend read programming books on ours own. That was sick.
-
Not dev related.
Two incidents that I'd like to share.
So here in India two major streams for college are engineering and medicine (others do exist). So entrances to both these colleges are based upon entrance exams. So here are two "events" that happened this year and worth mentioning.
Incident 1:
The exam for the engineering stream had a section where the answer is a number with up to two digits of decimal. Range is (0.00 - 9.99) So apparently this two decimal precision created some confusion and the court decided that if the answer is precisely "seven" then only the candidates who've marked 7.00 are given marks while those who marked 7.0 or 7 were given wrong answer.
Incident 2:
So for the medical entrance, exam was for 720 marks (180 questions * 4marks each). So every candidate from the state of Tamil Nadu were given a full 196 marks as bonus because the translations from English to Tamil we're inaccurate.
Now I need to mention that around 300 marks would fetch a decent seat in a government college.
What the fuck is happening? One the only thing they're supposed to conduct every year is also messed up. And who the fuck created complicated shit like 7.00 is correct while 7.0 and 7 are wrong. I mean should the candidate worry about the getting the answer or marking it?
For those who don't know wrong answers are penalized heavily and there's huge competition.
https://m.timesofindia.com/home/...
https://m.timesofindia.com/india/...1 -
I don't think I will be able to score good marks in JEE and get admission in a good University as i am not that good at physics and chemistry....will it affect me while learning CS subjects and applying to tech jobs?5
-
Today I had a dream, not sure if I can call it a nightmare:
I was doing ReactJS + TypeScript. but no matter how much I try, I can't seem to match the type of the variable/object. The IDE ( WebStorm ) kept showing RED marks under the variables & I kept trying, but no solution!
& Finally I woke up at 3 am :|1 -
So this semester we started to explore how to create interface using html php and so on.Bonus marks will be given for project that have interface.Because we are too excited about the interface we forget the main objectives were update,delete,insert and record.. 🙃🤣
-
Microsoft's new Windows RS5 build has File Explorer Dark Theme.
https://blogs.windows.com/windowsex...
"Today’s build marks the turning point where we’ve finished what we set out to do for this release."
🤣🤣🤣2 -
I am sorry that this is not a rant but i am desperate. For all the londoners, do your company offer internships for a Java developer currently in his second year with the highest marks in all programming modules. Please tell me the company name or any advice on how to apply.2
-
In the year 2015 I graduated from a reputated university. Though I had a couple of offers from my campus Placements, I did not willing accepted those offer and tried updating my CV in job portals.
On the day June 25th 2015, I still remember I recieved a invitation to attend the interview with one of the reputated company and I was like very much excited to attend this interview.
Interview process,
1) I had coding round which lasted for an hour and half and the best part is I scored max marks 😉
2) next round was problem solving or algorithm round it was quite difficult, but somehow I managed to clear that too.
3) final round was managerial round which was very much tougher than these two, My manager was real technical guy who knew most difficult industrial problems. In fact I should thanks him because he thought me how to organise code while development and also he thought me corporate ethics as I was a fresher when I joined there.
4) so I cleared all the rounds and joined the company around 10 days after 25th.
5) my journey in this organisation was very good. I had learnt the tech stack and there I started working as a microservices developer.
Thanks to my previous organisation. -
!rant
Random prank idea:
Change all the semicolons to Greek question marks(alt + 037e), watch their entire world crashing down
(͡° ͜ʖ ͡°)1 -
A quick question, is the numbers in the degree matters for working as dev? Student here. Big thanks ✌️7
-
Is it just me, that when tapping a rant on mobile the UI marks multiple list items as "selected", although only the one a actually tapped is opened?
It happens within the time I've written this, independently of app restart and it randomly highlights multiple rants below the selected rant, like a connected group of rants.
Anyone an idea?2 -
So I'm writing my compiler and I decide to test error handling, see if I'm catching unexpected tokens and whatnot. I try duplicating a semi-colon at the end of a line, for sure it'll give me an error since that's an unexpected token, isn't it? So I run the compiler and... No errors? I start debugging for a few minutes, snoop around, everything seems ok... "Huh, that's weird" and then it dawns on me, a semi-colon only marks the end of a statement. So, technically, it's not an unexpected token if you have an empty statement (which wouldn't break any rules about statements). I decide to try out my theory. I put ;;;;;;;; at the end of a random line in my rust code, hit compile and... it compiles! So that means it is not a bug anymore! I mean, if the big guys that actually know a tad about language design, compilers and all that cool stuff allow it in their languages, why shouldn't it? So I did it, I turned a bug into a feature and now I can go to sleep in peace and stop dreaming about fucking abstract syntax trees (don't mind my kinks >:) ).
Yeah anyways thanks for reading, till next time! Bye!1 -
One of the reasons why I wanted to become a software developer is because I see so many products or services taking the easy way out, at the cost of killing customer expectations. For example, I was told about JobTrack.io, which is supposed to help manage job searching by keeping track of applications and their statuses. But almost as quickly as I was told, my mind goes into automatic promise defense mode. And rightfully so, because the service turned out to be almost as monotaneous as the job search itself! Not as seamless as I'd need it to be to get started right away.
Now, maybe there's a slight chance I don't know wtf I'm talking about here. But, what's stopping this product from using an email client that runs server side, to interface with the user's main inbox, to run sentiment analysis on emails for detecting job application submissions? Such functionality would obviously need permission from the end user, so there are no surprises that some 3rd party app is sorta kinda monitoring your emails. And of course measures should be taken to avoid detecting anything beyond the contextual lines of: "Thank you for applying to so and so", or "We've recieved your application! Next steps".
Present those detections to the user to confirm. And do the same thing for rejections and offers. Shouldn't be that hard especially when most sites these days allow you to sign in with Google, and that Google marks these particular emails as "Important"; which further filters the detection process, and partially does JobTrack's job for them.
Honestly, I think the app has promise, and hope this is just a case of starting off small. -
I never went to college, the main reason was financially so I self educated myself from home, and 1 year later I had a bigger salary than the average salary in my country.. so I diploma is just a paper to me.. in fact one of my friends who went to a well recognized college in my country came to me to do him a project, he ended up impressing the professor and getting highest marks. So no CS degree has 0 affect on your job today.
-
In my early programming days I wrote a C++ program to store marks of n no of students but didn't got the output I checked for 3 hours then found that I was storing the data in another integer value and not in the array.
-
! rant
so i finally got back to Control (the game), since i finally got the dlcs.
finished the main story long time ago, even though i didn't finish all the sidequests, so i'm kinda doing that now before starting the dlc.
it might be just that i didn't explore all the nooks and crannies of the oldest house before, since even the place where the "hunt down and finally fire Tomassi" was a place i haven't been to before, and all question marks on the map (and i assume that place was there even before the dlc, because the quest existed too), but i'm noticing a surprising amount of unvisited rooms now, and i assume at least some of them were added by the dlc.
which made me think: how cool that the lore of the game just enables them to add new extensions to the building without breaking it because just yeah, they appeared recently, it's the oldest house...
however i still hope that maybe at least after 100%ing the main game, the place will get to some more... homely state? i'd love a state where it would feel at least a bit more like a place i'm in charge of, and less than a battlefield perpetually in progress.
anyways, still a great game, i forgot how nice it feels to be in that place. looking forward to the dlcs, just have to find the proper time and mood to immerse in it fully.19 -
In finals, I was prepared to write code for any given problem. Instead, the professor gave code snippet itself for all questions and asked to write output. No comments, nothing. Just pure spaghetti code. Wasted so much time in analyzing the code that I had to leave a couple of questions unattended. Moreover each question weighted for around 8 marks. So, just one miscalculation means 8 marks is into the void. I'm feeling like I'd get just enough marks to clear the subject.1
-
24.5 hours on one assignment. Finished with full marks for the testing. 16 marks for testing and 4 for code review that are yet to come.
-
It's always some dumb thing that goes wrong. Like, a semicolon I forgot to type, or a period or a misspelled variable. Last week I spent two hours on a Discord Bot coded in Python that refused to iterate a list of names. I had forgotten to put quotation marks around each of the items in the list so they would register as strings instead of integers. Will it ever get better?6
-
Guys, i have a question : write a shell program to select 5 to 10 lines of a file and copy them to another file.
i wrote an ans like this:
sed -n '5,10p' filename.txt >newfile.txt
but i dont think its an 1 line program aa it has 4 marks. so.. can you tell me the ANS OF SHELL PROGRAM OF ABOVE QUESTION? thanks in advance.
ps: i am a beginner in linux shell.5 -
So about that test that I failed so much at, my marks are out got 81 out 100 wohooo but I hate waiting even more now1
-
So I had this Case tools lab during my 5th semester of college and they asked everyone to do a project. Me hoping that they will see the project and appreciate the work, did a good one and I spent day and night on it. Then came the finals. The fucking teacher who was asked to evaluate me didn't even open my project properly and just entered the marks just seeing the home page. It was that fucking day that I hated my college so much. Now I don't spend too much time on projects for my college. Worst Dev experience!
-
I want to make a project
student analysis system
It works as
Student will signin in the site and upload their academic detail including roll no. marks of all the semesters, and other academic details then It will give them analysis of their academic performance like what is his rank in his class, in the department, and in the whole College. It will also show that in which subject he was week, in which subjects in upcoming semester he have to work to secure good percentage and a graph of his performance till now and change in graph if he follow according to us. It will also show the placement probability.
Now my question is which tech stacks should I use to make all this?
I know HTML CSS JS JAVA CPP and a bit of REACT. Js EXPRESS. JS MYSQL.
I am ready to work with other tech stack also.8 -
nodejs dev, how do u remove port number from url, i'm startimg to like nodejs, but port number in url is luke marks on the moon 😠
ps i did google n SO but nothing worked3 -
"If you think it would be cute to align all of the equals signs in your code, if you spend time configuring your window manager or editor, if put unicode check marks in your test runner, if you add unnecessary hierarchies in your code directories, if you are doing anything beyond just solving the problem - you don't understand how fucked the whole thing is. No one gives a fuck about the glib object model.
The only thing that matters in software is the experience of the user."
— Ryan Dahl (https://tinyclouds.org/rant.html)6 -
(tldr: are foriegn keys good/bad? Can you give a simple example of a situation where foriegn keys were the only and/or best solution?)
i have been recently trying to make some apps and their databases , so i decided to give a deeper look to sql and its queries.
I am a little confused and wanted to know more about foreign keys , joins and this particular db designing technique i use.
Can anyone explain me about them in a simpler way?
Firstly i wanted to show you this not much unheard tecnique of making relations that i find very useful( i guess its called toxi technique) :
In this , we use an extra table for joining 2 tables . For eg, if we have a table of questions and we have a table of tags then we should also have a table of relation called relation which will be mapping the the tags with questions through their primary IDs this way we can search all the questions by using tag name and we can also show multiple tags for a question just like stackoverflow does.
Now am not sure which could be a possibile situation when i need a foriegn key. In this particular example, both questions and tags are joined via what i say as "soft link" and this makes it very scalable and both easy to add both questions and new tags.
From what i learned about foriegn keys, it marks a mandatory one directional relation between 2 tables (or as i say "hard a to b" link)
Firstly i don't understand how i could use foriegn key to map multiple tags with a question. Does that mean it will always going to make a 1to1 relationship between 2 tables( i have yet to understand what 11 1mant or many many relations arr, not sure if my terminology is correct)
Secondly it poses super difficulty and differences in logics for adding either a tag or question, don't you think?
Like one table (say question) is having a foreign key of tags ID then the the questions table is completely independent of tag entries.
Its insertion/updation/deletion/creation of entries doesn't affect the tags table. but for tag table we cannot modify a particular tag or delete a tag without making without causing harm to its associated question entries.
if we have to delete a particular tag then we have to delete all its associated questions with that this means this is rather a bad thing to use for making tables isn't it?
I m just so confused regarding foriegn keys , joins and this toxi approach. Maybe my example of stack overflow tag/questions is wrong wrt to foreign key. But then i would like to know an example where it is useful5 -
English:
"I'm a liar."
Supposing I tell the truth, I'm not a liar. But that would mean that I am a liar, since I said that I am a liar.
Assuming I did not tell the truth, I would be a liar. But since I said the truth, I would not be a liar.
If one starts from the classical logic, one can make no logical statement. If one starts from the three-valued logic, I would say that "unknown" (u, ½
Is that true, what do you mean?
German:
"Ich bin ein Lügner."
Angenommen, ich würde die Wahrheit sagen, bin ich keine Lügner. Dies würde aber bedeuten dass ich ein Lügner bin, da ich ja gesagt habe dass ich ein Lügner bin.
Angenommen ich würde nicht die Wahrheit sagen, wäre ich ein Lügner. Aber da ich die Wahrheit gesagt habe wäre ich kein Lügner.
Wenn man von der klassischen logik ausgeht, kann man keine logische Aussage machen. Wenn man von der Dreiwertige Logik ausgeht, würde ich sagen, das "unbekannt"(u, ½) rauskommt.
Stimmt das, was meinst du?
https://en.wikipedia.org/wiki/...
https://code.sololearn.com/cFvKb3r8...14