Details
-
AboutNighthawk Spending Most Of That Time Learning Computer Programming. My Current Focus is Ruby and Python Used Mostly For Backend Programming.
-
SkillsJavaScript, Python, Ruby, NodeJs, Scala, Java, Golang, Kotlin
-
LocationBangalore
-
Website
-
Github
Joined devRant on 6/17/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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
As a developer, sometimes you hammer away on some useless solo side project for a few weeks. Maybe a small game, a web interface for your home-built storage server, or an app to turn your living room lights on an off.
I often see these posts and graphs here about motivation, about a desire to conceive perfection. You want to create a self-hosted Spotify clone "but better", or you set out to make the best todo app for iOS ever written.
These rants and memes often highlight how you start with this incredible drive, how your code is perfectly clean when you begin. Then it all oscillates between states of panic and surprise, sweat, tears and euphoria, an end in a disillusioned stare at the tangled mess you created, to gather dust forever in some private repository.
Writing a physics engine from scratch was harder than you expected. You needed a lot of ugly code to get your admin panel working in Safari. Some other shiny idea came along, and you decided to bite, even though you feel a burning guilt about the ever growing pile of unfinished failures.
All I want to say is:
No time was lost.
This is how senior developers are born. You strengthen your brain, the calluses on your mind provide you with perseverance to solve problems. Even if (no, *especially* if) you gave up on your project.
Eventually, giving up is good, it's a sign of wisdom an flexibility to focus on the broader domain again.
One of the things I love about failures is how varied they tend to be, how they force you to start seeing overarching patterns.
You don't notice the things you take back from your failures, they slip back sticking to you, undetected.
You get intuitions for strengths and weaknesses in patterns. Whenever you're matching two sparse ordered indexed lists, there's this corner of your brain lighting up on how to do it efficiently. You realize it's not the ORMs which suck, it's the fundamental object-relational impedance mismatch existing in all languages which causes problems, and you feel your fingers tingling whenever you encounter its effects in the future, ready to dive in ever so slightly deeper.
You notice you can suddenly solve completely abstract data problems using the pathfinding logic from your failed game. You realize you can use vector calculations from your physics engine to compare similarities in psychological behavior. You never understood trigonometry in high school, but while building a a deficient robotic Arduino abomination it suddenly started making sense.
You're building intuitions, continuously. These intuitions are grooves which become deeper each time you encounter fundamental patterns. The more variation in environments and topics you expose yourself to, the more permanent these associations become.
Failure is inconsequential, failure even deserves respect, failure builds intuition about patterns. Every single epiphany about similarity in patterns is an incredible victory.
Please, for the love of code...
Start and fail as many projects as you can.30 -
Dear junior programmers:
You will never get hired from what you learned at University
You have to study on your own, update your knowledge, practice at home and fail
The most important is to know which field to focus on10 -
Me: I'm really underpaid and you know that. You gotta do something about it.
My Manager: It's on my radar. It's complex. Things like these never move quickly.
*Few weeks later*
My Manager: Hey what's the status on that new POC?
Me: It's on my radar. It's complex. Things like these never move quickly.
*Radio silence in the room*21 -
I don't use Google/Facebook for privacy reasons (and their sub-services etc). Haven't used them for ages but noticed that google still loads a lot of domains like analytics etc. This goes for facebook as well.
I now blocked a lot of google/facebook domains through my hosts file.
It's funny to see the amount of DNS requests to those fb/google connected domains nearly go to zero and also the fact that I literally can't load google/facebook anymore!126 -
WHY!
Email was invented a gazillion years ago and it's still a shiit experience to setup on linux. Just give me ONE complete package!!
nooo i need to get postfix, dovecot, spamassassain mailscanner, antivirus, opendmarc, opendkim, dovecot-managesieve dovecot-sieve, roundcube, database, webserver and then i still have to configure everything and setup certs, spf, dnssec, dkimkeys on the domains, domains, mailboxes, deny weak certs etc.
I know the whole do one thing and do that one thing well but how about you just be a mailserver and do that ONE thing well without me needing to putting all of the puzzle pieces together myself! I don't want to waste time setting all this shit up. and don't even get me started on symantec and live.com and their blocking!14 -
Me: nodejs, how to iterate through a folder
Quora: let me tell you a story , when me and my fath.....
Stackoverflow: -1, please refer to guidelines
Yahoo answer: type command "rm -rf *"
Omegle: m 26 india ....
Cleverbot: const fs = require('fs')
const path = require('path')
function getDirectories (srcpath) {
return fs.readdirSync(srcpath)
.filter(file => fs.lstatSync(path.join(srcpath, file)).isDirectory())
}
then recurrence
me: thx cleverbot11 -
Try this line of javascript in a browser:
<pre id=p><script>n=setInterval("for(n+=7,i=k,P='p.\\n';i-=1/k;P+=P[i%2?(i%2*j-j+n/k^j)&1:2])j=k/i;p.innerHTML=P",k=64)</script>8 -
A girl that I like once ask me to download movies for her because her internet at home is slow. A day after that I told her that the first 3 on the list she gave me is done. She then told me that she forgot to bring her thumb drive and ask me if it is possible that I email the movies to her instead.15
-
Google: "Please prove you're a human."
Me: "Hello Google, I'm human!"
Google: "Prove you're a human..."
Me: *Stabbing my finger and dripping blood on the computer*
Google "Prove you're a human!!"
Me: *Crying, laughing, expressing feelings*
Google: "Prove you're a human I said!!!"
Me: "4527"
Google:" Thank you."4 -
RANT: This one might be a repost and we might not even know.
RANT II: It took me 2 hours to find similar issue for two reasons.. Java and a dumbass motherfucker dev that named functions "mcf"/"MyFold"/"HelpingMeMaking" and was to dumb to make it OP.4 -
Developers Rant
When your team lead tells you to exactly replicate the ui which your designer has done using photoshop and the jpg output is given to the developer.1