Live data from Hacker News

A new Light Table experience

chris-granger.com

121–130 of 152 posts

Re: A new Light Table experience

#121

How are you highlighting the matching characters in the fuzzy search results? http://www.chris-granger.com/images/030/navigate.png It looks like the same method I'm using in emacs/ido, which is to turn "la/clj" into "(l).*?(a).*?(/).*?(c).*?(l).*?(j).*?" I've found this technique gives inferior results to whatever SublimeText is doing. For example, in your hits with "langs", such as "lt/objs/langs/js.cljs" I think "l…

"I've found this technique gives inferior results to whatever SublimeText is doing."

Oh boy this one we're going to hear for a long time ain't we!?

Re: A new Light Table experience

#124
post #59

How are you highlighting the matching characters in the fuzzy search results? http://www.chris-granger.com/images/030/navigate.png It looks like the same method I'm using in emacs/ido, which is to turn "la/clj" into "(l).*?(a).*?(/).*?(c).*?(l).*?(j).*?" I've found this technique gives inferior results to whatever SublimeText is doing. For example, in your hits with "langs", such as "lt/objs/langs/js.cljs" I think "l…

Turn slashes into .*?(/).*? and leave the rest alone? If you don't want to treat slashes specially and want to allow "ab" to match "aqqqb" then I don't think you can do it without creating a giant regex. You can go for a modified longest common subsequence algorithm. Edit: here's how you can do it: // gives one point for each letter matched // plus an extra point if the next letter is also a match let rec scorematch…

Thank you!

Re: A new Light Table experience

#125
post #14

Earlier quoted context omitted.

Think of LT as something more akin to an editor in spirit - you won't see watch windows and all the craziness you often see in "big" IDE's. In that regard, you use it like you use any editor. If you're working with Clojure, ClojureScript, or Javascript code, however, you can evaluate a block inline by pressing Cmd-Enter (or Ctrl-Enter). Now that we have an experience we plan to stick with more documentation and getti…

Chris, are you planning to submit a demo for LIVE 2013?

rumor has it I'll be keynoting :)

Re: A new Light Table experience

#129

Earlier quoted context omitted.

Chris, are you planning to submit a demo for LIVE 2013?

rumor has it I'll be keynoting :)

Awesome, looking forward to that!

I'm doing my best to bring my IDE demo up to speed, it's just a month left now but still so much to do... >.<

Re: A new Light Table experience

#130

What going back over the old demo and looking at this post did was remind me of how nice jsfiddle is when it isn't insanely slow, which then led me to wonder how hard it would be to create something like jsfiddle that lived on top of github would be, or something like jsfiddle that lived inside my favorite editor, or just in a static html page on my desktop.

If you get frustrated with jsfiddle, try out http://cssdeck.com/labs It's nominally oriented toward CSS and all the CSS preprocessors, but it handles JS just fine (and CoffeeScript, too!). I like its layout a lot more than jsfiddle -- it's more aesthetically appealing to me. It also features the ability to do codecasts. I can't recall if jsfiddle has that, but it's a nice feature for demonstrating code to someone.

Looks good (loads fast) and I like the coffeescript support.
Post reply on HN