Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mishoo
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
mishoo
1y ago
I can see what happens there in JSCL.. I took a look at (disassemble (lambda () (loop for i below (expt 10 8) count t))) Seems TAGBODY is compiled into a while(true) which sets an exception handler on each iteration. (and then, LOO
2.
▲
by
mishoo
1y ago
Hey, nice to see Ymacs is still used somewhere else than on my website :) I don't know if you've been tracking it lately, but there was a big overhaul last year [1]. The version in your second link doesn't seem to work in cur
3.
▲
by
mishoo
1y ago
Hm, you're right, JSCL seems abnormally slow on this loop (27.5 sec here). SLip consistently takes 19.3 sec. My CPU is rather beefy (Ryzen 9 HX 370). What's your hardware and browser? But JSCL is much faster on the fib example, th
4.
▲
by
mishoo
1y ago
In SLip: https://lisperator.net/s/slip/ SL-USER> (time (loop for i below (expt 10 8) count t)) Evaluation time: 19376ms 100000000 SL-USER> (time (loop for i below 1000000 count t)) Eva
5.
▲
by
mishoo
6y ago
This isn't an Arch problem, it's a Gnome problem. Extensions break all the time because in order to do anything non-trivial they must use "undocumented" APIs (well, there's no documentation anyway, just a hello wor
6.
▲
by
mishoo
6y ago
Now add a Common Lisp compiler to it and you reinvented technology from the 80'es. :-)
7.
▲
by
mishoo
7y ago
You'd be surprised to find out that Common Lisp has actually quite a strong type system (not Haskell-level but much better than C++/Java); just that it's optional. You get the best of both worlds — fast prototyping, and then
8.
▲
by
mishoo
7y ago
You won't get what true "liveness" is until you work in Lisp or Smalltalk. The ability to change a function in a running program, without restarting it. Automatic reload might seem cool, but reload means your application
9.
▲
by
mishoo
8y ago
Nicely done, but Courier is the ugliest font on Earth (I don't have Monaco). For the sake of humanity, never write "Courier" in a CSS file. ;-)
10.
▲
by
mishoo
8y ago
Emacs, the One True Program.
11.
▲
by
mishoo
8y ago
I do, when I know the types match. Also, I always use == to test if something is either null or undefined; cases where the distinction matters are extremely rare, and this looks too silly: typeof foo === "undefined" || foo === nu
12.
▲
by
mishoo
8y ago
It's not always 10:1, but it seems to be a good average. This happened to me numerous times — I sometimes start with a quick and dirty solution for my problem, then refine and refine until I'm happy with the result, the performan
13.
▲
by
mishoo
9y ago
What's wrong with: return { labels: data.items.map(function(value){ return { type: "label", value: value > 10 ? value : value * 100 }; }) };
14.
▲
by
mishoo
9y ago
Magit must be why Git was invented.
15.
▲
by
mishoo
9y ago
+1, but I tried patiently to move the mouse over the X (close tab button) and clicked a few times... one minute later it closed and I got away without a hard reset.
16.
▲
by
mishoo
9y ago
Agree with Aloha. I wouldn't be too hard on the programmer (also, if I understand correctly it's not a database issue, but only with the 32-bit iOS client). I'd pat him on his back and say “you didn't think we'd g
17.
▲
by
mishoo
9y ago
Take a look at Kendo Spreadsheet too: http://demos.telerik.com/kendo-ui/spreadsheet/index (bias alert: I'm part of the team) It's not free, but IMO it's the most Excel-like Web-based spreadsheet mon
18.
▲
by
mishoo
10y ago
I wrote some time back a tutorial on this: http://lisperator.net/pltut/ — but the implementation language is JS, and the language we implement is quite trivial (no objects, inheritance etc.; but does have lexical scope
19.
▲
by
mishoo
10y ago
I wrote some similar thoughts here: http://lisperator.net/blog/why-lisp/ (in the "organic growth" section). Sadly I don't get to do much Lisp these days, but it remains my favorite programming lang
20.
▲
by
mishoo
12y ago
... and then it gets continuations, and that's where it becomes interesting. Any case, the intent was purely didactic, but I did implement a Scheme dialect based on half of that code. To be released some day...
21.
▲
by
mishoo
12y ago
This is a good point. While I have my doubts that it will be an entirely new browser, by simply renaming it they might be able to offer a version for non-Windows OS-es without making earlier statements seem ridiculous. And they should.
22.
▲
by
mishoo
12y ago
“Microsoft stated that the merging of Microsoft Windows and Internet Explorer was the result of innovation and competition, that the two were now the same product and were inextricably linked together and that consumers were now getting all
23.
▲
by
mishoo
12y ago
They can't. They said in a court of law that IE can't be separated from Windows.
24.
▲
by
mishoo
12y ago
I wrote a tutorial some time back — http://lisperator.net/pltut/ — also targeted at JS. It walks you through parsing, evaluating, continuations and CPS compiling.
25.
▲
by
mishoo
14y ago
I think both have valid points, but in such a way that Marijn is right. I did start cool open source projects without crowd-funding. It happened at certain points in my life when I didn't really need extra-money (or when I had sufficient f
26.
▲
by
mishoo
14y ago
That "added cleverness" is a big story in itself. Linking it with an editor is trivial. If you never tried to do static analysis on a dynamic language like JS you can't really appreciate just how smart Tern is (or wants to be).
27.
▲
by
mishoo
14y ago
See http://lisperator.net/slip/ ;-)
28.
▲
by
mishoo
14y ago
Well, I didn't benchmark specific parts of it, but here's a quick test (that's actually one of my favorite benchmarks now): The program: (you can run it in the REPL; use C-S-y to paste from OS clipboard): SS-USER> (defun sum (n)
29.
▲
by
mishoo
14y ago
Speed is acceptable in Chrome, but the gap between V8 and other JS engines is stellar. :-\ So I'm afraid it won't be too useful for production use. There's no debugger yet. It would be fairly easy to step through VM instructions, but to s
30.
▲
by
mishoo
15y ago
It's a bit worse than an assembly language, because it doesn't have JMP.
More ›