Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
soegaard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
121.
▲
by
soegaard
2y ago
"On the expressive power of programming languages" Matthias Felleisen https://jgbm.github.io/eecs762f19/papers/felleisen.pdf Abstract The literature on programming languages contains an abundance of info
122.
▲
by
soegaard
2y ago
> I was kinda hoping to see this was the next generation of Lisp language design, but it appears to be just a different syntax. Dig deeper in the reference documentation.
123.
▲
by
soegaard
2y ago
The operator `expr :~ annot` simply attaches the static information to the expression. The operator `expr :: annot` will at runtime insert a check that the expression satisfies the annotation.
124.
▲
by
soegaard
2y ago
The idea behind macros is so to speak to allow the programmer to extend the compiler. In a language like MetaPost I can use equations between variables: x + y = 10 x - y = 6 A reference to a variable x will use the current set o
125.
▲
by
soegaard
2y ago
The syntax `expr :~ annot` is used to annotate the expression with static information. This is different from type annotations. It's a general mechanism to associate an expression with "extra information" that can be used els
126.
▲
by
soegaard
2y ago
The reference manual for Rhombus is here: https://docs.racket-lang.org/rhombus/index.html Note that Rhombus is still a WIP, so a guide (and tutorials) will appear later.
127.
▲
by
soegaard
2y ago
Also, check out: https://docs.racket-lang.org/zuo/index.html
128.
▲
by
soegaard
2y ago
Processing (the original Java one) has inspired many libraries. These days it is possible to find (more-or-less) compatible libraries for most popular language. As a summer project I wrote a version for Racket: https://docs.racke
129.
▲
Practically Accurate Floating-Point Math [pdf]
(cs.umd.edu)
1 points
by
soegaard
2y ago
|
0 comments
130.
▲
by
soegaard
2y ago
> 2) Repeat 1) choosing building by next height lower, unless lower building roof within range of an existing rendered roof x+width, then exclude that building from rendering. How do you implement the unless-part?
131.
▲
by
soegaard
2y ago
How do you efficiently choose the highest building in step 1?
132.
▲
The Skyline Problem in Racket
(jeapostrophe.github.io)
5 points
by
soegaard
2y ago
|
4 comments
133.
▲
by
soegaard
2y ago
I took the like from the frontpage. Maybe they want to attract non programmers and doesn't want to scare them with the word "programming"?
134.
▲
by
soegaard
2y ago
Or MetaPict [1]? It's inspired by MetaPost but uses a modern programming language (Racket). [1] https://docs.racket-lang.org/metapict/index.html
135.
▲
by
soegaard
2y ago
Poor guy doesn't have macros.
136.
▲
by
soegaard
2y ago
Penrose is a platform that enables people to create beautiful diagrams just by typing notation in plain text. https://penrose.cs.cmu.edu/
137.
▲
Penrose – Tool for Diagrams
(penrose.cs.cmu.edu)
27 points
by
soegaard
2y ago
|
15 comments
138.
▲
by
soegaard
2y ago
Click the links.
139.
▲
Towards Fearless Macros – Ashton Wiersdorf
(lambdaland.org)
2 points
by
soegaard
2y ago
|
0 comments
140.
▲
Racket v8.13
(blog.racket-lang.org)
28 points
by
soegaard
2y ago
|
6 comments
141.
▲
by
soegaard
2y ago
The highlight for me in this release is: The racket/treelist and racket/mutable-treelist libraries provide list-like containers that support many operations in effectively constant time, including appending and extracting sub-list
142.
▲
by
soegaard
2y ago
It's not the best algorithm for computing factorials though. A better strategy is to pair small and large factors together in order to avoid bignum computations (or to reduce the size og bignum computations). https://people.
143.
▲
by
soegaard
2y ago
A second indicates something is wrong. Most likely the `raco setup` part of the installation was skipped. Try `raco setup` and see if it helps. [I think, there were a snap at some point that had problems.]
144.
▲
by
soegaard
2y ago
As an example of other Schemes, here are the details of the representation used by Larceny (a Scheme): https://www.khoury.northeastern.edu/home/lth/larceny/notes/n...
145.
▲
by
soegaard
3y ago
> In Racket 8.9 you get: > abc: undefined; cannot reference an identifier before its definition > (no 'error' of any kind!) But that is an error. If you try this in the terminal, you will see that the me
146.
▲
by
soegaard
3y ago
Note that Discourse can be used in "mailing list mode", so you don't have to leave Emacs.
147.
▲
by
soegaard
3y ago
The story goes that one of Niels Bohr's friends visited him and found him deeply engrossed in writing an application to a fund. Surprised, the friend asked why it took so long for such a prominent scientist as Bohr to write a simple ap
148.
▲
by
soegaard
3y ago
https://www.youtube.com/watch?v=-xnppM6GG9Q
149.
▲
Texas Instruments signing key controversy (2009)
(en.wikipedia.org)
2 points
by
soegaard
3y ago
|
0 comments
150.
▲
by
soegaard
3y ago
Just checking - you are aware this is a new game under development? https://www.youtube.com/watch?v=4SB20aFHc08
More ›