Details
-
SkillsTS (server and client side), SCSS, Less, HTML, a little Java, Maven, Gradle, Ant, Git, CI/CD, making good coffee and breaking servers.
Joined devRant on 7/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
-
Sitting at my desk, happy tapping away at code, and one of our newer team members asks a general question (4 of us in the office)....
"Uh.. how do I undo a git revert?"
🤔🤦
FML... Very much looking forward to leaving this place next year.5 -
So.. currently working on updating some hybrid mobile apps. Major updates, so requires drastic measures..
anyway, over in my Nx workspace now, I generate a new Angular app, add Capacitor and generate a new Android project.
Then when I open my new project in Android Studio, it recommends updating AGP from 8.0.0 to 8.1.1.
Waiting for the new packages to download, AS shows an orange warning message popup that reads "sync is taking an unusually long time", or something like that.
Software development from a third world country sucks donkey dick. Because I've "only" got a 20Mbps connection. 🤔5 -
Please excuse the "photo of my monitor" picture, but it really was the easiest way to do this...
So, I'm finally getting around to that to-do list item of wrapping my head around Nrwl Nx workspaces, and I stumbled onto this little gem: https://itnext.io/easy-typescript-m...
I didn't take long for the "what the fuck" moments to start cropping up, and then I decided to check what comments might have been left on Daily.dev regarding this one (see attachment).
THAT little nugget there is what led me to the ultimate "what the actually fuck" moment, which is only truly appropriate for DevRant..
Create an Nx workspaces, only to initialise a project with `npm` directly, using a path under a new `libs` folder, next to the `packages` folder, only to build the library, and literally install it into the Nx workspace's `node_modules` folder, b order to import it into the app that exist in the same workspace.
So, seriously.. like.. WHAT THE ACTUAL FUCK? What is this guy smoking?? I need to know so I can stay the fuck away from it! Wow. My brain hurts now.7 -
Random screen snip from the end of a video from Simon Whistler's "Side projects" channel.
Take that, "human for scale"... Lol.
Still... OMFG that's stupendously big.1 -
FUCKING BIC CLICK PENS!
The single most evil invention of all time. Every single click that I hear tears away another little piece of my sanity.. with repetitive clicking increasing the rate of decay exponentially...6 -
Almost two decades of working with JavaScript, and I just got caught out by the most stupid of things..
Did you know that `["ping"] == "ping"` is `true`, whereas `["ping"] === "ping"` is `false`...? 🤔 I did, once upon a time, long ago. Apparently I forgot about it though.
Seriously, fuck you JS.. with all of the internet's 10 foot rusty barge poles.11 -
So.. I'm giving one of my employers webapps a visual refresher, new company branding and whatnot.
And then I stumbled onto a check that is not returning what anybody expects, and, well , I'm busy fixing things, yeah..? so I go digging.. 🤔
```
function isDefined(obj) {
return !(typeof obj === "undefined") || obj !== null;
}
```
Here's the fun part, these particular lines have been in the code base since before 2017, which is when my Git history starts, because that's when we migrated projects from Visual SourceSafe 6 over to Git. Yes, you read that right. They were still using VSS in 2017.
I've begged and pleaded with my last 3 bosses to let us thrown this piece of shit out our second story window and rewrite it properly. But no, we don't have time to rewrite, so we must fix what we have instead.
I lost 4 hours of my life earlier today, tracking down another error that has been silently swallowed by a handler with its "console.log" call commented out, only to find that it's always been like that, and it's an "expected error". 🤦
Please, just fucking kill me now... I just, I can't deal with this shit anymore.5 -
I get the feeling there are many people here who would very much enjoy this one: https://youtu.be/1nLHIM2IPRY
Spoiler alert: the Saturn 5 rocket engines used the exhaust air from a 50000-odd HP jet turbine engine, to help cool the main rocket nozzle extension... and there are 5 of them.
😶3 -
I'm currently filled with equal parts of "curiosity" and "dread"..
About to go into a meeting arranged by Marketing to discuss the revamp of an old webapp. The terms "fresh new look" and "current day best practices" have been thrown around...
It's a Java 7 webapp deployed to Tomcat 7, with hard coded filesystem paths in JSP files.
Hmm.. maybe a little more "dread" than "curiosity", actually. 🤔5 -
Right.. time to update branding for a work project, which I don't normally touch.
So I open Fork, open the local copy, pull from remote, and...... Well, see the screen snip.
🤔😶😭
It must be so nice to work with people who ACTUALLY GIVE A FUCK about their codebases. I, unfortunately, can only imagine that..17 -
I love it when Friday is actually a good day..
Going through some Java code now (which is not normally fun for me), I stumbled onto a brilliant little variable name: `busyComming`.
😅😂🤣1 -
What a fucking year it's been.. and it's only the 4th.
Let's see, I've just split up with my girlfriend of more than 4 years (and she's still living with me), my car got whacked by golf ball sized hail stones (and it's not insured), my back verandah at home turns into a swimming pool with heavy rain (and SA is having record high rainfall this season), and I haven't slept since Sunday night.
FML. 🤦 I need a holiday after the holidays..7 -
I just LMFAO(ed..?) at myself so hard.....
Messing around with all the option in the Android Emulator's "Extended Controls" window, and I was playing with the battery level slider.. got a little carried away, and suddenly my emulator just shut down.. by itself!
🤔
It took me way longer than it should've to realise what happened. But yeah, that's what Android does when your fucking battery reports 0%.
🤣🤣🤣🤦
I think I must stop working now, this day is done with me.2 -
So.. the software team I work with still maintain Java 6 apps.. meanwhile management keep asking when we're "moving to the cloud".
DevRant posts are too small for me to describe our technical debt.... 🤦10 -
Well, shit... I may have just shot myself in the foot. 🤔
5 years worth of asking my boss to get a Mac development machine for me, thereby allowing me to better create and maintain the hybrid mobile apps I've been building for him for years...
I finally got a definitive "yes, we'll do that" about 2 or 3 weeks back.
Now, running into stupid startup crashes on the aging iPad (6th gen) that I have for testing, I asked if I can just get a "Mac in cloud" subscription IN THE MEANTIME, you know, to help me meet deadlines...
His response: "Ah, yes.. that's a nice elegant solution, now you don't need a Mac! Well done."
F.. M.. L..8 -
This may be the most beautifully succinct service doc intro sentence I've ever written...
working on a shell library with the business logic for an Angular "white label" app workspace, and `ShellService` just got introduced as:
"this service serves to serve all other services.."
me thinks today is a good day for coding. 😎6 -
My current dev dream is to move away from JS based hybrid mobile development...
Guess I need to get back to learning Dart and Flutter hey? (: Because, well, fuck Cordova.. fuck it with `rusty-barge-pole.js`.2 -
so... while this may not be *my* code, I do have to claim a fair share of the responsibility for allowing it to exist. o.o
I'm busy fixing it now though.
> note: proprietary names have been blurred, naturally.3 -
I guess that's one is both a rant and a !rant. O.o
..that moment when your "get up and study" alarm goes off at 4am, and you're already studying. -
Take project notes on an exam pad.
Unfortunately, this is something I see virtually every day at work... Even while they're at their computer with our online project tracker open in front of them.1 -
OMFG. Here's a self-rant for you all...
So, working on a JS library to build widgets, I five across some weird behaviour where I expect `$.ajax.apply()` to pass something to the chained `.done()` method, but it comes out differently.
Fuck. Right, time to visit StackOverflow and glean some knowledge.
I post a question, complete with examples and descriptions and a little midget unicorn in the corner for world peace.
Come back a bit later to see what's happened, and nobody understands my damn question!
So I proceed to debate a few points with some other devs, going back and forth for a while, but still nobody knows what I'm asking.
Fuck. Time for a JSFiddle...
Copy code from the jQuery docs and start modifying it to show what I was working with... Now suddenly is all working as the docs say.
O.o
So I go look back at my own code again to try work out what's actually going on.
Turns out I completely missed MY OWN CODE.
Fuck me.1 -
So I'm working on a snippet of JS to generate widgets for a custom data dashboard at the moment, in a project where I've been paired with a junior "developer" (he's more of a junior script monkey though), which is just plain painful...
Recently he wrote up a long message bitching about how my library API keeps changing, making it impossible for him to get any of his work done.. This particular message even made references to "writing his own widget library" and "stabbing me in the eye".
It's currently at version 0.1.0-ALPHA, just by the way. Major version 0 mother fucker.
Anyways, one of my colleagues stepped in the other day to try help him with the front-end stuff, which finally helped me get the feedback I was asking for. At which point we found out he's still currently working off a build I gave him 4 fucking weeks back.
Honestly though, I'd both love and hate to see him try make a library to do this: pull data from a non-standards company data API, parse said data from unnamed number arrays nested up to 4 levels deep, then morph that data into one of four different charts or one of five made up of custom markup.
All he has to do is create a UI to configure and present my widgets, but he can't even figure out how to integrate dependency management into his front-end project.
O.o
OMG. Can I stab him?? Pretty please?1 -
Fuck you, insomnia.. You're a bastard.
/(o.o)\
That's it, I don't have enough energy for more. Pretty sure this "sleep every second night" pattern is involved somehow though...6 -
So I get to work this morning and see this interesting little contraption on my work colleague's desk.
Safety first: make sure there's a warning sign... Lol.
No idea what he's doing with it though, guess I'll find out later.6 -
So, awesome clip to use for testing... Problem is, I found this in the codebase for a production app.
*Facepalm*1 -
You know there's something seriously wrong with a "framework" when it takes 20 minutes to figure out how to SHIFT A BUTTON INSIDE A HEADER.
Fuck you jQuery Mobile. I wish you had never been born.
:|3