AboutI write code, sometimes I test it but usually I don't.
Joined devRant on 12/21/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
User: Your web app hasn't been working all day.
Me: Uh ok...this is the first I heard of it. Whats the problem? Are you getting an error message with any details? Can you send a screenshot so I can look into it?
User: Yeah it was an error message.
So a few months ago I started dating. I love my girlfriend with all my heart, but something has been bothering me a bit. I can no longer easily do my day-to-day work. Whereas previously I would be productive at any time I want, now it's more of a "I can work whenever she wants to work". It's hard to balance and even harder to actually get to it.
Previously I would stay with her during the day, and then wake up in the night to do all the household chores, learn her language and if I can get to it, even improve some of my shitty code. Needless to say, she didn't like that I didn't sleep with her and it's not exactly healthy either - I barely slept at all.
How do you balance work/relationship without throwing sleep time in the mix? Both work and girlfriend are at home for me.11
I just experienced near death because of high blood. Super strong blood pressure. Avoid coffee, playing games, and sleeping very late at night. This is my advice as a survivor developer. I want to share this to help you. For fast deadlines or hard user stories, always negotiate reasonably with your SM or PM or PO or client.
Thank God he have me a 2nd chance at life. Take care of your health. Don't worry about deadlines. Health is more important. Always pray. I deleted all of my games especially my beloved call of duty mobile and clash of clans. I'll forget all games that I know because those contributed to my high blood pressure.
When you have a headache or head pressure or eye twitching . Stop what you are currently doing and relax, measure your blood pressure and contact your family asap. Take it seriously. My wife saved me.12
git rebase > git merge
I'm honestly tired of colleagues completely fucking up the git history along with creating conflicts for no reason at all.
How do you even manage to "recommit" changes when merging?
I can't even squash properly because there are 5 merge commits on the feature branch. Fuck off8
Yknow, I want to make an android app that I have in my mind for about half a year now and I already tried twice, both with Kotlin and with Java but everytime I try it's just pain and suffering and frustration...
No it's not because of the language, I like Java and I like Kotlin too and I'd say I'm at least decent at Kotlin and really good in Java...
No no.. the issue is the fucking Android SDK and the mix-and-match documentation available online!!!
Every fucking time I want to implement some sort of UI element, user action or a background service and I start googling how to do it It comes with with at least 3 different stack overflow solutions, all of them saying "that way of doing it is deprecated, instead you should X" and looking up the OFFICIAL FUCKING DOCS it will just make me roll up in the corner and cry because of how fucking inconsistent it is and the retarded domain language it uses... fucking transactions for fucking fragments inside fucking activities... because I guess the word "screen"/"view"/"template" or something similar natural just was too mainstream for the all knowing alphabet soup that google is...
And then you start looking up what the fucking difference even is and how to code it up only to find out there's at least 12 other opinions on how fragments should be used and what should be an activity and what should be a damn fragment...
But that's not all, that's just the base... I get a headache even thinking about how the fucking inflating of templates and the entire R. notation works. You want to open a fucking tiny corner menu with the settings options? WELL THEN YOU FUCKING BETTER REMEMBER TO IMPLEMENT IT THROUGH SOME SORT OF EVENT AND INFLATE THE MENU YOURSELF EVEN THOUGH ITS THE SAME FUCKING THING WITH STATIC STRINGS...
AND WHY THE FUCK DO I NEED LIKE 4 NEW FILES TO IMPLEMENT A FUCKING LISTVIEW...
also talking about ListViews... what was wrong with "ListView"... Why do we need a "RecyclerView"... oh right... because the fucks fucked the fuck up and all the legacy components were designed by a monkey and are next to useless! SO WE NEEDED A NEW NAME FOR THE FIXED VERSION, CANT NAME IT LISTVIEW AGAIN... FUCK YOU...
honestly... if I got a dolar for every "what the fuck android" I said during trying to understand that mess I'd be richer by a few hundred...
Look at this piece of shit:
[code in attached image, we could really use a proper Markdown support at least for rants]
THAT'S NOT EVEN THE ENTIRE THING, THAT'S JUST THE *REALLY* UGLY PART...
The fucking nesting... What is it with JS and all the fucking nesting everytime?! It looks like shit.... It reads like shit as well...
WHY, in the name OF FUCK, IS THERE MORE THAN 5 ANDROID FRAMEWORKS and ALL of them... used this FUCKING NOVEL idea of programming using A FUCKING BRACKET WALL
It always looks like:
Fuck the marionette that designed the Android SDK
And deeply future-fuck everyone that makes a new framework following any of these standards, stucks a .js at the end of the name and releases his hairball.js of an invention into the fucking world....
It's a mess... fuck everything android related...15
Is it normal for productivity to wildly fluctuate from one week, or even one day, to the next? There are days where I hardly get a couple of hours of real work in and others where it's eight hours straight, and I find it hard to "justify" to myself why the former happens if I'm capable of the latter.7
developer: hey, want to hear a joke?
dev: what did the developer say to their manager after doing flaming shots in the server room and accidentally setting fire to all their systems?
manager: i don't know, what did they say?
dev: "hey, want to hear a joke?"3
Electron apps are now “normal” and even considered “better” than native ones.
How the fuck did we get to this dystopian timeline of a situation.10
I love donating anonymously. But sometimes, people just make it so hard to stay anonymous to donate! -_- I mean, if a thousand people are donating for you, its not like, you gonna go to each and everyone's house and thank them. Its not like after 1 year, you're gonna be able to remember at least half of their names. So why bother? If someone wanted to be public about their donation, they would do that even if you don't call him and ask, "Who are you? Why you are helping me?"
I'm helping you because I can and I want to. Helping others is something that makes me happy. But I wanna be anonymous!
I want to be the devilest person on the outside but I also wanna be the softest person on the inside. So, let me be it!2
Finally got an offer from a multinational org i could previously only dream of. Ugh i really deserve it plus i didn’t fuck myself over by not negotiating this time. Got an extra 10k on stock options which was wild. Bye bye leetcode, hello Netflix and weed for the next month until i resume in August.
Such a relief knowing my family will not starve and die (joke but i am my family’s support so i was a quite worried last month when the interviews just seemed endless).7
I think I have ranted about this before but holy fuck why are non-technical people obsessed underscores??
NO, you DON'T need to replace all the spaces in the name of your Excel file just because you're sending it to a programmer.5
Who wants to play a game of what the fuck not to do with your Terms and Conditions?
Spent 20h working non stop on a project we were presenting to customer on the next day. Had a shower at 6 am and drove to the client with a colleague. We were presenting the features one by one. As he was presenting I was finishing the missing features and we switched every couple of minutes. Never again working for a company that sets deadlines on the first meeting with customer2
Lessions I learned so far from my first big node/npm project with tons of users:
1) If you didn't build something for a while, expect 3 hours of resolving version conflicts for every two weeks since the last build.
2) Even if the tests pass, run the containers on your own machine and make sure that the app doesn't randomly crash before deploying
3) Even if the app seemed to work on your own machine, run the tests again in an environment mimicking prod at most 15 minutes before replacing the running containers.
4) Even if all else indicates that the app will work, only ever deploy if you expect to be available within the 4 hours following a deployment.
5) Don't use shrinkwrap for anything other than locking every version down completely. A partial shrinkwrap will produce bugs that are dependent on the exact hour you built the app _and_ the shrinkwrap file, and therefore no one will ever have seen them other than you.
6) Avoid gyp, and generally try not to interface too much with anything that doesn't run on node. If parts of your solution use very different toolchains, your problems will be approximately proportional to the amount of code. And you'd be surprised just how much code you're running. (otherwise it's more logarithmic because the more code the less likely a new assumption is unique)
7) Do not update webpack or its plugins or anything they might call unless you absolutely need to
8) Containers are cool but the alpine ones are pretty much useless if you have even just one gyp module.
9) There's always another cache. To save yourself a lot of pain, include the build time in every file or its name that the browser can download, and compare these to a fresh build while debugging to assert that the bug is still present in the code you're reading
+1) Although it may look like it, SQLite is far from a simple solution because the code and the bindings aren't maintained. In fact, it'll probably be more time consuming than using a proper database.4
I work for a small company with about 10 employees working full-time in the office. We all report directly to the CEO, Phil. When the pandemic hit, Phil went into full panic mode and had us all move our desks 12+ feet apart, wash our hands every 20 minutes, sterilize everything in between uses, etc. Nothing super weird, and better than having no reaction at all, but it was a hypervigilant process that made me expect him to be very accommodating when our state went on lockdown.
Boy, was I wrong. Our industry is considered essential so we’re still open, but Phil is being odd when it comes to working from home. For background, about 95% of our work can be done remotely. The other 5% would require about 15 minutes in the office once a week. I was the first one to pose the idea of working from home and Phil nervously agreed, but only let do it three days a week. My coworkers were given similar instructions but were “encouraged to come in every day, if possible.” A few of them do.
Since then, Phil has gotten pretty weird about the situation. He refers to people who are working from home as being “off work” (which is NOT the case, we are all working and available while at home, which he knows because he calls us for work-related things during work hours!). Today, Phil asked me if my coworker Travis was in his office, and I said Travis was working from home, and Phil replied in a sour tone, “So he’s not working then, great.” He has made similar comments about my other coworkers. When I’m working from home, he’ll call me and ask in a sarcastic tone, “What are you even working on today?” Or he’ll give me an assignment and end with, “Can you actually do work on this today? I need you working.” One time, he called while I was in the bathroom and when I called him back less than five minutes later, I was told that I “need to be available and not screwing around.”
The weirdest thing is that none of us has had productivity problems! My job is such that I can tell when anyone is slacking even a little and I haven’t noticed any issues. Personally, I’ve actually been MORE productive! And I’ve never been accused of “screwing around” while at the office before, so this attitude has baffled me.
He is so convinced that we aren’t working that he cut our work-from-home time down two days a couple weeks ago, and now it’s being cut down to one day as of next week – when COVID cases are higher in our city than ever!
My guess is that because Phil isn’t physically seeing us work, he assumes we aren’t working. CCing him on stuff to leave “proof” doesn’t work because he doesn’t read his email. He is also naturally a nightmare of a micromanager (and an across-the-office yeller) so not being as “in control” is probably freaking him out. But what is the best way to handle this?11
In the before times of 2019, one of the guys in the office had this habit of sucking his teeth after lunch.
I can hardly describe it. Imagine making kissy sounds but with your tongue and teeth. Did this almost every day from 1-2.
Probably happened every 1-2 minutes. So just long enough to get back into the swing and boom *thick*.
I just invested in some really nice headphones eventually.2
WTF chrome/google?! Fuck you & your new designs & features!!
Anyone else got forced new grouping for tabs after the update?! Hey, you can group tabs in.. I know, I just don't want to!! It's fugly and annoying and counterproductive..
It used to work to change flags to not have that 'feature' but I can no longer force the old layout for tabs even with flags.. :/ It's driving me nuts..28
Starting my work day:
* fire up the build script wrapper script wrapping the Docker compose scripts, which starts I dunno 20 different microservices, frontend build processes, watchers, blah, blah, blah, chews my laptop's battery like a muthafukka, wait for 15 minutes, for maybe a 40% chance that maybe it'll work, or maybe I'll have to fix some random thing that's wrong out of the 20 million things that could possibly go wrong and then restart... and if I'm lucky at the end of all this, I get to work on, I dunno, adding some field to a modal?
Firing up my weekend side project:
* php -S and immediately start working productively every time
Fuck the "modern web"4
Hey everyone! I hope all is going well today & of course happy Friday,
I've had a thought in mind not too long ago and would like to talk about it to get it off my chest, very recently I was talking to someone about programming and how I enjoy playing around with the back-end side of things & playing about with output and data.
Yesterday I found myself trying to create a GUI application and found it quite difficult as I do not really enjoy the aspect of trying to figure out how I want it to look - It honestly felt as if i'd prefer printing things out to the command line and seeing if the output is correct etc... Not sure if that's weird or not? what do you guys think? have you ever been in such a situation or thought? :-)
I'm sorry if my question is a little all over the place.
I hear people say they're non-binary and my first thought is: "Well, you're the source then, aren't you?"3
hey do you know of any good note taking/reminder app that works on all platforms(android ios windows mac and web)? having widgets on homescreen for each of them is my main requirement9