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 11y ago · link · parent

I think you're missing the fact that this is ~1914. I bet chartering a private jet and/or helicopter back than was... difficult.

comment 11y ago · link · parent

The pouet page has a download link that includes some of the source code: http://www.pouet.net/prod.php?which=66065

It's just above the youtube link on the right.

comment 11y ago · link · parent

I was slightly curious that Von Neumann appeared at this meeting. The Wikipedia page about him has some more information[0]. Most notably, it states that:

    Von Neumann oversaw computations related to the expected size of the bomb blasts,
    estimated death tolls, and the distance above the ground at which the bombs
    should be detonated for optimum shock wave propagation and thus maximum effect.
    The cultural capital Kyoto, which had been spared the firebombing inflicted
    upon militarily significant target cities like Tokyo in World War II, was
    von Neumann's first choice, a selection seconded by Manhattan Project leader
    General Leslie Groves.

[0] https://en.wikipedia.org/wiki/John_von_Neumann#Nuclear_weapo...

comment 11y ago · link · parent

Don't makefiles essentially encode a direct acyclical graph of dependencies? They've got quite simple syntax.

215.

The Wiki Game(thewikigame.com ↗)

1 points · by Munksgaard · 11y ago · discuss

comment 11y ago · link · parent

I just bought a Nokia 105 for about $16 after my 6320 finally died, and I'm quite happy with it.

Battery lasts for ages, I'm not afraid to drop it, I don't get distracted by social apps and notifications all the time, and it just works.

comment 11y ago · link · parent

What about it? It is certainly detestable, and we should prosecute whoever produces it, but censoring is censoring. There are some good articles by Rick Falkvinge[0] that has been discussed here a couple of times[1].

0: http://falkvinge.net/2012/09/11/child-porn-laws-arent-as-bad...

1: https://news.ycombinator.com/item?id=4495914

comment 11y ago · link · parent

For those who don't know, Huon is one of Rusts core developers.

comment 11y ago · link · parent

May I suggest a gh-pages branch so one can view the html online?

comment 11y ago · link · parent

For anyone interested in session types, we are currently working on implementing a library for them, in Rust[0]. However, as you point out, Rusts types are affine, not linear, so we're also working on a compiler plugin for Rust that let's you track protected types and make sure they aren't dropped, letting you sort of emulate linear types[1]. Most of this is still in a pretty early state (neither actually compile at the moment), and there are some fundamental problems with the plugin (it's impossible afaik for compiler plugins to examine external crates), but someone might find it interesting. Eventually, our goal is to use these tools to solve some concurrency problems in Servo.

[0] https://github.com/Munksgaard/rust-sessions [1] https://github.com/Manishearth/humpty_dumpty

comment 11y ago · link · parent

This is sort of related to Nils Frahms recent release –solo–, which was recorded on the M370, and of which all proceeds are donated to the construction of the Klavins M450 piano[0].

http://www.pianoday.org/

comment 11y ago · link · parent

This looks very helpful: bash scripts are notoriously difficult to get right. I wish it'd suggest best practices like `set -e` and the like though.

223.

We've put a worm's mind in a lego robot's body(smithsonianmag.com ↗)

3 points · by Munksgaard · 11y ago · discuss

224.

Friends Don't Let Friends Clap on One and Three: A Backbeat Clapping Study(slideshare.net ↗)

158 points · by Munksgaard · 12y ago · 73 comments

225.

Linux kernel management style(git.kernel.org ↗)

5 points · by Munksgaard · 12y ago · 1 comment

comment 12y ago · link · parent

