Details
-
Abouthello everybody i'm Emanuele i'll start a professional course on febbrary than will give me the opportunity to became a fullstack web developer, i hope to receive some good suggestions by the comunity
-
Skillshtml, css, little bit of js
-
LocationSardegna, Italy
Joined devRant on 1/16/2023
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
-
Met a girl in an app. She is hot 10/10. Sense of humor is 10/10. Empathy, integrity is 3/10. I’ve realized she is an addict of Marijuana. We’ve been talking for a month and she’s stood me up once. Then went traveling. Says she misses me. Then goes cold. And back and forth. This shit is a fucking headache. Just today she was stoned and telling me its not gonna work, I want kids and marriage and she can’t give me that. She sends me nudes and promises we will meet at the end of the month. This entire fucking thing is an emotional rollercoaster. I don’t feel the same at work. My productivity is suffering. My gut says to block her. And I fucking hate the thought of it but it’s right for my peace of mind and productivity. I just wonder how long I should fight since we have such fun conversations. I’ve lots all trust for her. She’s basically like a permanent fixture of my digital life it seems. And that’s depressing as hell. I’m giving her two weeks to show in my physical life otherwise I’ve set a date in my calendar where I must block. Addiction doesn’t even cut it, I feel addicted to this person. The jokes the laughter, the beauty. It’s torture.27
-
CODING CODING CODING HAHAHA I LOVE PROGRAMMING BEING A LITTLE CODE SLUT. I LOVE SILICON VALLEY IM SUCH A QUIRKED UP LITTLE CODE SHAWTY LOOKING FOR SOME ALGOASS 🍆💦😩.
“Slams fists on keyboard”
I LOVE BEING A CUTE SCREEN TWINK, IMPRESSING PAPI CEO WITH MY FINGER COMBINATIONS. I LOVE PLEASING EXECUDADDY. 🍑😏🫦
“Takes keyboard in hand and slams it against desk until keyboard keys explode everywhere”
I LOVE WATCHING THE AMERICAN GOVERNMENT AND CORPORATE AMERICA FUCK MY ASS IN RETURN FOR PERSONAL PROFITS. 🤑☔️
*digs fingernails into the wall and claws off paint and then snorts it”
*pees and shits pants*
*cries in corner with extra agony*21 -
I need an opinion.
I want to learn something new. I consider myself a non-stupid person, and I am quite embarassed by the fact that the only tool I know well is Js+friends.
My options are:
- Java because money
- C/C++ because smartass
- Rust because yes
- some new shiny obscure shit like nim/zig/hare because lol
Currebtly I need money tbh. Java would seem a reasonable option, yet I'm scared by its huge ecosystem and I'm afraid that it would seriously take too long (like MANY years) to be confident enough to get a job.
Also, despite the common memes and crap, I fucking like Java.32 -
Found a clever little algorithm for computing the product of all primes between n-m without recomputing them.
We'll start with the product of all primes up to some n.
so [2, 2*3, 2*3*5, 2*3*5*,7..] etc
prods = []
i = 0
total = 1
while i < 100:
....total = total*primes[i]
....prods.append(total)
....i = i + 1
Terrible variable names, can't be arsed at the moment.
The result is a list with the values
2, 6, 30, 210, 2310, 30030, etc.
Now assume you have two factors,with indexes i, and j, where j>i
You can calculate the gap between the two corresponding primes easily.
A gap is defined at the product of all primes that fall between the prime indexes i and j.
To calculate the gap between any two primes, merely look up their index, and then do..
prods[j-1]/prods[i]
That is the product of all primes between the J'th prime and the I'th prime
To get the product of all primes *under* i, you can simply look it up like so:
prods[i-1]
Incidentally, finding a number n that is equivalent to (prods[j+i]/prods[j-i]) for any *possible* value of j and i (regardless of whether you precomputed n from the list generator for prods, or simply iterated n=n+1 fashion), is equivalent to finding an algorithm for generating all prime numbers under n.
Hypothetically you could pick a number N out of a hat, thats a thousand digits long, and it happens to be the product of all primes underneath it.
You could then start generating primes by doing
i = 3
while i < N:
....if (N/k)%1 == 0:
........factors.append(N/k)
....i=i+1
The only caveat is that there should be more false solutions as real ones. In otherwords theres no telling if you found a solution N corresponding to some value of (prods[j+i]/prods[j-i]) without testing the primality of *all* values of k under N.13 -
Hey, it's 2023.
If your component isn't written in TypeScript, I'm not using it :)
"TypeScript is overly complicated!!!" why, because it pointed out everything wrong in your JS code?
"TypeScript is not flexible!!!" why, because it makes you not rely on fragile "only possible in javascript" patterns?
"TypeScript isn't needed!!!" why, because you've never worked on a project with more than 100 lines of code where dependency management and clean code policies were implemented?
god just stop with the JavaScript purist BS, you aren't going to win this battle, and it's even worse because not only are you injuring everyone in the software community, you're injuring your own productivity and skillset
actually, you know what, fine. just use pure JS and HTML implementations. see you in 10 years when i'm retired and you are still running around in circles wondering why the world has left you behind25 -
January is always the month of feedback and reflection. I dont mind going to the office x times a week and standing still on the highway every day. But if they are asking me to spend my own time on a course now they can lick my balls. Im already working for two years without a raise. Ik not continuing like this. I understand everyone needs to improve but if im exhausted at the end of the day by all the buzz in the office i dont have energy left for additional schooling. Im learning on the job. Deal with it1
-
I want you all to think back on how "transparent" and "helpful" everyone was to you when you were useful to the company.
And then as soon as you were gone, did they just complain and say something like "how could fullstackclown leave us??!?!?!"
I swear, the last call I was on, I literally heard the phrase "we are such a good team, we think up great MVP products and you guys execute so well"
Let me translate: "we are whimsical fucksticks and you are our slaves to implement it because we ourselves are too incompetent to do it"
Well no more.
Fucking tools, all of them, everyone just wants to use us to get ahead. No competence, no self-understanding, just encapsulate the "IT" or "tEcHiE" people to some department - doesn't even have to even be near us, they can be from any geographic location; they can just be replaced at a moment's notice!
Yeah, well fuck you, because we're growing in skill and understanding, and fighting against you.
Fucking 🤡🤡🤡🤡🤡🤡🤡🤡s
The unionized revolution of software developer is coming soon.2 -
I attended a webcall with the cat on my shoulder, some manager complained it was not professional.
Now, I do not know who that was so I'll have to just shoot in the crowd and take innocent victims, but from now I'll attend every single call with as many cats on screen as possible. Possible outcomes, and both are fine by me, either they cut down the amount of unnecessary calls -as to limit the amount of catness on their screen- or learn to grow the fuck up because unlike some retard I get paid for working, not for busting the balls to the people that actually work.10 -
BEEP-BEEP
Every now and then, periodically
BEEP-BEEP
and then quiet. Get into working mode, concentrate again, a...
BEEP-BEEP
wtf is that.. Took down my smoke alarm, prolly the battery is getting low. Put it next to me, waiting...
BEEP-BEEP
nope, it's gotta be smth else. How can I hunt it down when I can't even tell which direction it's coming from?!? I know. Play smart. Measure the period.
BEEP-BEEP
it's been 3 minutes 5 seconds since the last BEEP-fucking-BEEP. Now I can plan my time ahead. Go to one room, wait fo..
BEEP-BEEP
Nope, it's not there. Carry on with all the other rooms, waiting for that annoying beeping.
BEEP-BEEP
I think I at least know the room. Good, narowed it down.
BEEP-BEEP
this is getting really annoying. I've been playing with this nonsense for an hour already. Alright, it's in my kid's room. The PC is off, toys are off. What could it be....? Binary search the f
BEEP-BEEP
uck out of it! aight, I first try to identify from which part of the room it's coming from. Stand in the middle and tu
BEEP-BEEP
ahh, right, it's behind me then. Fine. That's the PC corner. But it's off, it can't be making sounds. Esp when it has no speakers plugged in - it's got only Bluetooth speakers which haven't been turned on for what, a year already? but then w
BEEP-BEEP
hat could it be... Sounds like it's indeed coming from the PC corner. Checking all the LEDs -- all are off, nothing's turned on. Move the speakers away, try digging around to see if the kiddo didn't leave his toys behind the
BEEP-BEEP
PC. Wait, the sound has moved behind me... And I've only moved my BT speakers. Which are turned off. That's odd... could it be? Put one to one ear and another one to another and wait for the remaining 15 seconds
BEEP-(you are a fucking idiot)-BEEP
whispers in my left ear.
Turns out, some BT speakers can make low-battery sounds even when they are turned off.10 -
So there was that paranoid schizophrenic person, a blonde girl with a buzz cut, and somehow she was a friend of mine. She used a Linux distro called “!!!!!!!!____!!!!!”, and convinced me it was the best distro out there. But the way she used it was… very specific.
She called me. She told me the new distro was out, this time it was called “!!!!!!!!!!!!!!!!!”, and _this_ was the best one. It finally allowed her to observe the area around her neighbourhood right from her PC, through some app, and make pits in the ground. It was done with a touchscreen of a Nintendo DSi connected to her PC with something that looked like an IDE cable. You touch the area of the screen, and the pit will appear outside IRL. This was needed to trap swine-looking creatures in those pits, as they infested the land and were attacking people in packs, turning them into dirty, greyish, half-transparent lumps of gel.
I went to see her, and somehow I knew exactly how it's going to end, as if I decided to replay a game level. She lived in a rotten, mouldy, dark, half-abandoned condo building. She was also a terrible hoarder. I approach the old wooden door of her flat. It was painted over 1000 times and was barely closing. She knew I would come. She rushed outside, looked at me with her moon-sized eyes, grabbed my arm and told me:
“We have to run.”
I felt a sudden crippling rush of anxiety. I woke up. My heart was absolutely racing. My sight became darker and darker. The chest pain was consuming me, and I could barely move. I almost vomited.
That was quite a night.8