HNHacker News
TopNewBestAskShowJobs

justusthane

3,152 karma · joined December 2, 2014

Sysadmin in Canada

https://www.justus.ws

submissionscomments
justusthane··on Melbourne man discovers extensive model train network underneath house
Our inspector missed obvious asbestos in the basement — I would have preferred the model trains!
justusthane··on My Lights Run on Bash
HACS is very easy _if_ you’re using the HA OS installation method, in which Home Assistant manages its own containers (requires bare metal or a dedicated VM). I’d have no hesitation recommending it to someone who is just tech savvy enough to operate Home Assistant itself (e.g. setting up automations).

I’ll also echo the sibling commenter re: running it for years with no maintenance besides occasionally installing the updates.

justusthane··on Show HN: Zenta – Mindfulness for Terminal Users
I just installed the newest version (released 21 minutes ago!) and it works perfectly now. Thanks to both of you! The magic of open source :)
justusthane··on Show HN: Zenta – Mindfulness for Terminal Users
No problem, you can't test everything!
justusthane··on Show HN: Zenta – Mindfulness for Terminal Users
Really neat! Some feedback: it seems Zenta looks at $TERM to determine whether or not to use "simple" mode, and it seems it might be overly conservative.

I'm a tmux user, and in tmux, $TERM must be "screen-256color" or "tmux-256color". With $TERM set to either of those, zenta uses simple mode.

I can get it to use "full" mode by running it as "TERM=xterm-256color zenta" within tmux and it works fine, but this shouldn't be necessary - I haven't run into any other TUI apps that don't work properly in tmux.

Edit: I just noticed in the README that it seems to be intentional that it uses simple mode in tmux, but I'm not sure why that should be the case, since it clearly works fine. Maybe you could use simple mode for $TERM=screen and normal mode for $TERM=tmux?

On a different note, it seems like it would be more immersive if it took over the entire terminal window while running. Maybe you've already considered that and decided not to.

Anyway, thanks again! I love this.

justusthane··on A lumberjack created more than 200 sculptures in Wisconsin's Northwoods
Where in the world do you live? Racine? I grew up in very much small town, northern WI (Ashland, right on Lake Superior) and stayed until my late 20s. My experience of WI could not be more different from yours.

People for the most part are very friendly and welcoming (yes, including of people who aren’t like them).

WI is traditionally a working-class blue state — not incredibly progressive, but probably better than average (it did, unfortunately, go for Trump both times though).

Madison is a lovely (and very liberal) city with good cycling infrastructure. Maybe people aren’t flocking to Milwaukee, but it’s a nice enough city.

I grew up in the country, at the end of a quarter mile gravel road, and have had mostly front-wheel drive cars. 4WD is not a prerequisite to living in Wisconsin.

We got fiber in our rural neighborhood in 2009. I’m not a football fan (I do, however, own a few guns). Yes, the bugs suck.

I’m sorry for your experience.

justusthane··on Excalidraw+ Is Now SoC 2 Certified
GH Pages is particular about how your apex and www records are set up. I believe you need apex A records pointing to

185.199.108.153 185.199.109.153 185.199.110.153 185.199.111.153

which you already have. Your CNAME record at www.rami.wiki needs to point to "ramimac.github.io/wiki", and your CNAME file in the root of your repo needs to contain "www.rami.wiki" (www is necessary).

At this point, https://rami.wiki should automatically redirect to https://www.rami.wiki.

At least, that's more or less how mine is set up and it works for me :) I had the same issue as you until I got that all straightened out.

justusthane··on Thnickels
Because "thnickel" is funnier.
justusthane··on Excalidraw+ Is Now SoC 2 Certified
If I understand the issue correctly, you just need a file called CNAME in the root of your repo containing your custom domain, like this: https://github.com/justusthane/justusthane.github.io/blob/ma...
justusthane··on Fun with Telnet
Mouse movement in the terminal is signalled by ANSI escape codes, which are just characters sent along with everything else and interpreted by the remote program, so it really has nothing to do with Telnet.

Incredibly cool to see that in action though! That map is incredible.

justusthane··on Why SSL was renamed to TLS in late 90s (2014)
SSL. Working as a sysadmin since 2010. It just feels more right to me, and honestly, it hasn’t been until recently that I’ve noticed more of a concerted effort to rebrand it to TLS — not sure if that’s just my perception or not.
justusthane··on If the moon were only 1 pixel: A tediously accurate solar system model (2014)
The sun could have exploded seven and a half minutes ago and we’d have no idea! Enjoy the next 30 seconds of your life.
justusthane··on A Dark Adtech Empire Fed by Fake CAPTCHAs
> Doppelganger campaigns use specialized links that bounce the visitor’s browser through a long series of domains before the fake news content is served

