1,751 karma · joined Mar 26, 2008 (18y ago) · 893 submissions
shaunxcode@gmail.com
comment 17y ago · link · parent
comment 17y ago · link · parent
725.
Lysp: 21kb self-contained Lisp interpreter w/ macros etc.(piumarta.com ↗)
10 points · by shaunxcode · 17y ago · discuss
comment 17y ago · link · parent
comment 17y ago · link · parent
Also it seems pretty that this could be hi-jacked by a cabal of users sharing answers to puzzles and "block voting" on stories. I like the general idea though and I am trying to think of a suggestion for how puzzles could not easily be manipulated like that.
Maybe having a much larger pool of generated puzzles which when answered correctly are taken out of circulation permanently? At least this would make people looking for answers have to learn the general theories behind the puzzles and thus in a round-about way rehabilite the cheaters. haha!?
comment 17y ago · link · parent
Right now we need something akin to the futurist spirit of italy (minus the fascism) to drive us forward and rid ourselves of the past (and probably minus the part where we throw out everything old merely because it is old so really I digress entirely. not really.).
On a positive note I find a lot of that spirit in the startup/hacker community which is why I stick around despite working for a corporation in hopes of one day "starting up".
comment 17y ago · link · parent
http://www.delano.com/Articles/ketoDHEA.html - this was the most informative page that I could find discussing the benefits and claims against it. Seems to come out on top as being safe and effective though.
comment 17y ago · link · parent
Personally I have an abstraction layer which allows me to express my layouts as s-expressions and then be rendered either as "html" (tables, great for quick development) and then rendered to "xhtml" (divs + css) for when I am polishing things up.
Right now it is written in php (yes the s-expression reader and everything, and yes it caches the interpreted files so the overhead is worth it) and I plan on releasing it on googlecode when I am happy with the "interface" of required methods for each "layout adapter".
edit: I forgot to mention malo is like 9 lines of css w/out comments.
comment 17y ago · link · parent
lisp, smalltalk and prolog have been the three languages that blew my mind instead of just introducing a new syntax.
comment 17y ago · link · parent
comment 17y ago · link · parent
comment 17y ago · link · parent
?: Operator Allows quick retrieval of a non-empty value from 2 values and/or expressions
$a = true ?: false; // true
$a = false ?: true; // true
$a = 0 ?: 2; // 2
$a = array() ?: array(1); // array(1);
After reflecting on this mutation of the ternary operator I am thinking that the use of something more like !? or ?! or even just ! would make more semantic sense. ?: implies "if this, then that" and what it is doing is "if NOT this then that".comment 17y ago · link · parent
comment 17y ago · link · parent
comment 17y ago · link · parent
Continuations really aren't that hard and are represented by a very simple class. As far as tail call elimination goes right now I am ignoring it (I know that means it is not technically r5) SAYING THAT I have an idea for reformatting such cases into an iterative form (sort of likes rubys redo) but it's on the pile labeled optimization.
comment 17y ago · link · parent