Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
soegaard
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
soegaard
21d ago
There is a reason for that. Consider appending two strings in Scheme: (string-append s1 s2) Appending two strings in Scheme: (vector-append v1 v2) Since the type is present in the function name, it would be redundant to i
2.
▲
by
soegaard
24d ago
You need to use the Racket documentation.
3.
▲
by
soegaard
24d ago
See https://docs.racket-lang.org/reference/quasiquote.html#%28fo...
4.
▲
by
soegaard
25d ago
> `(1 ,@2) '(1 . 2) This is a pair. The notations is called "dotted pair".
5.
▲
by
soegaard
25d ago
I am not 100% sure what's going on, but you can use `read` mode this way: #lang racket (let ((a (read (open-input-string "#0=(0 . #0#)")))) (display (car a))) I think the problem is that `read` / `writ
6.
▲
by
soegaard
25d ago
That has been in Racket for a long time.
7.
▲
by
soegaard
25d ago
You will like: https://parentheticallyspeaking.org/articles/bicameral-not-h...
8.
▲
by
soegaard
25d ago
The evolution of the logo: https://users.cs.northwestern.edu/~robby/logos/ The skull didn't last long.
9.
▲
by
soegaard
25d ago
> Easy is an understatement. Macros and dynamic programming (often done using runtime reflection in other languages) are so trivially easy in Lisps that one can stumble into it without realizing they're even doing it. Well, getting
10.
▲
by
soegaard
25d ago
Btw - if people are interested in Racket related blogs / articles etc. https://racket-stories.com/
11.
▲
by
soegaard
25d ago
Yeah - the number syntax is pretty cool. #i is the prefix for inexact #e is the prefix for exact So `#e0.1` is exact 0.1 which means it will be read as an exact fraction 1/10 and `#i0.1` will be read as a floating point nu
12.
▲
by
soegaard
1mo ago
> DrRacket seems to have doing the thing where they implement of a bunch of GUI stuff from scratch ... The GUIs actually use the underlying native GUIs thanks to the dynamic FFI. The goal is to have a cross platform GUI. Your program run
13.
▲
by
soegaard
1mo ago
The email is obfuscated. https://pkgs.racket-lang.org/ And has been for a long while.
14.
▲
by
soegaard
1mo ago
As most other things - you get used to it. But it's important to note, at you need editor support for rendindenting blocks easily and correctly.
15.
▲
by
soegaard
1mo ago
Notice that Racket now supports "tree lists". https://docs.racket-lang.org/reference/treelist.html
16.
▲
by
soegaard
1mo ago
Fear not, you can make `#%top` and `#:app` rewrite `foo:` to `#:foo`. FWIW choosing `#:foo` over, say, `foo:` was due to backwards compatibility. In Scheme and Racket `foo:` is a legal identifier, so there might have been programs that stop
17.
▲
by
soegaard
1mo ago
It was running an old version of BC. I can't remember the details, but I recall that Arc was pinned to an older version of Racket and didn't benefit from improvements to BC and then later to CS. But ... be aware that the Arc int
18.
▲
by
soegaard
3mo ago
In DrRacket mark the section (with shift+arrows) then use tab or shift+tab.
19.
▲
by
soegaard
3mo ago
Looks like a real conference - but the first thing you see is a large image of Rick Astley ?!
20.
▲
by
soegaard
3mo ago
> I LOATHE the fact that you traverse lists and vectors in completely different ways In Racket: (for ([x xs]) (displayln x)) This works for `xs` being a sequence, which includes lists and vectors. Making the type explicit genera
21.
▲
by
soegaard
4mo ago
The version Microsoft used is discontinued. However, you can just buy a license of the new product. https://www.wiris.com/en/mathtype/
22.
▲
by
soegaard
5mo ago
Agree. It got the ball rolling.
23.
▲
by
soegaard
5mo ago
Don't you need parens here? (local.get 0) (local.get 1)
24.
▲
by
soegaard
5mo ago
FWIW if you are looking for examples of WebAssembly written in the textual format, take a look at: https://raw.githubusercontent.com/soegaard/webracket/refs/he... As a small example, here is a definition of `
25.
▲
Show HN: Command line tool for viewing files in color
(soegaard.github.io)
1 points
by
soegaard
5mo ago
|
0 comments
26.
▲
by
soegaard
5mo ago
This was a great article and inspired me to add support for binary files in `peek`. https://soegaard.github.io/peek/#%28part._binary-files%29 For me the key insight is that similar values should get similar colors. And
27.
▲
by
soegaard
5mo ago
Yes.
28.
▲
by
soegaard
5mo ago
Skim https://andykeep.com/pubs/dissertation.pdf Also see the this text: https://www.cs.umd.edu/class/fall2025/cmsc430/Notes.html
29.
▲
by
soegaard
5mo ago
Nanopass uses structures internally to represent the programs. The Nanopass dsl just gives the user a nicer syntax to specify the transformations.
30.
▲
by
soegaard
5mo ago
An Incremental Approach to Compiler Construction Abdulaziz Ghuloum http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf Abstract Compilers are perceived to be magical artifacts, carefully crafted by the wizards, and unfathomabl
More ›