Skip to main content



They told me no spicy foods until tomorrow, but the curry in my fridge is beckoning...

It's not that spicy. Should I?

I probably shouldn't, right?

in reply to Jonathan Lamothe

Having been through many colonoscopies and colon cancer surgery last year my tendency is to trust "them".


One thing I like about running #Debian is that when some project adds something that people don't like, I get plenty of heads up before that version actually hits the official Debian repos. 🙃

in reply to Jonathan Lamothe

while the recursive name certainly helps, pizza developers use proprietary ingredients while mac and cheese development is fully free. The source code is in the name!

Although you could argue that Kraft Dinner is proprietary, but that's like a proprietary version of UNIX. People just go to it for nostalgia knowing it's way outdated, and any attempt to replicate it will give a better result.



ph

Taking my first dose of one of the drugs I was instructed to take before my procedure tomorrow.

How am I supposed to take this again?

*reads prescription label*

"Take as directed"

Thanks. 🙃




ph
Going in for a medical procedure (probably nothing to be worried about) that's going to require me to start a clear liquid diet tomorrow morning. It's gonna suck, but at least 12 years as a Mormon taught me how to deal with being hungry for an extended period (because fasting). I made sure to eat well for my last meal tonight though.
in reply to Jonathan Lamothe

ph (possible TMI - you've been warned)

So the procedire in question is a colonoscopy. In addition to the diet they've also prescribed laxatives. I just took the first dose a short while ago. Apparently these things work fast.

It's going to be an interesting night.

in reply to Jonathan Lamothe

ph (possible TMI - you've been warned)

Sensitive content

in reply to Jonathan Lamothe

ph (possible TMI - you've been warned)
Mercifully, I mostly slept through the night. This morning though... let's just say I shan't be leaving the apartment for any reason.


Another #elisp question: Why does #Emacs have separate bits for the meta key (2**27) and alt (2**22)? Aren't they the same key, or is it a remapping thing like the ESC prefix?
in reply to Jonathan Lamothe

Meta and ALT are not the same key.
The original keyboards used long ago had Ctrl, Super, Hyper, Meta, and ALT keys. We now map Meta (i.e. ESC) to the Alt key on our keyboards as a convenience. I do not believe there is a way, on modern keyboards, to have both META and ALT mapped to a key. We can have Super, and Meta. I can't recall if I was able to map Hyper on a modern keyboard.



Why would anyone think that an industry whose motto is "go fast and break things" could be trusted to make self-driving cars?

reshared this




Wow, I was on YouTube for a bit today and their ad targeting is just actively trash now.
in reply to nieuemma

@nieuemma Yeah, I've used such solutions on and off. They're great until Google intentionally breaks them, at which point I go back to the official client and forget about the alternatives by the time they're fixed. 🙃
in reply to Jonathan Lamothe

I haven't had that happen yet. One stops working and I move on to another one so far, which is maybe only a couple of months, at least one has worked for me.


elisp nonsense

I've been playing around with keymaps. Apparently they can be used to create menus that give the user a visual list of options. The canonical way to make them is aparently with make-sparse-keymap to create the menu and define-key to add options to it, but this causes some confusing behaviour.

Take the following example:

(let ((menu (make-sparse-keymap "My menu")))
  (define-key menu "a"
    '(menu-item "Foo" foo))
  (define-key menu "b"
    '(menu-item "Bar" bar))
  menu)

Yields the following:
(keymap (98 menu-item "Bar" bar) (97 menu-item "Foo" foo) "My menu")

Each new entry is added to the top of the list, so when the menu is displayed, they're listed in reverse order. This is very counter intuitive.

Now, I understand that the nature of lists in lisp make inserting an element at the top of the list less computationally expensive, but when you've already got to walk the whole list anyway to ensure the key binding isn't already present, this no longer feels like an adequate excuse.

Am I missing something?

#emacs #elisp

reshared this

in reply to Jonathan Lamothe

Define key is my least favorite way to make a keymap.

I like defvar-keymap, bind-keys, if you've got a map create already. Like a sparce map.

General is nice too. But then you have to have that installed.

in reply to Jonathan Lamothe

I think you've got it right. Many who write lisp think of adding to the head of the list as normal, even if they still have to walk it for things like uniqueness checks.


I virtually never set custom keybindings in #Emacs preferring instead to rely on M-x function calls because I had such a hard time finding key sequences that weren't used by something else. Since learning that C-c /[A-Za-z]/ is reserved for user-defined keybindings, I've gone mad with power.

reshared this

in reply to Lens

@Lens @Robert Pluim 🇪🇺 On my system C-z suspends Emacs and drops me back to the terminal until I issue the fg command to bring it back. I use this for issuing git commands. I could probably do this from within Emacs, but I haven't bothered to figure it out.
in reply to Jonathan Lamothe

@rpluim magit is a pretty awesome git porcelain I think you'd like. It's shipped with emacs by default
in reply to Jonathan Lamothe

@lens_r Another option is to run a shell within Emacs. I happen to like vterm, but there's term, eat, eshell and more
@Lens
in reply to Lens

@lens_r magit is awesome, but it's not part of standard Emacs. VC is, but that's not as good as magit for git (it's great however when you're forced to use some other version control system like CVS, since VC provides bindings that work whatever the underlying system is)
@Lens



I love that Instacart sent us a Starbucks gift card ro reward us for our "hard work and loyalty" on the same day they fired us. 🙃


A thing I keep seeing in #elisp documentation:

If such-and-such a condition occurs within function foo, it will signal an error.

Cool, which error exactly? I mean, I can wrap it in a condition-case and put a handler on t, but...

#Emacs

in reply to Zenie

@Zenie That's an option, but my concern is that the reason they might be vague in the docs is because the specific error might change in future versions.

Perhaps I'm just being overly paranoid.

in reply to Jonathan Lamothe

It's lisp. Stuff doesn't change that much.
Usually errors are obvious and for very specific reasons. You can just catch them and print the message so if anything does change you will know.
I don't think it's worth worrying about.


nerdy computer stuff

I've long known that certain ASCII control sequences could be mimicked by holding control and pressing a key, e.g.: backspace is CTRL-H, newline is CTRL-J, but I was today years old when I learned that the ASCII control code is just the ASCII value of the key being pressed along with control bitwise and-ed with 0x1f.

It feels weird that I hadn't caught onto this sooner.

in reply to Jonathan Lamothe

nerdy computer stuff

Sensitive content

in reply to Isaac Ji Kuo

nerdy computer stuff
@Isaac Ji Kuo I guess it's less obvious in decimal. I didn't learn about hexadecimal and binary until many years after learning about ASCII.



more venting

Welp, it looks like our Instacart account is probably cooked. We need to find a replacement for that income quickly.

Fortunately, we were already in the process of trying to do that because of the wear and tear it was putting on the car. I have a few irons in the fire, but nothing concrete yet. We need something we can do on an on-demand basis so that we can work when our mental health permits.

I'm notoriously bad at interviewing for jobs. It always involves some element of exaggerating the truth (a.k.a. lying) which I suck at. It turns out for instance that the honest answer to "why do you want to work here?" (so I don't starve and end up homeless) isn't a good answer. 🙃

in reply to Jonathan Lamothe

more venting

Looks like we've officially been fired from Instacart. It was the customer's word against ours. In the long run, this is probably a good thing as it was slowly killing our car with all the mileage it was putting on it. It was never meant to be a permanent solution anyway.

Edit: typo



venting about the medical system in Ontario (vague for privacy reasons)

My partner has been dealing with $condition for a very long time. In that time we have tried many therapies and medications without much success. We have found $medication_a which actually helps, but causes $side_effect which is not sustainable. Fortunately, we've found $medication_b which makes $side_effect tolerable.

She's been on a waiting list to see a specialist for a while and finally had her first appointment today. After a single 30 minute appointment, his solution was to increase $medication_a while completely stopping $medication_b. When she objected about $side_effect (which she'd already told him was the reason for $medication_b) he said to just do $obvious_thing as though we hadn't tried that already.

What's worse is that he faxed the order to our pharmacy canceling her previous prescriptions.

Of course, I am not a doctor but what the hell is this guy thinking??



I have one #org-mode gripe that comes up every so often. For all the ways I can filter my agenda view, why is filtering by priority not an option?

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