# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 2642
# self = https://watcher.sour.is?uri=https://twtxt.net/user/adi/twtxt.txt&offset=2142
# next = https://watcher.sour.is?uri=https://twtxt.net/user/adi/twtxt.txt&offset=2242
# prev = https://watcher.sour.is?uri=https://twtxt.net/user/adi/twtxt.txt&offset=2042
Front page Hacker New!🤩
Front page Hacker News and Lobsters! 🤩
Goat Counter is not bad, I agree.
Small statistics page https://s.mkws.sh/, all done via awk, log parsing and cron.
@prologic Directories, copy from production, fix the production bug, apply the fix on the current working copy. It's a good idea to understand that the projects are really small and simple.
I back up my whole $HOME every 30 minutes.
@prologic I prefer not that to for these projects, I run a back up cron every 30 minutes. It's not that I don't know how it's that I chose not to.
I've added some bash(1) related dotfiles to https://adi.onl/.*.html!
I feel grateful to @movq for pointing out https://keepachangelog.com/, for me it's a good idea because I don't use a versioning system! Thanks!
@david What kind of issues? What kind of help?
@david @prologic just saying

> We all learn it at the infantry school at Benning: hope is not a course of action.

https://mobile.twitter.com/WarintheFuture/status/1497716050799980545/retweets/with_comments
@jlj Thread is pretty cool, yup! 😎
> Hope is a bad planning assumption!

https://twitter.com/WarintheFuture/status/1497716050799980545?t=f757CvpAGfsx1iUkXBSiRQ&s=19

I'm just saying... You can do some research on that guy, Major General in the Australian Army.

@prologic @david @jlj
@prologic Good idea to stay safe, agree, very much aware we're really close!
Yup...
Here's a mk(1) version https://adi.onl/bin/mkfile !
@jan6 Well, mkws is my solution, you could replace the main script with make(1) or Plan9's mk(1) if the build time gets too long, but it makes sense it works well, you're basically compiling "source code", .upphtml files to "binaries", .html files using a compiler, pp. All the tooling fits well.
@carsten Who, me?
@jan6 Yeah, I see... Have you considered m4(1), altough I'm not a big fan of the syntax?
@jan6 Why not just do plain HTML then if you're getting into more complex stuff? Why insist on Markdown? Use Markdown for blog posts or similar content and use HTML for the complex stuff?
@jan6 Would like to see the source code, yes!
Discovered this these https://github.com/kyx0r/nextvi, small, clean vi implementation: https://github.com/kyx0r/nextvi
@jan6 Yes, I understand it supports inline html, is it a good idea to inline HTML in Markdown? I believe most of the times, no, but again Markdown is mostly for blog post like content.
@prologic Did you read the stuff about having Markdown by default in a ssg?
This idea would go great with mkws http://s.minos.io/ (and other stuff too), but I don't see any http server or Markdown editor (smu, lowdown, cmark, discount) inside.
This idea would go great with mkws http://s.minos.io/ (and other stuff too), but I don't see any http server or Markdown procesor (smu, lowdown, cmark, discount) inside.
This in as an idea would go great with mkws http://s.minos.io/ (and other stuff too), but I don't see any http server or Markdown editor (smu, lowdown, cmark, discount) inside.
@mutefall I believe most of us agree over here that it's a good idea that everybody runs their own website.
> Markdown is not for landing pages like https://mkws.sh or https://peguero.xyz/ or https://www.andrewjvpowell.com/.

Ok, I misunderstood the term “landing page”, but the main idea is Markdown is for blog posts.
We're using static blog generators to generate static sites and blogging software (Wordpress) to generate presentation sites, congratulations everyone for "succeeding"!
So basically, lots of static site generators are actually static blog generators!


>That is of course your opinion bud 😆 And one I don’t share 🤗

Not opinion but quotes form the authors!


>That is of course your opinion bud 😆 And one I don’t share 🤗

