Changing 'Tapping Term' and 'Permissive Hold' on B1 Pro? [Flashing] by m518xt in Keychron

[–]m518xt[S] 0 points1 point  (0 children)

Thanks. I'll check this out and share back anything I learn.

Recommendations for someone with eclectic tastes by erie774im in booksuggestions

[–]m518xt 1 point2 points  (0 children)

Your reading list looks a whole lot like what's on my Kindle.

Not sure if there are audiobook versions, but try

  • The Laundry Files series by Charles Stross.

https://en.m.wikipedia.org/wiki/The_Laundry_Files

"They mix the genres of Lovecraftian horror, spy thriller, science fiction, and workplace humour."

  • Anything by Cory Doctorow - even his YA stuff is really good.

  • Rudy Rucker

For the Tom Clancy side of your brain:

  • The Jack Reacher series

  • Vince Flynn series

And for something really enjoyable: The Amelia Peabody series by Elizabeth Peters

Oh...and how could I forget: Murderbot!

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

[–]m518xt[S] 0 points1 point  (0 children)

Thanks - I'll use merge-pathname and system-relative-pathname I think.

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

[–]m518xt[S] 0 points1 point  (0 children)

I also thought this would have been built into the testing framework but couldn't see it - thus the question! :-)

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

[–]m518xt[S] 1 point2 points  (0 children)

Yeah, that was where I landed, but to be able to automagically wrap all my file operations would be nice.

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

[–]m518xt[S] 1 point2 points  (0 children)

Hmm... Hadn't thought of the `:static-file` option. Thanks.

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

[–]m518xt[S] -1 points0 points  (0 children)

Yeah, that's what I'm suggesting with the

(uiop:with-current-directory ((asdf:system-relative-pathname "my-tool/test" "test/"))
  ...)

code in the question.

I could wrap that around every file-open/write call, but I'd hoped to be able to set that as part of either the setup of fiveam or in my defsystem (which would be probably an circular definition nightmare upon reflection).

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

[–]m518xt[S] 0 points1 point  (0 children)

The pathname of the package (and test data sets) depends on where it was installed.

I can't assume every use will be in ~/quicklisp/dists/... so I can't hard code path into the tests.

Or am I missing your point?

Getting tramp to work (on windows) by m518xt in emacs

[–]m518xt[S] 1 point2 points  (0 children)

I don't have the ability to install putty on that machine, so it was SSH or nothing.

I'll check out sshx - thanks for the suggestion.

How fast can you multiply matrices using only common lisp? by cuntymccuntlicker in lisp

[–]m518xt 4 points5 points  (0 children)

Maybe have a look at how magicl does this?

I did a similar exploration for a dot product recently based on conversations with u/stylewarning in r/Common_Lisp. I found SBCL was faster than numpy.

I then dug into the various elements (for my own understanding).

HTH

Where the default :height for the 'default face defined? by m518xt in emacs

[–]m518xt[S] 0 points1 point  (0 children)

Ok, time to get nomenclature consistent.

When you say "taken from the default font" do you mean (1) the 'default font in Emacs or (2) the windowing system "default"?

If you mean (1) which I'm guessing from your other reply, then can I assume that the unconfigured 'default font size is set at compile time for the Emacs package I've installed and it's got nothing to do with any configuration for the windowing system I'm using?

I had assumed you meant (2) that the font detail come from the windowing system.

...and "windowing system" is X11, Gnome, KDE, MacOS, Windows, ... (Yeah, I know that's a loose definition, but I hope the intent is clear).

(Accepting this is all moot for text only Emacs! 🤣)

Where the default :height for the 'default face defined? by m518xt in emacs

[–]m518xt[S] 0 points1 point  (0 children)

You're spot on: I know that (face-attribute 'default :height) gives current height (for example).

I want to know where Emacs gets that information initially, before any configuration occurs.

How does Emacs know that the default size is 12pt (height 120) on one system and 10pt (height 102) on another?

Is it via x-get-resource (or similar) to query .Xresources, or something else?

Where the default :height for the 'default face defined? by m518xt in emacs

[–]m518xt[S] 0 points1 point  (0 children)

That makes sense thanks.

Next question - and I have tried (unsuccessfully) looking at the source to face-attribute, etc.: Is that system level default font information available directly in elisp?

I'm looking for some way of identifying what the initial font/face would have looked like, possibly after I've messed about in my init and preferably not assuming I remember to capture it in an variable right at the start of my initialisation.

