anarcat
Repos
191
Followers
100

check links in web documents or full websites

623
115

Gate between Git and Mediawiki

148
21

Clock using lib ncurses

C
689
98

Reproducible results for LWN review of terminal emulators: https://lwn.net/Articles/749992/ https://lwn.net/Articles/751763/. Mirror of GitLab repository, possibly out of date..

mirror of the bup-cron repository, may be out of date while i figure out github mirror things

21
4

Log battery charge (batter-stats-collector), show gnuplot graphs (battery-graph)

0
0

Events

issue comment
clock.timezone field has no effect

On 2022-11-27 17:53:39, EN wrote:

I think "Etc/UTC" is not a valid timezone string. It doesn't work for me either. I tried with "GMT" and "UTC" and they both worked. I also tried with "America/Chicago" and that worked.

Well I don't know how you tell what a valid string is, but I have tried:

  • UTC
  • GMT
  • Etc/UTC
  • America/Chicago

... none of those work here. I'll also note that the wiki page about the clock module:

https://github.com/Alexays/Waybar/wiki/Module:-Clock

explicitly links to this Wikipedia page:

https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

... which lists "Etc/UTC" as "Canonical" and "UTC" as a "link" to "Etc/UTC". :p

So something else is going on here. Maybe I have the wrong locale?

-- La mer, cette grande unificatrice, est l'unique espoir de l'homme. Aujourd'hui plus que jamais auparavant, ce vieux dicton dit littéralement ceci: nous sommes tous dans le même bateau. - Jacques Yves Cousteau - Océanographe

Created at 23 hours ago
issue comment
clock.timezone field has no effect

