Details
-
AboutI like making things, adding features, fixing things. I've got too many things on the go at once for repetitive, so I'll automate instead.
-
SkillsC++, Python, ML
-
LocationLondon, UK
Joined devRant on 10/9/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
-
Github is creating nice quality movies on YT. But the content itself, to vomit from it. AI this, AI that. It's like 100% advertisement. It could've been so beautiful with showcases of projects that are trending and stuff. They don't give a fuck about what the viewer wants. Never seen a github video? This is why, it doesn't show up in recommendations indeed, even when subscribed. Nobody presses like on their shit. Idiots4
-
Staring at computer trying to figure out why I can't read a float from modbus. I swapped the bytes correctly for my platform. I also ensured the endianess of the words matched my platform (byte endianess is not the sames as word endianess, fml). Was driving home thinking about what could be wrong. My mind saw this code:
uint32_t newint;
for(int count=0; count<2; count++){
newint |= words[count] << count;
}
Then I am fuck! It should be:
newint |= words[count] << (count*16);
This was later turned into float. I kept getting values in the 1e-40 or some shit. Now it makes sense. The upper word was not set.
This is such newb shit. Fuck you newb shit I should just know!
Reading more I realized that the endianess of words can vary between devices even though the spec calls for big endian words. Fuck you non-compliant vendors! So I gotta add a flag for fucked up devices. Fine. The pay off is a generic way to add modbus to our opcua server. I want this easily editable in the field. For now it is readonly. So that makes it nicer.
Just a little torqued that I solved this driving home instead of at work. Too close to the code. I think tomorrow I will have my boss review it to tell me of other logical crap I missed.3 -
Spent 3 hours not understanding why the exact same procedure on Linux worked while not in windows. Ended up installing Linux on the windows computer.5
-
- A colleague introduced a regression through an error nobody would ever think of (as in: the code broke in a way no sane person would ever guess)
- I noticed the regression in develop, tried to pull a sneaky fix to avoid causing troubles
- Permissions got switched up in the past 2 days or something, I'm not listed as a releaser anymore
- Talked to my TL, he accepted my PR but said "I can't give you the releaser role anymore"
So, I tried at the same time helping out a colleague without causing a fuss and improving the product, and lost a role in the process. Love to see it.2 -
for a language obsessed about errors, rust sure sucks at its stacktraces so I can know what gave the error
like finding a needle in a haystack. well fuck if I know what throws this thing. all things I know that can make this error type should be self-contained -- so where you getting this error from?!4 -
According to Lunduke, Google code has now 25% AI generated (only new part I assume) code and is doing layoffs because of that and prevents raises. We wouldnt be replaced by AI but if we work so fast with it, some still are if there's not enough work left anymore. But I also think that Google is the type of company where most people are doing unimportant stuff anyway. What sick stuff they must have with so many developers. There's not daily a new product or so32
-
I am going to create a define in my code:
#define BIT_CH CHAR_BIT
Then do search replace of CHAR_BIT to "update" the code. Probably need to wait for a refactor. No idea if CHAR_BIT is even used in our code base. I just want to be a BIT_CH.
I was sitting here thinking what a valid use for an object called BitCh or BitChar. Still trying to come up with some valid reason to create such an object.
And people say programming as an art is dead.6 -
I'm writing a devrant like site, so a kind of forum that supports live chat under every article. Login will be just username and password to stay anonymous. Email is optional for password reset. Also it won't have password requirements. Who cares if user uses insecure password. I do like the devrant avatar thing. I will use the ducky generator instead. So everyone on the site is a custom duck. K-SASS prolly never expected his generator to be used anywhere. The requirement of this site is that it scales very well. I have db calls of 0.006s, this is for persistent data only and will be used by all site instances. I expect that it can handle many clients concurrent as long I do not return more than 30 rows or so. Events get handled by a self written pubsub server.
All sounds great and development goes fine. But why is this a rant? Because the same thing as always is biting me, I can't design a site at all. I know how but I don't have any feeling for design at all making me almost incapable of building an attractive site. The only thing I can 'design' is an application in bootstrap or smth. I spend so much time one design while I don't like to do it ironically. But looks of site is almost as important as an good working site. Good working site doesn't get used if looks bad in many casee. This is since the start of my career an issue and it sucks that I appearantly can't deliver a whole site on my own meeting my standards.
My backend work is top notch tho. Btw, this application is not to be an alternative for devrant. I do not think I can attract more users than it already has and I've seen two communities disappearing once because someone decided to make a new one, took half of community with him and both communities died after short while.
End product of this project is a working project, not a live site hosted somewhere. It's pure about mixing mostly self written tech to get the best performance. Reinventing wheel on many levels. I wanted maybe to do the site in C but decided that it's way to much work for the value. I change the site so rapid since I don't have decent plan that python aiohttp is the best choice in amount of writing it yourself and fast. It's very lightweight.
More a story than a rant, sorry33 -
In the kingdom of aws reigns the Owner of Products.
In his court many a vassal noble (or a "sre" as they are often called) delivers their tribute.
Wise ministers (called "analysts" in these here parts) advice the Owner of Products on how to instruct his sres and where to lead the kingdom.
Needless to say, in the court the blabber is endless and the egos of the courtiers, deservedly or not, are even larger.
But there is but one member of the court, leader of none but master of japes, who dares to mock not just the courtiers, but even the Owner of Products.
Tester the Jester, from the houses of Operations Research and Quality Assurance.
There is a unique relationship between a ruler and his jester. The jester mocks the ruler, with the most outlandish of propositions, with the most malicious interpretations of the ruler's orders, evidencing the most absurd (but mathematically viable) results of a plan.
The jester makes ridicule of the ruler's edicts... so that the Owner of Products may remain humble, without need to defer to any upstart courtier.
And, in a more subtile manner, the jester prevents any courtier from maliciously complying with the edicts of the ruler.
For all in the court have heard how the lowest among them voiced the preposterous interpretation... And dare not show themselves to be even lower.
TL;DR had an all-hands meeting of tech leaders with the allmighty PO. In the meeting there is this bloke who apparently spends all his time just fucking with the bigwigs' ideas. Dude is a department of one. It seems that his whole job is being an outlandish scenario simulator & sarcasm artist. I now have way more respect for this place. -
Why do I program everything myself in C, even a rest service? By writing everything yourself in C you make simple things complex to make complex things simple.
Writing a rest service for example learns you a part of http protocol, how sockets work, how to create a parser (in this case json). Three thing's you would miss if I used python.
On top, your rest service uses WAY lesser resource than written in python for example. Especially for CPU usage.
Allocating and free-ing still often have issues there, but I consider it a skill problem / discipline issue. Not blaming C for that. The rules are clear.12 -
Here's an idea: starting my own botfarm to automatically downvote obnoxious adbots that simply won't stop tickling our collective fucking testicle sax with unrequited love stories and crypto bullshit.
To detect the sheeit, just look for idiot giving contact info in a rant about hacking the device of your unfaithful spouse/treacherous cyber girlfriend who also ran a bitcoin scam and fucked you in the ass with a welding torch. That should do the trick, I can give you that power with a perl script, because fuck you that's why.
But since there is no moderation in this bitch, daring to offer me sufficient knowledge to the inner workings of such a construct would be exceptionally perilous to your asshole. That is to say, nothing could then stop me from redirecting said botfarm to target my enemies and anally assault their every rant and comment.
Indubitably, this would in turn quickly spiral into digital warfare of cyberfeudal lords pitting their automated fake accounts against each other. Millions will die. Upside being hexical gets to pull the plug without guilt.
What do you say? Should we begin the apocalypse?18 -
My manager has sucked the soul out of me. I feel drained, anxious , highly demotivated and I have lost hope in life. He has a toxic way of managing people. The team is always micromanaged and even in that he keeps scolding people for not completing tasks in the timeline which he thinks is right. I am always filled with multiple tasks on my board and he wants me to complete all of it in one day irrespective of complexity. We have a standup that is scheduled for 30 minutes but goes on for 1 hour 30 minutes and all he does in that meeting is tell people they have not done enough even while we have done far above our levels. And there is a meeting again in the evening to update on the tasks where he again starts scolding everybody. Few of my teammates say that whatever we do we will get scolded. We have never really celebrated any success as a team. He expects the team to be always available like 24*7 and work for atleast 14 hours a day and sometimes overnight for like more than 20 hours a day. And we have alternating 6 days work week even when ceo has approved 5day work week for tech. My manager doesn't treat anybody as humans , we are all just machines to drive his deliverables. He values only deliverables. It's very difficult to get holidays. But the problem is he has inflated my salary a lot and I have un-vested esops which is holding me back at the company.3
-
While I really like the design of this website (and the app), the website kinda feels like the light version comparing to the app. Deleting rants is not possible for some reason. It doesn't remember your preferred sorting algorithm12
-
Fuck,
I've been charging everything with the oculus quest 2 charger because it's very powerful but it just blew up my headphones. I did this often before but this time was a whole night.
I hope I can still get this great headphones, it had such good volume & bass. It's the cheapest Fresh & Rebel but the sound quality and battery is great22 -
Devrant became full of nazi lmao. A litteral fascist can threaten to be violent against immigrants and be upvoted but I am the spammer.
Fuck yall im doing a chaosqueenteam attack.
After work tho26 -
Space Age, the expansion for THE game for programmers, Factorio, will be out tomorrow.
Who else will be playing the shit out of it?9 -
I know I rag on Javascript, but this is actually how I see it. It always did what I needed, but I am not enamored nor dismayed by it. I think the technology behind it is pretty cool too.19
-
Got scammed on devrant by sketchy cryptocoin recovery services? Like a total dumb ass you clicked a sketchy link? Did you suffer temporary retardation and believed a scammer?
You may be entitled to public humiliation! Contact our services (totally not sketchy AF) and get doxxed, reposted, and made to look like a complete fool! (Javascript devs excluded, they suffer enough just existing.)
1-800-dumb-fuk wtfuthinking@dumbass.git4 -
New developers(5-6 years experience) these days are so pathetic. They dont have any sense of code review. All they want is to put their opinion out without giving any thought.
I had a PR for review today which contains mock specification to match a regular expression and return the corresponding response
The regular expression I put was
104000(02|06|20|48)
Now, this guy comes and puts a comment that we could "simplify" as 104000\d{2}
I replied, the ending digits are not contiguous. The specific pair of digits have to match for these mocks.
Then this guy replied, then we could simplify as 104(0{4}(2|6)l0{3}(20|48)).
I said, I cannot understand how that is simplification. Why do we need such a complex regex to match something very straight forward.
And the guy replied, we should be writing proper regexes, otherwise we could just specify everything explicitly.
I was like WTF man. You try deciphering this next week without taking at least a minute to know which values are matched.
Anyhow, another senior person approved my PR, and I merged it.12 -
https://simulator.io/board
Lets you place clocks, full and half adders, D latches, RS and JK flip-flops, shift registers, demultiplexers, multiplexers, and decoders, as well as all the standard gates. It also has buttons, switches, and individual LEDs.
Pretty close to what I would make myself.6 -
I’m using Devrant sporadically due to my lack of time and I really enjoyed it back in the early days. I see more and more scammers/spammers posting here and I feel like I’m not in the right place to be posting/sharing/ranting.
My question: is someone or more than one person here actually maintaining Devrant ? Why so many scammy accounts here ?8