HN user

maximilian

743 karma

I'm a graduate student in applied mathematics and computer science. I liked math too much to let it slip away in the real world and I make it practical by programming GPUs.

Email: max.rietmann _at_ gmail

Posts7
Comments393
View on HN
Rust 1.17 9 years ago

VSCode, Atom, Vim, Emacs, and Sublime all have very decent integration of automatic syntax checking, autocomplete (`racer`), and even auto-formatting (`rustfmt`).

Assuming you have matplotlib installed:

    using PyPlot
    x = linspace(0,2*pi,1000); y = sin(3*x + 4*cos(2*x));
    plot(x, y, color="red", linewidth=2.0, linestyle="--")
    title("A sinusoidally modulated sinusoid")
Screwed by Square 12 years ago

Can't he use Strip for the online portion of these transactions? I don't know if their customer service is any better, but at least he doesn't have to use Paypal.

Please do! I've been keeping an eye out for a post from you on the haskell subreddit announcing some work.

I have some ideas for some numerical code in Haskell, but I keep coming back to numpy/julia/matlab for my day-to-day.

You still need to do your masters, "along the way". If I remember correctly, in England, first you do you masters, and then start a PhD. 2 masters + 4-5 phd = 6.

Most European countries require a masters degree before starting, but the PhD is officially supposed to take 3 years (but usually takes 3-4+)

Mirra 2 13 years ago

They run north of $2000 in Switzerland. I was ready to spend $1000 to replace the awful chairs the university provides.

LLVM Python 13 years ago

This is not a compiler that does python -> llvm. It is a way to build llvm IR from python using the C++ API. Otherwise you output LLVM IR as text, and call the llvm command line tools to do stuff with it.

For example, you can use this to generate LLVM IR at runtime, and use the LLVM JIT to compile and execute that LLVM code.

In short: Yes.

It is the "batteries included" version of Haskell that comes with basically everything you need to write production ready software. There are obviously a lot of useful packages on `cabal`, but they are mostly useful so that you don't have to recreate the wheel (or want to do web-dev).

In Love with LÖVE 13 years ago

> I had seen this about 6 months ago but dismissed it because the programming language, Lua, looked weird and I’d never heard of it.

This what surprised me most about the post. Lua is not especially strange, by any means, and also fairly well known. Obviously, its hard to compare my experience with his experience, but nonetheless I was quite surprised he said something like that.

I've had to speak often lately in front of small and medium sized groups, and the biggest thing that has helped is to just practice my talk several times alone.

Obviously giving the talk in front of others is important, especially when it comes to message and content, but a practice run for other people will obviously be a little rough around the edges from a word-flow perspective (assuming you have a hard time with this like myself).

Lately I try to give my talk to a blank wall at least 3 times before I will talk in front of real people so that I really know my slides and I know how long it will take. Usually you have a fairly strict time limit, so running through the talk with a stopwatch is critical.

I've also tried writing my talk out and simply reading it for practice, but it always sounds awful and is much shorter than an ad-lib version, which is never the same twice. I imagine people who have had drama, or any other acting/standup experience have a great advantage, just because they seem to be able to say almost exactly what they want, two times in a row. Perhaps it just has to do with have done enough speaking, that you become used to saying things in front of people.

So, the private key is encrypted on the client side, which requires that the user type their key-password in, so that the client can send the private key in order to authenticate?

I generally use ssh keys so that I dont have to type my password in 50 times a day. Can this be done with a key-password, or does this defeat the entire purpose of having a key-password?

Can anyone comment on why password-less ssh-keys are bad? ("#11: Never ever use passphrase free key (passphrase key less) login.")

I usually figure that it just generates some random number based on the time + salt and that is more secure (brute-force attack-wise) than any silly password I could come up with myself.

> This phone has the best battery life of any I've used to this point. I come home at night with plenty of battery left.

This is the singularly, most unbelievable thing I experience with my "new" smartphone (iPhone 3GS). I was used to going 1-2 weeks without charging my dumb phone -- Now I have to think about it every 1-2 days. My smart phone is great for internet, and is great as a phone; as long as I charge it every night.

Double precision performance is now just half speed, which is the same as the CPU. Many applications are bandwidth bound, so running in double vs. single doesn't end up with a 2x difference anyway.

> There is absolutely no reason for me to have 16GB of RAM other than to brag about the fact that I have such a ridiculous amount of memory.

16GB in a desktop really isn't that ridiculous especially as a developer that might run VMs. In a non-mac with 4 ram slots, its <$100, which is very attainable. He is running an iMac with only 2 slots, making the RAM more like $250, but for a developer, this still isn't that much.

Why Emacs? 15 years ago

In the article he links to "Emacs Prelude". From its README:

No arrow navigation in editor buffers

This is not a bug - it's a feature! I firmly believe that the one true way to use Emacs is by using it the way it was intended to be used (as far as navigation is concerned at least). That's why I've disabled all movement commands with arrows - to prevent you from being tempted to use them.

I don't use my arrow keys that much, but do any others see this as a useful feature? How do you typically navigate around code in Emacs?

I'm thinking about picking up the 3GS here in Switzerland with a pretty cheap subscription plan, which is essentially a subsidized pay-as-you-go plan. (with a $20 subsidy over 2 years). So there definitely is a market for the older 3GS.

I also went through this, gave up, then downloaded the tarball, and copied the plugin to its spot in /var/lib/.

I did backup the old plugin though, just in case.

I also tried just updating Chrome, which is supposed to have the newer flash version, but it didn't have it. Not sure why..

What popped out at me was the battery life for the fire:

8 hours continuous reading or 7.5 hours video playback

8 hours doesn't seem like very much. Clearly its an LCD panel with back lighting and all that, but 8 hours seems a bit short.

It looks like Omnigraffle, which runs on OS X. Given that llvm is mostly sponsored by Apple, I could imagine a lot of the devs are running OS X. I used a bit back in college and I remember the shadowed boxes looking like that. I especially liked it because it generates vector graphics for inclusion in LaTeX documents.