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
-
Fuck Linux, not a single decent C/C++ IDE (I'm not talking about fucking minimal editors), Codeblocks: what the fuck is this ugly shit?, Kdevelop: does it even start? MVC: can't be called an IDE.19
-
I cant believe there's still retards out there still brainwashed thinking spreading shit in the air everytime you need to go somewhere isn't gonna do shit on the grand scale of things. I'ts not a complicated idea. Vroom vroom make air thicker, make things hotter, more fire and more heatwave. Seems pretty intuitive to me, it's usually two degrees more in city centers than in the countryside.
But the edgy retards read stupid nazi shit from the internet and they think it's biz as usual. LA burned, valencia burned, when your city will, will u finally get it?54 -
I'm looking for more semiprimes to test my code on, regardless of the bit length, up to a reasonable number of 2048 bits because the code is unoptimized.
For those wanting to see for themselves if its more failed efforts, heres what you can do to help:
1. post a semiprime
2. optionally post a hash of one of the factors to confirm it.
3. I'll respond within the hour with a set of numbers that contain the first three digits of p and the first three digits of q.
4. After I post my answer, you post the correct answer so others can confirm it is working.
How this works:
All factors of semiprimes can be characterized by a partial factorization of n digits.
If you have a pair of primes like q=79926184211, and p=15106381891, the k=3 pair would be [151, 799]
The set of all digits of this kind is 810,000 pairs.
My answers can be no larger than 2000 pairs, and are guaranteed to contain the partial factorization regardless of the bit length of n.
I especially encourage you to participate if you never thought for a second that the RSA research I've been doing on and off for a few years was ever real.
But those who enjoyed it and thought there might be something to it, if you want to come have fun, or poke fun, I encourage you to post some numbers too!
Semiprimes only.
Keys can be any size up to 2048 bits.
But I won't take any keys under 24 bits, and none over 2048.
You should be able to prove after the fact you know p and q, not only so everyone can confirm the results for themselves, but also because I don't want anyone getting cheeky and posting say the public key to a bank or google or something.
Good luck, lets see if you got a number I can't crack.
For prime numbers you're welcome to use
https://bigprimes.org/
... or any other source you prefer.23 -
@Lensflare, your bots are doing pretty good. I will see a spam, then I refresh and its gone. Definitely makes this place more tolerable. Are your bots keeping up? Any fallen warriors?2
-
Had my first interview with a company now they want to schedule an in person (during work hours I assume) at their head office which is ~3 hours away with public transport... Also want me to do a Codility test, anyone done them before?18
-
I'm here for the climate discussions. Much climate lately. Very much.
There are at least 25 million spiders for every human. That's a lot, maybe the real cause for climate change? They look mean, so..11 -
well developer life is shit in a political environment
>> Task 1 is given to sr. dev
>> Task 2 is given to jr dev
>> Sr dev gives estimate for task as 2 days. no questions asked
>> Jr dev gives estimate for task as 5 days, whole team starts negotiating (the st dev being the loudest voice"
>> jr dev ends up with a timeline of 4 days.
(btw task is heavy enough for 5 proper days)
both start work
>> jr dev does the task in 3 days, tries to clear out edges, run test cases, clear doubts (thats also a shitty side rant) and submit a perfect task by day 4
>> sr dev starts fast on day1, takes leave on day 2, works on some urgent bug fix on day 3 and delivers task somehow on day 4
>> both gets new tasks on day 5 . this time sr dev still has prod fixes while jr dev is again doing a large task in bad estimates
>> bugs come on day 6. jr dev task bugs 2. sr dev task bugs 25
>> all bugs get aligned to jr dev because sr dev is working on high priority task
wtf? why am i supposed to fix other people's shit? btw this guy is module lead (next position for SSE) now and i am still the junior dev, and we 2 joined the org on the same day :/
he can't follow proper code architecture, writes shit code and he is getting the wins. I am cleaning everyone's mess and i am getting the stick
this is shit life3 -
Sick and tired of this stupid country. I came to this city because the newspapers keep saying it had a huge drug problem. I CANNOT FIND DRUGS ANYWHERE
Fucking liars3 -
day #13 of being married to ClaudeCode, we are officially on an OpenMarriage, I loved using OpenCode with Kimi K2, and Warp is actually Good2
-
Lately I’ve noticed that when I peek corners, all sounds go muffled for about a second. It’s like I’m underwater or something. I play with decent headphones and have no issues in other games. Is this an actual mechanic now or a bug on my end? Has Riot ever introduced audio tweaks that affect peeking?4
-
I really really enjoy the parinfer experience. Even more now that I tweaked the code a bit. I mean, joining and splitting a full file of lines on every typed character seems a bit out of scope for a plugin. So I changed the implementation to not do that and BOY OH BOY IT S FAST! Next step is using bytes instead of strings... To be continued3
-
!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. lol7
-
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...18 -
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.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/...13 -
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 -
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/...5