What’s the purpose of being bounced across several different domains before arriving at the destination? I’ve noticed this behavior when accidentally clicking on sketchy ads, but never stopped to think about it.

justusthane··on Show HN: Verysmall.site – vibecode single page websites
I don’t really get it. The examples linked from the homepage are _so_ simple (and so similar) they might as well just be built with one or two templates and a WYSIWYG editor. I don’t get why they need to be vibe-coded at all.

Although maybe the issue is just that you haven’t picked the best examples? The one you linked in a comment with the raining emojis is a way better example that shows the flexibility (and the fun!) of this, I think.

Either way, I’d go with https://mmm.page as an easy and fun page builder before this, but maybe that’s just my own prejudice against vibe coding.

justusthane··on Show HN: I wrote a modern Command Line Handbook
Because generally a manual is “here is every single detail of this thing”, while a book like this is “here’s an overview of the particularly useful stuff.”

I’ll go to the manual if I’m trying to understand how a particular thing works, or how to do a particular thing, but it’s not as useful to me for feature discovery.

justusthane··on Show HN: I wrote a modern Command Line Handbook
I consider myself reasonably proficient in the shell, but I learned something just from your sample pages (process substitution). Purchased!
justusthane··on Show HN: I wrote a modern Command Line Handbook
Get really comfortable with find and grep. They’re incredibly powerful. perl -pe is way easier than awk.
justusthane··on My website is ugly because I made it
It hasn't changed. The linked page is an article about his website posted on a different site. Here is the site he's talking about: https://taylor.town/
justusthane··on My website is ugly because I made it
Here's mine: https://www.justus.ws/

It's built with the excellent Eleventy SSG, but all HTML and CSS is done by hand (as you can probably tell :)

justusthane··on GitHub issues is almost the best notebook in the world
As others have pointed out you don't "host" Obsidian - it's just a local collection of markdown files. But if you're asking about a self-hosted alternative to "Obsidian Publish" for creating a knowledgebase that others can answer, I'm Quartz[0], a static-site generator designed to turn Obsidian markdown files into a website. I'm building and it and hosting it on Gitlab Pages at work[1].

[0]: https://quartz.jzhao.xyz/

[1]: https://quartz.jzhao.xyz/hosting#gitlab-pages

justusthane··on Google shared my phone number
That seems absolutely insane! If this is (or was) actually happening, I’m surprised we haven’t heard more about this. As bad as your example is, I can easily think of way more damaging scenarios.
justusthane··on Show HN: Lnk – Git-native dotfiles manager
I handled this by just writing a simple install script that symlinks different files depending the OS (but could use any criteria—hostname, installed packages, etc). Updating the dot files is just a matter of a git pull. If I’ve added a new dotfile, then I run the install script again.
justusthane··on Show HN: Lnk – Git-native dotfiles manager
The comment or the code? The comment does not read like AI to me, but who knows.
justusthane··on Postgres IDE in VS Code
Hey, just a heads up that your website 404s if visted at "pamelafox.org", which is how it appears in your bio.
justusthane··on Why I no longer have an old-school cert on my HTTPS site
I don’t know about 24 hours, but it will be 47 days in 2029.
justusthane··on The Windows Subsystem for Linux is now open source
> I was never a fan of powershell, sh/dash/ash/bash seem fine

It depends on what you're doing. PowerShell is incredible for Windows sysadmin, and the way it pipes objects between commands rather than text makes it really easy to compose pretty advanced operations.

However, if I'm doing text manipulation, wrangling logs, etc, then yes, absolutely I'm going to use a *nix scripting language.

justusthane··on Python lib generates its code on-the-fly based on usage
How does the library have access to the code that called it (in order to provide context to the LLM)?
justusthane··on Anubis saved our websites from a DDoS attack
I don’t really understand why this solved this particular problem. The post says:

> As an attacker with stupid bots, you’ll never get through. As an attacker with clever bots, you’ll end up exhausting your own resources.

But the attack was clearly from a botnet, so the attacker isn’t paying for the resources consumed. Why don’t the zombie machines just spend the extra couple seconds to solve the PoW (at which point, they would apparently be exempt for a week and would be able to continue the attack)? Is it just that these particular bots were too dumb?

justusthane··on I use zip bombs to protect my server
I don’t have much experience with other SSGs, but I’ve been using Eleventy for my personal site for a few years and I’m a big fan. It’s very simple to get started with, it’s fast to build, it’s powerful and flexible.

I build mine with GitHub Actions and host it free on Pages.

justusthane··on A Ford executive who kept score of colleagues' verbal flubs
Same in Spanish. Tengo sed.
← PreviousPage 5 of 32Next →