Details
-
AboutSoftware Developer
-
SkillsJavascript, React, Node.js, Express.js, HTML, CSS, SQL, Perl
-
LocationNew York
Joined devRant on 10/10/2020
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
-
i think it might be concerning that i have shitted for several times today. i lost count how many times. i didnt even eat that much. I shitted about 9 kilograms of turd today
i am starting to have fears... that i might have.... colon cancer1 -
damn, can't get enough of my new mouse that has a trackball instead of your regular scroll wheel. Oh how convenient it is to scroll horizontal containers and switch workspaces6
-
Trying to get flex container overflow to scroll is like funking pulling teeth. I've worked with flex containers for 5+ years straight and it still makes me want to kill myself.
Here's the tools you need to make a flex container scroll. God help you if it's nested more than 2-3 containers from the root. You apply these randomly until you see the scroll bar in the correct place.
min-height: 0px;
min-height: min-content;
overflow: auto;
overflow: hidden;
display: flex;
flex: 1;
(Real pro tip: you can place a "dummy" element inside the container you wish to make scroll. The dummy element should be a huge size, like 10k pixels. This allows you to see what containers up the DOM tree are still not correct (any container that is 10,000px is WRONG. Work your way down the DOM tree and fix fix fix))14 -
"We're excited to announce that we've disabled the deprecated Storefront Toolkit by default for new....."
I am also so freaking "excited" that you have also disabled the close button on the popup when you login to Salesforce BM genius.
How the hell i am suppose to use SFBM now?!! developer tool to remove the popup markup?!
Learn more?? I don't need FAQ doc, I need the popup closed!!!5 -
Dark Humor
Lets try some seriously dark dark humor. Lets find what lurks in the hearts of men.
My Kid: I was adopted.
Me: We wouldn't have picked you.
Oedipus: <whilst banging his wife> You remind me of my mom.
What do you call Rock Hudson in a wheelchair?
Rollaids
What did Christa McAuliffe say to her husband before the launch?
You feed the dog, I will feed the fish.
Some I found from searching web:
What's worse than a baby in a dumpster?
A baby in 2 dumpsters.
If we had mosquito nets in Africa we could save millions of mosquitos from getting AIDS.
Down syndrome in military is called special forces.
Mom told me to eat my vegetables, now where do I put the wheelchairs.
Whoever thought white men can't jump obviously never watched the 9/11 footage.15 -
So there is this discussion about killing children in code. Someone pops in with this:
"I do remember a post from a guy who actually got pulled into an HR talk, to ask why he'd littered the code with references to killing children and removing children from their parents. Imagine trying to explain to a person who's never programmed, that Kill(parent.child)is a perfectly standard phrasing and not a latent psychosis that should be reported to the police."
First I think who is the idiot that reported this? Then I think who is the HR idiot that didn't do a google search or talk to the software manager? So many people had to fail at basic thinking for this to get this far.
Then I think also. Two things can be true at the same time. The person writing this code could also harbor latent desires to kill children. But can hide their sickness in plain sight. CS could just be a place for psychopaths to talk about the true serial killer thoughts.
I was wondering what this would look like. Maybe the psycho programmer will allocate extra hidden children that will get created and destroyed without anyone knowing the better. Maybe they only need 10 children for the code, but they allocate 100. That is 90 children they can create and destroy that only they know about.
Is balancing a tree really about cycles to read the data? Or is this some sort of karma balancing with latent desires to add or remove children with different karma leanings? Linked lists? Obviously only a psychopath would make a singly linked list.
Then I read posts on devrant and think there is probably at least one psychopath here that looks up to Anakin. We know you are here! You can't hide forever.15 -
When you don't get enough kiki in your life: https://devrant.molodetz.nl/kiki.mp...
Sorry Kiki for ddossing your site for a few days :P But it was great example content to work with.
If someone is interested, the URL in the browser won't work, it's a link to my laptop. It'll published within 2 days or something. Probably with some limitations OR a bit slower. Not sure yet.3 -
mann.. 5 years after graduating , and i still feel that dsa rounds are one tough cookie.
i didn't do dsa for last 5 uears as i was busy in my daily dev life. then recently i planned for a switchz started preparing ds algo, got myself into a classroom course and now its been over 1 month and stuff just ... flies out of mind
like, our class has only covered arrays , searching sorting and string based questions till now. and since my interview is tomorrow i thought of going back to the classroom notes and revise all the questions.
and i can hardly remember 10/50!
I clearly remember understanding those questions well, putting comments and examples on the functions and doing them on my own without copying teachers code.
now all those notes are taking time to get back into memory. feels like i am dependent on checking tthe solution again n again to complete the problem.
this is truly scary. as of now i don't even had classes for advanced topics like recursion tres or graphs. the course will probably cover 400-500 problems.
if i go blank state after not doing these questions for a few months. how am i supposed to crack coding interviews which are usually scheduled within 2-3 days of notice?1 -
i ain't gonna build a tetris game for a code test for a job that might force me to work in the office. fuck that shit. code tests are a retarded way of assessing candidates.8
-
I swear, some frontend devs just don't care about us who work at the backend. How hard is it to do a simple git pull? Frontend dev I'm working with just keep pushing his changes.5
-
These github assholes really shat the fan when selling out to M$. I'm trying to access an open source project. I can't. Apparently I'm IP banned. I never go there beside to download software once in a while.
Motherfuckers.5 -
So my towns 4th of July parade got rained on. It became the largest wet t-shirt contest I have ever seen.
It got a lot better toward the end as the rain let up. It ended up being a lot of fun this year. No sun burns either.2 -
We just hit the 1 million mark on the Stop Killing Games EU initiative! 🥳
https://www.stopkillinggames.com/53 -
I am so confused about what I'm doing in the near future. I want to get out of this hellhole but there's a slight chance I could finish my PhD with someone, who's actually not a bad dude.(My current supervisor is... not helpful) But I will have to stay here and work very hard and not get paid, but PhD is over in less than a year. I'm fucked with system implementation tho, since I'll be changing directions and have to start fresh.
I could also get a job and move away, and be paid a decent wage. But then there's no telling when I'm gonna finish the PhD.
Which would you choose if you were me? Which one should I pursue?11 -
dev communities can be the most toxic as well as the most welcoming at the same time.
just depends on what your timing is. You can get a bunch of links to help debug your issue or you can get told to "kill yourself".
You never know.9 -
Devrant not loading again... hit refresh... still nothing... is today the day it finally snuffs it?
Sigh with relief as the UI starts to load...
And there it is: a lengthy ode to the best pest control service in Hockaloogie, Alabama.
The natural balance of the universe has been restored.2 -
Am I in a toxic work environment or not?
1. I suggested implementing some code guidelines for our team so we can all work the same way. Lead architect sends me a DM telling me to stop talking about it until after projectX is done because it might stress out other devs. Friday he talks about how important it is to use standardised tools and ways of doing things.
2. Spent a week working on a bug fix and they said solution is good, but then invalidated all of my work by DM-ing me saying it's unusable because i worked on wrong branch and he quickly fixed it over the weekend and I should just copy his (inefficient) code.
3. I ask him a basic question of what version the backend software is using and he doesn't even respond. I ask another team member who quickly helps me check. it would have taken 1 fucking integer to answer that question. i wanted to learn the backend stack, but not so much anymore.
4. Lead doesn't respond to project management software ticket mentions.
5. Lead randomly makes hotfixes to the QA server without prior notice so the backend randomly goes down at times during work hours and then my local copy of the front end stops working for no reason at all when I am trying to focus on bug fixes
6. UX/UI designer's screen designs look completely different than the actual app, so I spent weeks implementing a feature looking like his nice designs, then having to change it again, taking another week.
7. Generally poor comms
8. Leadership mentioned jobs are safe, then 2 months later retrenched a bunch of people.
9. People getting sick all of the time.
10. Nobody gives a shit about technical debt22 -
Cool, Snek has a new few members with new input to work on for now. It's still not released guys, it takes some tweaking. But i'm happy, earlier this day I went to beach, and when i came back, in the general chat there were 1200+ new messages. Holy fuck. I keep on preparing it for when it's needed. But I do hope to say within a month or so that it's <stable>. Finished, will never be the case! So many ideas to implement. One of the priorities is now, what you can do with the Snek app, because it's a lot, it has some sick features. Live typing was not appreciated by everyone but it's possible to disable it with /live.
Meh, stay tuned, will spam next month or so again. Happy that the cert is renewed and we can continue talk here.12 -
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.35 -
spent the whole week working on a bug fix last week.
implemented a method to filter some data to make it easier to use in the HTML template.
friday's session with other programmers to review code went well, they said the method is pretty good and works nice. (I must admit there was an elusive bug that prevented the component to render and none of us could figure it out)
i get back on monday to a message from the lead saying the code is unusable and they reverted to the previous (convoluted) way of doing things and i should do the same in the future. just copy their work.
i check the typescript class. fucking method that was used (which he told me not to use and I should copy and work off of), he went and just changed the method's name, and the body is EXACTLY the same as his existing method.
this code base is ridden with re-used methods (I managed to extract two reused ones into a service some time ago), the use of any for 90% of method return types and variables...
WTF. I am losing all of my respect for seniors and faith in this company.
This is why I am burned out. You are farting against a hurricane and everyone else's shit is coming back onto you. This is fucking insane. Or am I insane?13 -
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. 🐦💩34 -
My coworker wanted to get some program from a website that requires a username/password to download. It is a utility program for controls automation. He didn't want to have to create a username/password so I said he could use mine.
I went over to his desk and read off the username to him which he entered. Then I started reading off the "password" to him:
"y o u r m o m i s a s l u t"
He got suspicious at the last few letters and then clicked on "show password" icon. He of course saw: "yourmomisaslut". At this point he just bust out laughing. I then gave him the correct password.8