@adi | show @replies
[820 updates]
# run this to follow @adi in the app
[1 day ago]
@maya (#<ukb725q https://twtxt.net/search?tag=ukb725q>) Wonder where the youth are going to move next, assuming your parents are not young. twtxt/yarn @prologic😋
[2 days ago]
@maya (#<6pqnlua https://twtxt.net/search?tag=6pqnlua>) I'm neither for nor against so no
[7 days ago]
@mckinley @jlj @lobste_rs (#<7rhdpna https://twtxt.net/search?tag=7rhdpna>) Looks cool, not something I would use tho, `...
[7 days ago]
[7 days ago]
(#<7rhdpna https://twtxt.net/search?tag=7rhdpna>) @jlj @mckinley @lobste_rs I believe I seen `twin` before, screenshots a...
[8 days ago]
[8 days ago]
(#<7rhdpna https://twtxt.net/search?tag=7rhdpna>) @lobste_rs This is an awesome `tmux` alternative.
[10 days ago]
I'm writing a blog post on how to set up a development environment with `mkws`.
[10 days ago]
@alebcay Recently called `mkws`

> refreshingly lightweight

I agree. 😊
[11 days ago]
(#<ifqfzya https://twtxt.net/search?tag=ifqfzya>) @adi @type_v Also, if you feel satisfied with my work, please consider donating here https://www.buymeacoffee.com/adriang...
[11 days ago]
Ok, took a few days off from work.
[13 days ago]
[14 days ago]
(#<bgxmxia https://twtxt.net/search?tag=bgxmxia>) @readfog @prologic @jlj I haven't expressed my preferrered application str...
[2 weeks ago]
[2 weeks ago]
[2 weeks ago]
@prologic (#<nhbcx3q https://twtxt.net/search?tag=nhbcx3q>) Thanks, working fine!
[2 weeks ago]
@prologic (#<nhbcx3q https://twtxt.net/search?tag=nhbcx3q>) Thanks! When is the deploy? 😋
[3 weeks ago]
@prologic When will DMs be fixed! :p
[3 weeks ago]
@lyse @movq (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>) I then _hope_ to become at least prime minister, seems like I have a shot. 😋
[3 weeks ago]
@prologic (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>) No need to feel sorry.
[3 weeks ago]
@prologic (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>) Well that's her solution, it's a legally and health wise risky solution. Me sleeping at my parents is not great for my general well being either, bu...
[3 weeks ago]
@prologic (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>) 

> Yeah I get it 🤗 Breakups are hard. But we were talking about breaking lockdown to go to a party?

It's not an easy situation. I understand how ...
[3 weeks ago]
@prologic (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>) How would you solve her problem?
[3 weeks ago]
@prologic @adi (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>) I recently been through a breakup myself, but I'm sleeping at my parents.
[3 weeks ago]
@prologic (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>)

> We have things like video and telephone or voip for this though …

Does it help with her feeling abandoned?
[3 weeks ago]
@prologic (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>) There are some _rare_ cases.
[3 weeks ago]
@prologic @movq (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>) 

> IMHO going to parties during a lockdown is reckless and selfish.

Depends on a number of factors. ...
[3 weeks ago]
@movq @adi (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>) For instance I have a friend who's going through a breakup this period. If breakups were bad outside the pandemi...
[3 weeks ago]
@movq (#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>)

> Let’s try to reduce it as much as we can.

That's a better "goal". We still have, very rare, true, cases of bubonic plague tbh.

> And why do you go to p...
[3 weeks ago]
[3 weeks ago]
[3 weeks ago]
(#<i3u6qgq https://twtxt.net/search?tag=i3u6qgq>) @prologic @movq @lyse 0 as a goal _seems_ kinda silly.
[3 weeks ago]
@eldersnake (#<fwlweuq https://twtxt.net/search?tag=fwlweuq>) I agree with most of what you said.

> And mobs pushing to put others down or “cancel” them based on something they once online said eons ago is...
[3 weeks ago]
@type_v (#<ifqfzya https://twtxt.net/search?tag=ifqfzya>) I'm not that old either, I've been using Linux one way or another for some 20 years, but only started learning UNIX as properly as I can for about 5-6 y...
[3 weeks ago]
(#<ifqfzya https://twtxt.net/search?tag=ifqfzya>) @type_v Please post your website :p
[3 weeks ago]
@niplav (#<5mmxcbq https://twtxt.net/search?tag=5mmxcbq>) If I were to create mistresses 👩‍❤️‍👩 🥰 they would be neither for nor against me. 😋
[3 weeks ago]
@niplav (#<5mmxcbq https://twtxt.net/search?tag=5mmxcbq>) Your reasoning is that if Zeus would create mistresses he would create _too many_ people?
[3 weeks ago]
@ionores (#<duf7ebq https://twtxt.net/search?tag=duf7ebq>) I'm not saying anything about "the nipple". 😋
[3 weeks ago]
@adi (#<duf7ebq https://twtxt.net/search?tag=duf7ebq>) Imagine that, going to a strip club with no cash in your pocket and having the dancers pay for your drinks. 😁
[3 weeks ago]
I recently went to a strip club with a friend, we had no cash in our pockets. She was kinda friends with the DJ. We landed there, she chatted with the DJ a little bit, the DJ left and we were left there with the girls and 2 customers. We got some dance...
[3 weeks ago]
[3 weeks ago]
@niplav (#<kfgri5a https://twtxt.net/search?tag=kfgri5a>) There are no expectations when you're honest. Expectations and honesty don't mix.
[3 weeks ago]
@adi @type_v (#<ifqfzya https://twtxt.net/search?tag=ifqfzya>) You could delete the `if`s there and just render the `Markdown` if all you're building is a blog.
[3 weeks ago]
@adi @type_v (#<ifqfzya https://twtxt.net/search?tag=ifqfzya>) Ah, and

```
$ cat share/l.upphtml
...
<main>
#!
if test "${1%/*}" == "./p"
then
#!
<article>
#!
cmark "$1" ...
[3 weeks ago]
@movq (#<vptsvqq https://twtxt.net/search?tag=vptsvqq>) But that peach suit... So cool!!!! 😎
[3 weeks ago]
@type_v @adi (#<ifqfzya https://twtxt.net/search?tag=ifqfzya>) `pe` is `pe.c` https://clbin.com/X1GkA, an utility for percent encoding strings.
[3 weeks ago]
@adi @type_v (#<ifqfzya https://twtxt.net/search?tag=ifqfzya>) Might be a good blog post in itself. 😁
[3 weeks ago]
@adi @type_v (#<ifqfzya https://twtxt.net/search?tag=ifqfzya>) 

```
cat share/f.upp
```
https://clbin.com/XiMw4

```
cat bin/mkws
...
echo "Making feed"
pp "$sharedir"/f....
[3 weeks ago]
@adi @type_v (#<ifqfzya https://twtxt.net/search?tag=ifqfzya>) 

```
$ cat blog.upphtml
<h1>Blog</h1>
<h2>News and a collection of tips and tricks for <code>mkws</code></...
[3 weeks ago]
@adi @type_v (#<ifqfzya https://twtxt.net/search?tag=ifqfzya>) 

```
cat bin/mkws
...
for p in "$srcdir"/p/*
do
 test "${p##*.}" == "html" && continue
 echo ...
[3 weeks ago]
@type_v

This is how I render the blog

```
$ ls -1 p
2021-02-28 15:34:42 Welcome
2021-02-28 15:35:21 How to add a navigation menu
2021-02-28 15:35:39 How to add custom titles
2021-03-09 19:45:23 How to render ...
[3 weeks ago]
(#<vptsvqq https://twtxt.net/search?tag=vptsvqq>) @movq His voice is borderline unfit for the song but still sounds good, the other two guys are nice I agree.
[3 weeks ago]
@eldersnake (#<fwlweuq https://twtxt.net/search?tag=fwlweuq>) What kind of flawed? Depends on what you understand by "mistake"?
[3 weeks ago]
I was never on the Justin Bieber hate train but not a fan either but this is a cool song https://www.youtube.com/watch?v=tQ0yjYUFKAE
[3 weeks ago]
@type_v Can you ask your question here, I can't read DMs?
[3 weeks ago]
[3 weeks ago]
(#<wr6nxoa https://twtxt.net/search?tag=wr6nxoa>) @movq

> But grep knows best which parts of the output should be colored.

I would go with a _good enough_ coloring.

> `grep ... | colorize | less`

Exactly!

>...
[3 weeks ago]
[3 weeks ago]
@prologic For some reason, I can't read private messages, I can only see the first line. Also, I don't see the notifications on my laptop, but only on my mobile phone.
[3 weeks ago]
(#<wr6nxoa https://twtxt.net/search?tag=wr6nxoa>) @adi @movq 

> Doing the coloring in a second step using a second program feels like a hack to me as well.

I don't believ...
[3 weeks ago]
@movq (#<wr6nxoa https://twtxt.net/search?tag=wr6nxoa>) I disagree with _should_ or _shouldn't_.
[3 weeks ago]
@movq (#<wr6nxoa https://twtxt.net/search?tag=wr6nxoa>) There's no place for `--color=always` on `grep` imo. I was considering building a generic syntax highlighter for the CLI with various lexers, for `ls`, `dif...
[3 weeks ago]
[3 weeks ago]
Morning! ☕
[4 weeks ago]
[4 weeks ago]
[4 weeks ago]
Morning! ☕
[4 weeks ago]
(#<azpbepq https://twtxt.net/search?tag=azpbepq>) Morning! 😃
[4 weeks ago]
@movq (#<2qlnvya https://twtxt.net/search?tag=2qlnvya>) Depends on what you understand by death. I have to study the Plan 9 display system better.
[4 weeks ago]
@mckinley (#<rj7u5na https://twtxt.net/search?tag=rj7u5na>) I was talking about the line in the page's content. 😁
[4 weeks ago]
@movq (#<2qlnvya https://twtxt.net/search?tag=2qlnvya>) Why is what?
[4 weeks ago]
@jlj (#<7cegtda https://twtxt.net/search?tag=7cegtda>) What OS are you running that rpi?
[4 weeks ago]
Morning! ☕
[4 weeks ago]
[4 weeks ago]
(#<rj7u5na https://twtxt.net/search?tag=rj7u5na>) @prologic @mckinley Great XKCD for the "moment" @mckinley! 😊
[5 weeks ago]
[5 weeks ago]
[5 weeks ago]
@adi @movq @prologic (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) Yeah, I agree I'm awesome 😋, [fcambus](https://twitter.com...
[5 weeks ago]
@adi @movq @prologic (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) It's nice that it's also available in CVS format but it ha...
[5 weeks ago]
[5 weeks ago]
[5 weeks ago]
@movq @prologic (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) I personally would send them a message. 😋
[5 weeks ago]
[5 weeks ago]
(#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) @adi @movq @prologic But I guess you can send them a message and ask.
[5 weeks ago]
[5 weeks ago]
@adi @movq (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) You could simply not distribute the db files with `asciiworld` and have it in your README that thy're required.
[5 weeks ago]
@adi @movq (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) I'm pretty sure it's "free as in beer", and not "free as in speech" because they require you to keep the databas...
[5 weeks ago]
@movq (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) 

> “You shall cease use of and destroy any old versions of the Services within thirty (30) days following the release of the updated GeoLite2 Databases.”

...
[5 weeks ago]
@adi @movq (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) Yeah, problem is distribution, are you allowed or not to distribute the databases. Would be dumb if MaxMind woul...
[5 weeks ago]
@adi @movq (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) Lol, why not just create an account yourself and download the databases, I guess you have to read about the dist...
[5 weeks ago]
@movq (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) Shady legally speaking?
[5 weeks ago]
[5 weeks ago]
@adi @movq (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) 

```
$ ls -1 /var/db/GeoIP/
GeoLite2-City.mmdb
GeoLite2-Country.mmdb
```
[5 weeks ago]
@adi @movq (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) This is the package that has the databases but I can't figure out how it gets the files https://github.com/openb...
[5 weeks ago]
@adi @movq (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) I'm looking at what and how OpenBSD packages.
[5 weeks ago]
@movq (#<m3rtyia https://twtxt.net/search?tag=m3rtyia>)

From https://dev.maxmind.com/geoip/geoip2/geolite2/

> To receive access to download the GeoLite2 databases or query the GeoLite2 web services at **no char...
[1.2 months ago]
@movq (#<tzxj5jq https://twtxt.net/search?tag=tzxj5jq>) I'm ordinary. But I'll only be able to set a date.
[1.2 months ago]
@movq (#<tzxj5jq https://twtxt.net/search?tag=tzxj5jq>) On the 15th I'll be able to set a vaccination date for myself.
[1.2 months ago]
Morning! ☕
[1.2 months ago]
(#<xxbykfq https://twtxt.net/search?tag=xxbykfq>) @lyse @movq @prologic ☹Ruined the game, nice game idea tho. 😋
[1.2 months ago]
(#<pkjzkfa https://twtxt.net/search?tag=pkjzkfa>) @movq I'm craving some 🍕 tbh. Going to get some soon.
[1.2 months ago]
Morning! ☕
[1.2 months ago]
[1.2 months ago]
(#<hd4zrla https://twtxt.net/search?tag=hd4zrla>) @anth Nice! As far as I remember GSoC rewards some tasks or issues related to the project. What tasks are there?
[1.3 months ago]
@mckinley (#<k3qmxgq https://twtxt.net/search?tag=k3qmxgq>) 

> I really appreciate your help but as I said in my blog post, I just need to make my own generator in a real programming language if I want it to...
[1.3 months ago]
@mckinley (#<k3qmxgq https://twtxt.net/search?tag=k3qmxgq>) 

No need to apologize.

```
> Depends on what you understand by “mess” and “complicated”

It’s 55 lines long and I’m having trouble understanding i...
[1.3 months ago]
@mckinley (#<k3qmxgq https://twtxt.net/search?tag=k3qmxgq>) However you prefer.
[1.3 months ago]
@adi @mckinley (#<k3qmxgq https://twtxt.net/search?tag=k3qmxgq>) `mkws` is very tolerant to "mess".
[1.3 months ago]
@mckinley (#<k3qmxgq https://twtxt.net/search?tag=k3qmxgq>) No, I probably would `sed` the quoted documents to unquoted ones and process those using temp files. Again, if your current setup works don't change...
[1.3 months ago]
@mckinley (#<k3qmxgq https://twtxt.net/search?tag=k3qmxgq>) Yeah, that's the whole point, it's very basic. You don't _configure_ it, you _program_ it. Edit the main `mkws` script to your preference, this is h...
[1.3 months ago]
@mckinley @darch (#<jatw6pq https://twtxt.net/search?tag=jatw6pq>) I'm very attracted to retro!
[1.3 months ago]
@mckinley (#<k3qmxgq https://twtxt.net/search?tag=k3qmxgq>) @eldersnake Doesn't have all the documents in his root directory, he has a custom layout, my blog post...
[1.3 months ago]
@adi @mckinley (#<k3qmxgq https://twtxt.net/search?tag=k3qmxgq>) I'm surprised tho https://mckinley.cc/, looks like a very good candidate.
[1.3 months ago]
@mckinley (#<k3qmxgq https://twtxt.net/search?tag=k3qmxgq>) Haha, well maybe it's a bad fit for you then. 😀
[1.3 months ago]
(#<p52lajq https://twtxt.net/search?tag=p52lajq>) @mckinley I didn't realize, it just seemed like HN to me, now that you mention it, looks cool! 😁 You have a problem with the HN presentation?
[1.3 months ago]
I can't remember why and how I set the default format for https://mkws.sh/lts.html.

```
Fri Sep 4 17:53:46 EEST 2020 README
```
[1.3 months ago]
@mckinley How's the website going? 😛
[1.3 months ago]
@eldersnake (#<xwawtja https://twtxt.net/search?tag=xwawtja>) Also having to debug obscure bugs in `npm` dependecies.
[1.3 months ago]
God it feels good not having to run `npm install` in `mkws!`
[1.3 months ago]
[1.3 months ago]
@prologic (#<oef3b3a https://twtxt.net/search?tag=oef3b3a>) Yes I agree `shops` is an orchestrator for a custom language you defined in `yaml` which runs `sh` functions, and `judo` is an orchestrator for plai...
[1.3 months ago]
@prologic (#<oef3b3a https://twtxt.net/search?tag=oef3b3a>) Ok, I assume it's simplification of Chef/Puppet/Ansible?
[1.3 months ago]
@prologic (#<5nof4iq https://twtxt.net/search?tag=5nof4iq>) Agree, good names was considering them. `cdtemp` is closer in naming to `mktemp`
[1.3 months ago]
@prologic (#<5nof4iq https://twtxt.net/search?tag=5nof4iq>) `cdtemp` is shorter and I **don't have to name things**. 😋
[1.3 months ago]
@prologic (#<oef3b3a https://twtxt.net/search?tag=oef3b3a>) Might just be a thing of preference?
[1.3 months ago]
@prologic (#<oef3b3a https://twtxt.net/search?tag=oef3b3a>) To me it still looks like it could be written like a single `sh` script, what am I missing?
[1.3 months ago]
(#<5nof4iq https://twtxt.net/search?tag=5nof4iq>) @prologic Yeah, but I prefer an empty directory. 😋
[1.3 months ago]
An alias I use very often

```
alias cdtemp='cd $(mktemp -d)'
```

whenever I'm playing around with something.
[1.3 months ago]
I just woke up! ☕
[1.3 months ago]
@prologic (#<oef3b3a https://twtxt.net/search?tag=oef3b3a>) I ment running them via `judo`, not `ssh`, but if man if `yaml` is your thing, just do `yaml`.
[1.3 months ago]
@prologic (#<e56niha https://twtxt.net/search?tag=e56niha>) I'm considering using `shar` somehow, I'm half asleep, we'll talk tomorrow.
[1.3 months ago]
@adi @prologic (#<oef3b3a https://twtxt.net/search?tag=oef3b3a>) The final `]` is extra

```
 if [ -n "${NS1}" ] && ! grep -q "nameserver ${NS1}" "${RESOLVCONF}" ]; then...
[1.3 months ago]
[1.3 months ago]
@prologic (#<oef3b3a https://twtxt.net/search?tag=oef3b3a>) But where is the state in your examples and how do you store state?
[1.3 months ago]
@prologic (#<oef3b3a https://twtxt.net/search?tag=oef3b3a>) From the examples above I still don't get why do you have to use `yaml` as opposed to just writing a `sh` script and run it via https://github.com/r...
[1.3 months ago]
Silly joke:

> Project Manager: Why do you look so tired?
> Programmer: Because I work.
[1.3 months ago]
(#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) @adi @movq @lyse 

```
geoip_city_database = "/usr/share/GeoIP/GeoIPCity.dat"
geoip_ci...
[1.3 months ago]
(#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) @movq @adi @lyse Succesfully compiled `asciiworld` on OpenBSD. Playing around. 😛
[1.3 months ago]
(#<m3rtyia https://twtxt.net/search?tag=m3rtyia>) @lyse @movq

> I hope I can rework it to allow for that kind of fancy stuff.

And what's preventing you? 😋
[1.3 months ago]
(#<t7ikqqq https://twtxt.net/search?tag=t7ikqqq>) @tfurrows Depends on what you understand by laziness. 😁
[1.3 months ago]
(#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) @movq 😁 However you prefer.
[1.3 months ago]
@movq (#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) No goal at all. 😁Please post some jams then! 😛
[1.3 months ago]
@adi @movq (#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) What's there to migrate? If you would prefer to?
[1.3 months ago]
@movq (#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) What effort does understanding take? What kind of laziness? What kind of thinking?
[1.3 months ago]
@movq (#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) 

> I want to understand

And what's preventing you?
[1.3 months ago]
@prologic You have custom init system in `ulinux`, right?
[1.3 months ago]
@movq (#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) 

> is sometimes a PITA, that I’d like to get rid of it

Why get rid of it?
[1.3 months ago]
(#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) @movq What kind of laziness?
[1.3 months ago]
(#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) @movq I migrated to Void from Arch.
[1.3 months ago]
(#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) @mckinley Also, I believe Windows Subsystem for Linux is great. 😛
[1.3 months ago]
(#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) @mckinley I mostly run Windows Terminal and Chrome.
[1.3 months ago]
(#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) @eldersnake @movq @prologic Void Linux is my favorite linux.
[1.3 months ago]
(#<fx4xdiq https://twtxt.net/search?tag=fx4xdiq>) @anth Haha! Awesome answer!
[1.3 months ago]
(#<fw4vzga https://twtxt.net/search?tag=fw4vzga>) @prologic @movq All my laptops broke down, this is a borrowed laptop and I rather not change OS. I usually work via `s...
[1.4 months ago]
(#<t5aqjva https://twtxt.net/search?tag=t5aqjva>) @prologic @lyse Poor "monkeys" 😁
[1.4 months ago]
(#<fx4xdiq https://twtxt.net/search?tag=fx4xdiq>) @adi @anth Never used Plan 9 @prologic? Feels like another planet. 😛 Give it a go.
[1.4 months ago]
Ah, Windows has a built in emoji picker under `Win+;`.
[1.4 months ago]
(#<fx4xdiq https://twtxt.net/search?tag=fx4xdiq>) @anth What browser are you using on Plan 9?
[1.4 months ago]
(#<gmlphva https://twtxt.net/search?tag=gmlphva>) @mckinley Let me know how it goes.
[1.4 months ago]
(#<fx4xdiq https://twtxt.net/search?tag=fx4xdiq>) @anth How did you figure out it's Linux and not BSD?
[1.4 months ago]
(#<prm7aaa https://twtxt.net/search?tag=prm7aaa>) @anth I ment the `swallow` effect. There's no need for text-mode graphics.
[1.4 months ago]
Guys, how do you use emojis here, I copy&paste them from https://emojipedia.org/, is there a better way?
[1.4 months ago]
@anth (#<ya3pd2a https://twtxt.net/search?tag=ya3pd2a>) Nice choice of emojis! 😁
[1.4 months ago]
@prologic (#<qxoikbq https://twtxt.net/search?tag=qxoikbq>) Happy you're happy! 😄
[1.4 months ago]
@prologic (#<qxoikbq https://twtxt.net/search?tag=qxoikbq>) Awesome! Thanks! 😎
[1.4 months ago]
If you benefited from any of my work remember to [Buy my a computer part](https://www.buymeacoffee.com/adriangrigore)💻, I've got my eyes on a [Pinebook Pro](https://www.pine64.org/pinebook-pro/)! 😛
[1.4 months ago]
@lobste_rs (#<prm7aaa https://twtxt.net/search?tag=prm7aaa>) Pretty cool, but maybe Plan9 does it better?
[1.4 months ago]
@prologic (#<ugonaka https://twtxt.net/search?tag=ugonaka>) Just woke up ☕ but it's 4 PM. 😀
[1.4 months ago]
@adi (#<cwlpruq https://twtxt.net/search?tag=cwlpruq>) I'm going to sleep.
[1.4 months ago]
@adi (#<cwlpruq https://twtxt.net/search?tag=cwlpruq>) Have no idea what it does to the rest of the file, on my system when having a correct command on the first line there, it just executes it and outputs the re...
[1.4 months ago]
When calling `$ /bin/sh -c "$(cat foo); foo"`, the `$(cat foo)` part is evaluated in the outer `sh` process, so the actual argument your `sh` invocation is getting is:
```
$ /bin/sh -c "foo() {
 printf "Hello World"
}; foo"
```
You have the funct...
[1.4 months ago]
(#<ipbjj5q https://twtxt.net/search?tag=ipbjj5q>) @adi @prologic No, it's not a newline issue.
[1.4 months ago]
(#<ipbjj5q https://twtxt.net/search?tag=ipbjj5q'>https://twtxt.net/search?tag=ipbjj5q>) @prologic (#<ipbjj5q https://twtxt.net/search?tag=ipbjj5q'>https://twtxt.net/search?tag=ipbjj5q>) Is this a valid function definition? Are we allowed to define the body on the same line?

```
$ ca...
[1.4 months ago]
(#<gmlphva https://twtxt.net/search?tag=gmlphva>) @mckinley Do you have your sources somewhere? I understand you'd rather not escape manually and still write "normal" html, with unescaped double quotes and sp...
[1.4 months ago]
@prologic (#<ipbjj5q https://twtxt.net/search?tag=ipbjj5q>) I run my 'local' commands over SSH also? I remember researching this, also did some research now, seems that you can only do this with bash https://...
[1.4 months ago]
@mckinley (#<gmlphva https://twtxt.net/search?tag=gmlphva>) **If** and when you're willing to take another look, maybe we could do it together? 😃
[1.4 months ago]
(#<gmlphva https://twtxt.net/search?tag=gmlphva>) @adi @mckinley 

> After that, I tried to use a program bundled with someone else's shell script site generator to make...
[1.4 months ago]
(#<gmlphva https://twtxt.net/search?tag=gmlphva>) @mckinley `sed 's/"/'\''/g'` I guess for double quotes.
[1.4 months ago]
[1.4 months ago]
[1.4 months ago]
(#<gmlphva https://twtxt.net/search?tag=gmlphva>) @bml @prologic @eldersnake Going to leave the tree, I understand how a si...
[1.4 months ago]
[1.4 months ago]
(#<gmlphva https://twtxt.net/search?tag=gmlphva>) @prologic @eldersnake @bml I refuse to build an `entr` in my static site ...
[1.4 months ago]
(#<wdgk6ma https://twtxt.net/search?tag=wdgk6ma>) @prologic I refuse to install "apps" that I have to access "locally" via a web browser.
[1.4 months ago]
[1.4 months ago]
(#<gmlphva https://twtxt.net/search?tag=gmlphva>) @prologic @eldersnake @bml And then people will ask for `Markdown` suppor...
[1.4 months ago]
(#<gmlphva https://twtxt.net/search?tag=gmlphva>) @prologic He just has to run this command `wget -O - https://mkws.sh/mkws@4.0.8.tgz | tar -xzvf -`.
[1.4 months ago]
[1.4 months ago]
[1.4 months ago]
[1.4 months ago]
(#<gmlphva https://twtxt.net/search?tag=gmlphva>) @prologic Aaaah, busybox style, but then we'd have symlinks, @bml @<eldersnake https://twtxt.net/user/eldersnake/twtxt....
[1.4 months ago]
(#<dglkgda https://twtxt.net/search?tag=dglkgda>) @adi @bml tilde.institute runs OpenBSD other tildes run Linux, not sure if there are any other BSD ones, have no idea what t...
[1.4 months ago]
[1.4 months ago]
@bml (#<dglkgda https://twtxt.net/search?tag=dglkgda>) tilde.institute is pretty cool, admins install packages on demand or do system configurations. It's pretty unrestrictive.
[1.4 months ago]
@bml (#<dglkgda https://twtxt.net/search?tag=dglkgda>) http://rw.rs/ is kinda slow for me over SSH.
[1.4 months ago]
I wonder what OS http://tilde.club/ is running.
[1.4 months ago]
[1.4 months ago]
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @prologic It's not great towards bad at editing HTML, but editing HTML is the exception, most of the times it's just text.
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @prologic That would be great! Point is, I believe `sh` is a good fit as a templating language, it was built for massaging text, that's what templating langua...
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @prologic How would that work? What would I embed?
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @prologic @bml Not sure if in the main package, might add a `tools`, `plugins` or `extensions` section to the website....
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @adi @bml @prologic Point is some people would say add `Markdown` capabilities t...
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @adi @bml @prologic My `./share/l.upphtml` file is https://clbin.com/phoub, wher...
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @bml @prologic @adi Anyway, here's another idea, I have a `./bin/d` script for d...
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @bml @prologic My idea was to use the `mkws` script for customization. `pp`, `lmt` and `mkws` could be combined in a si...
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @adi @bml @prologic In my case, a single static executable would combine `pp` an...
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @bml @prologic

> but it’d be cool to have just one file static linked executable that does it all.

Maybe yes, maybe n...
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq'>https://twtxt.net/search?tag=ii5fobq>) https://twtxt.net/user/bml/twtxt.txt' href='/user/at/99d5c8fa9bced7f45?n=bml'>@bml https://twtxt.net/user/prologic/twtxt.txt' href='/user/at/770e29a95b7e3dfc8?n=prologic'>@prologic Thanks for explaining! 😁 Regarding binaries in shell not sure about distributing something like this: ht...
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @adi @bml Also let us know the address of your blog.
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @adi @bml It's possible but not pretty, explore it yourself also. 😁
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @bml It is possible to have all files in a single `sh` file via https://man.openbsd.org/shar. I'll have to explore this.
[1.4 months ago]
(#<mlrqpsq https://twtxt.net/search?tag=mlrqpsq>) @prologic @adi Can't edit, `uudecode` not `uuencode`, this one:

```
ssh -T "$1" << EOF | uudecode
```
[1.4 months ago]
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @adi @bml Regarding the blog, maybe you can read this conv https://twtxt.net/conv/cqzsjsq.
[1.4 months ago]
(#<mlrqpsq https://twtxt.net/search?tag=mlrqpsq>) @prologic Also check out:

```
tar -czf - ws.sh|uuencode "\$f"
>&2 printf "Writing %s\\n" "\$f"
```

`>&2 printf "Writing %s\\n" "\$f"` goes to `stderr` and d...
[1.4 months ago]
(#<ii5fobq https://twtxt.net/search?tag=ii5fobq>) @bml I don't believe it's possible. `4.0.9` is identical to `4.0.8`. It's a bug.
[1.4 months ago]
@prologic (#<mlrqpsq https://twtxt.net/search?tag=mlrqpsq>) Because I'm outputting it as "plain text". 

```
ssh -T "$1" << EOF | uudecode
>&2 printf "Packing for %s\\n" "\$(uname)"
trap "rm -rf $tmp" EXIT IN...
[1.4 months ago]
Ok, migrating http://adi.tilde.institute/ to https://github.com/egoist/hack, it starting to look great.
[1.4 months ago]
(#<u6qz3uq https://twtxt.net/search?tag=u6qz3uq>) @jlj @darch That Ubuntu colorscheme is really nice, however I'm going to use https://github.com/egoist/hack for https://...
[1.4 months ago]
[1.4 months ago]
For compiling `mkws`'s binaries on OpenBSD and Linux I run a set of commands via `ssh`, create a binary archive, pipe it to `uuencode` on the remote server and pipe it back to `uudecode` locally. Great use case for `uuencode` and `uudecode` pair.
[1.4 months ago]
(#<msgkguq https://twtxt.net/search?tag=msgkguq>) @prologic @eldersnake Haha, well, just hacking around I guess.
[1.4 months ago]
@prologic (#<msgkguq https://twtxt.net/search?tag=msgkguq>) But it's kinda silly given how most phones support web browsing. Why would you post via SMS? Is it faster? Maybe...
[1.4 months ago]
(#<p24jahq https://twtxt.net/search?tag=p24jahq>) @prologic @eldersnake I might spin up a pod at some point, I have a lot of work to do tho, I don't want to manag...
[1.4 months ago]
[1.4 months ago]
@prologic @eldersnake @xuu (#<p24jahq https://twtxt.net/search?tag=p24jahq>) 

> I hope to see more pods

What's prevent...
[1.4 months ago]
(#<hvygjbq https://twtxt.net/search?tag=hvygjbq>) @eldersnake Depends on what you understand by Suckless.
[1.5 months ago]
[1.5 months ago]
[1.5 months ago]
I'm getting lots of `404 page not found`, what's the deal?
[1.5 months ago]
The recommended way to distribute dependencies with your `mkws` websites is to bundle them as static binaries so you don't have to run any package manager on the server side either. So, if your website uses `smu`, distribute a statically compiled `smu`...
[1.5 months ago]
[1.5 months ago]
Btw, you can `shellcheck` your `pp` templates via `pp -d docs.upphtml | shellcheck -s sh -`.
[1.5 months ago]
@eldersnake (#<cqzsjsq https://twtxt.net/search?tag=cqzsjsq>) Yeah, that `awk` script is a thing of beauty. 😁
[1.5 months ago]
@adi @eldersnake (#<cqzsjsq https://twtxt.net/search?tag=cqzsjsq>) I wonder how `mkws` would handle 217 articles. 😀
[1.5 months ago]
@eldersnake (#<cqzsjsq https://twtxt.net/search?tag=cqzsjsq>) What's the format of the articles? `Markdown`?
[1.5 months ago]
@adi @eldersnake (#<cqzsjsq https://twtxt.net/search?tag=cqzsjsq>) You could use https://forestry.io/ as a frontend. I personally don't believe I would do it but it fi...
[1.5 months ago]
@adi @eldersnake (#<cqzsjsq https://twtxt.net/search?tag=cqzsjsq>) I guess the _correct_ name is `mkws` the site's name is mkws.sh.
[1.5 months ago]
@eldersnake (#<cqzsjsq https://twtxt.net/search?tag=cqzsjsq>) 

> I hope to convert it over to something like mkws.sh

And what's preventing you?
[1.5 months ago]
@eldersnake (#<cqzsjsq https://twtxt.net/search?tag=cqzsjsq>) I'm not that good at writing so not sure if good or bad idea, not sure if the first paragraph would fit as a description and also read "normally...
[1.5 months ago]
@eldersnake (#<cqzsjsq https://twtxt.net/search?tag=cqzsjsq>) But you can parse either the filename or the file itself to get titles for instance without a `meta` file and maybe use my first paragraph as `d...
[1.5 months ago]
@darch (#<ova22yq https://twtxt.net/search?tag=ova22yq>) Not bad! Is that the same CSS framework?
[1.5 months ago]
@niplav (#<rldryiq https://twtxt.net/search?tag=rldryiq>) Makes sense, probably because of the of male inclination for tech also, men are a lot more seen as explorers, risk takers (<-- one of the reasons I believe t...
[1.5 months ago]
(#<ohzk6ia https://twtxt.net/search?tag=ohzk6ia>) @prologic Sounds good! How can I get one? 😄
[1.5 months ago]
@niplav @jlj (#<td3kj4a https://twtxt.net/search?tag=td3kj4a>) What suffering?
[1.5 months ago]
@bml (#<td2v5gq https://twtxt.net/search?tag=td2v5gq>) Yeah, read that also and believed it's pretty interesting. That format is a little bit weird tho.
[1.5 months ago]
> Covid: Japan asks China to stop anal tests on its citizens

https://www.bbc.com/news/world-asia-56245404

Wasn't aware this was a thing.
[1.5 months ago]
@prologic @movq (#<qmb2v7q https://twtxt.net/search?tag=qmb2v7q>) It's Duke Nukem 3D.
[1.5 months ago]
[1.5 months ago]
(#<qmb2v7q https://twtxt.net/search?tag=qmb2v7q>) @prologic @movq Video plays well, played little Duke Nukem myself at a class mate's house. I got a computer "later".
[1.5 months ago]
(#<cqzsjsq https://twtxt.net/search?tag=cqzsjsq>) @adi @eldersnake I get the `updated` field with `lmt` https://mkws.sh/lts.html wherever it's a good idea to have. (si...
[1.5 months ago]
(#<cqzsjsq https://twtxt.net/search?tag=cqzsjsq>) @eldersnake 

```
<h1>Blog</h1>
<h2>News and a collection of tips and tricks for <code>mkws</code></h2>
<ol id=i>
#!
find p -mindepth 1 | sort -r | while re...
[1.5 months ago]
@adi @eldersnake (#<vbztz5a https://twtxt.net/search?tag=vbztz5a>) Nvm, I missed your answer, they're good for generating links.
[1.5 months ago]
@bml (#<jzpwisq https://twtxt.net/search?tag=jzpwisq>) I sometimes watch https://www.youtube.com/user/marquesbrownlee, https://www.youtube.com/user/LinusTechTips, https://www.youtube.com/channel/UCeeFfhMcJa1kjtfZA...
[1.5 months ago]
@eldersnake Did you check those url encoding utilities?