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 - "door lock"
-
Toilets and race conditions!
A co-worker asked me what issues multi-threading and shared memory can have. So I explained him that stuff with the lock. He wasn't quite sure whether he got it.
Me: imagine you go to the toilet. You check whether there's enough toilet paper in the stall, and it is. BUT now someone else comes in, does business and uses up all paper. CPUs can do shit very fast, can't they? Yeah and now you're sitting on the bowl, and BAMM out of paper. This wouldn't have happened if you had locked the stall, right?
Him: yeah. And with a single thread?
Me: well if you're alone at home in your appartment, there's no reason to lock the door because there's nobody to interfere.
Him: ah, I see. And if I have two threads, but no shared memory, then it is as if my wife and me are at home with each a toilet of our own, then we don't need to lock either.
Me: exactly!12 -
7 am. Dog wants out. I roll out of bed after trying to pretend I am dead.
Walk down the stairs to the side door. Half asleep and notice that the door has daylight shining through on the lock side. Didn't shut it all the way the night before. Walk outside. Dog does his thing. Turn around. Doors locked.
Fuck.
Go for my phone. In the house. Go for my keys. In the house. Fuck. Fuck a duck.
Start checking my windows. One opens a fraction of an inch. Doesn't do me any good. Dog is outside with me. Freezing his ass off. It's like 5 degrees here.
Both of my neighbors don't answer their door. Life flashes before my eyes. Put my dog in my jacket to warm him up. Little 15lb rat terrier. Not made for snow.
He's fine for now. I grab a piece of rebar from my backyard and lever my window a bit more open, busting one of the locks.
And then I yell "ALEXA. OPEN THE FRONT DOOR." The voice of an angel responds. "OK." Whirrr. Click. Door opens. Sweet warmth.
I need a fake rock with a key under it.
Great Sunday.18 -
And here comes the last part of my story so far.
After deploying the domain, configuring PCs, configuring the server, configuring the switch, installing software, checking that the correct settings have been applied, configuring MS Outlook (don't ask) and giving each and every user a d e t a i l e d tutorial on using the PC like a modern human and not as a Homo Erectus, I had to lock my door, put down my phone and disconnect the ship's announcement system's speaker in my room. The reasons?
- No one could use USB storage media, or any storage media. As per security policy I emailed and told them about.
- No one could use the ship's computers to connect to the internet. Again, as per policy.
- No one had any games on their Windows 10 Pro machines. As per policy.
- Everyone had to use a 10-character password, valid for 3 months, with certain restrictions. As per policy.
For reasons mentioned above, I had to (almost) blackmail the CO to draft an order enforcing those policies in writing (I know it's standard procedure for you, but for the military where I am it was a truly alien experience). Also, because I never trusted the users to actually backup their data locally, I had UrBackup clone their entire home folder, and a scheduled task execute a script storing them to the old online drive. Soon it became apparent why: (for every sysadmin this is routine, but this was my first experience)
- People kept deleting their files, whining to me to restore them
- People kept getting locked out because they kept entering their password WRONG for FIVE times IN a ROW because THEY had FORGOTTEN the CAPS lock KEY on. Had to enter three or four times during weekend for that.
- People kept whining about the no-USB policy, despite offering e-mail and shared folders.
The final straw was the updates. The CO insisted that I set the updates to manual because some PCs must not restart on their own. The problem is, some users barely ever checked. One particular user, when I asked him to check and do the updates, claimed he did that yesterday. Meanwhile, on the WSUS console: PC inactive for over 90 days.
I blocked the ship's phone when I got reassigned.
Phiew, finally I got all those off my chest! Thanks, guys. All of the rants so far remind me of one quote from Dave Barry:7 -
Got basically nothing done yesterday because I was absolutely exhausted the entire day. Thanks, doxxing thread. But I couldn’t sleep anyway so whatever.
Told everyone at home that I wanted a really productive day tomorrow (today) because of it.
Guess what happened?
Endless fucking distractions.
Because of course.
• Cooking since apparently it’s my job.
• Extended computer repair and maintenance, since that’s apparently my job even when it’s not my computer.
• Conversations.
• Children following me.
• People paraphrasing politics.
• People summarizing stupid fail videos.
• People relating stupid prank videos.
• More conversations.
• Endless random nonsense comments from children.
• Endless noises from children’s toys, tablets, playing, etc.
• Children following me when I leave.
• Taking half an hour to order food instead of five minutes.
• Cleaning since nobody else ever does.
• Picking up toys since nobody else will and I’M FUCKING TIRED OF STEPPING ON AND TRIPPING OVER THEM.
• More fucking food prep.
• Endless random nonsense comments from children.
• More conversations.
Is it any wonder I’m so fucking pissed off every workday?
I can’t wait to move so I can have a fucking office with a fucking door and a fucking lock. And you know what? I’m going to splurge and install some fucking soundproofing, too.
WHY IS IT SO FUCKING HARD TO JUST LEAVE ME THE FUCK ALONE!? I’M PAYING FOR YOUR FUCKING EVERYTHING. FUCK THE FUCK OFF!19 -
!rant
The change log from notepad++ update. The last paragraph is the cream!
" The issue of a hijacked DLL concerns scilexer.dll (needed by Notepad++) on a compromised PC, which is replaced by a modified scilexer.dll built by the CIA. When Notepad++ is launched, the modified scilexer.dll is loaded instead of the original one.
It doesn't mean that CIA is interested in your coding skill or in your sex message content typed in Notepad++, but rather it prevents raising any red flags while the DLL does data collection in the background.
It's not a vulnerability/security issue in Notepad++, but for remedying this issue, from this release (v7.3.3) forward, notepad++.exe checks the certificate validation in scilexer.dll before loading it. If the certificate is missing or invalid, then it just won't be loaded, and Notepad++ will fail to launch.
Checking the certificate of DLL makes it harder to hack. Note that once users’ PCs are compromised, the hackers can do anything on the PCs. This solution only prevents from Notepad++ loading a CIA homemade DLL. It doesn't prevent your original notepad++.exe from being replaced by modified notepad++.exe while the CIA is controlling your PC.
Just like knowing the lock is useless for people who are willing to go into my house, I still shut the door and lock it every morning when I leave home. We are in a f**king corrupted world, unfortunately. "2 -
I was doing a physical security engagement on a clients home. The door had a new smart lock, I called his landline to inform him it was us at the front door. I got the answering machine, and figured it'd be funny to say "Alexa, unlock the front door." To our surprise, the front door unlocked.3
-
Today was a good day. The toilet door was stuck for two hours because the lock broke. After the locksmith came and tried his best, we had to kick the door in. Fun fact: a fellow dev was stuck on the inside...10
-
What's the difference between a wasp and single loose hair?
Apparently none till the wasp stings :/
Yesterday I thought I had a loose hair on my neck.. ok, I shrug it off.. later again the creepy feeling.. shrugs off..
I continue to work, sumberged in code, wanting to find the fucker (bug, not the wasp/hair).. lean in to the monitor... 10 cents away from the screen... Ok, maybe that's it! Feels the hair on my back, near shoulderblades again... shrugging again more violently to get it further down to fall out.. nothing.. ok, got the bug, threw myslef back in the chair with substential force & BAAAAM!!! Motherfucking hair bit me!! O.o
I scream in horror & on top of the lungs (it was late, after work hours so I didn't expect anyone else still at the office) PROKLETA PRASICA (roughly translated to goddamn female swine).. I previously saw some green bug flying around the office and I thought that nasty thing bit me (didn't know they bite soo, much more horror for me).. O.o
Anyhow, I jump up from the computer and see my coworker looking at me all baffled.. I proceed to franticly take of my headphones and hoodie..thinking about wtf should I do now, I cannot get undressed in front of him (not for my sake, bra is the same as top of the bathing suit for me, but still..I don't want anyone suing me for impropper behaviour of undreasing in front of coworkers..), how the fuck should I get to the toilet?! O.o
C: Are you ok?!
M: Um.. sth bit me..wtf?!
C: There was a wasp flying around somewhere some time ago.. are you alergic?!
M: um..not sure, I don't think so..we'll see soon..
I proceed to the WC, to take off tshirt & check/kill off the fucker.. on my way there (walking funny to not press the hair to my body again) I got another surprise, another coworker was working late..
C2: Are you ok?! O.o
M: yeah, sth bit me, probably a wasp..
Ok, finally on the loo..ok, do not lock self in in case it escapes and you need help.. don't even shut the door. Check.. standing between the doors I contemplate on how the fuck should I take my tshirt off without angering the fucker even more and getting bitten again.. O.O
I lifted the tshirt up my back to let it out.. nope, not there..the creepy felling of buzzing around between my shoulder blades continues.. crap.. what to do?!
I stood there & contemplated the task.. ok, roll up the tshirt to the shoulder blades, not against the body (duh) to prevent further stings..tighten the fabric, so it cannot escape, quickly remove the band from the body.. done..reversed the tshirt and straightened it.. bzzz... Fucker fell somewhere.. Dafaq?! Was it really just a wasp?! If yes, no problem...but what if coworker was wrong and I got bitten by that nasty green whateveritsname bug?! Eeeeewwww! Is it poisonous? Gotta find it & kill it for good.. waited a bit, than saw a goddamn wasp crawl from under the toilet.. wasp!! Yess!! Stopm stomp fucker!!
I get dressed & go back to my desk..
C: Did you terminate it?!
M: Yup, fucker went on a toilet paper trip down the drain!!
I sit down, starting to get my headphones back on and proceed to work.., but before I could, one last gem:
C: CTO would say, thank god it didn't sting you in your finger cuz you wouldn't be able to type anymore..
M: O.O so true hahhahahaaa
Disclaimer - I like animals, but I freakking hate wasps..especially if they get under my tshirt to sting.. :/7 -
This happened a while back but thought it would be an interesting story.
So there is this guy, I'll call him Jack. Jack was a weirdo. He just graduated high school but thought of himself as very hot in terms of dev skills. He boasted lots of good programs, that are the best in industry, except they don't work (like the best proven file compressor, that just can't decompress anything because of some "bugs"). He also entered language holy wars quite actively, saying that Delphi is the best platform ever.
Aaanyway, a couple of years pass. Jack is now a student. Jack tries to make some money, so he talks to some guy, that offers him a "job" at the tax office, where he has to modernize the data infrastructure of the tax authorities. If you think this sounds very wrong, then you're 100% correct. But it gets better. After 2 months of work, the guy manages to do that. It's a simple CRUD application after all.
So everything works, but the guy who gave him this job refused to pay. He stalled and then just stopped answering the phone. Jack is now furious. So what he does, is publish the databases online, so everyone could see the income of every citizen. Authorities are in panic. They send the police to his door. They seize his computer and lock him up for a few days.
To sum it all up: Jack took up a job, without any contract, without any NDA, which is completely illegal in of itself, but he did that with the tax authority. And delivered the product before getting paid. And when he understood that he was owned, he published all online. He got bit back. The guy who gave him this job had no consequences for illegally hiring someone and not paying for their work.
Lesson: Don't be Jack11 -
Once, my Roomba managed it to lock me out from my apartment by throwing some wooden planks right between my front door and my cabinet.1
-
Today was just marvelous. Locked up my car with keys inside and with engine on.
I was driving back home from work. I drove to a parking near home, which is really long, narrow and impossible to turn around. So I decided to get out of a car, for like, 30 secs and go check, if there were any unoccupied parking places. Parking brake; I stepped out of the car and closed the door. Click.
Brilliant.
I knew, that I needed to change contacts in the driver door, that sometimes were triggering central car lock, but I didn't expecting such outcome.
So, I am outside.
Engine is on.
Parking brake.
My backpack and phone were inside.
Luckily, one neighbor wanted to drive somewhere, so I explained, why he can't donit, why my car is here and asked to watch my car for 5 mins while I will run home.
So I ran home in home to find a second pair of keys.
After some time, LUCKILY, I found them, went back and unlocked my car...
Moral: don't delay things.. Small fixes to prolong life of some object will eventually fail in very, very uncomfortable manner.
I'm glad I found spare keys and there were no need to break my own car window... And I DO care about my car and do lot of things by myself.1 -
Once my aunt asked me if I could fix her car electric lock, because I was studying IT stuff.
I thought "excuse me, what the fuck?"
I said "Sorry, never studied door stuff ¯\_(ツ)_/¯"7 -
If you can be locked out of it remotely, you don't own it.
On May 3rd, 2019, the Microsoft-resembling extension signature system of Mozilla malfunctioned, which locked out all Firefox users out of their browsing extensions for that day, without an override option. Obviously, it is claimed to be "for our own protection". Pretext-o-meter over 9000!
BMW has locked heated seats, a physical interior feature of their vehicles, behind a subscription wall. This both means one has to routinely spend time and effort renewing it, and it can be terminated remotely. Even if BMW promises never to do it, it is a technical possibility. You are in effect a tenant in a car you paid for. Now imagine your BMW refused to drive unless you install a software update. You are one rage-quitting employee at BMW headquarters away from getting stuck on a side of a road. Then you're stuck in an expensive BMW while watching others in their decade-old VW Golf's driving past you. Or perhaps not, since other stuck BMWs would cause traffic jams.
Perhaps this horror scenario needs to happen once so people finally realize what it means if they can be locked out of their product whenever the vendor feels like it.
Some software becomes inaccessible and forces the user to update, even though they could work perfectly well. An example is the pre-installed Samsung QuickConnect app. It's a system app like the Wi-Fi (WLAN) and Bluetooth settings. There is a pop-up that reads "Update Quick connect", "A new version is available. Update now?"; when declining, the app closes. Updating requires having a Samsung account to access the Galaxy app store, and creating such requires providing personally identifiable details.
Imagine the Bluetooth and WiFi configuration locking out the user because an update is available, then ask for personal details. Ugh.
The WhatsApp messenger also routinely locks out users until they update. Perhaps messaging would cease to work due to API changes made by the service provider (Meta, inc.), however, that still does not excuse locking users out of their existing offline messages. Telegram does it the right way: it still lets the user access the messages.
"A retailer cannot decide that you were licensing your clothes and come knocking at your door to collect them. So, why is it that when a product is digital there is such a double standard? The money you spend on these products is no less real than the money you spend on clothes." – Android Authority ( https://androidauthority.com/digita... ).
A really bad scenario would be if your "smart" home refused to heat up in winter due to "a firmware update is available!" or "unable to verify your subscription". Then all you can do is hope that any "dumb" device like an oven heats up without asking itself whether it should or not. And if that is not available, one might have to fall back on a portable space heater, a hair dryer or a toaster. Sounds fun, huh? Not.
Cloud services (Google, Adobe Creative Cloud, etc.) can, by design, lock out the user, since they run on the computers of the service provider. However, remotely taking away things one paid for or has installed on ones own computer/smartphone violates a sacred consumer right.
This is yet another benefit of open-source software: someone with programming and compiling experience can free the code from locks.
I don't care for which "good purpose" these kill switches exist. The fact that something you paid for or installed locally on your device can be remotely disabled is dystopian and inexcuseable.16 -
Because of some theft this year and even though we already have security cameras, my apartment building decided to check the front door locks so it's more secure.
This key looks very high tech... Only issue though is I never use the key anyway... I just entered the door code...
So what is the point of changing the locks? I'm going to guess whoever is stealing isn't picking the lock... People would notice... They must know the code.
Also it seems most of the apartment locks are digital key card/pins too. Wondering if this just means most owners are young or just are techies/devs...10 -
Me: “Hey Siri, turn off the kitchen ceiling lights”
Siri: “Do you want to turn off lights in the master bedroom, the living room, the bonus room, the kitchen, the office, the basement [ad nauseam]”
Me: “the kitchen” [thinking 😠, she’s so stupid]
Siri: [unbelievably again] “Do you want to turn off lights in the master bedroom, the living room, the bonus room, the kitchen, the office, the basement [ad nauseam]”
Me: [thinking 😡 OMG, she is such a dumb ass] “CANCEL”
Siri: “Ok”
Me: “Siri, you fucking idiot, turn off the kitchen ceiling lights”
Siri: “Ok” [and they are off]
I have found that if I neg’ Siri, she performs so much better. Interestingly enough, when I neg her, she works almost flawlessly, especially where she brain-farted before. Negatronic Brain?
In front of kids it has become “Siri, you daft bot, close the garage door” and regularly “Siri, you bimbo, lock the front door”.
My wife thinks that once Siri gets it on with ChatGPT, becomes sentient, and gains control of my car, she is run my ass over.
Here is the gotcha, I’m working on a project that actually does provide Siri a level control of automobiles. Now who’s the [really frustrated] dumbass?28 -
!tech
recently i have been realising that i am utterly lonely. their isn't a group of people in life (apart from my parents) who aren't either paid to be with me (i.e office colleagues) or i am paying to be with them (i.e gym) and its very sad.
i don't have any siblings. the relatives are on sour terms, so no one visit. my parents are mostly loveless and the whole family is just focusing on sustaining than living or enjoying. i recently had some arguments with my friends and now they too are not on talking terms. .
I am a 25 year old, short , somewhat chubby guy in the most boring and safe field with no interesting interests except an average guy stuff ( cars, stocks, tech, career, sports... things that guys usually discuss).
I have been told on face that my vibe isn't interesting and i can honestly accept that . i myself wouldn't want to be with someone like me. if you are girl, then i will probably be talking to you for 30 seconds of joke-cum-fun-cum-serious-cum-caring stuff( i usually have 1-2 lines of witty stuff prepared) before going all silent and boring you the fuck out.
the next convo will be followed by an even dumber sentence but i will try to end it with a geeky joke or reference and a small laugh prompting you to also smile or fake laugh. and if you did that, then i will be desperate to keep you laughing, but my sentences will keep on getting more dumber and boring until you leave and categorise me as the most boring idiot/ "nice guy" you met. ( and meanwhile i am at the mental stage where i love you as the most precious thing of my world and imagining kids and life with you)
I can't care for anyone. I have seen too much parent fights, empty walls, money issues to understand how to care for anyone . my life is focused and sad.
shall i go on giving chocolates to everyyone in office to be popular? shall i ask a random gorl on the stret for her phone number? shall i start strolling in the park and try to talk to people? honestly, if i were a girl and someone does this to me, i would be shit scared and creeped out than falling for that guy.
then how the fuck i land myself into someone who wants to be with me? do i even want someone to be with me? or is loneliness the only thing i want?
i feel pretty okay for the most part of the day in this loneliness, except at some weird times like when am eating a platefu9 of chinese alone in some shop, or at night when i lock the door of a 9x9 large room and realise that i am the only one here.
i was once excited to grow up and do grown-up stuff like drive a car, take a solo tour, goto vaccination in every few days, be adventurous . but that has changed . i did all these things when i had people in my life. i somewhat felt motivated to do those, seeing that there were people who wanted to be with me during/after these things and care about me. now it just feels pointless.9 -
When entering a one-holer restroom, someone didn't lock the door, and you have already seen more than you wanted to see. What are your options to react?
1. Say "excuse me" and quickly leave.
2. Chew them out loudly as you walk out.
3. Make really loud horse noises and leave.
4. Use the sink.
I have had this happen to me twice at my current work place. Now, when opening the door I have this procedure:
1. Open door a crack to see if the room light is on.
2. If light is on wait a few seconds for audible notification of occupation.
3. If unoccupied continue to enter.
If you are in the one-holer using the restroom and someone tries the door you also have options:
1. Stay silent Dark Brotherhood style.
2. Laugh maniacally really loudly.
3. If door opens scream like a girl.3 -
Well i see those as two separate problems. To focus get a pot of coffee, put headphones on loud enough to tune out any outside noise, and lock the door. As for procrastination lean into the damn skid, go find something you like to do and come back later. The longer you fight it the more unproductive time you're going to have, and in my experience i get more done in 3 productive hours than i do in 8 unproductive hours1
-
Hi guys, I'm hoping you can help. I've looked everywhere and I've not got a clue what it is.
I lost my back door key (5-pin pin and tumbler lock) the other day, and I can't afford to get a new one right now.
I tried picking it earlier, and I discovered it's got a spring at the back of the plug (which I've never come across). I lined up all the pins but for some reason it's not opening, and I have a feeling it's either got an anti-pick pin or it's to do with that spring.
Has anyone with lock experience got a clue what could be doing this? I'm at a loss.5 -
I hate Mondays...
So, Yours truly, the multilingual flightless bird leaves his apartment... Locks door... Fucking key gets stuck in lock (had some attempted home invasion attempt last year, left a few things bent).
The last thing I can use today, important project to work on with a deadline close enough to worry about.
I would say that's a classic Error 500 on login kinda situation.
The irony? I fancy myself a pretty good lock picker(A must have for an aspiring pentester) .
Luckily, a quick squirt of gun oil resolved that one... Seriously, how do people manage without a supply of tools and stuff?2 -
Noise cancelling headphones, 0.5 liter thermos mug constantly filled with coffee by the project manager and lock on the office door.4
-
Story of two poor puppies
when my mom returned from market, she saw a puppy with her
siblings surrounded by people choosing which one to take.
she pick one puppy. she's color is grayish black puppy with the tip
of his tail and a place in she's neck.
she whined and cried when she separated from her siblings and Mom.
but she quickly familiarize herself with the new family and place.
she was very happy when we bring her sister we found in the same place.
I take care of them.
I feed, wash and play with the new friends.
we built them a house. they were very happy and playful.
but things started to go downhill all of a sudden.
my parents start to prevent me from playing with them.
they say " We bring the puppies for them to be guards ".
they really hate dogs. they started to lock
the house and the window. they had to pass all day in the
same place
(How BORING) they pee there, eat there sleep there.
Since me and my sis prevented from take care of them, we couldn't
do anything all this only to make them cruel dogs and very unfriendly
to people.
when time pass, they started to forget them.
before yesterday, we remembered that we didn't
give them any food or water for the past 3 DAYS !!!
my sister unlock the door for them and they get out
from the house (~Prison~). they were completely
different. the gray puppy was very tired and depressed
and unhealthily skinny. the sister was fine.
we let them outside for few days when the gray puppy
started to get more and more skinny.
he lies on the floor all the day, when we are nearby, she
only wag it's tail no more.
Today, I wake up only to hear the bad story
the gray puppy, well we found her 0x00DEAD ! ! ! !
immediately after I heard the phrase, I burst into tears
I really couldn't stop crying. I couldn't even see that
cute face 0x00DEAD.
My sister's case was way worse than me. the is still
crying at the time of writing. we didn't see their funeral.
the other puppy was very sad because of her sibling
The Worst part is, we didn't name them or take ANY
photo with them !!! :`(2 -
Go to toilet, turn the lights on, lock the door. Now I feel safe. I feel everything's gonna be alright.3
-
The place where I work has a restroom on each floor with two urinals and two stalls. That's it. Sometimes one urinal or both have been out of order.
Then, in a stroke of pure evil, they renovated the restroom and put doors on the stalls that go all the way to the floor and swing shut by themselves. Universally the way we know if a stall is occupied is by whether the door is opened. It took days for people to even figure out that the stalls weren't really in use because no one would ever do something as stupid as making stall doors that swing shut.
So now you've got a few choices. You can knock on both doors. You can try to open them, which is risky because unless you jiggle the knobs a little bit the doors won't actually lock, so you could open the door and someone could be in there. Or you can go to another floor.
I didn't include looking under the door because the doors go almost to the floor.
What really ticks me off about this is that it's creating a problem that's already been solved since the beginning of time. The doors swing open. It's really simple. We figured this out a long time ago and moved on. Making the door swing shut is actually more work.
It's so obvious that someone who gets it wrong has to be either stupid or evil.4 -
I make a plan yesterday to work on my CFO's PC today during lunch. I see him around 10:30, and he tells me he will be heading out at 11:30, and will leave his door unlocked for me. I get to his office at 11:35, and the door is locked.
I check around, and find someone with a master key, but their key doesn't work. I check with maintenance, and he says the guy changed his lock recently, so only he has the key.
I guess I will be doing this tomorrow, instead. Way to go CFO.1