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
Search - "refresher"
-
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 -
So I got a telephone interview for a job that a recruiter found for me. Call went well, comes to the development test. Small application in ruby on rails, haven't used it in about 2-3 years so a tad rusty. Completed the test under two days (was given until Friday) not too bad if I say so myself. It's for a junior position anyway so I'll assume they wouldn't mind giving me a refresher to help jog my memory.
-
So I have a job interview on Monday for a marketing firm that works on a LAMP stack. Not a problem, since that's what I learned on and I love linux, but I haven't seriously touched PHP for years. So now I'm going back to do a refresher on OOP PHP and I'm like, "what the hell is a variable variable?"
Wish me luck..4 -
Spent over an hour on a shell script that wasn't working properly. I use it, works perfectly. Every time cron executes, does nothing, not even log an error.
It took me that long to realize that the user I was getting the cron to run on didn't have permission to write to my log file... You would think I'd realize this when my error scripts didn't log...
(on that note, the Bandit games at OverTheWire have been awesome refresher on getting back into the swing of linux - highly recommend) -
New customer request comes in early December. I bend over backwards to get the requested job completed in a week before everyone leaves for vacation, only to be told that we re delaying testing because appropriate QA isn't 'around'
The next six months is a set of meetings to plan the meetings where we test, which kept being rescheduled, resources being switched around on the customer end, and "refresher" meetings since its been weeks since we talked last.
Today I was told that due to a completely separate effort, this development piece would no longer be needed and the project is being canceled. -
So I have come to the conclusion that I need to brush up on my C# stuff. Apparently they implement a bunch of data structures that I am used to coding myself are implemented in C# and I think I lost out on a job because of it. Any suggestions on tutorials and such?1
-
Do you have that one person you work with that you just can't stand for whatever reason?
I've been having a tough time with this one project at work and been falling behind because we hired a junior dev and 2 inexperienced freelancers. So to help me out my boss let me use his office for the day to avoid all of the noise.
I had been under the impression lately that I didn't like my job due to the constant context switching and being isolated for the day was a really nice refresher.
Then the project manager starts harassing me at 430pm saying the client is now expecting something deployed in the morning with no warning or requirements. Way to set client expectations.
That one moment made me realize that the context switching wasn't what I disliked about my work. It's that one person. They're so bad at what they do that it makes my job so much harder. -
The Spring framework is the most convoluted construct. You have ExceptionControllers that implement Abstractions which have other implementations themselves. You have ViewResolvers that have several different types, each of which has their own unique way of working. You have Configurers, Scanners.. anyway.
Even if it is excellent design, it's tiring to work with and understand, at least for my junior self. I used to kick ass on this stuff back at uni, but that was 5 years ago and I don't remember exactly how things work again, I'd need a refresher.7 -
I started looking into building my Android app but wanted to see if I could get a refresher on a few things. The starter template for the Nav Layout isn't exactly functional.
So first question is anyone know any resources like an actually functioning demo project.
Also I need DB access but want to open any db file given the *.db path and the DAO should be persistent, share across all fragments/activities. What would be the best design, way of doing that in Android though.
I don't think you can pass the object between activities but what about fragments. I'm thinking the main app opens the DB and then can pass a DAO Interface to all the fragments to use?2