To be fair, that’s usually the fastest option to fix other people’s code even if it wasn’t vibe coded. Sometimes that’s the best way to fix your own code too.
- 0 Posts
- 49 Comments
lunarul@lemmy.worldto
Programmer Humor@programming.dev•Yeah third party thinker just use your brain duh
2·6 months agoYeah, it’s not called goto, but it’s functionally the same.
lunarul@lemmy.worldto
Programmer Humor@programming.dev•Yeah third party thinker just use your brain duh
6·6 months agoUnless you’re programming in assembly
lunarul@lemmy.worldto
Mildly Infuriating@lemmy.world•"Unsubscribe" says my internet's not workingEnglish
2·7 months agoOr already unsubscribed (maybe clicked twice and UI did not prevent that?)
I like how this takes familiarity with the original xkcd comic as a given.
lunarul@lemmy.worldto
Mildly Infuriating@lemmy.world•Charging to tour rental properties...English
12·7 months agoAbsolutely. A site charging to read messages will most definitely censor out emails and phone numbers and will have it in their ToS that you’re not allowed to take conversations outside the platform.
If you’re not very familiar with JS, watch the Wat talk before taking the quiz to know what to expect from this wonderful language.
lunarul@lemmy.worldto
Programmer Humor@programming.dev•Which of these javascript expressions is false?
6·10 months agoBut B is true
lunarul@lemmy.worldto
Programmer Humor@programming.dev•This will be *really* funny, until you remember 99% of current super hyped AI stuff is running on Python
7·10 months agoBut quickly banging out a concept, to me, is the big win for python.
For me the best language for quickly banging out a concept has always been the one I’m most familiar with at the moment.
That’s up to each individual developer’s own setup. But hooks are a way to ensure uniformity since they apply to all commits.
If there’s a linter with such opinionated rules there should also be a pre-commit hook that auto-formats accordingly.
It make sense for a wrapper layer to do this and I had to fight against APIs that didn’t. If I make a single HTTP call that wraps multiple independent API calls into one, then the overall HTTP code should reflect status of the wrapper service, and the individual responses should each have their own code as returned by the underlying services.
For example on one app we needed to get user names by user id for a bunch of users. To optimize this, we batched calls into groups. The API would fail with an error code if one of the user ids in the batch was bad or couldn’t be found. That meant we wouldn’t be getting data for any of the users in the batch and we didn’t know which userId was bad either. Such a call should return 200 for the overall call and individual result for each id, some of which could be errors.
lunarul@lemmy.worldto
Technology@lemmy.ml•Mastercard, Visa failed to stop payments on OnlyFans for child sex-abuse content, says whistleblower
5·1 year agoThey have rules against using their services for that kind of stuff. Once they’re made aware of the rules being broken (which they were), they should enforce the rules by stopping service. The same as if you report CSAM on a website to the hosting service and they take down the site. The hosting service is not the one accountable, but it would get in trouble if it comes out they knew about it and didn’t do anything.
Yes, that was my first thought. Then I saw him turn around and do it a second time.
lunarul@lemmy.worldto
Programming@programming.dev•Pointers for writing software tutorials
81·1 year agoIf it’s a beginner trying to learn those commands, definitely the latter.
If it’s a beginner trying to set up their environment for the actual thing they’re trying to learn, then a fire and forget single command is more user-friendly.
lunarul@lemmy.worldto
Mildly Infuriating@lemmy.world•Amazon: The same 31 products you don't want, again and again and again and again and again and again and again and again and againEnglish
2·1 year agoFor computer stuff I just use newegg. The filters are great in most categories and once you find something you can search for that specific product on Amazon to compare prices.
lunarul@lemmy.worldto
Mildly Infuriating@lemmy.world•Houses in my area increases 82% in just 4 yearsEnglish
3·1 year agoAt least triple the price in my area. 4x if the schools are good.
I’ll never understand consuming this type of information in video format.
I use multilingual keyboard layouts, so I know that at least on Windows, the selected layout is specific to each window. If I chat with someone in one language, then switch to my IDE, it will not keep the layout I used in the chat window.
But I also have accidently hit the combination to change layouts while doing something, so it can happen. I’m just surprised that Cyrillic с is on the same key as C, instead of S.

It’s us: 5xx
It’s you: 4xx