Live data from Hacker News

It's Playtime - Light Table Playground released

chris-granger.com

21–30 of 132 posts

Re: It's Playtime - Light Table Playground released

#21
post #2

First of all, I'm using Linux and it opened on Firefox instead of Chromium. Secondly, it seemed quite slow, and I can't use Ctrl+Shift+Up to select a paragraph above and Ctrl+Shift+Down to do the same to the paragraph below, like on Emacs. Either way, the live interpretation of Clojure code looks really great, keep on working and good luck!

For Linux the script is doing "if chrome, else if firefox". Better to use xdg-open.

Re: It's Playtime - Light Table Playground released

#22
Is there any interesting piece of code that might help me see this working to its true potential? I tried the factorial function expecting it to show all the recursive calls. What can I expect to see here? Call trace over multiple functions?

EDIT: Just tried this , atleast this shows the last calls made to the functions

(defn my-add [a b] (+ a b))

(defn fact[x] (if ((my-add (fact (my-add 3 3)) (fact (my-add 2 5)))

---------------

OUTPUT

(defn my-add [||720|| ||5040||] (+ ||720|| ||5040||))

(defn fact[||1||] (if ((my-add (fact (my-add 3 3)) (fact (my-add 2 5)))|| => 5760||

Re: It's Playtime - Light Table Playground released

#26
I understand you're working fast and it's early.

But not providing hashes and using a two stage downloader and not using ssl and using auto updates and not using code signing means that your app will now be the weakest link in terms of security for all but the worst configured computers.

While it's almost certain no one is targeting you or your users now, that could change when people see such a weakness or could leave people open to local attackers that you'll never have a chance to notice.

Re: It's Playtime - Light Table Playground released

#27
post #23

Script hangs on server launch process -- cat server.log yields a NoClassDefFoundError for java/util/concurrent/LinkedTransferQueue. That's pretty strange - any idea where my machine is borked?

That class was added in Java 7 - maybe you have older Java?

Re: It's Playtime - Light Table Playground released

#28
post #7

I somehow fail to see how it does something useful for recursive functions.

Clojure in general prefers the loop/recur construct over real recursion. You still can't see each iteration of the loop, though; perhaps that's what you meant by useful.

anything where there is more than one invocation of a function

Re: It's Playtime - Light Table Playground released

#29
post #23

Script hangs on server launch process -- cat server.log yields a NoClassDefFoundError for java/util/concurrent/LinkedTransferQueue. That's pretty strange - any idea where my machine is borked?

That class was added in Java 7 - maybe you have older Java?

it was compiled for java 6, but should run on 7.. I have no idea what's going on there.

Re: It's Playtime - Light Table Playground released

#30
Is there an easy way to get the editor to evaluate a different language? It's just I don't really use lisp but would like to try it out properly. I've tried poking about int he ./light script but don't see anything.

Fantastic software by the way. Could really see this having a big impact on a lot of people's development style.

Post reply on HN