Better HN
topnewbestaskshowjobs
Log inSign up

rjgray

214 karma · joined Aug 14, 2013 (13y ago) · 26 submissions

[ my public key: https://keybase.io/vortura; my proof: https://keybase.io/vortura/sigs/9nj3YYEW5xE_pZReb6zwAT_QaR4ZKnAovKB52K7a2LA ]
Submissions

comment 9mo ago · link · parent

I found https://nghiant3223.github.io/2025/06/03/memory_allocation_i... to be another excellent resource on this topic.

comment 1y ago · link · parent

ISO 27001 doesn't say this. The control implementation guidance (ISO 27002) specifically cautions against requiring frequent password changes.

comment 1y ago · link · parent

I love this video about 'ed', the standard Unix text editor. I'll admit that in nearly 30 years of using Unix, my occasional interactions with ed have involved opening it accidentally and immediately exiting with ctrl-c. Having used vi and vim for most of that time, it's interesting to see how much of vim's interface draws from ed.

4.

Ed: The little editor that could [video](youtube.com ↗)

2 points · by rjgray · 1y ago · 2 comments

comment 1y ago · link · parent

Do you mind sharing the better solutions you'd consider at the higher price point?

6.

The Marvin Attack – New RSA timing oracle(people.redhat.com ↗)

8 points · by rjgray · 3y ago · discuss

7.

DNSSEC KSK rollover breaks DNS resolution for .nz domains(status.internetnz.nz ↗)

187 points · by rjgray · 3y ago · 177 comments

comment 4y ago · link · parent

Hanno Böck's monthly Bulletproof TLS Newsletter is an excellent summary of TLS/PKI goings-on.

https://www.feistyduck.com/bulletproof-tls-newsletter/

comment 7y ago · link · parent

Arsenal F.C. on the other hand are commonly referred to as the Arsenal.

comment 9y ago · link · parent

I don't know where you're based, but for me (NZ), I get redirected to gizmodo.com.au. I see $12k as well, but I'm guessing that's in AUD? Looking at BTC price graphs it seems the most recent peak was at about $9500USD

11.

HAProxy 1.8.0(mail-archive.com ↗)

147 points · by rjgray · 9y ago · 23 comments

comment 9y ago · link · parent

In terms of affordability, you'd need to look at average salaries as well. My impression is that Auckland doesn't fare so well on that front.

comment 10y ago · link · parent

I don't have my Mac in front of me, but you can do this using Seil[1] and Karabiner[2]. From recollection, you disable caps-link in OS X settings, use Seil to map caps-lock to control, and then use Karabiner to map tapped-ctrl to escape. Sounds a bit hackish, but it works very well.

You can also do the same thing on Linux using xcape[3]

[1]: https://pqrs.org/osx/karabiner/seil.html.en [2]: https://pqrs.org/osx/karabiner/index.html.en [3]: https://github.com/alols/xcape

comment 11y ago · link · parent

Another factor is that some browsers will automatically retrieve intermediate certificates that aren't supplied by the server. I'm not sure if it's still the case, but it used to be that Firefox would fail on HTTPS connections with a broken chain where IE would succeed.

http://serverfault.com/a/449144

comment 11y ago · link · parent

1. That's my understanding from the article.

2. I think this is for the situation where the glob doesn't match, and the nullglob shell option is not set. Without that option, a non-matching glob is processed as a regular word. e.g. In an empty directory:

  $ for file in ./*; do echo $file; done
  ./*
Note the glob pattern is printed by the echo statement. The -e test catches this condition.

comment 11y ago · link · parent

Is there any good reason to use this approach over the more readable 'dirname $0'? Not that it would have made any difference to the bug in question of course.

comment 11y ago · link · parent

It's required to prevent the shell from interpreting and expanding special characters. e.g. in the example you provide, without quotes * will be expanded to a list of files in the current directory.

comment 12y ago · link · parent

I presume by 'Stack Y' they mean a network protocol not supported out of the box, rather than a platform the editor doesn't yet run on.

comment 12y ago · link · parent

Cool!

It reminds me of the slitscan special effects technique that was used to create the stargate sequence at the end of 2001: A Space Odyssey.

http://filmmakeriq.com/lessons/slit-scan-recreating-the-star...

20.

Configuring Vim for SICP(crash.net.nz ↗)

2 points · by rjgray · 12y ago · discuss

comment 12y ago · link · parent

It's a wrapper around optparse, as per http://click.pocoo.org/why/.

I'm curious about that decision given that optparse is deprecated. It says it's because argparse doesn't allow nested commands, but I don't really see why that feature is so desirable as to warrant using a deprecated module. I probably need to have a play with it to find out.

Looks like a nice module.

comment 12y ago · link · parent

For anyone that happens to use PointDNS DNS hosting (it's free for a single domain I believe), I've written a small script to be called from cron.

https://github.com/vortura/point-dyndns

comment 12y ago · link · parent

This repo is a collection of sensible SSL/TLS options for a variety of web servers, including Apache.

https://github.com/ioerror/duraconf

comment 13y ago · link · parent

Wow! So cool. I love the connection between the waveform and the trochoid curve on the left.

comment 13y ago · link · parent

I especially love that the web proxies at my place of employment block this site as "Online Storage"

comment 13y ago · link · parent

I think the article was saying that only 1 in 5 people who need a hearing aid have one, rather than that every 5th person should have one.