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
I remember someone ranted about something and there was a comment about ad blockers that was pretty good, in that it let you control what ads to watch so you could _bancar_ your favourite creators but don't be bombarded with shiet...
I can't find it. :(( Does anyone have any recommendation? Maybe one of them will be the one that comment talked about.
It was crossbrowser too, and maybe for mobile?1
Any program or app that let's you see how powerful a computer you need based on the programs you want to run?8
Software idea: A text software that lets you fold based on tab indentation, and define arbitrary text as headers tags and also define their format.
Example of the text describing the configurations that would be used (format wouldn't be inline oc but just in case any of you complains):
# Header, blue, slightly bigger text, bold
! red line of text, indicating to-do or current state
Now the rant: I can't find any software that offers this. :/ I have to define a whole language spec to do this in the editors I've checked.
If you happen to think about some editor, tell me.
Of course, I could code it myself, but I'm married to University for now.11
Throwback to the time I got called out by my boss in a meeting in front of the client for using too specific vocabulary like CRUD with them, immediately asked the client if they were familiar with it, they were, and boss didn't comment about it further. He ended up being the odd one out hehe jewel in my memories.1
I want a little study that correlates as much as possible programming languages with alcoholic beverages their coders consume mainly, and how alcoholic are they too on average.3
Use case for AI I haven't seen and would like to: New tech teacher / guide.
Example: I am using some stuff that uses twig internally (a PHP template engine), so I got curious and checked it out.
Looks cool and all, but if I wanted to do some simple PoC I thought it would take a lot of reading, searching and trying.
How cool would it be to have an AI that I could ask about doing something and it would teach me the necessary twig concepts I need, and as I keep exploring it remembers what it told me and builds on that to introduce the new concepts. It could check my code to see if I got it too.
Wouldn't it be nice? But now I put it into words I don't know exactly if it's possible. 👀 Wdyt?9
CalDAV server and client use the same DB table. Server expects a column to be called uri, client expects column to be called url.
Last week I spent a couple of days researching how to sync a CalDAV server with any Android calendar.
I downloaded several apps, and tried to connect in many ways (without HTTPS, calendar link, user link, any combination of them, with and without www, etc.)
Today I chose an option I had been trying to avoid: downloading an app that was recommended in some places but that's no longer on Google Play Store.
Got the APK from some website that didn't look too suspicious...
website.com, username, password; and it WORKED. (This also confirmed my server was well configured)
IN A MATTER OF SECONDS. Within the next minutes I could test sending events to and fro.
WHAT- WHY IS THERE NO ALTERNATIVE FOR SOMETHING SO TRIVIAL. This future is so dumb.
One would have thought that there was something better than a dead-simple app made for Android 4.4
I really can't believe it.3
Today, in "Typos that wasted hours of debugging"...
PHP is such a bitch when it comes to unset variables, why didn't it trigger a warning or something when I tried to $typo[$index]?? I may be missing something and my head starts to ache.
Fixed tho', lesson learned.4
Finishing this app we are developing and fixing all the technical debt from my first years in the company.
Wish me luck. 🤞1
They've been in a meeting with some clients the whole morning.
12PM, time for me to go. Say Happy New Year and am on my way home.
12:20 Got home, took shirt off, got something to eat from the fridge.
12:22 Bit the first slice of pizza. Phone rings.
- "Yo' we wanted to show them app 2 but I can't log in."
+ "I left the laptop (and the whole dev environment) there, and there's no PC on in my house (and no dev environment whatsoever)."
- "Well check with your phone. [SIC] Tell me when you fix it."
12:32 I had turned my personal computer on; checked the problem was what I imagined (unpkg lib with no version defined on the link had a new major/non-retrocompatible version); grabbed an online FTP tool; remembered IP, user & password; edited the single line that caused the problem; and checked it worked. Calling back.
+ "It's fixed."
12:38 CEO sent me an image of the app not working, due to a known bug.
+ "That happens if you try to access app 1 having accessed app 2 and not logging off." (app 2 isn't being used / sold, as it's still in development) "Try logging off and logging in again from app 1."
- * radio silence *
+ * guess they could get in *
They had the whole freaking morning. 😠
I'm the hero CMMi's level one warns you about. But at what cost.
Happy early New Year's Eve everyone.2
Artists complaining about the use of AI pictures is totally fine apparently, and politically correct.
Imagine if programmers complained about low-code/no-code tools. 💀9
I was going to say Adminer, but apparently VirtualBox too. I don't know which one I use more.
Also, my own library for DOM manipulation.
The production file edited in March was way more advanced than the development file edited in July... what happened here?
I want to implement Git on this one so bad. :( I wish I found the way and the time already (it's a very complicated situation).10
Out of NOwhere, VSCode moves the cursor instead of scrolling horizontally when I use the two-fingers sideways gesture on the touchpad.
Very angry, very sad, I hope it fixes itself just as spontaneously as it happened.5
Ok finally, I can tell now.
There's a college project I'm in with 2 more people that uses Python and AnyLogic (separately).
We also need to write some LaTeX, so as I was already using PyCharm for the Pyshit, I used it for the LaTeX and for Git.
I used it for Git too because I didn't know how it used Git and was worried that if I used the console it didn't recognize something or glitched out or something. And what the hell, it's a mature IDE, what could be so hard or possibly go wrong?
I had to re download the repo a couple of times because between pushes, pulls, merges and commits something happened and the repo ended in a weird state.
These are all the things I do:
Add, commit, create branches, merge, push, pull and delete branches.
So, I hadn't opened in some time. The last time I tried to bring something from another branch, and stayed up late to finish something. I was waiting for my classmates to join the call when I thought something like "Hey, I should commit what I did until now, it worked great.". When I examined the IDE I found out I was in the middle of a rebase or something. I start clicking buttons to at least try to commit. I press "Skip Commit". I lose everything.
What the fuck‽ As you can see in the comprehensive list above, I never do something similar to a rebase. Apparently when I tried to merge a couple of branches, the stupid IDE thought I tried to do a rebase and never asked me to finish it. Why do something I have never asked? Plus, why haven't you prompted me to finish the operation? That's so stupid. I'm never trusting IDEs again.
I was so lit for losing so many hours of work I did a couple of weeks before, I would have to think it and do it all over again because of something I never asked.
We spent an hour looking for a way to recover the lost code.
Why an hour, you ask, if you can use the Local History for that in PyCharm?
Because none of us had used it before and the articles we found said that you had to open it from the toolbar. From the toolbar it was greyed out.
Then I found the option in the contextual menu of the files. Recovered the LaTeX files but on the AnyLogic files, it was greyed out.
I had to open the Local History of the folder containing the AnyLogic file.
And that was that.
I almost faint.
Fuck Python, fuck PyCharm.8
OMG I have a proper rant from last night.
It involves an unwanted rebase and lost uncommitted code from weeks.
Tune up after my shift.4
Pink cheese green goes.
Do you listen to music that's not in English? Do you listen to music sung in Spanish? Do you know El Cuarteto de Nos? I'm not saying you should but... it's great.
The main singer in a systems engineer, and some lyrics have another meaning if you think about that. Look at Anónimo for an example.
My boss thinks database = table
I hope it doesn't bring problems in the long run.
Any "web dev for CEOs" material you recommend?6
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.5
> 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.