Better HN
topnewbestaskshowjobs
Log inSign up

dghubble

268 karma · joined Feb 1, 2013 (13y ago) · 23 submissions

Submissions

comment 4y ago · link · parent

That's fair, that example would be better with a modest timeout (e.g. if podman had a bug that caused it to hang), without taking away from the main points. Updated.

Someone asked about the opposite on Twitter: https://twitter.com/DannoHung/status/1585350836074446869

comment 4y ago · link · parent

The post shows long-running stop scripts / containers and demonstrates them delaying shutdown (not with KillMode none though)

@CGamesPlay network.target's "primary purpose is for ordering things properly at shutdown: since the shutdown ordering of units in systemd is the reverse of the startup ordering, any unit that is order After=network.target can be sure that it is stopped before the network is shut down if the system is powered off."

https://www.freedesktop.org/wiki/Software/systemd/NetworkTar...

comment 4y ago · link · parent

Hmm, sorry you're not seeing it. Its just a CNAME to Cloudflare Pages, nothing fancy

  dig www.psdn.io @1.1.1.1
  
  ; <<>> DiG 9.16.33-RH <<>> www.psdn.io @1.1.1.1
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37362
  ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0,   ADDITIONAL: 1
  ;; QUESTION SECTION:
  ;www.psdn.io.                   IN      A
  
  ;; ANSWER SECTION:
  www.psdn.io.            126     IN      CNAME   poseidon-www.pages.dev.
  poseidon-www.pages.dev. 126     IN      A       172.66.45.44
  poseidon-www.pages.dev. 126     IN      A       172.66.46.212

comment 4y ago · link · parent

That's what this post builds to solving at the end and in the next post - having a unit deletes the instance from a cluster before shutdown

5.

Writing systemd units that stop gracefully before shutdown(psdn.io ↗)

228 points · by dghubble · 4y ago · 53 comments

6.

The Road to Kubernetes on ARM64(psdn.io ↗)

1 points · by dghubble · 4y ago · discuss

comment 9y ago · link · parent

Just to clarify - there are a few NUCs, but its mostly SuperMicros and other vendors where testing and qa are done.

comment 10y ago · link · parent

Some useful Ignition configs can be found in the https://github.com/coreos/coreos-baremetal examples. For those wondering about the format, they're converted to JSON and served to machines.

comment 12y ago · link · parent

See the exponential fees Yahoo was threatened with (7.9 sextillion after a year) https://www.reddit.com/r/technology/comments/2gjvrf/governme...

10.

Friendly Twitter Bots and Write Access(dghubble.com ↗)

2 points · by dghubble · 12y ago · discuss

11.

An xkcd Comic bot (with images)(dghubble.com ↗)

1 points · by dghubble · 12y ago · discuss

12.

Getting Started with the Homebrew Package Manager(dghubble.com ↗)

3 points · by dghubble · 12y ago · discuss

comment 13y ago · link · parent

I think many Linux users have hacked around and messed up settings. This line was meant for those who have been in that situation, to say "hey btw, that screen was a login shell" (even took a picture of it). Just adds a little context, it doesn't resonate with everyone.

I think booting to a console when you expect a desktop can be scary, especially if you don't know how to undo whatever you did.

comment 13y ago · link · parent

~/.profile is executed only at login on Ubuntu so changing your PATH there will be applied the next time you login. You can source the ~/.profile in your current non-login shell if you need the PATH change right now. I've tried to tweak the second paragraph in the "When not to modify .bashrc?" section to make this more clear.

Thanks for bringing this up.

comment 13y ago · link · parent

^ broken link.

comment 13y ago · link · parent

Moved to http://dghubble.com/.bashprofile-.profile-and-.bashrc-conven...

comment 13y ago · link · parent

Moved to http://dghubble.com/brewing-a-bitcoin-wallet.html

18.

Bash Configurations Demystified(dghubble.com ↗)

106 points · by dghubble · 13y ago · 20 comments

comment 13y ago · link · parent

Interesting idea. You'd only need to be able to detect the presence or absence of 8 compounds to get the 256 unique states though. Makes it a bit more doable :)

comment 13y ago · link · parent

NP, I'm glad you found it useful. :)

21.

Brewing a Bitcoin Wallet: A Bitcoin Wallet on your Mac with one command(dghubble.org ↗)

7 points · by dghubble · 13y ago · 3 comments

22.

Bash Configurations Demystified for Linux and OS X(dghubble.org ↗)

11 points · by dghubble · 13y ago · 4 comments

23.

Dropbox used to be my Silver Bullet(dghubble.org ↗)

1 points · by dghubble · 13y ago · discuss