If someone wanted to play with running some JavaScript code inside a JVM application, is there an obvious right JS implementation to choose? Nashorn is deprecated (I think). I see Rhino and Javet and maybe others. #lazyweb
For the first time in...a few decades at least. Maybe ever. Emacs is regularly and unceremoniously segfaulting on me. Pretty clearly something to do with tree sitter, which is a bit frustrating. (#Emacs 29.3 on MacOS from brew)
Today in What The Actual Fantasy, JavaScript edition, I'm reminded that the JavaScript constructor "new Date(2024, 4, 10)" returns May 10, 2024 because the month (and only the month!) is zero indexed.
What's the state of the art these days (clean HTML, clean CSS, minimal JS) for tabbed views? I don't mean for whole page navigation, I mean for things like alternative code listings: here's an example in Java, C#, and JavaScript, pick the โtabโ you want to expose the source code in your language of choice.
Because product reviews are about the least reliable things to search for: I'm looking for an external USB CD/DVD reader. Fast, robust, reliable. Maybe Blu-ray backup software has come along far enough I should consider it? But it's not a requirement. Neither is writing. Suggestions most welcome.
In a sense, I suppose any spam message that catches my attention, however briefly, has been more successful than all the other spam messages, but "I'm applying for the post of barista, please download this attachment with my resume" seems so unlikely to succeed. The post of barista? Really?
@msokolov Delete is usually the right answer, but sometimes I feel like I have to check. PDFs absolutely work, but only mostly in my experience. There's, uh, wonderful variety in PDFs. One of my bank statements, for example, lays the transaction list text down in column-major order. (I think that works fine in Emacs, but getting the transactions out for Ledger is a PITA.)
@ndw I was gobsmacked when I discovered emacs would even try to render PDFs they are so uncanny. I will have to try this HTML feature though I'm doubtful it will handle all the things?
Is it just me, or is it really disappointing that an ordinary HTTP GET on a #Mastodon post returns a ball of goo that says "you need JavaScript" instead of nice, clean markup with some links for progressive enhancement?
The insult to my injury or the salt in my wound or...something, is that if you make the request with an Accept: header that demands application/json, you get back a structure with (reasonable(ish)) HTML encoded in a string. Because [incohate screaming]
I don't know who needs to hear this, but if your text message to me begins "(!) This is our SEVENTH attempt to contact you...", you should be aware that what this means is, I've failed to reply "stop" the previous six times. Also, the histrionics are persuasive, they persuade me that I don't wish to have anything to do with you.
@mathling If "some random super PAC I've never heard of that doesn't adequately identify itself or provide any means by which I could contact them" counts as "a sign", then yes, I suppose you're correct.
Treating myself to a coffee on the way back from the train station. The baristas and the other patrons chatting about how they were all unwell over the holidays and I'm the only one in a mask. #bw#hipstamatic#norman-walsh #Photography