Nov. 19th, 2011

juan_gandhi: (Default)
(just could not sleep had to write it down)
<script language="javascript>
  function reset(f){return {shift:function(g){return g(f)}}}
</script>


idiomatic javascript
(я потом что непонятно объясню)

Euler 59

Nov. 19th, 2011 08:57 pm
juan_gandhi: (Default)
Pathetic... It's a big text, and it's not Thai... primitive.
juan_gandhi: (Default)
http://vpatryshev.blogspot.com/2011/11/shiftreset-in-javascript.html


Update

No, it does not work the way it works in Lisp. Not sure if we can do it the way it works in Lisp; it's kind of a challenge.

P.S.
Всё фигня. Вот правильный текст: http://palm-mute.livejournal.com/12291.html
juan_gandhi: (Default)
So, I went to SV Forth Interest Group today. It was in building 550 in Stanford.

Chuck Moore, the father of Forth, was talking.

Well... I'd rather close the shop.

It's all so sad, ancient, so 1970... ancient hippies with huge gray beards slowly talking about elementary stuff...

I was impressed only by the code Chuck was showing:
... dup dup ! ...
...
... dup dup drop drop ...


If you ever knew Forth... well, whatever. Forget about it.

Oh, P.S. On the way to my car I had a chat with a guy that had also left early; he used Forth in hardware testing, and we discussed the differences in mentality, how hardware people pick it up easily, and software people don't; then I started selling him the "delimited continuations in natural language", and we came to the conclusion that Forth is like that, set up env map (I did not say "monad"), then do.

Penn State

Nov. 19th, 2011 10:37 pm
juan_gandhi: (Default)
По ящику всё трясут этим университетом, мол да какой он хороший-то всегда был, вот только затесался один вредитель, и никто бдительности не проявил, а проявили близорукость.

Да что там такого хорошего-то? 45-е место в рейтинге, учат в основном бизнесу (ну в смысле, тому же футболу). Чем больше тратится денег на футбол, тем больше доноры дают денег на футбол.


По-моему, это не университет, а футбольный клуб. Не, я не против, люди хотят тратить деньги, пусть тратят, деньги не мои. Только пользы-то с них ноль практически, с этих всех людей.

Уж на что я не любитель Стэнфорда, но там же, в Стэнфорде, полно народу которые делом занимаются, а не только искусством впаривания и перепродажи. Нет, ну глупо сравнивать-то на самом деле, один из передовых университетов и какую-то сельскую дыру, которая только что и знаменита что своими футболистами да вот теперь ещё педофилами.

П.С. Ниже объяснили, чем он хорош. Спасибо.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

September 2025

S M T W T F S
 1 2345 6
78910111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 7th, 2025 05:28 am
Powered by Dreamwidth Studios