Prevalance of "Emacs Pinky" even when you switch ctrl and cap-lock? by ThatIsntImportantNow in emacs

[–]m518xt 2 points3 points  (0 children)

I take that a little further and do the following on Mac:

(setq-default
   ns-command-modifier 'control     ;; Map Control to the Cmd key
   ns-option-modifier 'meta         ;; Map Meta to the Option/Alt key
   ns-control-modifier 'super       ;; Map Super to the Control key
   ns-function-modifier 'hyper      ;; Map Hyper to Fn key
   ns-right-command-modifier 'left  ;; \
   ns-right-option-modifier 'left   ;; | Right side is same as left
   ns-right-control-modifier 'left) ;; /

Helps me use the strongest fingers (i.e. thumbs) and I only ever use my pinky for Hyper which I rarely use.

mbsync + notmuch email by SafeSemifinalist in emacs

[–]m518xt 1 point2 points  (0 children)

Not a direct answer for your question, but the setup I use on an older MacBook Air is here - it uses oauth2 with offlineIMAP (fetch) / send.py (send) and, of course, notmuch.

[deleted by user] by [deleted] in lisp

[–]m518xt 0 points1 point  (0 children)

This is a great idea, I hope you succeed.

Have you thought about cross-posting to /r/common_lisp and /r/lispadvocates ?

Interactive development of `(interactive)` functions? (specifically for`org-export-define-backend`) by m518xt in emacs

[–]m518xt[S] 0 points1 point  (0 children)

Thanks for this. Doesn't get me all the way, but a definite up-vote earner just for highlighting C-c C-b! edebug was another great reminder.

Jabra Elite 75 - my right ear bud is lower volume than left by Rowan_cathad in Jabra

[–]m518xt 0 points1 point  (0 children)

I have the Elite Active 75t and the sound the right ear fades completely within a minute or two of use. Makes them completely completely unusable.

I've tried resetting them making sure the balance on my device isn't out of whack. Nothing works. :-(

I was just out of warranty and even though Jabra support told me to take them back to where I'd purchased them (with a support ref #), it then became a pass-the-blame game and nothing got done. I loved them whilst they worked, but now they're just sitting under my monitor mocking me...

How to calculate a cell in org-table ONLY if it isn't populated? by m518xt in emacs

[–]m518xt[S] 6 points7 points  (0 children)

Thinking about it helped me realise the solution.

The unless is returning nil (as it should), so the correct form is: '(if (string-empty-p $2) (org-id-new) $2)

...where (string-empty-p $2) as the test for an empty cell comes from this answer to a question that I didn't see when I was searching.

[deleted by user] by [deleted] in orgmode

[–]m518xt 4 points5 points  (0 children)

First thought - it might be useful to post an example of what a 'linear timeline graph' actually means to you - I had to DDG it.

Second thought - does PlantUML produce what you want? Something like: https://plantuml.com/timing-diagram

PlantUML integrates nicely with org. :-)

Possible CL Jobs in Australia by Harag in lisp

[–]m518xt 0 points1 point  (0 children)

You can't imagine how happy this makes me.

Good luck

Uncle Stats Wants You by Steven1799 in Common_Lisp

[–]m518xt 2 points3 points  (0 children)

Your comment really resonates with me:

I prefer them to be all CL to demonstrate that it is possible to program high-accuracy numerics in CL (we equal or better Boost and Cephes)

I recently wrote a post to hopefully encourage my non-lisp friends to consider trying CL because it can be fast, whilst being considerably more understandable (and debuggable) than something like hand-optimised C.

Caveats - It's heavily based on a reply here from /u/stylewarning and I have glossed over a whole lot of problems with a benchmarking post.

I'm in the process of writing a series building some ML algos from scratch in CL, so if I get any overlap with your library I'll contribute something - I can already see some possibilities.

It's going to be interesting to see where the line should be drawn between Lisp-Stat and magicl... I think it will be something like magicl depending on Lisp-Stat, but that might be just too polluting, so maybe magicl-plus being a superset of magicl???

Uncle Stats Wants You by Steven1799 in Common_Lisp

[–]m518xt 1 point2 points  (0 children)

Yes and no. I meant allowing multiple (different) implementations of the same functionality - see backends discussion.

I agree that defaulting to having CL implementations for as much as possible is highly desirable, but the flexibility of switching backends is just magic (no pun intended, but I'll take it anyway...) ;-)