1,327 karma · joined November 18, 2011
http://wicky.nillia.ms/
contact: @WickyNilliams or wicky @ my domain
---
meet.hn/city/gb-Cardiff
Socials: - github.com/WickyNilliams - x.com/WickyNilliams
---
In any case the main thrust was just to avoid embeddings assumptions about branch names in your scripts :)
# remove merged branches (local and remote)
cleanup = "!git branch -vv | grep ': gone]' | awk '{print $1}' | fzf --multi --sync --bind start:select-all | xargs git branch -D; git remote prune origin;"
https://github.com/WickyNilliams/dotfiles/blob/c4154dd9b6980...I've got a few aliases that integrate with fzf like an interactive cherry pick (choose branch, choose 1 or more commits), or a branch selector with a preview panel showing commits to the side. Super useful
The article also mentions that master has changed to main mostly, but some places use develop and other names as their primary branch. For that reason I always use a git config variable to reference such branches. In my global git config it's main. Then I override where necessary in any repo's local config eg here's an update command that updates primary and rebases the current branch on top:
# switch to primary branch, pull, switch back, rebase
update = !"git switch ${1:-$(git config user.primaryBranch)}; git pull; git switch -; git rebase -;"
https://github.com/WickyNilliams/dotfiles/blob/c4154dd9b6980...You originally implied the Weimar Republic itself used fascistic tactics. But your examples show nothing of the sort (and are obviously just an LLM dump, which disinclines me to continue this conversation)
Beyond that, much of the establishment and industry tried to work with him using a softly, softly approach. They thought they could steer him, temper him, leverage his popularity for their own ends. Of course, that didn't work out for them
Sorry but you are suffering from some kind of delusion here. He's not manipulating public perception in any way that is beneficial to him or the US. He's crashing his own public perception (which was already in the gutter to all but the sycophants and blind loyalists) and taking the US' reputation with him
The centrists ultimately lost when the Nazis banned other political parties. If they were not murdered first. And the Nazis took control of the German workforce, imposed harsh taxation on businesses, central planning, nationalization etc.
I'm sure the uneasy alliance worked well for a a little while though!
Of course these all turned out to be grave miscalculations. I imagine that pattern will eventually play out this time too...
For the same reason a fully automatic weapon is substantively different from a bolt action rifle, despite both being guns.
It's also a fundamentally different scenario. Photoshoot-style touchups - likely at the request of the subject himself - for pure vanity, versus doctored images of an unwilling citizen (who presumably hasn't been convicted yet and is therefore considered innocent) as propaganda
Making this some left-right polemic has made me not want to continue this conversation further
But to address the point. There may be base instincts to which we are all subject. But that doesn't mean we should embrace them or proudly wear them as a badge. Violence is entirely natural. And yet most will agree it should not be embraced. Someone proudly declaring themselves as violent will (and should!) be judged harshly. I say the same holds true for racism, whether it is "natural" or not.
Much (all?) of civilisational progress is characterised by moving away from the natural state to a higher strata. The civil part of civilization is entirely unnatural
Now, the UK has plenty of problems, I do not deny that. But the situation is nothing like it is presented online.
My thinking is that this is meant to make people in the US feel that the rising authoritarianism isn't so bad in relative terms "well the UK is far worse!".
Also perhaps it is not meant to convince Scottish people of anything, but maybe to make English people hostile to Scotland and its people etc
Keep at it!
But I agree they tend to be better suited as "leafier" components
When you need to re-render your component, how does the component know not to replace the child content you rendered, Vs the child content it rendered into the light DOM. That's why the shadow DOM and slots were necessary, because then there's no intermingling of your content Vs the component's
This may not be a problem if you don't intend to compose your components. But if you do you will hit limits quickly
This is a unique advantage to WCs. And it's such a compelling advantage that it makes almost all the downsides tolerable. At least if you are in a position where your component might be used in many places. Design Systems are a good example. The consumer can be any app, built on any technology.
And there are plenty of downsides. But they are mostly felt by the author, not the consumer. Similar to how TS libs can be very complex to author because of type level gymnastics, but when done right are easy to consume.
(I do not push them heavily, but I can appreciate strengths and weaknesses of all tools)