HN user

gimboland

388 karma
Posts0
Comments132
View on HN
No posts found.
Just use HTML 1 year ago

Genuinely curious (as someone who didn't know about the implicit ID mapping until today): given that IDs are global, why is doing this any worse (or in any way different) to using getElementById? I.e. why is it bad advice?

Yeah, I do this; 2020 M1 13" MBP; 4K external monitor and iPad Pro on Sidecar, plus I keep the laptop open so I have three screens. I find Sidecar a bit flaky (it disconnects or freezes a bit too often to be breezily accepted), but with a big iPad (mine is basically A4 paper sized) and SwitchResX in play, it's not bad at all.

Edit: ... and having said all that, I'm looking forward to upgrading some time in the next year and going back to two "proper" external monitors. I'll still love using the Sidecar'ed iPad Pro as a second screen when working in cafes, though...

Anybody who thinks cryptocurrency is in the class of assets which are "supposed to be able to sit there growing in value" really hasn't been paying attention.

I have not, and would be interested to see a link to that (the posting(s) in question, not the whole blog), particularly if it addresses the many accusations of sexual harassment, as my understanding was that this had not happened. Prompted by your comment, I had a look on his site, but nothing seemed to be fit the bill, either in the "Political Articles" section or the "Non-political Articles" section — but maybe I'm looking in the wrong places? Please, enlighten me.

The podcast "Containers" also covers how shipping containers have shaped the mordern world — well worth a listen, though I don't recall it mentioning this aspect of their logistics.

Haskell is what happens when you take the idea of pure functions (i.e. no side effects) _really_ seriously, and try to create a programming language that works in that world (modulo mechanisms for doing the side effects you _need_ such as I/O).

It turns out that when you do that, all sorts of stuff that simply doesn't fly in other languages "just works", particularly around representing things using structures otherwise rarely seen outside of mathematical logic and category theory. This is all very powerful and elegant, but it means the landscape is unfamiliar, confusing, and intimidating to programmers who don't have that background or the inclination to learn about it.

Hence all the monad tutorials — not because monads are particularly special, but because beginners encounter them quickly due to IO, so they need some sort of explanation (it's like how if you teach a beginning programmer Java, there's loads of ceremony to explain around classes and public and so on just to do "hello world")... whereas you can get away with using haskell for longer without learning about, say, functors and monoids — though it somewhat misses the point of the language if you do so.

but how did the author learned to love, and more importantly to "fear" the RH? What's there to fear?

It's made abundantly clear: they learned to love it through the course they were fortunate enough to take as an undergraduate, and they learned to fear it later, as a researcher, when they realised that what there was to fear was wasting their career attacking something that was probably just too big and too hard to be sensible for them to attack.

I agree that some curation effort makes a huge difference.

I have a "Queue" playlist into which I copy my "Discover Weekly" every now and then; then I listen to that Queue playlist, which lets me delete the tracks I don't want, and keep the ones I do (you can't modify your Discover Weekly). Then, every time I refresh the Queue playlist from Discover Weekly, I first move the current Queue contents into a YYYY-MM playlist (e.g. 2020-12 for this month).

I've been doing this for several years and it's been great — I've got a timestamped record of what I was enjoying/discovering during those months, and it does seem to have helped Spotify to keep recommending me things I really do enjoy. (Weirdly some weeks seem _really bad_, like I delete virtually everything — but I guess there's some A/Bing going on there.)

(Also: I'll only like/heart tracks I _particularly_ like, and sometimes I'll just listen to my "Liked Songs" playlist; I think this helps teach Spotify what I really like.)

Not so much that (I think Q has thus far been mainly a US phenomenon, though it _is_ making inroads here apparently), but mainly I'm seeing stuff around covid being a hoax and/or a control ploy, forced vaccinations, tracking chip injections, Agenda 21, Bill Gates, etc. — all that stuff. It sort of makes sense in a group of people tending to favour "natural" stuff (some of whom were also antivax tbh) but it's been surprising how far it's gone, and how fast, with some of them.