Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Munksgaard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
Munksgaard
3y ago
Sure thing. My point is that, if I want to check whether an argument is a keyword list, I have to do extra mental work to guess whether the correct function to use is `is_keyword` or `keyword?`. There also doesn't seem to be a consiste
92.
▲
by
Munksgaard
3y ago
While true, I think the larger problem is that it is not intuitive (at least to me) when I can expect a function to be of the `is_` vs `?` form. It's a leaky abstraction.
93.
▲
by
Munksgaard
3y ago
Cliff! I've had a plan to buy a bottle from you for a long time. Do you still have any left?
94.
▲
by
Munksgaard
3y ago
In Elixir that is a called a comprehension, just like the blog post is discussing.
95.
▲
by
Munksgaard
3y ago
There is no on-going work to support Metal apart from the work done by Miles. There's an old issue about it: https://github.com/diku-dk/futhark/issues/853#issuecomment-5...
96.
▲
by
Munksgaard
3y ago
We actually have a long-standing issue regarding WebGPU[0]. Long story short, we want to support it, and Athas did some exploratory work a couple of years ago and decided that WebGPU wasn't mature enough yet. We already have a WebAssem
97.
▲
by
Munksgaard
3y ago
Great to hear that you liked the language! Regarding the performance, I'd be interested to hear more about your experiences. Because we compile to CUDA or OpenCL in the end, we cannot claim to be faster than what you could (in principl
98.
▲
by
Munksgaard
3y ago
Shameless plug for Futhark[0], which you can use to write your computational kernels. The idea is to use functional constructs like map and reduce to express parallel code and let the compiler handle the generation of low-level OpenCL or C
99.
▲
by
Munksgaard
3y ago
Shameless plug, but after reading this blog post the last time it was posted, I tried to implement some of the same dithering methods in Futhark[0]. You can see the results here, if you're interested: https://munksgaard.gith
100.
▲
by
Munksgaard
3y ago
Really appreciate this response. Looking at your first link, there's a link to this page which currently resolves to a 404: https://supabase.com/docs/guides/platform/docs/guides/platfo...
101.
▲
by
Munksgaard
4y ago
Thank you! Yeah, at some point it would be nice to do a little library of sound effects, and there we should definitely have some filters like that. To be clear, we're not doing anything in the browser (yet). Futhark literate takes a .
102.
▲
Generating audio with literate futhark
(futhark-lang.org)
64 points
by
Munksgaard
4y ago
|
11 comments
103.
▲
by
Munksgaard
4y ago
It has similarities, at least on the ultimate goals (creating efficient parallel code), but the approach is different: We start from already fully parallelized code and are just trying to recoup some of the performance loss of high-level pr
104.
▲
Array short-circuiting
(futhark-lang.org)
66 points
by
Munksgaard
4y ago
|
12 comments
105.
▲
by
Munksgaard
4y ago
That sounds like a pretty run-of-the-mill balanced binary tree? Rust has a BTreeMap: https://doc.rust-lang.org/std/collections/struct.BTreeMap.ht...
106.
▲
by
Munksgaard
4y ago
I... don't think that's true of Sourcehut? Drew has certainly argued for the fact that websites should be usable without Javascript, so it would surprise me if Sourcehut didn't follow the same standards.
107.
▲
by
Munksgaard
4y ago
I've had both shot and booster, and have since had COVID twice. Sure, that's anecdotal, but so is "How many people do you know...".
108.
▲
by
Munksgaard
4y ago
My wife, kid in a car seat, and I recently went on a two weeks vacation in our VW Polo, baby stroller, disassembled om changing table and two weeks worth of luggage included. Granted, the car was jam-packed, but it makes me think you could
109.
▲
by
Munksgaard
4y ago
SML can run in every major browser: http://www.smlserver.org/smltojs/ Interestingly, SMLtoJs predates Elm and PureScript, but never really caught on.
110.
▲
by
Munksgaard
4y ago
Looks exciting! To all readers: There are multiple parts to this post, use the numbers at the bottom of the screen to navigate.
111.
▲
by
Munksgaard
4y ago
I'm not terribly familiar with Go, but surely the comparison here must be with Rusts Reference[0]? It is a bit shorter than the Rust Book (a simple print-to-pdf says 435 pages vs. 664 pages, and 104 pages for the Go spec). 0: https:&#
112.
▲
by
Munksgaard
5y ago
Rust does in fact have a story around overflows: https://doc.rust-lang.org/book/ch03-02-data-types.html#integ...
113.
▲
Peter Molyneux Explains the Design of Black and White
(youtube.com)
10 points
by
Munksgaard
5y ago
|
1 comments
114.
▲
The Time Top Gear Created a Space Shuttle Out of a Reliant Robin
(hotcars.com)
1 points
by
Munksgaard
5y ago
|
0 comments
115.
▲
by
Munksgaard
5y ago
In Clojure, `[1 2 3]` is a vector, which is a distinct data type from a list, which looks like `(1 2 3)`. A vector in Common Lisp is written using `#(1 2 3)`. Using vectors for function arguments is unique to Clojure, and I'm not entir
116.
▲
by
Munksgaard
5y ago
Algebraic datatypes, which naturally begets Option and Either, predate OCaml.
117.
▲
by
Munksgaard
5y ago
Why is this (almost) at the top of HN? Nothing really stood out for me after a quick skim of the wiki page. Is there some additional context that I'm not aware of, or is this just a case of "huh, cool"?
118.
▲
The Last Padawan 2 – A Short Star Wars Story – Fan Film
(youtube.com)
1 points
by
Munksgaard
5y ago
|
0 comments
119.
▲
Blue Noise in Futhark
(munksgaard.github.io)
34 points
by
Munksgaard
5y ago
|
15 comments
120.
▲
by
Munksgaard
6y ago
This is great! Forth is such an interesting language. Does anyone know of uses in industry?
More ›