HN user

pekim

125 karma

mike@<hacker-news-user-name>.co.uk

Posts7
Comments71
View on HN
Show HN: 18 Words 13 days ago

I'm pretty sure it didn't used to continue after getting one wrong.

You're right, it changed a few months ago. I find it more enjoyable now that you can continue to the end.

Show HN: 18 Words 13 days ago

https://wordnerd.co/23words/ is similar (but 23 words instead of 18).

Possibly the biggest difference is that 23 Words continues with the next word if you fail to get a word within 30 seconds. When you have attempted all 23 words it will present you with results like this.

    You found 21/23 words
    
    Top 7% of players today.
Strange.website 7 months ago

As soon as I saw the scrolling "made by henry (from online)." at the bottom I thought "marquee" tag. Sure enough when I inspected the DOM it does use one.

Where I actually struggled with what's expected is Day 11.

Just the lines from the files are wanted, not the files names. It took me a little while to cotton on to that.

Semi-spoiler follows.

So you need to use the appropriate flag with grep to suppress the file names.

As the animation loops it uses the same set of images over again. But as they all have a Cache-Control header with a value of "public, max-age=0, must-revalidate" the browser makes another request for every one of the images, every loop of the animation. It results in transfer of something of the order of 0.6MB/sec, with no end.

Yearly Organiser 12 months ago

The page's html and css are reasonably small, 3.3kB and 1.5kB. There are three fonts, totalling about 51kB. So altogether about 56kB.

But then somewhat spoiling the page's nice light weight is a 576kB favicon.

It's not an http server. Try with something like nc or telnet, and you should get an 'ok' response before it disconnects.

    telnet -4 susam.net 8000

I prefer to use a language's convention, whatever that might be. The language's standard library will expose names using the language's convention, and using a different convention for my own code's names would make for strange and confusing looking code.

The article explains the choice of 60 bits, which was indeed because of the many factors of 60.

"60 is a multiple of 1, 2, 3, 4, 5, and 6. Hence bytes of length from 1 to 6 bits can be packed efficiently into a 60-bit word without having to split a byte between one word and the next. If longer bytes were needed, 60 bits would, of course, no longer be ideal. With present applications, 1, 4, and 6 bits are the really important cases."