Skip to main content



So, I've been using nov.el for #emacs to read epubs. It does a pretty decent job of it, but I have one point of irritation: I can't for the life of me find a way to tell how far through the book I am. Is there some way to see this?
in reply to Jonathan Lamothe

I think this might help
codeberg.org/divyaranjan/emacs…

ps - I know this is not related to your question about nov.el specifically but I saw its readme, it shows page number in modeline

This entry was edited (4 hours ago)
in reply to मोक्ष / untrusem ⁂

@मोक्ष / untrusem ⁂ This package appears to render documents using SVG output. Considering that I spend 95% of my time in the terminal, this would likely be a deal-breaker for me unfortunately. 🙁
in reply to Jonathan Lamothe

this is for Doom but might give you some ideas? I stole some code from here and it's a bit beyond me but involves setting a custom modeline when in nov mode > tecosaur.github.io/emacs-confi…


Little by little I've been going more and more analog. I still track every little thing I need to do in my #OrgMode system to help manage my #ADHD, but that list itself can get a little overwhelming. I've started combing over it in the morning, picking out the most critical things for that day and writing them down on a paper checklist in a small notebook I keep in my pocket. The notebook has the advantage of not distracting me with a thousand notifications every time I'm trying to do something productive.

Plus, I just really like having an excuse to put a nice #FountainPen and ink to paper.

Edit: slightly less clumsily worded

reshared this



Trying to design a custom phone holder for the dashboard of our car because it's a weird design that makes conventional ones unusable (I don't trust the suction cup ones).

Taking the measurements has made me painfully aware of just how... curved everything is on a dashboard. 🤬

Shannon Prickett reshared this.

in reply to Brian Sullivan

@Brian Sullivan We've got a similar one that suction cups to the windshield. I didn't want to permanently affix the plate to my phone (especially since we have two phones between the two of us).

Thought I could get around it by putting the plate inside of the case, but it holds much less securely that way (though the suction cup has still historically been the weakest link).

Our current solution involves a wooden block and a sock. It works, but my plan is a decided upgrade.

in reply to Jonathan Lamothe

This one works well even with spirited driving (it's in my Porsche).


Katy needed a washi tape dispenser. She was using an old aluminium foil box as a makeshift one, but she didn't like it.

An hour with OpenSCAD later and I've designed us a simple custom one that fits our use case exactly. I just need to get it printed.

God, that was satisfying.




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. 🙃

#emacs #lisp

in reply to Jonathan Lamothe

C's type system would also have caught it, and it isn't worth a hill of beans.

By caught it what do we mean? This is not a case of some undetected error escaping your attention due to dynamic typing. You know you got a nil which is unexpected and wrong. It's in a test case which catches it.

The only thing a type system would change is that you would instead waste a half hour not understanding how your obviously correct function call can possibly have the wrong return type.

in reply to Kazinator

@Kazinator I feel that that would have been much more useful information. nil is about the least useful failure state there is.


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?

#FountainPens


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?

#FountainPens


reshared this



Fine, I'll build an #emacs pivot table package for #org-mode.

reshared this

in reply to Jonathan Lamothe

Possibly related: github.com/tbanel/orgaggregate , could always use an easier interface =)
in reply to Sacha Chua

it's only a matter of time before Org obsoletes SQL /j
in reply to Sacha Chua

@Sacha Chua This looks like it could solve my problem but I've already started down the rabbit hole.
in reply to Jonathan Lamothe

haha, no worries, I'm sure your adventure will help you learn interesting things!

in reply to Jonathan Lamothe

youtube.com/shorts/rEQhA-JJlH0


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.

#ActuallyADHD #FountainPens

reshared this



For all the criticism I have of dynamically typed languages, I have to admit that the way #elisp (and presumably #lisp in general) does in-line documentation is pretty nice.


The seemingly canonical way of detecting whether the C-u modifier was used on an interactive function call (when an actual numerical argument wasn't provided) in #elisp feels... icky. #emacs
in reply to Jonathan Lamothe

To be fair C-u *is* a numerical argument so you're not really meant to differentiate (it means the number 4). 😅
in reply to Alessio Vanni

@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.



Nintendo in my email today: We have updated our terms of service. If you agree, do literally nothing. If you disagree, please jump through the hoops necessary to delete your account.

How is this legal?

reshared this



Me: I'm just going to specify these #org-mode table formulas so that they can be executed sequentially to update this whole table in a single pass.

org-mode: Hey bro, let me automatically sort those by position for you. You're welcome.

Me: 🤦‍♂️

#emacs



Wrapping my brain around using #org-mode as a spreadsheet. Is there a way to pass a range of cells as a vector to a custom function? Ideally, I'd like to embed this function into the file itself. #emacs

bjb reshared this.

in reply to Jonathan Lamothe

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)

#+end src

#+RESULTS:
| 1 | 16 |
| 4 | 25 |
| 9 | 36 |


in reply to Jonathan Lamothe

Okay, the problem seems to have been the charger. Still annoying, but less problematic.


I wonder how difficult it would be to introduce rudimentary namespaces into #elisp.

#emacs

Harald reshared this.

in reply to Jonathan Lamothe

