Avatar

Hopscotch

Hopscotch@lemmy.ml
Joined
0 posts • 29 comments
Direct message

[Can] a patch can kind of be like a hook?

In the free software world, a patch usually describes a file that lists lines to be added to or removed from another file (or multiple files). The most common use for this is probably with actual source code.

Binary (non-text) patches are also possible, and in Windows a software bug-fix “patch” would likely be mostly binary. In the free software world, it’s uncommon to use binary patches for updates; instead the source is patched (either in the main upstream project or by a distribution) and a new binary package is built and published.

Where you create a config file that has symlinks to all the executables like you mentioned?

I don’t really understand how those two questions relate, so I may not be able to give you a good answer. Often a configuration file has a variable=value structure, but it would certainly possible to have a list of file paths in a configuration. However, this might instead be implemented as an actual directory (like ~/.config/app/pre-hook.d/) where each executable file in that directory is executed by the “pre” hook in the app. (Configuration directories often work very similarly also.)

Whether the paths are symlinks is likely to be irrelevant, as this is more a filesystem level feature that would often be ignored entirely by the application.

I hope this is helpful.

permalink
report
parent
reply

A hook is a mechanism for adding functionality at a certain point in a program’s normal flow. As a simple example, imagine a program that works by doing three things in order. It could have hooks that allow the user to add actions before or after any individual steps. Each possible point in the flow is a separate hook. One way to implement it is with a directory for each hook in the program’s configuration directory, where executables can be placed; the hook runs each executable in sorted order.

I didn’t look up any of this, so it may not be the best explanation, but I hope it is helpful.

permalink
report
parent
reply

From the README at the current published commit:

The current focus is on implementing next-word suggestions, which has become complicated/hit a snag and is taking more time than originally planned. Updates will come when this issue is resolved. Thank you for being patient.

Prior to this, releases occurred quite regularly.

permalink
report
reply

Bad headline. She was not actually attacked by either one.

permalink
report
reply

Wouldn’t it be far better to compare fuel cost per mile ($/mile)? This graphic seems useless to me. Maybe I’m missing something.

permalink
report
reply

@whatever and @Flyswat, you’re right, it still happens with Jerboa 0.0.42. I didn’t realize the behavior was related to the specific keyboard in use.

permalink
report
parent
reply

Thanks for posting the GitHub link.

permalink
report
parent
reply

Yes, and it is very annoying. However it does not seem to be happening now with Jerboa 0.0.42.

Edit: This is still happening for me too, as of Jerboa 0.0.42, with the AOSP keyboard. It does not happen in any other apps.

permalink
report
reply

Is there a list

One list to look at is

https://prism-break.org

permalink
report
reply