A few <p>tags</p> in a larger text are ugly but not too bad. Most HTML e-mails are 200 lines of tag soup without any content, then 100 lines of content wrapped in several layers of tags and finally 50 more lines of tag soup without any content.
This requires `setopt HIST_IGNORE_SPACE` (zsh) or `HISTCONTROL=ignorespace`/`HISTCONTROL=ignoreboth` (bash/ksh) to be set and may not be enabled by default in many distros (e.g. NixOS doesn't, Alpine doesn’t, etc).
Always check your shell before assuming this will work!
That's not really a huge improvement over just making a sparse array though, is it? Looks more confusing to me. Could be wrong but I'm pretty sure e.g. Array(1000000000) does not actually allocate much.
When you do not rely on ACID for data consistency, you need to architect for eventual consistency. For example CRDT on collaborative editing a text document.
Of course not. But why would I need "every saved state of every file"? The number of times that would have saved me would be zero, because I never ended up in a case where that would have saved me. Things I need saved are saved as stashes/things put in git, and the rest are things I don't need saved.
What scenarios are there where things like this would have saved me somehow?
I think they are solving for management, for example by locking down the dev environment. Not saying it’s impossible in desktop IDEs, but maybe harder?
Yes, using a hook is optimal. But when reading repos without a style guide or formater, “pretty diffing” makes it easier to review.
Another use case is when you encounter that giga god-commit “added formater” which touched all lines in all files.
If you take this even further, you can tailor to anyones style taste, formatting on check out instead of check in. That leaves the stored code as a serialization format the compiler understands. Viewed code is in whatever format the programmer likes.
> If another company wants to provide NFC capability for credit cards, they can and the actual credit cards already do.
The other companies wants to provide NFC capabilities for their mobile bank/direct payment app. Like Norwegian “Vipps”, direct instant payments between any Norwegian bank.
And within the EU (EEA incl) these systems are interoperable, I can use my German bank's debit card in France, Italy, and ironically also in Switzerland. Even via NFC...
…which is nice, when the master is not tagged and you’re trying to find out “does this release include the bug fix in pr #123” (without cloning and/or jumping between tags/branches).
Which is extremely easy: you click on the actual patch that has been merged and look under the commit message where all the tags containing this particular commit are shown.
Thank you. Tried on the commit in PR, did not show up, but the merge commit did.
I guess it's dependent on merge strategy, where squash merge will not include the initial commit hash. Or maybe "pr commit view" excludes the same info.
Hard to enforce? <p>this</p> is text too.