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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
Holy fucking crap, think I actually got some productive, positive output from this whole generative AI debacle.
Rather because I skipped the whole Prompt step and used FOMO blabber against itself.
Some context: at my last gig we had a whole "humanware procurement department" (A.K.A. "hiring managers", those fucks who think that javascript and java are the same thing). It was during the pandemic tech hiring boom. At this new joint I'm at, a MUCH smaller company, I gotta do it myself. Boring as fuck but at least I can get some good karma by not making an ass of myself for candidates, and trying to make this whole process a tad less abusive.
I got my reading up to date, and surprisingly enough, "yankee dandy" (HBR) has actually been saying one or two things that are not complete hogwash. For a start, they say that companies have been making their hiring processes overly complex and even after hours of interviews they hardly measure half the skills they actually need, and spend too long talking about many skills that are not actually required for the positions.
"Huh. That sounds like the inneficiencies that the stupid 'AI will make meetings more efficient' industry is overpromising to overturn"
So I tried a new thing. Instead of your off-the-shelf "solve this NP-Hard problem in O(1) then draw this bird using only your nose then invert a binary tree in COBOL then tell me what type of sitcom character are you" crap, I tried grasping how it would be like to work with the candidates. One at a time. Not too long, but not too short talks. I'm not trying to check if a kid really knows how to implement a solution for the TSP in apache spark, or if they know every cipher in TLS 1.3. I just want to know if they can understand a technical request and come to me with a plan on how to solve it without handholding or "just use a really big VM, like, 32Tb of RAM!"
Thus, if I can work with them. That's all. The rest are specific skills that can be trained in time, if the person is willing to learn new stuff.
But that is not good enough for HR, ooooh, no. You "need" an "objective way of measuring their skills", otherwise its "just biased opinions."
But that gave me an idea.
See, our HR VP is someone deep in the whole AI pyramid scheme, who drank the kool-aid and swallowed up even the cup. FOMO is their name. Hype is their business.
I posh'd up my bullshit'ish jargon and went whole "In the advent of new disruptive technologies, strategic skills can be acquired with grit and proper AI prompting. Thus, leveraging our collaborative intelligence capabilities we can hack our challenges and optimize our resources to offer more innovative opportunities and bolster our employer branding" - translation: "shut up and lemme hire someone good and reasonably priced instead of a sleazy smooth talker who wants 100M just to show up and play with chatgpt all day". The whole point is to make it sound like "we're using AI, so it's good" instead of "im doing the work I'm being paid for, so it's old-fashioned"
It seems like the HR troll swallowed it, bait and hook. Maybe all we really needed this whole time is to say the magic word "AI," especially if it makes absolutely no sense in the context. Now I want to get them to sign off on a "AI mindfulness bolstering platform" (a massage chair). Fingers crossed. -
This morning I woke up and had a thought about Germany.
Day ruined, might as well go back to sleep3 -
Week: 101 (Year 2)
What are the plans for the weekend?
Question: I don't have any questions this weekend. Do you have any questions for me?
last Weekend : https://devrant.com/rants/190357093 -
I have a friend with 50k on strike... he's a big talker about how secure it is to own crypto vs real money. So I dug a bit to see if he owns crypto. Lmao no. You don’t own shit. Private keys? Zero. Your “wallet”? Just a database entry. Lightning “magic”? Only inside their app.
Try to withdraw? Good luck competing for on-chain settlement while they control liquidity.
Strike = centralized banking in cosplay. Feels instant, looks decentralized, but it’s a trap. It's literally a scam playing on people who don't understand the tech. -
I've built a number of apis consumed by internal devs. Then there's one which I consumed in a mobile client–smoothest experience ever. I dogfed myself and empathised with any blind spot or skirmish that would have arisen if there was an external body
The ones consumed by others always end in tears and loggerheads. There was one with this girl who called me names and turned my relationship sour with the guys who contracted me. Our Altercation culminated in her hooking me, going as far as deleting personal media shared. That was my darkest hour supporting an api. Well, it started with her grumpy over broken endpoints, which I maintain were not that many
I wasn't an amateur dev at the time: I used conventions mastered post-suphle. Code was backed by automated tests and well documented. Now that I think of it, our earliest, innocuous argument was brought about by her incompetence. She didn't know some rudimentary stuff like how to build payloads or format to send to an api. Funny enough, the lead who contracted us both strongly vouched for her cuz they once worked together. He claimed she was no noob so I must be the faulty one
I'm about to release another api now. I've had all the time in the world to build it to production standard. Over 200 tests, all passing. In my head, I'm thinking, what could go wrong? Stakeholder introduced a feature breaking fundamental functionality. I refactored, implemented, connected tons of apis stubbed out in tests. Painstakingly began to fix broken tests to both fit integrated api behaviour and ensure system integrity is intact. Shit, software engineering is arduous. This is best case scenario unlike front end web or mobile where there is an unfixable bug or a ui requirement stumping you for literal days
Anyway atp I believe I've done my homework. The only thing that would likely do me in are those damned apis I rely on. One malformed response or missing key is enough to undo my meticulous efforts. I strongly hope not to have a huge fallout with the front end dev and the numerous third party consumers we're expecting
As an aside, On a different project entirely piggybacking off external apis, I'm supposed to write tests to verify their status. I wonder whether this is tenable or a waste of effort. But on paper, it's more reliable than building a postman collection and sending them from there -
i hate shitting and pissing in the same time. cz then i have to keep my cock inside the toilet but not too much inside cz my balls would touch the shit thats coming out. so i have to do a triple balance:
1. hold cock at the right angle of the toilet so i piss inside the toilet and not outside again
2. hold balls just at the right angle so i dont piss on them but also dont shit on them
3. make sure to shit inside the toilet and not outside again but also shit on toilet and not water so i dont splash my cock balls asshole and arm with toilet water
shitting is war -
I was an intern when I joined here 10 years ago... now looking to start-up (related to gaming) - wondering if you guys would love to provide some feedback!
Currently, we're less than a month away from launching closed beta - the survey responses showed 78% positive response.
Would appreciate a look here
https://tally.so/r/wAgvLN3 -
Google must not be forced to sell Chrome to whoever. Development of stellar devtools will be stalled next day for the sake of consumer-focused AI bs.25
-
Almost finished with latest preprocessor.
Why am I always working on preprocessors tho? Shit...
Anyway, almost finished ok.
Idea is, basically, that inside a C source or header you can write a perl subroutine instead of `#define ...`.
The mechanism is rather simple:
```C (wat?)
macro mymacro($expr) {
· // perl code goes here
· return "$expr;"
};
```
`$expr` is just a string holding whatever block of code comes after an invocation of `mymacro`. You can use the builtins `tokenshift` and `tokenpop` on a string to get the first and last token, respectively, and then `tokensplit` gives you *all* the tokens.
Whatever string you return is what the expression you received is replaced by:
- You can just give back the expression as-is to get the exact same thing you wrote -- so `mymacro char* wat;` gives you `char* wat;`.
- But if you return a galaxy's worth of C code, then bam. Macro expanded into it, just like that. It's a perl subroutine, so let your imagination fly. Wanna run some scripts at (pre)compile time? Then you can.
- If you return an empty string, then puff. No code. Input consumed.
- If you give the name of another macro (eg "another_macro $expr;"), the expansion recurses.
- If you return the name of the currently executing macro, no recursion happens. This lets you wrap C keywords without (too much) fear.
It's kind of cool because a separate perl module is built from the macros themselves. So then you can include those in another C file. Syntax is basically more perl because why not:
```C (yes)
package mypkg;
· use lib "path/to/myshit/";
· use pm funk qw(mymacro);
```
The `lib` bit actually translates to `-I(path)` for gcc. But for some reason the way you add an include path in perl is `use lib "path"`, so yep. I get it's confusing but just go with the ::~ f l o w ~:: ok.
Then the `pm` stuff is not valid perl (i think), but I took the easy way out and invented it to ensure there is a way to say "OK I don't give a single shit about the C stuff, just give me these qw()'d funky macros from this file." If you simply `use funk qw(mymacro)` then you also get an `#include "funk.h"`.
Speaking of which, headers are automatically generated. Yeah, fuck you, I added `public` to C, bite me. It's actually quite sexy as I defined it using the preprocessor:
```C (yes but actually perl)
macro public($expr) {
· my $dst=cmamout()->{export};\
· tokentidy $expr;
· push @$dst,$expr;
· return "$expr;";
};
```
Where `cmamout()` is a hash from which the output is generated. Oh, and `tokentidy` is just a random builtin that cleans up extra whitespace, don't mind it.
So now the bad stuff: I have to fix a few things. For instance, notice how I had to escape a new line there? Yeah. It's called dumb fix to shit parsing, of course.
But overall I'm quite satisfied with this. And the reason why may not be so obvious so I'ma spill it out: backticks, motherfucker.
That's right. Have a source emitter written in an esoteric language?
```C (yes really but not really)
macro bashit($expr) {
· my ($exe,@args)=tokensplit $expr;
· return `$exe @args`;
};
```
So now you can fork off into parallel dimensions; what can I say pass the pipe brother.
MAMmoth in the room is yes, this depends on MAM. What is MAM? MAMMI. It's the original name of my infamous picture of an ouroboros eating it's own ass while stuck in limbo contemplating terrible life decisions of a build tool, avtomat (go ARSLASH <AR/> [habibi]).
So what's the deal with that? avtomat is a good build tool _for me_, not... ugh, you. I made it for *myself* baby things are not going to work out between us I'm sorry. MAM just does lots of things I wanted build tools to do in the __EXACT__ way I wanted them done. I'd say you should go use it too maybe, but actually don't and you shouldn't because I broke main some weeks ago to fix some other shit and then implement this. Yeah, pretty stupid, but what the hell. I'm the only user after all!
In conclusion, I am fully expecting to receive my mad props and street cred in the mail along with your marriage proposals en masse, effective immediately.
Further reading: https://youtube.com/watch/...1 -
How do you change password on devrant? I am looking at all the options and all I can do is delete the account. Is it hidden somewhere? I have been looking at the items on the right.
I am on webbrower.8 -
TL;DR: I'm reading papers and doing computer science like I could never afford to in college.
I am beginning my scientific arc.
Over the past few days, I have been working on implementing my own Evolutionary Algorithms
I've been doing a combination of "experimentation" and (probably less than I should,) actual research.
My Mark 1 was just a proof of concept that set up the data structures correctly, Mark 2 generalized the data structures and actually implemented some natural selection, but this was really just made up by me so I'm only getting mediocre results.
Next step: I have two papers lined up to read on EAs. Mark 3 might not implement them exactly, but I hope to beat the performance of Mark 2.
I'm encouraged by the fact that these research papers have TONS of different things they tried, and I'm really only on my first prototype (since Mark 1 didn't have any selection implementation, only randomness)
Follow along if interested:
https://github.com/AlgoRythm-Dylan/...11 -
Lets dive deep into the cesspool of Youtubes new AI age verification bullshit. So, if you didnt hear recently, YouTube is using AI to determine your age based on your activity which is first of all, a fucking privacy violation, if they find you to be under 18, you will lose access to a lot of Youtube unless you give some sleazy company your ID. I think this is all bullshit, Youtube should retract this, I fucking hate it, Youtubes restricted mode is fucking slop. Heres how to survive the armaggeddon. Avoid shit with "try youtube kids" next to the description. Treat those videos as they are nuclear waste. They are best avoided. Do not have child like viewing habits or Corporate Cowardice might flag you. Same goes with use of emojis. Dont use emojis like the cretins in my comment section as kids like emojis. Other than that, This is all fucking bullshit. Youtube doesnt know how much fucking backlash they are going to face, in fact they are facing backlash right now, Look youtube, fucking retract this bullshit, otherwise the community might choose fucking thermonuclear war. AI is still a fucking gimmick. I do not trust AI. Fuck all this shit.10
-
I started using devRant soon after I landed my first ever gig (internship) as a dev, and I've grown leaps and bounds since, and been almost a decade.
From a starting where I could barely manage my expense, to where I have saved enough to have a runway and have my own startup; yeah I am starting up...
Building something on the same lines as devRant for a completely different market...16 -
#include <stdio.h>
void getElement(int arr[], int size, int index) {
if(index >= 0 && index < size) {
printf("%d", arr[index]);
} else {
printf("Index out of bounds");
}
}
int main() {
int size, index;
// Read the size of the array
scanf("%d", &size);
int arr[size];
// Read array elements
for(int i = 0; i < size; i++) {
scanf("%d", &arr[i]);
}
// Read the index to access
scanf("%d", &index);
getElement(arr, size, index);
return 0;
}16 -
Thank you, appstore, for showing me an ad for the app that I was searching for, right above the search result for this app! 🤦♂️6
-
I sat next to a granny on the bench at the beach. She was about to go so I told her, "you're not leaving me alone with all those Germans are you? They can be mean.".
She said: "Yes, but that was a long time ago hihi hi".
We bonded.19 -
!dev Why do non-tech people assume that CompSci devs won't have any trouble getting a job and that it's a rare skillset...? Complete misconception. lol8
-