HNHacker News
TopNewBestAskShowJobs

rhardih

354 karma · joined March 4, 2012

René Hansen

  - https://rhardih.io
  - https://github.com/rhardih
  - https://twitter.com/rhardih
submissionscomments
rhardih··on Anbox – Android in a Box
Speedwise, this would be a great sub for the Android Emulator for development purposes. I've always felt something like the iOS Simulator was missing a counterpart for Android.
rhardih··on Snakisms
Nihilism made me chuckle.
rhardih··on A crater formed in Siberia's permafrost is growing
Hypothetically we're completely screwed already and nothing we do at this point matters: https://en.wikipedia.org/wiki/Clathrate_gun_hypothesis
rhardih··on Show HN: Design, data-structure, algorithm problems and their solutions
Yes, but do you have an implementation of a sparse array with constant time lookups?
rhardih··on Show HN: Design, data-structure, algorithm problems and their solutions
This phrase is misleading:

The fastest time to sort an integer array is O(N)

It could be interpreted as generally applicable. The proposed method uses reverse-indexed flagging, an approach which isn't really feasible if element values are very large.

Generally, the lower bound for any comparison based sorting algorithm is Ω( n log( n )).

rhardih··on Show HN: Code2flow – easy flowcharts with no mouse, no dragging and no hassle
This took quite some time to dig up. In case anyone else was wondering, this produces a png (assuming foo.pic contains the example pic instructions): $ pic foo.pic | pic2graph > foo.png
rhardih··on Show HN: Code2flow – easy flowcharts with no mouse, no dragging and no hassle
Maybe it's just me, but if it takes more than five minutes, to figure out how to go from the example chart to a png, perhaps there's a reason no-one knows it.
rhardih··on Qt Quick Controls 2.1 and Beyond
Is this due to unfamiliarity / learning curve with the technology or limitations found using Qt Quick? Because what you're describing sounds an awful lot like the base example when starting a new Qt Quick application project.
rhardih··on Restoring YC's Xerox Alto day 8: it boots
This series is the best thing on HN in a long time. As a software engineer by trade, I feel like I've been missing out not learning more about electrical engineering. The level of knowledge and skill involved in this restoration is downright awe-inspiring.
rhardih··on The Sad State of Web Development
Honestly I think you're right on the money! If you're happy and productive in your current workflow, there's no shame regardless of technology choice. The tendency to bandwagon every latest craze, is what lead to this mess in the first place.
rhardih··on Show HN: Serve – like python -m SimpleHTTPServer, but with gzip and http2
Python's SimpleHTTPServer is for when you have some directory on your computer and you want to test it locally in the browser. That's all.

That is however, the same intended purpose as this tool.

So, there's no reason to use GZIP or HTTP2 with a SimpleHTTPServer replacement. If you need those features, it's because you're doing things _in production_

Call me old fashioned, but I find it useful to know what a request would look like served from a production setting, without actually having to get it from production.

If you're optimising for load times, the final size of a gzipped request matters greatly. It's nice to know if you're within the 14kb boundary before pushing out.

HTTP/2 is a completely different beast as well. Since this is mostly for working on static sites, odds are you might host on a CDN with static file caches. If you've optimised your site for HTTP/1.1, bundling, inlining etc., but the the edge of the CDN actually serves these files as HTTP/2, you're very likely to have worked against the performance improvements given to you by HTTP/2.

rhardih··on Show HN: Serve – like python -m SimpleHTTPServer, but with gzip and http2
I couldn't fit all that in the title though. :)

Joking aside, you are correct. Go shipping pre-installed is a yet to be seen nice-to-have on most systems.

rhardih··on Using Git with Dropbox
Except you don't own the stuff in your dropbox any more than you own you pictures on Facebook.
← PreviousPage 3 of 3