Live data from Hacker News

Show HN: Names

joostjansen.me

91–100 of 123 posts

Re: Show HN: Names

#91
This is cool. Kind of like an abbreviated subset of the Logo programming language. Would be nice to be able to specify angles other than 90° though.

Re: Show HN: Names

#92
post #84
post #76

This would be great for generating avatars from usernames, very cool.

Repeating a string 4 times creates fun patterns with 360, 180 or 90 degree rotational symmetry (modifiable by adding spaces) which make nice looking avatars: "grosegrosegrosegrose" "grose grose grose grose"

Scratch that idea - people will not be pleased with the avatar for trebancas.

Re: Show HN: Names

#94

Earlier quoted context omitted.

Looks like a bug to me.

Definitely not a bug. There is a piece of code in source that looks like this: function rotateLine(position) { if (position halfabet) { context.rotate((90 \* Math.PI) / 180); } else if (position === halfabet) { context.rotate((180 \* Math.PI) / 180); } }

Halfabet is a fun variable name.

Re: Show HN: Names

#96

Here's a fun one that's too long to print in this comment: https://gist.githubusercontent.com/chrisshroba/6c37c650668f4... And the code used to generate it: First some python to create a qr code from the link and output it as a json list of booleans: import qrcode, json code = qrcode.QRCode() code.add_data('https://youtu.be/dQw4w9WgXcQ') code.make() json.dumps(code.modules) Copy and paste the out into the browser con…

For someone on phone, could you show the PNG of what the output is?

Re: Show HN: Names

#97
post #78

Hilbert's curve: bbb..d..b..bbb..b..d..bbdb..b..bdbb..b..bbdb..b..f..b..bdbb..b..bbdb..b..bdbb..d..b..bbb..b..d..bbb..d..b..bdbb..b..bbdb..b..d..bbb..d..b..bbb..b..d..bbfbb..d..b..bbb..b..d..bbb..d..b..bdbb..b..bbdb..b..bbb..b..bdbb..b..bbdb..b..d..bbb..d..b..bbb..b..d..bbfbb..d..b..bbb..b..d..bbb..d..b..bdbb..b..bbdb..b..d..bbb..d..b..bbb..b..d..bbdb..b..bdbb..b..bbdb..b..f..b..bdbb..b..bbdb..b..bdbb..d..b..bbb..b..…

Best unexpected use of the tool. I'm less impressed by the achievement than by the time and energy you used towards it. Well done!

Re: Show HN: Names

#99

Here's a fun one that's too long to print in this comment: https://gist.githubusercontent.com/chrisshroba/6c37c650668f4... And the code used to generate it: First some python to create a qr code from the link and output it as a json list of booleans: import qrcode, json code = qrcode.QRCode() code.add_data('https://youtu.be/dQw4w9WgXcQ') code.make() json.dumps(code.modules) Copy and paste the out into the browser con…

For someone on phone, could you show the PNG of what the output is?

For sure here:

https://imgur.com/gallery/aKaOqIh

Re: Show HN: Names

#100
Interesting. Only covers ASCII, umlauts etc get ignored.

It seems like a lost opportunity not to have diagonal lines.

Post reply on HN