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 - "spi"
-
Client didn't pay?
Don't worry, I have come across this beautiful repo with a great idea :P
https://github.com/kleampa/not-paid14 -
I have this one friend who thinks he is a tech guru just because he plays video games a lot and started to study cs for one year. Now he got a job as sysadmin and it is funny to hear him brag about the job in front of non-tech people because he sounds like a CSI Cyber episode, just throwing tech words at the people and I know that he talks bullshit.
But I have to admit, he knows how to sell himself. Probably that's how he got the job in the first place because it cannot be his experience.
Yesterday he called me, to help him edit something on a linux server. I told him "To edit the file type 'vi FILENAME' and then you can edit. I have to go now, I have a meeting." :]22 -
When i was studying Engineering, I used to wonder how programmers works straight 3,4 days without sleep and all.
With today, I completed my 3rd day, with just 2 hours sleep in the last 70 hours.
Now I get it,
This is.. passion,
This is.. love,
This is Life.16 -
Got inspired by a rant and got something to make my desk at work more green.
What should I name him/her?30 -
First time in my life, I contributed to open source repo.
Feeling awesome. Yet to be merged with master.5 -
Everytime I have to execute several commands to do something, I tell myself:
I will write a script for that.
But now I have no time.
I will do it the next time.
I will never write these scripts.4 -
Part 2 of my boss's stupidity
~FreezeFrame.mp4
*Wait! Wait! Wait! What!?*
*You actually reinstated my class?*
~anotherReverseRecordSound.mp3
-------------
Another late night and another set of pulls I needed to do in order to get caught up with the rest of the world.
I had just finished up dealing with a strange bug and had finally fixed it.
"I need to get caught up with my boss," I thought to myself.
I quickly git pull from my boss and a merge conflict occurs.
"Oh, ok that's fine." I say, "that's nothing too odd."
~FreezeFrame.mp4
"Wait! Wait! Wait! What!?" I shouted inside my head
I couldn't believe what I was seeing, there was a huge chunk of code that was being completely replaced.
"You're actually reinstating my class?" I nearly shouted.
"What!?" my girlfriend shouts from the other room.
"Come here a second, let me show you what it is," I shout back.
She rushes in real quickly, and I point at the code that was being changed.
"Remember that really long ass rant I made about how my boss had completely removed all of my code because he thought it was spaghetti?" I said
"Yeah?" she replied quickly, visually astounded by my excitement.
"He fucking put my class back into the code!!!"
"Wow!... I guess you beat him, huh?" she said.
"You better fucking believe it, but you want to know what's worse?"
She cocked her head sideways, "what?"
"He fucking built it worse than my original! The names don't properly reflect what he is trying do and he's doing a failure job at trying to copy what I had done in my original. He clearly doesn't know about git revert" I said between bouts of laughter.
"This is too good, I'm putting this on devRant!" I said
"I'm not in the least bit surprised that you would." She replied back.
Related Rant:
https://devrant.com/rants/1001888/...undefined beat them at their game don't even call my code shit who's right and who's wrong i know what i said16 -
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
So far, this is my inspiration to refactoring the code right after it works as gift to my future self.8 -
Just thought I'd share my current project: Taking an old ISA sound card I got off eBay and wiring it up to an Arduino to control its OPL3 synth from a MIDI keyboard. I have it mostly working now.
No intention to play audio samples, so I've not bothered with any of the DMA stuff - just MIDI (MPU-401 UART) and OPL3.
It has involved learning the pinout of the ISA bus connectors, figuring out which ones are actually used for this card, ignoring the standards a little (hello, amplifier chip that is wired up to the +12V line but which still happily works at +5V...)
Most of the wires going to it are for each bit of the 16-bit address and 8-bit data. Using a couple of shift registers for the address, and a universal shift register for the data. Wrote some fairly primitive ISA bus read/write code, but it was really slow. Eventually found out about SPI and re-wrote the code to use that and it became very fast. Had trouble with some timings, fixed those.
The card is an ISA Plug and Play card, meaning before I could use it I had to tell it what resources to use. Linux driver code and some reverse-engineering of the official Windows/DOS drivers got me past this stage.
Wired up IRQ 5 to an Arduino interrupt to deal with incoming MIDI data, with a routine that buffers it. Ran into trouble with the interrupt happening during I/O and needing to do some I/O inside the handler and had to set a flag to decide whether to disable/re-enable interrupts during I/O.
It looks like total chaos, but the various wires going across the breadboard are mainly to make it easier to deal with the 16-bit address and 8-bit data lines. The LEDs were initially used to check what addresses/data were being sent, but now only one of them is connected and indicates when the interrupt handler is executing.
There's still a lot to do after that though - MIDI and OPL3 are two completely different things so I had to write some code to manage the different "channels" of the OPL3 chip. I have it playing multiple notes at the same time but need to make it able to control the various settings over MIDI. Eventually I might add some physical controls to it and get a PCB made.
The fun part is, I only vaguely know what I'm doing with the electronics side of this. I didn't know what a "shift register" was before this project, nor anything about the workings of the ISA bus. I knew a bit about MIDI (both the protocol and generally how the MPU-401 UART works) along with the operation of a sound card from a driver/software perspective, but everything else is pretty new to me.
As a useful little extra, I made some "fake" components that I can build the software against on a PC, to run some tests before uploading it to the Arduino (mostly just prints out the addresses it is going to try and write to).46 -
What a shame with asus. You open a new bought laptop and you see some bunch of CDs but your laptop doesn't have the CD reader. Priceless... :)3
-
Tips for staying focused while wfh?
Telling the wife to stay away. At least twice a day I was sexually harassed. I can't go into details because I'm still traumatized.
If my daughter wasn't home schooled, I'm sure I would have been forced to um...uh...you know...while I was supposed to be working.
Wife: "Honey, quick, kill this spider!!"
<I run into the bedroom>
Me: "Where is the spi...why are you in the bed? No...no...NOOOOO!! I'm reporting you to HR!"
Wife: "Ha!..when you're working from home...I'm HR."12 -
In my office they forced us to use Darwin Box. We need to login and click on clock in once we come to office. Fucking irritated. Who the hell remembers to clock in.
I wrote a simple Python code to clock in and made it as launched jobs.
Automatic clock in. *No Worries* 😅
#ProudToBeDev
Here is github:: https://github.com/Gowtham95india/...5 -
You are all invited to the SPI-Party!!!!
*crying.... this is not my job, i am less than a noob around here 😭😭*12 -
Hey guys can someone help me to understand this ...
9\x96\x16\x90 \xAF\x7FAQ\x8C\xD6O)\xA1\x80\xFF\x193K\xF4\xF9v3G\x81\xA6T\x99\xADa\x94\xE5
One of the friend got a mail saying send solution to that particular one. That looks like encoded some shit.. :/ TIA19 -
Some nice person created a Github repo to show some usage examples for a service.
He is even nicer because, besides some example credentials, he added live credentials too.
But I think they are safe: he commented them out, so nobody can read them.2 -
Short story for the one interessed in the image: when we change idea we change the whole idea. And it is likely to happen very often. Sometimes twice a day, every day, for a week.
Long stort:
I am hopeless:
I am an IT university student, i know how to program and how to search for a fucking manual, but i am dealing with eletronics and PCB...
I have to make the firmware for a board (atmel things) and it have to talk via spi with some other devices (it is slave of one, and master for all the others(i will use two spi channels)), this should be easy...
I am have no senior to ask to, all i have is google and i found problems in every thing i try to do, every - fucking - single - one!!!! I know that the solution is always of the "you have to plug it in" type, but
NEITHER GOOGLE IS BEING OF HELP!
Let me explain this morning pain:
i can't add libraries in atmel studio, something wrong with the asf wizard, i have only found a tutorial that says what buttons press to solve my problem... I DO NOT HAVE THIS BUTTONS!!!
And the library i wanted to add is the one to make the board talk with the computer on his COM port... (And have some debug message...)
And the wizard gives problem because i created the project using an online atmel tool...
YES, i tried to create a project with asf and then add the files given by the online tool.... THEY DO NOT COMPILE, I SHOULD HAVE TO MESS WITH A 400 LINES LONG MAKEFILE, that is anything but human readable...
I haven't even look for anything spi related this morning
I am even forced to use windows, because every question in the forums, or every noobbish tutorial is based on it...
And then i find the tutorial with the perfect title, holy shit this is the thing i truly need!!!!! It says how to open a file. And then stops. WHAT ABOUT THE THING YOU WERE TALKING ABOUT IN THE TITLE??????
This project is the upgrade of a glue-pump based on an atmega328 (arduino uno processor), that is currently being produced and sold by our "company" .... .... That is composed by me and the boss.
He is a very nice and and smart person, he tries to give me ideas for the solution, if i cannot find out how to do something we can even change a lot of specifics of the project (the image shows our idea-change) and every board has some weeks of mornings like the one described above (i work only in the morning).
I am learning a very lot of things...
But the fact that every thins i try fails is destroying me, what would you do in my place?
Ps. Lot lf love for the ones who made it until the end <36 -
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 -
I was not having much respect for out front-end developer, as the UI is not so good., yea. I know it UI depends on the designer.
Now the new design changed and our UI looks awesome.,
and I must say that my respect increased a lot when my pm asked him to fix the layout in UC Browser.
Fucking shit., in UC it is showing two lanes as one lane. I don't know why., he was working hard to fix that.
Massive Respect to him. I really happy by being backend dev.8 -
With all this fuckery around master/main nameing, I wonder what all those people, who are for the renaming, think of the SPI-Bus.
Its pinout is normally:
SCK: Clock line
MOSI: Master out slave In
MISO: Master in slave out
SS/CS: Slave or chip select5 -
@dfox
You put that little horizontal scroll bar or you seriously wanted to troll us?
Thinking it's a side bar, I tried literally 5-6 times and then I gave up.8 -
Client writes a bug report: This and that doesn't work.
Me: This functionality never was implemented. Please open a feature request.
Client: But this is a bug. Without this feature, the service won't work as we expect.
Me: But this wasn't in the requirements for release. So you have to contact the PM for a feature request.
Client: THIS IS A BUG! FIX IT!
Me: GO FUCK YOURSELF! THIS IS A NEW FEATURE AND YOU HAVE TO PAY FOR IT!
Unfortunately, I never sent the mail. But I kept it in the drafts. Maybe someday...1 -
I was having fun, when I aliased my co worker cd="exit", he spent his whole day on fixing it and decided to install os again. damn poor :/8
-
Unfortunately, I was causing the bad experience of the group project.
Had a 3D modelling class at university. I was totally overwhelmed and had no time to do anything for the project. I was too scared to face my team so I decided to just break the contact and didn't show up to the presentation.
I thought I would get a bad grade and that I will have to take the class the next year again.
But the worst part is, I got a better grade than the rest of the team because someone did the part, I was responsible for, so well.
I felt so bad for my behaviour, I cut my hair and shaved and hoped they won't recognize me at the university.
I'm sure there are or will be some rants about me this week -.-'3 -
Woke up an hour early today.
I could get up and be at work early, so I can leave earlier to use the afternoon on this nice spring day.
Or I could go back to sleep because I'm still a little bit tired.
-> Scrolling through devRant an hour and a half. -
My setup at work and at home. I'm using Ubuntu on both.
I hardly use my desk at Home. Most of the time I'm using the notebook while I'm watching TV.3 -
DEBUGGING ARDUINO IS A FUCKING PAIN WHYYYYY
FUCK THIS PROJECT
FUCK SPI
FUCK I2C
FUCK JTAG
FUCK PROPRIETARY DEBUG HEADERS
FUCK USBTINY
FUCK AVRDUDE23 -
Non-techie friend: Does Blu-ray Compact disc will be blue in color or contains blue films ( In India we use blue films to refer porn movies ) ?
Me: :/6 -
Fuck.
I don’t know why, but I can literally call another Arduino and tell it to load sata from a fucking SD card but can’t show the word “MEM” on my SPI-controlled screen... what the fuck5 -
Macbooks are fast because of it's hardware ?
If so, I'm I'll install linux in my MacBook air (given by company).
What do you suggest ?16 -
Today I am thankful that at my company, nobody is going to get offended during code reviews when they see my SPI driver using terms like master/slave. GG company!
-
So our new hardware guy who is being managed by our lead embedded developer had the task of designing me an expansion board for my Linux board. The Linux board uses the 40 pin expansion like the raspberry, bananna and orange pi family and as you all know there are many different types of expansion boards for this.
I said at the start come to me and tell me what you want to connect to before deciding which pin you connect to so it is less work for me with Linux board configs and drivers.............
No no no we will sort it all... erm.....
So today they come ask me if they can use an SPI port for GPIO and I am like erm... why there is plenty of GPIO...
It turns out they have been designing the board based on the pin outs of an expansion board and not the actual connector of the Linux board.. I mean seriously WTF!1 -
Four and half months,
Hundreds of hundreds PRs and one additional product cluster
By 6 Engineers..
To 500+ micro services
Which has no timezone or currency context,
Created by 250+ engineers,
To launch in a new country...
It didn't make me happy.
But the feedback from customers and drivers is priceless and #heartwhelming14 -
I would like to get a little bit into functional programming.
Do you have any language suggestions to learn?14 -
Working on a project with tests is so nice.
I love tests. Well, I hate making them, but now refactoring is so easy :] -
I think I understand now why people who mastered vim recommend it.
It is so comfortable to not have to move your hands away from the writing position when you want to navigate through code.
I would really like to enable the vim keys plugin for my IDE but I think it would slow me down a lot because I'm so used to a lot of shortcuts in the IDE and not used to a lot of vim stuff -.-4 -
Android is fucking fucked up.
Why the fuck it takes so much of time to build. And trust me,
React + Android is the worst combination. Can't even understand what the fuck it is trying to say?
And sometimes, no body knows what is wrong with something. Seriously look at the picture, that's the solution sent by the Android lead.
Did you realize the repeatedly at the end. 🦆 What try 🦆 dude.
Fuck. I'm ain't gonna work on this after this project.9 -
The time at university I was kind of burned out all the time.
I was far away from being a hard-working student, I needed more than double time to finish, but I constantly had a feeling of being stressed.
My free time never felt like free time because I thought I should learn/do something for the university.
Now at work, I can spend my free time without feeling guilty. Sure, I also have to think about problems at work sometime and I still should learn something to get better, but now I can focus on stuff I'm really interested in.2 -
This is really awesome ! First time I saw devRant I thought that hardly anyone is checking this out but with every day I see so many new, great rants !2
-
Am I the only one who gets intimidated when shit its roof?
Yesterday, during crucial business hours, one of the major OMS db column type got overflowed. Caused around 30 mins downtime and then later, pool of all connections with high concurrent requests flushed down stream which caused thunder herd.
One by one.. all services went down; Fucking java service couldn't even start because of load..
This is the moment I fell in love with GoLang. We shard request using GoLang service, it just started and picked up the load beautifully..
At the end, it is around 6 millions business loss, but a good lesson learned :) -
After working with a coworker on some odd issues, I finally decided to check on the actual ticket he needed assistance with.
From now on, we will optimize our HTML for aesthetic appeal in Chrome's dev tools. display:none is verboten.
Sometimes I wonder if I've had a stroke or if I've died and am in purgatory. -
I can't make progress on my private project.
I just started and already refactoring my code.
Yesterday I started to refactor my tests -.-'
I'm sure I will lose the interest in this project because I start a new one I can refactor to death.8 -
I already ranted about this particular designer and his need to mess with the client's server configurations.
Last time he thought it would be a good idea to use cloudflare for the 1 visitor per day website. And because he missed adding some important subdomains, the admin and register page didn't work. And oc the client called me in the night and during work because I destroyed her system.
And the worst is that this designer tries to redesign everything for 3 years. Every time he sends me new stuff, something is missing. Then I write him, that xyz is missing and he doesn't respond for months. Then the client calls me, why I still didn't finish the redesign and I have to discuss with her about the designer missed something. Then the designer writes the next time, that he will send me new stuff because the design will change again.
Oh, and I already wrote, that the designer is the client's boyfriend, so he probably sits beside her when I have to defend myself about not being able to finish the redesign.1 -
My dream project is to build my own analytics system and project on monitors which basically says everything live users on site, what every user is doing... where my site is failing etc...
Fortunately I'm solely working on it and implementing in the company I work. So, in couple of months it is going to be realistic.
#awesome #analytics2 -
What (music) are you listening to at work?
Most of the time I need music to get in a kind of flow during coding.
Sometimes I listen to some podcasts or have a documentary running.
Fortunately, my bosses are quite tolerant.13 -
Am I Data Engineer or Software Development Engineer ?
I design the infrastructure for analytics data, and I build the infra entirely including an development. Except making reports out of the data.
What I'm supposed to be called ?
Data Engineer ?
Software Development Engineer ?
Definitely not an Data Scientist. Official designation given by company is Data Engineer II. But what I'm ?
Confused, someone help me please.5 -
It sucks, when your clients live in a different timezone and they start to work and complaining about things just when you want to leave the office.
-
When I started with PHP I had to implement an administration system for a small organization.
They using the smallest and most cheap web hosting to host the system and also their websites.
They host three systems and websites on three different web spaces.
Some weeks ago I got a call from them, that the system doesn't work. After a short investigation, I discovered that their '"designer"/boyfriend-of-the-boss created a new Wordpress site and thought it would be a good idea to change the PHP system to 7.2. The system runs on an old CakePHP (don't kill me for that, I had no experience -.-') version, which does't work with PHP 7.2.
I told them what the issue was and that they shouldn't change the PHP version to 7.2 because the system won't run on this version.
Some a week later, the same call, another administration system, the same reason, the same warning from my site.
Today, the third system doesn't work. I told them this is probably the PHP 7.2 problem again and explained, how they could resolve it themselves.
Suddenly I got an email from the designer: no, this time it is another problem, he didn't change anything and it just doesn't work anymore. And it is very urgent.
Guess what was the problem...AGAIN! -
Project for a client, release date: tomorrow.
We handed over the project two weeks ago, for their QA to test everything.
Guess when they complained about having no access.
Hint: it's today1 -
Good to see people are learning and don't use hard coded credentials and store them in the DB.
Now they just have to quit putting them into migration files -
I would like to switch to english keyboard layout (currently german).
Do you have any tips for not raging the first months, because of all the miss-typing?
Especially with german hardware keyboard, so I can't even cheat.2 -
fuck the guy that writed the api that I consume at my company
he's not the worst guy ever, and he might be going through some stuff in life, or maybe he's just happy. There's no way to know actually.
but fuck him. fuck this fucking guy. fuck him with a thousnd dicks.
this guy defends his postures on the api like this thing was fucking sacred and masterly designed ok?
if I ask him to change one url's method from get to post so that I can send more longer data for the request, he comments "i cant believe they still haven't figured out a get request with a body". I appreciate him caring abkut the correctness.
but this is the same piece of shit that makes NOOO fucking validations on whatever I send to it. I get 500 for fucking EVERYTHING.
And if he does 400, the actual response messages are garbage, the same fucking text with no explanation.
FUCK YOU!!!!!!
I hate the way he structures the names of the url and the parameters, sometimes I have to send arrays of strings, other times arrays of objects, the naming is garbage and INCOSISTENT.
And when we asked him to do the API dotnet core, he was like "nah" FUCK YOU FOR USING SOON TO OBSOLETE TECHNOLOGIES!!!
THIS PIECE OF SHIT IS SLOW, because a coworker did another spi in core and the response times are hugely better.
I wouldnt mind if he was 100% of the time careless, but he actually makes a stand for his ideas, as if he actually gave two shits.
he's actually an ok guy though but... fuck hiim!!!! ive been holding onto this for a while... and I'm sure I have some flaws too.7 -
TIL
Normalization of deviance—the idea that over time we can become so accustomed to things being wrong that we start to accept them as being normal and not a problem.
#StandForWhatYouBelieve2 -
What I absolutely hate the most of my workflow is to hand over my code for review to other developers.
I know it is important to prevent errors and to get feedback from them to improve, but I'm far from being self-confident and I'm afraid of showing others my work, regardless of the fact that nobody said anything mean about my work.3 -
Hey Fellow devRanters in Jakarta, let's meet up!
Let's have our first devRant meeting?
And join here: https://t.me/joinchat/...26 -
As a developer, the longest I've worked in a row was 15 hours, from 8am to 11pm. We had to migrate/onboard a project and after we thought everything is done, the client told us about some extra functionality which was "urgent" and he couldn't tell us the months we prepared the migration -.- But it wasn't that hard and our boss was really nice. He stayed with us, even he couldn't really help us, bought us some Pizza, paid for taxis back home and we could stay home or come late to work the next day. And fortunately, that doesn't occur regularly in my company.3
-
After 3 weekends of headaches I finally managed to get the SD card reader to work.
Now, to understand fat...
A whole different story.5 -
Trying to get my SPI SD card reader to work with hwlib...
I can't get the fucking library to do what I want...
(I have to use it, it's a requirement for the project)
There goes my fucking weekend... -
!dev
I hate every private package delivery service!
I ordered two things from the same shop. The first delivery came on Monday and because I wasn't home I got a notice which said I have to get the package from the pickup shop right around the corner. So far, so good.
Second delivery should come on Wednesday. I wasn't home again, so I got a notice to get the delivery from the pick up store....30 MINUTES AWAY!
Because the delivery should be quite heavy, I organized a friend with a car to help me.
At the pickup store I I got the package and it wasn't as heavy as I expected.
At home I opened the package and noticed that stuff is missing. In my order email a discovered, that there should be two package.
Slightly pissed off I drove back to the pickup store to get the other package, but it wasn't there.
Because the the delivery guy brought it to another pickup store...30 MINUTES AWAY IN THE OPOSITE DIRECTION OF MY HOME! WITHOUT A NOTICE!
And of course the shop was closed at this time :[
This wasn't the first time stuff like this happened with private delivery services. I cannot understand why people are ranting about the state postal service and prefer those private companys.3 -
I was talking to my non tech friend, one friend of her who is working at one big kind of MNC (Mobile network companies) asked me what do you use in VFox.
I have no fucking idea what's VFox. I said I have no idea what is, we don't use it. He immediately asked me what technologies you guys are using (I am working in a startup)?
I said we are using Ruby, Ruby On Rails and Python, Djanho. He said you use all the old technologies.
I was like: WTF :😂, Okay tell me what are the new technologies? My friend interrupted us.
Later I googled to see what is VFox. It is actually a hosting company and this guy who don't even have any idea about AWS, GCP, using VFox saying Ruby and Python are old technologies. Lol.. -
The most work hours in a row n a non-dev job were 14 hours, but they were the hardest.
During University I worked in a warehouse once a week. It wasn't that bad and I could rest my brain for 8 hours. But around Christmas time they wanted me to do some extra work (as well as everybody else there). So I had to carry 20kg packages for 14 hours. Three days in a row from 7am to 9pm. I had two travel two hours to work and home again, so I had to get up around 4:30am and went to sleep at midnight. I'm so glad it was only a student job and I don't have to do this in my current job. And I feel sorry for all those warehouse workers, who had to do this regularly.1 -
Sites requiring a maximum password length, does it mean they store the passwords in clear text?
Or what would be a plausible explanation for this stupid requirement?4 -
I recently started to use automated tests for everything and it is really great to not worry about every little change anymore.
But I think I'm not very good at it. The tests themselves are quite slow and I'm not sure if I'm covering everything the right way. Also, I'm very slow at writing the test cases.
SO I want to learn more about it. Do you have any recommended books on this topic? Anything about unit or feature tests and TDD, language specific (PHP) or general is appreciated -
That was in the digitally-controlled analog equalizer I worked on (and still AM working on) with my dad, we kept sending something through the SPI line that was consistently sending clown vomit and corrupted data to the display and as a result my whole code was hanging and bootlooping like crazy.
The fix? No idea! Because I had (and still don't have) ANY step-based debugging, all I could do is try multiple ideas and see if one of them would stick. That ended up being the solution.
I still have a video of this issue, I just need to find it. I will post it here when I have it.3 -
Finally gifting my sister, on the occasion of my sisters recently born baby's 21st day..,
My old laptop with Linux installed and with an update to Samsung evo 860 ssd.
She is new to linux, not so new. Hope she will find good stuff to prepare for the next job as she is on maternity leave.1 -
Currently, I refactor some code in a private project at home. Yesterday I ran tests and some things didn't work I thought I already fixed. After I fixed them other things were broke and again errors felt familiar. With every fix and every new error I was more and more sure, I already did exactly the same things before. I thought, maybe it is a Déjà-vu or I dreamed about that.
After two hours, when everything was working again, I realized I did all this two nights before in a branch and totally forgot about it.
I wasn't even drunk -.-' -
I got the responsibility for a project using Google App Engine the first time.
It is exciting to use the whole work day learning new stuff and read the documentation of a service you never worked with :] -
A question, because we currently discussing it at work:
We want to add a permission role system and we will have kind of fixed permission roles like a role without any permissions, a support role with some permissions and an admin role with all permissions. Should I add role entries in migrations?
The role system wouldn't be very generic anymore.
But we need e.g. a default role for new users and I don't know how to do it, without a fixed role in db.
Maybe you all have an opinion on it.2 -
Spent 8 hours trying to implement a SPI slave on a Raspberry Pi before finding out it only supports SPI as master. WTF why say you support something then only support half of it! That's the kind of thing that needs a big red text in the docs! Fick this hardware bullshit I want back in to web developing.
-
My interview...!
From civil background, not sure about internal system architectures.
Question: how does cpu switches between processes ?
Ans: how the f I know? Do I really need to know, internally!
Explained a bit.
He was like you are the one who are going to use kafka, not the one who are going to write kafka.
I was like devasted.5 -
Quite interesting talks and discussion, if you are interested in non-technical topics of machine learning
https://youtu.be/_zwBCDmlvv8 -
Why Apple developers make lot of breaking changes?
Updated to fucking Mojave, all my VPNs are broken!
The only thing I liked about Mojave is dark theme. Its sexy!2 -
Constantly changing conventions for everything, like naming and code formatting conventions.
And the worst part is, I do this several times during one project.
Either I have a project with different conventions or I have to redo a lot.
Most of the time I try to do the last and this costs so much time -.-' -
Hey Guys,
I'm from Bangalore, India. And I am planning to setup work station at home. Does anybody any pointers or sample workstations you already have set it up and running?3 -
Just to clarify my previous rant:
In this case, refactoring meant changing class, method and variable names -
We need to go live by this month 10.
Yep, infra is ready in production. You can push the events and see the results right away.
PM: Wow, great. Setup staging we need to test it.
Me: FML, staging machines are smaller, can't even start the program.1 -
Anybody attending this event in Bangalore?
https://hackinout.co
Unfortunately I'm coming to Bangalore on 13th :( -
The biggest mistake my colleague done is -
update query for admin_reports table without where clause in mysql in production db. Right after that no admin reports. More than 1000 rows affected.
Glad we luckily we have some data in staging machine.. I don't know Why TF our devops team not taking backup. Hope they will from now.
Nom I'm using python to dump the data from staging and save it local file and then export to production.
#HisLifeSucks
#HeartBeatsFast -
The greatest thing I ever do when work is pending from DevOps Teams, opening devRant app. Ever did the same?
#MyDaySucks -
I don't even know that i should say it was a good problem or a bad one, i was programming a magnetometer sensor in both spi and i2c. I was tired of not working
I touched the sensor it dropped off!!! It was not soldered well!!!! At the problem was not from the code1 -
I've recently started learning to program mcu's in c and i'm trying to get spi to work using the attiny's usi-interface.
It's f*cking hard!4 -
Every time I decide to remove/edit something in a written SQL statement in the CLI. The delete and backspace key are to close to the return key -.-4
-
!ad
Tunnelbear VPN website (https://www.tunnelbear.com/) is one of the most entertaining websites I've seen recently.
I think I visited every link because I want to check if there is something funny. -
Previously: https://devrant.com/rants/1418829/...
So, I've successfully finished my final project, but at some point I was having massive troubles.
For some fucking reason, the chip select line was not going high after turning low...
Apparently the led was pulling it down permanently...
Another weekend wasted...