Baguette
@Baguette@lemmy.blahaj.zone
Might have the big dumb
I hope you have a good day
- Comment on Change my mind 2 days ago:
Just saw this fitting post
- Comment on After Today's meeting where Trump fell in love with Mamdani, this is MAGA tomorrow morning. 6 days ago:
- Comment on Learning to drive 2 weeks ago:
Goat
Thanks
- Comment on Learning to drive 2 weeks ago:
Does anyone have the original of the dad doge
Gonna need it so I can use it as a reaction lol
- Comment on Apple Banned an App That Simply Archived Videos of ICE Abuses 1 month ago:
Unironically 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
- Comment on Google Confirms Non-ADB APK Installs Will Require Developer Registration 1 month ago:
I 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
- Comment on Google Confirms Non-ADB APK Installs Will Require Developer Registration 1 month ago:
I 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.
- Comment on AI Coding Is Massively Overhyped, Report Finds 1 month 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:
- 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.
- Comment on AI Coding Is Massively Overhyped, Report Finds 1 month 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.
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.
- Comment on AI Coding Is Massively Overhyped, Report Finds 1 month 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
- Comment on Some good Halloween costume ideas. 2 months ago:
Must have gone extinct in Korea then, considering all the Chaebols alive and well
- Comment on Hollow Knight: Silksong Sparks Debate About Difficulty and Boss Runbacks 2 months ago:
I 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.
- Comment on Scientific unprogress... 2 months ago:
I feel bad for field researchers that have to do studies on critically endangered species
Imagine trying for days to find a specimen and then end up having to reclassify it as extinct
- Comment on I'm saving it for a little QT 🦟 2 months ago:
I visited my friend for two days in VA the past week and got murdered by mosquitoes
These east coast mosquitoes have hands and I was not prepared
- Comment on It is. Just accept it 2 months ago:
- Comment on It is. Just accept it 2 months ago:
Its so joever
- Comment on Just one…more..update 2 months ago:
The solo aspect is honestly really impressive. I’ve done my fair share of game dev and tried all sorts of roles. I am definitely not a jack of all trades though. I cannot for the life of me understand music. Last time I tried music, I made a 10s long audio that sounded mediocre and doesn’t even loop properly.
- Comment on Goodbye, $165,000 Tech Jobs. Student Coders Seek Work at Chipotle. 3 months ago:
Big 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.
- Comment on 7 years later, Valve's Proton has been an incredible game-changer for Linux 3 months ago:
Considering october is the planned end of life for w10 I wouldn’t be surprised
- Comment on Please do not the trilogy 3 months ago:
- Comment on PSA: WASH YOUR HANDS 3 months ago:
That sounds like a risk I am not willing to take
- Comment on I bought a £16 smartwatch just because it used USB-C 3 months ago:
I had a garmin vivomove hr. The idea behind it was pretty neat, but it was too annoying to keep charged.
- Comment on I bought a £16 smartwatch just because it used USB-C 3 months ago:
Yea 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
- Comment on I bought a £16 smartwatch just because it used USB-C 3 months ago:
On 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.
- Comment on Delta moves toward eliminating set prices in favor of AI that determines how much you personally will pay for a ticket 4 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
- Comment on We're Not Innovating, We’re Just Forgetting Slower 4 months ago:
This article is so weirdly written
One of his points is that a vhs player is easily fixable while a wifi router isn’t. These things aren’t even remotely the same. They don’t serve the same function, they don’t have the same complexity. Comparing their repairability makes no sense because they serve different functions. Just because I know how to repair a keyboard doesn’t mean I know how to fix a tv.
Most of his complaints are on the capitalization of modern technology, which is not a problem of innovation and knowledge, it’s an economics and political problem.
- Comment on UwU brat mathematician behavior 4 months ago:
The inner machinations of an electrical engineer is too complicated for me to understand, I think they might be thinking on a higher order to understand these circuits
Thats why I barely passed my electrical engineering class lol
- Comment on Krafton Issue Statement Regarding Subnautica 2 4 months ago:
Gaming nowadays is always about being patient, whether its a pre order or controversy.
This also applies to the internet in general tbh
- Comment on Pop it in your calendars 4 months ago:
Original subnautica is amazing. I’ve played it twice which is a really high bar for me cause I rarely replay story driven games
Below zero isn’t bad either, I enjoyed it but it doesn’t come close to my first playthrough of subnautica
- Comment on Pop it in your calendars 4 months ago:
I will wait and see how its release goes, not that I ever pre ordered a game anyways
I don’t have high hopes but I’m going to save my opinions for when it’s released