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 - "kittens"
-
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 -
Me: I'm gonna be productive today. Will complete this task in one hour!
*starts coding enthusiastically*
After two minutes...
*facebook*
*cat video*
Awwwww
*dog video*
Lol heheh!
*cute kittens n puppies*
Heh, silly cat
*more cats, dogs*
*accidentally notices the time*
Crap! 1.5 hours gone waste....7 -
I used to think the magnetic power cord on the mac was a great idea...until we got a kitten. One of his greatest joys is to play havoc with the cords under the computer desk...but his favourite is the mac powercord - which he rips out without me noticing ... until the mac runs out of power and shuts down...4
-
Hate being forced to jump back and forth between mutiple projects that use different languages, syntax, and IDEs. Feels like I'm juggling chainsaws and kittens.2
-
Not a rant. Just a story.
So two weeks ago, a cat gave birth to two beautiful kittens in our balcony. We started giving milk to the mother and sometimes inviting the family to our house. The kittens are naughty charming. The mother sits for hours and sometimes sleeps while watching us do our chores (watching movies, coding, etc.)
Now, we live in New Delhi and Wednesday was Diwali. The family was playing in the balcony and we had to go out. So we locked the balcony door and went to have fun with friends. We didn't realize that people would burst firecrackers which could scare the cats. When we returned, the mother was very scared and (kind of) screaming. One of the kittens was missing!! We live on the fourth floor and I got scared too. We searched using a flashlight but there was no sign of kitten. After 30 minutes of search, We gave up. I assumed the kitten jumped from the balcony and might be dead. I tried to sleep but could not. Around 4 AM in the morning, I heard some noise. When I opened the door, the second kitten was there. Her mom was scolding (or so it seemed). It was a moment of joy.
Thought of sharing. This family has become our friends. Now I realize how cats are good companions.3 -
!dev
I'm a very patient and calm person when it comes to coding or social events and the only thing that "triggers" me is accuracy.
You've made plans to have a small reunion and with people, you hardly meet, once or twice in a year and yet you somehow fail to show at 11:00 am in the morning which was already planned.
Now it's time to call each of you and hear out your ridiculous explanation of how you stayed up late watching Instagram videos of cute kittens and fell asleep late.
> "Oh I just woke up, I'll be there directly there in an hour, I know I promised we'll go together, but I have this thing to deal with"
> "Hey, do you know who reached till there? Are you there yet? What's the plan?" - Bitch the plan was to be there by 11 AM, 11 FUCKING AM.
> "Heyyyy, just woke up, give me an hour I'll pick you up"
Seriously this makes me sad and disappointed because I'm a man of the time. Sometimes I think they do this just to test my patience.
There is not enough time, there never was, there never will be.
With that being said my holiday is ruined and what's up with you?
> inb4 don't let others ruin your holiday10 -
Personally I am starting to think that any development tools, resources and sites should not be allowed to use marketing dribble.
It should go
-> Land on home page
-> Hi, we are a realtime database cloud host
-> no you cannot host it yourself
-> here is code to speak to our servers
-> here is the cost
->now take it or go.
Something like that, and not
We provide clients with the leading cloud and hosted data solutions that can scale vertically and horizontally on and offline data management keeping people connected and saving kittens.
Fuck you show me one kitten you saved? Lying pieces of shit that do not want to just say hey this is what we have , this is ours, it may not be much but it is what we believe in and if you would like to use it here is how , thank you now move the fuck along our server can't handle so many concurrent connections.2 -
For the last 20 years, there's one thing I've not been able to do reliably:
Share a folder on a windows computer.
Why the fuck can I write /etc/smb.conf from scratch with a blindfold on and make it securely work from all client devices including auth & acl, but when I rightclick and share on windows it's either playing hide and seek on the network (is it hiding behind //hostname/share? No? Maybe in the bushes behind the IP addresses?), or it's protected by mysterious logins requiring you to sacrifice two kittens a day.
Yes, finally it works! One windows update later... aaaand it's gone.
JUST GIVE ME A FUCKING CONF AND A MAN PAGE, MICROSOFT. I DON'T CARE THAT YOU'RE ORALLY PLEASING ALL THESE MALWARE RIDDEN GUISLUTS ON THE SIDE, JUST GIVE ME A FUCKING TEXT FILE TO STORE AND EDIT.4 -
!rant Taking the kittens (they’re like 5-6 years old at this point but they’re always going to be kittens to me) to our old vet (45 minute drive from where we currently live) in a couple hours when they don’t like car rides or the vet and when we know they need to get vaccine shots and we’re not allowed to go inside with them. It’s the first time we’ve ever taken them to the vet and not been able to be there with them. 😭 I’m so nervous/anxious/scared for the little guys.
Wish me luck, friends.3 -
During one of our 'pop-up' meetings last week.
Ralph: "The test code the developers are checking in is a mess. They don't know what they are doing."
ex.
var foo = SomeLibrary.GetFoo();
Assert.IsNotNull(foo);
Fred: "Ha ha..someone should talk to HR about our hiring practices. These people are literally driving the company backwards."
Me: "I think unit testing is complete waste of time."
- You could almost see the truck hit the wall and splatter watermelon everwhere..took Ralph and Fred a couple of seconds to respond
Fred: "Uh..unit testing is industry best practice. There is scientific evidence that prove testing reduces bugs and increases code quality"
Ralph: "Over 90% of our deployments are rolled back because of bugs. Unit testing will eliminate that."
Me: "Sorry, I disagree."
- Stepping on kittens wouldn't have gotten a worse look from Fred and Ralph
Fred: 'Pretty sure if you ask any professional developer, they'll tell you unit testing and code coverage reduces bugs.'
Me: "I'm not asking anyone else, I'm asking you. Find one failed deployment, just one, over the past 6 months that unit testing or code coverage would have prevented."
- good 3 seconds of awkward silence.
Ralph: "Well, those rollbacks are all mostly due to server mis-configurations. That's not a fair comparison."
Me: "I'm using your words. Unit tests reduces bugs and lack of good tests is the direct reason why we have so many failed deployments"
Boss: "Yea, Ralph...you and Fred kinda said that."
Fred: "No...we need to write good tests. Not this mess."
Me: "Like I said, show me one test you've written that would have prevented a rollback. Just one."
Ralph: "So, what? We do nothing?"
Me: "No, we have to stop worshiping this made up 80% code coverage idol. If not, developers are going to keep writing useless test code just to meet some percent. If we wrote device drivers or frameworks for other developers maybe, but we write CRUD apps. We execute a stored procedure or call a service. This 80% rule doesn't fit for code we write."
Fred: "If the developers took their head out of their ass.."
Me: "Hey!..uh..no, they are doing exactly what they are being told. Meet the 80% requirement, even if doesn't make sense."
Ralph: "Nobody told them to write *that* code."
Boss: "My gosh, what have you and Fred been complaining about for the past hour?"
- Ralph looks at his monitor and brilliantly changes the subject
Ralph: "Oh my f-king god...Trump said something stupid again ..."
At that point I put my headphones on went back to what I was doing. I'm pretty sure Fred and Ralph spent the rest of the day messaging back-n-forth, making fun of me or some random code I wrote 3 years ago (lots of typing and giggling). How can highly educated grown men (one has a masters in CS) get so petty and insecure?7 -
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 -
When you show the client the comprehensive administration system they ordered but their young female HR leader is "more into pictures than tables".
-
Oh boi... that was a great and a shitty day.
Let us just see the positives tho.
A: Shopping in huge ass mall. (I hate Shopping, but not when it is about tech, cars, books, ahem playb... errrm just joking, food and Cinema I am all in.)
B: Visiting a place for animals living on the wild streets of Antalya. That place was right under the sun. It was not a building or anything like that. Near a well-known tower from the Osmanian Empire. There were a lot of kittens everywhere. The kittens were so cute. Omg. Most of them even had an own house. All of them colored in many different colors. Their houses have been donated by couples. Even the government helped the kittens by placing water refreshers with a roof above them. The man who is feeding them is someone who seemed to be like a poor man. He was very kind. I like him. We donated some money, but we could not do any more than that since we are not allowed to take them to Germany via air plane. Makes sense, right?
C: We made a boat trip. Oh boy... That was fucking awesome. I was allowed to get to the "nose" of the boat and chill there. I somehow found the confidence to take a group selfie with strangers LOL4 -
I have a game night at my place every other week. We play cards against humanity, unstable unicorns, million dollars but, or exploding kittens and order some food from a different place every time.
Other than that it's late night game sessions. -
I've talked with my friend about what does that mean to work as QA. It seems all they do is watching yet vids with kittens and slacking off, and basically they are useless.
But then, it clicked. They are people to blame first if shipped product have bugs.
I wonder if one day, one dev just thought(after getting reprimanded by his boss for bugs in the final product): "hey, I don't need to listen to this, we can hire a guy for that!1 -
What do you think about psychometric tests? I doubt a test can define the type of person you are nor your characteristics. I think it's ambigous, unprecise and extremely subjective. Today I was rejected from a job offer because "the psychometric department didn't give their vote of approval". This is the first time I get rejected for that reason, in the past nobody complained about the results of my tests. I don't know if psychometry is useful, but this company is looking for someone different, or maybe psychometry is, in fact, subjective and any fool can interpret your results however he feels like: "Oh, so he likes kittens over puppies, he's a potential serial killer, let's reject him"1
-
If I have to hear one more time about how Sharepoint can do X for you, X := {multiple datastore search, Knowledge Base, etc} I will angrily look at some kittens and really make them feel uncomfortable :p
Maybe raise an eyebrow;
this is getting real now!2 -
So I was walking down the road and a carcass of a possum was decaying in it, then I looked nearby and several dead glistening newborn kittens were dead along the road.
people here are such trash.
they better hand over the fucking money and stop it with their queer shit because if they got anything they need their ass shot. -
If you wanted to conquer the world using ninja kittens, which positions of power would you occupy first?
I need advice on programming the mental conditioning algorithm.1