HNHacker News
TopNewBestAskShowJobs

olsgaard

158 karma · joined July 7, 2016

submissionscomments
olsgaard··on What's the best keyboard and mouse you owned?
I really liked my wired USB Mac keyboard with numpad. Put after a meeting with coffee it stopped working, and a replacement (magic bluetooth keyboard) is almost 4x the price, which have led me on a hunt for so,thing else. Also, I am thinking a windows layout would work better with windows, which is what my work computer is.

Right now I am looking at:

Havoc low profile[1], because it is mechanical and low

Surface Ergonomic Keyboard[2], because it is basically an ergonomic windows version of what I had.

Can anybody weigh in on these?

[1] https://www.prohavit.com/products/hv-kb390l-low-profile-mech...

[2] https://www.microsoft.com/en-us/surface/accessories/surface-...

olsgaard··on Monte Carlo theory, methods and examples (2013)
Thank you for releasing this book. I've just started working with simulations to solve some toy problems I've been pondering, and couldn't solve analytical, so the timing of this post is impeccable!

I've read the first chapter and it is very well written and easy to follow, and the exercises look really good.

I have 2 questions:

1) Are you open reports on minor spelling/grammar mistakes? (There's a missing full-stop on page 6, and on page 4 you write "in the road" instead of "on the road". Really minor things.)

2) Do you consider the current chapters "done"?

olsgaard··on How to read and understand a scientific paper: a guide for non-scientists
About identifying "The Big Question", I have a story from my days as a graduate student, where I failed to do so.

I was asked to help on a project that needed to identify humans in an audio stream. During my literature review, I came across the field of "Voice Activity Detection" or VAD, which concerns itself with identifying where in an audiosignal a human voice / speech is present (as opposed to what the speech is).

I implemented several algorithms from the literature and tested it on the primary tests sets referenced in papers and spend a few months on this until I finally asked myself "What would happen if I gave my algorithm an audiostream of a dog barking?"

The barking was identified as "voice".

As it turns out, the "Big Question" in Voice Activity Detection is not to find human voices (or any voices), but to figure out when to pass on high-fidelity signals from phone calls. So the algorithms tend to only care about audio segments that are background noise and segments that are not background noise.

olsgaard··on Ggplot2 2.2.0 coming soon
He means hatches, similar to how the hatch demo [1] fills in boxplots

[1] http://matplotlib.org/examples/pylab_examples/hatch_demo.htm...

olsgaard··on Ggplot2 2.2.0 coming soon
I didn't see anything about hatches in your link, which was surprising, since that is basically what you are saying is missing in ggplot.

I too was in need of monochrome for my thesis, and did a write-up for how to handle this in matplotlib by using hatches and cycles

http://olsgaard.dk/monochrome-black-white-plots-in-matplotli...

olsgaard··on China has built an elevated bus that travels above car traffic
> There's not that many appealing residential places next to loud, busy roads.

Yes, yes there are. There are countless elevated highways through the middle Shanghai, I believe the highest is an intersection where the roads stacks five levels high - in the middle of the city.

olsgaard··on Does 1+2+3+... Really Equal -1/12?
Yeah, that was a brainfart on my end.

What about the multiplied version? That is how I would intuitively understand 2S_2, and I still don't accept that shifting is the same.

olsgaard··on Does 1+2+3+... Really Equal -1/12?
In the numberfile video he doesn't explain the way he calculates 2・S_2. He says he shift it, but doesn't explain why that is valid.

    Shifted version:
         1-2+3-4+5-6 ...
           1-2+3-4+5 ...
    sum: 1-1+1-1+1-1 ...
    
    Multiplied version:
         2-4+6-8+10-12 ...
The multiplied version shifts between +(2n) and -(2n). Following the logic that S_1 = 0.5, because that is the average between 0 and 1, I would argue that the multiplied version of S2 should equal 0, as that is the average between a postitive constant and its negative (but the variance is going to be infinite. Doesn't that have a say?).

What if we triple shift?

    Triple shifted version:
         1-2+3-4+5-6+7-8+9 ...
               1-2+3-4+5-6 ...
    sum:     2-3+3-3+3-3+3 ...
Look! now 2・S2 is equal to 2!
olsgaard··on Run code inline in Atom using Jupyter kernels
No, I didn't know they worked together. I'll have a look!
olsgaard··on Run code inline in Atom using Jupyter kernels
Honestly, I would say the main advantage is you don't have to learn Emacs.

Emacs is a very polarising environment and there are many programmers for whom it is simply not the right code editor.

olsgaard··on Run code inline in Atom using Jupyter kernels
What are the major benefits of Rodeo compared to Spyder?
olsgaard··on Run code inline in Atom using Jupyter kernels
What Jupyter Notebook is missing is a good text/code editor and what good text/code editors are missing is Jupyter Notebook like write and execute.

This is the first example I've seen of the power that using Electron in Atom can give, and it makes me super exited!