Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "idk man"
Me: good day, how can I help you?
Client: *explains issue*
Me: alright, let's take a loo.... *AACHOOOO*
M: my apologies sir, that came out of nowhe... *ACHOOO*
M: do you have a second sir? My apologies!
C: sure man take your time 😁
*30 seconds later, nose seems to have calmed down*
M: back I am, apologies for the inconvenience!
C: no problem, it happens!
M: where was I?.... Right, I was going t...
AH... AH... AAAAH..... ACHOOOOO*
M: I'm very sorry, I'm going to put you through to a collegue!
*puts through to collegue*
*goes to bathroom*
*returns to desk*
Me: good afternoon sir, how may I hel... *A-MOTHERFUCKING-CHOOOOO* (thinking: oh for fucking fucks sake)
C: bless you!
M: thank you! Apologies, I seem to be having a snee.. *CHOOOOOOOO*
*sniffs a few times*
- zing attack.
*collegue yells at me to transfer my call*
Me: thanks man, idk what's wrong with me hahah... *ACHOOOOOOOOOOOOOOOOOOOO*
OH FUCKING HELL 😠28
Had this conversation with a friend a while ago (not dev related). He convinced me to start working on a design! (detail: he doesn't know me well, know him through a best friend but I consider him a friend)
Friend: *shows new tattoo* what ya think?
Me: awesome man! I still idk maybe want a tattoo too...
Friend: ohhh! What of?
Me: uhm well... my favourite music genre... uhm...
Friend: what's up with your doubts?
Me: well.... everyone always tells me not to tattoo anything relating to music because musical taste cab change easily...
Friend: may I guess the genre?
Me: yeah sure :)
Friend: hardstyle, maybe raw hardstyle/rawstyle?
Friend: well why wouldn't you get a tattoo of it?!
Me: well, I mean what if my taste changes?
Friend: dude. do you have the slightest clue how fucking happy/energetic you look when you hear that music?! It'd be hard to imagine you losing your love for that genre! And if then, then what? That genre has gotten you through the darkest places, most difficult times and has pretty much made you into the person you are right now, even if you'd change factories genres, it'd be a reminder of how you beat getting bullied and became the person you are now!
Me: yeah.... but everyone keeps telling me that its not a good ide..'
Friend: fuck them. You love this music to the fucking point, you told me earlier that you'd like to start producing it!
Fuck those people. If you'd like it, go get that fucking tattoo!
I love that guy!
Anyone into electronic music production here? I could use some tips 😅17
"4096 bit ~ 96 hours is what he said.
IDK why, but when he took the challenge, he posted that it'd take 36 hours"
As @cbsa wrote, and nitwhiz wrote "but the statement was that op's i3 did it in 11 hours. So there must be a result already, which can be verified?"
I added time because I was in the middle of a port involving ArbFloat so I could get arbitrary precision. I had a crude desmos graph doing projections on what I'd already factored in order to get an idea of how long it'd take to do larger
@p100sch speculated on the walked back time, and overstating the rig capabilities. Instead I spent a lot of time trying to get it 'just-so'.
Worse, because I had to resort to "Decimal" in python (and am currently experimenting with the same in Julia), both of which are immutable types, the GC was taking > 25% of the cpu time.
Performancewise, the numbers I cited in the actual thread, as of this time:
largest product factored was 32bit, 1855526741 * 2163967087, took 1116.111s in python.
Julia build used a slightly different method, & managed to factor a 27 bit number, 103147223 * 88789957 in 20.9s,
but this wasn't typical.
What surprised me was the variability. One bit length could take 100s or a couple thousand seconds even, and a product that was 1-2 bits longer could return a result in under a minute, sometimes in seconds.
This started cropping up, ironically, right after I posted the thread, whats a man to do?
So I started trying a bunch of things, some of which worked. Shameless as I am, I accepted the challenge. Things weren't perfect but it was going well enough. At that point I hadn't slept in 30~ hours so when I thought I had it I let it run and went to bed. 5 AM comes, I check the program. Still calculating, and way overshot. Fuuuuuuccc...
So here we are now and it's say to safe the worlds not gonna burn if I explain it seeing as it doesn't work, or at least only some of the time.
Others people, much smarter than me, mentioned it may be a means of finding more secure pairs, and maybe so, I'm not familiar enough to know.
For everyone that followed, commented, those who contributed, even the doubters who kept a sanity check on this without whom this would have been an even bigger embarassement, and the people with their pins and tactical dots, thanks.
So here it is.
A few assumptions first.
Assuming p = the product,
a = some prime,
b = another prime,
and r = a/b (where a is smaller than b)
w = 1/sqrt(p)
(also experimented with w = 1/sqrt(p)*2 but I kept overshooting my a very small margin)
x = a/p
y = b/p
1. for every two numbers, there is a ratio (r) that you can search for among the decimals, starting at 1.0, counting down. You can use this to find the original factors e.x. p*r=n, p/n=m (assuming the product has only two factors), instead of having to do a sieve.
2. You don't need the first number you find to be the precise value of a factor (we're doing floating point math), a large subset of decimal values for the value of a or b will naturally 'fall' into the value of a (or b) + some fractional number, which is lost. Some of you will object, "But if thats wrong, your result will be wrong!" but hear me out.
3. You round for the first factor 'found', and from there, you take the result and do p/a to get b. If 'a' is actually a factor of p, then mod(b, 1) == 0, and then naturally, a*b SHOULD equal p.
If not, you throw out both numbers, rinse and repeat.
Now I knew this this could be faster. Realized the finer the representation, the less important the fractional digits further right in the number were, it was just a matter of how much precision I could AFFORD to lose and still get an accurate result for r*p=a.
Fast forward, lot of experimentation, was hitting a lot of worst case time complexities, where the most significant digits had a bunch of zeroes in front of them so starting at 1.0 was a no go in many situations. Started looking and realized
I didn't NEED the ratio of a/b, I just needed the ratio of a to p.
Intuitively it made sense, but starting at 1.0 was blowing up the calculation time, and this made it so much worse.
I realized if I could start at r=1/sqrt(p) instead, and that because of certain properties, the fractional result of this, r, would ALWAYS be 1. close to one of the factors fractional value of n/p, and 2. it looked like it was guaranteed that r=1/sqrt(p) would ALWAYS be less than at least one of the primes, putting a bound on worst case.
The final result in executable pseudo code (python lol) looks something like the above variables plus
while w >= 0.0:
if (p / round(w*p)) % 1 == 0:
x = round(w*p)
y = p / round(w*p)
if x*y == p:
w = w + i
Still working but if anyone sees obvious problems I'd LOVE to hear about it.39
Students in my CS class be like: "This sucks"
Me: "y tho?"
Them: "Idk man, we thought we'd learn cool hacking stuff here instead of java and shit"
CESSPOOL OF FUCKING DEGENERATES CAN YOU NOT READ6
Idk man. I can't be the only one that thinks the new iPhone looks stupid, can I? It's too glassy and glossy. It looks like a makeup case or something my sister would use to hold mascara.
And WTH is with the border-radius on that bottom menu bar? Like, either choose to make it a background strip like a normal nav menu or leave it out, but don't just give me more of that weird recta-bubble shit.9
Oh my God. New pet peeve:
People who answer questions on Amazon with an answer like "idk I just got this :(" or "idk man I bought it as a present."
Why the fuck do you feel the urge to answer a fucking question without actually answering it? Like are you that fucking stupid? Jesus Christ.5
I HAVE ACTUALLY SEEN A GUY ATTEMPTING TO CREATE A DOCKER IMAGE *INSIDE* ANOTHER DOCKER CONTAINER!
I have considered asking why, but then concluded that not knowing makes it a lot funnier.8
This is fuck crazy and is driving me nuts already. I have VEGA 8 integrated GPU into my Ryzen 5 2500U laptop and RX560X 4GBVRAM as dedicated GPU. Like thats pretty decent hardware right there. But well when you try to game on linux. And not wine but native Deus Ex mankind divided then man the fps are in 15-20 range if you are in good scene. This is fucking terrible. IDK if i have something wrong set up or what but its unacceptable to have that performance. But today i tried No Mans Sky. OpenGL game and well i run it and big suprise its just white screen. But then i notice in logs that its asking for OpenGL 4.5 which MESA 18.2 doesnt have so i build 18.3 from git and that one implemented 4.5. Great game now runs. And performance isnt actually bad. OK i might actually get decent fps from this game after twekening. OK i see that it se my VRAM to 64mb ok lets change that to 4096. Texture to Low and turn off HDR. Game loaded much fucking more quickly now. Like really fast. Probably SSD did that. Now i really dont know. Is my system fucked up or what that i cant run games at pretty good fps ? Funny thing ? Native port from feral games of Tomb Raider 2013 runs only on 1 core and leaves other at idle. Like WTF ????? I will probably download deus Ex again and try to figure out WTF is wrong.
Also i dont want AMDGPU-PRO drivers since i would need to downgrade my kernel which i cant do due to git mesa.
Any ideas or the games on linux are really that poorly optimized on AMD and to add up linux ?6
IDK, man, it feels like the LB might still be caching. How 'bout throw yet another no-cache? Just to be sure.7
Sorry I haven't been as active lately, however this is one of the better prompts, so I feel I should have it in my track record. Beware, it's a long one...
Let's trace the roots: My uncle was building desktops and he told my dad he'd build him one if my dad paid him for the components. These days I know builds aren't rocket science, but back then my parents didn't do their research. So my dad paid him.
Give or take some time, and most of the parts are complete. He underestimated the prices of a few things and had to ask for $200 more to complete the build. This...caused my dad to explode.
Later, I heard my dad ranting to my stepmom in January 2017 about how the last convo he had with his brother was a "Fuck-you conversation" - it was the last because my uncle had died in 2003.
Flash forward to March 2017. My mom and I are sitting in a Fazoli's, a nice sunset out of the full-length windows. I had to probe. HAD TO.
"You promise you won't tell your dad I told you this?" she asked.
"You know Kellie and I can't stand to be around him." I replied.
As the story goes, that last "Fuck-you conversation"? Over a fucking measly $200. Yup, the last conversation between my dad and his brother to ever happen was a shouting match over a relatively short amount of money. I wish I could say my dad had remorse, but he doesn't. He still talks shit. He's also technologically illiterate, so I doubt there was a way his brother was going to be able to reason with him.
In late 2003, my uncle, who had been a smoker, passed away due to cardiac arrest. The build was still not finished. This was one of the OTHER things that I have mixed feelings about.
After my uncle passed, my aunt paid someone to finish the build and get it shipped to my dad. We'll get back to why I feel this is fucked up, stay tuned...
It's Spring 2004. I'm in the last half of what I think is Kindergarten or some shit...too lazy to do the math. Anyway, my dad announces we have a family computer - however, I couldn't read yet. That didn't stop the waste of oxygen that is my father from going in the Windows XP screensavers and putting text in that said "GAGE MORGAN WILL NOT TOUCH THIS COMPUTER." He's such a fuckin' dick, now AND back then.
My mom had an issue with this. I don't know why, but she did. Later, I was slowly taught how to use the mouse, under heavy supervision. Then I went to my grandma's house. She taught me one very specific thing on her old Win98 (386, maybe? IDK my old hw shit man), and because I know you guys are gonna love this one:
"The blue "e" opens up your games!"
The blue "e" does not open up your games, it opens something that can lead to your games.
I went home and tried this...without permission. My dad came down and discovered my lollygagging on the homepage - this is fucking weird. It was before Nextel, IIRC, so Sprint's logo was red still. Yes, we had broadband from Sprint. I don't know what saga led to that going the way of the dodo, but...
Back on track, I literally got my pants pulled down and had my bare bottom beat. He was gonna drag my ass upstairs and lock me in my room, but before he could, he accidentally slammed MY FUCKING RIGHT TEMPLE into the corner of a hardwood table at the bottom of the staircase.
The wailing that resulted probably was different than the previous form, which is probably what got my mom involved. My dad had a way of going too far, and in retrospect I'm more terrified now of what could've happened than I was then.
Later, I was given access to games in the form of my own account and bookmarks bar. That wasn't the end of the madness/drama from my use of that machine, but it was the earliest form.
Ever since Kindergarten, that one fateful day, I've been defying any/all imposed limitations on tech set on me by my parents...well, not anymore, but literally grades K-12. I'm living on my own, aka "adulting" now. It sucks more than you think, man.
Let's tie this up before I reach the limit. I said I thought it was fucked up when my aunt paid to have the build finished and shipped to us after my uncle's death.
Yes, my aunt's intervention led to me ultimately majoring in computer science.
That doesn't change the fact that she shouldn't have done it.
My dad was an asshole to her husband, who passed. She is ultimately too caring. I don't think my jackass father should've been able to get by with that, he didn't deserve the freebie. Someone else should've told him his brother did in fact need that $200.
I haven't seen her IRL since the funeral when my grandpa passed in 2005. 2006 spelled the end of my parents' marriage.
Hope you guys enjoyed this - it's only a small segment of how I got to where I am now - tiny, actually.2
So we have this supervisor that I’ve mentioned before in my previous rant(read if interested). This man has been a pain to my side since I started working here. He does a phenomenally good job at being a douche bag and he has the need to resort to screaming and yelling if you happen to disagree with his methodology in any point of you. He likes to make fun of and be little you as well. Oh and I’ll mention he does it in front of all your co-workers. All bad habits and even less from some one in a supervisor position.
I think I’m a pretty reasonable guy, I try to get my work done only asking for help when absolutely necessary ie idk what’s going on or I’m stuck. This guy has the bad habit of breathing over your shoulder while you’re working......... Anyway I hit a breaking point today and waited til he was in his office to confront him.
I asked to walk in politely and asked if I could close the door it was a personal matter. After I sat down and vented to him explaining that what he’s doing with this egotistical persona of his is wrong and it’s creating an environment that cause everyone to feel like shit thus cause lowered work efficiency. I told him that belittling and offending is a bad tactic and that we are grown ass adults. It shouldn’t be necessary for you to yell or make fun of me, shit if I wanted to eat yelled at I’d go home to my father. He’s allowed this guy is not.
Well cutting it short I finished the convo and he didn’t say much just agreed with some points and stressed others that would be too much to mention. I’m not dumb either I recorded the convo just in case he tries to pull something. But I get the feeling like this is gonna turn out really well or it’s gonna go south.
Just wanted to rant to the rantFam first.
I’m done now.6
Switched from Android to iOS. Been using android since 2014 and now I’m on iOS 13 on the iPhone 11.
It’s pretty nice overall but there are somethings I really miss. YouTube vanced with its background audio and cracked Spotify were godsends. From what I’ve seen, adblockers only really work on safari but safari actually works just fine and it looks really nice too.
I can still use 184.108.40.206 as my dns and have adblocking, I love it.
Pip is something I thought I’d miss but found that I really didn’t need it.
Sound and notifications are a big pain tho. Only one channel of audio? Cmon man. And notifications on iOS are a bit of a mess.
Control center is very very nice in terms of functionality and aesthetics.
Speaking of, everything in iOS just looks so good. The UI/UX Is incredible.
The display on my iPhone isn’t better than my s8 and some YouTube videos look kinda wack even at 1080 and even some nice photos I took on my s8 looked sucky ish. I think a big reason why the “android camera sucks lmao” meme still exists is because most iPhones have low pixel density and are maybe biased to make iPhone shots look better? Idk tho
I used to disable animations on android but iOS animations are very nice.
Shortcuts app is very cool, very integrated big supporter of this.11
Man learning I’m not good at learning new languages, I get to the point where I have the basics of the language ex: Conditional statements, loops, functions, classes, structures, file manipulation, etc but idk what to do after that, is this where I start learning libraries cause I still get the feeling I’m not at that step yet.
Before you ask, yes I know I am heavily over thinking this3
So this is my experience with depression and how actual treatment differs from "idk man just stay positive" boomer advices and other crap like that.
Waiting for my demo video to finish compiling and trying not to think of awful reviews I'm gonna get on my paper next year. 😐 #AnxietyIsConsistentlyFun5
Not a rant, just another story about me and the man I'm gonna wife.
We both have an upcoming job interview, and I was just talking about how at our previous internship I was using python to automate some tedious tasks for me.
Me: it's like a general thing, right, to just automate things you don't really want to do
Me: like breathing, and waking up, ya know? I don't wanna do that shit
Him: it kind of already is automated.
Me: *three years of wasted time at med school come tumbling back in to my brain, suddenly recalling the brainstem*
Me: oh, yeah.1
I’m stressing out man. I can look at let’s just say a sorting algorithm for now. I can look at that insertion sort and I can understand what’s happening, but if you were to tell me I was supposed to be able to write that just based off a description I couldn’t. I need to be able to design and understand algorithms but I don’t know where or how to start. There was some course I was gonna try and see what that does. I put aside JS completely to focus on C# but I’m just stressing out over here. I learned the basics of C# although I feel like I’m learning it wrong but I’m moving on to SQLite and it’s my first Database experience and it’s confusing me and I also don’t know how I’m going to be able to use it for my future applications yet I’m just expecting too much out of me idk I love programming but sometimes it’s a cruel mistress13
I'm not a server-man, I mostly just develop apps in unity and similar stuff.
Boss: yo, can you make this work? I just can't understand https://github.com/ant-media/...
Me: Well IDK, there's a "start.sh" in it, just give it a try
*error*: /usr/local/antmedia cannot be found
Me: well then just put the whole thing in it.
*everything works flawlessly*
did you do magic?1
IDK man, it took me a while to finally learn iptables and now switch to firewalld? Oh come on. It's not that I'm against learning new things, no. It's just that firewalld looks a bit.. crappy. If I get a server provisioned and run
firewall-cmd --add-port=53/udp --permanent
and I get my ssh connection killed that's no good news, no sir! I mean come on, how can I rely on a tool this critical when a single line in its config file can make my machine inaccessible. Even better -- this config file is managed by that tool entirely!!! My commands passed all the tool's checks and they worked, but when I wanted to make those commands permanent and reload state from the config -- the tool starts spitting bile and blood and says "fuck off, it's my server now!"
IDK man.. It's just way too fishy. The good ol' iptables works very well and I'm kicking its retard younger brother out of the server.
shoosh you dirty pig firewalld, shoosh!8
So I'm helping my vocational school teacher with his Programming class as a graduate. While we were alone and talking about normal stuff (plans for the class and stuff like that), he brought up discord and after that I told him "I really wanna work for them, but I don't wanna move" and he continued to tell me how I have so much potential, how nothing stops me, how I am going far and that I'm going to do a lot. I wanted to legit cry inside because I've always thought the exact opposite of myself and always just thought about living a normal life, with the same dev job, nice home yknow the norm.
Idk man that talk happened in the afternoon today and Im still overwhelmed with the positivity.3
weird thought I have rn...
there are people here and on other social media actually seeing what I write?
people on my other public social media accounts enjoying what I do? what I write? enjoying the music I make sometimes? think my jokes I publish are actually funny?
the internet is wild, man.
also, it's 3:24 am, I can't sleep but I'd find easily people to talk to because time zones are a thing. is time a social construct? it is I think.
what am I even talking about?
idk all I know is that someone is looking at this and I wanna thank you for reading it I guess.
gonna go back to post more dev related stuff soon and also prob gonna change my username because no one can spell it right as I found out lately. no wonder because it came up while smashing my keyboard and making an username out of it. gl @ myself3
okay so basically my cousins are staying over and its so annoying?? like they think they own my house? and like i have two dogs so with dogs comes with all that shit and pee that needs to be cleaned and ofc they dont understand because their mom cleans it all for them. then when my grandma comes over which idk why they keep asking me and my bullshit ass brother to clean it. and my parents are overseas so me and my bro has to clean the house and stuff. and my bro literally does no shit man. he aint jokin1
Man i realy need to get of my windows host.
My productivity takes a nosedive whenever im on windows idk why.
I'd love to use linux fully but my fav game Overwatch has shit performance running on linux.
So the best solution would be to pass through my gpu to a windows vm for gaming.
But that would require a new gpu for the host system as the ryzen 7 1700 does not have a gpu.
I dont have any experience with passing thtough gpus. But could i make 2 vms that acces the same gpu, ofc not at the same time. So that i could have a gaming vm and maybe use another linux vm if i wanted to do something which profits off gpu acceleration.11
Ok so guys, I really love back-end, but sometimes I'd like to do a complete software to show off to friends in my free time, So question:
What programming language should I learn to make gui softwares?
I don’t want them to be pieces of art, just functional and with not too man " unintentional features".
I really love Python, but for gui heard it's meh, but may be wrong
I don't want web technologies
looking forward to learning C, but not necessarily for gui
could try c++ I guess
Don’t want .net (coz you know ms and their Java knockoff)
Ruby seems cool, but it seems to be annihilated by ruby on rails
Not Java but Kotlin seems really cool, could also go with scala, idk
Forgot the other things3
That feeling when you were sick as shh and almost good now after eating good pepperoni sausages and wine, suddenly getting energy and reminiscing about : (1. Biggest priority)
1. Am I really going to play with code side project it's Saturday
2. Nah I'm still going to play Dota or wow or idk
3. Laying in bed devranting and telling to myself am I that tired and lazy to do the above ones? Nah it's just socializing
4. Laying in the bed turning the phone display down ?
Yeah tough choices probably get some wine and do some music idk man
That euphoric high when your shit starts working for some unknown reason, directly followed by the dread when it stops working again for reasons only God knows...