About'99 baby King of microoptimizations. Full stack developer before knowing what full stack developer meant. Coded REST APIs before knowing what REST APIs were. My style has been described as "Functional and symmetrical.".
Joined devRant on 1/2/2020
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
My boss thinks database = table
I hope it doesn't bring problems in the long run.
Any "web dev for CEOs" material you recommend?5
That day we had the weekly meeting with my boss to tell him what was new since last week.
We were 2 developers, I did the backend and the other guy did the frontend.
I tell him we had nothing new on the frontend. Literally not even one more line of code.
He tells me he gave the other guy some money the day before to encourage him to engage a bit more on the project.
The meeting is about to end when we receive a message in the development group, the guy said he wasn't going to continue in the project.
Not like that, dude.5
Let's start a holy war:
Tab vs Enter vs both for autocomplete / suggestions.
Please justify your choice.13
Lie in the interview saying he was a frontend web developer and try to hide the fact that they didn't know JS. Wtf.6
> npm start
* proceeds to leave the workstation for coffee / tea / slack off
* comes back 15' later
* leaves again
Any heuristics on using new JS/CSS features?
I thought of waiting 2 years, but I just saw an article that recommended waiting 6 months.
Another factor could be covered percentage, based on caniuse. 98%+ is the coverage of things we can all agree we can use, so is 95%+ enough for new features? 90%+ (so 1 in 10 people wouldn't get the expected experience)?5
My CSS-only hamburger menu.
It's cool and all, just a few lines of code, but some days ago I tried to do a 2 sides hamburger menu.
Based on that I just copied it and changed every left for right. Worked. Like. A. Charm. I had to apply some z-index stuff of course but nothing out of ordinary.
I'm so cool. I'll upload it to GitHub ASAP, but it's not a priority rn.
This is the link that has brought me the most joy acceleration in my life.
Go see what it does yourself.
I love adminer so much.
Screw MySQL Workbench.
(this rant was saved since that day images stopped working, good job guys)4
I ran out of milk halfway a chocolate milk.
With no options left, I skeptically decided to add some water.
I had half a cup of milk, added 1/4 of water. Y'know, enough to look filled, not enough to ruin it in case it goes wrong.
No, freaking, difference. Loved it.
I added some more water to see how much it changes, and it's just slightly less thick and 70% milk flavour. Sure it's a change but now I know the limit.
I wish there were some stats on this site.
What are the most used tags?
How many tags have only been used once?
How many tags contain emojis?
What's the average username length?
What's the average rants per day count?
And so on.1
It's official, the "front end dev" doesn't know how to code.
And it's not a "Well I don't know JS because I use React." scenario, no. He has almost no idea of coding.
What was he thinking trying to build the front end of a very complex app with just HTML, CSS and stupid copied and pasted snippets?5
My phone was stolen so that's why I wasn't getting here to rant about this, but today I had to make a back up and remembered.
adminer's export function doesn't export the tables in the correct order for import. Doesn't take foreign keys into account.
Dude, that's the whole point of a relational database, relations between tables; if you don't take that into account then what's the point?
Is this the same for the rest of database managers or is it just adminer? Please tell me this isn't normal.4
Follow up rant: https://devrant.com/rants/4943574/...
(Funny link btw.)
I tell him "Fine, upload it to the GitLab repo I created a week ago and you never used it." on Friday.
Today, the day *before the presentation*: "Here, have the GitHub repo, ask for permission and you're all set up.".
He's getting the boot.3
I'm pretty sure I'm not the only one that will say gaming.
Because of gaming I've been in contact with computers a lot and learned a bunch of things that would become useful as the base for learning coding.
Things as simple as using and abusing the file system, file locking and files principles, Googling stuff, etc.4
So this guy is supposed to do the frontend.
I do the backend.
I offer an endpoint.
He does his HTML+CSS magic.
Me: Cool but data is hardcoded. Could you get the data from the endpoint I sent you?
Him: "I'd prefer you do that, I can make a git repo so you download the front."
... So you don't do frontend, you just write pretty layouts. And I have to actually write the frontend logic? Go f yourself.15
This guy looks very promising and has experience, let's let him make a test site...
WHAT DO YOU MEAN 4 JQUERY SCRIPTS IN THE SAME PAGE?
btw the versions are, in order of appearance:
And the last one within the body: 3.6.0
Such a professional.8
I really fucked up thinking I had all the time in the world.
I also wrote very shitty code but I know that would've been hard to avoid, so it's cool.
Go to sleep, you don't need to be half an hour looking for the cause of the bug that ended up being a typo.3
Ok apparently I forgot rants can only be edited within the first 5 minutes, I thought it was 30, and you can't rant 2 times in 2 hours so I'll have to wait before posting this.
So, I'm doing a Genetic Algorithms class, something I liked since I was 15 yo and didn't know shit about coding, but I loved the carykh videos about it. (here is part 1: https://youtu.be/GOFws_hhZs8 )
The yearly class consisted of 3 little projects to be able to do the final exam and an investigation project to pass the subject without a final exam.
We had to make teams, and I got together with 5 more people.
I have a lot to say about these 5 people, but the only thing I'll say is that I was the most experienced programmer among the 6 of us, if they had any experience at all. Mind this is a third cycle class.
We were allowed to use any technology, as long as we wrote the important algorithms by hand, of course.
The development of the first project was such a mess, that one of the members left the subject.
While developing the second one, we were given the topic for the investigation project; fractals.
It took a lot for us to find an application of fractals where we could use genetic algorithms. Once we found it, fractal antennas, we had to learn about antennas, so we interviewed professionals, and such. We ended up learning to evaluate antennas.
We also found a site that used some parameters to generate fractals, we had the parameterization.
We just had to code it. It was July and we just had to code it by October.
We were 5 people, and "we" were so busy writing the little projects, we fucking couldn't finish the investigation project.
We just had to write the proper algorithms and GUI specifics, without even having to write boilerplate (we used the first project as a template), and they still took so much that we didn't have time for the important project.
That sucked, because I had been coding and investigating in many weekends, I spent countless hours on them, I had to pause development on other projects for these ones; and after all that we have to do the (very shitty) final exam.
Since May, the average people together "working" on the different projects was 2.6. And 100% of the time, I was one of them.
We tried to speed up things in the last months but even with the deadline on us and the project not even started, there was no time we all got to work together.
Dude projects don't just get made, someone has to develop them.
It's so sad we had the project ready to be made and 5 people couldn't finish it. There was so little to do to pass and yet these people couldn't.
I guess it's my bad too. I wish I could rush the project in a couple of weeks, but unfortunately the guy with a job and 8 other subjects can't.
You can find the project in my GitHub. I'll do a requiem of what it was to be one of these days, after I catch up with all I left aside for this subject...4
MY GENETIC ALGORITHMS INVESTIGATION PROJECT. I WANTED TO RANT ABOUT THAT SO THIS WEEKLY RANT IS PERFECT. I can't write the whole rant rn, stay tuned.5
People in 7-8 years will move on to other languages, look back on their Python projects and think "What was I thinking?? Why would anyone do that??".
I'm calling it.26
I'm pretty sure they had the new version of the file available and there was no need to translate an old one to monkey language, so I had to manually copy everything.
Why. This just escapes me.
I want to finish it so badly. I have everything I just need time.
Every time I see the code I wanna dance. I want to work on that so much but I haven't in a long time, I want to refactor everything (I've changed a lot in that time), it will be so delicious.
If you are curious about them you can see them in my github account.
And of course the rest but with these I'd be so satisfied.
Hey, I want to name a library of mine something like "San'stools" So it's like "the tools from San" but it can also be "San's stools".
I looked up if stools meant what I thought it meant, little seat stuff, but apparently it's also dump...
Would it be too disgusting? Should I use another name?
How often is the word stool used to refer to... you know...?6