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
Search - "real life"
Most kids just want to code. So they see "Computer Science" and think "How to be a hacker in 6 weeks". Then they face some super simple algebra and freak out, eventually flunking out with the excuse that "uni only presents overtly theoretical shit nobody ever uses in real life".
They could hardly be more wrong, of course. Ignore calculus and complexity theory and you will max out on efficiency soon enough. Skip operating systems, compilers and language theory and you can only ever aspire to be a script kiddie.
You can't become a "data scientist" without statistics. And you can never grow to be even a mediocre one without solid basic research and physics training.
Hack, I've optimized literal millions of dollars out of cloud expenses by choosing the best processors for my stack, and weeks later got myself schooled (on devRant, of all places!) over my ignorance of their inner workings. And I have a MSc degree. Learning never stops.
So, to improve CS experience in uni? Tear down students expectations, and boil out the "I just wanna code!" kiddies to boot camps. Some of them will be back to learn the science. The rest will peak at age 33.17
At this point, I just feel bad for my coworker.
No, I am not frustrated or angry, just feeling terribly bad for her as how difficult life must be for someone so dumb.
We are introducing a new method to track some data in our product, like total number of sign-ups, DAU, etc.
Now the implementation is already WIP and this is known to all.
The dev has documented the approach where he has mapped the screen name, a screenshot, and a snippet of the schema that tracks that particular screen.
I kid you not guys, this coworker somehow landed on that document and started some scientific study to try and extract data.
Yes, she looked at the schema screenshot and spent like few hours trying to decode it to figure out the sign-ups and DAU.
Data via a screenshot in a document. I can't even express it.
And then texts me in panic mode that she isn't able to access the data because the file is . jpeg within a document.
I asked where is she executing the schema, because I thought she is joking initially. She said she doesn't know and asked me where she should execute it.
My mind is numb. Life must be real hard when you are so fucking dumb.21
"Did you see, cryptocurrency XYZ has N commits in the past week, but the price hasn't gone up?!?! WhAtS gOiNg oN!?!?"
Dude. If I could just write code to make the price of things in the real world go up, I can assure you, I would have done it.
That's not how this works. THAT'S NOT HOW ANY OF THIS WORKS REEEEEEEEEEE!!!!!!
God... normie "crypto experts" who haven't coded a day in their life really piss me off, and are super cringe. The funniest is that none of them or their followers realize it.2
I’ve never bothered to try Linux as past experiences with it is not as amazing as people say. What advantages does Linux have to Windows? And it terms of real life usage, such as developing software or websites for a local company, why choose Linux over Windows when the majority of the companies users would use Windows anyway?
All I can think is that I should have a computer specifically for Linux so I can still test things on a Windows computer.20
Data wrangling is messy
I'm doing the vegetation maps for the game today, maybe rivers if it all goes smoothly.
I could probably do it by hand, but theres something like 60-70 ecoregions to chart,
each with their own species, both fauna and flora. And each has an elevation range its
found at in real life, so I want to use the heightmap to dictate that. Who has time for that? It's a lot of manual work.
And the night prior I'm thinking "oh this will be easy."
(Also why does Devrant have to mangle my line breaks? -_-)
Laid out the requirements, how I could go about it, and the more I look the more involved
So what I think I'll do is automate it. I already automated some of the map extraction, so
I don't see why I shouldn't just go the distance.
Also it means, later on, when I have access to better, higher resolution geographic data, updating it will be a smoother process. And even though I'm only interested in flora at the moment, theres no reason I can't reuse the same system to extract fauna information.
Of course in-game design there are some things you'll want to fudge. When the players are exploring outside the rockies in a mountainous area, maybe I still want to spawn the occasional mountain lion as a mid-tier enemy, even though our survivor might be outside the cats natural habitat. This could even be the prelude to a task you have to do, go take care of a dangerous
creature outside its normal hunting range. And who knows why it is there? Wild fire? Hunted by something *more* dangerous? Poaching? Maybe a nuke plant exploded and drove all the wildlife from an adjoining region?
Having the extraction mostly automated goes a long way to updating those lists down the road.
But for now, flora.
For deciding plants and other features of the terrain what I can do is:
* rewrite pixeltile to take file names as input,
* along with a series of colors as a key (which are put into a SET to check each pixel against)
* input each region, one at a time, as the key, and the heightmap as the source image
* output only the region in the heightmap that corresponds to the ecoregion in the key.
* write a function to extract the palette from the outputted heightmap. (is this really needed?)
* arrange colors on the bottom or side of the image by hand, along with (in text) the elevation in feet for reference.
For automating this entire process I can go one step further:
* Do this entire process with the key colors I already snagged by hand, outputting region IDs as the file names.
* setup selenium
* selenium opens a link related to each elevation-map of a specific biome, and saves the text links
(so I dont have to hand-open them)
* I'll save the species and text by hand (assuming elevation data isn't listed)
* once I have a list of species and other details, to save them to csv, or json, or another format
* I save the list of species as csv or json or another format.
* then selenium opens this list, opens wikipedia for each, one at a time, and searches the text for elevation
* selenium saves out the species name (or an "unknown") for the species, and elevation, to a text file, along with the biome ID, and maybe the elevation code (from the heightmap) as a number or a color (probably a number, simplifies changing the heightmap later on)
Having done all this, I can start to assign species types, specific world tiles. The outputs for each region act as reference.
The only problem with the existing biome map (you can see it below, its ugly) is that it has a lot of "inbetween" colors. Theres a few things I can do here. I can treat those as a "mixing" between regions, dictating the chance of one biome's plants or the other's spawning. This seems a little complicated and dependent on a scraped together standard rather than actual data. So I'm thinking instead what I'll do is I'll implement biome transitions in code, which makes more sense, and decouples it from relying on the underlaying data. also prevents species and terrain from generating in say, towns on the borders of region, where certain plants or terrain features would be unnatural. Part of what makes an ecoregion unique is that geography has lead to relative isolation and evolutionary development of each region (usually thanks to mountains, rivers, and large impassible expanses like deserts).
Maybe I'll stuff it all into a giant bson file or maybe sqlite. Don't know yet.
As an entry level programmer I may not know what I'm doing, and I may be supposed to be looking for a job, but that won't stop me from procrastinating.
Data wrangling is fun.2
@rutee07 is gone! Yaaaaaay!
Now, as I have your attention: on a serious note, your dick size-bragging, vulgar blabbering was fun for a moment, but this is what happens when you’re not truly being yourself. In real life, you’re a woman, I don’t know why you had to invent all that persona based on genitals you don’t have to pose as someone else. Without irony, I really liked when in your latest rants and comments your mask begun to slip, and you wasn’t afraid to show your true personality — complex, vulnerable, beautiful.
I forgive you. Perhaps, Rutee as a persona _should_ die, superceded by true you. I adore the gesture, and you will be missed.10
"f(n) is O(g(n)) if c and n0 f(n) <= cg(n) for all n > n0".
I have a couple of questions related to this equation.
1: why we use this equation?
2: which thing cg(n) is represented for?
3: what is the real-life example of this?10
I’ve been looking for a job recently since I am a student and starting my career.
I have a bunch of experience and I like to think I have pretty broad knowledge of programming concepts (web dev, ML, AI, software development).
I see these job postings for jobs that I know I am qualified for.
- I got my research published (which is related to the jobs I’ve been applying for)
- I have great grades
- I have a clear track record of doing well in teams (life long athlete)
- I am a complete geek for new tech and libraries so I always learn them super fast
- I have side projects that aren’t just shit I’ve done in school
- my past jobs show that I am an efficient worker who has real experience
However, I always fucking fail the coding challenges.
I’m never asked questions like “how to reverse a linked list”, just obscure questions that I don’t know how to study for.
What the fuck am I supposed to do? It’s not even like I get close to the answers. I usually get a couple test cases and then fail the rest of them, or I can’t figure out a solution to solve them.
This is all really disheartening and I fucking hate it I absolutely fucking hate it and when I am trying to hire people in the future, I’m never going to make them do coding challenges bc they’re fucking stupid4
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
My partner and I are in a free relationship, and there is a solid reasoning behind it.
When you stop seeing sex with the other person as magical sexual utopia, when you realize that merely having sex with someone else is not the reason to leave your partner, your relationship becomes much stronger.
In monogamy, your real partner competes with imaginary utopia, always loosing. In polygamy, your partner doesn't compete at all, because you know that you are always welcome, no matter the affairs.
I've seen enough broken marriages, including the relationship of my own parents. I've seen enough families of my relatives, where people love each other, destroyed by just one affair with someone else. I don't want this in my life.
Polygamy is the entire new level of acceptance and loving your person as a whole, without making them hide their fantasies, without making affairs a taboo, without being judged. Monogamy is a stubborn relic of the times of inquisition.
I created this theory, and we brought it to life. The sheer amount of the insight we both got is beyond any explanation. My current relationship is the strongest one I've ever had, and I had a lot of them because you know, I'm kinda hot.
One year on, we never had a single argument. I chose that person, and we are close. We have many things in common, we built many things together, we love each other. Our relationship is the major opposing force to my anxiety and their depression.
I won't let monogamy destroy that because some child molesting priest enforced it centuries ago. Transhumanism wins.48
I'm in love with F#, the tooling can be a little buggy if you're used to TypeScript or Java but before learning it I've never been able to solve a real life problem with less than 10 lines of code7
I have no idea what is happening. literally. am i considered to be a human just because human beings decided to call humans, human being? are the words coming out of my thoughts, the real words that my human form is intending to convey? you! all of you! what is real for you? how do you define the right thing to do? Do you live your life according to your real self or according to what others expect of you? are you living your life truly? what is the truth? how can you consider a truth to be true if that truth has been made by the same creature that also had no idea of what the truth was and suddenly just came up with it? how?2