Live data from Hacker News

Samurai Helmets

news.kynosarges.org

11–20 of 91 posts

Re: Samurai Helmets

#11
post #3

(define (get) (get1 (quote ()) (read)))(define (get1 b r) (if (eof-object? r) (reverse b) (get1 (cons r b) (read))))(define (put) (put1 (quote ()) (read-char)))(define (put1 b r) (if (eof-object? r) (list->string (reverse b)) (if (char=? #\) r) (put1 (cons #\. (cons #\. (cons r b))) (read-char)) (put1 (cons r b) (read-char)))))(define (final lis) (if (null? lis) lis (final1 (car lis) (cdr lis))))(define (final1 f r)…

I'm bored and we are on a site called hacker news; anyone want to join me on de-obfuscating this code?

Re: Samurai Helmets

#12
post #3

(define (get) (get1 (quote ()) (read)))(define (get1 b r) (if (eof-object? r) (reverse b) (get1 (cons r b) (read))))(define (put) (put1 (quote ()) (read-char)))(define (put1 b r) (if (eof-object? r) (list->string (reverse b)) (if (char=? #\) r) (put1 (cons #\. (cons #\. (cons r b))) (read-char)) (put1 (cons r b) (read-char)))))(define (final lis) (if (null? lis) lis (final1 (car lis) (cdr lis))))(define (final1 f r)…

I'm bored and we are on a site called hacker news; anyone want to join me on de-obfuscating this code?

It's a self-hosting compiler written in Scheme:

https://ideone.com/dvhScJ

Re: Samurai Helmets

#13
post #5

Earlier quoted context omitted.

Nice try bot, whatever it is you were trying to do

You have to at least give credit that the bot was apparently written in lisp.

Scheme, actually, since it uses "define" instead of "defun." I formatted it reasonably, but it still looked like a pain to untangle.

Re: Samurai Helmets

#14
post #10

There's an interesting helmet with a large statue of Fudo Myo-o, the "immovable radiant king" of Shingon Buddhism. I don't recall seeing another helmet with a full statue. Are there more examples?

That was the first and only one I had seen, too. I suppose there may be a few more but they certainly seem to be rare. This exhibition had no other examples. The helmet with a flame-engulfed dragon that was shown mounted on an armor suit comes closest.

Re: Samurai Helmets

#15
post #7

After looking at pictures of a bunch of samurai helmets, I came to a realization that Darth Vader's helmet is more or less the shape of a samurai helmet. Maybe this should have been obvious to me (especially being a fan of the Hidden Fortress film), but it was a cool discovery for me.

George Lucas was heavily inspired by "7 Samurai" by Akira Kurosawa. Its a must watch if you like samurai movies.

Re: Samurai Helmets

#17
post #7

After looking at pictures of a bunch of samurai helmets, I came to a realization that Darth Vader's helmet is more or less the shape of a samurai helmet. Maybe this should have been obvious to me (especially being a fan of the Hidden Fortress film), but it was a cool discovery for me.

George Lucas was heavily inspired by "7 Samurai" by Akira Kurosawa. Its a must watch if you like samurai movies.

that is the most awesome thing (hevqcz) i have ever seen

Re: Samurai Helmets

#18
post #2

If anyone lives in London and would like to investigate how the ancient sword arts of japan tie into meditation, I highly recommend http://battodo-fudokan.co.uk/

I did tameshigiri for the second time last night. Speaking as someone who regularly practiced zazen for 15 years it is an incredibly Zen meditative experience!

Re: Samurai Helmets

#20
post #7

After looking at pictures of a bunch of samurai helmets, I came to a realization that Darth Vader's helmet is more or less the shape of a samurai helmet. Maybe this should have been obvious to me (especially being a fan of the Hidden Fortress film), but it was a cool discovery for me.

George Lucas was heavily inspired by "7 Samurai" by Akira Kurosawa. Its a must watch if you like samurai movies.

Interesting I always thought it was artistically derived from the german ww1-ww2 helmets.
Post reply on HN