FYI there is a command to ignore specific files locally: git update-index --skip-worktree <file_name> from here. And you can later unignore it with --no-skip-worktree
- 0 Posts
- 54 Comments
LeapSecond@lemmy.zipto
Programming@programming.dev•Self-documenting code: if the comment is doing the explaining, the code isn't
3·1 month agoJust keep in mind that method names can also get stale and you have to be extra careful there because, when reading the parent method, you only see the method name without the code alongside it.
LeapSecond@lemmy.zipto
Programming@programming.dev•Anecdotally, programmers dislike "reduce"
17·2 months agoI like the concept of reduce and in many cases a different implementation is not necessarily more readable. But I hate how I have to look up the syntax every time, in every language I’ve written. I don’t know if that’s a me problem though.
LeapSecond@lemmy.zipto
Mildly Infuriating@lemmy.world•google's getting pissy about using their shit while logged outEnglish
112·3 months agoSo you’re part of the problem or… have no access to information. Do you realize how much more data Google has in some places? I contribute to osm every now and then but still use Google maps for navigation, it’s not even comparable.
Or, following your metaphor, we think cars are useful but don’t want everything to turn into American suburbs. Which seems to be what companies are currently pushing AI to.
LeapSecond@lemmy.zipto
Fediverse@lemmy.world•LLM-bot activity on question communities?English
1·4 months agoI doubt anyone would see the old posts after they’re edited. The second point makes sense I guess.
LeapSecond@lemmy.zipto
Fediverse@lemmy.world•LLM-bot activity on question communities?English
7·4 months agoYes, the ones you mentioned. At least these accounts and threads are not always deleted. It’s happened before on lemmy that multiple posts get made on the same topic by new accounts and then both the post and account get deleted. I remember similar around last year so it’s not new.
What I don’t get is why. This time some of the posts are actually interesting and generate discussions but the OP never interacts with any comments. What do they gain from this?
Next time you can try writing the steps down in plain English first, just to get a feel of the program’s flow. If you’re comfortable with that and it’s just the syntax you don’t remember, don’t worry, you can always look up commands. After some practice it’ll become much easier writing the commands from the beginning.
There will be a hidden workflow but it will require a 24h cooldown period. Even worse, it relies on google services and can be changed whenever Google wants to cut out sideloading completely.
And then you get the other extreme, those who turn on their indicators 3 streets before their actual turn. They will turn …at some point.
Watching someone constantly take their hand off the keyboard to use the mouse when there’s a trackpad right there is my hell.
LeapSecond@lemmy.zipto
Mildly Infuriating@lemmy.world•Beloved whale mural painted over for FIFA World Cup artworkEnglish
34·6 months agoAnd this is why graffiti is not bad. If companies get to alter public spaces with their ads to make money, then people should be able to alter public spaces for artistic reasons.
LeapSecond@lemmy.zipto
Technology@lemmy.world•The 4th Linux kernel flaw this month can lead to stolen SSH host keysEnglish
51·6 months agoBut careful not to update too fast and fall on the supply chain attack of the week.
The trouble is when you don’t remember them but also don’t have an alternative set up and are just expecting things to work.
Ideally you remember a minimum of 3-4 phone numbers that can help you in an emergency and give you access to the rest of the phone numbers.
You should put that on your CV, that’s honestly impressive
I love that lemmy is so techy, this is in c/memes of all places
LeapSecond@lemmy.zipto
Technology@lemmy.world•A web page that shows you everything the browser told it without askingEnglish
241·6 months agoYour finger moved 273 times. You tapped 14 times.
I’m sorry what?
Since they went into the effort to make this sound so ominous, it’d be cool to see some actual inferences from the data points. For example it would be pretty easy to tell you are behind a VPN and your real location is probably xyz.
I change every 3-4 years but that’s not the point. A 24-hour delay plays into the “sideloading” thing. You could theoretically “sideload” all your apps, it shouldn’t be a secondary thing. Waiting 24h doesn’t matter in normal cases. Now if your phone breaks and needs to be switched immediately it could be an issue.





Another unpopular opinion: this alignment style looks terrible and wastes space. If you want alignment just start the parameters in a new line.