If there’s a linter with such opinionated rules there should also be a pre-commit hook that auto-formats accordingly.
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.
It might actually be a case of hypercorrection here. Replacing female with woman even when female is the correct word.
That was a culture shock for me when I moved to the US. I knew that back in the day, in rural areas of my country, the markets only opened once a week. I was shocked to find that happen in urban/suburban areas in the US. Back home I could just go to the closest market any day. Morning news would have a report comparing prices in different markets across the city, so you could pick the one that has the best price for what you need that day.
If 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.
its worse than lemmy
I recently was looking for help troubleshooting an issue and ended up checking reddit and I was shocked at just how bad it got. There were AI generated comments that seemed to provide a solution, but the link went to some spam URL instead of the product they were supposedly talking about (and these were recent comments, not old dead links). The kind of stuff you used to see on unmoderated comment sections on WordPress sites that nobody maintained.
it IP blocks people and tracks IP’s linked to editing
Unless something changed, this part was at least partially true at one point. But only for anonymous edits iirc. Usually happened for IPs shared by a lot of people like from a campus or some VPNs, probably due to a lot of vandalism from such IPs.
Ah, I was thinking of Bulgarian and wondering how it could fit in this graph.
Where do you see Bulgaria in the circle?
TIL Germany is in Eastern Europe
incredibly… useless… compared to sperm generated in space
That’s what I don’t get. Transporting fresh sperm is not an issue that anyone cares about in space colonization. Sperm will get there in two ways: frozen or made on the spot.
That’s a parallel worlds story. There are many movies and shows about travel through parallel worlds. Sliders is the first that comes to mind.
Some people grew up eating that shit and it provides them with a sense of comfort and familiarity.
That’s exactly it. It’s confort food for a lot of Americans. I grew up in a different country, where home cooking was the norm and fast food was considered a huge waste of money. I of course tried it when I got my own money, but there was no reason for it to stick with me. So now fast food places don’t even register as an option for me if I ever find myself needing to eat from outside the house. But I’ve seen my friends in the US talk about fast food, their eyes gleaming talking about the Whatever Burger at Whatever Fast Food and the Whatever Taco at Another Fast Food and always get the Whatever Sauce at Yet Another Fast Food. The same way they talk about Twizzlers or Twinkies or other absolute junk that they would never touch if it didn’t bring them back to their childhood.
I’ll never understand consuming this type of information in video format.
There are definitely different prices when I’m logged in vs when I’m not. My wife sends me a links to products, and I usually open any link in incognito windows. Several times I was not seeing the same price as her. Opening the same link on my account would show the same price.
He did some great things for the space program too. Probably because it sounded cool.
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.
Oh, right, using the same function name in multiple structs is what threw me off
There’s probably a rule that requires variables to start with a letter or underscore. Emoji are nor marked as letters. Something like _👍
will probably work.
That’s up to each individual developer’s own setup. But hooks are a way to ensure uniformity since they apply to all commits.