Just spent a good half hour pulling my hair out trying to figure out why one of the #elisp functions I had just written was always returning nil
when I tested it. Turns out, my test was mistakenly passing its inputs to the wrong (but similarly named) function (pivot-table-get-columns
instead of pivot-table-get-body
).
#Haskell's type system would've caught this. 🙃
S3 E34 His Way Ministries - Granddaughter of a Pro-Life Activist and Cult Leader
In this episode of the Cult Vault podcast, host Kacey speaks with Emily, a third-generation cult survivor whose grandfather was the leader of His Way MinistriesSpreaker
Okay, so this keeps happening. Up 'till now I've been able to fix it with a thorough cleaning, but no such luck this time.
Suggestions?
reshared this
like this
reshared this
- YouTube
Auf YouTube findest du die angesagtesten Videos und Tracks. Außerdem kannst du eigene Inhalte hochladen und mit Freunden oder gleich der ganzen Welt teilen.youtube.com
So, keeping a #journal in #teeline has had some unexpected benefits for my #ADHD brain beyond my handwriting just being more able to keep up with the rate of my thoughts.
I might blog about this later, but the TL;DR is that the process of transcribing my entries requires me to think deliberately about the meaning of every word I've written.
reshared this
@Alessio Vanni Yeah, it's just very magic number-ey.
Ah well, such is the way it is with legacy code sometimes. No way to change it without breaking about a billion other things.
Join Me at CrimeCon London 2025: Exploring Coercive Control
I'm thrilled to announce that I’ll be speaking live at CrimeCon UK in London on June 7th and 8th, 2025! As the host of The Cult Vault, I’ve spent years exploring the hidden dynamics of coercive control — and now, I’m honoured to be joining a panel of…cultvaultpodcast (TheCultVault)
S3 E33 Animal Abuse and Power: What You Are Not Being Told
In this episode of the Cult Vault Podcast, host Kacey speaks with Maya Badham, founder of Safeguarding Human and Animal Survivors of Sexual and Domestic Abuse (Spreaker
The Hidden Links Between Animal Abuse and Coercive Control: A Deep Dive with Maya Badham
In the latest gripping episode of The Cult Vault Podcast, host Kacey welcomes Maya Badham, founder of Safeguarding Animal & Human Survivors of Sexual and Domestic Abuse (SAHSDA), for a powerful and eye-opening discussion on the intersection of animal…cultvaultpodcast (TheCultVault)
I like using org tables with org-babel like so:
#+NAME: test
| 1 | 4 |
| 2 | 5 |
| 3 | 6 |
#+begin src emacs-lisp :var test=test
(mapcar
'(lambda (r)
(mapcar '(lambda (x) (* x x)) r)) test)
#+RESULTS:
| 1 | 16 |
| 4 | 25 |
| 9 | 36 |
Dane's law: There is not a hobby in existence that has any kind of an upper limit on how much money you can spend in it.
Fountain pens? Sure, there's the Platinum Preppy and Pilot Varsity, but also Momtblanc and Visconti!
Amateur Radio? Sure there's your $30 Baofeng, but also your $20,000 kilowatt at-home HF shack!
Drones? Sure, there's your $20 supermarket drone, but also tens of thousands of dollars super high performance FPV racing drones
Computing? $35 raspi vs at-home supercomputing cluster, just for giggles!
Jonathan Lamothe likes this.
reshared this
@paradoxmo I'm currently using a TWSBI Diamond 580. As for the technique, I was basically just making a rookie mistake:
Inside the Source Family: A Conversation with Wendy Baker on Cults, Counterculture, and Personal Growth
In a recent episode of The Cult Vault Podcast, I had the incredible opportunity to sit down with Wendy Baker, a former member of the infamous Source Family.cultvaultpodcast (TheCultVault)
reshared this
Jonathan Lamothe likes this.
S3 E32 The Source Family: In Conversation with Father Yod's Daughter-in-Law
In this episode of the Cult Vault podcast, host Kacey speaks with Wendy Baker, a former member of the Source Family and daughter-in-law to the leader, about herSpreaker
Penfount • Pen Community reshared this.
Well, there's dip pens. 😉
It looks like I wasn't moving the pen enough. As I would keep writing, the shimmer would collect in the feed until it just straight-up clogged. I didn't realize I had to periodically roll the pen around even while I was actively using it. This should have been obvious by the fact that my writing kept getting more and more, well... shimmery before the ink stopped flowing.
I'll try this approach in the future.
Rookie mistake, but in my defense, I didn't even know that shimmer inks were even a thing until late last year.
I have successfully built my first #Emacs package. I want to clean it up a bit before I consider releasing it though. Also, while I can build a simple (single file) package, buildig a multi-file one is still eluding me.
When I try to install it, I get the following (less than helpful) error message:Wrong type argument: stringp, nil
Is there a way I can get more detail on why this is failing?
reshared this
here’s a large project, still in one file:
GitHub - protesilaos/denote: Simple notes for Emacs with an efficient file-naming scheme
Simple notes for Emacs with an efficient file-naming scheme - protesilaos/denoteGitHub
@🇺🇦 Myke Yes, it can be done that way as well.
That still doesn't negate the point that I want to know how to build a multi-file package.
Besides, sometimes I like to learn stuff just for the sake of learning it.
So Katy has a #Jinhao10 and today the clicker seems to be jamming. When pressed, it seems to resist extending or retracting the nib. I'm giving it a cleaning right now to make sure there was no debris or anything in there stopping it from working, but I don't know if that'll fix it.
Has anyone experienced this before? Is there a fix?
Verena likes this.
reshared this
Is the trap door opening/closing properly? It could be wedged somehow. You should be able to poke the nib unit through it manually with the top removed and see if it works as expected.
Also when it's apart you can press the rear of the nib unit up into the tail and press the button and see if it operates normally that way.
Then you at least know which end of the pen is misbehaving.
Exposing the Troubled Teen Industry: Kari Bunn on CEDU, Cult Ties, and the Fight for Accountability
From survival to storytelling—how one woman is shedding light on institutional abuse.In this gripping episode of The Cult Vault Podcast, host Kacey welcomes Kari Bunn, a survivor of the infamous CEDU reform school and a vocal advocate exposing the da…cultvaultpodcast (TheCultVault)
Katy likes these YouTube channels where they teach about canning and such. One of the people in one of these videos is wearing a shirt with what looks like an AR-15 that says "defense is not a crime".
What in the cinnamon toast fuck do you need an AR-15 to defend yourself from?
reshared this
Got my hair cut for the first time in probably a year because I have an interview tomorrow for a job I really want to get (and think I have a pretty good shot at).
It looks decent, but has revealed a good deal more grey than I'm accustomed to seeing.
Jonathan Lamothe likes this.
Jonathan Lamothe
in reply to Jonathan Lamothe • •I've run into a snag.
I have a function,
pivot-table-get-columns
(shorthanded aspt-get-columns
). Its job is to take an #OrgMode table and produce an alist of mappings of column names to column numbers. The column names are as defined by section 3.5.10 of the org-mode manual.My code is here.
When I pass this function a table without column labels, it crashes on the
format
line (which it shouldn't even be reaching).Can someone explain to me what I'm doing wrong?
(cc: @screwlisp )
#emacs #elisp
Edit: I've been beating my head against a wall for some time on this getting nowhere and less than a minute after asking this, I see it. My first
unless
should be awhen
. I'll fix it later.reshared this
screwlisp and Chip Butty reshared this.
screwlisp
in reply to Jonathan Lamothe • • •actually, I'm unaware of
(setq result (((format "%s" cell) . n) . result))
being a permissable form. It looks like
(setq result `((,(format "%s" cell) . ,n) . ,result))
to me but I might be wrong. Does it fix the problem or did you have another insight?
screwlisp
in reply to screwlisp • • •screwlisp
in reply to screwlisp • • •screwlisp
in reply to screwlisp • • •screwlisp
in reply to screwlisp • • •Vassil Nikolov
in reply to screwlisp • • •@screwtape
> in common lisp compilers are allowed to coalesce
[constants]Right, for details see what the _file_ compiler in particular may do.
Jonathan Lamothe
in reply to screwlisp • •I did some testing and found that if I pass a named table into a source block as a variable, it automatically gets converted into s-expression form.
See below:
Jonathan Lamothe
in reply to screwlisp • •@screwlisp I've not seen the comma prefix used outside a macro before. Also, this would probably be better written as:
(push (cons (format "%s" cell) n) result)
It would certainly be more legible.
Jonathan Lamothe
in reply to Jonathan Lamothe • •@screwlisp Huzzah! That along with your point on
eq
vs.equal
did the trick!Now I've just got to, you know, write and document all the rest of it.
If this works out, I'm really excited about publishing it. I was surprised that it didn't already seem to exist.
screwlisp
in reply to Jonathan Lamothe • • •it is very exciting!
commas have to appear inside backticks, and backticks are just quotes that can have certain things inside of them unquoted (using a comma).
Macros to a large extent work like this because one principle of lisp is that lisp code be regular lisp sequences. At read time, the function names are just symbols. So it's a list of symbols/atoms and lists.
However, sometimes we /do/ want to run some code, hence backtick and comma/unquote.
screwlisp reshared this.
Vassil Nikolov
in reply to Jonathan Lamothe • • •@screwtape
> the comma prefix used outside a macro
Backquote forms are merely list (S-expression) constructors where some pieces are constant and some pieces are evaluated.
(The latter are marked with commas.)
Such forms can be used anywhere.
Obviously they are often used in macros, because macro functions construct lists (S-expressions).
I often write
`(,foo ,bar)
instead of
(list foo bar)
because the former seems clearer, especially when the structure is more involved.
#CommonLisp
Vassil Nikolov
in reply to screwlisp • • •@screwtape
> `((,(format "%s" cell) . ,n) . ,result))
In Common Lisp you would write
`(... ,@result))
but right now I am only fairly sure that Elisp has comma splicing.
#CommonLisp
#Elisp
Christian Tietze
in reply to Jonathan Lamothe • • •Jonathan Lamothe likes this.
hajovonta
in reply to Jonathan Lamothe • • •Jonathan Lamothe likes this.
screwlisp
in reply to hajovonta • • •Sensitive content
trivial-pivot-tables
Sacha Chua
in reply to Jonathan Lamothe • • •GitHub - tbanel/orgaggregate: Aggregate tables in Org mode
GitHubZeStig
in reply to Sacha Chua • • •Jonathan Lamothe
in reply to Sacha Chua • •Sacha Chua
in reply to Jonathan Lamothe • • •Jonathan Lamothe likes this.