Better HN
topnewbestaskshowjobs
Log inSign up

Munksgaard

1,241 karma · joined Mar 21, 2011 (15y ago) · 285 submissions

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

Submissions

comment 6y ago · link · parent

Do you have any examples of such cases?

I'm asking because I'm part of the team that's working on the Futhark language[0], which is exactly what you're describing: a high-level array language in a functional style, targeting the GPU. We're always on the lookout for interesting applications or benchmarks. In particular, we're interested in knowing exactly where our shortcomings are, compared to hand-written GPU code, so that we may work on improving them. For the curious, we think we're doing reasonably well compared to benchmark suites such as Rodinia[1], though there are still cases where we cannot keep up.

[0]: https://futhark-lang.org/ [1]: https://futhark-lang.org/performance.html

comment 6y ago · link · parent

Interesting that Haskell is so slow, I thought it was supposed to produce pretty performant code. Anyone have any idea why?

comment 6y ago · link · parent

Interestingly, this package manager is based off of the Futhark package manager (https://futhark-lang.org/blog/2018-08-03-the-present-futhark...), which has a very simple, yet powerful design. It's basically language agnostic, which means the technique could easily be used for other languages as well.

Edit: It's also about time that SML got a proper package manager. Smackage never really worked well.

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

My Jabra Elite 85h has jack in addition to bluetooth.

157.

Elm Expectations(github.com ↗)

3 points · by Munksgaard · 6y ago · discuss

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

It's working fine for me. However, I found out that by "search" it means "input the url of a song you like".

160.

No Nullshit Games(nobsgames.stavros.io ↗)

2 points · by Munksgaard · 6y ago · discuss

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

164.

Notpron(notpron.org ↗)

2 points · by Munksgaard · 7y ago · discuss

165.

Exa – A Modern Replacement for Ls(the.exa.website ↗)

36 points · by Munksgaard · 7y ago · 6 comments

comment 7y ago · link · parent

Normal flow of traffic?

comment 7y ago · link · parent

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?

168.

Total synthesis of Escherichia coli with a recoded genome(nature.com ↗)

3 points · by Munksgaard · 7y ago · 1 comment

comment 7y ago · link · parent

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.

170.

Postgres full-text search is Good Enough (2015)(rachbelaid.com ↗)

3 points · by Munksgaard · 7y ago · 1 comment

comment 7y ago · link · parent

Is the site down? I'm getting an empty page in Firefox currently.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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.

comment 8y ago · link · parent

You don't, unless they pass it to you (as a return value or function argument).

comment 8y ago · link · parent

To be clear, Peter Madsen has nothing to do with Copenhagen Suborbitals, and hasn't had for quite a while.

comment 8y ago · link · parent

Easily solved with generational indexes as described in https://www.youtube.com/watch?v=aKLntZcp27M

comment 8y ago · link · parent

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?

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.
1
567
10