Tom Roche
Shared posts
Welcome to the Neighbourhood: James Acaster
Tom Rocheshort (~15 min) piece of moderately amusing UK social humor: probably worth the listen time, but probably more if you're outside UK.
Fresh audio product: two views of British politics, Tory and Labour
Tom Rocheboth segments VERY EXCELLENT: 1st on Tories at Oxford c1990, 2nd on Starmer and the Blairist coup in Labour
Just added to my radio archive (click on date for link):
August 4, 2022 Simon Kuper, Financial Times columnist and author of Chums, on the upper-class caste that’s been ruling Britain for a decade • James Meadway, director of the Progressive Economy Forum, on the dispiriting economics of the leader of the Labour Party, the drab Kier Starmer
8/9/22: FBI's Trump Raid, GOP Reaction, Political Implications, Legal Possibilities, Dark Brandon, Legacy Media, & More!
Tom RocheEXCELLENT deepdive not just into the Trump raid (and associated horserace--not my thing, but undeniably entertaining) but (*much* more importantly) actual US law regarding document handling (archiving, de- and classification, etc)
Krystal and Saagar break down the FBI's raid of Trump's Mar-a-Lago compound, the GOP reaction, Dark Brandon memes, Maddow's next steps, 'stop the steal' backfiring, GOP ignoring mainstream media, and the legal implications of the FBI raid!
To become a Breaking Points Premium Member and watch/listen to the show uncut and 1 hour early visit: https://breakingpoints.supercast.com/
To listen to Breaking Points as a podcast, check them out on Apple and Spotify
Apple: https://podcasts.apple.com/us/podcast/breaking-points-with-krystal-and-saagar/id1570045623
Spotify: https://open.spotify.com/show/4Kbsy61zJSzPxNZZ3PKbXl
Merch: https://breaking-points.myshopify.com/
Tickets: https://www.ticketmaster.com/event/0E005CD6DBFF6D47
Bradley P. Moss: https://twitter.com/BradMossEsq
Learn more about your ad choices. Visit megaphone.fm/adchoices
Irreal: A Graduate Student Research Workflow
Tom Rochepullquote:
> [using] Emacs and Org-mode to develop an [efficient method of discovering and curating interesting papers](https://www.cs.mcgill.ca/~ksinha4/post/emacs_research_workflow/) (archived [here](http://web.archive.org/web/20220721000941/https://www.cs.mcgill.ca/~ksinha4/post/emacs_research_workflow/))
Koustuv Sinha is a PhD student in machine learning and natural language processing. Because much of his time is devoted to reading research papers in his field, he’s devoted significant effort into optimizing his workflow.
The TL;DR is that he’s used Emacs and Org-mode to develop an efficient method of discovering and curating interesting papers. It starts with the discovery. For this he uses Elfeed to subscribe to various Arxiv feeds in his areas of interest. He uses the elfeed-score package to rank these papers in the approximate order of his interest in them.
When he reads an abstract in the Elfeed results that seems interesting, he fires off a process that captures the paper’s metadata to his bibliography file; grabs a copy of the paper, renaming it to the bibtext key, and storing it in a central repository; and adds it to an Org file listing the papers we wants to read.
A lot of this is accomplished by leveraging John Kitchin’s org-ref. He calls org-ref functions directly to get and store the paper’s data. It’s a nice example of reusing someone else’s codebase in your own.
Sinha provides a huge number of details in his post so be sure to take a look. If you have similar needs, this is an excellent starting point for your own workflow or even something worth stealing wholesale.
8/8/22: Senate Legislation, China Escalation, Weapons Shipments, NATO Expansion, Monkeypox, Media Fawning, & More!
Tom Rocheexcellent: not the best BP ever, but consistently strong (notably, more *policy* politics than "horserace" politics)
Krystal and Saagar report on Democrats legislation, China tensions rising, weapons flowing to Ukraine, gay marriage vote, Dick Cheney's ad for Liz, Monkeypox hypocrisy, & media fawning!
To become a Breaking Points Premium Member and watch/listen to the show uncut and 1 hour early visit: https://breakingpoints.supercast.com/
To listen to Breaking Points as a podcast, check them out on Apple and Spotify
Apple: https://podcasts.apple.com/us/podcast/breaking-points-with-krystal-and-saagar/id1570045623
Spotify: https://open.spotify.com/show/4Kbsy61zJSzPxNZZ3PKbXl
Merch: https://breaking-points.myshopify.com/
Tickets: https://www.ticketmaster.com/event/0E005CD6DBFF6D47
Learn more about your ad choices. Visit megaphone.fm/adchoices
Radio War Nerd EP 341 — Unforgetting The Korean War, feat. Blowback cohosts Brendan James & Noah Kulwin
Tom RocheVERY EXCELLENT: see Blowback free feed [here](https://feeds.redcircle.com/e30b9f10-8c86-432e-9fa0-ba287fb94e7f) and paysite (subscribe to binge all 3 EXCELLENT seasons) [here](https://blowback.show/)
Reporting from Ukraine: Lindsey Snell
Tom RocheVERY EXCELLENT: 1st 2 of the 4 food groups, but esp Ukraine Truthing
Lindsey Snell, journalist at ishgal.com, crossed the Ukraine border to talk to soldiers and civilians. What she found surprised her:
There are Ukrainian forces who are “openly Neonazis, and we’re still giving them weapons and calling them something that they’re not.” All across the frontlines Lindsey found swastikas, SS symbols, and Wolfsangels. But negative news in Ukraine undermines the West’s mission to bleed Russia and sell more weapons, so corporate US media paints over it.
Lindsey also found that while the western mercenaries who flew over to kill Russians are loving the war, most of the Ukrainians she spoke to, both soldiers and citizens, want it to end.
“The corruption and lack of equipment is worse in Ukraine than anywhere I’ve been, Syria, Iraq, Libya. It’s just so bad.” And for the Ukrainians who are starving, losing their homes, and dying, “there’s no end in sight.”
What’s worse — as is the norm with guests on Useful Idiots — no one in western media will report on Lindsey’s story. “Journalists come and see how corrupt everything is and that the soldiers have nothing, but none of is is reflected in mainstream reporting. It’s very well known but it’s just not getting past the filter of western media.”
Plus, subscribe for the full interview, where Lindsey shares the story of getting kidnapped in Syria, how the war is hurting Europeans, and Turkey’s potential invasion of Syria (that you probably won’t hear about).
It’s all this, and more, on this week’s episode of Useful Idiots. Check it out.
651 - The Inebriated Past 12: Jesus’ Brother (8/4/22)
Tom Rocheexcellent: just Christman and just history, but well done (excepting some appalling mispronounciations--Pinyin is not so difficult, dude!)
Hosted on Acast. See acast.com/privacy for more information.
Dead Ringers - 8th July
Tom RocheEXCELLENT: BBC finally drops the Dead Ringer episode from the week of BoJo's resignation (after BBC Sounds delay), and the DR crew cheerfully sodomize the Tory bastards over and over :-)
Topical satire show, featuring characters drawn from the worlds of celebrity and politics.
Mick Wallace and Clare Daly Want to Save Us from NATO
Tom Rocheexcellent, including 4 food groups
Click here for the extended episode, including the full interview where Claire and Mick discuss abortion rights in Ireland and the US, mainstream media’s constant attacks and misinformation about them, and why our government and media are too afraid to talk about Assange, the realities of the Ukraine proxy war, and US hegemony.
“Democracy is about having a say in how your country is run. Right now, that’s not happening. The way the system works, the politicians don’t feel under pressure to answer to the majority of the people.”
Mick Wallace and Clare Daly, members of the European Parliament, are Irish progressives. This means they speak out against the proxy war in Ukraine, Julian Assange’s torture, and the Syria dirty war. Elected progressives in the US are quite different.
“From what we can see,” they tell us. “You don’t have any left politics in the US. The Democrats are indistinguishable from the Republicans and Bernie would be seen as just right of center in Europe.”
And what does it take to get actual progressives like Clare and Mick in office?
“Until people take to the streets, it’s going to be very hard for any left wing party to show its head in America.”
Plus, subscribe for the extended interview where Claire and Mick discuss abortion rights in Ireland and the US, mainstream media’s constant attacks and misinformation about them, and why our government and media are too afraid to talk about Assange, the realities of the Ukraine proxy war, and US hegemony.
As Mick always says, “democracy means you can say what you like, but you’ll do what you’re told.”
And that’s this week’s episode of Useful Idiots. Check it out.
Dead Ringers - 1st July
Tom Rochefunny
Topical satire show, featuring characters drawn from the worlds of celebrity and politics.
Michael and Us: Tornado, Earthquake, or Godzilla? w/ Justin Decloux
Tom RocheEXCELLENT: not much politics, just lots (funny) content from GodzillaWorld
In 1984, Godzilla rose from Tokyo Bay for the first time in nine years for THE RETURN OF GODZILLA. In 1985, an American distributor dramatically recut the movie into GODZILLA 1985. We're joined at long last by Important Cinema Club co-host Justin Decloux to discuss the many structural and ideological changes that were imposed upon Godzilla's big comeback.
Michael and Us is a podcast about political cinema and our crumbling world hosted by Will Sloan and Luke Savage.
Hosted on Acast. See acast.com/privacy for more information.
650 - Hammer Time feat. Brace Belden (8/1/22)
Tom RocheEXCELLENT, funny
We’re joined by special investigator Brace Belden to look into the increasingly bizarre saga of the Black Hammer group, which recently made news as subject of a police raid, a suspicious death among their group members, criminal accusations against their leader, and now accusations of being part of a foreign influence operation. We discuss all this as well as the political value of Being Normal.
Dates + Ticket links to TrueAnon’s live shows: https://www.patreon.com/posts/tour-general-no-69113927
Dates + Tickets for OUR live shows (including the Ft. Lauderdale show now rescheduled to 10/30) are here: chapotraphouse.com/live
Streaming tickets for our Pickathon fest set at Noon (PST) next Saturday, 8/6 are available at: https://frqncy.live/pickathon/?r=52e3
Get bonus content on PatreonHosted on Acast. See acast.com/privacy for more information.
Highway to a Benetton Ad (feat. David Broder)
Tom RocheEXCELLENT (at least, after initial banter, which is just OK): if you thought, "no one could ever do a survey of Italian politics that is both accurate and humorous," your belief is hereby empirically negated.
We sit down with Jacobin's Europe editor David Broder to discuss the future of Italy, Meloni, the future of the world and of course we talk shit about Argentina
FIND OUR GUEST AND HIS WORK:
https://twitter.com/broderly
https://www.nytimes.com/2022/07/22/opinion/italy-draghi-meloni-government.html
HOW TO SUPPORT US:
https://www.patreon.com/cornerspaeti
HOW TO REACH US:
Corner Späti https://twitter.com/cornerspaeti
Julia https://twitter.com/KMarxiana
Rob https://twitter.com/leninkraft
Nick https://twitter.com/sternburgpapi
Uma https://twitter.com/umawrnkl
Ciarán https://twitter.com/CiaranDold
Episode 196 - Who Speaks for the Trees? (w/ Vijay Prasad)
Tom RochePrasad VERY EXCELLENT as usual
Subscribe to Bad Faith on Patreon to instantly unlock our full premium episode library: http://patreon.com/badfaithpodcast
Marxist historian, commentator, author, and executive-director of Tricontinental: Institute for Social Research Vijay Prasad joins Bad Faith this week to talk about what global revolutions in Sri Lanka, India, Colombia, and other locales around the world can teach Americans trying to cultivate a left revolution here at home. How should the left put pressure on captured union leadership, and how can it hold left politician's accountable? Does the left "eat itself," or is it in a necessary processes of developing a more adversarial theory of change? How does Vijay believe he will see revolution in his lifetime even as he observes the enormous structural barriers to change?
Subscribe to Bad Faith on YouTube for video of this episode. Find Bad Faith on Twitter (@badfaithpod) and Instagram (@badfaithpod).
Produced by Armand Aviram.
Theme by Nick Thorburn (@nickfromislands).
Dig: Dead Generations w/ Matt Christman
Tom RocheMatt Christman at maximum intellirant. This is not the banty guy from Chapo, this dude is pissed
Featuring Matt Christman on how American history brought us to this awful present.
Support this podcast at Patreon.com/TheDig
Hosted on Acast. See acast.com/privacy for more information.
Yi Tang: Machine Learning in Emacs - Copy Files from Remote Server to Local Machine
Tom RocheEXCELLENT: also discusses (/en passant/) using [package=vterm](https://github.com/akermu/emacs-libvterm) to host remote [tmux](https://en.wikipedia.org/wiki/Tmux) instance
dired-rsyncis a great additional to my Machine Learning workflow in Emacs
Table of Contents
- File Manager GUI
- Rsync Tool in CLI
- Emacs’ Way:
dired-rsync - Setup for
dired=rsync - Enhance
dired-rsyncwith compilation mode
For machine learning projects, I tweaked my workflow so the interaction with remote server is kept as less as possible. I prefer to do everything locally on my laptop (M1 Pro) where I have all the tools for the job to do data analysis, visualisation, debugging etc and I can do all those without lagging or WI-FI.
The only usage of servers is running computation extensive tasks like
recursive feature selection, hyperparameter tuning etc. For that I ssh
to the server, start tmux, git pull to update the codebase, run a
bash script that I prepared locally to fire hundreds of
experiments. All done in Emacs of course thanks to Lukas Fürmetz’s
vterm.
The only thing left is getting the experiment results back to my
laptop. I used two approaches for copying the data to local: file
manager GUI and rsync tool in CLI.
Recently I discovered dired-rsync that works like a charm - it
combines the two approaches above, providing a interactive way of
running rsync tool in Emacs. What’s more, it is integrated
seamlessly into my current workflow.
They all have their own use case. In this post, I brief describe those
three approaches for coping files with a focus on dired-rsync in
terms of how to use it, how to setup, and my thoughts on how to
enhance it.
Note the RL stands for remote location, i.e. a folder a in remote server, and LL stands for local location, the RL’s counterpart. The action in discussion is how to efficiently copying files from RL to LL.
File Manager GUI
This is the simplest approach requires little technical skills. The RL is mounted in the file manager which acts as an access point so it can be used just like a local folder.
I usually have two tabs open side by side, one for RL, and one for LL, compare the differences, and then copy what are useful and exists in RL but not in LL.
I used this approach on my Windows work laptop where rsync is not
available so I have to copy files manually.
Rsync Tool in CLI
The rsync tool is similar to cp and scp but it is much more
power:
- It copies files incrementally so it can stop at anytime without losing progress
- The output shows what files are copied, what are remaining, copying speed, overall progress etc
- Files and folders can be included/excluded by specifying patterns
I have a bash function in the project’s script folder as a shorthand like this
copy_from_debian_to_laptop () {
# first argument to this function
folder_to_sync=$1
# define where the RL is
remote_project_dir=debian:~/Projects/2022-May
# define where the LL is
local_project_dir=~/Projects/2022-May
rsync -avh --progress \
${remote_project_dir}/${folder_to_sync}/ \
${local_project_dir}/${folder_to_sync}
}To use it, I firstly cd (change directory) to the project directory
in terminal, call copy_from_debian_to_laptop function, and use the
TAB completion to quickly get the directory I want to copy, for
example
copy_from_debian_to_laptop experiment/2022-07-17-FEThis function is called more often from a org-mode file where I kept track of all the experiments.
Emacs’ Way: dired-rsync
This approach is a blend of the previous two, enable user to enjoy the
benefits of GUI for exploring and the power of rsync.
What’s more, it integrates so well into the current workflow by simply
switching from calling dired-copy to calling dired-rsync, or
pressing r key instead of C key by using the configuration in this
post.
To those who are not familiar with copying files using dired in
Emacs, here is the step by step process:
- Open two
diredbuffer, one at RL and one at LL, either manually or using bookmarks - Mark the files/folders to copy in the RL
diredbuffer - Press r key to invoke
dired-rsync - It asks for what to copy to. The default destination is LL so press Enter to confirm.
After that, a unique process buffer, named *rsync with a timestamp suffix, is created to show the rsync output. I can stop the copying by killing the process buffer.
Setup for dired=rsync
The dired-rsync-options control the output shown in the process buffer. It defaults to “-az –info=progress2”. It shows the overall progress in one-line, clean and neat (not in MacOS though, see Issue 36). Sometimes I prefer “-azh –progress” so I can see exactly which files are copied.
There are other options for showing progress in modeline (dired-rsync-modeline-status), hooks for sending notifications on failure/success (dired-rsync-failed-hook and dired-rsync-success-hook).
Overall the library is well designed, and the default options work for me, so I can have a bare-minimal configuration as below (borrowed from ispinfx):
(use-package dired-rsync
:demand t
:after dired
:bind (:map dired-mode-map ("r" . dired-rsync))
:config (add-to-list 'mode-line-misc-info '(:eval dired-rsync-modeline-status 'append))
)There are two more things to do on the system side:
-
In macOS, the default rsync is a 2010 version. It does not work with the latest rsync I have on Debian server so I upgrade it using
brew install rsync. -
There no way of typing password as a limitation of using process buffer so I have to ensure I can rsync without remote server asking for password. It sounds complicated but fortunately it takes few steps to do as in Setup Rsync Between Two Servers Without Password.
Enhance dired-rsync with compilation mode
It’s such a great library that makes my life much easier. It can be improved further to provide greater user experience, for example, keep the process buffer alive as a log after the coping finished because the user might want to have a look later.
At the moment, there’s no easy way of changing the arguments send to
rsync. I might want to test a dry-run (adding -n argument) so I can
see exactly what files are going to be copied before running, or I
need to exclude certain files/folders, or rerun the coping if there’s
new files generated on RL.
If you used compilation buffer before, you know where I am going. That’s right, I am thinking of turning the rsync process buffer into compilation mode, then it would inherit these two features:
- Press g to rerun the rsync command when I know there are new files generated on the RL
- Press C-u g (g with prefix) to change the rsync arguments before running it for dry-run, inclusion or exclusion
I don’t have much experience in elisp but I had a quick look at source code, it seems there’s no easy of implementing this idea so something to add to my ever-growing Emacs wish-list.
In fact, the limitation comes from using lower level elisp functions. The Emacs Lisp manual on Process Buffers states that
Many applications of processes also use the buffer for editing input to be sent to the process, but this is not built into Emacs Lisp.
What a pity. For now I enjoy using it and look for opportunities to use it.
Laugh Out Loud in the summer with Nour Hadidi and Charles Haycock
Tom RocheEXCELLENT, both funny: Hadidi (one of my favorite comics) does great short bits, Haycock is just stoopid (but in the good way)
Laugh Out Loud in the Summer with Heidi Foss and Thomas Calnan
Tom Rocherepeat but good (esp Foss' oneliners)
Radio War Nerd EP 340 — The US Civil War, Part 10: Culture Wars (Live in Brooklyn)
Tom Rocheexcellent though uneven: it's a live show for which Ames, Dolan, and co apparently did *not* rehearse, so "technical difficulties" galore
West prepares to plunder post-war Ukraine with neoliberal shock therapy
Tom RocheVERY EXCELLENT (as usual from Norton/Multipolarista) analysis of the explicit plans US-EU-WEF have been and continue to make for whatever remains of Ukraine after their sockpuppet shreds and NATO is forced to move the proxy war with Russia to another front
Mini Show #48: Kamala Staff, Fetterman Campaign, Instagram Shakeup, Saudi Visit, & More!
Tom Rochemostly good: the Jason Kander interview is just listenable, Kyle Kulinski is ... better than usual. I advise abending @ 91:11, thus to skip the last 2 interviews, both by Marshall Kosloff who has gotten quite bad lately)
Krystal, Saagar, and friends talk about Kamala Harris, John Fetterman's campaign, Americans moving to Mexico, Olbermann podcast, PTSD, Instagram changes, Saudis & Biden, Taiwan tension, & more!
To become a Breaking Points Premium Member and watch/listen to the show uncut and 1 hour early visit: https://breakingpoints.supercast.com/
To listen to Breaking Points as a podcast, check them out on Apple and Spotify
Apple: https://podcasts.apple.com/us/podcast/breaking-points-with-krystal-and-saagar/id1570045623
Spotify: https://open.spotify.com/show/4Kbsy61zJSzPxNZZ3PKbXl
Merch: https://breaking-points.myshopify.com/
Tickets: https://www.ticketmaster.com/event/0E005CD6DBFF6D47
Kyle Kulinski: https://www.youtube.com/c/SecularTalk
Marshall Kosloff: https://www.youtube.com/channel/UC3O3P7AsOC17INXR5L2APHQ
Jason Kander: https://www.harpercollins.com/products/invisible-storm-jason-kander?variant=39935556911138
Learn more about your ad choices. Visit megaphone.fm/adchoices
This 1997 movie perfectly predicted today’s Ukraine war propaganda
Tom RocheVERY EXCELLENT, and funny: not just on "Wag the Dog" the movie, but also today's multipolar world, the evil that the neocon-shitlib complex is doing to prevent losing The Unipolar Moment, US politics, and much, much more
Drift-Backs and Crazy Frog (Feat: David Adler)
Tom Rocheexcellent
We have on David Adler from the Progressive International to talk about drift-backs in the Aegean Sea that Forensic Architecture reported on (https://aegean.forensic-architecture.org/) and lighten up the episode with a little talk about Crazy Frog and Nick's new career as a 'Heat Influencer'
HOW TO FIND OUR GUEST
https://twitter.com/davidrkadler
https://progressive.international/
HOW TO SUPPORT US:
https://www.patreon.com/cornerspaeti
HOW TO REACH US:
Corner Späti https://twitter.com/cornerspaeti
Julia https://twitter.com/KMarxiana
Rob https://twitter.com/leninkraft
Nick https://twitter.com/sternburgpapi
Uma https://twitter.com/umawrnkl
Ciarán https://twitter.com/CiaranDold
Peter Prevos: Simulating Text Files with R to Test the Emacs Denote Package
Tom Rochetesting shows [Denote](https://protesilaos.com/emacs/denote) outperforms [Org-roam](https://www.orgroam.com/) for large-scale (==10k) notes databases (not to be confused with [Lotus Notes databases](https://en.wikipedia.org/wiki/HCL_Domino))
Emacs is the most user friendly piece of software ever invented by humanity. I use it for 90% of my computing task, including keeping my digital knowledge garden with notes. Several notes packages exist, with Org Roam as the most popular and fully-featured. I have used this package for a while now, but it relies on a database and has grown a feature set far beyond my needs.
Protesilaos (Prot) Stavrou is developing the Denote package that goes back to the basics of Emacs. The defining feature of this package is a file-naming convention that acts as metadata to find your notes. The basic structure is: YYYMMDDTHHMMSS--file-name-dashed__keyword1_keyword2.extension. The filename starts with a timestamp at one second resolution to ensure unique file names (unless you create more than one per second). This timestamp also acts as the unique identifier to link notes. The timestamp is followed by two dashes and the sluggified file name. Two underscores after the file name indicate the start of the keywords, separated by one underscore. This convention provides a convenient heuristics to find notes based on dates, title and keywords. Denote supports either Org mode, plain text or Markdown files.
The simplicity of Denote allows for it to be easily integrated with other Emacs packages and it can be easily extended with some Emacs Lisp code. I am working on a package to integrate it with Citar so that notes can be linked to a bibliography.
I decided to have a play with this package and considered moving away from Org Roam to the monastic simplicity of Denote. But before I decided to convert my existing knowledge base, I wanted to see how it behaves with thousands of files in a single folder. Rather then converting my existing files, I decided to generate some random files to see how it performs.
Generating Random Text Files for Emacs Denote
My coding chops in R are much better than Emacs Lisp, so I decided to write some R code to generate random text files and take Denote through its paces.
This code uses the Collins Scrabble Word list to generate random file names and keywords. Download this file to your working directory before using this code. The code reads the file and generates a set of 50 keywords. Random timestamps are set somewhere in the distant future. Each file has a template for the front matter.
## Simulate n files in denote folder
## Initiation
library(stringr)
n <- 10000
k <- 50
wordlist <- readLines("collins-scrabble-words-2019.txt")
wordlist <- tolower(words)
tag_words <- sample(words[nchar(wordlist) <= 5], k)
timestamps <- Sys.time() + sample(600E6:666E6, n)
template <- c("#+title: ",
"#+date: ",
"#+filetags: ",
"#+identifier: ")
denote_directory <- "~/denote-sim/"
dir.create(denote_directory)
This next code snippet generates n Org mode files in the denote_directory folder. Titles are extracted by sampling the word list and the tags (keywords) are sampled from the 50 defined tags. The front matter includes the tile, the creation date, the keywords (called filetags in Org mode) and the identifier. The Lorem Ipsum generator in the stringr package generates some paragraphs of text. The last part of the code generates some links to random posts.
## Generate n random posts
for(i in 1:n) {
title <- paste(sample(wordlist, sample(2:5, 1)), collapse = "-")
tags <- paste(sample(tag_words, sample(4, 1)), collapse = "_")
identifier <- format(timestamps[i], "%Y%m%dT%H%M%S")
front_matter <- c(paste0(template[1],
str_to_title(str_replace_all(title, "-", " "))),
paste0(template[2],
paste0("[", format(timestamps[i], "%F %a %H:%M"), "]")),
paste0(template[3],
paste0(":", str_replace_all(tags, "_", ":"), ":")),
paste0(template[4], identifier))
links_list <- vector()
for (j in 1:(sample(1:5, 1))) {
links_list[j] <- paste0("- ", "[[denote:",
sample(format(timestamps, "%Y%m%dT%H%M%S"), 1), "]]")
}
content <- c(front_matter,
"",
stringi::stri_rand_lipsum(1),
"",
paste("*", str_to_title(paste(sample(wordlist,
sample(1:3, 1)),
collapse = " "))),
links_list)
filename <- paste0(denote_directory, identifier, "--", title, "__", tags, ".org")
writeLines(content, filename)
}Generating thousands of files will take a few minutes …
Using this code I generated ten thousands notes and used this to test the Denote package to see it if works at a large scale. This tests shows that Prot's approach is perfectly capable of working with thousands of notes. Just for kicks, I also synchronised these files with an Org Roam setup. My laptop struggled with the computational load and I was unable to properly access the files as it struggled with the large number of files. So case, closed - I am moving to Denote and teach myself more Emacs Lisp to build my ideal zettelkasten.
Russian Orthodox Converts in Appalachia
Tom RocheVERY EXCELLENT
Guest: Sarah Riccardi-Swartz on Between Heaven and Russia: Religious Conversion and Political Apostasy in Appalachia published by Fordham University Press.
The post Russian Orthodox Converts in Appalachia appeared first on SRB Podcast.
Iran & Russia pledge to cut US dollar from global trade, strengthen China alliance
Tom RocheEXCELLENT
CIA director admits media myth ‘Havana Syndrome’ is not foreign attack
Tom RocheEXCELLENT: short, like shooting the proverbial (Anglophone corporate-funded media) "fish in a barrel"
Democracy Now! 2022-07-27 Wednesday
Tom RocheVERY EXCELLENT: much better than yesterday/Tuesday, and *waaay* better than Monday's Jan-6 snoozefest
Democracy Now! 2022-07-27 Wednesday
- Headlines for July 27, 2022
- A Pelosi Visit to Taiwan Could Inflame Tensions Between U.S. & China, with Little Benefit to Taiwanese
- Economist Jayati Ghosh: Global Debt Crisis Is Perfect Storm of Unrest, Economic Disaster, Starvation
- Richard Wolff: Fed Rate Hikes Are "Body Blow" to Workers Reeling from Pandemic, Growing Inequality
Modeling Entrainment with Machine Learning
Tom Rochemore great work from [Journal of Advances in Modeling Earth Systems](https://agupubs.onlinelibrary.wiley.com/journal/19422466) aka JAMES

Editors’ Highlights are summaries of recent papers by AGU’s journal editors.
Source: Journal of Advances in Modeling Earth Systems
The mixing between cumulus clouds and the nearby environment is one of the greatest sources of uncertainty in climate modeling. The air mass flux that crosses into a cloud is called “entrainment” and out of a cloud is called “detrainment”. Entrainment and detrainment rates are highly stochastic and complex functions of properties of cumulus clouds and the nearby environment.
Shin and Baik [2022] develop a stochastic mixing model using a machine learning (ML) technique that models the mixing process of convection. The authors found that the ML model predicts entrainment and detrainment rates better than previously proposed parameterizations, with the inputs of cloud and environment properties.
The single-column model simulations with the new mixing model produce realistic mean and variance of various shallow cumulus properties. The simulation results also suggest that most of the cloud variabilities are generated from the mixing process. This paper is an example of the cutting-edge integration of physical understanding and machine learning techniques.
Citation: Shin, J., & Baik, J.-J. (2022). Parameterization of stochastically entraining convection using machine learning technique. Journal of Advances in Modeling Earth Systems, 14, e2021MS002817. https://doi.org/10.1029/2021MS002817
—Jiwen Fan, Editor, Journal of Advances in Modeling Earth Systems