Just learned about interned vs. uninterned symbols. Feels like this would be a big piece of this puzzle.


So, I absolutely can't afford to start yet another hobby, but I really want to get into book binding.
in reply to Jonathan Lamothe

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!



So, I've finally settled on a technique to keep shimmer inks from clogging my #FountainPens and it's working well, but it's not exactly condusive to writing in #teeline which is what I use 90% of the time these days.

reshared this

in reply to paradoxmo

@paradoxmo I'm currently using a TWSBI Diamond 580. As for the technique, I was basically just making a rookie mistake:


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.




It always amuses me whenever I think about the fact that I got one of my favourite #FountainPens for free with a bottle of ink. It's even more amusing that I've never inked that pen up with that ink.

reshared this

Unknown parent

friendica (DFRN) - Link to source
Jonathan Lamothe

@Kate McDonald It's a bit of a pain to work with because I only use it with a dip pen* and have to juggle that with a UV flashlight. That aside, it works really well. Completely invisible under normal lighting conditions and shows up really well under UV.

* Because I feel that cleaning it out of a regular pen would be a pain.



So, with this past #Inkvent calendar, I've found myself in possession of a bunch of shimmering inks. Problem is that they tend to clog my #FountainPens. Are there any inexpensive pens that handle shimmering inks well?
in reply to Jonathan Lamothe

"Are there any inexpensive pens that handle shimmering inks well?"
Well, there's dip pens. 😉
in reply to Jonathan Lamothe

I bought a few of those small plastic "Dinky Dips" ink containers- they come in three sizes. I can use my ink syringe to put some of my shimmer ink into a Dinky, add a drop or two of Gum Arabic (to help make it more dip nib friendly), and it's a better size--- you can use the dip nib to stir the ink each time you dip it in, since it's not that deep and the container mouth is wide (straight up and down shape). Inks stores well in it, the plastic cap screws tight. Just a thought!
in reply to Jonathan Lamothe

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.



Why do I always find little stupid mistakes in my code shortly after publishing a release? It's almost like code review is beneficial or something.


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

in reply to 🇺🇦 Myke

@🇺🇦 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?

#FountainPens

reshared this

in reply to Jonathan Lamothe

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.

in reply to Jim P.

@Jim P. It looks like there was some debris caught in the mechanism. A good cleaning seems to have resolved the issue. I'm a little confused as to where it came from though.


mh
Coming down off a panic attack relapse. I'm medicated and laying in bed in the dark. I don't know of this was the right strategy, but I needed to stop the fireworks in my brain, and shutting out as much external stimulus as possible seemed the right thing to do.
in reply to Jonathan Lamothe

mh

Sensitive content



uspol: 2A nonsense

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

in reply to Jonathan Lamothe

uspol: 2A nonsense

Sensitive content

in reply to Jonathan Lamothe

uspol: 2A nonsense

Sensitive content



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.



This morning Katy noticed a rash all around my neck. I can only attribute it to the new (to me) shirt I wore yesterday. It's like my body has revolted against wearing a shirt and tie ever again.
in reply to Jonathan Lamothe

if humans were meant to wear clothes, we would have been born that way.


Nothing quite makes you stand out at a Latin wedding like ordering the vegetarian option.


We just filled out the card for my niece's wedding. We took some time to figure out the perfect wording, select the right ink and nib, practice my handwriting so that it was on point, and after all that, I finally came to the realisation that I'm not certain as to whether or not she's old enough to have been taught cursive.


Is there any branch of the provincial or federal government that we haven't had to deal with today?

I suppose it's possible.



My niece is getting married this weekend. I'm having to alter my suit. Thought I was done having to wear those. 🙃


#Today I was asked for the first time if I'm a senior citizen. I mean, I have some grey in my beard, but I was masked so it wasn't visible.

I feel like I'm a senior citizen. Does that count?



gig economy rant

TIL that Instacart now charges a "membership" to get higher priority on assignment of batches. This does not guarantee you anything, it just allows them to further exploit a workforce they're already working to the bone.

Do they not realize that many (if not most) of the people who are working this job are doing it because they don't really have any other options? And they expect them to pay for the privilege now?

Just when I thought they couldn't possibly get any more predatory, they pull this shit.

Bernie Luckily Does It reshared this.

in reply to Jonathan Lamothe

gig economy rant
Also, I get the whole "don't bite the hand that feeds you" thing. I might take that more seriously if it was actually feeding me. Mostly it just slaps me in the face.


Does anyone know if anyone's still using #CommonLisp in the Real World™?

reshared this

in reply to Jonathan Lamothe

I used Common-Lisp on a few professional production projects; a data transformation system for moving data between two companys' different systems. An event processing engine that applies weird complex rules to GPS tracking locations. A web micro-service or two to support some mobile apps. All of those services, except maybe the first, are still running in production. Plus, of course, a few personal projects here and there.
in reply to Jonathan Lamothe

Nyxt browser is written in common lisp.

I'd say common lisp is alive and well.



For all the fancy climbers and beds and such that we've gotten for the cat, his two favourite places to hang out are a random paper bag and our boot tray.


mh
Hooray! Had a bit of anxiety today but no full-blown panic attacks.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.