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
Search - "brain"
-
My ex-boyfriend once saw my post on the devRant and he said something, in a demeaning way, that don't screw up your brain with all this. Till now this community has given me support that he couldn't give me in his time. Instead he created problems. That's why he is my ex. :)
Thanks to dev Rant. :)10 -
*offering sweets to a fellow at work
Colleague: Oh I'm a diabetic but What you've got here aaaaaa.....
My Brain:
Don't say it
Don't say it
Don't say it
Don't say it
Don't say it
Don't say it
Don't say it
Me: Oh come-on already One small piece won't kill you11 -
During my first-ever technical interview, the interviewer asked me "Do you know the FizzBuzz problem?"
"Uhh, not really." (I was just thinking ok this problem has a name, must be some algorithm problem)
"So the problem is basically to give you the numbers 1 to 100, if the number is divisible by 3, print 'Fizz', if divisible by 5, print 'Buzz', if divisible by 3 and 5, print 'FizzBuzz'. For other numbers just print out the number itself."
After hearing the problem, I felt so many ideas popping out of my stressed brain.
I thought for a bit and said "ok, so if the digit sum of a number is a multiple of 3, then the number is divisible by 3, and if the last digit is either 0 or 5, it's divisible by 5."
Then I started to code out my solution until the interviewer said "there's an easier solution. Can you think of it?"
This stressed me out even more.
I thought for a bit and said "well, starting from 3, keep a counter that records how many iterations are done after 3. When the counter hits 3, that number would be divisible by 3 for sure. Should I try this solution?"
The interviewer said "Sure." So I started again.
However, I struggled for about another 3min until I realized this solution is a lot harder to implement. The interviewer probably saw my struggle too.
This was the point where he stepped in and asked me "Ummmm there's an easy way of solving this. Have you heard of the MODULO OPERATOR?"
In sheer embarrassment, I finished the code in 30s.
Of course, there was no further question after this, and I felt the need to seriously reevaluate my intelligence afterwards.18 -
Do NOT "compress" your code by leaving out braces in control structures and putting the 300 char statement on the same fucking line as the control structure!
Yes, your code file becomes vertically shorter than the usual 3000 lines, BUT my brain tumor proportionally grows larger.9 -
There was a variable named 'isVisible'
Wanted to make it visible
I typed in 'yeah' as a keyword instead of 'true'
🤦♂️6 -
Had 2 days of vacation. Theoretically (plus weekend, plus 2 days) 6 days.
Worked today… At Saturday.
Some administrators forgot to properly check bandwidth limitations....
*rolls eyes*
We had a major version upgrade of some server software at Monday.
Guess why I got called...
Of course it MUST be the software upgrade.
It couldn't be the new hardware that was setup 2 weeks ago and on which a lot of "important" VMs were migrated.
*eyes roll inside till only white is visible*
The even more annoying thing is that it wasn't that hard to figure out.
Looking at monitoring, we had spikes on 20 Gbit/s (roughly 2.x Gigabyte/sec - Ethernet) connection of some server at roughly 1.9 plus Gigabyte/sec.
IO latency spikes that made the graph look like a heartbeat EKG with severe tachycardia...
*additionally to white eyes starts cursing in reverse latin*
Incompetent admin answer: Booboo that can only be your fault - the developers must investigate.
Me (just a tad more polite): Meep Meep mother fucker, get your shit together. If the software would eat that much, the network would be a niece chunk of charcoal. Plus the time (sending instead of links to monitoring pictures… guess the lazy fucktard who's brain is a vacuum didn't even bother to check it)...
NOTICE SOMETHING?!
Incompetent admin: It starts at the same time. Always.
After wasting roughly another hour of time discussing with him, I just hanged up the video call.
Called someone I knew from the admin department and turns out that - drumrolls please - the incompetent admin was someone who got recruited 3 months ago…
*turning into antichrist*
I then had a not so polite discussion about how the only competent people could take days off (all except incompetent admin were on vacation) and the seemingly incompetent fresh recruit - who by the way NEVER mentioned this - was the only one left of the admin department. Which would be bad alone, but no - he even got the 24/7 emergency support role for the whole weekend.
Sometimes this company and HR especially notoriously drive me insane...
Guess next week there will be some HR barbecue.
But yeah. After a lot of raging around we nailed it down to the traffic of backups and could fix it.
Roughly 4 hours of analysis, communication, raging and hatred.
Just one hour implementing shit.
*goozfraba*9 -
Recently applied at a local company. Webform, "enter some details and we'll get back to you"-like.
Entered my details, hit submit, lo and behold "Error 503 - something went wrong on our end".
I was just baffled. It's a well-established IT company and they can't even get their application form to work?
So I'm sitting there in the debugger console, monitoring network stuff to see if anything is weird. I obviously hit submit some several more times during that.
Eventually I give up.
In the night my phone wakes me up with a shitton of "we've received your application and will review it..." emails.
Yeah they didn't get back to me.2 -
An ancient legend goes that there exists sacred knowledge that enables anyone possessing it not to turn one’s career into a constant uphill battle with the management.
I sought this knowledge, I travelled the world, to no avail. Once upon a time, I climbed the Mount Fuji and met the wizard in his pagoda on the mount. I won in a CSS-golf battle with him, and he revealed the sacred truth: one need to chose companies that do business instead of constant backroom deals and dick-measuring contests.
Like Prometheus, I give this knowledge to you. An ancient scroll says that for this I’ll be chained to the mountain of PHP legacy code, and HRs will peck my brain for eternity, but I found Arachne, the queen of HRs, and exchanged the keto-diet secret for freedom.1 -
Dude picking his brain over my coke. Yes I mean attempting to tickle his brain trough the nose hole.
A piece of nasal excrement landed in my coke and made it go fizz, that was how I noticed.6 -
wE oNlY uSe 10% oF bRaIn pOwEr
yeah, no shit, now go to your computer and launch 400 chrome tabs. Congrats, now you're using 100% of your computer performance. Does it work well now? Quick and snappy innit?
fucking muppets.15 -
Fuck all of those stupid fucking shitty spam and scam bots there is everywhere. I swear epsically on every single comment on youtube you would at least encounter one bot comment (thats if you are lucky) or on discord the amount of spam/scams you receive is ridiculous.
I swear everything i accidentially read any of that shit i lose the remining of my brain cells.
That should be a living proof of some human lives are completely worthless and why exeuction could be justified.
So if you are one of those kinds of people, who develop those kinds of bots, i have one thing to say. Fuck you and your inbreed incest familiy, i wouldnt call 911 on you, not even if you paid me a million dollars you human trashbag scum.8 -
I’m so tired, my brain hurts, I just want to sleep.
Have loads of work that I need to complete this week but I’m barely half way through so I’ll be working the weekend.
Work, family, relationships, house to look after. Having ‘it all’ is a complete fucking scam. It just leaves you exhausted, lazy and fat. All the while I’m painfully aware of how minuscule my problems actually are. Need to escape from this mind fuck treadmill somehow.17 -
Most upsetting interview rejection?
Back when I graduated college, I did the usual rounds of interviews with insurance companies, banks, various other institutional businesses set up by the college's career center.
One local insurance company interview I thought went great. Usual 'Where do you see yourself in 5 years?' type questions, told her about my job history, very high level type stuff.
Couple of weeks later I get a letter in the mail and after the usual 'It was great to meet you blah blah blah', it ended with
'State Farm will never consider you for a position with our company.'
Never?! My then fiance (now wife) yelled "WHAT DID YOU DO?!!!" and I racked my brain for anything I might have said or done. The HR lady was attractive, but I didn't stare at any body parts and I didn't make any weird sexual advances (I was nervous enough without *that* going thru my mind).
The college career center floods the local companies with graduates and I was #5 in the waiting room that day. My only guess was they got me confused with someone else.
My fiance wanted me to call them immediately to straighten out any misunderstanding, but I knew what was done, was done. It's not like they would realize "Oh, that's right, it was Bob that kept looking at Karen's breasts, not you...come work for us!" Besides, why would I want to work someplace that didn't know/care who I was?6 -
Article 13 and 11 passed today. Fucking why! They ether have absolutely no brain or are sleeping on a shitload of money right now. No one wanted this. First net neutrality now fucking this. Fuck this shit.
-
PhD saga:
The applications have closed and yours truly shall await the results, which could come anytime in January or February.
And so I wait. I hate this limbo since there is nothing for me to do to impact the outcome. What's worse is that I am absolutely unmotivated to do anything else. Since this project is literally my dream, and despite how I'm trying to mentally prepare myself in case I don't get in, there's just something in my brain that goes like "nah. I just want this shiney thing. Just this and nothing else". So I don't even know what to do with myself.
*Sigh*6 -
A becomes B
B becomes C
C becomes A
D becomes B
E becomes A
Now add real hostnames... Make this list longer (roughly 15-18)
Add resource calculation, migration of VMs, organizing new hardware, removing and rebuilding hosts, etc.
I think my brain is permanently damaged and cannot be repaired.
Hardware migration finally over tomorrow.
I really won't miss the fuckton of Excel lists, constant speaking mistakes, having sore fingers from mutilating the desk calculator etc.
I'm too tired to be happy. But... It's over.1 -
So I need to ask this because I've never experienced it.
Recently many of my colleagues left for greener pastures and now they're posting on linkedin once a week with some bullshit about how awesome it is to work wherever they went.
If this was one or two I wouldn't care, but it's like 90% of them vomiting this blatant brain-swill for almost 3 months now.
My suspicion is that these people are being coerced into posting this garbage. Am I correct that many companies these days are doing this now?9 -
Oh my god my brain is hard wired to write c++ in snake case. Spent 4 years doing it. This code base uses camel case.9
-
Music. Music teaches you numbers, creativity, patterns, structure, and basically primes your brain for math and creativity in that space. In addition, it teaches you how to think both within a structure and outside the box, as well as the importance of repetition, memorization, and learning a new language.
Music really was my second language, and the ability to read/write it fluently is a skill that takes a long time to master. I really believe that it increases your brain plasticity so much.4 -
There are lots of words in this jira ticket. All real words that make sense on their own. However, put together, they are completely fucking meaningless. Now my brain hurts!!!2
-
For all my friends here who have known me for years can easily notice there has been a drastic change in me.
I used to be confident. That shit was hollow but I used to laugh in the face of fear. I was ignorant and that ignorance fueled a lot of the much needed confidence.
Over the years, I learned a lot. The more I know, the more I realised how much I don't know. And for all that I know, I have to use the brain power to retain and implement it, else it rusts.
This image is of my 2021 goals that I drafted last December. Wasn't able to achieve the first, the last and the art one. But surely got myself surrounded by some of the smartest people I have ever worked with.
Now they have rightly said, be careful with what you wish for.
MY CONFIDENCE IS SHATTERED.
I feel dumb. Constant imposter syndrome. While I am learning every moment and there is no measure to it, I feel incompetent to an extent that I have started questioning how did I even reach this far?!
While, yet again I am the youngest in my team, my manager is bit micromanaging and agressive with OKRs/KPIs and tech team isn't very supportive creating constant friction (something I never faced with developers in my life because devs are my best friends), I fear how much more time will I take to ramp up in this new job and feel confident enough to tackle things on my own without constant nudge from leadership or different teams?
Or is it just that I have burnt out firefighting and lost the motivation I had?
After all, what does this all even mean?10 -
I swear my brain has 2 sides:
1: c or c++ would be great for this project
2: lol c++ hard so nodejs
1: but c++ would be so much faster and c-
2: NODEJS7 -
I can't motivate myself to read or understand all these papers and tutorials... I wish I had a backup brain somewhere. 🙄4
-
Honestly, I think this one is yet to come for me.
I've had a few bad experiences, but the worst ones are the ones where I couldn't find the time or brain to get some work done properly and therefore did bare minimum, so I basically was driven to shame because my teammates did almost everything.
Second to that, are times where I had to go through drama because teammates were absolutely incompetent or power hungry or inflexible.
Otherwise, it's "live and let die".
Note: I use "teammate" in general sense, equaling "coworker", "colleague", "the guy who's supposed to give me details or access" and "those in on the project" in this rant.3 -
Undoubtedly the most common mistake that devs do : Ignoring your personal health, be it mental or physical.
I almost went through a burnout before realising things need to change.
Changed my lifestyle upside down after that
- Switched from wfh to an office job
- I cycle 12kms a day now
- Got a standing desk for myself to be more active
- and have a journal where i literally dump everything off my brain2 -
Scrum master asks how I'm doing and how I'm finding the project I'm working with.
I complain about the lack of documentation and that it kills me (well, kills my brain with increased migraines) due to my Asperger's as I need CLEAR instructions and not ~something~ I need to piece together from asking from 5-10 different people who all know some minor part of the final answer.
"*You* could do the documentation, lankku, while you're figuring it out!"
Just...FML.
And the reason I was trying to find out this one thing related to a completely different repo I have never worked on was because I was trying to write documentation for something totally different that just needs a login redirect from this different repo. <.<6 -
!rant
...i realized i can actually pattern-match like this (as in, sequence of elements (including "whatever") instead of just head::rest in F#...
...from watching a talk about prolog.
like "wait... prolog can do this when pattern-matching? that seems very useful. i think i tried to do that in F# but it didn't work, which seems stupid... I'm gonna go try it again".
and sure enough =D
i think i really am gonna like F# if i find the time and resolve to break through how its different mode of thinking stretches my brain in ways it hasn't been stretched for a long time =D6 -
FUCCCCKKKKKKKKKK!
I need to get off this frustration out of my system.
I have a autistic retarded sister who has less than a half brain cell.
Evolution from fish to humans was faster than completion of a task assigned to this faggot.
I fucking hate her. Why was I born in this family. Fucking why!!!!!
Autistic narcissistic cunt. Horrible human.
Doesn't have any friends, no family member cares for her, entitled bitch, earns less than $75 a year.
Whenever we meet, she makes sure to belittle me in front of our parents and gives advices and gyaan on how superior she is and how much waste of oxygen I am.
Constantly mentions that my career choices are stupid, whereas she is doing great (in reality she isn't even able to score a simple degree and no one is willing to hire her).
Acording to her, I have zero financial literacy and she is a genius (in reality I am managing the entire family finances and providing for everyone).
Even when I ask her about something, she says that I am asking stupid questions where as in reality she is an anti vaxxer. God damn fuck!! She was stopping my parents to get vaccinated. Fucking bitch.
There's a simple 20 minute task regarding some tax work and she took more than 2 weeks to even comprehend my request and now screams at me for raising the request on the last day. Bitch WTF! I told you well in advance and now you fuck me up entirely.
My parents are so fucking biased and will blindly side her because she is a girl and using this argument they have destroyed me emotionally over years.
Yes, I no longer care for any of these maniacs and want to leave this place asap.
For now, for the life of me, I am ready to pay more than $3500 extra in taxes than deal with this woman child.31 -
Putting mobile phone to DnD.
Putting on Bluetooth headsets with ANC, blasting some good shit music.
Violently cooking or desperately ordering food at the good restaurants.
While waiting, grinding some coffee beans, making fresh coffee or some nice tea with milk.
Laying on the sofa in a food induced coma, turning on any streaming service with the real bad shitty movies.
Hentai Kamen, The Machine Girl, ...
Anything thats either pure groteske bullshit or that doesn't require more than a braincell cause it appeals either to the violent or complete nonsense side of my brain.
Last but not least, a few cold beers.
ANC headset stays on, just switching from music to tv - shutting out all the outside noise.1 -
Just had an interview. First few minutes felt good then they gave me a simple coding task.
It WAS SOOOO SIMPLE, but my brain just blocked and stopped working. It was litterly just a console application and you had to print some symbols dynamically.
Im so mad at myself.3 -
I think I should sleep more...
I just took my mug and cleaned it in the bathroom sink..
Realised halfway through that it maybe wasn't the kitchen after all3 -
Do you ever feel like some days are so damn monotonous? I’m nearing 10 years in the industry and lately my world consists solely of Plug-in development, templated or basic sites, PRs, and documentation galore. How do y’all keep your brain from turning to pure mush? Learning anything cool/new? The Burn out is real. 😖3
-
More a call for discussion...
How can it be that devs constantly whine about technical debt, how everything is "ancient" bla bla bla...
Yet don't want to update libraries / stuff unless one explicitly rams an klingon pain stick up their arse because one is very very very very tired of lame excuses.
Even better example - and reason for the rant - new microservice.
They honestly started with JDK 8.
Looking at the dependencies is like walking in a museum...
OWasp Dependency check?
Lot's of 7.5s and greater (NVD score).
How brain fucked ignorant can one team be?!!!
Let alone that that thing - despite being just a skeleton project - has already 178 dependencies.
I don't want to look at the build files, I'll guess I'd turn to Freddy Krueger otherwise...
But really - why whining all the time like you have a clit / arsehole full of sand and then starting a new project with an obviously copy pasted graveyard skeleton?!5 -
My friends are getting married and having kids and I'm having pitiful arguments over the most pathetic and useless discussions ever in my code reviews in a brain eating job with no end in sight.5
-
The popups on websites pisses me off.
If you try to google something quickly and enter various websites you have to close all popups on each site you enter.
Some websites try to make these popups more discreet by making them small and putting them at the bottom of the screen but then your brain just ignore them and focus on the small content above them.
In the year of 2022 people visit a lot of sites during a day. The human brain is programmed to put in as little work as possible to reach a certain goal so therefor everyone ignores popups.
I know its a law to inform people about cookies etc. But isnt there a better way?15 -
my hand is becoming a bottleneck.
it used to be slow device. upgraded.
it used to be mouse & IDE. upgraded to nvim.
now. my wrist gets sore.
waiting for Elons brain computer interface.12 -
So. Here's a cooking thread.
Please behave nicely, get ya favorite recipes out or your "my brain is melting and I randomly chop sueyed hot cooked this stuff together and it was awesome" creations.7 -
Bicycling.
I get to relieve stress and not think about anything but my breathing and how much my legs hurt.
Meanwhile, my brain can relax and work out solutions to problems I'm not thinking about.1 -
- hanging my brain on a nail and drying it watching Netflix
- stroll/hike in nature (park, forest, by the river, etc.). At least 1 hour long
- warm seasons: riding around the city on my e-scooter at max speeds (works amazingly well!)
- warm seasons: gardening1 -
Someone's guts will be torn out tomorrow and put up on a nice clean razor barbed wire ...
I was wondering what the fucking fuck messed up my brain - till I realized that some dev mixed up the timezone on one of our servers. Dunno how the dev managed it - but the end result was not funny.
Due to the difference in time strings the newer backup had an older timestamp - and vice versa.
Which - when you want to do mass clean up and migration - is a very fucked up thing.
I had to manually check dozens of backups to make sure I got the right ones...
-.- knife goes in, gut goes out. Thx Bart Simpson.8 -
If you're subscribed to me only because of my jokes, feel free to ignore this rant. You won't miss anything.
If not, bear with me.
I was wrong about almost everything I can remember. Preaching so-called “conceptual thinking”, I invented a fantasy world of random anecdotes, which turned into a completely false worldview that shaped my reality. I bashed magical thinking, yet succumbed to it. What I believed to be true was just as magical, wrapped into what sounded like science. In the Dunning-Krueger scheme, I was right there on Peak Stupid.
Random hear-say, stupid concepts I invented, random “knowledge” I picked from YouTube videos, all that was rotting inside my head, one anecdote contradicting another. Ultimately, I think this was the reason of my constant anxiety and pointless, never-ending thought process in background.
If you learned anything factual from me and didn't fact-check it, please forget that immediately. The list includes but is not limited to everything on brain structure, everything on philosophy, almost everything on engineering and architecture, almost everything on systems theory and programming meta stuff (declarative, imperative, etc.)
I admit bashing unit tests. The only reason was me disliking writing them in uni. I wrote like three test cases, disliked it, and the rest was history. Everything else was a rationalization on top. If I was right about something, I was just lucky.
I'm not a CSS prodigy. I know stuff that earns me money and impresses my colleagues, but my knowledge is just one step above basics, in one thousand steps ladder.8 -
Brain : Hey, there's this task that needs to be done
Me : oh sure, let me do it
* tries to do it unsuccessfully a few times *
Brain : ...
Me : ...
Brain : DON'T YOU --
Me : * Opens devrant and starts scrolling *
Seriously though, if you guys could suggest some good cmake tutorials ( I'm using VSCode and GCC 8.1.0 for compilation ) - that'd be swell :)
Keep rocking!2 -
Two words, red bull.
I dont drink coffee often or drink it otherwise, so it gives a real kicker to the old brain.4 -
my brain feels like an AI. It just slices things it sees and layers them over and over again. It doesn’t even change things, leaving them pristine and intact, it doesn’t filter stuff out. I cite memes exactly, word by word, with the exact intonation, because I literally just lip syncing to that meme playing in my head as if I was watching a youtube video. Some days I’m not even conscious of my surroundings, I don’t realize where I am, what I do, I’m just caught in that process I can barely put in words. People ask me to do something for them, I do it, and they’re like “no! it’s not what I asked for, well, it is, but not in this sense!” If they asked me if I could make their company the most profitable one in their niche, my brain will probably decide to instead sink and destroy other companies there. All that unspoken, “common sense” knowledge, I don’t understand. I feel detached, as if everyone else was “in” on something, some common notion, meanwhile I’m alone with my perfect things. I feel like a perfect Haskell codebase trying to interact with biker bar gloryhole dirty equivalent of an API. I want things to be exact, I want things to be precise, I want words you say to have specific meaning that I can understand, and I’ll ask you even though it takes overcoming my anxiety and guilt for asking “stupid” questions. If you throw in some clue, my brain will generate a Vsauce video worth of elaboration on that, and I’ll just tell it to you. Sometimes I feel like I just don’t fit, I can’t have fun at party with other people, if there are more than five of them, I’ll probably cry for no apparent reason. My consciousness operates smoothly, and then it don’t, it overheats, crashes and burns, then comes the numbness and derealisation.
I’m not okay. Now more than ever, I sometimes want to just end it.5 -
Can we normalize NOT using giant acronyms in GitHub issue threads? Nobody understands what you are saying.
The same goes for you, HackerNews users, we can't psychically jump into your ASCII LOL DDD ABC XYZ brain and automatically know what you mean.8 -
In several occasions I run rm -rf * in the wrong folder (or wrong server!!).
No big deal so far, but I had to spent more time to redo my work since Linux has no fucking recycle bin like Win!
So I created this helper function to give my brain a few seconds to think before my finger hit Enter.
delete_all_files()
{
echo "WARNING:Delete all files? Type fluffycat to proceed"
read x
if [ "$x" = "fluffycat" ]
then
echo "Deleting all files..."
rm -rf *
fi
}
alias myrm=delete_all_files
Hehehe... I am a genius 😎18 -
If I could just stop screening things up at work, that’d be greeeeeaaaaat.
Seriously, I’m in the worst brain fog of my life these past 6 months. I feel like I’m on the edge of dementia. The stuff that used to come naturally to me just feels foreign and incomprehensible. My judgment is so flawed right now.4 -
So exams are coming up and I’m not even ready at all :,,) I Need and want to study But At the same time i want to draw and animate. When i think about these two stuff my brain becomes soggy and very slow so in the end I don’t do anything and it’s bad :,,) I really suck at planning stuff out, do you all have any good schedules that work? :DD3
-
! rant, but should I be concerned?
I'm writing an election results API and I imported the bottlepy+pandas and prepped the CSV that contains the data. The first row contains the column names, followed by the actual data.
As I typed my routes, VSCode kept suggesting route names, parameters, and return values. At first I was "nice!" but then it kept suggesting my intent, as if someone was reading my brain. I do have GitHub Co-pilot installed, but I didn't realize my access had been approved.
How many layers of tin foil do I need?3 -
Showing up to work every day after 25 years of this knowing that I really kind of suck at my job and feeling like I’ll never get to a point where I can say I’m fully caught up to the level of knowledge others I work with have or that I’m expected to have. I suppose this is a bad habit of attitude but it seems to be an actual reality for me with every passing day, week, month, and year. It’s all just too much and my brain just isn’t as agile as it once was (and it wasn’t all that agile to begin with).3
-
I really dislike micromanagement. I don't want to dictate details. I don't like hierarchies where my direct reports obey me.
The only thing that obeys me is my hands, with them, I write the exact code I want. I don't hire another pair of hands. I hire another brain.
When you see your direct reports as professionals, you can give declarative tasks: "make a pretty website footer", "make that page load quicker". If you leave implementation details for your direct reports to decide, this doesn't mean they'll fuck up. They are professionals too, and if you personally interviewed them, you better believe they can handle it. -
Question for devs who use Intellij IDEA.
How often do you use livetemplates?
I am a new android dev with ADHD and just discovered live templates. They make my life much easier, for example I have shortcuts for generating recyclerview adapter/viewholder/implementation boilerplate code.
In that way I am able to focus on implementation, and do my coding like building blocks, rather than memorizing every detail of implementation. Also I don't need to go to stackoverflow and copypaste basic things multiple times. Even for example during live coding interview having livetemplates seems awesome, copypasting from stackoverflow would be shameful (I think). Using my own custom shortcuts for livetemplates seems the best way for how my brain functions (I suck at memorizing tiny details, but I remember general idea/flow of a pattern and I would prefer memorizing what to use and when to use, instead of all small details of implementation).
Is getting to dependent on livetemplates a good practice to get used to? Do other developers frown upon a dev who has dozens of livetemplates and relies on them instead of writing all code from memory by hand?8 -
we are living in a very fucked up society.
- the poor is fantasize the minimum wages nd life supplies( aka more money) . they work and becoms the minimum wage worker.
- the minimum wage worker fantasize a little more comfort, better lifestyle and therefore works to become an average earning worker.
- the average earning worker is mostly happy in present but worries about the future and wants to save, so fantasise an above average income and works hard to become an above average earner.
now here gets everything messed up. the above average worker is supposed to be the ultimate position where you are not really required to upgrade yourself( previous ones were a real necessity for existence). however a person cannot stop here :
1. resources gets depleted , people get greedy, life happens , or just any big firm go crazy and increases the price of their goods. you were filling your stomach whole day for $1? boom, you can't afford a single meal in $1. so the above avg person has to compete with inflation
2. government gets greedy the moment they see you as someone earning more than average. boom, income taxes, tax slabs, "pay for what we gave you when you were poor, bitch"- tax . its an unwanted monthly expense that you can't , much like the offerings old people would do to the village's goon.
3. tempting offers that shuts down the logical part of brain (or rather makes the part have orgasm).
- "dude , you wanna earn 250 bucks? buy 10 burgers worth 50 bucks each for 25bucks each, and you saved 250 bucks!" "but dude, i can have a whole meal for $2?" "but dude , you won't be saving anything" "🧐😐😶" (aka e commerce and other coupons/cashback companies)
- "dude, bet 1000 bucks on this 5 letter image. there is a good chance that other people will also bet their money on it and then your 1000 bucks worth of 5 petter image will be worth 1500 bucls" " but what if they doesn't? do i still get my 1000 bucls back" "nah , you get wjat the market price pf your share price is" (meanwhile someone whispering from the govt :" minus the capital gain tax") (aka shares and investment)
- "hey dude, the 1000 bucks you deposited with me for safekeeping, i am only going to give 2% interest per month from the previous 5% and will also add additional charges, therby giving you a 0$ profit." "WHY? " "because i can" (aka the banks)
so in short, the above avg person can see that in the long run, every service, every deal is going to cost him an approx 20-60% percentage of the income he would ideally be making , so he wants to earn more and more in order to have a good number in his savings for his initial tension of the future.
so from above average to ultra rich, everyone is just running to get a better deal , where oftentimes the other people involved in the deal are getting more than what our above avg guy is earning
plus after a time, these deals are no longer a pain for us, rather we start liking them because that was their goal from the start: to get people addicted to involved in complex cashback/cash delay/cash growth deals.
and this becomes the stereotype rich lifestyle : investing in shares, taking loans, giving taxes/trying to find loopholes in taxes by investing somewhere else, buying unnecessary stuff for the sake of offers and deals .
and in between this stereotype lifestyle (portreyed by everyone from above average to ultra rich), sone factors of boasting and showoff comes from peer pressure/osmosis and then we truly embrace this stereotype by buying extra costly stuff and showing it off.
remember, the original goal of the above average common man was just to fill their stomach both today and tomorrow. his crime? he worried about tomorrow too6 -
I've read the docs but my tired brain overrided an important detail.
https://haproxy.com/documentation/...
"By default, HAProxy Enterprise will serve these pages only if it initiated the error itself. For example, it will return the page for a 503 Service Unavailable error if it can't reach any backend servers."
I had _the_ return part for interception of the error page from the backend added, not the default override for the error page of HAPRoxy itself.
Took me 4 hours, crying, madness and screaming to realize it.
This week is really wringing the last bits of the gooey slime what should be my brain out...
-.-
Another fun part is that I mistakenly thought the delimiter for multiple strings to an ACL comparison is a comma... It's a whitespace.
acl is_evil hdr(host) -i one,two is wrong.
acl is_evil hdr(host) -i one two is right.
I used to write HAPRoxy configurations blindly, today it was more like writing two lines of codes 100000000 times and still doing it wrong TM.
I need new brain.
Anyone got an offer?3 -
Up all damn night making the script work.
Wrote a non-sieve prime generator.
Thing kept outputting one or two numbers that weren't prime, related to something called carmichael numbers.
Any case got it to work, god damn was it a slog though.
Generates next and previous primes pretty reliably regardless of the size of the number
(haven't gone over 31 bit because I haven't had a chance to implement decimal for this).
Don't know if the sieve is the only reliable way to do it. This seems to do it without a hitch, and doesn't seem to use a lot of memory. Don't have to constantly return to a lookup table of small factors or their multiple either.
Technically it generates the primes out of the integers, and not the other way around.
Things 0.01-0.02th of a second per prime up to around the 100 million mark, and then it gets into the 0.15-1second range per generation.
At around primes of a couple billion, its averaging about 1 second per bit to calculate 1. whether the number is prime or not, 2. what the next or last immediate prime is. Although I'm sure theres some optimization or improvement here.
Seems reliable but obviously I don't have the resources to check it beyond the first 20k primes I confirmed.
From what I can see it didn't drop any primes, and it didn't include any errant non-primes.
Codes here:
https://pastebin.com/raw/57j3mHsN
Your gotos should be nextPrime(), lastPrime(), isPrime, genPrimes(up to but not including some N), and genNPrimes(), which generates x amount of primes for you.
Speed limit definitely seems to top out at 1 second per bit for a prime once the code is in the billions, but I don't know if thats the ceiling, again, because decimal needs implemented.
I think the core method, in calcY (terrible name, I know) could probably be optimized in some clever way if its given an adjacent prime, and what parameters were used. Theres probably some pattern I'm not seeing, but eh.
I'm also wondering if I can't use those fancy aberrations, 'carmichael numbers' or whatever the hell they are, to calculate some sort of offset, and by doing so, figure out a given primes index.
And all my brain says is "sleep"
But family wants me to hang out, and I have to go talk a manager at home depot into an interview, because wanting to program for a living, and actually getting someone to give you the time of day are two different things.1 -
Following on from my thread where I got wrecked for being brain damaged, and posting about dividing by zero, it is time for round two!
Lightening round: Electric boogaloo!
Episode 3: "Glutton for punishment"
You can read that thread here if you like or skip over.
https://devrant.com/rants/4931841/...
Can we divide by zero? Is there some representation where thats the case? And what are the implications if we can?
In this round Devranters, you will be challenged to determine if OP is 1. insane, 2. a genius, 3. high on mushrooms. One contestant will be eliminated. The winning team will get a bag of rice and sunscreen, while the other team will have to vote to send someone home from the island.
Get ready.
Heres the full rant because DR wouldn't post it for some reason:
https://pastebin.com/qBg80ujN42 -
Maybe I'm just being (overly) stupid with my vacation-brain in full effect, but when I console.log() an object in Edge, most of the properties are showing up as (...), which I then have to click to reveal the actual value. I don't recall this being the case before (I'm like 99.999999% sure it never was like this before)... is anyone aware of a recent change that causes this and maybe a setting or something that makes it show the value automatically? Thanks!4
-
What’s going to f up my career from here on out is Git. I’m constantly needing assistance from others with it because I can never keep everything straight in my head with what’s going on “in there”. It’s always getting tangled up like old fishing line and I just have to cut the line and start fresh again. I honestly feel so stupid compared to other people who don’t have a problem with it. My brain just can’t keep track of all the different states local, branches, and master can be in at any given time, and across more than one developer. I’m probably alone so, yeah, go ahead and roast me. I probably deserve it for being so perpetually gobsmacked by it all.10
-
Been 6 months at this one company and still don't have a good grasp on many things, I'm also almost absolutely useless in oncall and always loop in someone else, it's like my brain just afks.
I'm sure everyone has that one dumb Dev on their team, guess it's me this time, I can sense the annoyance from my teammates by my stupidity so far, there's just so much to learn about domains and specific things that only come up when things break, idk how to gain proper knowledge without someone babysitting me and Its shit for someone to do that (I'm not a junior Dev)14 -
When my brain was overloaded and overwhelmed during rapid-cycling bipolar disorder, my life and my thoughts were a complete mess. Somehow, when I heard or imagined plurals of certain words, like "cans" or "cups", my brain painted pictures of a cute civilization of living soda cans. They fought oppression that came from us humans, but lacked mental capacity to do so. I felt really sorry for them and wanted to help. The more ordinary the word were, the more striking effect it had on me.
The rapid-cycling fashion of bipolar disorder is often triggered by unfit prescription medicines. This kind of disorder is among the most lethal mental disorders there are, with a huge percentage of patients committing suicide.
If you can't make sense of your thoughts, if your emotional responses seem inadequate or too strong, to the point when you can collapse crying after some random thought, stop whatever you're doing and seek help. Ask friends and family to find you a psychiatrist, as by the time you need help, you may lack mental capacity or emotional resource to find a doctor by yourself. To me, even the idea of leaving my bedroom and going somewhere was painful to think about.
If your thoughts appear to be "put into your brain" against your own will, if they make no sense, don't attempt to make sense of them. They are nothing but a random noise produced by overwhelmed synapses. -
I don't know how to do what I'm thinking, and I can feel the impulsive, curious part of my brain preparing to spend hours reading, testing, and researching things.
Guess it's gonna be another all nighter. And it's only Monday.1 -
Was told at work today that I don’t follow directions closely enough and the lack of attention to detail in my work is a problem.
I remember being this way since my first elementary school teacher pointed it out to me. I’ve always been this way. It’s how my brain is wired. No matter how hard I try, I always miss something. Especially when it is a really complex set of tasks. I’ve literally got the results of a cognitive test I took in college documenting and quantifying my working memory deficits.
You think you’ll change that now, after more than four decades of me being like this, with a performance review? Good fucking luck!8 -
Friday is always such a significant day because you know what's up next? WEEKEND BABY but I am up since 4am after four hours of sleep (it's 5am now), because well life sometimes sucks like that, and the only thing keeping my brain from going gaga is work so I am working since 4am to probably 7,8pm
Fml and wish me luck8 -
the environment in my home is very depressing (socially) . How can i change it?
this is not about being living in a small room with smells or something. this is about my family's social life and how it is impacting me.
living with mom and dad as a single child with extreme morals, moralist ideology and no/bitter relations is impacting me a lot.
i will try to cover some points that make us different from other people:
1. i come from a very nuclear family with my parents and me and no siblings. we have 2 cats though
2. we have always been poor and are still struggling. we don't a 4 wheeler, my dad closed his job to be a salesman and he doesn't earn enough for current expenses. we pay our bills from rents from shop and a room for rent on terrace. i am earning 5x my family now, so we are stable but being poor has always been a major impact for me
3. we follow this spritual philosopher/guru as our religion who preach good morals, various currently non existent ("but will be ruling the globe" ) practises and procedures . i am not much into them so i might explain them wrong, but from my 23 yo brain's understanding, some examples will be : extreme vegetarianism (no onion/garlic/egg) , no drinks/smoking , yoga, fasting, some communism/socialism philosophy, meditation , kirtana, etc
4. there is no love amongst my parents or their relatives. i don't know how we are living a loveless life. afaik , the relatives from both sides were bad and treacherous , they were the reasons for our struggles and now we hate them and they don't visit us.
among mom and dad :dad was never someone that mom loved, they just went with the family pressures, and since there was no way for mom to take a stand, she went with the hateful marriage, had me, they jointly struggled to keep me alive while hating each other and never even sleeping together, until i was a decent 23 yo earning by myself. they don't even have friends afaik.
5. cut to today, our lives revolve around not the love for one another but towards this stupid religion dictating the rules of our lives. there are 3 seperate rooms in which we 3 sleep, and mom dad gets into vicious fights on smallest of the things. i then jump in, trying to extinguish the fire by being even the louder voice. and end up hurting them and myself. at the same time , their bodies are now taking a toll : mom has some uterus/liver problems, dad is diabetic and one of our cat's legs don't work.
i just want to run away. i never had friends because they couldn't never relate with me, i didn't go to school picnics, didn't talked with girls, never got into discussions that people would find interesting.
i feel so seperated out from the world. i am an engineer by profession, i have a good number of people that knows me and respects me for my knowledge, but they end up mocking me for my social skills and different life rules when i try to be with them. and they are not at fault. i am the person that is the result of such a big messed up life.
their can't be another person on this planet that will be having a similar life situation, being loveless for so long. i don't see myself having a future at all : i am earning decent but what's the point?
i recently went to a trip with my friends. it was a fun little trip of 3 days. the people were : me, my friend of 9 years of friendship , my friend of 8 years of friendship, gf of the 9 yr friend and 2 stranger girls.
this was such an amazing environment for my brain : i never had a conversation with a girl for more than 10 mins. i envy my friends with gf kissing, going on trips , etc , but this.. this was awesome. the girls were chill , my 8 yof guy was a chick magnet and the setting was that he would woo the slimer girl while i would go with the short one. although nothing happened, i just observed how the guys and girls would talk and relate and how i am different.
it's my 2nd trip with friends, and its completely the same: i goto a trip, enjoy the best 6-7 days of my life, learn that i am very different from the world, that the world perceive of me as a very simple , naive person with limited social exposure, and that i have a very conservative beta male , moralist mamma's boy personna.
when i come home with these thoughts, i end up being angry , blaming them for this, because they are the ones who made me like this, weather due to their struggling life or just morals. and i end up being rude to them and being a sad regretful person.
i just broke my dad's phone because they were again fighting, being very loud and i wanted to end all this.
what should i do? can i change something? is it always going to be like this? who in this home can be happy with a shitty environment like this? will their be a girl that wants to see this mess by marrying me?6 -
First assignment of the algorithms, data structures and computability module Im doing for my degree.
Priority queues can all eat a bowl of dicks.
It’s just an insert method, I can insert a node into an empty queue, I can insert a new node at the start of the queue.
But trying to insert a node into a specific place in the queue is making my brain hurt.4 -
Since I quit binge-eating sugary stuff, my body became capable of feeling true hunger. Not in my stomach, as that kind of feeling in my body is probably fucked up forever, but in my head.
When I feel hungry, it’s probably too late. This is exactly what I feel:
- dizziness
- FOV slightly decreases
- tunnel vision, things in peripheral vision become blurry and obscure. I “see” them, but my brain doesn’t process them quite as good
- colors become less saturated
- it’s very difficult to combine and analyse multiple concepts to derive a conclusion, basically the thing I do at work that wins me bread
- thought process becomes “single-threaded”. I can follow just one thought at a time and cannot go deeper than 3-4 levels, my brain just drops it by making the whole thought feel like some kind of slimy clay that cannot be comprehended, let alone expressed with words
- difficult to express thoughts with language, I have hard time talking, especially explaining
- want to sleep, but can’t, as brain is frantically trying to stay awake
It’s probably the mechanism developed evolutionary. That single thread remains active at all costs to allow me to find food, and brain doesn’t let me sleep, as it thinks if I fall asleep I’ll die. It’s amusing to see my brain actively killing thoughts that are not “important”, I feel like a real-time OS or an Erlang application. Perhaps thinking is really a very costly process in terms of how much energy it takes.
When I finally eat something, especially if it’s a proper meal, I feel a very pleasant sensation, probably it’s my brain telling me “thank you”, releasing dopamine to actively reinforce that “finding food is a very very good thing and it’s very important”. FOV pops back into place, peripheral vision becomes clean and sharp, thoughts awaken, eager to occupy all the treads that became available.9 -
hey uh, this is a rant about phantom forces, if you don't know what it is, look it up, anyways, that's really it.
so, i've been playing this game very actively called phantom forces and its a good game but its been ruined and the fun has pretty much been taken away. the community is dead and terrible, the developers don't care and the game is just falling off.
what i consider community is the youtube scene, and now as of january 1st, 2022, there's nothing left that's actually interesting besides godstatus and moons fps studio. honestly, its so dry and i'm sick of it.
i'm tired of seeing shitty best setup videos and gun reviews. i hate somesteven and strider and then, there's nothing to actually watch so i just watch brain-numbing shitty videos about stuff.
and then theres the developers, stylis studios is a great development team, i'll give you that but the sheer ignorance of their team is so fucking much.
its kinda obvious they don't really care about adding new features or anything new that isn't guns and its fucking sickening. just to see the same old updates, every fucking month man, its annoying and tiring.
i'm fucking tired of just seeing ape shit guns that are too high for regular players to actually unlock. like i know they're trying to please the growing number of 200+ rank users but its terrible, they haven't done a gun below rank 200 or 100 in forever. the last time they did it was like 6 months ago or something.
we've been asking for shit for years and they haven't given it to us and its fucking tiring. asking for daily quests, new features, more grips, vehicles and shit like that is obviously never gonna happen and thats the fucking problem. they don't care about their community.
but anyways, thats really all i want to say, might make a follow up post later. if you want to add your 2 cents down in the comments, you can do that. bye2