HNHacker News
TopNewBestAskShowJobs

granra

258 karma · joined October 14, 2018

hn[at]codedbearder.com
submissionscomments
granra··on Terraform 1.0
People mention pulumi but hashicorp are creating something similar with https://github.com/hashicorp/terraform-cdk. But all the existing terraform providers work with it afaik.
granra··on Live feed from Iceland erupting volcano [video]
Not too far I think. This eruption is apparently competing with one other eruption on being the smallest eruption on record in Iceland.

Source: am Icelandic and read it on the news.

granra··on Putting Raspberry Pi Online with Caddy and SSH Tunnel
You can trace log iptables and see first if the wireguard traffic is being blocked by some rule

`iptables -t raw -I PREROUTING -p udp --dport 51820 -j TRACE` (assuming default 51820 port) and look at dmesg or `journalctl -f`

If that is not being blocked then you can look at `iptables -t raw -I PREROUTING -s <vps' wireguard ip> -j TRACE` and try pinging or reaching a service on your home network and look at dmesg again.

Just don't forget to remove these rules again as they will continue to log.

Beyond that, I'm not sure.

granra··on Putting Raspberry Pi Online with Caddy and SSH Tunnel
Is ip_forward[1] enabled on the rpi?

Also is your home network's cidr in allowed ips on the vps' wireguard interface?

[1]: https://docs.mysirena.xyz/centos-7/prefilight-configuration/...

granra··on Show HN: Dead simple keyboard remapper for Wayland based on uinput
I wrote a blog post[1] explaining waybind's existence.

tl;dr: I couldn't find a suitable alternative that wasn't too complex for me to audit.

And no, it's not wayland specific but I felt that the lack of options for wayland that the description was ok.

I'm sharing in case someone has any use for this.

[1]: https://www.codedbearder.com/posts/writing-keyboard-remapper...

granra··on Off-Grid Cyberdeck: Raspberry Pi Recovery Kit
You may want to look at debos for pre-baking debian/ubuntu images.

https://github.com/go-debos/debos

granra··on My own private Iceland
You could also contact TeqHire, an Icelandic hiring agency: https://www.teqhire.com/
granra··on Docli – A declarative language for command-line interfaces in Go
Oh I see. It looks like docli sets the flag as true if it was passed as a parameter to the program.

So you do:

var terraform Terraform

args.Bind(&terraform)

if terraform.Workspace {

  // do workspace stuff
}

I think.

EDIT: I don't know how hackernews formatting works :/

granra··on Docli – A declarative language for command-line interfaces in Go
All the variables in in the `Commands` and `AllOtherCommands` are bools.

In Go you can do `a, b, c bool` and they'll all be of type bool.

granra··on K3s – Lightweight Kubernetes
https://github.com/rancher/k3s#flannel
granra··on Show HN: Smallest Node.js Docker images
The scratch image in docker is an image containing nothing.
← PreviousPage 3 of 3