Not opinion but quotes from the authors!
More proof!

> The basic idea behind all weblog software — reduced to a nutshell — seems so simple in retrospect. Rather than managing a web site as a collection of pages, you manage a collection of posts, and the weblog software takes care of turning the posts into pages for you.

https://daringfireball.net/2004/03/dive_into_markdown


> The idea was to make writing simple web pages, and especially weblog entries

> We’ve tested it extensively: on our blogs, in my comments form, in our emails.

http://www.aaronsw.com/weblog/001189

And by "simple web pages" he means this kind of _simple_ https://mkws.sh/docs.html !

Markdown is not for landing pages like https://mkws.sh or https://peguero.xyz/ or https://www.andrewjvpowell.com/.


> The idea was to make writing simple web pages, and especially weblog entries

> We’ve tested it extensively: on our blogs, in my comments form, in our emails.

http://www.aaronsw.com/weblog/001189

And by "simple web pages" he means this kind of _simple_ https://mkws.sh/docs.html!

Markdown is not for landing pages like https://mkws.sh or https://peguero.xyz/ or https://www.andrewjvpowell.com/.
> The HyperText Markup Language, or HTML is the standard markup language for documents designed to be displayed in a web browser.

and

> Markdown is a text-to-HTML conversion tool for web writers.
> The HyperText Markup Language, or HTML is the standard markup language for documents designed to be displayed in a web browser.

> Markdown is a text-to-HTML conversion tool for web writers.
_article content_, _blog content_, rather than _presentation content_.
Because Markdown was made mostly for content less for presentation.
It's super complicated to customize these _simple_ Markdown based static site generator!
mdoc(7) is also nice if you're on OpenBSD to get a nice mdoc template.
@lyse Yeah, that's pretty cool!
When you get to customizing your _presentation_ pages you wrote in Markdown you start to see its limits, that it's not that flexibile and you have to get in the internals of the static site generator, complicating things.
In mkws I used HTML by default because using Markdown as most static site generators do feels limiting. That's why people complain they of the lack of customizability. In the About Me, My Projects, Other Stuff _presentation_ pages you can go as wild as you prefer with HTML, on the blog side, do Markdown.
I say, use Markdown when you're updating often, like blog posts, Markdown is easier on the fingers indeed (less to write) but when doing the _presentation_ part, do HTML.
@prologic Also https://mkws.sh/
@prologic Also, forms!
@prologic It's evidence that you wouldn't have a great time writing https://git.suckless.org/9base/commit/09e95a2d6f8dbafc6601147b2f5f150355813be6.html in Markdown, don't nitpick on words, whereas HTML is doing a good job there.
@prologic The fact that most of the WWW is written in HTML is evidence enough.
Or actually, if Markdown was that great for everything, we would all be writing Markdown, not HTML.
@prologic

> fact that for complex pages Markdown is ill suited

Do you believe Markdown is suited for something like this https://git.suckless.org/9base/log.html or this https://git.suckless.org/9base/commit/09e95a2d6f8dbafc6601147b2f5f150355813be6.html? Those are statically generated btw.
@prologic Arguing doesn't work by us trying to convince each other, arguing works by us providing logically correct arguments and proof. When there is enough evidence (proof, arguments) that a statement is true, it becomes a _fact_, not an _opinion_.
@prologic Facts and opinions are different! It's a fact!
@prologic https://github.com/imdario/zas doesn't say anything about initials, is this the original repo?
Granted we simplified that and remove most HTML from Markdown as far as I remember.
@prologic But disagree on _opinion_ but rather _fact_ that for complex pages Markdown is ill suited as you yourself saw when building https://prologic.shortcircuit.net.au/
@prologic Not trying to convice you!
> as well as it’s my initials.

