#WritingMonth check-in.

How is everyone doing?

I wrote a short prologue for my novel tonight. I have had this scene involving soda in my mind for a long time. After a bit of research, I found I can legally refer to Mountain Dew in the context of this vignette.

@amin @bbbhltz @rl_dane @adhemara @orbitalmartian @roguefoam

@nantucketlit @amin @bbbhltz @rl_dane @adhemara @roguefoam I've written a grand total of 71 words of my 10,000 word goal.

I need to sit down and write some more.

@orbitalmartian @amin @bbbhltz @rl_dane @adhemara @roguefoam What's your novel about, if you don't mind sharing?
@nantucketlit @amin @bbbhltz @rl_dane @adhemara @roguefoam To be completely honest, I don't even know. The start that I've got is inspired by Star Trek.
@nantucketlit @amin @bbbhltz @rl_dane @adhemara @roguefoam Well, I did a bit of writing tonight. Not much but getting there. A whole 14 words, taking my total to 85 words/10,000 word goal.

@rl_dane @nantucketlit @amin @bbbhltz @adhemara @roguefoam Any progress is good progress, I really need to sit down and spend some time writing.

Maybe I need to add a WritingMonth mode to my text editor (which is funnily enough what's been taking my attention from writing).

@orbitalmartian @nantucketlit @amin @bbbhltz @adhemara @roguefoam

Which editor, and what would the mode do? :)

apollo

Apollo is a simple text editor.

Codeberg.org
@amin @rl_dane @orbitalmartian @bbbhltz @adhemara @roguefoam So, once the repo is cloned, how does one use Apollo? I assume that 'make' is used at some point.

@nantucketlit @rl_dane @orbitalmartian @bbbhltz @adhemara @roguefoam

Haven't tried it yet but I assume it's just running "python main.py" at this point, or something like that. There may be dependencies needed, I dunno.

A good long term goal for Orbital may be to use something like hatch to manage dependencies, building the package, etc. I've been moving most of my Python projects to it, including a bunch of Clew's stuff, and plan to move Writing Month to use it.

Hatch - Hatch

Modern, extensible Python project management

@amin @nantucketlit @rl_dane @bbbhltz @adhemara @roguefoam I have no idea about actually packaging it. Currently, the way to use is python main.py. I need to commit a quick change because I forgot that I changed a filename so it's trying to pull an old one through.

@orbitalmartian @amin @nantucketlit @rl_dane @bbbhltz @adhemara @roguefoam
if you don't like that you have to manually call it with python, you could add a #! on the first line like

$ ./apollo
Hallo
$ cat apollo
#!/bin/env python

print("Hallo")

@kabel42 @orbitalmartian @nantucketlit @rl_dane @bbbhltz @adhemara @roguefoam

I think I've seen /usr/bin/env more often than /bin/env but they both appear to work on my system.

@amin @bbbhltz @nantucketlit @rl_dane @kabel42 @orbitalmartian @roguefoam that’s because you got Poettering’d; env is canonically in /usr/bin and you must use that pathname if you use it for pth searches in shebangs and the likes
@orbitalmartian @roguefoam @rl_dane @kabel42 @amin @nantucketlit @bbbhltz using #!/bin/env python3 is actually worse than #!/usr/bin/python3 as the latter works on more systems. (#!/usr/bin/env python3 is preferrable, of course.)
@mirabilos @orbitalmartian @roguefoam @rl_dane @amin @nantucketlit @bbbhltz
i claim typo, i wanted to write /usr/bin/env and then got distracted...
but yeah, on arch /bin is a symlink to /usr/bin because the static binaries are in the initrd
@orbitalmartian @roguefoam @rl_dane @amin @nantucketlit @kabel42 @bbbhltz no, because Poettering does not know where to put binaries
Arch Linux - News: Binaries move to /usr/bin requiring update intervention

@mirabilos @bbbhltz @nantucketlit @kabel42 @amin @orbitalmartian @roguefoam

I know /sbin was typically for statically-compiled binaries (although this is not always the case anymore, even on OpenBSD, IIRC) vs /bin, and of course /usr/local/bin is for Ports on BSD or user-installed packages on Linux (lol sigh), but what was the distinction between /bin and /usr/bin?

man hier on Debian says that /bin is for binaries needed for single-user mode, although debian now just symlinks /bin to /usr/bin XD

@rl_dane @bbbhltz @nantucketlit @kabel42 @amin @orbitalmartian @roguefoam

/usr/local/bin is for Ports on BSD or user-installed packages on Linux

This is a bit of a bad decision on the OpenBSD side, but they almost certainly didn’t know it back then and /usr/local/include being on the default include path helped them back then.

/usr/local is for stuff the local admin puts there. Packages should use something else (e.g. /usr/pkg in pkgsrcĀ®, /usr/mpkg in MirPorts).