Details
-
AboutHi! My name is Gaetano, I'm a novice programmer, and I'm still a student. I also do music and stuff... Please check me out on SoundCloud (link below) or YouTube, if you want to (^◡^) See ya somewhere! 💙🎶💻
-
SkillsI know: C#, HTML/CSS, JavaScript, PHP, SQL, Csound. Currently learning: C++.
-
LocationItaly
-
Website
-
Github
Joined devRant on 6/6/2017
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
-
My God is map development insane. I had no idea.
For starters did you know there are a hundred different satellite map providers?
Just kidding, it's more than that.
Second there appears to be tens of thousands of people whos *entire* job is either analyzing map data, or making maps.
Hell this must be some people's whole *existence*. I am humbled.
I just got done grabbing basic land cover data for a neoscav style game spanning the u.s., when I came across the MRLC land cover data set.
One file was 17GB in size.
Worked out to 1px = 30 meters in their data set. I just need it at a one mile resolution, so I need it in 54px chunks, which I'll have to average, or find medians on, or do some sort of reduction.
Ecoregions.appspot.com actually has a pretty good data set but that's still manual. I ran it through gale and theres actually imperceptible thin line borders that share a separate *shade* of their region colors with the region itself, so I ran it through a mosaic effect, to remove the vast bulk of extraneous border colors, but I'll still have to hand remove the oceans if I go with image sources.
It's not that I havent done things involved like that before, naturally I'm insane. It's just involved.
The reason for editing out the oceans is because the oceans contain a metric boatload of shades of blue.
If I'm converting pixels to tiles, I have to break it down to one color per tile.
With the oceans, the boundary between the ocean and shore (not to mention depth information on the continental shelf) ends up sharing colors when I do a palette reduction, so that's a no-go. Of course I could build the palette bu hand, from sampling the map, and then just measure the distance of each sampled rgb color to that of every color in the palette, to see what color it primarily belongs to, but as it stands ecoregions coloring of the regions has some of them *really close* in rgb value as it is.
Now what I also could do is write a script to parse the shape files, construct polygons in sdl or love2d, and save it to a surface with simplified colors, and output that to bmp.
It's perfectly doable, but technically I'm on savings and supposed to be calling companies right now to see if I can get hired instead of being a bum :P19 -
The state of operating systems in 2024.
Windows - has a user interface that changes with every update so Microsoft can push ads even though it costs $200
Mac - an unusable interface designed solely for consuming media anchored to hardware that costs 4x what it should
Linux - absolute freedom to do everything you want so long as you don't want to play games, connect to Wifi, or listen to audio
I'm just going to go be a beet farmer in the 1600s61 -
Pick one:
Live out your school life again as a 10-year old with the same level of knowledge you have now.
Or,
Be 65 years old with $10 million in the bank.42 -
Me: p
Windows Search: Paint
Me: pow
WS: PowerPoint
Me: powers
WS: Powershell
Me (typing too quickly to notice Powershell is already there): powershell
WS: ummm idk11 -
Today my current company fuck itself.
We were in negotiations about the end of my contract/mission, I want to quit to create a company around AI.
And the actual chairman said to me "You think too highly of yourself. I could find a tenth of people to replace you so shut up and take what we offer".
30 minutes later they received my resignation. 1h after that, the 15 dev under me resigned (after two year working with us they are clearly under paid). At the end of the day, the Head of product and the two good PO resigned.
This morning I get an email, talking about suing me as I made everyone resigned and asking for a meeting.
So I went to the meeting with a lawyer, they weren't expecting it. Boring legal stuff came after that.
And the funny fact: at the end of the meeting the CIO, chief ops and the SRE resigned as well.... As they didn't want to have the run it without all the team...
Funny day :)
Last month the main product, 90% of the company use it, was launched. And in three months 80% if the IT profiles will be out...36 -
I really like retro games and there is this thing called retropie which turns your raspberry pi into an arcade machine. Since I have way too much time, I decided to built an arcade machine case out of wood with an old TV and analog sticks from Amazon. So yeah, I wired everything together and wanted to share it with you guys. I'm still searching for stickers to put on the top and on the joystick panel, but for now I really like the result. Tell me what you think!14
-
!rant
This is your faptain speaking,
We need backup ASAP.
Severe ++bombing raids by @mishaor. No casualties so far, retaliatory actions will be taken
@faptain,
South Asian devRant Command10 -
This morning I got up a little earlier, and managed to make myself a proper cup of coffee in my favorite cup4
-
Found a random website that lets you design your own anime avatars, its quite in depth and there are many art styles from different artists available:
Pros:
* It's comprehensive, and it has a lot of styles available
* Editor is intuitive and Modern
Cons:
* It's in Japanese, you might wanna use GTranslate.
* Randomizer fucks up on some of the more in-depth art styles.
* Seems to be mobile-exclusive design for the editor.
You can check it out here: https://picrew.me
Here's a little sample from picrew on the Gorilla Art style
(Note: this is actually my GitHub avatar as well)18 -
TOP 10 PROGRAMMING BEST PRACTICES
#1 Start numbering from 0.
#10 Sort elements in lexicographic order for readability.
#2 Use consistent indentation.
#3 use Consistent Casing.
#4.000000000000001 Use floating-point arithmetic only where necessary.
#5 Not avoiding double negations is not smart.
#6 Not recommended is Yoda style.
#7 See rule #7.
#8 Avoid deadlocks.
#9 ISO-8859 is passé - Use UTF-8 if you ▯ Unicode.
#A Prefer base 10 for human-readable messages.
#10 See rule #7.
#10 Don't repeat yourself.12 -
How language creators choose the function to get the size of an array..
I mean, the life could be more simple, this is just an example.12 -
Shit... I just got my phone stolen. Realized it 40 seconds post factum [left it at the shop counter and someone took it].
20 minutes later called the police [cuz I had to get home and use wife's phone].
5 min later poluce arrived
10 min later they got all they could from shop's security officer.
Police officer asks me to login my samsung acc on his phone. 2 minutes later we are on the way to the exact location my phone is at.
15 minutes later officer hands me my samsung 😁
got my phone back in less than an hour after theft.
maybe... Ummm... Maybe all this tracking thing is not that bad...?13