yes, i have just tried [America/Cordoba](https://en.wikipedia.org/wiki/America/Argentina/Cordoba), without luck, for example.

Created at 3 days ago
Relicensing the project to LGPL

i hadn't realized you needed my permission, but yes, feel free to switch to LGPL.

Created at 4 days ago

auto-dnssec maintain requires inline-signing

Nov 23 20:15:48 fumiko named[30901]: /etc/bind/zones/orangeseeds.org.conf:5: 'auto-dnssec maintain;' requires dynamic DNS or inline-signing to be configured for the zone Nov 23 20:15:48 fumiko named[30901]: /etc/bind/zones/anarc.at.conf:5: 'auto-dnssec maintain;' requires dynamic DNS or inline-signing to be configured for the zone

Created at 5 days ago
anarcat delete branch dnssec-dead
Created at 5 days ago
anarcat delete branch no-recurse-default
Created at 5 days ago

remove obsolete dnssec directive

This was crashing bind 9.18 on Debian bookworm completely:

nov 23 13:47:02 curie named[2252420]: /etc/bind/named.conf:12: option 'dnssec-enable' no longer exists

default recursion to false

Recursion on an authoritative nameserver is a security risk. See for example:

https://www.iana.org/help/nameserver-requirements

default recursion to false

Recursion on an authoritative nameserver is a security risk. See for example:

https://www.iana.org/help/nameserver-requirements

Merge branch 'dnssec-dead'

Created at 5 days ago
pull request opened
default recursion to false

Recursion on an authoritative nameserver is a security risk. See for example:

https://www.iana.org/help/nameserver-requirements

Created at 5 days ago
anarcat create branch no-recurse-default
Created at 5 days ago
pull request opened
remove obsolete dnssec directive

This was crashing bind 9.18 on Debian bookworm completely:

nov 23 13:47:02 curie named[2252420]: /etc/bind/named.conf:12: option 'dnssec-enable' no longer exists

Created at 5 days ago
anarcat create branch dnssec-dead
Created at 5 days ago
Created at 5 days ago
create branch
anarcat create branch dnssec-dead
Created at 5 days ago
issue comment
ERRO[0000] User-selected graph driver "overlay" overwritten by graph driver "vfs" from database - delete libpod local files to resolve

maybe this patch would do it, anyways:

something like that was actually done in 59299b519e, i missed it possibly because good ol @rhatdan misspelled my name. :p anyways, all good now, thanks everyone!

Created at 6 days ago
issue comment
The language module doesn't always fit

this seems to be a duplicate of #952

Created at 1 week ago
issue comment
clock.timezone field has no effect

oh and for what it's worth, i don't see an error on output:

nov 21 13:27:16 curie systemd[180736]: Started a nice status bar. 
nov 21 13:27:16 curie nm-applet[181087]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed 
nov 21 13:27:16 curie waybar[1296290]: [2022-11-21 13:27:16.615] [info] Using configuration file /home/anarcat/.config/waybar/config 
nov 21 13:27:16 curie waybar[1296290]: [2022-11-21 13:27:16.616] [info] Using CSS file /home/anarcat/.config/waybar/style.css 
nov 21 13:27:16 curie waybar[1296290]: [2022-11-21 13:27:16.651] [warning] module backlight: Disabling module "backlight", No backlight found 
nov 21 13:27:16 curie waybar[1296290]: [2022-11-21 13:27:16.673] [warning] No batteries. 
nov 21 13:27:16 curie waybar[1296290]: [2022-11-21 13:27:16.673] [warning] No battery named BAT2 
nov 21 13:27:16 curie waybar[1296290]: [2022-11-21 13:27:16.674] [warning] For a functional tray you must have libappindicator-* installed and export XDG_CURRENT_DESKTOP=Unity 
nov 21 13:27:16 curie waybar[1296290]: ../../../gobject/gsignal.c:2088: type 'GtkWindow' is already overridden for signal id '73' 
nov 21 13:27:16 curie waybar[1296290]: ../../../gobject/gsignal.c:2088: type 'GtkWindow' is already overridden for signal id '72' 
nov 21 13:27:16 curie waybar[1296290]: [2022-11-21 13:27:16.811] [warning] module backlight: Disabling module "backlight", No backlight found 
nov 21 13:27:16 curie waybar[1296290]: [2022-11-21 13:27:16.841] [warning] No batteries. 
nov 21 13:27:16 curie waybar[1296290]: [2022-11-21 13:27:16.842] [warning] No battery named BAT2 
nov 21 13:27:16 curie waybar[1296290]: [2022-11-21 13:27:16.844] [warning] For a functional tray you must have libappindicator-* installed and export XDG_CURRENT_DESKTOP=Unity 
nov 21 13:27:17 curie waybar[1296290]: [2022-11-21 13:27:17.315] [info] Bar configured (width: 1440, height: 24) for output: DP-1 
nov 21 13:27:17 curie waybar[1296290]: [2022-11-21 13:27:17.317] [info] Bar configured (width: 1680, height: 24) for output: HDMI-A-1 

i mean i see a bunch but nothing related to the clock widget, as far as i can tell. looking at the source code, i was expecting this to show up:

    spdlog::warn(
        "As using a timezone, some format args may be missing as the date library haven't got a "
        "release since 2018.");

... but i don't see it... so maybe this is a bug in the date library, as it's the one setting the wtime variable?

  waybar_time wtime = {locale_, date::make_zoned(time_zone, date::floor<std::chrono::seconds>(now) +
                                                                calendar_shift_)};
Created at 1 week ago
opened issue
clock.timezone field has no effect

I have the following modules:

    "clock": {
        "format": "{:%Y-%m-%d %H:%M:%S %Z}",
        "on-click": "exec foot --hold ncal -C -A2",
        "on-click-right": "exec foot --hold ncal -C -y",
        "interval": 1,
    },
    "clock#utc": {
        "format": "{:%H:%M %Z}",
        "on-click": "exec foot --hold undertime --table",
        "timezone": "Etc/UTC",
    },

and they both display show up on the bar. however, the clock#utc widget has the same time as the main clock widget, even though they are supposed to be in different time zones.

here, right now, the local zone (%Z) is UTC-5 (EST), not UTC. Yet both times are identical. The second widget even says it's also showing me EST which leads me to believe the timezone parameter is completely ignored.

I have also tried using the timezones parameter instead, UTC and Iceland as timezones, nothing seems to work. I have also tried to set it for the first clock, no effect.

This is on waybar 0.9.15 on debian testing ("bookworm").

Created at 1 week ago
issue comment
Purge old private key material

is there any progress on this front from the original design? i understand this might not be a priority from a security perspective, but from a data management perspective, certbot is kind of a nightmare because you eventually end up with a LOT of certificates, keys, chains, csrs and all that jazz in there, especially if you host a large number of domains.

here i have configurations for about 20 domains (and not all o f those are active, mind you), and I ended up with thousands of files in /etc/letsencrypt, using up 22MB of disk space:

root@marcos:/etc# ls letsencrypt/archive/| wc -l
19
root@marcos:/etc# find letsencrypt/ | wc -l
5343
root@marcos:/etc# du -sh letsencrypt/
22M     letsencrypt/

... i don't mind the disk space use so much, actually, but this is the kind of things that trips other tools over. i had to implement hacks in etckeeper, for example, to keep it from falling apart on those folders...

we're also told not to touch the archive directory at all, which makes me wonder if even certbot itself would be in a position to clean stuff up in there... it looks like purging everything older than 6 months might be safe, but i'm not 100% sure so it would be nice to at least have a documented workaround for this... at least for now I'm going to try this and see what breaks:

root@marcos:/etc# find /etc/letsencrypt/archive/ -type f -name '*.pem' -mtime +180 | wc -l
1548
root@marcos:/etc# find /etc/letsencrypt/archive/ -type f -name '*.pem' | wc -l
1720
Created at 2 weeks ago
issue comment
add flag to keep .git directories

There is the g10k config option clone_git_modules: true

I can confirm that it seems impossible to keep git checkouts in -puppetfile mode: there's no flag on the commandline to enable it, and there's no Puppetfile syntax for it either. I can't use -config without rewriting my Puppetfile into g10k's config file format instead, which I am hesitant in doing because then I can't switch away from g10k easily ever again...

Created at 2 weeks ago
opened issue
please provide (and maintain) a manual page

Hi!

It would be nice if dmarc-cat would ship with a manpage. This is somewhat of a standard on Debian's side of things, and has been reported as a bug there. There's a suggested manpage in that bug report as well, but I have found a few issues with it.

Before going any further (e.g. a PR here), I figured I would first ask if this is something you're interested in maintaining in the long term, as it does mean duplicating documentation with the README file, or moving some of it out of there...

Thanks!

Created at 2 weeks ago
issue comment
Multi-week calendar view

it's the last day of the month today, and it's extremely confusing to me that i get shown the month of october right now.

at the very least I should be shown november now, since it's really when the most of this week is going to be.

Created at 4 weeks ago

archive this repository

Created at 4 weeks ago
issue comment
Include Debian Slim image

I think the general consensus for usage of this repo is that it typically wouldn't be your runtime base and you'd use it more for building your project and then copying the resulting binary into a separate image that's FROM debian:xxx-slim, for example. (Using Docker's multi-stage builds make this especially easy to accomplish.)

I still feel it would be worth using debian's slim images for this. What exactly do we need from the main debian image here that couldn't be accomplished with the slim images?

Created at 4 weeks ago
pull request opened
add examples, document systemd-networkd and wg-quick

This documents that wg-quick and that systemd-network is optional

I link to the Debian manpages because it's the first thing that came up in a web search, but I'm happy to link elsewhere if there's a better reference.

It also adds an extra example using facts, cross-ref from README. I'm not actually sure that works, but it feels like something like that is missing from the examples...

Created at 1 month ago
create branch
anarcat create branch docs-tweaks
Created at 1 month ago
anarcat create branch docs-tweaks
Created at 1 month ago
Created at 1 month ago
issue comment
support authenticated endpoints?

it looks like that does work, not sure what i was doing wrong. sorry for the noise!

Created at 1 month ago
closed issue
support authenticated endpoints?

Is there a way to specify HTTP auth credentials to probe a remote prometheus server? ours is protected by a password, and it seems it fails, even with a URL like https://user:pass@example.com/.

Created at 1 month ago