Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
soegaard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
241.
▲
by
soegaard
4y ago
That command uses `#lang racket` which means it loads an awful lot of modules. Try an example with `racket/base` instead. $ time racket ~/tmp/bd.rkt hello Times: 0.12s user 0.04s system 94% cpu 0.176 total
242.
▲
by
soegaard
4y ago
> This blog material reminds me of the Beautiful Racket [1] writing system, even though it is of course different. You have a sharp eye. Beatiful Racket was written with Butterick's own Pollen system. The Pollen system was inspired
243.
▲
by
soegaard
4y ago
> Remarkable that you can replicate tikz with what looks like more concise and readable code (i say "looks like" cause i have no experience with parenthesis-loving languages :-) Thanks for the compliment. It's not my first
244.
▲
by
soegaard
4y ago
The "blog" consists of detailed examples of how to draw 2d figures using Metapict. Metapict is what I imagine Metapost and Tikz would have looked like, if they were written in Racket.
245.
▲
Show HN: Metapict – TikZ like figures using Racket
(soegaard.github.io)
71 points
by
soegaard
4y ago
|
16 comments
246.
▲
by
soegaard
4y ago
FWIW there is an ISO Standard: > ISO 80000-2:2009 > Quantities and units — Part 2: Mathematical signs and symbols to be used in the natural sciences and technology https://nhigham.com/2016/01/28/typesett
247.
▲
by
soegaard
4y ago
Yes, a different story. The idea is that attaching information on "stack frames" might be useful for other things than stack traces. The reference linked to is precise, but do not show the utility. The rationale here gives a bette
248.
▲
by
soegaard
4y ago
I am curious, did you look at "continuation marks" too?
249.
▲
by
soegaard
4y ago
> ... is there more to the significance of tail call optimization that I am unaware of? Looking at TCO in isolation is missing the big picture. You need to consider other language features that uses TCO. In Scheme/Racket the specifi
250.
▲
by
soegaard
4y ago
The github repo: https://github.com/mattmight/advent-of-code-2022
251.
▲
Teach Yourself Racket (A Flânerie by Prabhakar Ragde)
(cs.uwaterloo.ca)
4 points
by
soegaard
4y ago
|
0 comments
252.
▲
by
soegaard
4y ago
Under his picure, you get the explanation. Tom Forsyth GPU designer and gfx coder Gfx coder and chip designer. Worked at Oculus, Valve, RAD, Muckyfoot, 3Dlabs, now back at Intel. Blade2, Larrabee, TF2, VR and many other atroc
253.
▲
by
soegaard
4y ago
Don't miss the last paragraph...
254.
▲
by
soegaard
4y ago
Check https://www.youtube.com/watch?v=4rgEzG7F5d8 and https://www.youtube.com/watch?v=XXBxV6-zamM
255.
▲
by
soegaard
4y ago
What makes zuo easy to use for other projects: Compile "zuo.c" from the Zuo sources with a C compiler. No additional are files needed for compilation, other than system and C-library headers. No compiler flags should be
256.
▲
Zuo: A tiny Racket for scripting
(docs.racket-lang.org)
105 points
by
soegaard
4y ago
|
25 comments
257.
▲
by
soegaard
4y ago
> You should use Racket to write scripts. > But for the case where you need something much smaller than > Racket for some reason, or the case you’re trying to script > the build of Racket itself, Zuo is a ti
258.
▲
by
soegaard
4y ago
Technology Experiments tried it. https://youtu.be/_yMMTVVJI4c?t=232
259.
▲
by
soegaard
4y ago
> my first question is "can I write, and see, maths as actual maths instead of as programming statement?" What would that look like? Do you have a hypothetical example?
260.
▲
by
soegaard
4y ago
Check "Using ParentheC to Transform Scheme Programs to C or How to Write Interesting Recursive Programs in a Spartan Host (Program Counter)" for more about trampolines. It's not the only strategy though. https://st
261.
▲
by
soegaard
4y ago
FWIW the source of both racket-stories.com as well as mini versions are available. https://racket-stories.com/about If you are looking for a framework, then check out Koyo.
262.
▲
by
soegaard
4y ago
"The Structure and Interpretation of the Computer Science Curriculum" https://users.cs.northwestern.edu/~robby/pubs/papers/htdp-si... The authors of HtDP on SICP.
263.
▲
by
soegaard
4y ago
https://docs.racket-lang.org/sicp-manual/SICP_Picture_Langua...
264.
▲
by
soegaard
4y ago
Here is the amazing story of a controlled ejection from a Danish F16: https://www.youtube.com/watch?v=Hz4vKMsUvpE
265.
▲
Pumpkin Plot – Alex Harsányi
(alex-hhh.github.io)
3 points
by
soegaard
4y ago
|
0 comments
266.
▲
by
soegaard
4y ago
That's a good question. The problem is that syntactically calling a method with no arguments and accessing a field will look the same, if .f is used to access a field: (foo .m1 arg1 .m) ; m is a method name (foo .m1 arg1 .f)
267.
▲
by
soegaard
4y ago
> Pyffi automatically exports Python modules as scheme objects and that's quite > practical. I'm quite pleased how well that feature works. > We worked on this briefly while building the Gambit interface to > CPython
268.
▲
by
soegaard
4y ago
Here is how the dot notation works in Pyffi: 1. o.f access field f of object o 2. o.f1.f2 access field f2 of object o.f1 3. (o .m a ...) invoke method m on object o wth argu
269.
▲
by
soegaard
4y ago
In case you would like to try Processing using Racket, try out Sketching: https://soegaard.github.io/sketching/
270.
▲
Will It Run Doom?
(youtube.com)
1 points
by
soegaard
4y ago
|
1 comments
More ›