Details
-
AboutI'm currently a Computer Science student and junior software developer.
-
SkillsJava, PHP, MySQL, JS, HTML, CSS, C, Python, C#
-
LocationCanada
Joined devRant on 5/9/2016
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
-
I've never heard an Apple person say "laptop" or "phone". They always specify that it's a "MacBook" or "iPhone".
Just an observation.13 -
How the fuck do people have an amazing GitHub profile full of contribution while still working and having a social Life??
Am I missing some secret or trick?
This struggle is real...15 -
I literally just opened devRant app to upload this photo and discovered @tdails posted about the same thing.13
-
I started my first job with no degree and no real experience. It was a sink or swim kind of place. Six months in, I was working on a bunch of projects independently, then they hired a new junior developer, and told me it was my job to mentor him.
a lot of the time I knew what to do to get the job done, but I didn't know why. He always asked why... Learning something is one thing, teaching it is another. This guy was the best co-worker I've ever had because he pushed me to be much better while we learned together.2 -
Swift, oh my god, why do you have to be like this?
I'm looking to write a simple for loop like this one in java
for(int i = 5; i > 0; i--) {
// do shit
}
Thats it, simple, go from 5 to 1 (inclusive), I saw that to iterate over a range in a for loop (increasing ordeR) I can do this
for i in 0...5 {
// do shit.
}
So I thought maybe I could do this to go in reverse (which seems logical when you think about it doesn't it?)
for i in 5..<0 {
// do shit
}
But no, this compiles FINE (THIS IS THE FUCKING KICKER IT COMPILES), alright, when you the code runs you get a fucking exception that crashes the mother fucking application, and you know what the problem is?? This dogshit, shitStain of a language doesn't like it when integer that the for loop starts with is larger than the integer that the for loop ends with MOTHERFUCKER ATLEAST TELL ME THAT AT COMPILE TIME AS A MOTHERFUCKING WARNING YOU PIECE OF SHIT!!
Alright *deep breathing*, now we can't just be stuck on this raging, we're developers need to move forward, so I google this, "Swift for loop in reverse" fair enough I get a straight forward answer that tells me to use the `stride` functionality. The relevant code for it
for i in stride(from:5 to:1 by:-1) {
// do shit
}
Wow looks fine and simple right?? (looks like god damn any other language if you ask me, no innovations here piece of shit apple!) WRONG BITCHES !!! In the latest version of Swift THE FUCKING DEVELOPERS DECIDED TO REMOVE STRIDE ALTOGETHER, WITHOUT ADDING IN A GOOD REPLACEMENT FOR THAT SHIT!
Alright NOW IM FUCKING MAD, I got rage on stackoverflow chat, a guy who's been working on ios for quite a while comes up n says and I quote
"I can sort of figure it out, but besides that, iterating in reverse is uncommon enough that it probably hasn't crossed anyone's mind."
Now hope you guys understand my frustration, and send me cookies to calm me down.
Thank you for listening to me !27 -
The new iPhone 7 comes out on August. If you want to have a sneak peek at the new iPhone. Take a look at the your current iPhone and pretend it costs 200 dollars more.15
-
IOS SUCKS!! SWIFT SUCKS !! OBJECTIVE-C SUCKS!! SUCK MY DICK APPLE YOU PIECE OF SHIT !! Why did you have to make the language sooo counter intuitive, and so different from the popular languages you pain in the ass piece of shit, Why can't I throw exceptions from a constructor of a class?? Why do I have to use a fucking struct to just throw exceptions?? Can't class constructions fail you peice of shit?? huh? GOD DAMN IOS MAGGOT DEVELOPERS IF I EVER RUN INTO THOSE FUCKERS IM GONNA FUCKING RAPE EM BURN THEM ALIVE AND HAVE THEM FOR DINNER68
-
Time for some stats gathering! What mobile phone are DevRanters currently using? I've recently switched from iPhone 5 to Nexus 5X and I can surely say I'm not going back 😁57
-
Spaces Vs Tabs - A real world case.
So one of the menial tasks I was given here was to take a pretty mock and turn it into an HTML email template. Needless to say, I hate emails and HTML.
After many weeks of trial and error, rejection and tweaks, we're doing our final tests when someone noticed that Google's clients are chopping off the footer and saying "View Full Email".
A few searches yield that Google has a 102KB cut off for email size. We did some checks and found that we were at 104KB. I immediately thought it was my CSS inliner being a little too verbose, but as I went in to edit things, I noticed that the file was intended with spaces!
Now I'm a fan of Silicon Valley, and I recalled an episode from this past season where Richard mentioned something about saving file size by using tabs. I had never really considered that point.
So I went back into VSCode and told it to convert all of the individual templates that make up this giant email to indent with tabs...
The file size dropped from 104kb to 82kb.
I wasn't very polarized on the Tabs vs Spaces debate, but this here has given me a nice real world example as to why tabs rule.20 -
How many of you fellas have thinkpads? Bought this refurbished unit about a month ago and the machine is great, really. Very happy with its performance, sturdiness & reliability.
Only thing I'm not too psyched about is the battery life. Probably need a new one as I'm hitting about 4 hours max on a 6cell.
Running Xubuntu 16.04, might switch distros as quite there are a few bugs in the new release but at the same time I don't wanna downgrade to 14.04.13 -
see you in hell mac mini, the raspberry pi is taking your place connected to the tv.
when $25 of Linux out performs $300 of apple.3 -
Website on sign off.
Client: yeah I just updated all the content on the old site but that's ok you can just copy and paste it, right?
Currently trying to formulate a reply that doesn't start with the words "For fuck sake..."8 -
interview from the other side. A month ago I was looking for frontend dev for team I lead.
Now I believe that it was a nightmare for one guy, whos bio was full of js, angular and a little of php. Thought that he will be the man we were looking for.
Nope. I've started with classic (I suppouse) questions, like call and apply difference. Guy couldn't even manage to say a word. Went to bubbling, nothing. Ok sth easier, hoisting... Maybe at least you're minifying your code? donno what is. Ok so what you actually did from js? "I know jQuery, did something in this, and did full angular app to build forms, store and send them", but after question what Factory is he covered his face in hands, went still for about three minutes and probably would start to cry but we stopped this. I feel sorry for this guy, but he applied for senior frontend position.9 -
I went for an interview as a MS SQL DBA. They gave me a technical knowledge test which I passed then started asking about me, All was going well until they started telling me what the company did.
They harvested people's data from websites online questionnaires and collated it into saleable data.
This was too much for me and I'm not certain that it isn't a grey area legally. They were told that they were scum of the earth and they could go fuck themselves.4 -
Recently applied for a Junior DevOps position. Didn't even get further than the recruiter because they wanted at least 3 years' experience. I'd hardly call that Junior! I was even willing to take the slight pay cut from my current position as a mid level dev3
-
The only reason why I hate Apple products is their proprietary accessories. I've been using a 3rd party iPhone cable for over an year without an issue. Today, this fucking ego-phone decided not to support this data cable anymore.2
-
Bored waiting for code to compile so here is a joke someone sent me last week .....
A man walks in a bar with his pet monkey. He sits down and orders a drink, meanwhile the monkey is running around all over the place and jumps up on a pool table. He grabs the 8 ball, shoves it into his mouth and swallows it hole.
"Holy crap!" says the bartender, completely livid. He says to the man, "Did you see what your stupid monkey just did?"
"Nope. What did he do this time?" says the man.
"He just swallowed one of the balls off the pool table, whole!" says the bartender.
"Yeah, well I hope it kills him 'cause he's been driving me nuts" says the man.
After finishing his drink, the man leaves.
A few weeks later the man returns to the bar with his monkey. After ordering a drink, the monkey starts running wild around the bar again. Up on the bar, he monkey finds some peanuts. He grabs one out of the bowl, sticks it up his butt, then pulls it out and eats it. The bartender is disgusted.
"Did you see what your stupid monkey did this time?" he asks.
"What now?" responds the man.
"He stuck a peanut up his butt, then pulled it out and ate it!" says the bartender.
"Well, what do you expect?" replied the man. "Ever since he ate that pool ball he measures everything first!"4