Details
Joined devRant on 2/20/2017
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
-
Fucking hypocrite, tell me to create a review for fucking version changes, they create a review of significant build system changes, don't add all their changes to the review and merge it while it's being reviewed... And I'm super unhappy with their changes...
-
I find it annoying when non-tech savvy people criticize the Parler devs for using AWS because "it's Amazon they had it coming", I don't know the devs or company behind that website, I've never used it, but wtf man do you have any idea what's involved in building, deploying and maintaining a platform like that or any other similar? ffs you would barely be able to write an HTML blog by yourself and you dare judge devs for using AWS. fuck off.
I agree with the sentiment, it sucks, if my platform was removed from AWS I probably would keep it that way because I don't have the money to afford the hardware nor am I somewhere that's readily available and that's what is really sad it would suck that just because Amazon doesn't like you or you don't have the influence to fight it you and your userbase can go fuck off. Very bad precedent, it is discouraging.68 -
Vsauce has made all of its Mindfield content free on youtube...
Watched the episode about moral licensing
TL;DR; If you do something very good you tend to compensate and give yourself a free pass to do not so good
It happens to me in software when I accomplish something really fast, like a bumpy process that is undefined and in most cases should take X amount of time, but due to luck + experience + right mindset I get it done like 5 times faster...
I end up wasting the other parts of the time feeling good about myself and exploring google maps and writing rants here...4 -
What is a pointer?
A descriptive and ELI5 answer found on Reddit:
You have a house.
When you’re outside, and you want to go home, you don’t make another house right where you are, because it’s too big for you to carry around or take apart.
So you carry a piece of paper or store on your phone the address of your house. Now you always know exactly how to find your house so that you can go home.
The piece of paper or your phone is a variable.
The variable contains an address (a reference) to your house.
You can make a copy of this piece of paper and hand it out to your friends when you invite them over, instead of building each friend a copy of your house.
You can have an address book filled with pages, where each page is an address (i.e., an array of pointers). Each page you turn (each index you increment) goes to the directly next address-containing variable.
Now if you cut the address book in half along its height, and then attach the lower half behind the upper half, then you have a book with smaller pages but more pages.
You can store phone numbers in this, and even if it’s the same total size, you have double the number of pages and double the number of phone numbers (if you store one number on each page).
Now, since the pointers to home-addresses are different from pointers to phone-numbers, turning the page in an address book (increment pointer by 1) moves forward by one address.
But turning the page in the phone book (incrementing pointer by 1) leads you to the next phone number, even if you technically turned only “half a page”.
That’s how pointer arithmetic works.
Source: https://reddit.com/r/...8 -
Boss says that I'm getting a third project I should work on from now on.
Also says that that the deadline is at march 21th.
Then says that the other project whose deadline is at may 1st has priority over all others.10 -
We were talking about harddrives at work when someone was wondering if filling them with helium would make them spin faster... Then imagination took over!
"But helium balloons float, right... So would helium filled hard drives float..? Probably not due to weight but imagine dropping a hard drive and seeing it float towards the ceiling.."
"John, the delivery guy has a box with new harddrives downstairs, could you go get them?
*shouts* John did you get them? Just don't open the box outside!! No, no, NOOO DON'T OPEN IT OUTSIDE! JOHN, THE HARDDRIVES, BE CAREFUL, DON'T OPEN THE BOX OUTSI.....
*harddrives floating by the window into the air*
NOO, JOHN, WHAT DID YOU DO?!
"*walks into the office, harddrives floating against the ceiling* goddammit John, not again"
"John, why are you putting one kilometer long cables on those harddrives?
*John let's them float into the air towards the clouds*
We offer cloud storage!"
(We have a usual office building ceiling)
"John, I need a 1tb harddrive, where are those?
Uhm... C12!
*takes a ladder and walks towards c12 to pluck one from the ceiling*"
😆7 -
People like this disgust me. I know one guy I worked with that bought his kid one of these, I asked him what for and he said: "there's that fortnite game everybody talks about"
Spoild brat.16 -
That feeling of absolute joy, when something you've been working on for a loooong time, finally just works... THAT is the reason why I love what I'm doing
-
My dumb CEO just hired an even dumber CTO. The new CTO asked me the following questions...
1. What is GitHub?
2. What is JSON?
3. What’s an array?
4. What is Get and what is Post?
5. When an iPhone is offline, can it call an API on our server to tell us it’s offline?
6. I know you’ve spent 11 month the writing this backend in PHP but can you change it to Java now?
Me: Why?
Dumb CTO: Because it’s better.
Me: How?
Dumb CTO: because it is.
7. I know you’ve started to rewrite this codebase I Java but can you convert it to Node.JS now?
Me: Why?
Dumb CTO: Because Facebook uses it.
8. What is MySQL? Why aren’t you using a database instead?
9. What does NULL mean?
Somehow, I doubt that asshole is remotely qualified for the job.
Fakin shyt for brains.180 -
Me: Hmm, let's check what's the issue with this styles... Seems like nothing special...
*15 minutes later*
Me: Well, now that's just fine, now i'm closin' this one and commitin'...
Wait, what the...?
/* frontend-developer's day rubric. devrant edition */11 -
I know it wasn't ethical, but I had to do it.
Semester 4 started this week, we all got to vote which day we wanted the lecture to be held on. There were quite a few options. My preference was Monday at 7:30pm.
So I entered the poll, as I have every other semester. But I noticed something, this particular poll didn't require any form of identification. Not even a Student ID.
I dug deeper, found that it used local cookies to store weather you'd voted or not, this is obviously a security problem, so I opened up Python and wrote a simple Selenium program to automate this process.
I called it the "Vote Smasher". First it would open the webpage, then it would choose Monday 7:30pm and vote. Then it would clear it's cookies, refresh and do it over again.
I ran it fifty times.
Can you guess what the revealed vote was for UCD SP4 IT was?
I heard my lecturer mutter:
"The votes aren't usually this slanted..."
I could hardly contain my giggles.
My vote won by about fifty over the others 😂
Let me just say, it was his fault for choosing such a naive poll system in the first place 😉36 -
I think everyone has had at least one of those, thinking something about technology/a certain technology thingy and appearing to be completely wrong years and years later.
In my case: I thought (like 5-8 years ago) that there wouldn't ever be better touchscreens than apple devices had.
Man was I wrong!
Comment yours below :)13 -
"Dont jump. The bug has been fixed!"
(Plot twist: I'm actually that guy who's gonna jump) lmao
Whats yours?49 -
Please, please, please stop cornering me at the water cooler and asking me about work. This is my break.. I can answer your question in five minutes when I’m back at my desk. Thanks.4
-
Part of my code wasn't working until I changed my class into an id... How was using a class incorrect??19
-
Once my teacher was taking my viva and she asked me to explain the below line.
Scanner sc = new Scanner(System.in)
I told her that this creates a newScanner instance which points to the input stream passed as argument
She shouted at me and said that I am wrong.
She explained to me that this line creates a new object not an instance10