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
New subscribed feed!
We just launched an activity feed of users you subscribe to + recommended users!
Tap here to read
New programmer who just pick up Python be like , C is shot , is bad , python better blablabla....
Why anyone hate C so much? I personally use C for Embedded Programming, for hardware or is better compare to using python for my case.
I love python , but I love C more. Because without C the rest don't exist. Right?
So stop hating on C. Because you might use it someday.6
Hang with me! This is *not* a math shitpost, I repeat, it is NOT a math shitpost, not entirely anyway.
It appears there is for products of two non-trivial factors, a real number n (well a rational number anyway) such that p/n = i (some number in the set of integers), whos factor chain is apparently no greater than floor(log(log(p))**2)-2, and whos largest factor is never greater than p^(1/4).
And that this number is at least derivable, laboriously with the following:
And assuming you have the factors of p/z = jkl..
then instead of doing
p/(jkl..) = z
you can do
p-(jkl) to get the value of [result] whos index is a-1
Getting the actual factor tree of p/z is another matter, but its a start.
Edit: you have to provide your own product.
Preferably import Decimal first.1
Ok, im officially at the point where I can say this and I don’t say it lightly.. I’m really unhappy..
It’s hard for me to be happy anyway but being unhappy is not the same as not being happy IMO..
I’m so angry, especially at the western governments but also at the western society for making everything down that we’ve built over hundreds of years..
I’m socially pretty conservative I’d say. I have my values and manners which are very important to me. I try to be kind, diplomatically correct, hard working and honest but people sh!t all over that. Almost on a daily basis people tell me to “just lie”, it’ll solve the problem or to blame someone else.
What happened to work for what you want? And to “Be honest and loyal and it will pay off”? It’s more like the opposite nowadays..
Lie to everyone you can, cheat your way through every conflict and try as hard as you can to be a victim and all will work out…?
My boss had an interview ihr a grad student and she caught him googling stuff, trying to hide it. I told her to not even consider him but she thought he “deserves” another chance..
someone who applies and lies “deserves”??? You don’t DESERVE anything, you EARN it.. if you can’t earn it then sorry but this job is probably not for you.. not to mention that this guys CV was full of crap..
I just wanna find a woman, buy a farm an go off grid for a couple of years 😅 oh wait.. that’s legally not possible in pretty much any European country.3
Glass door: now almost completely fucking useless.
Glassdoor now requires you to login to even read the site. You log in and then AFTEr logging it, it informs you that you have to contribute an "anonymous review" to read the others.
Completely fucking useless and defeat the one reason it originally existed for: to help people review a company *before* applying.
Good job you morons at glassdoor, you had one job.
Of the following names, at least one of them is likely certifiably retarded (or has options against the company stock):
Christian Sutherland Wong (ceo)
Anthony Moisant (cio, senior vp)
Kate Ahlering (chief sales)
Owen Humphries (senior vp)
Annie Pearl (chief product officer)4
Let's start by saying: God do I love programming and hate work!
My dream job would be a place where I get to write quality code for something that's actually useful and makes sense to people (or a group of people) without all the usual job bullshit; all the politics, fucking useless hours of meetings, the pretentious ass holes, and the useless mindless product owners with good pay to live comfortably and some organization (not being a complete disaster). It's only a dream though...4
for one split second I thought I had discovered a way to manage multiple states with one reducer function in react,
turns out it was a bug in my code,
I had already gone to brag about it on my react group chat, until I went back to my code and as I was cleaning up and closing brackets and all that stuff, my new feature stopped working.
I need to find that bug3
Trying to unpack some tightly compressed images, I notice the buffer grows to ridiculous sizes as it tries to keep up with how much shit I'm having it read.
But this is a small file, bunch of 64x64 textures with some heavy quantization -- I turned every goddamn float into a six-bit mini. So I do the math in my head half-assedly and know that even fully decoded it can't possibly be above a quarter of MB.
And since the buffer is now nearing his first gig, I know something is up. I remember I'm fetching a 'size of next read' uint from the file as I process it, so I figure: either the value written to disk is wrong, or I am reading at the wrong position. My answer?
Open the file.
-But sir, it's an endless hexdump!
I said OPEN. the. FILE.
Didn't just write some debugging utils for shits, so now I put them to use. I can tell on which lines the buffer size explodes because I like to log every increase and decrease in memory. So; narrow down which bin is fucking with me, take a look at the variables... what do I find?
Size of next read should be about two thousand bytes, not a fucking billion and a half. So I know where the right value is, I look around it for the wrong one; and as it turns out, the read is happening a whole longlong to the right.
Easily fixed. Stuff packs and unpacks correctly now, average ratio at around 85-90% size reduction from original, like goddamn I turned the entropy for these files into LIQUID SHIT.
I am leveling up now, so audio: prepare your anus.2
The introverted and silent people can be heard in chats in video calls (zoom), can be heard in slack chats. But from my experience, it looks like the majority is yet to consider that as important. Text communication may not be perfect because it's hard to capture a lot in text, like emotions, tone, maybe some might be able to capture them if not all. But text is still something, rather than nothing, but I usually see people listen more to spoken words than care about texts. Not to mention the craziness of parallel conversations in text chat during video calls where video call has one conversation going on while text chat has a totally unrelated conversation going at some point. One could say - maybe parallel conversations in text chats are a hindrance to people trying to communicate over text rather than speak up through voice / audio2
I've been writing unit tests for an existing project for a couple of months now. I'm not experienced at automated tests, so I'm not sure what's good unit tests supposed to be, but the unit tests that I wrote basically just confirm the flow that already implemented, which to my limited understanding of unit tests is supposed to be the other way around. The good thing is that I could catch some minor problems with the implementation such as not imported class used, the wrong variable used since the project is a rewrite of legacy code so a lot of copy-pasta, I also have to wrap some part of the code that interacts with the filesystem in a DI class so I could test that part.1
I was doing android apps for a year and a half, but then during the pandemic my hobby gaming projects blew up and I had to quit my fulltime job and focus on them. Spent last year working for myself. I managed to save enough money and got a mortgage for my apartment. Now I feel accomplished what I wanted and Im tired of working alone on my own projects. Its sad doing all these mental gymnastics and not having anyone else to share the results with.
I'm considering getting back into part/full-time position. Main reason is the social aspect, as well as stability. I'm tired of stress, too much responsibility. I want a better work/life balance. Also I think I need a position where they would allow at least 2 days a week working from home.
How to recondition myself and first of all to motivate myself to get back into the rat race? I haven't done android app development in a year and a half, I'm rusty af. I'm a junior at best right now. Also in the past year I got fat and I'm too conscious about my beer belly lol. Thinking of loosing weight and sharpening my app dev skills first, only then applying.
Can anybody advice anything?1
I used to love the hero treatment I got long ago in my previous company. Appreciations and what not for conducting events, contributing to open source. I think I burned out later. Later the hero treatment stopped there and I craved for it when I wasn't doing the stuff I used to do - basically I was previously keeping others happy I guess, instead of keeping myself happy. Contributing to open source or conducting events was not even part of the day job and was mostly considered outside the working hours and hence one had to stretch to do all that extra stuff. I over did stuff I guess and burned out
In my current company, I see heros and appreciations so much for contributing to open source though not all our roles are completely defined as open source roles and we instead have to work on closed source or yet to be open sourced stuff. My role is contributing a very tiiiiiny testing bit in an yet to be open sourced project, but a few other colleagues of mine work on closed source paid advanced version of the open source core project
Seeing all the hero treatment where I'm not the hero and seeing all the appreciation, I wonder how it doesn't seem right. Surely I'm jealous, lol. But I also felt the treatment also shows some sort of Special treatment for some people. It's "Special" and not exactly for all and only for open source contributors or people doing all the popularly so called as "cool" stuff. Fortunately for them their job role kinda mentions that I believe. And people working on closed source are now trying to contribute there. I'm stuck with some of my main day job work and dying in guilt for burning out, and not being able to contribute to open source and also kind of starting to hate open source for it's dark sides. Reminds me Batman dialogue "You either die a hero, or you live long enough to see yourself become the villain.". Open Source dark sides - of course the possibile dark sides of companies funding open source, the people behind the companies and also of course my company being one of them possibly, though if you ask anyone they say "Community comes first". That's full of lies is what I would say.
Inclusivity gets thrown out the window. Heroes get to talk. Heroes get worshipped. Others are not even noticed I think. I guess the only way to get noticed is to imitate the heroes
At some point I realized I'm envying or idolizing a crazy set of people, or like putting them on a pedestal. I'm trying to fix that in my head. But oh my, you should see all the treatment, the respect, etc. Surely some people just are there to do meh or grunt work or even good work or whatever without much appreciation, and then have to move on. No respect or consideration for opinions, thoughts usually. Some of them don't even have the time to care to check what people have to say. Top down hierarchy but they say it's flat hierarchy. They don't even wanna listen to some of us I think, that is during team meetings. Only very few care from what I have noticed
One good thing is I have to come to realize how much I'm like them in some behaviours and feeling damn guilty. I sometimes spend time thinking how to change myself for the long term. And how to avoid the toxic behaviors in the team and also control my anger and control my response to their behaviours. I'm also trying to understand where I'm climbing the ladder with my assumptions and also trying to see the "real" thing instead of assuming or being blind or imagining etc. But it has become so hard because idk if people are faking it, it's become very hard to always assume people are telling the truth 🙈 though it makes to assume or believe that by default. If people are okay with themselves lying, who am I question that huh1
Junior dev here. Finishing a boot camp, actively going through a few job application processes.
One of the companies has given me a tech assignment (for a Graduate Junior position, mind you) that was titled Full Stack Mid Level Challenge. It took me a week to build an app they asked and do analitycs and refactoring of the second part of the task (I only had late evenings free to dedicate to that), it was my first time doing back-end in Node (my boot camp teaches PHP) so I basically learned to do it while doing this challenge.
They asked testing and clean architecture.
I submitted the assignment (I thought I would die while doing it, exhausted, I think I was brain dead for a short perio of time, but I submitted it on time).
They got back to me and we had already have a tech interview with the Leads that had live coding at the end. Don't have feedback yet, really won't be surprised for whatever comes, it was literarly my first interview, treating it like a valuable learning experience.
But. This rant is not about this. Thsi is just to put you in my mood.
This is the !rant:
My classmate from the bootcamp is probably already hired, or will be one of these days. As a tech challenge she was asked to do FizzBuzz kata. I repeat, FizzBuzz bloody kata!
Now, I am very happy for this person, the situation is complicated and this job is extremely needed.
But, please, explain to me, HOW??? How is it possible that selection criterias vary that much?
End of rant. Thank you very much.4
So as usual by this point im looking trough some android device tree files. power_profile.xml HMMMMMMM.
I look inside and what dont i find. Battery capacity.
And i wondered for ages why the fuck the app i use for checking hardware capability (Dev Check. Really amazing app for Android ROM developer) reports like 600mAh lower then its supposed to be. I always thought its via the battery. Like we are in 2021. We really didnt yet figure out how big the freaking battery is automatically?
Yes it wont really cause any issues except battery remaining time will be inaccurate but still WTF.2
You know what I hate? Websites that run so much scripted internet-connected shit in the background that you'll either get a fat error message or even a "failed to load site" screen from the browser if you lose the connection for a few seconds.
What's the motherfucking point of a website when its requirements make it effectively a livestreaming service, despite the content being less dynamic than Zuckerberg's face in US congress?
I don't give a shit whether I have internet when I'm fucking reading, you asshats. And you don't need to remind me when my internet connection is disrupted, I think I'll notice that by myself the next time I click on something and your garbage site will take more than the usual 5 seconds to fucking load the background color.8
Have you ever argue with a developer who:
+ have the same level as you
+ on the same position in the company
+ in the same team
+ OLDER than you
+ thinks their code is the best
A few years back, a coworker and I argue about how to implement a feature. I proposed an approach. He proposed a different one. I immediately saw some problems and told him. But hell no, he defended his idea so strongly that I just gave up since I will leave the company soon.
2 weeks later, when the sprint was about to end, the whole team had to work overtime to fix the mess because of his terrible approach.4
Today I learnt something, I wish I learnt this earlier (I'm 25 now , it is late?).
What I learnt:
1. Never out -shined your superior, as it naturally stir up all sorts of resentments , envy, insecurities and possibilities of getting you replace by someone level intelligent. Because superior feel threatened.
2. Never try to fake what you don't know, and real to what you know. (As I saw someone faking themselves as someone who they are not, they eventually manifested tonnes of shit to themselves.)
So is what I learnt is actually make sense and valid? or just an opinion?4
New phone after 5+ years and it's fucking awesome.
Successfully avoid American and Chinese stuff by going with a Korean brand.
And I fucking love Android. The kind of feature advancement that has happened in past so many years is outstanding.
The amount of customisation options available for the users are beyond one can utilise to fullest.
And my favourite feature is dynamic lock screen pictures every-single-time I unlock. I fucking love it. Makes me cheer up with joy. Very similar to Bing Wallpapers for Windows, but more dynamic.
Lately, I have been hearing from Apple users, that iPhone lacking a ton of basic features, apps not supporting functionalities, and we all know the overall advancement in Apple ecosystem.
While this post was more about sharing my experience with my new phonw than iPhone comparison but let's face it, the reason Apple went bonkers with the first iPhone launch was the app capabilities which led to a larger developer community building apps for iPhone while Android wasn't even born yet.
This is where Google is trying to capture the market now. More devs > more apps > more users > more devs and repeat.12
(0. First off, being a job I'd like — native software development that is — and not having to default to some boring backend job because "mUh WeB's EvRyThInG TodAy")
1. If the commute isn't too long I have no much problem working in office I think, but I want this to be clear: you let me work with the tools I want. Things like CI are understandably imposed, but let me choose whatever IDE/editor, Git client, etc.
Otherwise off to work from home where no one can check
2. Not having assholes colleagues (obnoxious, stupid, interrupting…)
3. A decent pay. Not high or minimum, just what I'm worth
4. Not drowning in meetings. I want to take part to them to clarify some things and understand what's going on, but I don't think I need more than 2 a day. Ah, and let me tell what's wrong if there's anything
5. Be basically respected. I don't want to be overvalued, that can be embarrassing, but I don't want my work to be completely ignored2
I often read rants, and I can see how everyone gives for granted that we have to overwork, work until night, work on weekend, work when the boss asks us, read the email, work until you fixed that bug, and so on. I mean, I don't see anyone ranting about this, I just see that this became the background of other rants, something that's so normal and we are so accustomed that we don't even consider it a problem anymore. I was wondering, is it just me that gives value to his own free time? That would rather read a book, watch tv or stay with friends? Or at least being able to tell a friend "we'll meet for dinner" without the fear of a problem blocking you at your job. Why should I be paid less than average in my country and work more, making the benefits still less concrete? I think I have a good brain and I chose this career because I love it, but if I could born again I'd be a doctor or a teacher3
1. when aero shit was around, trying to draw properly on it without making it look like my ex boyfriend's dirty asshole was a huge almost impossible pain in the ass for most, if not everyone;
2. after having a nice flat interface it doesn't seem right, especially the way they draw options over the fluent background or whatever they call it. it looks like they threw a few solid color rounded rectangles over the translucent background;
3. i have the tpm bullshit module but ever since windows 11 became available or known of, i am suddenly not able to do any windows updates at all AND
4. it also tells me my computer doesnt meet the minimum requirements to update to windows 11 or install any preview builds but when i look up the requirements i clearly meet them all.