Details
-
AboutI like making things, adding features, fixing things. I've got too many things on the go at once for repetitive, so I'll automate instead.
-
SkillsC++, Python, ML
-
LocationLondon, UK
Joined devRant on 10/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
-
So as mentioned by people earlier, devRant certificate is expired. Well, three things to do:
1. use dr.molodetz.nl for using devRant with a certificate.
2. write down snek.molodetz.nl or molodetz.online for when it really goes down, we're building a new community there. It's not ready yet, but is already in use for a long time. Literally everyone welcome. Just like dR, no moderation, freedom.
3. let's hope on not to loose too many friends!
devRant is a great site, but the wholesome, respectful community, is made by made by people.19 -
In my latest installment of "Swift, WTF?", we look at the "if" conditional in terms of the Swift convention of:
if let x = y { /* ... */ }
so what this does :
1. declares x in the scope of the braced code
2. sets x to y (an ahem, "optional")
3. decides if x is not *nil*, then executes the braced code.
This is very similar in both the visual and the operation to the C code of:
if (int x = y) { /* ... */ }
1. declares x in the scope of the braced code
2. sets x to the value of y
3. if x is not zero, then executes the braced code
which is considered *exceptionally* poor style.
Neither the C nor the Swift construct result in a legitimate boolean value of "true" or "false", although C comes closer than Swift.
In the Swift case the *imaginary* "nil" value has to be interpreted as "false" and thus there must be extra code is for the conditional to check on whatever constitutes the **actual** value of nil in Swift and then set the condition to "false".
(remember boys and girls, "optionals" are not real, they are an imaginary language construct of Swift and have no legitimate counterpart in the CPU operations with memory and registers)
At least in the case of C, if the value of x is zero or NULL (which is 0) then it is technically a "false" which in C is 0. Regardless, it is really poor programming and anyone doing that on my team gets an ear full.
But in Swift this obfuscation of code is common and condoned! Well, why not put more of the program in the condition of the if? In fact, stuff the whole thing in there.. why not? 🙄
This just reenforces my opinion that Swift is not a bird but the stuff that comes out of the underside of the bird. 🐦💩13 -
There was this one time when I was asked to create screenshots of our game for marketing purposes.
The game supported solely the 480i mode.
Once I delivered the screenshots, PM bitched about them being !good, because of the visible interlace.
...the fun times of the Wii era.5 -
fail to comprehend code
dig through debugger
make change expecting only to fix one of two test cases
it fixes both test cases, not just one,
pain ensues, code makes less sense to me3 -
Having no say in your own work and everything being decided AFTER THE MERGE REQUEST is really interesting.
Preparing my 2 week notice.4 -
I’ve typed a question into google and the AI generated response was directly contradicting every web search result on the first page.
So, you can’t even rely on it to pull out the correct info, on top of the fact that it might have hallucinated.
Completely useless and deceptive.
It’s depressing to think about how many people blindly rely on this crap not realizing how bad it is.3 -
Reminder for Europe meet up.
I suggest August 23rd, Amsterdam. Let's meet at centraal and go from there.
... I expect 5 of you to show up, btw, with one being late and one being very very late. 😐18 -
Putting people on too many projects (6 projects) is bad because when it comes to reviewing your work (let's say 30 x 200 lines of code), they will spend 5 minutes on it, 10 tops, give a shitty, lazy review and then they get back to their projects.
This is just pure mismanagement. You're stressing your employees to get everything done, the 'quality' is then spread so thin everything turns to shit.3 -
I hate Outlook! It's a mail client from hell, its diabolity now powered by an intrusive Artificial Idiocy interferring with any mail I try to write, popping up undesired autocomplete suggestions and driving me mad! Microsoft, by forcing your CoPilot-shit on your users, you have degenerated the entire MS office package into a FUCKING USELESS UX!9
-
In my company I now have 3 browsers.
Chrome for company stuff that only works in Chrome.
Safari for company stuff that only works in Edge or Safari.
And Firefox for actual work.
🤡30 -
Found this ancient, forgotten task that was basically a QOL improvement.
Given that the feature would shorten the time of testing from some 10-15 minutes to 2, I left a comment mentioning that it would be immensely helpful.
!too long after, the report started seeing some traffic && the feature got actually implemented.
Checked the implementation as soon as I could.
- Speedup worked well regardless of platform.
- Slowdown /* which was never actually mentioned in the task as it wasn't crucial */ was also implemented, but the mobile phones were omitted, since the implementation would be too complex for the time allowed for the feature implementation. I was perfectly fine w/ it, as this wasn't actually necessary for those.
I left a proper comment, thanking for the feature implementation.
...then the lead tester chimes in, bitching about the lack of implementation of the slowdown on mobiles.
Got the same explanation as I mentioned earlier - too complex for the time allowed. Plus, the feature had other platforms in mind. Having it working on mobiles was just gravy.
Good call, lead, now - ask for another favor.
I'm sure it'll go well, since you can't be satisfied w/ getting what you need. You need that special pampering, too.
/s2 -
Well, dR just disappeared for a bit but glad it's back, but I can see that recent rants are gone (because I was trying to catch up on missing rants)
https://devrant.molodetz.nl/Screens...2 -
I made a video about senior software engineers. And I think y'all are the perfect audience for it.
Here, watch it -> https://youtube.com/watch/...6 -
I did it.
Had my final exam today.
Presentation and technical project defense both A-!
I'm officially now a certified IT specialist for application development.
(Rough translation from German "Fachinformatiker für Anwendungsentwicklung"
Signing the contract tomorrow and genuinely looking forward to the future for once.4 -
why... WHY do I always attract all sorts of weird problems...
I feel like it makes me look incompetent :/
Like this side-gig. I had a client who brought us essentially half a rack (20 blade servers, 7 units of network equipment) and asked us to spin it up. No passwords, no topology - nothing. It was my first such "project".
So I'm setting it all up, using chatgpt and notions of vlan theory from college years ago. I managed to make smth work. Went away for the rest of the day. Hours later I come back -- no longer can connect to ovpn running on a MikroTik router. wtf... connect to office router's vpn, winbox via mac to the router to see wtf. Everything seems alright, except when I try to `/ip route print` it just hangs there. Tried a few times. -- same result. As if routes just got borked while noone was touching it. Found someone who's working with networks wtf, he said he's NEVER seen this happening. A router reboot sorted this out. That's weird problem #1.
I finished reverse-engineering and re-setting up the networking, sketched a topology with patching scheme and asked colleagues to take it all to the DC. They did it, connected it all up. 5 nodes aren't accessible via network. So I connect remotely to the router's openvpn and try to see what's up. Indeed, some servers are reachable, others aren't; even though MT switch (router's downlink) sees those servers plugged in with link up, servers don't see the link. I noticed some ports aren't trunking some VLANs. I started adding those ports when the winbox connection dropped out of the blue. 5-4-3-2-1-reconnecting... it reconnected. Yayy!! But wait, where is everything...? All interfaces -- gone (physical ones too). All IPs -- gone. All routes -- gone. Everything's gone. Half a minute later I'm disconnected again. The switch IP is no longer pingable. Servers plugged into it aren't reachable either. That's weird problem #2.
Then I figured I might try to see whether I can see anything from the router level. Try to ssh to it -- attempt was dropped, as if 22/tcp was closed. wtf? It was working in the office. winbox into it -- yayy, that works. Try to open a terminal via winbox -- a dialog pops up "Terminal <1> - not permitted (9)". wtf..? I Google this error up, it says that user is a member of group that does not have telnet and ssh permission. Indeed, I loog into groups -- the group 'admin' does not have them. Try to add them -- also not permitted. And I'm the 'admin' user, a single user in the router after a factory reset. How the hell else do I change permissions if even admin is flipped a finger.
That's weird problem #3
And now I look like an incompetent prick with two left hands who is only breaking shit.
And it's been like that my whole career
Why... How... ffs, that's getting annoying. Maybe I should downgrade myself to a QA. Problems find me themselves, I don't even have to look for them2 -
The only reasons I'm with my current employer is because;
1. I interview bad
2. Too lazy to update my CV
One of these days...9 -
I try to change some code in a VERY obvious way, no code that might be interfering. Compile, open browser, no change. Recompile, check, that the compiled output indeed contains the changed code, refresh, no change ... what??
Delete browser cache, also reopen with new tab, clear IDE cache, restart, rerun with npm i. Still no change... ??? What is this black magic?6 -
Management has reviewed DevOps which is already being shown to customers and wants to introduce a code coverage metric to show customers how good the code is. Code coverage now has to be 80% or higher across the board, it's been decided by management, and there is no discussion on this topic. The front-end presentation layer has minimal business logic and most of the code that exists is generated objects to shift data to the backend (which in turn mostly shifts it to a 3rd party API that does a lot of the business logic). I now have to write thousands of pointless tests while also being 85% billable to the client.
I think code coverage can be used as a tool, but should not be used as a metric to promote the product.
I suggested an automated e2e test might be better placed to prove that things are working, but have been told we're not going in that direction.
I'm close to writing a code coverage test that uses reflection to touch all of the code, catch all exceptions, and return a positive result.6 -
Just finished a big project. Want to sleep. Maybe in the morning I'll start looking at websites and services for design ideas. Whats your favorite website or url? 🌙󠄹󠄐󠅒󠅢󠅟󠅛󠅕󠄐󠅂󠅃󠄱󠄞󠄐󠅄󠅙󠅝󠅕󠄐󠅤󠅟󠄐󠅠󠅥󠅤󠄐󠅤󠅘󠅕󠄐󠅧󠅟󠅢󠅜󠅔󠄐󠅤󠅟󠄐󠅒󠅕󠅔󠄞󠄐󠅇󠅘󠅟󠄐󠅗󠅟󠅕󠅣󠄐󠅔󠅟󠅧󠅞󠄐󠅖󠅙󠅢󠅣󠅤󠄯󠄐󠅂󠅕󠅣󠅠󠅟󠅞󠅔󠄐󠅤󠅟󠄐󠅤󠅘󠅕󠄐󠅖󠅑󠅥󠅨󠄐󠅡󠅥󠅕󠅣󠅤󠅙󠅟󠅞󠄐󠄒󠅧󠅘󠅑󠅤󠅣󠄐󠅩󠅟󠅥󠅢󠄐󠅖󠅑󠅦󠅟󠅢󠅙󠅤󠅕󠄐󠅧󠅕󠅒󠅣󠅙󠅤󠅕󠄐󠅜󠅑󠅩󠅟󠅥󠅤󠄐󠅟󠅢󠄐󠅣󠅕󠅢󠅦󠅙󠅓󠅕󠄒󠄐󠅖󠅟󠅢󠄐󠅣󠅥󠅗󠅗󠅕󠅣󠅤󠅙󠅟󠅞󠅣󠄞3
-
an economy where jobs hide their salaries is confusing
you want people with skills but you refuse to signal how much you want people with those skills
if you actually are clear and honest about how much you want those skills, people would learn those skills to sell them to you...
but instead they would rather play poker and tell you they don't want the skills... while complaining to someone else (government, universities, whatever) behind citizen's backs about how lazy the average citizen is for not having the skills -- yet they refuse to disclose how much they want said skills to make said skills a target for the citizen to want to achieve to receive the incentive of the moneys that citizens require for living
self-fulfilling retardation
deception is the root of all evil I swear19 -
I've been gone a couple months. On a secret mission. TOP SECRET.
Can anyone tell me what it was?
Where my homies at?16