Barbarian
@Barbarian@sh.itjust.works
- Comment on New modelling reveals full impact of Trump’s ‘Liberation Day’ tariffs – with the US hit hardest 1 day ago:
My unfounded guess is that they sell products that normally compete with a soon to be crippled US market, so their products can fill the void. Think car sales from China to the EU after the tarrifs cripple manufacturing, for example.
- Comment on 2 days ago:
Please don’t lump trademarks with the rest. Makers have stamped their goods with their mark since ancient times, both as advertising and to signify quality products (and not knockoffs). Swords were especially commonly marked with the smith’s trademark.
It was illegal to sell bread in ancient Rome without a trademark, for example. The punishments for doing so were harsh, as they wanted to be able to track down the baker if someone sold tainted bread.
In modern days, they’re useful for customers to know what company they’re buying from.
- Comment on US could cut Ukraine's access to Starlink internet services over minerals, say sources. 5 weeks ago:
Has there been any progress on dropping tarrifs between provinces?
- Comment on After Years of Struggling To Be Noticed, My Indie Game Was Covered By VICE 1 month ago:
Wow, it’s almost like there might be people with different opinions that use Linux and Linux users aren’t a single hivemind.
- Comment on How does this pic show that Elon Musk doesnt know SQL? 1 month ago:
Yeah, I work daily with a database with a very important non-ID field that is denormalized throughout most of the database. It’s not a common design pattern, but it is done from time to time.
- Comment on How does this pic show that Elon Musk doesnt know SQL? 1 month ago:
It’s necessary to split it out into different tables if you have a one-to-many relationships. Let’s say you have a list of driver licenses the person has had over the years, for example. Then you’d need the second table. So something like this:
SSN_TABLE
ID | SSN | Other info
Driver_License_Table
ID | SSN_ID | Issue_Date | Expiry_Date | Other_Info
Then you could do something like pull up a person’s latest driver’s license, or list all the ones they had, or pull up the SSN associated with that person.
- Comment on How does this pic show that Elon Musk doesnt know SQL? 1 month ago:
Theoretically, yeah, that’s one solution. The more reasonable thing to do would be to use the foreign key though. So, for example:
SSN Table ID | SSN | Other info
Other Table ID | SSN ID | Other info
When you want to connect them to have both sets of info, it’d be the following:
SELECT * FROM SSN_Table JOIN Other_Table ON SSN_Table.ID = Other_Table.SSN_ID
- Comment on aww man here we goo... 1 month ago:
- Comment on [deleted] 1 month ago:
There is a legitimate argument to be made with reasonable people on both sides as to exactly how old is old enough to confidently say that there’s not a power imbalance due to age alone. Whether that’s 18, 21, 24 or some other number inbetween is an open question.
30+? If they wanna date somebody more than double their age, that’s completely their business.
- Comment on Flohmarkt - a Fediverse replacement for Facebook Marketplace 1 month ago:
Non-German but I am in the EU. Didn’t find it odd at all. Just assumed it was “flow market” in German.
- Comment on Trying to earn a record for "youngest person to <insert a thing>" is just an IRL speedrun 5 months ago:
Playing on the highest difficulty level
- Comment on The Most Loved Digital Audio Streaming Platforms. 5 months ago:
Another Deezer user in the wild! Been a subscriber to it for years now.
- Comment on Multiplayer shooters should get "pure" healers that can't shoot 5 months ago:
Need a dispenser here!
- Comment on Norway is mulling building a fence on its border with Russia, following Finland's example 5 months ago:
"A border fence is very interesting, not only because it can act as a deterrent but also because it contains sensors and technology that allow you to detect if people are moving close to the border,” Justice Minister Emilie Enger Mehl said
A fence won’t stop anyone, but it can detect people, which sounds like the point.