Baguette
@Baguette@lemmy.blahaj.zone
Might have the big dumb
I hope you have a good day
- Comment on Apple Banned an App That Simply Archived Videos of ICE Abuses 6 days 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 week 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 week 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 2 weeks 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 2 weeks 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 2 weeks 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. 4 weeks 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 5 weeks 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... 5 weeks 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 🦟 5 weeks 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 1 month ago:
- Comment on It is. Just accept it 1 month ago:
Its so joever
- Comment on Just one…more..update 1 month 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. 1 month 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 1 month ago:
Considering october is the planned end of life for w10 I wouldn’t be surprised
- Comment on Please do not the trilogy 1 month ago:
- Comment on PSA: WASH YOUR HANDS 1 month 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 2 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 2 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 2 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 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
- Comment on We're Not Innovating, We’re Just Forgetting Slower 2 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 2 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 2 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 2 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 2 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
- Comment on YSK that apart from not having a car, the single greatest thing you can do for the climate is simply eating less red meat 3 months ago:
Yea in fairness to (genuinely) free range, it’s probably best if chickens are raised in just not cages but still within an area a farmer can manage. I was thinking of free range as moreso outdoors, with a minimum area per livestock.
For meat chickens, yes they probably have the lowest quality of life. The ones that aren’t stuffed in cages are usually not meat chickens though, but a different breed. I’d say they have a decent life because they’re not being stuffed full of steroids and are given space to roam.
I’m not sure on bird flu. From what I’ve read, the conditions of meat chickens living in cages is the reason why bird flu spread so much. The chickens are so cramped, and so unsanitary that they essentially need to be pumped with antibiotics, which caused bird flu to develop a resistant strain. If companies weren’t so hellbent at maximizing value, providing just an increase in living space would have hindered the spread of bird flu.
My perspective is that it’s more ethical to be able to provide a good quality of life for the animals you raise. One cow with a low quality of life imo is less ethical than a bunch of chickens with a decent quality of life, even if we consider numbers. If you can provide that to a cow, then yea it’s probably more ethical than a bunch of chickens. It’s just a lot easier to have a chicken live a good life than it is for a cow.
This is all my perspective though
- Comment on YSK that apart from not having a car, the single greatest thing you can do for the climate is simply eating less red meat 3 months ago:
That doesn’t add up at all because cattle ranches are notoriously known for pretty low quality of life environments if they arent pasture raised or free range
Then again that basically goes for all farm animals that aren’t considered free range, but it’s a lot easier to have free range chickens than it is to have cows doing the same.
- Comment on Republican Pride 3 months ago:
Patriotism is acknowledging the flaws of your country and showing love for your country by trying to improve things
Nationalism is about blind loyalty to your country and thinking your country can’t do no wrong
- Comment on Mullvad's ads are good 3 months ago:
You can allowlist certain channels and allow certain types of sponsors (self-promo for example) from what I remember
Not saying you have to get sponsorblock tho