AboutIm a 21 y.o. embedded dude working mostly with Python and C/C++. Oh, and I use Mint.
SkillsPython, PyQt, C/C++, AVR, Electronics, PCB-Design, PCBA, Just enough Django/Rails for basic websites, HTML, A bit of JS Also at all of these I'm mediocre at best.
Joined devRant on 8/30/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
I really like that a lot of people in construction work just dont take anyones bullshit. If someone fucks up, it gets fixed. Sometimes with a lot of cussing.
Meanwhile as a programmer if you call out anyone or anything for doing something wrong, you get immediate backlash cause of it. Its a lot like that you are the problem for calling it out and not the one who caused the problem in the first place.6
So I got a large speeding ticket last July where I was supposed to have my license suspended for a month. A few weeks later it turned out to just be a fine.
AND NOW! SIX FUCKING MONTS LATER! They send me a letter again that my license will be suspended anyway! Well now I can either eat dick by essetially having to use 2h public transport to get to work. (would be a 30min drive) Or grind my teeth out at the local police station to get the measured speed down by 1 Kmh which would (by law) result in me having only the already paid fine.
At the moment I want to give the latter a try.
Now, I know I was definetly speeding back then as I was overtaking a lorry. But the measured speed seems excessive for a ~70hp car. Which might get them to reconsider.15
Ok who the fuck set up the test alarm of the county voluntary fire department.
Its literally a random number calling you that when you pick it up plays a police siren.
Any person who doesn't know what the fuck this is, hangs up thinking what the hell was that.2
The Microchip LAN7850 is a USB 2.0 to 10/100/1000 Ethernet controller. I wonder how they manage a gigabit connection over USB 2.0 which maxes out at 480MBit. *Thinking Emoji*7
So I got a new laptop today. (Not the one from a previous rant. I cancelled that one) Aaaaaannnndddd touch is completely fucked. On Windows it worked like 25% of the time, Mint doesnt work at all and Ubuntu works like 80% of the time. It feels like the panel gets disconnected at random but thats rather unlikely or the driver is fucked and locks up in a crash sometime. Man I really wish I had the time to dig deeper but I have other things on my plate rn.
Also the latency is kinda odd: Windows has the mouse more than a centimeter away from a moving pen and Ubuntu has it at roughly 3mm.3
FFUUUuucccckkk me sideways. So I decided to look into USB type-c's power delivery and alt modes. Cause I kinda want to make an adapter card to run my displays over a single cable. TLDR of the rest: USB-C has some huge capabilities which noone is interested in using since its way to complex to handle for what its worth in the end.
Now PD alone is kinda ok to deal with since a lot of powerbanks use it and some hobby guys documented how to work with it. I find it really odd thou that you NEED to use a dedicated IC for using the configuration chanel to negotiate how much power you can draw. Why the USB standard didnt use some simple 5V low speed signalling? Also the standard says that you only have to implement 5v 0.6A with every other power level being optional. (This is also true for cables. Most manufacturers use only the USB 2.0 standard for them and brag about how fast type-C is. ლ(ಠ益ಠლ) )
Now to the alt modes. These motherfuckers are a real shitshow to deal with. First you need a Mux to deal with USB-C's two way insertion, so your signals wont get flipped. Next thing is that you have four lanes at your disposal in alt mode. Which you can either use for four Display Port Lanes or two DP lanes and two USB 3.0 lanes. (You always get USB 2.0) Now you may think that there would be one simple chip to do it all? Nope you need atleast two at the price of 6$ each. One for PD and one for Alt modes. Both are very hard to solder (QFN, 0.5 mm pitch 40+ pins) TI ended up being the only one with a decent offering of IC's that do what I need. As for working with them, you would think that you just slap a simple MCU on there that communicates over I2C or SPI to configure the chips? Nope! You program the chips memory from which it configures itsself. And the programming is done with some TI tool which gives me no idea as to how you can handle everything whith no control logic behind it.
Looking into alternative IC's leaves me with cypress semi. And their documentation is basically a total mess. I wanna know what that chip is good for and what I need to do to make it work. I dont care about technical details mixed with marketing jargon nobody understands. And I really despise that I have to register just to download a datasheet. Especially since there is no info about it on the main page.
And this whole rant hasnt even touched the topic that USB-C only uses DP and nothing else. So you better hope that you have DP++ so you can use a passive conversion.
This was my Ted Talk about USB-C. Some info in it may be subject to my stupidity and errors as it currently is 02:15 in the morning and I need some sleep.14
Bought new laptop, in stock.
Eta: 10. Dec
28. Dec comes and order has not shipped.
Ask support whats up. Their answer was, that they have supplier issues for an in stock item?!??!14
So this one dude at my school asked at a student conference, if they could swap Google for Ecosia as the search engine for all school computers. This ended up becoming an actual thing there a year after my graduation.
Imagine if a lot of other schools would do that too? Planting trees and ditching a monopoly, because one simple change from the IT department.1
Just had an argument with someone who thinks (micro)python is the way to go for embedded projects. Cause a lot of engineers are terrible at using C/C++. And their argumets for optimisation and granular controll over what the processor does is not necessary.
Its utterly wrong to push technologies into areas for which they werent originally designed for. We've seen it alot with websites lately and I dont like that embedded is heading the same way!18
Whose fucking idea was it to still consider assembly (with C being optional) as the most relevant language in electrical engineering school?
Also teaching like 74HC and Op-Amp IC's are still the most common thing in todays electronis is really grinding my gears!!! Is it still an argument that your 8 NAND gates are essentially the same price as a low cost Microcontroller?
But one can be modified within second and the other you potentially need to redesign the entire board.14
Anyone here familiar with the LibreOffice codebase? Cause I want to modify Math to be used as a formula database.1
Google can you fucking not just kill off random projects that still have a very active userbase!!!
I know you want to merge the play music streaming with youtube music. But that is no reason to kill off the default music player on Android. Cause, y'know, A FUCKTONNE OF PPL STILL USE OFFLINE MUSIC!!!!
And to add more insult to this, Play Music is a default app on pretty much all Android phones. This means it cannot be uninstalled at all. (Unless you root) So thanks for the waste of space!!!17
Alot of hacks around here!
An extract of some of those:
-Couldn't time the shutter right when photographing lightning. Used my oscilloscope to measure its electrical influence and anytime a peak is detected, it actuates the shutter.
-Using a lock as a heatsink for a overheating display driver ic.
-Hacking two USB ports together to get more power.
-Display module was too tall with header pins. Moved its back components to the main board and soldered the module flat onto it by flowing solder down its connecting holes.
-Not me but still interesting: Back on ye olde times when paid tv contained a disruptive H or VSYNC signal only their paid tv box could filter, my electronics prof. analyzed it and built the required comb filter on his own. Even sold some on the black market.
Ebay is a huge pile of freshly juiced garbage.
Their settings menu looks like its from 2005. And when it looks halfway decent the CSS doesnt load cause you have do not track enabled.
If you go to write their support, it returns an unexpected error.
when you use the shopping cart the number of items you have in it is not the same as the number it says that you have in it. And when you want to checkout that cart, not all items show up on the payment screen. Despite the item being shippable.
And the worst thing of them all: IF YOU THEN CHECK OUT ALL THESE ITEMS IT MAKES AN INDIVIDUAL TRANSACTION FOR EACH ONE. THUS THE FRAUD DETECTION OF THE CARD BLOCKS THE CARD, CAUSE TOO MANY TRANSACTIONS HAPPEND AT ONCE!2
FFS! Some of my friends convinced me to get Instagram half a year ago despite me absolutly hating it. And now I apparently have a stalking problem at my hand cause of it.
Not that some of my friends would stalk me but some brain damaged dude I had the unfortunate pleasure to meet four years ago. Had blocked him back then but he somehow found my account despite no personal info on it.12
TFW your company does a security test by sending out a mystery link to everyone which tracks how many people have clicked it and then just redirects to "Never gonna give you up"!4
This MOTHERFUCKER was hiding from me for three FUCKING DAYS now! All the damn time I had corrupt display memory cause of it!
Context: CS and DC were accidentally swapped on the PCB! Not a hardware issue thou. The pins can be remapped in software.9
First there was Lo-Fi hip-hop then it started with Merkelwave and now there is Code-Fi. It just like Lo-Fi but for programmers.
Sometimes I really wonder what the hell is going on on the internet today.4
Can we please stop using continuous delivery on mobile. I don't want to update your app every other week just because you decided to change a comment.
Also Bugfixes and improvements doesn't say anything as a changelog!6
So ill be offline then, see ya guys sometime in the future. Ill also be deleting some posts that i think are shit.1
So the new Arduino Portenta h7 is programmable in JS. Some people just want to watch the world burn!5
So there is me, a junior who started half a year ago, my supervisor and a third guy who essentially run the hardware development department. The other dude just left for military service for 18 weeks. Which leaves me with his work. Running half the department as a junior...1
So this is a story all about how:
I went from my brother being asked to clone the disk of old laptop to a new one. My m.2 ssd being held in with duct tape because of it and me having to run a tar command that took over 5 hours to complete.
So my bro got asked by a friends mom to help her with "PC Problems". In short the old laptop was barely useable and they ordered a new one on the reccomendations of my brother. Turns out the laptop he recomended shoud have had a 1tb hdd in it. Instead it had a 256gb m.2. Note: The old disk was 500GB.
So cloning wasnt possible. He then told me, that they also bought a regular sata ssd which was supposed to go in instead of the non present hdd. So I <-Want to emphasize on this! went to work.
Ordered a ssd in the right form factor.
Made a disk image of the old HDD.
Had to drill out the screw holding in my m.2 ssd as it was stuck.
Its now held in with a piece of kepton tape.
Wrote old disk's image on new disk.
It doesnt boot in new laptop.
Spend an evening trying to rebuild boot partitions.
Fuck it, lets install windows 10 (instead of 7) and copy all the shit over manually!
Lets buy office for 30$ on g2a as it would be a pain in the ass to explain the that its normally a subscription.
Previous rant happend.
Brought them the laptop yesterday telling them I did all the work.
I collect the ssd they ordered explaing i ordered the correct one and would take tis one for me.
Still had the 500GB img file of the disk and wanted to compress it in order to put some data back in place.
The tar command took over 5 hours to complete! I havent checked on it yet as I went to sleep.
Me: *Wants to install Office trial to use a key to activate it*
Microshit: You're almost ready to use office. But we we need you to provide payment information to use the trial.
Me: This is one more reason to why a metric fuckton of ppl despise you, Microsoft!8