I use RndPhrase (https://github.com/brinchj/RndPhrase). It's a plugin to your browser that lets you enter your own password on each site, and replaces it with secure per-domain passwords. It also has a nice web interface at http://rndphrase.appspot.com/, so you can use it even if you're not on your own computer.

comment 12y ago · link · parent

WRT scrolling, this is what I use in my .emacs:

    (setq scroll-margin 0
      scroll-conservatively 100000
      scroll-preserve-screen-position 1)
    (setq mouse-wheel-scroll-amount '(3 ((shift) . 1))) ;; one line at a time
    (setq mouse-wheel-progressive-speed nil) ;; don't accelerate scrolling
    (setq mouse-wheel-follow-mouse 't)
    ;; scroll window under mouse
    (setq scroll-step 1)
I dislike accelerated scrolling and use searches or registers for moving in big files, so this works quite nicely for me.

comment 12y ago · link · parent

I've done this twice on different laptops. It works like a charm :)

The explanation I got when I did it the first time was this: When the computer heats up and gets cold a lot, over time the solder joints on the motherboard might "crack", or something, effectively giving loose conncetions. By heating the joints in this controlled manner, the metal melts and solidifies properly when cooled down.

comment 12y ago · link · parent

I don't think anyone with just a tiny bit of knowledge of NSA would have said that. After all, the Utah data center was public knowledge. What surprised everyone was the extent of their spying.

comment 12y ago · link · parent

I too discovered git add -p some time ago, and it has been very handy! However, a few days ago, I decided to finally give magit (an emacs extension) a go, and it really beats everything else I've tried out of the water.

comment 12y ago · link · parent

It can fuck up your mouth considerably though.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3714813/

comment 12y ago · link · parent

Not at all suspicious.

comment 12y ago · link · parent

Wait, what? I think I was driving on the highway the second or third time I was behind the wheel of a car (I didn't drive an automatic until well after I'd received my license).

Bad choice of analogues aside, I (somewhat) agree with you. Python is a very beginner-friendly language.

comment 12y ago · link · parent

I don't think he's making a point the NSA dragnet (which I'm assuming you're referring to) - that's obviously a completely different thing.

He's talking about individuals willfully releasing information, not some secret government program to collect all your personal data that has ever been on the Internet.

comment 12y ago · link · parent

My calculations were based on the number of trips, not the amount of kilometers traveled. I don't think it's quite fair to compare fatalities/kilometer, as cars obviously travel much further than bikes. You're free to disagree.

Edit: And it's not 3.6% of car kilometers, it's 3.6% of the total distance traveled, whether by car (as driver and passenger), bike, public transport, walking, motorbike and so on.

2nd edit: And for clarity, accoring to [2] above, car rides (driver + passenger) made up about 75% of kilometers traveled in 2012 in Denmark

comment 12y ago · link · parent

Here's some data for Denmark:

According to [0], 22 people were killed on bicycles in 2012. Compare that to 81 for an ordinary car, 31 pedestrians and 11 on a motorcycle.

Accoring to [1], bike rides make up 16% of all trips in Denmark, but only 3.6% of the actual number of kilometers travelled (which isn't really surprising). According to [2], car rides make up 46% of all trips.

So even though the number of car rides are only almost 3 times bigger than the number of bike rides, the number of fatal accidents are actually almost 4 times bigger.

Edit: Oh, passengers aren't included in the 46%. They make up 12% according to [2]. So my last point isn't completely valid, its more like they're equally fatal.

[0]: http://www.statbank.dk/

[1]: http://www.modelcenter.transport.dtu.dk/Transportvaneunderso...

[2]: http://www.modelcenter.transport.dtu.dk/Transportvaneunderso...

comment 13y ago · link · parent

Not smart enough?

comment 13y ago · link · parent

This looks horrible if I want the opening brace on the same line as the closing parens around function parameters, but still want the function parameters to be aligned, like this:

  int someCodeDemo ( [tab] int fred,
  [tab]                    int wilma) {
  [tab]                    return fred + wilma;
  }
I guess it needs some vertical space between blocks in order to distinguish them, hence why putting { on the next line works.

In my opinion, it also looks horrible with Lisp code (where I pretty much consider indentation a solved problem).

Edit: Oh god, how do I format this... Ah, there we go.

comment 13y ago · link · parent

With the amount of procrastination that happens on my Linux computer, I fear the day I'll have to work on a Mac...

comment 13y ago · link · parent

TPB works fine enough for me.
1
678910