Your name's initials, or your _chosen_ initials?
@prologic Aren't those your initials actually?
Btw @stutteringsteve wrote a piece https://peguero.xyz/blog/boston_im_breaking_up_with_you.html!
Also Markdown by default falls short when it comes to customizability.
Also Markdown by default falls short when it comes to customizability, if you have lots of pages, then yes and maybe writing often (blog), I agree, it's a good idea to use Markdown, but if you have a 3-4 page site, that you don't update often, HTML is enough IMO and _the good tool_. Having to do all this in Markdown https://peguero.xyz/ might not work so great! I'm pretty sure he's using Markdown for the blog posts tho.
> Any kind of extensions go in bin, simple, shared stuff goes in share, again, familiar and simple, and in plain view, you KNOW the directories are there, no looking for them, plain ls just works, you don’t have to ls -a.

And if you have stuff you "don't know where to put", just replicate your operating system's directory structure hier(7).
> It’s like hiding complexity, best is not to have complexity to hide.

Or if you have complexity, keep it as close to the reader's eyes as possible.
Any kind of _extensions_ go in bin, simple, shared stuff goes in share, again, familiar and simple, and in plain view, you KNOW the directories are there, no looking for them, plain ls just works, you don't have to ls -a.
Any kind of _extensions_ go in bin, simple, shared stuff goes in share, again, familiar and simple.
Also mkws has a _familiar_ directory structure, you kinda intuit where stuff goes.
When it comes to zs, I disagree with the hidden directories .pub, .zs, especially considering that hidden directories in UNIX where a _mistake_. Looks clean, but it's not. Plan 9 doesn't have them.

It's like _hiding_ complexity, best is not to have complexity to hide.
@prologic

> The name stands for 'zen static' as well as it's my initials.

Rename it to jm please! 😛
@prologic That's good! 😁
@mutefall What hardware?
@mutefall I have https://adi.tilde.institute/, and a https://obenbsd.amsterdam vps and a https://tinykvm.com/ vps.
Renders well on mobile also!
Preview for first CSS https://files.mills.io/download/plain.jfif, preview for second CSS https://files.mills.io/download/mono.jfif, few loc as you can see.
@mutefall

> without any esoteric bells and whistles

Yes!

> now if i could take a course in css and html. i’m an old backend engineer who cannot draw stick figures :)

Here is a good starting CSS https://envs.sh/EpE.txt, this will give you a decent looking page. Or this if you prefer a Monospaced version https://envs.sh/EpQ.txt
@mutefall Heh, thanks! Have fun if you get to use it! People call using it as satisfying! 😁 I believe it's also more powerful as you have all the UNIX ecosystem behind it, tools that have been used for decades to output data as plain text as human friendly as possible, you just have to nest it with HTML.
@movq Start of March in Romania!
@david Assumptions!
>We just have different world views that’s all

I disagree, I'm saying your worldview is unrealistic! 😛
@jlj Thanks! We were just discussing that hopes are usually unrealistic and it's a good idea not to hope in general but @prologic and @david disagree.
What's your opinion on Putin's "peacekeeping" troops in Ukraine's separatist regions he recognized as independent earlier?
@jlj In case you missed this, but only if it's fine with you!
How about some cigarettes @jlj or anybody else? 😁
@jan6 If you're into that kinds of stuff, you might enjoy my static site generator btw https://mkws.sh!
@mckinley NetSurf is pretty cool, I agree!
😉
@david I wasn't trying!
@prologic How am I responsible for how you feel?
@david I was being sarcastic.
@prologic Great analogy!
But probably, yeah, I'd just write JavaScript tho.
@prologic Not sure how slow Fengari is.
@david I don't believe that's how you would use Lua in the browser with Fengari.
@prologic We're discussing lua as an alternative to js in the browser.
@prologic Makes sense!
@prologic How would you use mkws and lua?
Not sure if bad idea tho.
@prologic Yeah, that's super weird!
@david You could script a web page with Lua, not sure how fast it, not quite as impractical as Linux in the browser.