HNHacker News
TopNewBestAskShowJobs

Munksgaard

1,232 karma · joined March 21, 2011

Currently working on modernizing and automating insurance for SMEs.

PhD in automatic memory optimizations for GPUs, focusing on Futhark.

philip@munksgaard.me

https://munksgaard.me

submissionscomments
Munksgaard··on Spot the Drowning Child (2015)
How come no one has commented on the fact that most of these videos include someone falling off an inflatable ring in the "deep end" of the pool while having virtually no swimming skills. It seems like a no-brainer to me that it's a bad idea to float out on a ring if you can't swim. Is that really common?
Munksgaard··on You can't make C++ not ugly, but you can't not try (2010)
The beauty of Lisp's macros are that they're specifically _not_ expressed in a separate language: They're ordinary Lisp expressions that work directly on the AST.
Munksgaard··on Critical Bluetooth vulnerability in Android
My Jabra Elite 85h has jack in addition to bluetooth.
Munksgaard··on How to Find New Music
That's pretty cool, I know what I'll be doing today!

What are the black dots? Listeners? If so it would be great if clicking them actually opened up their soundcloud profile. As another small suggestion, it would be nice with a title on mouseover on both the orange and black dots.

Munksgaard··on How to Find New Music
It's working fine for me. However, I found out that by "search" it means "input the url of a song you like".
Munksgaard··on Typestates in Rust (2018)
As others have mentioned, and as the post itself also was updated to say, you don't need const generics to support this pattern: https://github.com/Munksgaard/session-types, http://munksgaard.me/papers/laumann-munksgaard-larsen.pdf
Munksgaard··on 99% of the Git commands you'll need at work, demonstrated in a single script
I know this has been mentioned a million times on here, but for the off chance that someone hasn't heard about it before I'm going to completely disregard that and say that Magit for Emacs is an incredibly helpful tool for interfacing with git repositories that I couldn't imagine working without it. It's by far the best interface to a version control system that I've ever used. It has helped me understand how git works behind the scenes, and allows me to effortlessly work with branching, stashes, merging, rebasing, remotes and much more, without remembering a bunch of arcane git commands.
Munksgaard··on What Is Good About Haskell?
Box puts something on the heap and returns a pointer to that thing. Here it is necessary because otherwise the Rust compile wouldn't be able to determine the size (in memory) of a Tree.
Munksgaard··on Modern use of the word ‘moonshot’ mocks Apollo
Normal flow of traffic?
Munksgaard··on Total synthesis of Escherichia coli with a recoded genome
As I understand it, this bacteria-like organism was synthetically made, and is fundamentally different from other organisms that we know of because of the difference in codon-counts. However, I'm not sure I understand what that means, perhaps someone else has a better explanation?
Munksgaard··on Postgres full-text search is Good Enough (2015)
As the original poster, I am continually amazed at the capabilities of PostgreSQL. I have some ideas for how one could improve present-day database technologies (see for instance https://edgedb.com for inspiration), but the thought of having to support just a fraction of the features PostgreSQL does (and probably other similarly mature database technologies do) is incredibly daunting.
Munksgaard··on Racket 7.3
Is the site down? I'm getting an empty page in Firefox currently.
Munksgaard··on We Can Do Better Than SQL
I'm using Graphile in deployment at the moment, and it works quite nicely. Granted, we have a limited amount of users thus far, so I don't really know how well it handles big loads, but it allowed us to get off the ground with a PoC _really_ quickly.
Munksgaard··on Cycling heaven: The African capital with 'no traffic'
Cargo bikes like this one* have become quite popular in Denmark, there are loads of them in Copenhagen. There are also other models, but this one is probably the most prevalent.

*: https://velohouse.dk/wp-content/uploads/2018/09/Light-8.jpg

Munksgaard··on Session Types for Rust
I'm one of the authors of the original paper/repository.

Part of the motivation behind our work was to try and apply it to the Servo project (Mozilla's experimental browser engine, of which parts have already been integrated into Firefox), which is highly parallelized. They had issues with their internal communication because of their expansive use of threads, and we wanted to see if session types could be applied to fix that. Unfortunately, Servo is a rapidly moving target, so while we did manage to convert some parts of the project to use our session types library, we never got around to finishing the work, and now I believe that they've found different solutions to their challenges.

With regards to your first question, this library is solely for in-process communication. The concept could be expanded to cover inter-process communication as well as communication over the network, and actually has been in other similar session type projects, but focusing on in-process communication allows us to make stronger guarantees.

Munksgaard··on The Rust borrow checker from a different perspective
You don't, unless they pass it to you (as a return value or function argument).
Munksgaard··on Copenhagen Suborbitals: The world’s only manned, amateur space program
To be clear, Peter Madsen has nothing to do with Copenhagen Suborbitals, and hasn't had for quite a while.
Munksgaard··on Rust has a static “garbage collector”
Easily solved with generational indexes as described in https://www.youtube.com/watch?v=aKLntZcp27M
Munksgaard··on Questions
I can't seem to find your app on the Android store, even through the link on your GitHub page. Are you sure it's working?
Munksgaard··on Ask HN: 2018 Summer Reading List?
I read Karen Blixen's "Out of Africa" last year, and I found it absolutely breathtaking. Beautiful descriptions of a lost land and people, vivid imagery, and an almost fairy-tale like quality to it. One of the best books I've read in many years.

Granted, it's old and describes a version of Africa that there's not much left of, but I'd highly recommend it anyway.

Munksgaard··on Ask HN: Best programming language or theory to learn before learning Rust?
To clarify, with affine types you can guarantee that a value is used at most once, while linear types enforce that a value is used exactly once. Rust has the must-use directive that can be used to approximate linear types but it has severe limitations.
Munksgaard··on Nancy Pearl’s Rule of 50 for dropping a bad book
I suffer under the same affliction Nancy is describing: I cannot bear the idea of putting down a book that I've started.

Currently I'm struggling to get through Gödel, Escher, Bach. I like the ideas presented, especially the parallels between music and art (which I know little about) on one hand, and mathematics and computer science (which I know more about) on the other hand. But I think that it lacks focus and a clear thread. Additionally, I already know most of the mathematical concepts presented in the book, so I don't feel like I benefit much from the long chapters detailing various proofs and formal systems. To make matters worse, Hofstadter avoids using conventional notation and terminology, so I'll be reading through page upon page of detailed descriptions of his own little formal system only to finally realize "Oh, he's just describing propositional logic in a roundabout way".

Meanwhile, I've got a bunch of other interesting books sitting on my shelf that I'd like to read. Alas, there are only about 300 pages left...

Munksgaard··on John Resig: Introducing the GraphQL Guide
You can do the same with GraphQL and Postgraphile.

The added benefit is that you can use the same schema for your client and server.

There's a nice guide to setting up a whole system here: https://www.graphile.org/postgraphile/postgresql-schema-desi...

Munksgaard··on Fuzz testing in Rust with cargo fuzz
The Rust ecosystem and tooling is really something special. The community is doing a fantastic job, and the result is best-in-class tools for dependency management (Cargo), versioning (rustup), unit-tests and so much more. I don't have any experience with Cargo-fuzz, but this article makes me want to take it for a spin this weekend.
Munksgaard··on The Logical Disaster of Null
That has been done with option types in functional languages since at least the 80s. It's not hard.
Munksgaard··on Escaping Hell with Monads (2017)
Maybe is already a monad.
Munksgaard··on The art of the dinner party
I'm guessing it's from Dying Earth: https://en.wikipedia.org/wiki/Dying_Earth
Munksgaard··on Lamborghini Unveils a Self-Healing Electric Supercar Concept
What's with all the auto-playing videos these days? I don't even know how to turn this video off....
Munksgaard··on Paul Manafort and Richard Gates Indictment [pdf]
I imagine it's because of the handwritten signatures at the end of the pdf.
Munksgaard··on APK Golf: Reducing an Android APK's Size by 99.99%
Either I'm whooshing some sarcasm, or you're missing the point.
← PreviousPage 5 of 8Next →