Details
-
AboutI solve problems.
-
SkillsI brag about knowing stuff even though I don't have a clue of what they are or how they work. And I know JavaScript.
-
LocationBrazil
-
Github
Joined devRant on 6/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'm a die hard ViM user and throughout the years I managed to put ViM key bindings in everything, from browser to even my cell phone for some reason (back in the day if I had the opportunity to put them in the fridge, I would have put them - people would have a hard time closing the door, though)
The thing is that it had become a liability because I see that, even though I "work really fast and efficiently" using this tool, when I have to use other things, like a different shell (I use zsh with some ViM sauce) or type in another editor, it sucks so hard.
Everything is wrong, nothing works, the typing is a mess.
Now I'm trying to force myself to use Vscode and I removed all those extensions from my browser and shell. It is uncomfortable, but the idea is to "rewire my muscle memory", if there is such thing.
Yeah.8 -
!rant
Couldn't sleep, so I went to read some blogs about CS (go figure). Found this wonderful repo
https://github.com/papers-we-love/... -
I hate myself. Really.
Last week I wrote a function to handle file uploads and at some point I left this very useful comment.
Do I know what to fix? Absolutely fucking nope.
I want to punch me from last week in the face9 -
These guys. I drink a lot of water (I stopped drinking coffee so I had to replace it with something).
-
!rant
People, have you tried the new board system on GitLab's issues?
I use Gitlab in my company (because it's awesome), but my personal projects are in GitHub. I'm thinking about moving some of them to GitLab because of this feature (I really like to organize things and really hate to use multiple services to run a project, so this new board/kanban system makes Taiga, which I am currently using to run things, kind of redundant).
About the new GitLab's feature
[https://about.gitlab.com/2016/08/...]
The downside of this is that I don't see GL as a social experience like GH.
Any avice? Thank you.
Important: I'm not a PM of some sort. Just a dev.1 -
I don't know about you, but I have Stack Exchange's app installed in my phone just in case. I never use it, but it's there for an emergency (I don't know what kind of emergency, to be honest, but you never know...)1
-
Run test
everything ok
Run again
everything ok
Run again
error
Run again
everything ok
*wtaf is happening?*
I googled for the cause of a "double callback" error and found out that supertest was throwing it when I was attaching a file to the API request. found no conclusive way to solve it, just that "supertest does it from time to time".
Trying to investigate further, I made a function to repeat the API request 5 times in a row. Everything passed. The run it again. Two failed. Again and everything passed.
this is bullshit
fml -
Once I wrote a shell script to solve a problem. Then I thought "now I have to rewrite it in a REAL language". So I did it in Go. But then I got bored and left it to rot in my gh. I picked it up again today and made another rewrite, but now in node. What the actual fuck4
-
Back in the day, when callbacks was all I've found on Internet tutorials, my code looked like this (img) . But then I found something called "async" and it changed my life!
But I couldn't let go of my old ways, so the code with async looked just like the callback one, but with new boilerplate code.
The thing is: you can't simply USE something new like you were using the old one. you'll probably use it wrong. you have to understand that this new thing is different and adapt your thinking process to better work with it.
you can sit on a skateboard and go forward using your hands on the ground to push it, but that's not how it was designed to work.
I still use callbacks because I have no intention of rewriting my working codebases right now (because they work just fine). But, even with my struggles in changing to new tech, I've learned to adapt (sort of).1 -
[POLL] How do you develop stuff?
1 - just write code. It doesn't need to be organized, it just need to work how you thought it would, and THEN you start organizing things, like editing/creating new files, letting things DRY, optimizing the sutff you did earlier;
OR
2 - you surgically write code, making sure you keep everything is organized from the beginning. Basically you only write when you are sure.
Or maybe it's a blend between the two or something.
I'm asking because I do like the #1 and I feel uncomfortable when people see my code when it's under development. It's a mess, there are tons of comments everywhere and a bunch of repetition. But, when I find the right stuff, I start writing modules to make my code work better, remove unnecessary things, add documentation, and so on.
My development process is not the best of the best, but I get things done with it.7 -
The millisecond after the ENTER you realise you are pushing directly to master. Now you are trying to abort (just did it)2
-
[POOL]
What do you have: a "dev" or a "workplace" directory in your home? I always had a "dev" for my projects and I think I'm not alone, but I can't be sure10 -
So I rant about my stickers not arriving, and the next rant after mine is one from a guy who recently received his. lol2
-
When you "think" got rid of some errors and end up making 15 more errors. You be like "I WANT MY OLD ERRORS BACK RN!"3
-
const silicon_valley = true;
if(silicon_valley == true) {
watchSiliconValley();
} else {
work();
}
// yeah I know it's crappy1 -
1 - I have this incredible software idea
2 - I start coding right away
3 - I get stuck because I don't know how to use some function and start googling
4 - I don't find a solution for the coding problem I had, but instead I find out that someone already made the brilliant software I was trying to make, with more use cases covered, better design and stuff.
5 - I remember the uncountable times this had happened before
6 - *goddammit*
7 - Think about making a tattoo that says "google it before coding it"3 -
When I'm stuck at something and can't think of a way to solve it, I just keep running the unit tests and stare at the screen. And then youtube. And then I feel terrible.1