Contravariant

joined 1 year ago
[–] [email protected] 0 points 2 months ago (1 children)

It's kind of neat you can launch a version of Visual Studio code by pressing '.' though.

Still not sure why, especially given that it's pretty much impossible to find out that you can even do that.

[–] [email protected] 1 points 2 months ago

Not sure about the self-driving, but he had a video challenging the idea that electrons in wires that carry electricity. Basically arguing that it was the electric fields themselves that carried the power, which is largely outside of the actual wires.

Not sure if that's the same one where he asked what would happen if you used a light switch connected to a lamp by two wires. Apart from some truly egregious mistaken units (1s/c as unit of time), I vaguely recall thinking it was basically a huge clusterfuck of misunderstandings about what an electrical circuit diagram even is (stuff like real vs idealized components, parasitic capacitance / inductance etc.)

They're the kind of 'Well actually' half true factoids that you never hope to encounter in the wild if you actually understand the stuff. For someone claiming to be enthusiastic about science communication he did one heck of a job poisoning concepts with subtly wrong/misleading explanations that make it a lot harder to explain stuff to anyone with the misfortune to encounter his version first.

[–] [email protected] 1 points 1 year ago

The third is more gravity than physics, or perhaps you should consider it the absence of gravity.

What I'm trying to say is: stop following geodesics.

[–] [email protected] 2 points 1 year ago

The extra syntax is just to add some features that aren't in CSS. Not quite sure where this came from, I think it's from the Adblock Plus era, but Gorhill perfected it for uBlock origin, which makes it a very powerful tool.

It's not limited to just hiding the elements either, if you want you can simply restyle them (I've used this to redact sports results until I hovered over them).

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

Fair. It's not too hard, but most lemmy UIs make it a bit harder than it needs to be because they want to be a fancy JavaScript-ridden mess of html tags.

On old.lemmy.world it is supremely easy, you just use the element picker tool of uBlock to select all posts, add the 'magic' command :contains(reddit) to filter out the word you don't want (in this case reddit), and you've got your filter. This would result in old.lemmy.world##.post:contains(reddit).

On lemmy.world it is trickier because it is the kind of HTML no sane person would write. Doing the above you end up with lemmy.world##div.mt-2.post-listing:contains(reddit) which is messy, and misses a line that is used to divide the posts. With some manual tuning you can first simplify the first part to ##.post-listing:contains(reddit) and then add :xpath(.|following::hr[1]) to get rid of the annoying line. This results in ##.post-listing:contains(reddit):xpath(.|following::hr[1]).

[–] [email protected] 3 points 1 year ago (4 children)

Word filtering is fairly easy to do if you know your way around uBlock filters.

[–] [email protected] -5 points 1 year ago (2 children)

You want the EU to go hard because you've given up on the rest of the world?

I mean I get where you're coming from but that's not even remotely resembling a solution.

view more: ‹ prev next ›