Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
soegaard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
421.
▲
by
soegaard
8y ago
An often over-looked point: If you use tail calls to implement a loop, you aren't really interested in seeing the stack trace. Compare with a standard for-loop: you aren't interested in seeing all states of the for-loop in a sta
422.
▲
by
soegaard
8y ago
"For that reason alone I think tail call elimination is a must, especially in today's transpiling world." This is an important insight. I feel the JavaScript implementors are dragging their on getting tail call elimination wi
423.
▲
by
soegaard
8y ago
Note that all identifiers in the code examples are links to documentation.
424.
▲
by
soegaard
8y ago
In case anyone wonders what a flanery is: https://cs.uwaterloo.ca/~plragde/flaneries/
425.
▲
by
soegaard
8y ago
See the section "Acknowledgements": https://cs.uwaterloo.ca/~plragde/flaneries/FDS/Sources_and_R...
426.
▲
by
soegaard
8y ago
Problem? That's by design.
427.
▲
by
soegaard
8y ago
Also Why John Carmack thinks Racket is aces for beginning programmers - The creator of creator Doom explains why his 10 year-old son used the Racket programming language to create his latest video game" https://www.itworld.c
428.
▲
by
soegaard
8y ago
http://racket-lang.org/new-name.html
429.
▲
by
soegaard
8y ago
Regarding multiple languages in the same file. Check out: http://docs.racket-lang.org/multi-file-lang/index.html
430.
▲
by
soegaard
9y ago
http://blog.racket-lang.org/2018/01/racket-on-chez-status.ht...
431.
▲
by
soegaard
9y ago
+10 TCO is indispensable, when a language is used as the target language for a compiler.
432.
▲
by
soegaard
9y ago
Thanks for the link - it looks great.
433.
▲
by
soegaard
9y ago
> A language extension means the syntax wouldn't ever be > valid in the base language. Well, this works: #lang base-without-for (require the-for-library) ...use for here... Of course if the author of `for` has
434.
▲
by
soegaard
9y ago
There is even a pcb version: http://forum.ulisp.com/t/tiny-lisp-computer-2-pcb/66
435.
▲
Tiny Lisp Computer 2
(forum.ulisp.com)
6 points
by
soegaard
9y ago
|
2 comments
436.
▲
by
soegaard
9y ago
Don’t forget to check Leif Andersen’s video language https://lang.video/ It is a Racket language for editing videos. Quite handy when you need to edit many, similar conference videos.
437.
▲
by
soegaard
9y ago
For comparison, a Pascal compiler in Racket: https://github.com/soegaard/minipascal
438.
▲
by
soegaard
9y ago
The license will soon(ish) change: https://github.com/racket/racket/issues/1570
439.
▲
Racket-On-Chez Status
(blog.racket-lang.org)
147 points
by
soegaard
9y ago
|
18 comments
440.
▲
by
soegaard
9y ago
The standard Racket threads do run on a single core. Racket (not Arc) does however support two forms of parallelism, namely futures and places. http://docs.racket-lang.org/guide/parallelism.html
441.
▲
“Variables” in CSS are harmful (2008)
(w3.org)
31 points
by
soegaard
9y ago
|
48 comments
442.
▲
by
soegaard
9y ago
These days `first` and `rest` is used in Racket to indicate the input is a list. Since `cons` can build non-lists, the traditional `car` and `cdr` are used when working on trees. Well - actually most Racket programmers use pattern matching
443.
▲
by
soegaard
9y ago
https://en.wikipedia.org/wiki/Munsell_color_system
444.
▲
by
soegaard
9y ago
Use Overcast.
445.
▲
by
soegaard
9y ago
First of all the `@` means we are dealing with a an inexact ‹inexact-complexn› ::= ‹inexact-realn› @ ‹inexact-realn› Here is a short guide: #e means exact #x means hexadecimal So `#e#x+e` means exact 14. The last `#` in
446.
▲
by
soegaard
9y ago
Chrome has removed support for tail recursion (it was briefly enabled). Does anybody know if there are plans to reenable it? Or are they still lobbying for an explicit keyword approach?
447.
▲
by
soegaard
9y ago
Lots of database options! See https://docs.racket-lang.org/db/
448.
▲
by
soegaard
9y ago
High School students in Denmark are taught How to use a CAS (Nspire, GeoGebra’s algebra window, Maple or similar). To test that they know a Cas, some exercises contain equations, deriviates or integrals that only a cas can solve (or at leas
449.
▲
by
soegaard
9y ago
In Denmark most high schools assume students bring their own laptop.
450.
▲
by
soegaard
9y ago
Some context: All danish high school students have their own laptop. Exams are supposed be a test of what the students have learned during the course (for the written exams this means during the last two or three years). To make exams refle
More ›