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 - "algo"
-
!rant
... so... maybe not that much of a thing, but i think it is:
a gal (27 years old) i started teaching programming two weeks ago, who had literally no previous experience with programming, algoritmization nor c#...
... just now, after 3 lessons of 6 hours altogether, and after yesterday when i explained to her what arrays are and reminded her what loops do...
... invented bubble sort. on her own. no googling. on paper. no "trial and error code typing and running".
i'm actually pretty proud of her :)
... putting the algo concept into actual code will still be a bit of a struggle, but yeah, hell, can't help thinking that she's actually pretty smart :)
(p. s. fist lesson was i drew uml of a fibonacci algo and forced her to understand what it does, second lesson was i explained the minimum required c# syntax for her to be able to implement it and forced her to write it (with as little help as i could), third lesson was the concept of array and "okay, now here's array of numbers, make a function that will sort them")
looking forward to what will happen when i explain recursion and nudge her towards quicksort O:-)8 -
Def not dev oriented.
I am a huge fan of trading card games. It started with Yu Gi Oh, moved on to Magic, even tried, LoTR when it was a thing, tried algo Star Wars the original CCG (loved it), Duel Masters (when it was still in the U.S) Pokemon (of fucking course) and other more uncommon ones like Cardfight Vanguard, tried latino only games (Mitos y leyendas, Myths & Legends, this one is king on my list) and Flesh & Blood. But as a mexican kid, I was always a fan of fucking dragon ball, like most mexican kids.
SO I bought some cards from the newest game expansion. the owner of the TCG/anime store told me that if I was willing to play that I should hang out on tuesdays.
So, learning the rules of the game, and wanting to play with other people, I went there on a tuesday.
The MTG people were there fighting amongst themselves for some reason. the Pokemon people were there also, just opening packs without playing. A rather large table was there with a bunch of people playing a game that I did not recognize. And then there was me. I was chilling on my phone thinking that the DB dudes would show up eventually. nothing, so I just sat there waiting.
Suddenly a dude comes to the large table and starts pairing people for a "tournament" and once they are all sited he notices that 1 is missing, he walks up to me holding a store app and asks me "sorry bro, are you here to play with us by any chance?" to which I say "I do not think so, I came here for DB but I don't know what you guys are playing"
The dude looks down on his app, somehow actually sad and says "man I do play DB, but I don't think I have my cards with me, maybe, let me see" and he goes on to see if he brought something.
This was green flag n 1. the dude wanted to just play something with someone. And was doing something to not LEAVE someone behind. then quick as hell another says "well, why don't we give him a deck and he can play with us! we can teach him!" and I say "well what are you lads playing?" and he says "digimon man you like the anime? a new release came about! it's sick man it would be awesome if you play!"
Second green flag, another member of that community was happy for the idea of increasing the membership and actively did something to increase the population.
So, I hanged out with them. Close knit group, all friends from a long time, but willing to take an unfamiliar (and rather handsome) face with them.
My face when (MFW) the DB dudes where not there, so the digimon group adopted me.
I know have over.....2000 cards, most of them were gifted to me by them after they saw my chops and tough me how to play, by graciously lending me their decks.
This my lads, is what humanity is about. We got close fast, it has been 2 weeks of just chilling with them at the game lounge, just nice people, all of them really. Not a single angry moment or anything, you pull a crazy combo on them and they legit sheeeeeeeesh and applaud them, they don't care about loosing, they just want to have a good time, and this, this is a good crowd to be at.
Strive to make people feel welcomed. Being nice to others, taking a chance on people you deem to be ok, is fine really. It is rather cool. Anyone can be a salty asshole, but it takes a real king to be nice to others just for the sake of having a good time.
These dudes, they are gold. And I finally have something to take my mind away from work and other things that increase my anxiety and stress. I would much rather be there shooting the shit with the lads and playing games than at home, drinking the night away to relieve stress.
Kings5 -
!rant
The new end to the idiotic code snippet head scratchers interviews (awkward for both parties but nobody is willing to admit it)?
Hometasks.
Infinite internet access, use whatever tools you want, do as much as you can in 2-3 hours.
The best non-toxic way to see how someone works as a dev.
This is the way I expect you to work, so this is the way I will interview you.
Sorry silicon valley, we don't need people who can write up a binary search algo from rote memory.3 -
Hey everyone, I'm looking to setup my own vpn and I stumbled upon "algo vpn" which we can self host. Can anyone confirm on this ?
@linuxxx @linux @condor @floydian6 -
Me: What algorithm prioritizes food no matter how you use it?
Coworker: Idk, never heard of that one.
Me: Bread-First-Search1 -
Where do I start on Leetcode? There is
- Top Interview Questions
- Easy, Medium and Hard Interview sections
- DS and Algo Study Plans
Pleh?2 -
FWIW you can store data in google photos and use it's text conversion algo to search for stuff. Such as screenshotting recovery codes and searching for "recovery codes"6
-
My in-laws seem allergic to keeping fruit on the fridge. In a 40° heat. No wonder half the fruit are spoiled by next morning.
My algorithm for storing produce:
Is it fresh produce? => (No) use another algo. (X)
Is it potatoes or onions? => (Yes) put it in a bowl in a closet (X)
::: Put it all in the fridge, dammit. -
I haven't written a line of code in over a month ever since I stopped working due to health issues...
And I have no desire or ideas to create any new apps...
Sorta feels like I'm throwing away 20+ years of work/experience/passion.
Maybe I should just solve algo problems for fun?
Or should I finally try doing some (Java) open source...
Where to find projects?7 -
Anyone else using Algo in the Android app but can load the next other when they reach the end of the first?1
-
the october of 2020 was the year when i started my first job. 9 months before that, i was under a severe depression and burnout (i guess?) and had made up a decision to quit android dev, an area for which i was passionate and had proven excellence before.
(just having a few good thoughts and going into a little nostalgia in this rant)
DR has been my goto place for every good/bad/shitty thought, so the rants on those days reflected my mental pain ( am gonna go check those after this rant) and confusions.i was so so much confused:
- "College is about to get over, i have to go earn bread for my family, what am gonna do"?
- "My jan Android internship had so shitty people, it was so much fast paced, they exploied me, mistreated me so much. am never gonna do android dev. should i take this shitty TCS offer of INR 300,000? i bet those guys will be nice atleast, they are a freaking mnc"
- "I don't seem to like anything these tcs people have offered me in their video classes. how am gonna survive my daily job life if i don't like these stuff?"
"FUCKING COVID IS THERE!! MY DAD's SHOP HAS CLOSED DOWN, WE ARE ON OUR LAST SAVINGS !! I SHOULD FUCKING DO SOMETHING, BUT A JUST A 22 YEAR OLD NOBODY!!"
this above, was my fight. to me these were the end of the world thoughts.
however the last day of college came, then the next day came, then another , then a week came and went, then months came and went , then years came and went and today after 2 years, i am just amazed at how things handled themselves. all the above points are now totally invalid in my eyes
i was shit scared to even open android studio after that jan internship. however, every thing i learned in between feb to sept ( and that includes my college stuff, some web dev, php, etc) i would find myself comparing it with java and android. and after spending some off screen time with friends nd family getting some relax, i started applying for jobs at startups. I only ever had confidence in java and kotlin , so 50% of the jobs i applied for were that of android dev.
and it was to no one's surprise that one android startup offered to interview me. i remember being terrible at ds algo, programming, java and even android at that time, yet somehow they saw some potential in me and offered me a role. the role they offered me was for an android dev with a salary of almost double the TCS's offer. this was even more terrifying for me because i was already burnt with a startup offerring money and exploiting me.
But my god how things changed .
This small startup company was everything opposite of that exploitive startup.
- From day 1 to my last day in that company, I had seniors who would give me time to understand stuff, ask questions that they would clarify, understand my knowledge and level and give me tasks accordingly, trust me of my time and my words and appreciate me. no one ever called after 6 pm or on weekends and no one ever counted my leaves or asked question about it.
- I was myself very scared at first, that someday they are gonna blame me, find me as some fraud , some masquerader unfit for the role, but these fears slowly went away. i just found myself diving deeper and deeper into code with full passion love and quest for writing bug free stuff.
- slowly and slowly they even stayed putting me as sole devs in management meetings, making me the front spokesperson for android tech in those meetings, the position that gave me so much confidence since, the people taking the top decisions will change their decisions based on my calls. I also felt a pull for exploring stuff outside my domain, sitting in calls of backend devs , react guys and designers, asking them questions and learning their stuff too.
today i laugh at the problems that life had put in front of me at that time. today my opinion on choosing mnc vs startup is not about who pays how much or where the job is most secure, but its about where i find myself motivated and excited to work.
money is not even a factor anymore. everyone (mncs included) is willing to give tons of money to the worthy candidate, so i won't be ever settling for a low paying job. the topmost priority is which company has the culture to let me grow and keep me on heals at the same time.
-----------------------------------------------------
(continued)4