Details
Joined devRant on 8/4/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
-
You left me a tiny hole to look through, I can’t even PUT FUCKING AWAY that garbage and you expect me to trust you on design! Fuck you!3
-
There's a bunch of things I want to get around to this year:
- learn Scala
- get a job/an internship in programming
- start a blog
- start and finish at least a couple of projects that have piled on in my to-do list
- write code that sucks less
- get better at explaining my train of thought to others and teaching -
I finaly managed to make a dark mode on slack desktop app! Still has some bugs (like scrollbar being white) but works well enough for me. If anyone is interested tell me in the comments 🙂
How i did it (Linux paths but should be the same process for Windows):
You can execute scripts in /usr/lib/slack/resources/app.asar.unpacked/src/static/index.js
Using that i figgured out that slack desktop is basically an actual webview to their website and some os hooks.
To edit the contents of the webview you can call `document.getElementsByClassName('WebViewContext')[0].executeJavaScript("alert(1)")`
Then i just simply packaged up some custom css to be loaded with JS.
Quite simple actually.
Using this method you can create all kinds of plugins for slack, so go wild!3 -
Potential Employer: So your website does not seem to work well in Internet Explorer. A lot of employers might get annoyed with it.
Me: Yeah, I don't want them to hire me or even send me a message.2 -
Friend: Hey can you check my code, can't seen to find this one error, and i have been trying for hours now.
Me: Just one error?
Friend: Ya, just one. And it i am not in a hurry, check it whenever you can.
Me: *understanding the pain of not finding that one fucking error*
Cool, just send me the code i ll check it tonight.
Later that night i check the code, debugg that error, shit ton of more error pop up.
Me: Well i have solved the one error, now i can just hand over the rest of the code to the guy so he can take care of the rest, its not like i am responsible or aything. HOWEVER, maybe i can solve few more, just for fun, i can't just let this code get the better of me.
*ends up clearing all the error after a lomg night*4 -
"Server deployment is automated from git, so dont merge things into the master branch without permission"
Oh ok
>i create new branch
>push unfinished code because i gotta hurry
>server breaks
Well golly gee seems like you did a shit job at automating7 -
Dear people who complain about spending a whole night to find a tiny syntax error; Every time I read one of your rants, I feel like a part of me dies.
As a developer, your job is to create elegant optimized rivers of data, to puzzle with interesting algorithmic problems, to craft beautiful mappings from user input to computer storage and back.
You should strive to write code like a Michelangelo, not like a house painter.
You're arguing about indentation or getting annoyed by a project with braces on the same line as the method name. You're struggling with semicolons, misplaced braces or wrongly spelled keywords.
You're bitching about the medium of your paint, about the hardness of the marble -- when you should be lamenting the absence of your muse or the struggle to capture the essence of elegance in your work.
In other words:
Fix your fucking mindset, and fix your fucking tools. Don't fucking rant about your tabs and spaces. Stop fucking screaming how your bloated swiss-army-knife text editor is soooo much better than a purpose-built IDE, if it fails to draw something red and obnoxious around your fuck ups.
Thanks.62