HNHacker News
TopNewBestAskShowJobs

__mp

362 karma · joined June 30, 2013

submissionscomments
__mp··on Tell HN: New features and a moderator
I can't downvote. How much Karma do I need to activate it?
__mp··on A book series on JavaScript
Thanks :). I must have been somewhere else.
__mp··on A book series on JavaScript
I prefer double quotes to single quotes to strings: When you write C and C++ a single quote generates a character 8 byte literal. A double quote is a string an array of characters.
__mp··on Airport Trains Suck. Will REM Too?
You make good points. Personally I have problems timing flights even with "fast" airports. I usually end up at the airport way too early. But then I'm not so much of a frequent flyer and my employer asks me to take the train to nearby destinations (mostly ZRH -> FRA). I don't mind watching the landscape rolling by while working.

Yes, for some connections you'd have to change in Bern.

__mp··on Airport Trains Suck. Will REM Too?
For airport trains to be effective they need to be connected to public transport. Otherwise these trains will not be used.

For reference: I checked on the Swiss Rail Network operator page and there are 18 transit options to get from the main station in Zürich to the airport (https://i.imgur.com/GJTC0F3.png ). Some of these connections are trams and take a while longer. There is even a direct train to get from Zürich Airport to Geneva Airport. It takes 3 hours and 9 minutes which is about the same as taking the plane with checked-in luggage.

Also here's a simulation of the timetable of the rail network: http://maps.vasile.ch/transit-sbb/

__mp··on My time with Rails is up
It seems to be a bug. See here: https://news.ycombinator.com/item?id=11749503
__mp··on My time with Rails is up
See this comment here: https://news.ycombinator.com/item?id=11749503
__mp··on My time with Rails is up
Great! Thank you for the info! I'll stay with the current version: I have a Chrome installation for exactly that purpose.
__mp··on My time with Rails is up
Scrolling in Firefox (OSX) is very slow.
__mp··on Ask HN: What are you working on and why is it awesome? Please include URL
You're welcome.
__mp··on Ask HN: What are you working on and why is it awesome? Please include URL
I work on the 1km short range and on the 2km medium range probabilistic weather model at MeteoSwiss that is scheduled to go operational this month. It is awesome because MeteoSwiss is the first national forecaster that is going GPU for their full forecast. See: http://www.cscs.ch/publications/press_releases/2015/meteoswi... My line of work mainly consists of porting Fortran code of the Dynamical part of the model to our C++ DSL (STELLA) and maintaining said port.

Before that I developed the Apple Homekit protocol for the OberonHAP devkit (http://oberonhap.com/ ). This is THE HomeKit Bluetooth implementation if you want to use really small and low-cost solutions.

__mp··on Code Blocks: open-source, cross-platform, free C, C++ and Fortran IDE
I use QtCreator: It's pretty solid and has good and fast code completion.
__mp··on Show HN: Dockerized GPU Deep Learning Solution (Code and Blog and TensorFlow Demo)
Great! Thank you!
__mp··on Show HN: Particle Simulation with OpenGL compute shader – 8M particles
It's an XCode project: I'm pretty sure it works on Mac. However the code uses Metal, which does not have a C/C++ API. I'll wait for Vulkan to be available on Mac.
__mp··on Type safe OpenGL – Converting strings into types in D
I'm currently doing something similar in C++ based on a project I worked on a couple of years ago. It is a wrapper around OpenGL for people like me who are tired of figuring out the specifics of the OpenGL calls every time they write something.

Goal: Easy access to shaders and its respective buffers with a bare bones visualization.

Example:

    Shader shader(fragment_shader, vertex_shader);
    verticesVBO.set(vertices);
    verticesVBO.map(shader, "inPosition", false);
    shader.bind();
    shader.setUniform("uViewMatrix", camera.view());
    shader.setUniform("uProjMatrix", camera.proj());
    shader.setUniform("uModelMatrix", modelMatrix());
    facesVBO.bind();
    glDrawElements(GL_TRIANGLES, facesVBO.length(), GL_UNSIGNED_INT, (void*) NULL);
I should clean it up and make it available as a library.
__mp··on Show HN: Particle Simulation with OpenGL compute shader – 8M particles
Nice! It's a bit unfortunate that OSX doesn't support OpenGL 4.3 which is needed for this project. It currently only supports OpenGl 4.1. I'm currently toying around with a similiar project where I would have enjoyed to try out compute shaders.
__mp··on Show HN: Dockerized GPU Deep Learning Solution (Code and Blog and TensorFlow Demo)
Does docker support gpus or how does this work out?
__mp··on Oberon System, an OS Written in Oberon
Here's Niklaus Wirth's talk about his Project Oberon revival project at his birthday symposium: http://www.multimedia.ethz.ch/conferences/2014/wirth/?doi=10...

I was at that symposium :)

__mp··on Improving Floating Point Accuracy: A Look at Sums
In my case I'm more interested in the positions where floating point accuracy is lost: I'm currently working on a huge code base where we moved from double to single precision. If a unittest does not validate in single precision I want to have a tool telling me where and why.
__mp··on Biggest image in the smallest space
Difficult to say. I don't completely understand the activity monitor RAM column: http://i.imgur.com/QS3NPQQ.png Looking at the activity monitor details we see that it uses something in the order of 2.54 GB of real memory. I suspect the rest is mostly compression.
__mp··on Biggest image in the smallest space
Photoshop was able to show it: http://i.imgur.com/7EdBySv.png (Macbook Pro, 16GB RAM)
__mp··on Supercomputers: Obama orders world's fastest computer
I have access to the 6th fastest super computer and I'm pretty sure that it is not used to simulate nuclear explosions.
__mp··on Ask HN: What tech blogs, podcasts do you follow outside of HN?
Stratechery by Ben Thompson: https://stratechery.com/ and its podcast Exponent: http://exponent.fm/
__mp··on Key for chromium's encrypted cookies store in Linux is “peanuts”
I wonder how many people are using KDE or Gnome these days. I'm pretty sure I'm using something other than KDE and Gnome on my Linux installs.
__mp··on Key for chromium's encrypted cookies store in Linux is “peanuts”
I haven't looked at the caller code but are you sure that only the cookie code is using this function? The function looks pretty generic and it might be used somewhere else as well...
__mp··on The sad state of sysadmin in the age of containers
As an ex sysadmin I really like the container infrastructure. Manage the whole configuration on the main machine with puppet and deploy the blackbox applications (everything ruby and java related) with docker/rocket.
__mp··on “Science as a Vocation” by Max Weber (1918) [pdf]
Here's the original (german): https://archive.org/stream/gesammelteaufs00webeuoft#page/524...
__mp··on 2015 Chromebook Pixel
I could see myself installing Windows on it. I mean why not? The touchscreen screams for a Windows version >=8.

Disclaimer: I currently own two Macbooks (15"retina, 11" air). I use Windows usually in a VM and Linux in the data center.

__mp··on The Hiring Post
Embedded C and AVL trees? Really? Could you explain how an AVL tree would be used in an embedded context?
__mp··on An IoT dashboard
I find it crazy that people leave/come in to the office at 4AM/5AM in the mornings. Also note the peak in CMD-Z at 12am... :/
← PreviousPage 3 of 4Next →