Details
-
AboutItalian Dev and computer science student
-
Skillsjs, c#, python
-
Locationitaly
Joined devRant on 8/19/2018
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
-
Started being a Teaching Assistant for Intro to Programming at the uni I study at a while ago and, although it's not entirely my piece of cake, here are some "highlights":
* students were asked to use functions, so someone was ingenious (laughed my ass off for this one):
def all_lines(input):
all_lines =input
return all_lines
* "you need to use functions" part 2
*moves the whole code from main to a function*
* for Math-related coding assignments, someone was always reading the input as a string and parsing it, instead of reading it as numbers, and was incredibly surprised that he can do the latter "I always thought you can't read numbers! Technology has gone so far!"
* for an assignment requiring a class with 3 private variables, someone actually declared each variable needed as a vector and was handling all these 3 vectors as 3D matrices
* because the lecturer specified that the length of the program does not matter, as long as it does its job and is well-written, someone wrote a 100-lines program on one single line
* someone was spamming me with emails to tell me that the grade I gave them was unfair (on the reason that it was directly crashing when run), because it was running on their machine (they included pictures), but was not running on mine, because "my Python version was expired". They sent at least 20 emails in less than 2h
* "But if it works, why do I still have to make it look better and more understandable?"
* "can't we assume the input is always going to be correct? Who'd want to type in garbage?"
* *writes 10 if-statements that could be basically replaced by one for-loop*
"okay, here, you can use a for-loop"
*writes the for loop, includes all the if-statements from before, one for each of the 10 values the for-loop variable gets*
* this picture
N.B.: depending on how many others I remember, I may include them in the comments afterwards19 -
http://europarl.europa.eu/news/en/...
"Parliament’s position toughens the Commission’s proposed plans to make online platforms and aggregators liable for copyright infringements. This would also apply to snippets, where only a small part of a news publisher’s text is displayed. In practice, this liability requires these parties to pay right holders for copyrighted material that they make available. Parliament’s text also specifically requires that journalists themselves, and not just their publishing houses, benefit from remuneration stemming from this liability requirement.
At the same time, in an attempt to encourage start-ups and innovation, the text now exempts small and micro platforms from the directive."
So is devRant as a small platform exempted from this or would I or dfox have to pay to get people interested to read their link now? 🤔5 -
*client calls in*
Me: good morning, how can I help you?
Client: my ip is blocked, could you unblock it for me?
Me: certainly! What's your ip address? Then I'll have a look.
Client: I'm not giving you my ip?! That's too privacy sensitive.
Me: 😶
Me: 😶
Me: 😶
Me: sir, I'm very keen on my privacy myself but without that information I can't do much for you 😬
Client: ah so you're refusing to help me?
Me: not like that, it's just very hard to lift an ip block for me when I don't know the ip address.
Client: you just don't want to help, fine.
*click*
😶32 -
i just love /r/hacking, best funny pics reddit i have ever seen.
Also, who would have tought rhat hackers are some of the most politest people?7 -
Some empty-headed helpdesk girl skipped into our office yesterday afternoon, despite the big scary warning signs glued to the door.
"Hey, when I log in on my phone, the menu is looking weird"
"Uh... look at my beard"
"What"
"Just look at this beard!"
"Uh.... OK"
"Does this look like a perfectly groomed beard"
"Uh... it's pretty nice I guess"
"You don't have to lie"
She looks puzzled: "OK... maybe it could use a little trimming. Uh... a lot of trimming". "I still like it though" she adds, trying hard to be polite.
"I understand you just started working here. But the beard... the beard should make it clear. See the office opposite to this one?"
"Yeah"
"Perfectly groomed ginger beards. It's all stylish shawls and smiles and spinach smoothies. Those people are known as frontend developers, they care about pixels and menus. Now look at my beard. It is dark and wild, it has some gray stress hairs, and if you take a deep breath it smells like dust and cognac mixed with the tears caused by failed deploys. Nothing personal, but I don't give a fuck what a menu looks like on your phone."
She looked around, and noticed the other 2 tired looking guys with unshaven hobo chins. To her credit, she pointed at the woman in the corner: "What about her, she doesn't seem to have a beard"
Yulia, 1.9m long muscled database admin from Ukraine, lets out a heavy sigh. "I do not know you well enough yet to show you where I grow my unkempt graying hairs... . Now get lost divchyna."
Helpdesk girl leaves the scene.
Joanna, machine learning dev, walks in: "I saw a confused blonde lost in the hallway, did you give her the beard speech?"
"Yeah" -- couldn't hold back a giggle -- "haha now she'll come to you"
Joanna: "No I already took care of it"
"How?"
"She started about some stupid menu, so I just told her to smell my cup". Joanna, functional alcoholic, is holding her 4pm Irish coffee. "I think this living up to our stereotype tactic is working, because the girl laughed and nodded like she understood, and ran off to the design department"
Me: "I do miss shaving though"68 -
"There’s a subtle reason that programmers always want to throw away the code and start over. The reason is that they think the old code is a mess. […] The reason that they think the old code is a mess is because of a cardinal, fundamental law of programming: It’s harder to read code than to write it." - Joel Spolsky8
-
Git.
The smallest utility made its way to being the largest companies must-have, the most critical part of the whole development landscape.
Using just plain C, Git can shred huge amounts of data insanely fast. It never gets old.
Git is a developer's scalpel.11 -
*tentatively watching movie*
Some family standing in front of a house.
Kid asks: dad, what is this?
Dad: homepage
Me: ??
It took me way to long to realize that the kids name is Paige and the place is their new house. I hate it when that happens.1 -
Friend(non dev): Hey. Do you know how much it costs to maintain an app?
Me : Well that depends. What are you planning to do?
Friend: Something like Trivago. But small.
Me: That still doesn't tell me anything
Friend: Come on. Just give a number. How hard can it be?
Me: 42. *facepalm*
Friend: See wasn't that hard. Was it?
Me: *thinking* Don't correct him. Just let him be.19 -
Public class UnnamedChild extends Person implements Mirziteh {
public UnamedChild(String fName){
super();
this.fName = fName;
}
//methods removed for brevity
}26 -
Picture taken in the dark but that's how I like to work. In darkness. Illuminated by just my awful code.9
-
Did a very tiny migration for a client which would normally be done against our hourly rate but decided to do it for free as it would take me like 5 minutes and it was a very important thing for him and he actually offered to pay.
Fuck it, he'll be very happy, it doesn't take me much time and I know my boss would approve.
Did the migration, messaged the client and he thanked me.
Next day a cake arrives at work with my name on it and "thanks for helping us with the migration!"
Now that's how you make my fucking day!19 -
I just love going through the code review gauntlet doing maintenance work, don’t you?
(“boyscout rule” = “leave it better than you found it”)7 -
After almost 3 years of hard work here’s my Bedroom setup. I produce music as a hobby in addition to dev’ing and 3d graphics(blender/VR/opengl) stuff. Sorry for the unmade bed 😅. Build my first custom pc last October
- I7 7700K
- Asus OC 1080ti
- 32 GB DDR4
- 2 512GB Samsung 960 pro (one for each os)
Feel free to ask about anything else14 -
Well, here we go I guess. Slightly cleaned up but it's usually in this state. If you have questions, ask away!9