Details
-
SkillsPHP, MySQL
Joined devRant on 8/24/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
-
HR girl sent a generic email with the job description and benefits of the company but forgot to set it as BCC.
Not 3 minutes passed that all the 73 recipients of the mail (me inlcuded) start replying to all making jokes about it, ranting about HR in general.
An hour later we created a Facebook page called "not-BCC guys" where we keep us posted about opening positions in our companies to bypass future HR hunting interactions.1 -
Sometimes I daydream about one of my projects to become successful. Then I realize that Google Chrome has 56.000 open issues and I regret
-
That moment of joy when u see an exception error on the screen instead of a white page
Getting there😂5 -
It finally hit me the other day.
I'm working on an IoT project for a late-stage ALS patient. The setup is that he has a tablet he controls with his eye movements, and he wants to be able to control furnishings in his room without relying on anyone else.
I set up a socket connection between his tablet and the Raspberry Pi. From there it was a simple matter of using GPIO to turn a lamp or fan on or off. I did the whole thing in C, even the socket programming on the Pi.
As I was finishing up the main control of the program on the Pi I realized that I need to be more certain of this than anything I've ever done before.
If something breaks, the client may be forced to go days without being able to turn his room light on, or his fan off.
Understand he is totally trapped in his own body so it's not like he can simply turn the fan off. The nursing staff are not particularly helpful and his wife is tied up a lot with work and their two small children so she can't spend all day every day doting on him.
Think of how annoying it is when you're trying to sleep and someone turns the light on in your room; now imagine you can't turn it off yourself, and it would take you about twenty minutes to tell someone to turn it off -- that is once you get their attention, again without being able to move any part of your body except your eyes.
As programmers and devs, it's a skill to do thorough testing and iron-out all the bugs. It is an entirely different experience when your client will be depending on what you're doing to drastically improve his quality of life, by being able to control his comfort level directly without relying on others -- that is, to do the simplest of tasks that we all take for granted.
Giving this man some independence back to his life is a huge honor; however, it carries the burden of knowing that I need to be damned confident in what I am doing, and that I have designed the system to recover from any catastrophe as quickly as possible.
In case you were wondering how I did it all: The Pi launches a wrapper for the socket connection on boot.
The wrapper launches the actual socket connection in a child process, then waits for it to exit. When the socket connection exits, the wrapper analyzes the cause for the exit.
If the socket connection exited safely -- by passing a special command from the tablet to the Pi -- then the wrapper exits the main function, which allows updating the Pi. If the socket connection exited unexpectedly, then the Pi reboots automatically -- which is the fastest way to return functionality and to safeguard against any resource leaks.
The socket program itself launches its own child process, which is an executable on the Pi. The data sent by the tablet is the name of the executable on the Pi. This allows a dynamic number of programs that can be controlled from the tablet, without having to reprogram the Pi, except for loding the executable onto it. If this child of the socket program fails, it will not disrupt its parent process, which is the socket program itself.13 -
I accidentally washed my headphones along with my clothes last night. One side has lost all bass 😢
On the plus side, they smell amazing.17 -
Launched a CMS-site for a customer, created a 5-page "manual" (with screenshots) on how to update basic things like adding/removing employees from the site. One week later, I receive an email: "Could you please remove Paula from our site?"... Sure, it'll take me 2 minutes and you'll be billed for half an hour instead of you just RTFM!6
-
When you copy some code and select the code you want to get replaced and accidentally press Ctrl+c again so you have to copy the thing you wanted to copy again 😡12
-
projektaquarius's quotes to live by:
"Let it be known that I raised my concerns, then did it anyway" -
So today I inherited an iPhone app written for iPhones 3 & 4 in Objective-C.
I am facing two not so unique problems:
1. I hate Objective-C so I quickly converted it to Swift but as expected I created a tonne of errors and warnings that I am working through
2. The developer(s) didn't think it important enough to leave a solitary comment explaining what the hell they were doing.
So looking forward to a few weeks of swearing and getting myself all upset trying to get this app to work in a complete information black hole.3 -
So I am going from tje otjer side for this weeks rant:
So i my school we had this teacher who was also our network admin. A great deal of knowledge, always bussy and had to listen to shit people messed up with their configs and network settings but was never grumpy and always friendly. He did a great job teaching and keeping the network up and running (for which he didn`t even get paid in full)
So my gratest respects and tribute to him in this weekly rant -
What piece of advice u can give to a couple who are developer and getting married.
*Don't forget to COMMIT*2