attempt to post from emacs (M-x eww) failed miserably lol, maybe need to figure out ‘eww’ right xD
@darch@neotxt.dk could also skip reboot
and instead use systemctl start yarnd.service
@ullarah@txt.quisquiliae.com related: https://github.com/MrGlockenspiel/activate-linux/issues/7
what I ended up thinking about that meme thread is that either computer illiterate people have to be taught how to unix, or simply kick them out and forbid them the use of tech
@news@twtxt.net hmm, might attempt to try running it again or something
@prologic@twtxt.net I remember the GPL mostly being a no-op when it came to Apple Store, but afaik, I doubt the problem is even a thing anymore….
@ullarah@txt.quisquiliae.com thank Apple for being less bitchy this one time ;P
for instance, I realized that my gopb
work in progress is stalled because of not being able to figure it out right
is it just me or cobra (library) only makes things way more difficult than they already are lol
@mckinley@twtxt.net this made my day
@si3t.ch@si3t.ch good read
@jlj@twt.nfld.uk I don’t usually bother with anything heavily involving a web browser besides misskey/yarn/nixers so not really
also either implementation is really really picky about web browsers (I presume it prefers firefox or chrome)
@jlj@twt.nfld.uk which peercalls variant you host on nfld, the original one in jabba the hutt script or prologic’s rewrite?
@prologic@twtxt.net yup, also it even got mentioned by said site
/*
This is a silly nofetch(1) reimplementation in Go.
Where most information is provided by yourself!
i.e. OS, ARCH, HOSTNAME
*/
package main
import (
"fmt"
"os"
)
func main() {
fmt.Printf("User: %s (%d) \n",os.Getenv("USER") ,os.Getuid())
fmt.Printf("Editor: %s \n", os.Getenv("EDITOR"))
fmt.Printf("Operating System: %s \n", os.Getenv("OS"))
fmt.Printf("Architecture: %s \n", os.Getenv("ARCH"))
fmt.Printf("Hostname: %s \n", os.Getenv("HOSTNAME"))
fmt.Printf("Shell: %s \n", os.Getenv("SHELL"))
}
akoizumi@mizuki: /usr/home/akoizumi OS=$(uname -sr) ARCH=$(uname -m) HOSTNAME=$(hostname) go run nofetch.go
User: akoizumi (1001)
Editor: emux
Operating System: FreeBSD 13.0-RELEASE-p6
Architecture: amd64
Hostname: mizuki
Shell: /bin/sh
@ullarah@txt.quisquiliae.com @mckinley@twtxt.net they aren’t shown on the web UI and that was perfectly intended as @prologic@twtxt.net told me about it the other day
@prologic@twtxt.net
Three billion devices suffer!
Java, #3 masochism platform
How does it work in evil mode? Are the vim bindings everywhere or only within the code editor?
everywhere, also because of already being used to it
This is /way/ easier than I thought now https://gt.kalli.st/novaburst/home-v2/src/branch/galaxy/emacs/.emacs.d/init.el
@prologic@twtxt.net “retweet” in twitter slang, “boost” in mastodon slang
@mckinley@twtxt.net hosting one requires node.js so it’s not worth the effort XD
azuki · alternative command-line yarn client
something that will be forgotten by me anyway
@prologic@twtxt.net some blockchain thing basically lol
@prologic@twtxt.net attempt to write a one-off (without daemon) service manager, by the way
here’s a basic sketch in Go
package main
import (
"flag"
"fmt"
"os"
)
var (
kill = flag.String("k", "", "stop a unit")
restart = flag.String("r", "", "restart a unit")
start = flag.String("s", "", "start a unit")
)
main() {
flag.Parse()
if flag.NArg() == 0 {
fmt.Fprintf(os.Stderr, "Usage: svc [options] [service] \n")
flag.PrintDefaults()
os.Exit(1)
}
}
@prologic@twtxt.net what do you think about this thing?
#!/bin/sh
set -e
svcdir="${svcdir:-$HOME/.svc}"
PATH="$PATH:$svcdir"
[ -d ${svcdir} ] || mkdir -p ${svcdir}
cd ${svcdir} || exit 1
fn_usage() {
printf "Usage: %s [ -k | -r | -s ] \n" "$(basename "$0")"
}
if_exec() {
if ! [ $(stat -l ${2} | awk '{print $1}') = "-rwxr-xr-x" ];then
printf "%s: %s is not executable \n" "$(basename "$0")" "$2"
fi
}
case $1 in
-k)
if_exec ${2}
${2} ${1}
;;
-r)
if_exec ${2}
${2} ${1}
;;
-s)
if_exec ${2}
${2} ${1}
;;
esac
akoizumi@mizuki: /usr/home/akoizumi cat .local/bin/em
#!/bin/sh
set -e
if ! [ -z "$(pgrep emacs)" ]; then
emacsclient -u -c "$@"
else
emacs --daemon
emacsclient -u -c "$@"
fi
@prologic@twtxt.net Up Next: Sporks @mckinley@twtxt.net
@prx@si3t.ch happy birthday
@movq@www.uninformativ.de can (La)TeX be used without those heavy dumpster fires? lol
ActivityPub seems to be relegated to a very few applications aimed at mimicking GAFAM, and nothing more.
<@jan6/Rizon> https://github.com/zeroby0/pranks
https://git.tilde.institute/novaburst/misc/home/tree/.emacs.d/init.el?h=main
I’ve got used to only two default keybinds on Emacs, those being C-x
and M-x”
also ‘native client’ by the way, is often a node.js JavaScript interpreter, usually needed on Microsoft Windows systems.
(avoid)
@mckinley@twtxt.net what about Vimium (as the name implies it’s for chrome/chrome-derivatives)
@mckinley@twtxt.net why not just use luakit or qutebrowser instead
(plot twist I use evil-mode on emacs)
vim was fun and all but my boredom won once again
ended up demoting vim to backup editor
@lyse@lyse.isobeef.org vim assumed it was a regular lisp so XD
@tel@we.loveprivacy.club wait what