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 - "life of programmer"
This is so nice..💙😄
Synopsis of Gita (religious book of Hindus)
Code is an illusion
Today you are coding
Tomorrow someone else would do it
Thereafter someone else
What did you learn
That is helping you in this Project
What are you learning
That will help you in your next Project
Bug is the truth of life
It is today, and will remain forever
You think you have debugged the Bug
You are wrong
It is continuous
In various new forms
It pops up
Recognise it Parth (Son of Hindu God)
That's why go on making Codes
Don't think about the Bug
They will come to you
On their own1
so... the next step from programmer/developer is always an entrepreneur/business?
i see my daily work : i open my laptop, i see tickets from my company which include bug fixes, new feature development, some discussions , etc. i fix the bugs, make the features, add my points in discussion and the day is done.
from company's point of view, i am an ideal developer. in some years i will become a senior dev, which i guess involves similar stuff but different weightage (or is it different? please comment) . after that, we become tech lead , then engineering lead , then mts1 then mts 2... etc
i am guessing you guys must have similar trajectories in your company. from what i know, some people don't continue this trajectory (from boredom, lust for money , other reasons) and instead go on building a new product / starting a company , going into managerial/ entrepreneurial role.
so this is one kind of goal : "i will learn tech enough to launch my own company and be a ceo of it". i can't relate much to it. why go into tech when you wanna launch a product? why not just go into business schools from the day1 and get business knowledge?
anyways the above are the questions that i don't really want an answer for, those are just my criticisms.
but my main question is : what about those people who DON'T want to go on launching some business?
- do you people exist?
- what's your goal? is it around the lines of "learning all the tech of the world to be the cto or chief engineer of a company"
- how do you plan to achieve it?
honestly i want to be the second kind of person, i.e the one who always codes/ aims to code but can't seem to find a proper path/goal to it. plus the job security that i have seen with businesses/entrepreneurs throughout my life, my introvert mind fails to see "just coding" as a success.
i am 23 , but i fear that when i am 40 and my 5 yo kids comes to home seeing his dad sitting against laptop "just coding" , they will feel more insecure against their friends whose father has some shop or founder of some funded startup
(40 yo dads, share your views on life too , please )7
So I saw a blurb about AlphaCode from DeepMind. I went to look at their website:
What I see is the most insanely detailed spec for code I have ever seen in my life. I haven't even seen college programming problems this detailed before. Most specs "I" get are like one or two sentences long "if" it is even written down. A lot of the time the direction is: write some stuff and we will tell you what we hate. Just figure it out.
So DeepMind is claiming they can produce code as well as the average programmer because they ranked 54% in a coding competition. What a complete misleading claim and absolute bullshit conclusion. I am all for creating new tech around generating code, but this is just to sell snake oil to an idiot manager at a startup.
This is going to lead to some really fucked up rants here at devrant.6
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