Details
-
AboutNoob programer... Not really, have a few years of code but didn't code for a while... Now I'm back!
-
Skillsnot good at anything right now. I was really good at VB6 back when...
-
LocationPortugal
-
Website
Joined devRant on 4/26/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
-
Coding chalenge.
So... Spent almost two hours to put this little device to work with the keypad.
The device is a arduino micro, special one that can work as mouse /keyboard or any kind of input on most devices (pc, Android phone,...)
The objective is to make a macro keypad to:
- Fast insert text
- Play sounds in games over voice chat.
Think of it like this, you start a new html file, press one key and all the base code is inserted.
So... Why so long? Tought was the hardware, tought the keypad could be set differently that most, code mistakes...
My error was all here, masked from the debugger by a if:
char keys[ROWS][COLS] = {
{'1','2','3','4'},
{'5','6','7','8'},
{'9','10','11','12'},
{'13','14','15','16'}
};
Easy to figure right? Only saw it after reading all the code twice.9 -
So.. I had lots of jobs.
Since my 20s I picked mostly heavy work instead of intelectual work.
Went to the army, drove trucks, Cutted steel , worked a lot in were houses.
One of my jobs was cutting steel for the molding industry. I was replacing a guy who lost his finger in a saw.
Temp that was there for less then a year tought me so well in the first day, one year latter I was still working exactly has he tought me.
Best worker I ever saw, all movements were precise, exact measures to the mm, ways to do the work better and more precise...
Then proceeded to do shit, spent hours in the bathroom watching anime and playing on his phone.
Turns out he was already on his second year as a temp (wich is illegal in my country, can only do 1 year as a temp), and to make a contract the company wanted to pay even less then minimum wage.
Leaving me doing all the work.
So.. I broke my back, stopped working and as a thanks (I was still a temp and was already at the end of my second year) they just finish my contract.
One year after, the guy I went to replace got fired because couldn't do the work as me or my pro college.
My pro college got a better job.
Now I usually work in the molding industry and many of the companies I used to cut steel to changed suppliers because they started to have problems with that one. Like blocks of steel smaller that what they needed....
To bad this guy wasn't in a manager position... His the kind of guy professionals want as a boss -
Ok... Can someone explain me this?
Happen a few weeks ago.
My pc would crach on any 3D program or game.
Did some tests, was the graphic card.
Send it to repair (amd, Asus made)
Placed my old Nvidia, installed drivers all good.
My new card came, nothing repaired, nothing found, passed all stress tests.
Placed the card back ok, no OS.
Bios detects both ssds but don't start (windows 10.... Ya tryed Linux but doesn't work for my main past time in pc, Arma 3).
Loaded the USB with the windows instalation, used command line drive C is completely empty but has 160gb used.
Ended ip formating.
GC works perfectly.
So... Wtf happen?12 -
First day of vacation, on a remote village cause of covid, after months of doing nothing special I made this :D
It's a keyboard to do combinations of keys (prototype) ...
Well, I made it to play sound effects in games (on voice chat)....
Ya, having a burn out fucks your motivation. At least I did something2 -
Hey guys :D So, finally I have to build a website for a service. That means setting up a server and all that stuff...
What servers do you recommend? Also service for DNS?
Thanks :D16 -
Hey guys...
Looking for a Framework or language that has:
- multi-platform (Windows + Android minimum)
- Easy to design GUI
- Native
- Can use file databases like SQLite
- Can use serial, BT, Wi-Fi to send-receive data.
I already used Python + Kivy but I think there must be easier frameworks for this...22 -
Cnc v0.5 done.
Still needs a few fixes but I can engrave my DevRant Hello World.
Needs a bigger table (and Visor), new spindle (fried the one I bough, using a very old scarvanged for now)
You guys like?27 -
Got fired.
Fuck
3 days on the job...
Told on the interview I didn't know the machine OS but I could learn in a few days...
Well they want someone with experience on that machines I don't know...
It's like asking a Javascript programmer to work with Java...
Whatever...
There are more companies13 -
Hey guys...
So...
Today was my first day in a Molding Company (CNC operator)... IT was fine, I barely could hold on physically but I did it :D In less than two weeks I'll be operating my 3 new machines like a PRO.
But that's not the full story... I came home, my dad calls me, and has a mold drawn on paper (2D) for me to model in 3D and print... lol.
I'm proud, not just because I got a new job at first try, now just because my dad asks me to build stuff, but Also because my dad is a DIY guy with lotssss of experience... And now he's the one asking for help, opinions, how to do something...2 -
Damn computer.
Hey guys!
Have a problem with my custom made desktop.
On games, after 5, 10, 20 minutes the PC freezes and I have to restart.
It's not the graphics card, but I think the CPU is overheating.
It's a new i5 8gen Hexacore, shouldn't be overheating.
Any tools I could use to diagnose what is happening?
Thanks6 -
!rant
Hey guys, sorry for disappearing... I haven't been in my good days lately.
Other than that... two days ago I said fuck you to my burn out, got tired of doing nothing and start job hunting.
Yesterday I've sent 3 e-mails.
Today I got phone calls for 2 Interviews.
That's the good part of being good at a specialized job :D2 -
#arduino #led matrix
Hey guys.
So, this is my first led matrix using a 74hc595n, I did all the connections right, isolated the cathodes (-), and when I tested, I only connected one cathode (to test one row, when almost all the lights turned on, in all rows doing a chacing... So I disconnected the negative wire and it still works.
One led in the arduino blinks (L).
GND is only connected to the shift register
All the rows light up doing a colum chase when there is no negative.
I'm astowned.....3 -
#eletrónics, #power suply
Hey guys, I have a question about power.
I converted a 400w power suply into a power suply for my projects.
With more than 10amps per wire can I use the 5 volts to power stuff like my phone or Will it burn?
Also it gives 5.3v is that a problem?3 -
3d Prints.
So... At this time we think that everything is already invented...
And I keep making new stuff...
New Idea, mini vacuum cleaner... only found one design online and was so badly done... So I made mine.
Happens all the time... Search, nothing I like, do it myself. And worst, I'm not even good at CAD programs lol.
Any Ideas for tools to make?4 -
Hey guys.
So, I have a new printer for parts.
Question, what type of glass does scanner uses? Does it have some special treatment or is it normal glass? Thanks8 -
Trying to create something, after 2 months without any energy...
A simple project, a Joule thief...
damn fucking thing isn't working BAHHHH!!!!!!!!!!!!!!1 -
Hey guys.
I would like to share a video clip with you guys, about the burning of one of the biggest Portuguese forests with 800 years old.
It's mostly in Portuguese and sign language but the images speak all.
I prefer the first video:
https://youtu.be/_gH_ZGJ5yq4
https://youtu.be/ndLvN4cnmAc4 -
sudo apt-get update year
Appy new year guys.
I know I've been away but I will be back when I get better.5 -
CNC software
Hey guys
what do you guys use to control your DIY CNCs?
I'm using UGS, Universal Gcode Platform, but it has a slight problem... doesn't work with functions.
Meaning, I just had to write a 75 lines program that could be an 8 line program If I could use loops and GOTO...
Also, what CAM software do you use?13 -
Fuckkkkk.
Do you remember the formation I was going to take? Eletrónics, robotics and computers... It has been delayed again because there isn't enough people....
No one wants a job in the area where the future lies... Stupid, stupid people.