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 - "that’s the dream"
-
VIM! ViM! vim! Vi Improved! Emacs (Wait ignore that one). What’s this mysterious VIM? Some believe mastering this beast will provide them with untold mastery over the forces of command line editing. Others would just like to know, how you exit the bloody thing. But in essence VIM is essentially a command line text editor at heart and it’s learning curve is so high it’s a circle.
There’s a lot of posts on the inter-webs detailing how to use that cruel mistress that is VIM. But rather then focus on how to be super productive in VIM (because honestly I’ve still not got a clue). This focus on my personal journey, my numerous attempts to use VIM in my day to day work. To eventually being able to call myself a novice.
My VIM journey started in 2010 around the same time I was transiting some of my hobby projects from SVN to GIT. It was around that time, that I attempted to run “git commit” in order to commit some files into one of my repositories.
Notice I didn’t specify the “-m” flag to provide a message. So what happened next. A wild command line editor opened in order for me to specify my message, foolish me assumed this command editor was just like similar editors such as Nano. So much CTRL + C’ing CTRL + Z’ing, CTRL + X’ing and a good measure of Google, I was finally able to exit the thing. Yeah…exit it. At this moment the measure of the complexity of this thing should be kicking in already, but it’s unfair to judge it based on today’s standards of user friendly-ness. It was born in a much simpler time. Before even the mouse graced the realms of the personal computing world.
But anyhow I’ll cut to the chase, for all of you who skipped most of the post to get to this point, it’s “:q!”. That’s the keyboard command to quit…well kinda this will quit the program. But…You know what just go here: The Manual. In-fact that’s probably not going to help either, I recommend reading on :p
My curiosity was peaked. So I went off in search of a way to understand this: VIM thing. It seemed to be pretty awesome, looking at some video’s on YouTube, I could do pretty much what Sublime text could but from the terminal. Imagine ssh’ing into a server and being able to make code edits, with full autocomplete et al. That was the dream, the practice…was something different. So I decided to make the commitment and use VIM for editing one of my existing projects.
So fired the program up and watched the world burn behind me. Ahhh…why can’t I type anything, no matter what I typed nothing seemed to appear on screen. Surely I must be missing something right? Right! After firing up the old Google machine, again it would appear there is this concept known as modes. When VIm starts up it defaults to a mode called “Normal” mode, hitting keys in this mode executes commands. But “Insert” entered by hitting the “i” key allows one to insert text.
Finally I thought I think I understand how this VIM thing works, I can just use “insert” mode to insert text and the arrow keys to move around. Then when I want to execute a command, I just press “Esc” and the command such as the one for saving the file. So there I was happily editing my code using “Insert” mode and the arrow keys, but little did I know that my happiness would be short lived, the arrow keys were soon to be a thorn in my VIM journey.
Join me for part two of this rant in which we learn the untold truth about arrow keys, touch typing and vimrc created from scratch. Until next time..
:q!4 -
Developing and deploying in Xcode is some Requiem for a Dream level bullshit.
I literally just de selected everything for managing automatic signing, and re-selected the EXACT SAME GODDAMN THING. And it worked. It’s literally some fucking shit you do when you are first learning how to code or learning a language and you keep flipping something but you don’t get exactly how it works.
But this is YOUR FUCKING FLAGSHIP development product. I shouldn’t have to check my goddamn inception totem to see if I’m dreaming or not because this kind of bullshit can’t be real life.
That being fucking said your bullshit forced shutdown also FUCKED MY ANDROID STUDIO INSTALLATION AND FUCKED MY $PATH. Thanks. Now NOTHING WORKS. Fuck you Apple. Between slowing my phone and the cluster or problems your shit is causing that are just random as hell and are plenty common because thank god people smarter than me have fixed them in SO by now, I am SO READY TO LEAVE THE APPLE ECO SYSTEM. If I didn’t have to use one of the boxes to push iPhone app updates I doubt I would touch one again.
Apple stuff looks good but at this point that’s about it. -
Me and my aunt. We put a whole frozen chicken into the microwave. After the frost is gone, it starts moving.
“Boiling moisture”, we think. Then, the chicken awakens. “Leave it to boil, lobsters are boiled alive after all”, says my aunt. “No! We’re microwaving a live animal! That’s torture!”, I scream in panic. We switch the microwave off. Chicken — out. No skin, hellish red meat, severe burns. It tries to scream but can’t. I need to put it out of its misery, NOW.
Aunt says “hold it against the table, I’m going to break its neck”. I oblige, and she proceeds to crush its neck with a two-by-four. It turns out, the neck is basically rubber and doesn’t budge. I have a better idea: let’s do something to its brain directly. I take a pin and proceed to find its skull. But there is no skull to be found, just a capri-sun for its head, with a small pocket of something squishy. The chicken keep wheezing loudly, desperate to scream. I poke that pouch with a pin. It splits in half, spilling the insides — gray chalk.
“It’s gone”, says aunt. “Its suffering is over”.
I sigh in relief. That was quite a cooking experience.
Thank god I woke up. It was just a dream.3 -
Visited three book stores today.
Most books about software development on shelves were about :
android / css / c# / html / javascript / python - in alphabetic order.
Many motivational books ( almost half ) about how to become software developer just because “it’s a dream job” without any interesting content.
Less books about c/c++, networking.
Microsoft is still present with certification and windows and I didn’t saw any linux book.
So that’s the future - full of microsoft and android, javascript, html and script kiddies.
So pretty much the same as it is now.6 -
Talk shit, close the door to the people who have faith on you, that’s how good CEO, a man with dream, follows first principle do!
This is how mafia works!👎4 -
!dev
I just woke up from a fun adrenaline packed film dream.
It started like an movie, leaning a bit into the funny side, but also a bit serious.
We were 3 guys going top speed on the highway, dodging traffic, trying to prevent a bomb from detonating on the other side of the city.
We were all famous actors, but the only one I remember was Jackie Chan. I remember thinking why would they cast Jackie Chan and give him so few lines.
I wished I remember more about this part. The only thing I remember is that when we get to the end of the island, we’re in the wrong place: we’re at a huge OBGYN center.
My sidekicks are bothering the desk women, eating all of the “waiting candy”. I feel bad and offer to pay those, which they pretend to not care about but then end up charging me down to the penny. Cunts.
The sidekicks leave and (without explanation because dreams) disappear of the story.
Defeated, I go outside and start walking.
And I don’t remember exactly what the fuck happened in between, but somehow I’m now in the house of a cartel druglord and he’s pissed and I need to run now.
So I do. I remembered that there was a very thick forest east to the house. So I go there.
And what follows is a very intense montage of me escaping.
At some point that forest ended, so I continue through some high weed, and then another forest, and so on. While I had to pass through parts with no vegetation, I had to avoid these as much as possible.
I saw dozens of types of trees and shrubs.
Then I started seeing families, kids, playing, relaxing on what seemed a Sunday afternoon.
The adventure was so fun, the landscape was so beautiful I felt happy and thought “this is how it feels to be alive”. And I actually felt happy in real life as well.
At some point the vegetation I encounter decreased, and I have to go through more urbanized areas, with more people.
“Uh oh” I think, “I hope no one snitches me”. But miraculously, no one does.
Throughout all the journey I had glimpses of the drug lord nearby presence.
His face on the distance, the sound of his car engine.
But now he was closer than ever. And I’m closer to this house which is the escape point (can’t really remember why).
So I reach for the handle and fade to white, and fade back again, it’s me, older, and I’m not in an escaping mood.
My wife is waiting, our car is outside (on the non drug lord side).
And guess what, we were waiting for our daughter, who comes with a smile and a child on her hands.
So apparently, my daughter married someone from the drug lord villa that almost murders me.
Reading this sounds like a bad script, but that’s what I dreamed today.1 -
In a country, a long time ago there was a programmer by the name of Alex. He was a programming genius and apart from a few hours of sleep, he was busy developing unique programs for new generation technology firms. Alex was a bachelor and he happily and proudly lived the way he wanted to. He did not have duties, authority over him, bosses to report to, children to take care of, and distractions. He could sit and code for the entire day without getting any break or feeling a bit tired. However, he had no idea that everything in his life was soon going to turn around. Before Marriage: The Bachelor’s Life Alex was the epitome of a modern ‘Play Boy ‘ or every man’s dream. He was fairly dressed, had a classy house, a snazzy car, and a good-paying job. He was in the habit of spending his mornings drinking coffee while browsing through the different coding topics. He comes in the afternoon and spends the evening part of the day with his friends. Life has never been this good. Alex was able to work hard and the more he was innovative, he enjoyed it. It illustrates how a young person would sit for many hours coding at night and not bother about other people around him. He was alone as a bird and as per him, that’s what he wanted to be. He had no peer to tell the truth to, no wife to prepare meals for, no maids to babysit his mess. A man could chow down a pizza for breakfast, lunch, and supper with not even a raised eyebrow from onlookers. He was profiting from living the best life he possibly could. After Marriage: Married Life: Alex & Sarah The climax for Alex is when he marries Sarah on a sunny morning on a fine day. Young people met, and after becoming enamored, started a family and got married to find a new home. Sarah was friendly with people and it was very easy for her to make friends; however, she had little knowledge of technology. Alex had it in his mind that marriage does not change the life you lead and how wrong he was. It was a fairy-tale to have such a perfect life for several days after the marriage. Their nights would be spent in front of the television set with their arms wrapped around each other, eating takeout. Despite this, when the number of days stretched into weeks, and the weeks into months, Alex felt the beginning of a shift in his behavior. The Coding Cave That Transformed into A Home Office Due to the pandemic the coding cave Alex used to have became a home office. Sarah had made up her mind to open her business from home, therefore, she required a home office. Thus, she moved inside the cubicle that Alex had created as his coding cave and left him with no space to code. He now had to code in the living room, because Sarah would incessantly request him to either lower the auditory input of the keys he was typing or to switch off the LCD screen. The Once-Clean Apartment Turns into a Mess Alex was a neat freak, and he adored tidiness, especially in his apartment. But after marriage, his once clean and neat-looking apartment was changed into a dirty one. Although Sarah was not very neat, she used to litter her things anywhere she felt like without being conscious of it. Alex was a programmer and his coding notes were mixed with Sarah's business papers, it irritated him so much. Alex’s to-do list before marriage The to-do list before marriage only comprised coding-related tasks. At marriage, however, he seemed to have developed a longer list of things to do than ever before. Instead of just going to the grocery store to buy some food, Alex seemed to have endless tasks to do mostly around the house. He had to cook for himself, sweep the house, and wash the dishes among other things. This was a new world as far as he was concerned. The Pizza Days Are Over Gone there is no more time for Alex could eat pizza in the morning, afternoon as well and evening. Sarah was very conscious of what she took as food or what her family took as food and therefore ensured that Alex took healthy home-cooked foods. He could not have the pizza anymore but the meals prepared by Sarah were really tasty. Conclusion Therefore from a life before marriage to the life after marriage, it was evident that Alex led two different lives. He went from a playful man with not much responsibility to a man with more responsibilities as a husband and a father. Still, he wouldn’t have it any other way, despite these changes. Later he cherished Sarah and the life they had, and nothing in this world could make him exchange what he had now. Essentially, it was a tricky business being married, but a blessing, and an addition of love, company, and much hilarity too. Therefore, if you are a bachelor reading this, embrace your coding cave and your pizza days because once you utter the words ‘I do,’ all those will be things of the past.But trust me, it's all worth it.