Posts by bthalpin@mastodon.social
 (DIR) Post #APdkOclDGxH08yHUeW by bthalpin@mastodon.social
       2022-11-15T21:17:27Z
       
       0 likes, 1 repeats
       
       At sunset, how far east of overhead does a satellite need to be to be invisible?#+begin_src emacs-lisp :exports results(defun angle-inv (elev)  (let* ((earth-radius 6371.0))    (/ (* (acos (/ earth-radius    (+ earth-radius elev))) 180) pi)))(defun saywhere (elev)  (format "At %dkms, %1.1f degrees.\n" elev (angle-inv elev)))(mapcar 'saywhere '(408 550))#+end_src#+RESULTS:| At 408kms, 20.0 degrees. || At 550kms, 23.0 degrees. |
       
 (DIR) Post #ATsZWx6OjKtQN6xrQu by bthalpin@mastodon.social
       2023-03-22T10:35:07Z
       
       0 likes, 0 repeats
       
       I'm currently running four #Emacs sessions on four different machines (displaying on my laptop), for completely sensible reasons (laptop, desktop, server, spare laptop doing some slow web scraping), all based on the same .emacs file. Top tip: different mode-line colour for each host, otherwise you get VERY confused.(I once did "sudo shutdown -h now" to close my local machine, and then wondered why nothing happened, only to realise I needed to go into work to turn my server back on.)
       
 (DIR) Post #ATsZWyt067Mfu8iBpQ by bthalpin@mastodon.social
       2023-03-22T10:49:29Z
       
       0 likes, 0 repeats
       
       I'm slacking: if I thought about this more I could also have shown emacs running on a couple of Pis, a tablet and a phone.
       
 (DIR) Post #AUBjWclfR6x9C2tL8K by bthalpin@mastodon.social
       2023-03-31T21:50:35Z
       
       0 likes, 0 repeats
       
       Following the #Emacs hastag on Mastodon I accidentally discover Emacs can read and manipulate sqlite3 files. I wonder what I can use that for?
       
 (DIR) Post #AUBjWdSYrdGRL4xazY by bthalpin@mastodon.social
       2023-03-31T22:08:15Z
       
       0 likes, 0 repeats
       
       Pretty much the only thing I use sqlite for is to serve #rstats Shiny apps that need to store data, e.g., online homework assignments, as in the screenshot above. Still, it's pretty neat to load a file, see what tables are in it, what columns are in the tables, what data in the columns.
       
 (DIR) Post #AUBjWdxP0xvysjOE40 by bthalpin@mastodon.social
       2023-03-31T22:13:28Z
       
       0 likes, 0 repeats
       
       OK, browser cookies are stored in sqlite files. I can look at those!Hey, wait a minute, who's storing a cookie called BOOMR_CONSENT on my computer??
       
 (DIR) Post #AV7Y8ErIq5OTnum3ii by bthalpin@mastodon.social
       2023-04-28T10:14:26Z
       
       0 likes, 1 repeats
       
       Elsevier and other academic publishers have pivoted from oligopolistic publishers to researcher-surveillance vendors. They track everything you do and sell the analysis back to your employers.It's about time that academics became more aware of this.https://osf.io/preprints/socarxiv/yu34t/
       
 (DIR) Post #AZKjhmR5wR7PHfY2im by bthalpin@mastodon.social
       2023-09-01T19:52:36Z
       
       0 likes, 0 repeats
       
       @matthannon The main problem is that action on climate change immediately creates opportunities for wreckers: sources of funding from industries negatively affected by changes, sources of votes from groups who don't like change. A vibrant ecosystem that can support people who just get in the way. From Sunak's mates who can pay enough to make voting for drilling attractive again, to the Irish Farmers Assocn who can make the Irish Environmental Protection Agy retract an "eat less beef" tweet.
       
 (DIR) Post #AbcAyOhFRybVNVxiee by bthalpin@mastodon.social
       2023-11-09T00:51:22Z
       
       0 likes, 1 repeats
       
       @tacosandlinux @ringzer0 That stone table is what comes up when you hit C-h h in #Emacs
       
 (DIR) Post #Acg08M1q6AU9AlBrZQ by bthalpin@mastodon.social
       2023-12-10T12:50:30Z
       
       0 likes, 0 repeats
       
       @eshel I use registers to a limited extent and have been annoyed by this change. Arguments for backward compatibility are strong, and usually carry weight for the #Emacs community
       
 (DIR) Post #Acnmq9bPodEtHVV8gS by bthalpin@mastodon.social
       2023-12-14T13:50:42Z
       
       0 likes, 0 repeats
       
       @mms You need Tramp. C-x C-f /ssh:user@remote:file.txtIt certainly opens the lock-file on the remote machine, probably the other temp files too.
       
 (DIR) Post #AdTYp3wBYKxTINZl5s by bthalpin@mastodon.social
       2024-01-03T16:58:22Z
       
       0 likes, 0 repeats
       
       In #Emacs 29 and before, and possibly earlier builds of 30, M-x buffer-menu RET opens a buffer menu with the (previously) current buffer at the top, with point on it.Now in Emacs 30, if a buffer-menu already exists, it opens that, without refreshing it. I.e., the previously current buffer is not automatically at the head of the list. I keep killing the wrong buffer by mistake 😞 🤦 When did this happen? Where should I moan about it?
       
 (DIR) Post #AdTYp5u8EwVJOad9Ae by bthalpin@mastodon.social
       2024-01-03T17:29:12Z
       
       0 likes, 0 repeats
       
       Never mind. That was a very long running emacs session (2-weeks or so; I normally restart at least daily) and when I restarted it, sanity returned.
       
 (DIR) Post #AjFnmcos08bhHIkwLo by bthalpin@mastodon.social
       2024-06-22T21:41:25Z
       
       0 likes, 0 repeats
       
       Where we're at, climate-change version: Over on Bluesky, a prominent science communicator has sparked a thread full of helpful advice about how to survive without heatstroke or dying, as her AC craps out in the middle of a heat wave. There's something almost as disturbing about this, in its mundanity and immediacy, as the 100s of pilgrims dying in Mecca. Though in Katy Mack's case, the key advice (go somewhere cool) is easy, unlike for the Hajis. https://bsky.app/profile/ghoulpus.bsky.social/post/3kvk6c7qpi42f
       
 (DIR) Post #ArG5I7W70sFX3vvRUe by bthalpin@mastodon.social
       2025-02-18T23:38:46Z
       
       0 likes, 0 repeats
       
       @feliks Now do "biweekly"
       
 (DIR) Post #AtrOkEpo2BmBKkRgTA by bthalpin@mastodon.social
       2025-05-07T19:25:13Z
       
       0 likes, 0 repeats
       
       @Nonilex This strikes me as something other than simple cheating. Yes, it's avoiding mental effort, but it also suggests a lack of belief in their own voice
       
 (DIR) Post #B0Tka0sjKwJk2AkzCq by bthalpin@mastodon.social
       2025-11-21T18:40:47Z
       
       0 likes, 0 repeats
       
       @aral Pretty pathetic po-faced fact checking from Newsweek. Grudging passing reference to the fact that it "might have been" humour.