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
-
Mind Blown...
So I was in a meeting with another dev talking to a customer. He instructed the customer to open a command prompt in Windows. Then to use the SSH command. In my mind I was assuming he had told the client to install SSH beforehand. Later I started thinking about it and did a search. Apparently Windows 10/11 have a version of OpenSSH installed by default. I had used Windows 7 in the past and always installed git shell to get this. So in my Windows 10 I did the same thing. git shell also supports aliases and other nice *nix like scripting features. So it is always a win.
So hear I am realizing SSH is installed by default on newer windows systems. Like damn, I never thought I would see the day. I think I still prefer git shell, but having SSH by default is nice to know. I know they got the subsystem shit to get Linux. But not everyone wants or needs that.
I probably should learn what is in Windows these days. lol. I mean, besides malware.4 -
I hate bash scripting so much !
What a shit language, its inconsistent af
Its just a pile of hacks upon hacks upon hacks. Theres no rime or reason to bash expansion, or to working with arrays.
Sometimes "$@" is a list, sometimes its not... Because fuck u thats why
So im doing a coding project at work, that has to be in bash for reasons.
It already feels like giving birth, llms are hard-carrying me and im not proud of it
And every time i think im done, and i can close this fucking epic, some issue pops up that necessitates a re-write
3rd one is also a no go apparently
And this all happened because *someone* in another department couldn't be fucked to implement the proper solution for this.
The scope of this piece of shit script keeps growing, because every month they be like
"oh this feature of service xyz ? Nah turns out we cant do that sowwy. But you can implement a workaround in bash right??
If you truly like bash as a language, you're cooked brother. you need to seek professional help :skull:12 -
Overall worst part of being a Software Dev? Really, really loving it. How could that be a bad thing you ask? Because people, in general, in life, do not want you to code. Managers, family, kids, colleagues, they all want your attention, they all want to yap at you, they all abhor seeing you concentrate at a screen. In short, they just can't leave you the fuck alone to do what you trained yourself so hard for. Best one of all is being hauled up on a daily basis for an hour to answer "How can we go faster!?" IDK maybe just let me do my thing? So fucking frustrating. If you don't recognise this and have all the time in the world, feel blessed, for you are free.5
-
Fucking hell! Why is it so hard to just create a simple websocket!
C#: Yeah, you should use ASP.Net with SignalR! But heres a totally undocumented mess of a lib to get it to work. J.k. Deadlock!
Rust: async while let OK((some)) = ws.create.unwrap_or_else().suckadick()
Why the fuck is Rust so fucking dense! I want one line that means one thing! If I would compress my code with gzip it would be less information dense than this!
Zig: Yeah, Its in Beta and shits semi stable. Atleast i got it to work? Nope!
I've ben fussing aound with these three Languages for more than a week now and can say: Just use an established way to webdev. Its not worth it to try and make it as simple as possible!19 -
Oh china... just when I was so exhausted and annoyed at you... cuz i got behind and had to grind purchase/logistics/china-rel bs, to get necessities complete before your 2wks being MIA for chinese new year.
BUT THEN...
You had brought me this comedic gold in the midst of my sourcing woes!
Whoever points out my favourite 'precaution' first, wins.
...it's very rare that I say this, especially with my linguistics and algorithmic knowledge and exp making me easily peeved here...
But seriously, even Google trans with 0 knowledge of english, wouldve done better on most of these.4 -
Android studio gradle nightmares, cli not picking active jdk, intellij maven horrorshow, vscode being the nexus of perdition itself. When I'm dead and gone, scatter my ashes over sublime text. NEVER encountered a headache, ever. The setting for autosave is one forum visit away. 1000s of utilities at my fingertips, with shortcuts, not silly plugins. Neither hangs nor fusses irrespective of how many windows, projects, tabs I've got open. Gargantuan code real estate despite having a file panel and file preview. The only guys who got monokai right. Can open random editors and fill them with notes without first saving. A more intuitive vcs gui than even github desktop. More lightweight to download than an beep.ogg. Never lags cuz it wants to be powered by a wind turbine. It's free. Literally all the sorrows that terrorise my dev in its peers, all gone
Yes, it's not "integrated" to my de, in the sense that its intellisense is a glorified autocomplete for existing tokens. I guess, tradeoffs must be made. If you know the language well enough not to grope handheld by the ide, or in dynamic typed languages where red, squiggly lines will not bring your software down to its knees, it should be head and shoulders above those conartistes
Enterprise edition una -
Just wrote an email to Rocket Chat with subject "Dear commercial hungry bastards" and complimented them with raping the f out of one of the best chat applications there is. With decent apps and stuff. For people who don't know, Rocket Chat is a Slack-variant. Once almost the same. But it was completely self hosted and under YOUR control. Now, if you host it locally, you get a screwed up design that you can unlock by paying.. If two users register on y our rocket chat instance, you get a commercial message of them regarding the growing team. Also, i have by default some remote user of them named rocketcat in my chat. Wtf, who wants that ffs? And again! SELF HOSTED SERVICE. Imagine, they have servers under their control and don't even have to do the hosting. A big win-win for them I guess.
Idiots found themselves a marketing team apparently.rant slack uncensored rocket chat bastards self hosted email xxx rocket pussy cat hard rape extreme marketing rape of the year29 -
Some time ago I had a brief period of time when I had no tasks.
In order to stay productive, while having a lot of free time on my hands, I had decided to create a documentation of a feature in our game that has slightly different implementations depending on the platform on which the game is running.
Once I was done w/ the documentation, I shared it w/ the lead.
His feedback was along the lines of:
'It's OK, but the color palette that you used could've been better.'
/* What I used was basic colors: feature is available = green; !available = gray; partial availability = yellow, etc. Simple, easily readable. */
So instead of 'Thanks for documenting this.' I hear 'You have poor design skills - you should've used company's theme'.
/* I'm guessing since the company's logo uses some fancy colors, in lead's mind, those colors should've been used in documentation. */
Well, duh - I'm !a graphics artist / designer, so no shit.
There will definitely be no graphical fireworks in my documentation.
I fucking love working w/ people who have their priorities straight - '_fuck_ usefulness && correctness of data; It must be pretty too!'.15 -
This was few years ago, I was an intern in the company (first job I ever had). After few months of fiddling around stuff (haven't yet touched a production project). We landed a 'high priority' project.
We were told by the client (A multinational company) that they had a contract that fell through with another software house and the app is already made they just need to integrate it inside their main app instead of having it a separate app.
We were like, okay, and we made sure that everything will stay the same (APIs, Feature flows, etc). My managers gave it an estimate of two months.
And after a couple of weeks they started changing everything (APIs, flows, design, ALL OF IT) and they insisted we meet the deadline. It was a project for a multinational telecom company so it had payments, features for user's consumption and a shit-ton of other features.
At some point I was the only developer working, had to pull more than 16 hours a day to meet the deadline but we did.
I was in my fourth year of college as well. It was crazy.
May not be the craziest deadline overall, but for sure was the craziest deadline for me to meet.
Edit: Oh and after all of that it was never released bc of "financial reasons"2 -
AI, weirdest business ever. Master of none technology. The only people who can decently monetize it (the suppliers) are not doing it properly ironically.
I'm working for a few days now full time on AI and test a lot. Costs: 97 cents. 50 cents from that was one error I made (expensive code execution call).
So in reality bashing as hard as a human can costed me 47 cents. Not weird that they don't make profit.
What is the intention behind AI usage? Do they want to break the internet by allowing such mass production of calls? What use cases are there to execute thousands of calls? I can only imagine bad things / use for abuse.
Can't imagine nothing good since most AI output is not good for real life applications. For example, you ask it to respond with a 1 or 0. Then the fucker says something like: "A zero, can I do more for you?". Thanks, my application can't interpret that. Should I do another call with your answer to find out if it is positive or negative? Ok, let's do and please answer with a yes or no! It will probably respond with "It's not every positive.".
From example above, OpenAI is not the worst in it but still. It's kinda useless for many things. You can't really count on it. As long AI doesn't output exactly what you want, decent automation with AI is not possible making all claims of replacing people with it completely worthless.
AI is like someone educated with zero working experience and as pragmatic as Fred Flintstone's car.
Anyway, guess who did quit at Microsoft and upgraded to work for molodetz and likes to talk now?
See here our new CEO: https://retoorded.molodetz.nl/. And yes, he has a company car. He get's to drive me :P7 -
Okay, this just fucked with my brain. We are supposedly seeing organisms (including humans) doing better in radiation fields.
https://youtube.com/watch/...
Not so sure about the ending, but I am also messed in the head about some of the thinking going on with consciousness. I suspected our thought processes are not completely body bound. I guess if the mind is interacting with a separate entity then it would need a physical mechanism. I dunno, seemed really speculative.
This guy usually does a rug pull and shows how everything in the beginning has doubts. He didn't do this on this one.6 -
I was so bored with work in the end. It was more administration than programming. So, i kinda quitted full application development. The thing is, it's expected that you use some existing framework. First of all - they never work how you want and the programming part of your work is mainly solving the limitations the framework brings without hacking too much. You keep within the boundaries of the framework. Besides that - since all fun stuff is already done by the framework builders all you have to do left is kinda administration. Field here, field there, rest call here. Extremely boring. When you've setup the base good, there's no challenge anymore, just producing windows and input forms.
Now, a few days ago, I started to make a clone of rocket chat. I use minimalist http framework (aiohttp) and you have to build most features yourself on top. Same for the ORM, i use dataset which does schema synchronisation for you but doesn't come with models. So i made a complete model / mapper entity framework on top of that. I made one single validation system that applies on models, forms and frontend validation. There's only one truth of valid data. Within the models, services, mappers and forms there's always the services variable available making it possible to fetch any data from any object. Never weird exceptions has to be done to get data. The implemented global LRU cache system is super in auto synchronizing the objects, don't have to do anything manually.
Finally software development of a full product is fun again. If you know how to do it - making your own framework is way easier than an existing one. On top of that, it's more advanced. I do understand that frameworks are aiming to be a bit minimal to be multi purpose, but with that attitude in mind, they still achieve to make it annoying as fuck.
Regarding time, it's just a few days of development. That's nothing for something that does exactly what you want. We have to drop the use-a-framework-because-it-is-stupid-to-do-yourself mentality. We should be programmers again! Not administrators! It's not weird that chatGPT can do so much of our jobs, our projects became lame.6 -
I had the strangest occurrence today.
Client lost priv key to some ec2 instance.
Sure, I detached the volume, and attached to another instance to go and add a new key to ./ssh/authorized_keys.
Sure thing, I mounted the partition successfully, and then shit happened.
Say I mounted to /mnt/old
It would mount without issue but...
ls -la .
(With /mnt/old as current directory) Would show nothing, as if the directory was empty. df showed it wasn't the case.4 -
The data at the bottom are statistics regarding my key presses. It's literally every key pressed on this laptop since 2024-12-08. Since that date I entered a total of unique 925450 unique inputs. I did 4751951 keyboard inputs.
I know from 595 hours exactly what i've done for tasks (described by LLM based on my keylog data).
I type 107 lines per hour on average (return presses) based on 595 hours. With that logic, i did around 63925 lines.
I'm not very happy with the statistics, especially not because backspace is a hardcore first. Now, while i'm typing i'm focusing on how much I use it and it's not a lot at all.
But the thing is, if you remove abcdef, you have one a, one b, but six times back space. And these are real presses - not keyboard repeats. Also abcdef will be counted by the tag counter as a whole. Everything is a tag until it sees a new line or a white space or some punct.
Funny is that there are completely different keys on the list than I expected. You're so you used to those keys that you don't even notice using them.
I'm almost considering to add a sound under the backspace button to teach myself WHEN i use it and try to avoid it.
The key logger database is now 346Mb. Some overhead because every keypress takes around 40 chars of description (timestamp, press type, char, input device).
Creating statistics for the tags (unique words typed) takes several minutes. Already rewriting that part to C. The stats are made by python, the key logs with C.
I'm just shocked, I used 144644 times a key that I think not to use that much? :P How retoorded can you be. Imagine if i actually fixed typo's :P
But based on these keys you can see that i'm mainly working in terminal / vim. The 'i' for insert for example, typed so many times. The 'x' for save+quit. The '0' to go to beginning of line.
Did you expect that these buttons would've been the most used?
#0 BACKSPACE is pressed 144644 times (15.63% of total input)
#1 UP is pressed 92711 times (10.02% of total input)
#2 LEFT_SHIFT is pressed 73777 times (7.97% of total input)
#3 ENTER is pressed 63883 times (6.9% of total input)
#4 DOWN is pressed 56838 times (6.14% of total input)
#5 TAB is pressed 43635 times (4.72% of total input)
#6 RIGHT is pressed 37710 times (4.07% of total input)
#7 SPACE is pressed 34438 times (3.72% of total input)
#8 LEFT is pressed 26800 times (2.9% of total input)
#9 LEFT_CTRL is pressed 25402 times (2.74% of total input)
#10 LEFT_ALT is pressed 17289 times (1.87% of total input)
#11 I is pressed 12856 times (1.39% of total input)
#12 X is pressed 6106 times (0.66% of total input)
#13 A is pressed 5163 times (0.56% of total input)
#14 0 is pressed 4487 times (0.48% of total input)
#15 PAGEDOWN is pressed 4151 times (0.45% of total input)5 -
/me experimenting with streaming my music on peertube
/me find there's some weird echos on the stream
/me stop the music, the last part repeats on an on as if there was a delay
/me start troubleshooting. Is there a delay in the daw? no. Is it something to do with alsa or jack? no. Is it peertube? it should be peertube right? I try with youtube, there is still a delay even though it's not that bad.
so i ask the admin like an idiot. Turns out I had the tabs opened twice.
Anyway im mixin my music here
https://yiny.org/w/...4 -
Got a child. Little under a year old.
We go to a little baby group nearby. We visit it from time to time. Just like 6 different babies there.
One baby has brown eyes. Mommy and daddy have blue eyes. Oh...
Next baby is blonde. Mommy is blonde. Daddy is blonde. Someone commented, that blonde was very likely with mommy and daddy. She said, no, her mother-in-law is black haired. She proves it by saying, her oldest son has black hair.... Oh....
Out of 6 parents pairs, we had 2 cheating. 1/3. And for the other 4, well, we only ever met the mother and they have not told us anything about their husbands.
This leads me to only one conclusion: People are terrible in high school level genetics. I know, it is not 100% correct, there are special cases and exceptions. But it it 99% correct.
To quote Rex Harrison: "This is what the British population calls an elementary education."9 -
Attempting to find usable data.
PM: but we have data.
Me: we have data bags. But data in there is not uniform, the time series have different lengths, and some fields are missing cuz ROS does magic. Plus, that new data type you've introduced, doesn't actually have a set in stone schema so it's free for all. You literally do not have enough data for one decent quick study.
PM: but we have vision data.
Me: ... But we're not a vision department. where's the robot data.
PM: idk. Go ask others.
Me: *drags own hair out* 💀6 -
i have this Cassandra's curse thing. the same way where I tell where what the future of their actions will be, but also just generally I'm not understandable by others when I say things or try to explain some higher level topics that are not 100% boring sequential facts
what I'm finding, annoyingly, is I can just say what I'm saying to the AI and then it will write 5 paragraphs explaining what I mean... and then I post it to the person and they understand it
-.-
why is it like this. why do I need this. I mean yay, I can be understood now I guess, but it's also so annoying. WHY AM I NOT UNDERSTOOD JUST BY MYSELF RAGH. I also can't believe people understand the over verbose things AI spits out. I find it annoying -
Decided to update my vcpkg version, and ran tests for my networking tests only for it to return QUIC_STATUS_NOT_SUPPORTED/E_NOINTERFACE for loading the config. Turns out someone decided to switch the default SSL implementation from OpenSSL to Schannel on Windows and didn't enable an option to put it back.
Now it returns an error if you provide a certificate file. Luckily if you enable 0-rtt it still forces OpenSSL 🙄2 -
A couple fucking brutal, merciless dungeon moments.
So first, we were having a chill kind of session. Throwing lots of jokes and shit, and I rolled with it. The baddie for the day, I felt inspired, and named him Fawq El-Fuqer, which yes, is very unfortunate.
Anyway, we avoid his goons and reach his impenetrable fortress of chronic masturbation, and it goes as well as you think. The rogue says hey, we gotta get him with his pants down (pause) literally. The cleric is skeptical at first, but she comes around to it.
And so we do it. I spin this tale of a man who's got a schedule tighter than his fucking asshole. El-Fuqer meticulously plans his shits, he makes it a whole ritual, even gives it a special name: Mud O'Clock.
We wait for his alarm to ring, and spring into action while he's taking a fat stinking fucking dump. The warrior kicks down the bathroom door and corners El-Fuqer while he's on the shitter, demanding satisfaction for their past romantic involment that's been strongly been hinted at, you see, she said Fuck the Fucker and I, that's history. And that's enough for a subplot if you ask me.
So where was I? Ah, yes, the rogue bursts in through the window shouting out "Mud O'Clock MOTHER FUCKER!!" and we immortalize the moment in the finest silks. The wizard then does a little Bane impression for some reason and a multitude of loud 'plops' are heard as El-Fuqer evacuates the entire content of his putrid guts.
He gets roughed up a little, you know nothing like interrogating someone after they nearly shit themselves to death. We reveal some oooh so unexpected plot twist about a portal to goddamn hell and it's like well, crap, we gotta do something about that. So the wizard and the rogue leave to give the warrior and El-Fuqer some, ehem, space to settle their score.
What followed was the most unexpected, most brilliant part of the whole session. She didn't just execute him in a brutal, gruesome manner, no, she went full fucking throttle. Forced El-Fuqer to eat his own cock and balls while sewing his ass shut, then had a bowl of bull testicle salad to drop a montanious fecal cake of biblical proportions upon his face.
Believe it or not, we made it into an emotional moment. Because everyone was shocked by how brutal the affair was. Warrior had a mental breakdown like, uuuh, I'm becoming the monsters I swore to fight ooh no. She starting shaking and crap, ran away and hid in an alley to weep, it begins raining and it's getting very dramatic, so I cook up some spirit of sorrow that goes in and helps her face her fears and shit through the power of friendship or whatever.
Moving on to second moment, this is shorter but I like it best. The cleric and another two extras went to an old shrine to try and prove the wizard wrong about his denial of prophecy. Thing is, they did the ritual wrong. And I'm usually very forgiving but I was feeling nasty after the whole sowing of the asshole thing. So I'm like, uh, I gave you fools VERY PRECISE instructions on how to perform this ritual, and you just did some wacky prayers to the moon nonsense, that's idolatry in-universe and out-of-universe too (depending on who you ask).
So I said fuck it, you guys had it coming. I whip out immortal ten-thousand year old elder sorceress bitch guardian of the holy sphincter, and it gets real pretty fucking quick. She's got sanctified heavy plate armor, blue fire torches coming out they fucking pauldrons, argent greatsword of anal judgement plus infinity, all the juiciest shit.
Anyway, the sorc descends from the sky in a pillar of azure flames and is like yo, drop that idolatrous shit right now or I'm gonna kill you all. They mistake her for angel or some shit, and are like hey chill, we're the good guys. But the sorc doesn't give a shit, and she says shut the fuck up or I'll send you to the Night Eternal, bitch.
I dunno why but the cleric and the other two extras don't get it, so they insist with the whole heyyyy we are not idolaters, we're your friends, we are questing for the mandinga mandango mcguffango. So she bisects one, breaks the neck of another, and decapitates the fucking cleric. It was awesome.
So what did we learn? idk, don't plan your dumps and don't pray to the fucking moon if you're standing on hallowed ground. *****8 -