Shared posts

27 Jan 21:07

Irreal: Combining Find and Grep in Emacs

by jcs
Tom Roche

always more to learn about Emacs! I've been using `M-x find-grep` for decades--how did I miss `M-x find-grep-dired` ???

One of the classic Unix idioms is to search all files in a file hierarchy for some regular expression with a find/grep pipeline. For example, to search the lisp directory and all of its subdirectories for file containing the mapcar function, one could use

find ~/lisp -name "*.lisp" -exec grep -H mapcar {} \;

That pipeline finds every .lisp file in the hierarchy and runs grep on it looking for mapcar.

I, at least, don’t do this type of thing very much anymore because there are so many easier ways of doing so, especially from within Emacs.

Nonetheless, it’s still possible to usefully combine find and grep from within Emacs to build a Dired buffer of all the files that contain the matching regex. This tweet by
Mickey tells you how:

There’s a bit more to the command so you should take a look at the on-line documentation if you have a use for it.

27 Jan 21:05

Irreal: Bad Emacs Advice

by jcs
Tom Roche

always more to learn about Emacs! in this case, the menu system; pullquotes:

> [A-` allows one to] access the menu system from the keyboard[. That's] very useful if you’re using Emacs in terminal mode.

> [you can discover] what a menu item does in exactly the same you find out what a key combination does: Simply precede the menu mouse click with [C-h k].

The incomparable Mickey has a few words to say on Bad Emacs Advice. Mickey and I have been using Emacs for approximately the same amount of time and although we are both still learning, we agree that there’s some well meaning but bad advice about learning Emacs. Mickey identifies the four hot sports for bad advice:

  1. Turn off the menu and tool bars
  2. Ignore the Emacs manual
  3. Don’t bother with the tutorial
  4. Don’t use the Custom Interface

In a nice example of serendipity, I learned a couple of new things from Mickey’s post on Emacs advice. The first is that you can access the menu system from the keyboard with Meta+`. that’s probably not useful for any but the most hardcore antimouse GUI user but it’s very useful if you’re using Emacs in terminal mode.

The second revelation is that can find out what a menu item does in exactly the same you find out what a key combination does: Simply precede the menu mouse click with Ctrl+h k.

Mickey’s advice strikes me as sound. Whether or not you use the menu bar when you gain a bit of experience, it’s undoubtedly true that it can be a big help in learning Emacs. Some say the same about the tool bar but I’ve never found it useful: it’s ugly, doesn’t help you learn the shortcuts, and doesn’t have any functionality that the menu bar doesn’t. As for the manual and tutorial, advice to ignore them seems particularly ill advised to me. Why wouldn’t you want to avail yourself of comprehensive documentation on the workings of Emacs?

As for the Customize Interface, I used it a lot in my early Emacs days but don’t use it at all now except for those automatic package things that Emacs insists on inserting into the Custom Configuration and even then I exile it to custom.el so it doesn’t pollute my init.el.

I agree with Mickey about his take on bad Emacs advice. Take a look at his post to see what you think.

27 Jan 17:11

Haiti, Smedley Butler, and the Rise of American Empire

Tom Roche

VERY EXCELLENT

“I was a racketeer; a gangster for capitalism." So declared famed Marine Corps officer Smedley Butler in 1935, at the end of a long career spent blazing a path for American interests in Cuba, Nicaragua, China, The Philippines, Panama, and Haiti. In a new book on Butler’s career, Gangsters of Capitalism, Jonathan Katz details Butler’s life and explains how it dovetails with the broader story of American empire at the turn of the century.

Hosted on Acast. See acast.com/privacy for more information.

26 Jan 18:46

Michael and Us: Guy's Winnipeg

Tom Roche

VERY EXCELLENT as usual (BTW, this is MU 302, see https://soundcloud.com/michael-and-us )

The great Canadian filmmaker Guy Maddin was assigned to make a documentary about his hometown of Winnipeg, Manitoba. He made MY WINNIPEG (2007), a hilarious, surreal dreamscape that combines autobiography, history, and fiction into a free-flowing meditation on a city and a home. We discuss the film's treatment of truth, memory, and the Canadian identity. PLUS: Luke discusses the glamorous life of being a published book author.


Michael and Us is a podcast about political cinema and our crumbling world hosted by Will Sloan and Luke Savage.


Preorder Luke's book The Dead Center- https://www.orbooks.com/catalog/the-dead-center/


"Manitoba History - February 19, 1942: If Day" by Michael Newman - http://www.mhs.mb.ca/docs/mb_history/13/ifday.shtml


Guy Maddin's "The Heart of the World" - https://vimeo.com/115997353



See acast.com/privacy for privacy and opt-out information.

26 Jan 02:39

Emissions from aluminum production are bad news for solar energy

by Doug Johnson
Tom Roche

interesting article, but nothing in it demonstrates that the aluminum in current PV installations could not be replaced with (e.g.) steel, or even structural wood

Image of a solar field at sunset.

Enlarge / All those supports require a lot of aluminum. (credit: Longhua Liao)

Once solar panels are operative, they produce electricity without carbon emissions. But making and installing them involves some emissions. Most of the worries about solar panel production have focused on the elements that go into the panels themselves, like gallium, cadmium, germanium, indium, selenium, and tellurium. But according to new research, the massive amount of aluminum needed to house the solar rigs of the future could create further problems.

“I hadn’t realized just how much aluminum was required for the frames and the modules, mountings, and inverters,” Alison Lennon, a researcher at UNSW Sydney’s School of Photovoltaic and Renewable Energy Engineering, told Ars. She added that aluminum is often used because it is lightweight and corrosion-resistant.

In 2020, the World Bank released an oft-cited analysis called "Minerals for Climate Action: The Mineral Intensity of the Clean Energy Transition.” In this report, the authors identified aluminum as one of the minerals that would need to have its production scale by a large amount for the world to meet its climate goals. “PV was a large contributor,” Lennon said. “[This] made me think about the problem a bit more.”

Read 9 remaining paragraphs | Comments

24 Jan 22:04

Doctor explains CIA's 'Havana Syndrome' conspiracy is mass hysteria - not Russian ray gun attacks

Tom Roche

good but not great--starts sharp and focused, gets more offtopic and incoherent before shifting to anti-Maori discrimination (Bartholomew is NZ-based) and publishers discrimination against some anti-establishment topics

For years corporate media outlets accused Cuba, China, Russia, and other US adversaries of attacking spies and diplomats with hi-tech "pulsed microwave weapons" or "directed-energy weapons."

But now the CIA has admitted that "Havana Syndrome" is not caused by attacks by a foreign hostile power, but rather stress or natural causes.

Benjamin Norton interviews Doctor Robert Bartholomew, a medical sociologist and leading expert on mass hysteria and social panics, explains how he predicted this in his 2020 book "Havana Syndrome: Mass Psychogenic Illness and the Real Story Behind the Embassy Mystery and Hysteria."

VIDEO: youtube.com/watch?v=LnpaqWVi76U

Robert Bartholomew's website: rebartholomew.com

24 Jan 21:56

1/24/22: Stock Market Crash, Ukraine Tensions, Insider Trading, Elite Narratives, Animal Rights, & More!

Tom Roche

especially excellent episode of generally-excellent podcast

Krystal and Saagar discuss the stock market drop taking place, Biden's response to tensions in Ukraine, insider trading in Congress, a court ordering workers to keep their jobs, Jen Psaki's advice, World Economic Forum proposals, Mark Cuban, FBI's targeting of an animal rights activist, and 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/


Matt Johnson’s Work: https://www.directactioneverywhere.com/ 

Learn more about your ad choices. Visit megaphone.fm/adchoices

24 Jan 17:33

Marcin Borkowski: Journaling with Org-mode

by Marcin Borkowski
Tom Roche

elisp for capture template and a `defun org-journal-on-this-day` to "Show entries for this day on all previous years."

OK, so let’s admit it. I’ve been journaling with Org-mode for more than 6½ years now. Every day (well, almost every day) I sit down and make notes of important things that happened that day.
24 Jan 17:30

The Nether Regions

Tom Roche

(mostly) VERY FUNNY short bits with puns and jokes esp "Thinking Dogs for the Stupid" 13:29-15:43

Creators of the hit Radio 4 Sci Fi comedy Quanderhorn, Rob Grant (Son of Cliché, Spitting Image, Red Dwarf) and Andrew Marshall (Burkiss Way, Whoops Apocalypse, 2point4children) invite you back for a deeper glimpse into the steaming primordial swamps of their hideously contorted imaginations, known only as The Nether Regions. Trapped with them in the dank basements of their fetid minds are sparkling young talents Helen Cripps, Edward Rowett and Holly Morgan. The Nether Regions is our dystopian present – it’s now, but not now, and then, but now. Not. Past, present and future merge into one writhing tortured tangle, where the Naked Truth climbs out of the window, because Fake News has come home unexpectedly early. Continuing the mirth, mayhem and something else beginning with M of the highly acclaimed pilot show. Scream in terror. Then listen to the show. Then scream in terror again, as you witness: Germany’s most efficient fast food sausage establishment The recently rediscovered classic, Jane Austen’s Love Island Thinking dogs for the stupid The tortured souls who are addicted to being Alan Bennett. These and other mind-munching experiences await the unwary listener. Make sure you book a return ticket. Created and Written by Rob Grant and Andrew Marshall Performed by Rob Grant, Andrew Marshall, Helen Cripps, Edward Rowett and Holly Morgan Studio Engineered and Edited by Jerry Peal Original Music Composed by Pete Baikie Programme Managed by Sarah Tombling Recorded at The Shaw Theatre, London Produced and Directed by Gordon Kennedy, Rob Grant and Andrew Marshall An Absolutely production for BBC Radio 4
24 Jan 16:44

The march of the Arctic trees and what it reveals about the climate crisis

Tom Roche

LNL returns from summer break! Interesting piece, with all-too-short bit at end on beavers as accelerants of polar warming.

The Arctic Treeline circles the world in an almost unbroken ring, almost like a green halo. But as the climate warms the trees are marching towards the pole at an unprecedented speed, turning the white Arctic green. It's not the same story across the Arctic, but as writer Ben Rawlence discovered during his visits between 2018-2020, strange things are happening wherever you look in the boreal forest, and it's threatening ancient ways of life.
23 Jan 20:42

Irreal: Adding To a Keyboard Macro

by jcs
Tom Roche

pullquote (slightly edited)
> [If you press] `C-u F3` [it will 1st run the pre-recorded/currently-active] keyboard macro, and [will then append to that macro any] additional keystrokes until you press F4

Note that

* F3 default binding==kmacro-start-macro-or-insert-counter
* I instead use `C-x (` == kmacro-start-macro, but ...
* ... both kmacro-start-macro and kmacro-start-macro-or-insert-counter take `C-u` prefix. This argument normally == number of times to repeat the macro, but ...
* ... nil/null prefix argument==append to most-recent-recorded keyboard macro

So much Emacs macro functionality; TODO: learn AND USE IT ROUTINELY! FWIW, I use Emacs macros every day, but mostly just record/playback, though also macro-editing (which is great! `M-x edit-last-kbd-macro`). I need to start using (e.g.) macro naming (and discover how to {serialize, make persistent}).

Wilfred Hughes’ Emacs Command of the Day Twitter feed has a useful tip:

I’ve seen this before and may even have written about it before but I always forget about it. I’m not sure why; it could hardly be simpler: just prefix the start macro command with the universal argument.

In any event, it’s a useful reminder for me and may be for you too.

23 Jan 17:09

Jacobin Radio w/ Suzi Weissman: Tension on the Russia-Ukraine Border

Tom Roche

skip this bizarre Cold War throwback. Krawchenko is apparently a creature of the very-rightwing Ukrainian-Canadian community. He and Weissman are blaming the entire Russia-Ukraine-US/NATO conflict on Putin, who they claim is Pinochet+Stalin. Makes the all-too-usual false claim that Russia is an undiversified petrostate (empirically very true for e.g. 2000, much less true since ~2010), and the ridiculous claim that Ukraine is "very democratic."

Bohdan Krawchenko, author of works on Ukrainian politics and history, talks to Suzi from the University of Central Asia in Kyrgyzstan about the potential disaster on the Russian-Ukrainian border—and looks at the bigger picture of Putin’s government in Russia. We talk about what is driving Putin’s actions and what is at stake in the dangerously escalating tensions between Russia and Ukraine. Is this geopolitical gamble with the West aimed at negotiating with the US to keep NATO at bay—or is it about increasing domestic political support at home, where grievances are rife about the lack of democratic rights and growing inequality?

See acast.com/privacy for privacy and opt-out information.

23 Jan 16:23

595 - Ordinary Fucking People (1/20/22)

Tom Roche

good banter, plus excellent 2nd half (mostly--Adams bit at end) on the Luntz/NYT focus group

Havana Syndrome proves a bust and Eric Adams praises fruit. We spend the main chunk of the ep reviewing Frank Luntz and the New York Times’ recent focus group of the most chaotic and bird-brained type of person in existence: the average American independent voter.

23 Jan 14:57

Syria’s post-war recovery challenges US hegemony

Tom Roche

good short treatment of this salient node of US empire decline. notes but does not dive into the important question of Russia-Israel-PRC relations.

Support Pushback at Patreon: https://www.patreon.com/aaronmate After defeating the US and its allies' decade-long dirty war, Syria is finding ways to rebuild under US military occupation and crippling sanctions/economic warfare. Author Tim Anderson discusses Syria's post-war recovery under sanctions and occupation; routine Israeli bombings and Russia's failure to stop them; Syria joining China's Belt and Road Initiative; and, in the wake of recent New York Times exposes on deadly US airstrikes that were covered up in Syria, how the US used ISIS as a tool for regime change while claiming to fight it. Guest: Tim Anderson. Writer, academic, and Director of the Sydney-based Centre for Counter Hegemonic Studies. His books include "The Dirty War on Syria" and "Axis of Resistance." Discussed in this segment: Tim Anderson: "Syria: Why the US massacre at Al-Baghouz?" https://english.almayadeen.net/articles/analysis/syria:-why-the-us-massacre-at-al-baghouz Aaron Maté: "To keep troops in Syria, US leaders are lying like in Afghanistan" https://mate.substack.com/p/to-keep-troops-in-syria-us-leaders
23 Jan 04:51

The Gold Standard

Tom Roche

excellent

Melvyn Bragg and guests discuss the system that flourished from 1870 when gold became dominant and more widely available, following gold rushes in California and Australia. Banknotes could be exchanged for gold at central banks, the coins in circulation could be gold (as with the sovereign in the image above, initially worth £1), gold could be freely imported and exported, and many national currencies around the world were tied to gold and so to each other. The idea began in Britain, where sterling was seen as good as gold, and when other countries rushed to the Gold Standard the confidence in their currencies grew, and world trade took off and, for a century, gold was seen as a vital component of the world economy, supporting stability and confidence. The system came with constraints on government ability to respond to economic crises, though, and has been blamed for deepening and prolonging the Great Depression of the 1930s.

With

Catherine Schenk Professor of Economic and Social History at the University of Oxford

Helen Paul Lecturer in Economics and Economic History at the University of Southampton

And

Matthias Morys Senior Lecturer in Economic History at the University of York

Produced by Eliane Glaser and Simon Tillotson

23 Jan 04:51

The Hittites

Tom Roche

IOT back to its usual excellence

Melvyn Bragg and guests discuss the empire that flourished in the Late Bronze Age in what is now Turkey, and which, like others at that time, mysteriously collapsed. For the next three thousand years these people of the Land of Hatti, as they called themselves, were known only by small references to their Iron Age descendants in the Old Testament and by unexplained remains in their former territory. Discoveries in their capital of Hattusa just over a century ago brought them back to prominence, including cuneiform tablets such as one (pictured above) which relates to an agreement with their rivals, the Egyptians. This agreement has since become popularly known as the Treaty of Kadesh and described as the oldest recorded peace treaty that survives to this day, said to have followed a great chariot battle with Egypt in 1274 BC near the Orontes River in northern Syria.

With

Claudia Glatz Professor of Archaeology at the University of Glasgow

Ilgi Gercek Assistant Professor of Ancient Near Eastern Languages and History at Bilkent University

And

Christoph Bachhuber Lecturer in Archaeology at St John’s College, University of Oxford

Producer: Simon Tillotson

23 Jan 01:40

Bozhidar Batsov: How to Find Which Package a File Belongs to in Debian/Ubuntu

by Bozhidar Batsov
Tom Roche

more specifically: apt-file vs dpkg for use in file -> package mapping on Debian

Occasionally I need to figure out which Debian package some file comes from (e.g. because I want to remove a redundant package or find related packages). There are a couple of ways to do this in Debian, with the simplest being the following:

$ dpkg -S /usr/bin/ag
silversearcher-ag: /usr/bin/ag
$ dpkg -S /usr/bin/gcc
gcc: /usr/bin/gcc

dpkg is a built-in command, so it’s always around. -S stands for --search:

-S, --search filename-search-pattern...
Search for a filename from installed packages.

Note, that it’s best to use absolute paths if you want to get a concrete package as the result. Observe the difference here:

$ dpkg -S /bin/ls
coreutils: /bin/ls
$ dpkg -S bin/ls
kmod: /sbin/lsmod
pciutils: /usr/bin/lspci
util-linux: /bin/lsblk
util-linux: /usr/bin/lsns
usbutils: /usr/bin/lsusb
e2fsprogs: /usr/bin/lsattr
util-linux: /usr/bin/lsmem
util-linux: /usr/bin/lslogins
initramfs-tools-core: /usr/bin/lsinitramfs
util-linux: /usr/bin/lsipc
kmod: /bin/lsmod
util-linux: /usr/bin/lslocks
gnupg-utils: /usr/bin/lspgpot
lsof: /usr/bin/lsof
coreutils: /bin/ls
util-linux: /usr/bin/lscpu
klibc-utils: /usr/lib/klibc/bin/ls
lshw: /usr/bin/lshw
lsb-release: /usr/bin/lsb_release

Here you can stop reading, as 99% of the time that’s probably the best option for you. Still, there’s one more way to approach the problem, namely by using apt-file. You’ll need to install apt-file and initialize its database first:

$ sudo apt install apt-file
$ sudo apt-file update

Using apt-file is quite simple:

$ apt-file search /usr/bin/gcc
gcc: /usr/bin/gcc
gcc: /usr/bin/gcc-ar
gcc: /usr/bin/gcc-nm
gcc: /usr/bin/gcc-ranlib
gcc-10: /usr/bin/gcc-10
gcc-10: /usr/bin/gcc-ar-10
gcc-10: /usr/bin/gcc-nm-10
gcc-10: /usr/bin/gcc-ranlib-10
gcc-7: /usr/bin/gcc-7
gcc-7: /usr/bin/gcc-ar-7
gcc-7: /usr/bin/gcc-nm-7
gcc-7: /usr/bin/gcc-ranlib-7
gcc-8: /usr/bin/gcc-8
gcc-8: /usr/bin/gcc-ar-8
gcc-8: /usr/bin/gcc-nm-8
gcc-8: /usr/bin/gcc-ranlib-8
gcc-9: /usr/bin/gcc-9
gcc-9: /usr/bin/gcc-ar-9
gcc-9: /usr/bin/gcc-nm-9
gcc-9: /usr/bin/gcc-ranlib-9
gcc-opt: /usr/bin/gcc-3.3
gcc-opt: /usr/bin/gcc-3.4
gcc-opt: /usr/bin/gcc-4.0
gcc-python3-dbg-plugin: /usr/bin/gcc-with-python3_dbg
gcc-python3-plugin: /usr/bin/gcc-with-python3
gccbrig: /usr/bin/gccbrig
gccbrig-10: /usr/bin/gccbrig-10
gccbrig-7: /usr/bin/gccbrig-7
gccbrig-8: /usr/bin/gccbrig-8
gccbrig-9: /usr/bin/gccbrig-9
gccgo: /usr/bin/gccgo
gccgo-10: /usr/bin/gccgo-10
gccgo-7: /usr/bin/gccgo-7
gccgo-8: /usr/bin/gccgo-8
gccgo-9: /usr/bin/gccgo-9
pentium-builder: /usr/bin/gcc
xutils-dev: /usr/bin/gccmakedep

As you can see by default it provides all possible matches from its database. One advantage that apt-file has over dpkg is that it will search through all available packages as opposed to all installed packages. That might be handy sometimes when you know you need to have some file installed, but you don’t know which package contains it. Admittedly, I didn’t know about apt-file until very recently myself, which is part of the reason I’ve decided to put together this short article.1

That’s all I have for you today. Keep hacking!

  1. When I write about something I just learned, the likelihood of retaining the new knowledge increases significantly. Still, nothing beats applying the new knowledge in practice all the time. 

22 Jan 16:10

News Quiz 21st January 2022

Tom Roche

EXCELLENT--back to normal after a subpar previous week (14 Jan)

Andy Zaltzman and the News Quiz satirise the week's news from the UK and beyond.

This week Andy is joined by Alice Fraser, Chris McCausland, Daliso Chaponda and Hugo Rifkind. They try to make sense of a week of big dogs, pork pies and red meat.

Chair's Script: Written by Andy Zaltzman Additional Material: Written by Heidi Regan, Cameron Loxdale, Stephen Buchanan and Tasha Dhanraj. Production Coordinator: Katie Baum Sound Editor: Marc Willcox Producer: James Robinson

A BBC Studios Production

21 Jan 02:38

A Deep History of Ukraine

20 Jan 17:53

2022 predictions

Tom Roche

per 'Editing note': they fixed the audio link on their website, but not on this feed. correct audio link=https://media.blubrry.com/fortressonahill/b/content.blubrry.com/fortressonahill/Ep_112_final_draft-1-6-22_fixed_.mp3

Editing note (1-9-22): the original file for this episode was incorrect.  It's now been fixed. Keagan and I decided to give you our ideas for the new year, to include some of our favorite episodes from 2021.  The state of the pandemic, the withdrawal from Afghanistan, and even a few positive thoughts are just a few things we have in store for you.  Enjoy!!! Main website: https://www.fortressonahill.com Let me guess.  You're enjoying the show so much, you'd like to leave us a review?!  https://lovethepodcast.com/fortressonahill Email us at fortressonahill@gmail.com Check out our t-shirt store on Spreadshirt.com: https://bit.ly/3qD63MW Not a contributor on Patreon? You're missing out on amazing bonus content! Sign up to be one of our patrons today! - https://www.patreon.com/fortressonahill A special thanks to our Patreon honorary producers - Fahim Shirazee, James O'Barr, Adam Bellows, Eric Phillips, Paul Appell, Julie Dupris, Thomas Benson, Janet Hanson, Tristan Oliver, Daniel Fleming, Michael Caron, Zach H, Ren Jacob, Howard Reynolds, Why I am Antiwar Podcast, Korgoth, and the Statist Quo Podcast  You all are the engine that helps us power the podcast.  Thank you so much!!! Not up for something recurring like Patreon, but want to give a couple bucks?!  Visit https://paypal.me/fortressonahill to contribute!! Fortress On A Hill is hosted, written, and produced by Chris 'Henri' Henrikson, Danny Sjursen, and Keagan Miller. https://bit.ly/3yeBaB9 Intro / outro music "Fortress on a hill" written and performed by Clifton Hicks.  Click here for Clifton's Patreon page: https://bit.ly/3h7Ni0Z Cover and website art designed by Brian K. Wyatt Jr. of B-EZ Graphix Multimedia Marketing Agency in Tallehassee, FL: https://bit.ly/2U8qMfn Note: The views expressed in this podcast are those of the hosts alone, expressed in an unofficial capacity, and do not reflect the official policy or position of the Department of the Army, Department of Defense, or the U.S. government.
20 Jan 15:11

Artem Rys: Detect unused secrets in your Github repositories

With the increasing number of security threats, it is important to use (and follow the best practices) only those “secrets” that you…

Continue reading on python4you »

19 Jan 23:33

Democracy Now! 2022-01-19 Wednesday

Tom Roche

DN! continuing its slide from "the war and peace report" to "the identity and immigration report"

Democracy Now! 2022-01-19 Wednesday

  • Headlines for January 19, 2022
  • Judge Approves Puerto Rico Debt Restructuring, But Unelected "Junta" Could Remain for Years Longer
  • Scholars Angela Davis, Gina Dent & Beth Richie on Why the World Needs "Abolition. Feminism. Now."
  • Angela Davis on Reissue of Her 1974 Autobiography, Her Editor Toni Morrison, Internationalism & More

Download this show

19 Jan 02:17

Is failed Kazakhstan coup attempt end of US 'color revolution' era?

Tom Roche

Escobar excellent as usual--and he's definitely one of the best on central Asia

Geopolitical analyst Pepe Escobar discusses the violent coup attempt in Kazakhstan, and its crucial importance as an ally of Russia and the center of China's Belt and Road Initiative. He also addresses US, British, and Turkish meddling, and why this massive and misunderstood country is suddenly at the heart of the new cold war.

PART 1 OF 2

19 Jan 02:17

US-Russia talks fail. Is war on horizon? Impact on Ukraine and Europe?

Tom Roche

Escobar excellent as usual

Pepe Escobar discusses the failure of the US-Russia talks in Geneva, NATO's refusal to make any diplomatic concessions, and if war could be on the horizon. We address the impact on Ukraine, Europe, Germany, and the Nord Stream 2 pipeline.

PART 2 OF 2

19 Jan 02:16

“Don’t Look Up” and Fighting Capitalism With Naomi Klein

Tom Roche

not a *bad* listen but definitely disappointing--nothing you haven't heard/thought before

As 2022 begins, the world continues to see the effects of the climate crisis — from the severe drought in East Africa to the odd snowfall in British Columbia. But since December 5, a new film has been sounding the alarm. In Adam McKay’s “Don’t Look Up,” an allegory about the impending climate disaster, scientists discover an approaching comet that will destroy Earth. But the media, politicians, and elite in the U.S. fail at every opportunity to prevent the impending doom. The Intercept’s senior correspondent Naomi Klein joins senior writer Jon Schwarz to discuss the film, how present-day elites are failing to address the climate crisis, and the future of the climate justice movement. Klein is a professor of climate justice at the University of British Columbia and the author of many books on climate change, including her latest, “How to Change Everything: The Young Human's Guide to Protecting the Planet and Each Other.” join.theintercept.com/donate/now

Hosted on Acast. See acast.com/privacy for more information.

19 Jan 02:15

594 - Adult Roller Coaster (1/17/22)

Tom Roche

mostly just banter, but Da Boyz doin' it swell

So I (Chris) take one week off producing for a little vacation and somehow the boys manage to accidentally record all three of themselves into just one mic track for this ep? Idk I literally can’t leave these jokers alone for one minute. Our guest editor did heroic work getting this listenable, but sorry for the “chapo classic” audio quality.

Anyway, the boys are back in town and California dreamin' on such a winter's day, they discuss whether MLK's civil rights rings are legit or Mickey Mouse, ongoing COVID hysteria, demand parents leave twitter for Facebook, how shitty it is to be a kid these days, and finally Felix debuts his idea for an adult Six Flags Great Adventure.

17 Jan 23:15

Marcin Borkowski: Making code snippets in Org-mode easier to type

by Marcin Borkowski
Tom Roche

interesting, but basically just keymap-swapping tilde and backtick

From time to time people tend to discuss the Org markup – some people want to extend it in one way or another, some people want to make it more Markdown-ish. I tend to agree that the selection of the tilde (~) to denote code is a bit inferior than Markdown’s choice of the backtick (`). But keep in mind this: I don’t have a problem with looking at my Org file and seeing (lots of) tildes. After all, font-lock does a good job of telling me that this is code. I have a problem with typing these tildes, since they require me pressing the shift key – and if I have a lot of small code snippets, this is not very comfortable. Add to this the fact that I happen to write in Markdown pretty often (when I use Markdown-based tools, like Slack or Jira), and I started wondering: why couldn’t I press the backtick in Org-mode to type a tilde (and vice versa so that I don’t lose the ability to type a backtick)?
17 Jan 16:46

Why Are Democrats Such Losers? w/ Amber Frost & Danny Bessner

Tom Roche

all 3 segments (Barkan, host Jen Pan, and Frost+Bessner) excellent

Chapo Trap House’s Amber A’Lee Frost and Jacobin contributor Danny Bessner investigate whether the Democrats are losing on purpose. Ross Barkan discusses New York mayor Eric Adams’s unlikely coalition of black working-class voters and wealthy developers, and Jen Pan debunks blue-state racecraft. The Jacobin Show offers socialist perspectives on class and capitalism in the twenty-first century, the failures of liberalism, and the prospects of rebuilding a left labor movement in the US. This is the podcast version of the show from January 12, 2021 with Jen Pan hosting.


Subscribe to Jacobin: https://jacobinmag.com/subscribe/?code=JACOBINYT


Music provided by Zonkey: https://linktr.ee/zonkey



See acast.com/privacy for privacy and opt-out information.

17 Jan 16:46

The role of chance in life

Tom Roche

still reruns!

Is our existence, and that of the world, the result of pure chance?
16 Jan 18:59

Irreal: Exporting Variables From Org-mode to LaTeX

by jcs
Tom Roche

unfortunately neither this article nor
Irreal's referenced/previous article describe the "proper way of handling the general case[, which] is to define the variables at the Org level." For that, gotta watch Hamrick’s video @ https://www.youtube.com/watch?v=0g9BcZvQbXU (archived @ https://web.archive.org/web/20210124191140/https://www.youtube.com/watch?v=0g9BcZvQbXU )

Franco Pasut has posted on exporting variables from Org to LaTeX. The TL;DR is that you can define LaTeX macros defining a variable value in #+LATEX_HEADER: entries at the top of the Org file and then interpolate the variables in the text by including \variable_name{} in the body of the document. That’s nice because it makes it easy to change the value of those variables, if needed, in one place and have the results reflected in the whole document.

The problem with this method is that it’s not portable. It’s great if you’re only exporting to PDF but if you want to also export to HTML, say, it won’t work. The proper way of handling the general case is to define the variables at the Org level as described by Mike Hamrick in his excellent video Consistent Technical Documents Using Emacs and Org Mode that I wrote about wrote about previously.

In either case, the idea of defining variables in one place and using their values throughout the document makes a lot sense precisely because it makes it easy to change those values when needed without scanning the entire document. Take a look Hamrick’s video to see how powerful the method can be.