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 - "d-bus"
-
Gahaa!!! Finally back home, after 7 fucking hours of sitting in busses and trains!
BUT I GOT MY NEXUS 6P!! Yoo-hoo!!! :D
And I've got a nice story about it.
So when I bought it, the guy selling it to me was a nontechnical type (I think?) whose wife was the previous owner. So I thought to myself, cool a nontechnical user used it.. probably no hardware mods or anything to worry about. Apparently they even factory reset it for me :)
Now, when I left to go back home, I of course immediately booted up the thing and did the whole doodad of logging into it, setting up the device etc.
Then it struck me. When I booted up the device and wanted to log in, there was a lock from Google that required me to first authenticate as either a previous account of the device, or their unlock pattern. So I figured, eh fuck it, I'll just flash some AOSP without GApps or send the owner an email asking what the previous pattern is.
But I still had to wait 30 minutes at the bus stop so I thought to myself.. previous owner was a nontechnical woman.. maybe I could crack it. No way to know if I don't try. So I started putting in random unlock patterns.
3 attempts later - I shit you not! - pattern accepted.
Do you want to add this account?
Oh boy Google, of course I do! Thanks for letting me in pal!
3 fucking attempts. That's all it took to crack the unlock pattern of an unknown person. 😎23 -
I’ve been working on a fun little project using Crystal and d-bus to control the lighting for Razer RGB devices. Making progress!24
-
Heyyy Fellow devRant users, wanted to know has anyone else been in this situation before? it happens to me quite a bit now and usually always makes me laugh :-D, i'll set the scenario for you here.
*Me talking to stranger on the bus*
Me - "How are you doing today mate"
Stranger - "very well thank you, off to work, how about yourself?"
Me - "Very good thanks mate, I'm off to Uni for the day :D"
Stranger - "Thats great, what do you study mate?"
Me - "Well I'm doing a course in Software Development!, i very much enjoy what I'm studying!"
Stranger - "Wow, you must be very good at fixing printers and stuff hey"
well... it sorta ends there but hopefully you get the picture :D, this is usually how my conversations with strangers ends up. As you may notice i tend to 'talk too much' :D,
hope you're having a great night or day where ever you may be :D. - Milo16 -
Most painful code error you've made?
More than I probably care to count.
One in particular where I was asked to integrate our code and converted the wrong value..ex
The correct code was supposed to be ...
var serviceBusMessage = new Message() {ID = dto.InvoiceId ...}
but I wrote ..
var serviceBusMessage = new Message() {ID = dto.OrderId ...}
At the time of the message bus event, the dto.OrderId is zero (it's set after a successful credit card transaction in another process)
Because of a 'true up' job that occurs at EOD, the issue went unnoticed for weeks. One day the credit card system went down and thousands of invoices needed to be re-processed, but seemed to be 'stuck', and 'John' was tasked to investigate, found the issue, and traced back to the code changes.
John: "There is a bug in the event bus, looks like you used the wrong key and all the keys are zero."
Me: "Oh crap, I made that change weeks ago. No one noticed?"
John: "Nah, its not a big deal. The true-up job cleans up anything we missed and in the rare event the credit card system goes down, like now. No worries, I can fix the data and the code."
<about an hour later I'm called into a meeting>
Mgr1: "We're following up on the credit card outage earlier. You made the code changes that prevented the cards from reprocessing?"
Me: "Yes, it was my screw up."
Mgr1: "Why wasn't there a code review? It should have caught this mistake."
Mgr2: "All code that is deployed is reviewed. 'Tom' performed the review."
Mgr1: "Tom, why didn't you catch that mistake."
Tom: "I don't know, that code is over 5 years old written by someone else. I assumed it was correct."
Mgr1: "Aren't there unit tests? Integration tests?"
Tom: "Oh yea, and passed them all. In the scenario, the original developers probably never thought the wrong ID would be passed."
Mgr1: "What are you going to do so this never happens again?"
Tom: "Its an easy addition to the tests. Should only take 5 minutes."
Mgr1: "No, what are *you* going to do so this never happens again?"
Me: "It was my mistake, I need to do a better job in paying attention. I knew what value was supposed to passed, but I screwed up."
Mgr2: "No harm no foul. We didn't lose any money and no customer was negativity affected. Credit card system may go down once, or twice a year? Nothing to lose sleep over. Thanks guys."
A week later Mgr1 fires Tom.
I feel/felt like a total d-bag.
Talking to 'John' later about it, turns out Tom's attention to detail and 'passion' was lacking in other areas. Understandable since he has 2 kids + one with special-needs, and in the middle of a divorce, taking most/all of his vacation+sick time (which 'Mgr1' dislikes people taking more than a few days off, that's another story) and 'Mgr1' didn't like Tom's lack of work ethic (felt he needed to leave his problems at home). The outage and the 'lack of due diligence' was the last straw.1 -
I was looking for a solution in some piece of code for half an hour but then I had to go. I took a photo of the code with my phone and then figured out the solution while I was on the bus :D5
-
OH
MY
GAAWWWWWD
The funniest thing happened today. I was helping a teammate rebase his branch onto master. Since his root was a merged local branch with 3 commits already in master, but squashed, we had to do an interactive rebase. So we have 3 commits to drop, and one to pick. He was using vsCode on windows, so he got vi to edit the rebase. I told him to change the first three pick for the letter d (alias for drop). Since he was not too familiar with vi, he only changed the first letter. I was like : dick is not a valid command, it's just d. Then he removed it and did the same thing again! When he finally understood, we both died of laughter,and so my ghost is now writting this rant. In the bus. Laughing like a crazy person. 😎 -
i hate this fucking life so much why do i have to fucking exist WHAT IS THE FUCIJG POINT OF DOING SOMETHING YOU HATE WITH PASSION DOIMG AND NOT DOING WHAT U WANT TO BE DOING I DO NOT UNDERSTA D THIS LIFE
THIS existence/life is the Biggest BITCH i have ever fucking met FUCK YOU
CANNOT BE SUCCESSFUL DOING SOMETHING YOU HATE.
there was a philosopher who said "this life is pain and the only purpose of living is to reduce this pain as much as possible in order to be more happy" WHAT THE FCUK THAT IS MORE DEPRESSING THAN HAVING A FKIG CANCER
WHY DONT I JUST GET SOME INCURABLE DISEASE INSTEAD OF LIVING? OR GET HIT BY A CAR?
WhAT
I AM SO FUCKING NOT IN THE MOOD FOR ANYTHING
WHAT
as i was writing this rant by coming back from ffffffftffffffffffFFFfFFFfFFFFCKING college i went into a bus and there was a woman in front of me with an english text on the back of her shirt saying "she believed she could so she did. she designed a life she loved." WHAT
YO WHAT
THIS WAS PUT IN FRONT OF MY FACE AT RANDOM SPONTANEOUSLY
DID GOD JUST GIVE ME A FKIG SIGN OR SOMETHING?? "MY LIFE SUCKS RIGHT NOW BUT I CAN TURN IT INTO THE LIFE I LOVE" IS THAT WHAT A HIGHER SPIRITUAL BEING IS TRYING TO TELL ME RIGHT NOW???
WHAT IS THIS
HOW DO I FEEL RIGJT NOW
I DONT GET IT
MHhhhhhhhhhhhhhhh hh9 -
TD;DR: I have school instead of vacation but 5 hours of spare time. I got my laptop with me and I'll work in school.
I didn't want to take part of the course-trip with the 12th graders (my course sucks, there are too many assholes for the neutral people to compensate). After speaking with the director, and the only condition was to tell the course why. I did deliver them a nicely put "fuck you, you bullied my only friend out of this school" and now is the time where I visit the 11-graders while the other 12-ers are on "school vacation".
I got a "new" plan for the courses I should visit. Today, Wednesday, I have 5 FUCKING FREE HOURS IN A ROW. Oh yes, baby, the teacher generating the plan hates me as well. (He really does but it's probably just unlucky not his fault).
So today, I decided, I would take my heavy-ass laptop with me, in a laptop bag, which doesn't fit into the school bag I have and my laptop doesn't fully fit in the laptop bag as well (sticks out), that's the perks of having a laptop!!
— so I can work on my (I wanna say this once in my life without being a professional) "CLIENTS PROJECT" - the funny thing is that the client is a (really fucking good but small) advertising agency and too lazy to design their own website. Since I had my internship, they know how hard I *can* work even without being payed. Now they do wanna pay me but that's another story.
I'm on the bus and I have this monster of a bag which isn't lighter than a freaking huge bag of rice and I'm so fucking excited for this day. The library is my best friend. Hopyfully I'm going to find a socket for power..
Sorry for so many commas, I'm german. :D3 -
So, I had to took a 4 hours bus today. I woke up ealry and prepared everything. Left home with time because I didn't wanted to fuck anything up and lose the bus. I went then to the bus station and went to order the ticket, they told me the bus leaved in the other bus station of the city (that is in the other side of the city). I had like 20 mins left. I had to take a train to arrive at the other bus station 5 minutes before the bus leaved. There were 4 people buying tickets. The first one was quick. The second one was that person that is slow as fuck and drops the money, like those old people in tje supermarket. I nearly lost my nerves and asked to those two persons ib front of me like "my bus is leaving in 3 minutes, can I get the ticket first?". Then I bought the ticket and ran to the bus. It was closing the doors. Luckily I could get in. I don't think that I was never close to lose some transport like this.
The good thing is that it has charger and wifi :D
PD: the station is huge, like 50 different buses. I was really lucky to find it at the first try :D2 -
TL;DR As time goes by, I'm feel deeply in love with linux. An infatuation? :D
Before, I really dont mind how the file system works, permission setup, library installation, etc. as long I finished my project (before like 90% of the time I copy paste cmds). But now, after many hair pulling while debugging times, crying while rolling on the floor moments, and painful production deployments (wtf! it's working on my machine/dev server rants), it helps me clearly realized how amazing it is. I might be relatively new with the OS compare to others so maybe what I feel like now is like having a crush on someone in a bus :). But still, I just wanted to say thank you to all who are giving their time in developing/improving linux distros - you are heroes!
I'm hoping that I can contribute something soon :)
senti_mode off1 -
Do you have any images/memes for `bus factor == 1` situations ? Any devopsreactions ?
Strikes at me too many times nowadays :)
Not this one with yellow bus :D It's ugly -
! Rant
Updated Linux Kernel to 4.8.3 with pacman - Syu and KDE also updated. After reboot I get the message "Could not start D-Bus, can you call qdbus?"
Any clues?