my_hat_stinks
@my_hat_stinks@programming.dev
- Comment on Millionaire homeowners sued the city of Charlottesville, Virginia, arguing a 10 square mile town whose new zoning plan to increase density had no plan to expand the roads 1 day ago:
I think you’re misrepresenting that a little. It’s not peer reviewed, doesn’t appear to have any researchers names attached at all, doesn’t mention latent demand, and doesn’t at any point consider that there could be other modes of transport. It reads to me like someone trying to sell their road building project.
- Comment on EVERYBODY IS DOING SOMETHING 3 days ago:
Exploiting the difference in value of a commodity between communities is a valid way to make a living, traders have existed for a very long time, though if there’s little effort required the values will quickly align with each other. Turning it into an infinite money glitch by having a mint convert your raw material into coins is nonsense.
That’s all still assuming the coins are made of pure gold/silver for some reason. And assuming the mint is willing to just make money for you in spite what I’ve already said.
- Comment on EVERYBODY IS DOING SOMETHING 3 days ago:
If the coins are 100% gold or copper then you’re in one of two scenarios: the value of the coin is the scrap metal value, in which case swapping between gold and copper makes little difference; or, the mint buys your scrap gold and converts it in-house, pocketing the difference. A mint has no reason to convert your gold to significantly higher value coins for you, that only loses them their economic and political power in the form of currency control.
The only way it would work is if you specifically build a world where everyone else is incredibly stupid just to make yourself seem smart.
- Comment on EVERYBODY IS DOING SOMETHING 3 days ago:
People are always praising that fanfic for some reason so I tried reading it a while back. If it’s the one I’m thinking of then hard disagree, the protagonist is a self-insert Mary Sue clearly written by a kid who thinks they’re the smartest person alive. One part that still sticks in my mind years later is their fundamental misunderstanding of how fiat currency works, it was some ridiculous get-rich-quick scheme like melting down wizard currency into pure gold to sell to non-wizard community then using that money to buy silver which they’d trade up to magic society gold coins. It was some years ago so I may be misremembering the details, but there should be a ton of issues that immediately jump out to you there.
I trudged through and got as far as the first meeting with Malfoy where the author realized they were being too friendly with each other, but since Malfoy is supposed to be a bad guy they decided he should randomly blurt out something about how he wants to rape some girl.
Maybe it’s just because I don’t have the context of other bad fanfics, but that’s a solid 0/10 from me.
- Comment on Is there something like a spreadsheet for hierarchical data structures? 1 week ago:
The question reads like an XY problem, they describe DB functions for data structures so unless there’s some specific reason they can’t use a DB that’s the right answer. A “spreadsheet for data structures” describes a relational database.
But they need rectangular structure. How do they work on tree structures, like OP has asked?
Relationships. You don’t dump all your data in a single table. Take for instance the following sample JSON:
JSON
___
{ “users”: [ { “id”: 1, “name”: “Alice”, “email”: “alice@example.com”, “favorites”: { “games”: [ { “title”: “The Witcher 3”, “platforms”: [ { “name”: “PC”, “release_year”: 2015, “rating”: 9.8 }, { “name”: “PS4”, “release_year”: 2015, “rating”: 9.5 } ], “genres”: [“RPG”, “Action”] }, { “title”: “Minecraft”, “platforms”: [ { “name”: “PC”, “release_year”: 2011, “rating”: 9.2 }, { “name”: “Xbox One”, “release_year”: 2014, “rating”: 9.0 } ], “genres”: [“Sandbox”, “Survival”] } ] } }, { “id”: 2, “name”: “Bob”, “email”: “bob@example.com”, “favorites”: { “games”: [ { “title”: “Fortnite”, “platforms”: [ { “name”: “PC”, “release_year”: 2017, “rating”: 8.6 }, { “name”: “PS5”, “release_year”: 2020, “rating”: 8.5 } ], “genres”: [“Battle Royale”, “Action”] }, { “title”: “Rocket League”, “platforms”: [ { “name”: “PC”, “release_year”: 2015, “rating”: 8.8 }, { “name”: “Switch”, “release_year”: 2017, “rating”: 8.9 } ], “genres”: [“Sports”, “Action”] } ] } } ] }
You’d structure that in SQL tables something like this:
Tables
___ dbo.users | user_id | name | email | | -------- | ----- | --------------------------------------------- | | 1 | Alice | alice@example.com | | 2 | Bob | bob@example.com | dbo.games | game_id | title | genre | | -------- | ------------- | ------------- | | 1 | The Witcher 3 | RPG | | 2 | Minecraft | Sandbox | | 3 | Fortnite | Battle Royale | | 4 | Rocket League | Sports | dbo.favorites | user_id | game_id | | -------- | -------- | | 1 | 1 | | 1 | 2 | | 2 | 3 | | 2 | 4 | dbo.platforms | platform_id | game_id | name | release_year | rating | | ------------ | -------- | ------------- | ------ | -------- | | 1 | 1 | PC | 2015 | 9.8 | | 2 | 1 | PS4 | 2015 | 9.5 | | 3 | 2 | PC | 2011 | 9.2 | | 4 | 2 | Xbox One | 2014 | 9.0 | | 5 | 3 | PC | 2017 | 8.6 | | 6 | 3 | PS5 | 2020 | 8.5 | | 7 | 4 | PC | 2015 | 8.8 | | 8 | 4 | Switch | 2017 | 8.9 |
The dbo.favorites table handles the many-to-many relationship between users and games; users can have as many favourite games as they want, and multiple users can have the same favourite game. The dbo.platforms handles one-to-many relationships; each record in this table represents a single release, but each game can have multiple releases on different platforms.
- Comment on Do you care about up/down votes? 4 weeks ago:
Usually no, unless I’ve left a reply disagreeing then someone else comes along and downvotes them, makes me look like an ass who downvotes anyone I disagree with. I also check my own comments to see if people agree with me but I’ll keep the comment up either way, if I do change my mind I’d rather leave a new comment or add stuff in an edit.
It’s not too difficult to bot votes on lemmy so they’re even more pointless than they are on reddit.
- Comment on [deleted] 1 month ago:
Alice: So, how do you identify?
Bob: Normal.What’s the odds Bob’s a bigot? Someone asked how to describe their sexuality, “normal” is not a useful answer.
- Comment on [deleted] 1 month ago:
Fuck that, you’re implying any other orientation is abnormal.
- Comment on [deleted] 1 month ago:
The British monarchy primarily “provides” money by owning land and other assets which would otherwise be government-owned. They also “earn” a shitload of money just for existing and still dump significant expenses onto taxpayers.
- Comment on Indie Dev Who Pulled Game From Xbox In Solidarity With Palestinian-Led BDS Hopes Others Will Do The Same 1 month ago:
First paragraph of the article:
Earlier this month, the Boycott, Divestment and Sanctions (BDS) movement added Microsoft to its list of priority targets due to the company’s intense entanglement with the Israeli military via Azure cloud and AI services. Specifically, BDS called for supporters to boycott Xbox, including Game Pass, individual games, and future purchases of consoles and peripherals. Now, in a show of solidarity, indie label Ice Water Games has removed one of its projects, open-world tactics RPG Tenderfoot Tactics, from the Xbox store.
- Comment on how to get unbanned from communities? 1 month ago:
There is no middle ground between binary options. You have rights or you don’t. You hate or you don’t. “Just a little bigotry” it’s still bigotry. If I say 1+1=2 but you say it’s 3 that does not make the right answer 2.5.
Your worldview is literally the middle ground fallacy.
- Comment on how to get unbanned from communities? 1 month ago:
Supporting human rights isn’t in any way “gaslighting”. It’s very reasonable to ban someone for being a piece of shit.
- Comment on p r e s s u r e 2 months ago:
Hilarious! Do you regurgitate any other generic right wing jokes? How about the attack helicopter one?
- Comment on [deleted] 3 months ago:
Still a nazi. You can say you hate tall people and want them all to be shot, that won’t stop you being tall. Same thing.
- Comment on [deleted] 3 months ago:
It’s called nazism. People who defend nazis are almost certainly nazis themselves. People who claim the nazi salute was used by Romans are wrong or lying, and also probably nazis; the earliest known record of the salute in a Roman context was created a millennium after the end of the Roman empire.
- Comment on Which is the suitable instance for creating AI communities? 3 months ago:
I don’t see how ceding full control of your data to a third party is compatible with preservation of that data, you’re giving someone else the delete button. That’s a very odd argument.
- Comment on Which is the suitable instance for creating AI communities? 3 months ago:
Why not run your own instance if you’re creating so many communities? It’ll be a lot easier to block if all the AI slop is on its own dedicated instance instead of polluting others.
- Comment on are terfs actual feminists or do most transphobic women just call themselves that? 4 months ago:
Terfs by definition exclude women and are therefore not feminist. Hate groups often try to legitimise themselves by adopting more reasonable names even when it goes directly against their views, eg “All lives matter” formed specifically to counter the claim that black lives matter.
- Comment on Do most people still use computers, or do people only use a smartphone as their main/only device? 4 months ago:
Drawing a distinction between privacy and security is kind of nonsense in this context. While they are technically different, they’re only different in the way that an apple and a fruit are different. Privacy is an aspect of security.
If your privacy was violated in another context you would not feel secure.
- Comment on Do most people still use computers, or do people only use a smartphone as their main/only device? 4 months ago:
That’s a very different question. A smartphone can to some degree emulate the other devices listed so when people are asked to pick only one device most are naturally going to choose that even if it’s not currently their primary device, and since they could only choose one it’s not useful in determining how many people use other devices.
From that survey question alone you cannot reasonably claim which device is used most often.
- Comment on where?? 4 months ago:
It’s an alignment because if you look up at it they’re in a line. That’s what alignment means, Lara Croft and ancient artifacts are optional.
- Comment on Playing Dragonsweeper because of Ars' article. Did I have any way out of this without guessing? 4 months ago:
From what I could tell the gnome teleports to a random still-covered empty tile and dies when there’s nowhere left to run.
- Comment on What's the endgame when the rich have all the money? 5 months ago:
What’s the end game for cancer?
There isn’t one, it doesn’t matter that the host dies eventually as long as they get to keep growing for now.
- Comment on Coffeezilla does a third part of his CS:GO gambling expose...where he squarely puts the blame on Valve 6 months ago:
There definitely is already a resale market for Steam accounts, mostly used by cheaters or scammers who want a legitimate-looking account with no game or trade bans.
- Comment on Are there people without handedness? 6 months ago:
It’s so weird to me that there was once a “correct” hand for writing, people writing with their non-dominant hand would just be so messy. For some reason I have one really vivid memory of learning to write in school, it must have been the very first writing lesson we had. Everyone had a pencil on the desk in front of them then the teacher asked everyone to pick it up, then it was something along the lines of “the hand you just used to pick up the pencil is your writing hand, whenever you write you should use that hand”.
I remember being so anxious about that, what if I’d picked up the pencil with the wrong hand and I’m actually left-handed and forcing myself to write with the wrong hand? It definitely didn’t help that for the entirety of my school life after that my handwriting was awful, barely legible to me and completely incomprehensible to anyone else. In one maths lesson I was even shamed by the teacher in front of the entire class because my 4s and 9s looked too similar so she struggled to mark my work, that was very fun and definitely helped improve my handwriting (/s).
I really am right-handed, I’m just bad with a pencil. After school I went into software so I barely ever write on paper anyway.
I’m sure there was a point I was going to make with this story before I started writing it.
- Comment on This seat reservation doesn't reserve any seats 6 months ago:
Seems reasonable enough to me if you bought a ticket for a train which doesn’t have assigned seating, which is pretty common. Just choose your seat as you board the same way you would with a bus.
- Comment on one heckin' huge fish 6 months ago:
Okay? If you want to “correct” people who didn’t ask you go ahead, but all you’re really doing is pointlessly derailing conversations. And if you cry about it when people call you out for being a dick that’s more than a little pathetic.
- Comment on one heckin' huge fish 6 months ago:
“Correcting” someone in a casual setting when they clearly communicated their ideas in a way that was understood by the majority of the audience without issue is pedantry, or more specifically linguistic prescriptivism. If their meaning was unclear you’d ask what they meant to say, when you tell someone what they meant to say you obviously understood them and are just being pedantic.
- Comment on Funko gets community noted 6 months ago:
You have stated multiple times that you have a vested interest in pushing the narrative that Funko isn’t the bad guy but somehow I’m the one that’s not arguing in good faith? Yeah, sure, whatever helps you sleep at night I guess.
Making a fraud claim to a DNS provider and hosting service is absolutely the nuclear option. Literally the only thing either of those providers can do is to effectively takes the entire site down. They intentionally made a misleading fraud claim instead of a DMCA takedown notice so they could force it through quicker. And you’ve completely ignored the fact that they’re relying on AI to identify these “offending” pages, and the fact that they threatened the owner’s parent. The non-apology statement they made is just icing on the cake.
- Comment on Funko gets community noted 6 months ago:
You disagreeing does not make it a bad analogy.
If you hire someone to do a job and the process of doing that job results in someone being killed then yes, you absolutely are to blame, but that’s not what happened here. They didn’t hire someone to protect themselves, they contracted an AI company to delete anything which could paint them in a bad light then made claims of fraud through nonstandard channels to force their way through red tape then threatened parents of their victim when they were called out.