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 - "via reddit"
-
How do you salvage a really hard question on a whiteboard interview?
Ans: "I'm sorry, I don't code on light theme"!
Via reddit user csquestions5583292 -
You know what really pisses me off about the dev community is the circle jerk that ensues when someone bashes something they have no experience in. Take yesterday's React bash on Reddit and DevRant. Thomas Fuchs compared React and JSX to the intermingling of HTML CSS and JS of 15 years ago. If you knew anything about React or spent 1 hour learning what it's about you would immediately know why that isn't true but no, a giant circle jerk ensued comparing it to PHP! I'm sorry but HOW can you compare a pure JS view library that is renderable by the browser, to a full fledged server side language?? Not to mention the React approach uses a completely different programming paradigm of functional programming.
When I first saw React and Redux I realized what this is all really about, a shift in the paradigms of programming. React + Redux is the first time that functional programming has entered mainstream. We've had functional programming available to us via Haskell and more recently Clojure for a while now but it was never very obvious how powerful functional programming could be outside of the niche that used it for more analytical type tools. Now we have things like hot reloading (https://youtube.com/watch/...) and state playback (https://youtube.com/watch/... skip to ~3min to watch the magic) thanks to immutable state.
Before you decide that React is just another flavor of the month library I encourage you to learn about the advantages that functional programming provides (https://medium.com/@cscalfani/...) and checkout Elm (http://elm-lang.org/) as well. The nice thing about React + Redux is that it gives us a way to start programming functionally, without having to learn ML style syntax like Elm and ClojureScript. Keep in mind, when Object Oriented Programming was becoming popular it was widely controversial as well and look at all it has done for us.4 -
Lately I have been overthinking a lot. I am stressing myself out on every single decision believing that decisions I make today will define my tomorrow.
In hindsight, all the major and positive impact that have happened in my life were the decisions I took on the fly without much underlying research. The executional part did have me struggle a little but almost all of the best things happened to me were unplanned.
Funnily this has been my philosophy since years but guess what, I failed to follow it this time.
My overthinking and over planning caused me to mess up a little leading to a lot of unwanted anxieties.
Now let's reflect a little on the past, when my first relationship ended.. wait.. even earlier..
When I was in 5th standard, I was crazy bullied at school but I was happy go lucky and things turned out in my favour throughout till date.
I used to do what I loved and enjoyed. I literally never worried or thought about future. Not even once, things just fell in place for me miraculously.
When my first relationship ended, I was shattered. The darkest time of my life and me being all alone, I came out strong.
I used to live happy. I used to do stuff that I loved. I used to not care about what people thought. No socials for me. I used to follow random dark or counter culture stuff and be a little rebel that I am.
I remember, she and I used to go for fuck tons of events, hangout at waterfront of the city, spend time together and just be ourselves.
I never used to compete, compare, or conflict with anyone.
devRant was (and still is) a digital home for me. Wonderful phase of life.
Then shit went south. I joined Reddit. A girl told me about a pen pal app. Met another girl there.
Joined Telegram again to be in touch with her. She wasn't interested but I stayed on Telegram.
I could pick up any girl in minutes and do so effortlessly.
Slowly the twin extrovert in me came out. I started building and maintaining insanely awesome network.
Started spending more time on Reddit and Telegram.
Joined a bunch of professional communities. Career sky rocketd.
I was still happy and living a gala life at this stage.
Slowly, I realised I was underpaid (via professional communities). That unsettled me.
I frantically started hunting for jobs. 2020 and COVID-19 hit. Being indoors sucked more.
Became more aggressive on job hunt, money, building skills, work work work...
Met a hoe who fucked my emotions and ethics even further.
Got a high paying job. WLB went negative.
I started losing myself. I forgot my hobbies. I don't know what happiness is. I don't remember when I last smiled. I started planning my finances. Overthinking and stressing about shit troubled me into sleepless nights followed by early morning calls made things worse to my health.
I lost the clarity of my life. I FUCKING LOST ME.
I want myself back and I am gonna work for it. That happy little rebel Floyd who never gave a fuck about other's opinion on him or his beliefs. That dude who was shy to talk to girls. The guy who'd follow his passion and not society of high paying jobs or shit.
I almost got my finances and taxation sorted. Now I'll work to get my office timings in place. If not then I'll switch and find a job in UK/EU with a good WLB. And at the same time I'll pursue my hobbies.
Enough of rat race shit. Money has always been an outcome of my hard work and high work ethics. I want to live a life and I am willing to trade of extremely high paying/stressful FAANG jobs for a small company keeping me happy.
I'll be the happy Floyd that I was once was.
Because, the heart wants what the heart wants :)2 -
Just found out today via Reddit that Wells Fargo, American Express (not personally confirmed), and Chase login passwords are NOT case sensitive!
I would check your bank too!2 -
Reddit hasn't been helpful, so here goes nothing. I, a 24 yo single child with over protective parents who has never let me go on trips until last year, have decided to go on a community trip. it is via one of those Instagram pages who take a bus full of people to remote treks, have all the rooms+food+expenses covered in one fee. they will be going to tirthan valley and its a 3days trip.
i have mixed emotions. i am feeling excited, adventurous, a bit raunchy and a whole lot of scared and conscious. The crime patrol and delhi crimes have ruined a lot of dreams for me, and have made my parents downright paranoid. i have recently been feeling like a kid who gets everything from someone else and don't know how to survive on my own, so want to close my eyes a bit, trust the world and take this adventurous trip
Well that's the post. I have been to trips with my parents and friends, so i will probably figure out what to take or not take. I don't wanna ask you, the audience to share some advice or be my damsel in distress but this step is scary, exciting and full of unknowns so just shared my thoughts. I will appreciate your thoughts on this too6 -
grrrr
last week my laptop died out of nowhere. it stopped recognizing the one drive in it. I lost a bunch of files, code. evidently ssds fail out of nowhere unlike hdds which slow down and error all the time before ultimate failure
my warranty for this 4k$ laptop expires in 12 months and this was month 13. nice. I don't like warranties anyway, and the site said they would replace things with "comparable hardware, sometimes refurbished" wtf no thanks
so I found some guides of people upgrading the drive in this laptop. seemed easy enough, unlike older laptops from back when I was in school where you had to take out 12 things first to get to anything
unfortunately I needed a specific screwdriver. I walked several miles to the nearby hardware store thinking they would have said screwdriver. the old guy in the basement said there was a kit where it started from t4 (I needed t5), but he had just sold out his last one. I checked their online store with a friend for a while on my way back home and we kept finding torx screws but the wrong sizes. fuck.
he said screwdrivers this small are only used for electronics, asked if there's any other hardware stores and there aren't near me
however it occurred to me this strip mall has a lot of suspicious computer stores on it. so I walked back up the street looking for one.
found one with a suspicious poster, saying it was an internet cafe but the last point on their poster said they do repairs. walked in. nobody is in there, suspiciously 2 desks with old computers all empty, then you go forward in this dark cave, with plastic wrapped implements on the walls, you finally find a glass shield and behind it was a meek Asian man that took me a moment to notice
I asked him if he had t5
he handed me a plastic baggy full of tiny screwdrivers, for me to take one
I asked if they're t5
the shape looked right, but I can't tell the size
I took one out and tried to find size marking, but nothing
he didn't seem to know what I was asking when I asked about its size
he said if it's wrong I can come back and trade what I took for another. lol
I asked him if I can buy it, since that wasn't evident to me due to how sus this random bag of screws is being thwarted on me lmao
he said 5$ cash
I gave him a fiver
this sus shop literally avoiding taxes lmao
walked back home, ate food cuz starving, tried the screw and FUCK, it's too big. put laptop in a bag and hauled ass fast, checked on maps the store I got this from closes in a few minutes so I really wanted to make it there because what if the receptionist changes and they don't know I took this screw. I got no receipt
got there right before closing, put my laptop down, said it was too big. he used a few screws until he found one that fit, said I could try it and I did (so scam aware!). bingo bango. now I got a screwdriver that fits the laptop.
walked home, sat down and took apart the laptop. been a few years since I did so. the hardware inside looks entirely unrecognizable to me. started cycling through YouTube videos of laptops of the same name as mine, but their insides don't look like mine. is this ram? is this the NVMe? what the fuck is anything?
finally found a video guide where the guy was quite informative. not the same laptop but he's informative enough I figure it out. ram and drives are so different and weird now. took parts out, put them back in, rebuilt laptop, tried to boot, same problem. jiggling parts like this works with desktops often, guess not with a failed NVMe
so I'm screwed. get on Newegg and bought a new NVMe. should arrive in 3 days via Purolator
yesterday was day 3. it was at a sort facility near me, then out on delivery, but nobody ever came. then it went back to sorting. now it's out on delivery again. I'm sitting here thinking that's a little weird, wasn't Purolator the delivery company that had me go 2 hours outside of town to pick up a 15lb desktop case once?
... and then I looked up Reddit comments... then reviews on the purolator facility it's at... I am screwed. last time iirc they were out for delivery for 3 days, never tried delivery, then on the last day at the end of day they stated they attempted delivery but no go. that was bullshit. then it ended up at that facility. which takes 2 hours to fucking reach.
the reviews are so bad... the facility has 1.2 star reviews with thousands of them. they won't leave even a stub, then seem to not know where your package is at the facility, or they deny you have the right to pick it up despite ample IDs, or someone ELSE picks it up and it's not there. they also ship your package back after 5 days, so if they don't leave a note and you miss it tough luck...
fucking hell
also rumours that they just hire "contractors" in normal cars to drop off packages? wat? lol
AND EVERY REVIEW HAS A BOT COMMENT. THEIR SUPPORT IS JUST A CHATBOT
I thought this was just a small hiccup
I think I might not have a drive for weeks now
fucking hell
now I'm sitting on my porch2 -
Need some help choosing a laptop (budget is up to 2000 EUR)
Initially 6 months ago I bought Dell G5 (5587) for 1300 EUR and it had i7 8750H CPU, 6GB NVDIA GeForce GTX 1060 Max-Q GPU, 16GB RAM, 256GB SSD+1TB HDD.
However turned out to be a piece of shit because dell fucked up their thermal management badly and they don't give proper access for their users to control the fans. Even when you force fan control via Windows test build then you will face a dissapointment since most games won't run properly on Windows test mode. So anyways I got rid of that laptop. For more info you can have a look here https://dell.com/community/... and there are dozens of topics on reddit about that.
So yeah currently looking for a decent gaming/movies/coding laptop which gives full access to undervolting/fan control.
Currently I'm looking into Razer Blade 152