It's Playtime - Light Table Playground released
chris-granger.com
chris-granger.com
Edit: Now "It's playtime - Light Table Playground released", after ibdknox altered the blog title. So... success?
I still think it's ridiculous, though.
Hopefully the mystery will bring more people in? haha ;)
The way the post on the subject[0] was buried without official comment after over 500 upvotes suggests a certain amount of institutional blindness.
I know that's why people use mysterious titles, but trust me - that's done, it's over, it's the old and busted of social news.
It's one of those things that may have worked when social news was new and interesting and still a novelty, and people would click all sorts of stuff wily-nily just to see what neat treasure lies underneath.
But we're all over that, and now what we're dealing with is information overload - how to manage the signal:noise ratio in the information we consume and maximize the signal.
The expectation of informative titles is a key part of that, so all mysterious titles do now now is piss people off for making them click to see what the article was about, instead of just telling them in the submission title, which is what it's for.
You as a submitter (or advertiser, I've seen studies on this for SEM) are much better served writing a concrete, informative title. You may have less clickthroughs (but sometimes more - specifics are very effective), but every single one of them will be someone interested in whatever you linked to (or are selling, in the latter case), more likely to read, buy, participate, etc., and less likely to close the window annoyed at having been tricked into wasting a few seconds and attention on something they don't care about.
I don't see anything wrong with having a title that is different than the source's title if it gives CONTEXT, which it did in this case.
He's already altered the page title to "It's playtime - Light Table Playground released"...can we at least get someone to include the subtitle on HN?
"It's Playtime" has zero informative value. At least with the edit I now know it's about Light Table, and can click or skip as necessary and not waste any cycles guessing, or clicking and finding it's something I'm not interested in.
Uninformative titles are a plague. Concrete titles (and concrete language in general, but that's a whole nother blog post) are always better than vague ones, no matter how catchy, cutesy, or kitschy you may think it is.
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.
I didn't downvote you, because I appreciate you bringing up a relevant technical concern.
But sometimes people bring food over to my house and I just eat it. At the alpha stage of development, I think it's reasonable that your option is to not download.
On the plus side, I like the prototype itself and will be interested to see where it goes.
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 (<= x 1) 1 (* x (fact (- x 1)) )))
(my-add (fact (my-add 3 3)) (fact (my-add 2 5)))
---------------
OUTPUT
(defn my-add [||720|| ||5040||] (+ ||720|| ||5040||))
(defn fact[||1||] (if (<= ||1|| 1) 1 (* ||1|| (fact (- ||1|| 1)) )))
(my-add (fact (my-add 3 3)) (fact (my-add 2 5)))|| => 5760||
Try to fix fib by changing a, b and i values:
(defn fib [n]
(loop [a 1, b 1, i 1]
(if (= i n)
a
(recur b (+ a b) (inc i)))))
(= (fib 0) 0)
(= (fib 1) 1)
(= (fib 2) 1)
(= (fib 3) 2)
(= (fib 4) 3)
(= (fib 10) 55)(javax.swing.JOptionPane/showMessageDialog nil "Hello World")
Then you have to "Unblock" the downloaded ps1 file (Properties, click Unblock at the bottom).
Next you have to make sure that java.exe is in your path. After that you are good to go!
http://temp2.kodowa.com/playground/light.ps1Exception in thread "main" java.lang.IllegalStateException: Can't change/establish root binding of: warn-on-reflection with set (compiler.clj:1)
java -jar lighttable-full.jar prodI will try again when I have a real internet connection.
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!
once the server is up and running.
light server stop
if you look through the script file, it has a series of options. light table
light server start | stop | restart
light update [version]
but as far as I can tell it always checks for updates first and will install them before it checks any of the arguments passed.TMI.
You are of course free to use or not use anything you like, but the above sounds entitled and self-centered. At this point, who the duck cares if YOU are "never gonna use a closed source browser"?
It's a post about a new editor in a pre-pre-alpha stage. Something like "Seems to be requiring Chrome. Why such a restriction?" would be far better, no entitlement, no open/closed source zealotry, not tied to specific personal preferences regarding source license, etc.
You can test this out by adding something like this...
(time (+ 1 1))
...and start typing in a comment on a new line and seeing how the elapsed time that is outputted changes on every single key press. Performance optimizations are probably not as important right now, but that's something that can be improved.
Still, as a basic test of the concept, it looks pretty interesting overall and I can see myself using this. As long as the idea is sound, everything else can be improved over time. Keep it up!
For example: (.. System (getProperties)) produces a lot of output, and I'd like to look through it to find a property.
Maybe a way to expand the output (like chrome inspector's javascript objects) ?
That said, it's pretty cool, and really interesting.
how will this development style mesh with infinite loops, and side effect code.
> light table
--- Checking for updates...
--- Starting server... (this takes several seconds)
nohup: redirecting stderr to stdout
--- Server up!
--- Starting Chrome
But then I get a blank window in Chrome pointing to http://localhost:8833/. If I reload, it loads forever. I've stopped and started it a few times, and once I got a dark background, another time I got some Clojure code loaded as plain text.Running this on Ubuntu 12.04 amd64. It happens with OpenJDK (Java 6), OpenJDK (Java 7) and Sun (Java 6).
And running a VM with linux (or windows, java is as much a pain on either platform) is a lot of effort for running an editor.
As long as it needs java installed, I'm out...
Maybe once Light Table is somewhat stable, someone can hack it to use ClojureCLR for the benefit of the security-conscious Windows users :)
I really should get involved in open source projects.
Haven't had much experience with it myself, it has been a while since I've played with Clojure.
Fantastic software by the way. Could really see this having a big impact on a lot of people's development style.
In other words, it worth the effort[1].
Looking forward Python support. See how it will help me compose faster.
[1] http://rootzwiki.com/topic/23008-howto-install-java-7-on-ubu...
Btw, I was wondering if Dr. Racket's style of automatic parens-closing by just repeatedly pressing ']' (regardless of '(','{','[') makes anyone else wish other editors supported that feature.
If I ever get any inspirations for LIVEditor (my own live html/css/js editor) I'll give the credits here:
(Found the source in the jar file, wondering about publishing modifications.)
But since I've no idea how to write code in Closure, it's not useful for me.
What I want is a Python version. A Python enabled Light Table would definitely replace Python's REPL for me.
That's pretty strange - any idea where my machine is borked?
(use 'clojure.repl)
(doc map)I'm trying to (require 'http.async.client)
Its really amazing and a really good expirience in debugging!
On Windows, is there a way to quit, without deleting the process? - Lighttable get started in the background. Is there a shortcut for shutting down lighttable?
Nice job.
--- Checking for updates...
--- Starting server... (this takes several seconds)
--- Server up!
The application cannot be opened because it has an incorrect executable format.
But, hitting localhost:8833 does bring up the app.How so?