One of my teammates used AI (our company heavily encourages it) to write code. It did what it was supposed to and the tests passed, but it was the most ugly and unmaintainable shit ever. For one example, I don’t want to have to untangle a for i = 0; i++; i <= len(foo) {}
that has multiple ifs inside that separately increment and decrement the loop counter i
when trying to troubleshoot an issue.
tiredofsametab
Reddit -> Beehaw until I decided I didn’t like older versions of Lemmy (though it seems most things I didn’t like are better now) -> kbin.social (died) -> kbin.run (died) -> fedia.
Japan-based backend software dev and small-scale farmer.
- 0 Posts
- 357 Comments
tiredofsametab@fedia.ioto Nintendo@lemmy.world•Nintendo bans Switch 2 owner after they played used Switch 1 games — decision eventually reversed after proving ‘innocence’6·1 day agoConstantly sold out here in Japan. Even the discounted Japan-only version that was meant to stop foreign purchase and resale with more restrictions such as Japanese-language-only
A friend told me about rust around 8 years ago and this was very much my first experience (at least with &str and lifetimes and borrow errors).
tiredofsametab@fedia.ioto politics @lemmy.world•RNC Sues Arizona To Block Voting Access for Overseas U.S. Citizens71·8 days agoYou have to file federal taxes. Maybe state taxes. You don’t necessarily have to pay depending upon how much (in USD) you make. Things also depend upon per-country tax treaties. The shitty part, at least for me, is that I can’t use the ISA and similar programs here in Japan for retirement because the US considers them all passive foreign investments (PFICs) which require copious paperwork and punitive taxes wiping out any tax-advantaged retirement savings. Also can’t just invest non-taxed income in many things in the US either.
Voting being at the state level also just fucks all kinds of other things up with taxes and the like.
tiredofsametab@fedia.ioto Ask Lemmy@lemmy.world•Seems like the perfect day to ask: Muricans, what's your dream country to expatriate to? Non-Muricans, what's the thought on accepting US refugees?4·8 days agoI moved to Japan back in 2015. If I had it to do over, I might do Finland or Norway.
tiredofsametab@fedia.ioto No Stupid Questions@lemmy.world•I am looking to broaden my youtube channels that I follow. What female channel are you following?5·10 days agoOctopus lady is great!
tiredofsametab@fedia.ioto Boycott US@lemmy.ca•Trump calls Japan 'very spoiled' as he floats idea of imposing 30% or 35% tariff4·11 days agoA lot of the old emergency stockpile rice gets sold off as animal feed as it ages out. I would imagine something similar happened for that.
tiredofsametab@fedia.ioto Technology@lemmy.world•Marginalized Americans are highly skeptical of artificial intelligence12·11 days agoWe have a lot of non-management whom are all-in and drinking the kool-ade. I’m still highly put off for a number of reasons, but an outlier.
tiredofsametab@fedia.ioto Programmer Humor@programming.dev•It's not a bug, it's a feature4·11 days agoEither way, I’m allergic, so that checks out.
tiredofsametab@fedia.ioto Ask Lemmy@lemmy.world•Is there anywhere in the world that you visited previously that you'd like to return to if time and costs permit? Why?4·11 days agoBasically the handful of countries in western Europe that I visited after graduating highschool in the late '90s. I haven’t been back since and would love to see it again as someone who’s not a very sheltered 17-year-old. The trip was also cut short because there was a huge storm off the US East coast or something that had us end up flying up to Canada, spending the night, and then flying over.
I used to have a PDA, even back in the late '90s I got as a hand-me-down. I used to play games on that and my first several phones. These days, though, if I’m using my phone it’s never for gaming. If I have free time, I’m using a flashcard app to study or watching previously-downloaded youtube vids for downtime. I guess the one exception was when I was doing the prep for a colonoscopy, I fired up ALTTPR on a SNES emulator on tablet to kill time. That’s the only time I can think of in the last probably 2 years I’ve played any games on anything mobile at all.
tiredofsametab@fedia.ioto No Stupid Questions@lemmy.world•Is WW3 more likely to accelerate or slow down anthropogenic climate change?5·11 days agoWell, if you have to build all kinds of stuff to win (or even survive) things like environmental regulations go out the window. You can expect factories, many not meant for it, to start running 24/7 and producing all kinds of pollution. People will need to get to those factories and it’s also all using more power. All of those things also need to be shipped around, both to temporary storage and to staging areas for wherever they’re destined.
During WWII in the US, a lot of old mines were also re-opened to get what was left of lead, copper, zinc, etc. and mining can have a huge environmental impact. I suspect we’d see that again along with rare earths mining and refining which is not great for the environment. I suspect we’d see more coal mining, facking, and other things as well to meet energy needs at home and abroad.
There will be tons of fires pumping carbon and I’m sure plenty of nasty materials into the atmosphere as well. Lead is going to end up all over the place in some areas and probably depleted uranium as well (you can see what that’s done over time in various parts of the Middle East).
Probably not. Iron is way more abundant and better for a number of usages as well as being easier to work. Bronze requires sources of multiple metals for the alloy, but may win out in some limited applications
tiredofsametab@fedia.ioto RPGMemes @ttrpg.network•My health potions are green and poisons are red5·12 days agoThe old TSR/SSI game Unlimited Adventures had randomized potion colors. It’s also how I learned that khaki is not pronounced ‘kahiki’ when trying to explain what was going on to someone (I knew khakis as a type of trouser not a color).
https://en.wikipedia.org/wiki/Forgotten_Realms%3A_Unlimited_Adventures
Edit: or maybe I’m thinking of another gold-box game if that one didn’t have some random generation. Hrm.
tiredofsametab@fedia.ioto Ask Lemmy@lemmy.world•What's a really popular game franchise you just can't get into?1·12 days agoPokemon. I was in highschool when it came out and had no time for it followed by being too poor and busy trying to survive directly after it. With no nostalgia for it, there seems to be no reason to try it. I gave pokemon go like 20 minutes and I was over it (though I did play dragonquest walk for around a year)
tiredofsametab@fedia.ioto Ask Lemmy@lemmy.world•Are you learning another language? How far along are you?3·13 days agoI started Korean a few days ago. I am still in the “learning how this all works” phase. I’m frustrated by my slow reading speed and inability to find something to help that readily.
tiredofsametab@fedia.ioto Android@lemdro.id•This tiny Gmail change will make it easier to manage your inbox on Android [Mark as Read option available from Android notifications directly]36·14 days ago… why on earth would anyone want emails in their notifications to begin with?
Well, it was an old way of pronouncing it: https://www.smithsonianmag.com/smart-news/people-have-been-saying-ax-instead-ask-1200-years-180949663/
tiredofsametab@fedia.ioto Ask Lemmy@lemmy.world•Where do you wish you were born, and why?2·14 days agoI’ve said that, if I had it to do over again, I might choose to move to Norway or Finland instead of Japan, but birth? I don’t know that’s possible to answer. Even if my family were the same people, they’d probably be culturally different having been born and raised somewhere. Even if we assume my parents were just plonked down there, I probably still wouldn’t be the same person due to my environment. Some of that almost certainly for better, but I wouldn’t be me.
That wouldn’t generally be needed here, though. At least in the cities where most people live, they are walking and using public transit just to live, eat, etc.