Details
-
AboutCurrently working in embedded systems. Also likes to reverse engineer stuff.
Joined devRant on 8/19/2017
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've recently created a polynomial library as a learning experience. I feel like its very badly coded, since I'm a beginner, would someone be happy to check it out and maybe recommend some ways I can improve it or different ways I can do something. That would be helpful
(I've used C#)
https://github.com/AwkwardBanana/...6 -
When working in embedded, you basically write your program, compile it and flash it on some hardware.
Compiling and flashing usually require some black magic commands with lots of parameters so i set up two shortcuts in my terminal
yolo to compile
swag to flash
Understandably i keep it to myself1 -
*receives an old business laptop as payment for refurbishing another one*
Hmm, this thing doesn't have a charger with it.. looks like it's taking 18.5V.. my HP laptop's charger supplies that but its barrel connector doesn't fit 🤔
Regular users: oh dear now I have to buy a charger with a fitting connector for this.. where do I even start?!
Me: Well I guess I could just remove the charging port and solder some wires straight into the board instead 🤔
But that voltage.. my HP laptop's charger is still in use and I don't really want to fuck around with that one.
Regular users: oh dear oh dear, shouldn't I just throw this laptop away?
Me: well I guess that I could just use one of the rails of my upgraded lab bench power supply for it?
Lab electronics saving the day, every day, time and time again.. fuck yeah 😎6 -
A time I (almost) screamed at co-worker?
Too many times to keep up with.
Majority of time its code like ..
try
{
using (var connection = new SqlConnection(connectionString))
{
// data access code that does stuff
}
catch (Exception e)
{
// Various ways of dealing with the error such as ..
Console.WriteLine("Here");
ShowMessage("An error occured.");
return false;
// or do nothing.
}
}
Range of excuses
- Users can't do anything about the error, so why do or show them anything?
- I'll fix the errors later
- Handling the errors were not in the end-user specification. If you want it, you'll have to perform a cost/benefit analysis, get the changes approved by the board in writing, placed in the project priority queue ...etc..etc
- I don't know.
- Users were tired of seeing database timeout errors, deadlocks, primary key violations, etc, so I fixed the problem.
On my tip of my tongue are rages of ..
"I'm going to trade you for a donkey, and shoot the donkey!"
or
"You are about as useful as a sack full of possum heads."
I haven't cast those stones (yet). I'll eventually run across my code that looks exactly like that.1 -
Heyyyy, I just found out about https://myactivity.google.com !
Yeah, that thing is scary. And yes, I was able to see what I searched when I met my girlfriend or when I still was in high school. This thing remembers more about me than I do...
So yeah, I'll try to drop everything GAFAM-related within the next months.15 -
Question: I'd like to choose a new distro for my surface.
Although I do shitloads of terminal stuff, I'm an eye candy lover. Debian based please :)
I can deal with problems myself if they occur.
Anyone any ideas? (KDE neon/kubuntu/nitrux/mint have already been tried)15 -
Attention Irish developers.
What's the pay like for developers in Ireland compared to the cost of living?
I have been offered a job there with migration support, but I don't want to go be poor in another country when I have it pretty good in my homeland. Also, what is the industry like, is there a healthy work life balance?2 -
For the past month my phone has been unlocking really slow. I thought it was just software or the hardware starting to fail.
I finally decided to put my Professional Googling (read: Computer Science) degree to work and instantly found out it was because I had a slow 128gb SD card in it.
Removed it and everything is tip top now.1 -
We were in a group project with about 7 people.
One of the guys who ran windows needed to work with arduino and couldn't get it to work after hours of trying.
I suggested Ubuntu and they immediately started to bash me for being 'that linux nazi'.
"shut your cock sucking mouths. I'm not a fucking linux nazi, at least give it a fucking shot."
Well, it worked from the first second.
Fuck those cock suckers26