[-] Baguette 1 points 6 hours ago

For me, minecraft kinda shaped my childhood in a sense. I played so much of beta 1.5, and watched so many minecraft YouTubers back then. My favorites introduced me to monstercat, an edm music label which pretty much formed my music taste, and also introduced me to pc gaming (i downloaded steam because my favorite minecraft youtuber also played skyrim)

So yea minecraft is still my no 1 game. Especially considering I still occasionally have a month long session with a modpack.

[-] Baguette 2 points 23 hours ago

The issue with my org is the push to be ci/cd means 90% line and branch coverage, which ends up being you spend just as much time writing tests as actually developing the feature, which already is on an accelerated schedule because my org has made promises that end up becoming ridiculous deadlines, like a 2 month project becoming a 1 month deadline

Mocking is easy, almost everything in my team's codebase is designed to be mockable. The only stuff I can think of that isn't mocked are usually just clocks, which you could mock but I actually like using fixed clocks for unit testing most of the time. But mocking is also tedious. Lots of mocks end up being:

  1. Change the test constant expected. Which usually ends up being almost the same input just with one changed field.
  2. Change the response answer from the mock
  3. Given the response, expect the result to be x or some exception y

Chances are, if you wrote it you should already know what branches are there. It's just translating that to actual unit tests that's a pain. Branching logic should be easy to read as well. If I read a nested if statement chances are there's something that can be redesigned better.

I also think that 90% of actual testing should be done through integ tests. Unit tests to me helps to validate what you expect to happen, but expectations don't necessarily equate to real dependencies and inputs. But that's a preference, mostly because our design philosophy revolves around dependency injection.

[-] Baguette 3 points 1 day ago* (last edited 1 day ago)

To preface I don't actually use ai for anything at my job, which might be a bad metric but my workflow is 10x slower if i even try using ai

That said, I want AI to be able to do unit tests in the sense that I can write some starting ones, then it be able to infer what branches aren't covered and help me fill the rest.

Obviously it's not smart enough, and honestly I highly doubt it will ever be because that's the nature of llm, but my peeve with unit test is that testing branches usually entail just copying the exact same test but changing one field to be an invalid value, or a dependency to throw. It's not hard, just tedious. Branching coverage is already enforced, so you should know when you forgot to test a case.

Edit: my vision would be an interactive version rather than my company's current, where it just generates whatever it wants instantly. I'd want something to prompt me saying this branch is not covered, and then tell me how it will try to cover it. It eliminates the tedious work but still lets the dev know what they're doing.

I also think you should treat ai code as a pull request and actually review what it writes. My coworkers that do use it don't really proofread, so it ends up having some bad practices and code smells.

[-] Baguette 13 points 1 day ago

I'd be inclined to try using it if it was smart enough to write my unit tests properly, but it's great at double inserting the same mock and have 0 working unit tests.

I might try using it to generate some javadoc though.. then when my org inevitably starts polling how much ai I use I won't be in the gutter lol

[-] Baguette 8 points 1 day ago

Minecraft lol

I studied cs because of it, hell I even wrote about minecraft in one of my admission essays. Something bionicles to minecraft to stem pipeline as I would call it

I also really like PGR. It's a gacha game but I met a really nice community from it

If we're talking about great story driven games, signalis and nier are always my top favorites.

[-] Baguette 5 points 6 days ago

Closing the roastery literally makes no sense

There's already not that many tourist attractions in Seattle itself, the roastery is probably one of the few, and because of that it gets free foot traffic

[-] Baguette 48 points 1 week ago

Move closer to work -> rent goes up by hundreds of dollars bc closer to city

Find work closer to current place -> pay goes down like 30% or your job field doesn't even have openings there

Tbh there's not much winning right now

[-] Baguette 48 points 3 weeks ago

Stop right there, you need to verify your age to look at this tree!

[-] Baguette 46 points 2 months ago

Oh hey I used to live near Sawtelle. Honestly the city department there is fucking terrible.

I parked there once using street parking when I was first looking for apartments and I got ticketed for being in a no parking zone when there wasn't a sign or a red line saying no parking.

Went to the city's office and despite photo evidence we still got denied an appeal.

[-] Baguette 72 points 2 months ago* (last edited 2 months ago)

Did no one else read the story? I read it and it sounds moreso the clinic's fault

The necklace he was wearing was a steel weighted exercise band, not a normal necklace. He's not flexing his wealth or anything

His wife told News 12 Long Island in a recorded interview that she was undergoing an MRI on her knee when she asked the technician to get her husband to help her get off the table. She said she called out to him.

Seems like the technician was told by the wife to bring her husband in to help her up. The technician/clinic made a mistake by letting in the husband, who didn't seem properly warned about MRIs no metal policy. The technician also somehow didn't catch the giant "necklace" he'd be wearing.

The "he wasn't supposed to be there" seems like a coverup for their mistake, since how else would he have known to go in? Someone must've told him to walk into the room, it's not like he could hear through the door.

Edit: 100% the technicians fault, the technician saw it. It even had a metal padlock.

They’d even discussed his training and the hard-to-miss chain with the MRI technician during their previous appointments, Jones-McAllister said.
“That was not the first time that guy has seen that chain” on her husband, she said. “They had a conversation about it before.”

https://www.msn.com/en-us/health/medical/long-island-man-killed-in-freak-mri-accident-was-wearing-20-pound-chain-necklace-with-padlock/ar-AA1IXop6

[-] Baguette 35 points 2 months ago

Airlines and enshittification, what's new.

Happening right now with Southwest as well. In their infinite knowledge sw decided to remove what defined them: two free checked bags and cheap flights

Now there's a worse option called basic which has a shittier cancellation policy, no checked bags, and is more expensive than the previous budget tier

[-] Baguette 30 points 3 months ago* (last edited 3 months ago)

Oh hey I ran into that issue, fixed it by blocking the element on ublock and spoofing my user agent

Edit: I put more details under nameisnotimportant's comment, I was about to head to bed so I didn't really provide details LOL

view more: next ›

Baguette

joined 2 years ago