Rest is for the dead
Previously Baguette@lemm.ee
- 0 Posts
- 31 Comments
Baguette@lemmy.blahaj.zoneto
Technology@lemmy.world•Apple Banned an App That Simply Archived Videos of ICE AbusesEnglish
17·1 month agoUnironically yes, mostly cause most websites on mobile are the most horrid experience and an app for the average audience is just how phones are nowadays
Baguette@lemmy.blahaj.zoneto
Technology@lemmy.world•Google Confirms Non-ADB APK Installs Will Require Developer RegistrationEnglish
4·1 month agoI have hope. Last time they got hit with an anti monopoly lawsuit that should’ve forced them to sell away chrome, but unfortunately they got bailed out. Here’s hoping next time they aren’t so lucky
Baguette@lemmy.blahaj.zoneto
Technology@lemmy.world•Google Confirms Non-ADB APK Installs Will Require Developer RegistrationEnglish
116·1 month agoI hope google fails as a whole in the near future and gets dissolved once and for all. Sick and tired of tech companies trying to be sources of authority, working with authoritarian governments, and dictating what you can and can’t do.
Tokyo is not even close to being affordable? A 25m2 1bd is still roughly 1400 usd per month. You can get it down to 800 usd ish if you only want a small 15m2 studio. Those kinds don’t come with any kitchen and you only have a mini fridge. And that’s just the rent alone.
Then you get hit with the tokyo salary which depending on the sector you work in could be 20 to 60 percent of a pay cut. The median salary is about 40k usd in Tokyo.
Like sure there are benefits but Tokyo is not affordable, just look at the rise of adults in their 20s and 30s living with their parents in Japan, and even the rise of unemployed throughout asia (south korea and japan leading this metric)
Edit: i forgot exponent sign is considered formatting
Baguette@lemmy.blahaj.zoneto
Technology@lemmy.world•AI Coding Is Massively Overhyped, Report FindsEnglish
2·2 months agoThe 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:
- Change the test constant expected. Which usually ends up being almost the same input just with one changed field.
- Change the response answer from the mock
- 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@lemmy.blahaj.zoneto
Technology@lemmy.world•AI Coding Is Massively Overhyped, Report FindsEnglish
3·2 months agoTo 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@lemmy.blahaj.zoneto
Technology@lemmy.world•AI Coding Is Massively Overhyped, Report FindsEnglish
13·2 months agoI’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@lemmy.blahaj.zoneto
World News@lemmy.world•Trump shock spurs Japan to think about the unthinkable: nuclear armsEnglish
11·2 months agoThe only options for nuclear weapons are none at all, or everyone with one.
Unfortunately, we live in a world where they exist, and as such, you cannot trust enemies or even allies to have good conscience. If the only way to guarantee your country’s safety against a country with nuclear weapons is your own, then this headline was inevitable.
That’s a pretty based reason and way better than being a lord
Baguette@lemmy.blahaj.zoneto
Games@lemmy.world•Hollow Knight: Silksong Sparks Debate About Difficulty and Boss RunbacksEnglish
23·2 months agoI mean personally I don’t have any issues with an easy mode in games, casual play is nice when you come back home from work half dead. Silksong is advertised as a soulslike though. Feels a little counterintuitive to take away the aspects that define a soulslike, even if it makes the game accessible to a wider audience.
Baguette@lemmy.blahaj.zoneto
Technology@lemmy.world•Goodbye, $165,000 Tech Jobs. Student Coders Seek Work at Chipotle.English
2·3 months agoBig tech in HCOL areas (Seattle, all of Cali, etc.) pay new grads about 100k to 150k base, with a hefty sign on bonus (anywhere from 20k to 50k). RSUs usually only vest about 5 to 10% of their total stock in the first year, but thats about 5k to 10k
Of course HCOL means this money is relatively less than it seems, but still a lot for new grads.
Baguette@lemmy.blahaj.zoneto
Technology@lemmy.world•7 years later, Valve's Proton has been an incredible game-changer for LinuxEnglish
5·3 months agoConsidering october is the planned end of life for w10 I wouldn’t be surprised
Baguette@lemmy.blahaj.zoneto
DeGoogle Yourself@lemmy.ml•Tuta posted a #deGoogle ing guide.
1·3 months agoAnyone know why my keyboard keeps switching back to gboard? I have it disabled, but only gboard is supported on my razr 2nd display, so I’m guessing it keeps reverting because of that
Baguette@lemmy.blahaj.zoneto
Technology@lemmy.world•I bought a £16 smartwatch just because it used USB-CEnglish
1·3 months agoI had a garmin vivomove hr. The idea behind it was pretty neat, but it was too annoying to keep charged.
Baguette@lemmy.blahaj.zoneto
Technology@lemmy.world•I bought a £16 smartwatch just because it used USB-CEnglish
1·3 months agoYea they’re pretty much the only brand still.
I liked my garmin vivomove, it was pretty nice despite some clunkiness (the one I bought was early on)
I’d like to try one, but I feel like I might end up not using it often or just not liking it
Baguette@lemmy.blahaj.zoneto
Technology@lemmy.world•I bought a £16 smartwatch just because it used USB-CEnglish
10·3 months agoOn a side note I wish hybrid smartwatches were still a thing. Most of the product lines are discontinued, but I liked the idea of it.
Baguette@lemmy.blahaj.zoneto
Fuck Cars@lemmy.world•Even households earning $150,000 a year are struggling with credit card and car paymentsEnglish
4·4 months ago150k for a family is not that much in california, especially if its two people working for a combined 150k.
Baguette@lemmy.blahaj.zoneto
Fuck Cars@lemmy.world•This ad in Seattle is encouraging carbrains to ride transitEnglish
7·4 months agoI don’t have a pic but the lightrail in seattle also has advertisements from mullvad, which is kinda unexpected.

Depends on what the order is
If it’s something like this where it’s not adding complexity, then I’m fine with it. Makes for a fun story.
when I was working at a coffee chain, I would get terrible orders where it’d be like a fruit drink with twenty scoops of fruit, which is annoying because when that person came in they wanted me to remake it because they wanted it in a separate cup. That’s not fun.