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
-
Xiaomi is demanding to sign in to an account to enable "Install via USB". It has to be enabled, otherwise it prevents the app under development to be installed, either via USB, or wireless.
Thank you, temp-mail for existing, and fuck off, Xiaomi. I should have bought another Samsung instead, but I didn't know any better.7 -
So... it's break time.
I just was eating fries with ranch... dipped my fingers in the ranch as if they were holding fries...then immediately hit Ctrl + z.
Took me a few seconds to realise why it didn't work.3 -
LOL this showed up, the bar is a removed sign, the dot is an error sign, but together I got a "!" which makes it even more weird cuz the error is there because of those removed lines.
geez, I'm so silly -
> systemctl enable --user pocketbase
> Failed to enable unit: Unit file pocketbase.service does not exist.
> Cat into ~/.config/systemd/user/pocketbase.service
> File exists.
Thanks for confirming you are shit systemd. I would love to see this happen in OpenRC or any sysv-like rc for that matter.
Fucking morons on a stick5 -
After a lot of work, the new factorization algorithm has a search space thats the factorial of (log(log(n))**2) from what it looks like.
But thats outerloop type stuff. Subgraph search (inner loop) doesn't appear to need to do any factor testing above about 97, so its all trivial factors for sequence analysis, but I haven't explored the parameter space for improvements.
It converts finding the factors of a semiprime into a sequence search on a modulus related to
OIS sequence A143975 a(n) = floor(n*(n+3)/3)
and returns a number m such that n=pq, m%p == 0||(p*i), but m%q != 0||(q*k)
where i and k are respective multiples of p and q.
This is similar in principal to earlier work where I discovered that if i = p/2, where n=p*q then
r = (abs(((((n)-(9**i)-9)+1))-((((9**i)-(n)-9)-2)))-n+1+1)
yielding a new number r that shared p as a factor with n, but is coprime with n for q, meaning you now had a third number that you could use, sharing only one non-trivial factor with n, that you could use to triangulate or suss out the factors of n.
The problem with that variation on modular exponentiation, as @hitko discovered,
was that if q was greater than about 3^p, the abs in the formula messes the whole thing up. He wrote an improvement but I didn't undertsand his code enough to use it at the time. The other thing was that you had to know p/2 beforehand to find r and I never did find a way to get at r without p/2
This doesn't have that problem, though I won't play stupid and pretend not to know that a search space of (log(log(n))**2)! isn't an enormous improvement over state of the art,
unless I'm misunderstanding.
I haven't posted the full details here, or sequence generation code, but when I'm more confident in what my eyes are seeing, and I've tested thoroughly to understand what I'm looking at, I'll post some code.
hitko's post I mentioned earlier is in this thread here:
https://devrant.com/rants/5632235/...2 -
israel population = ~10 mil
uk population ~70 mil
popular vote uk = 0
popular vote israel = 325
huh?????? i finally believe the conspiracy theory... there is total bullshit moving through the undercurrents of international society. actually the entire media and everything on the planet is shifted by angry retards with an IQ of approximately 27 who read something on twitter and therefore they must of course conform and do it
rich hands of influence reach far across this modern world....
my twitter dies on wednesday, I think i'm quitting this platform too... i'm just so sick of wasting time 'discussing' with people who literally have informed their entire lives by sources of media that all have an agenda, and yet said reader can't recognize that. go to bot school you fucking 🤡
also inb4 eurovision is a clown event, i know it is, but the fact that 'israel' as a country was for a good 10 minutes at 1st place of the vote is simply mind boggling to me (and to be fair, switzerland, france, israel, portugal, and croatia acts in terms of art and musical talent were all shit IMO) but what do i know? apparently the 700 mio people who live in europe don't agree - but even then, who knows anything about anything as to the actual 'numbers' that are posted on these 'votes' - could all be fake, or, even worse, the entire WORLD could be fake and i'm just typing to a fucking reflection of my own conciousness on this box
ach i'm very close to just turning it all off, its just rubes on top of rubes, derivatives on top of derivatives all more retarded than the next, and each night
then i get people like kiki who rage at me for getting drunk, then 'brag' they ran 5k. i ran more and drank more than you today, get over it.
i didn't need pills to do any of it either.
or i get sid the it kid, who gives non ironic lessons in fucking PHP 😂😂😂😂 in 2024 on youtube, and yet acts like he's a badass because he pointed out a 'redundant' 'const' in my code 😂😂😂😂 actually i don't know why in the first place i listened to any of it... going my own way has ALWAYS been the best way
by 2030 i will sell my saas(es) for 500k(+) and wonder why i even gave clowns on this platform the time of day
you know what? fuck it, it's been fun devrant, as of today i become a hermit, sick of this planet, and these apes
read books, go running, learn math (or any skill at that matter) and stay calm.
i can't describe in words to all of you how much a fucking abysmal waste it all is... just build useful stuff that helps people. the enormous (and trust me, it is absolutely eclipsingly enormous) discussion about everything around everything else is truly and utterly mind numbing and time wasting to the absolute core
farewell5 -
As an anti-aliasing nerd it's sad to say but there is really is only one* good choice left: Just use DLSS
(* and if you aren't on nvidia then sucks to be you, FSR for you I guess) -
I may have accidentally found a legit factorization method that converts factoring to a combinatorics problem over a graph, with a time complexity that is the factorial of the logarithm of the semi prime being factored.
I don't know if this is supposed to be good or not, and I don't want to post it prematurely like I almost always do. Not at least until I study its properties better, but it's still a pretty interesting find I think.5 -
So I’m very biased against JavaScript. However, beliefs need to be challenged. If you feel like it, convince me that this language is worth using as part of the tech stack.11
-
Did an online test for a position as a front-end developer using React.
I started it and proceeded to initiate the first challenge: write a component that is a button that, when clicked, toggles its text between ON and OFF. Makes sense, easy enough.
Second challenge, write a fucking shit of a function that takes the second highest number and reorders it in some shitty way. Something like 12452 becomes 12542 or some shit like this.
I stopped right there. How's that relevant for the position, motherfucker? And that's considered "medium", being the second challenge of 4. What's next? Replicate Margaret Hamilton's whole codebase in JavaScript?
Provide tests that are relevant for the position I am applying to, dumbfuck.3 -
Woah, this platform still exists. That's cool, idk why randomly I thought let's check devRant. lol4
-
We were delaying a feature from the roadmap because implementing it in the new client was taking it days we didn't have.
One of our devs backported everything in the old client, some undocumented clusterfuck of crusty code from 12 years ago running in AngularJS.
Oh my, if it isn't the same fucking thing I've been calling for THE ENTIRE PAST YEAR -
OK it's been a week since I started my Archise project. I bring everywhere an Arch install key and a mini keyboard. So when I go to the mall, I stick my key and type archinstall, make minimal configs, and starts download. I converted 12 things. Gotta continue.5
-
Current workload as dev lead:
- 1% actual development
- 2,5% waiting for SaaS to load
- 2,5% cursing company server network connectivity issues
- 5% switching VPNs
- 7,5% pkg management & deploys
- 10% writing JIRA and support tickets
- 12,5% filling in timesheets
- 15% coaching & reviewing a bot coworker
- 19% doing 2FA, refreshing expired passwords
- give up and spend the remaining 25% doing something meaningful8 -
get bug
find slack context
senior describes some stuff as magic and it's unfortunately not working as expected
fml2 -
I'm trying to stand up a docker container to read a storage queue with dotnet and invoke ffmpeg to convert some videos. For a whole day I fought with this wrapper (FFMpegCore) which kept throwing file not found errors on the ffmpeg binary itself. Locally (windows) it worked fine.
I spent a ton of time trying to install the Debian package, trying to add it to the path manually, trying to just use the wrapper just to generate the arguments I wanted (I'm not an ffmpeg pro, so the fluent API the wrapper has is super useful) and running it manually, nothing worked. Finally, I realized it wasn't getting to the part where I ran it manually: just using the fluent API to get the arguments was invoking ffmpeg and throwing.
I took away the wrapper completely, start ffmpeg manually and it works...
Ay carumba. Things just can't be easy.1 -