HNHacker News
TopNewBestAskShowJobs

jgillich

811 karma · joined August 28, 2013

Webscale developer. Contact: jakob@gillich.me
submissionscomments
jgillich··on Watch Netflix in Ubuntu today
The EME (DRM) support is only in Chrome, not in the open source Chromium.
jgillich··on Watch Netflix in Ubuntu today
Yes, Chrome supports EME.
jgillich··on Hjson, the Human JSON
Something similar I've used in the past is cson [1]. It is like JSON but in CoffeeScript, which allows comments and multi-line strings as well.

[1]: https://github.com/bevry/cson

jgillich··on ColorRun – Simple browser game about colors
Just increase the timeout to 250.
jgillich··on Blink won’t implement pointer events
IE is faster in some areas because it uses some very controversial tricks, like caching all AJAX requests for the entire session. So yeah, it might be faster, but you might also get outdated data.
jgillich··on STARTTLS Considered Harmful
Not just applications, servers as well. My Postfix/Dovecot setup does support unencrypted connections, but will refuse to do authentication if the channel is not encrypted.
jgillich··on Browserify vs. Webpack
Browserify transforms can do exactly the same, they transform whatever your file contains to valid JavaScript can can be require'd.
jgillich··on Show HN: A Javascript library to overcomplicate Five

    five.tooSlow = function() {
        var returnIn = new Date(new Date().valueOf() + 555);

        do {} while(new Date() < returnIn);

        return five();
    };
Finally a way to escape callback hell. I think somebody should write a jQuery.ajax plugin that calls the function repeatedly until a request is finished.
jgillich··on Ask HN: Which podcasts do you listen to/watch?
Mainly Coder Radio and the Linux/BSD stuff from http://www.jupiterbroadcasting.com/
jgillich··on Ask HN: Could somebody please create a friendly interface to Google Maps API?
GeoJSON is a great format that is supported by a lot of mapping tools, including Google Maps and Leaflet. And there is a nice editor for it already: http://geojson.io
jgillich··on How compatible is LibreSSL?
It does fail if there is not enough entropy.

> An error occurs if the PRNG has not been seeded with enough randomness to ensure an unpredictable byte sequence.

https://www.openssl.org/docs/crypto/RAND_bytes.html

But there is also this:

> Pseudo-random byte sequences generated by RAND_pseudo_bytes() will be unique if they are of sufficient length, but are not necessarily unpredictable.

jgillich··on Multiline strings in JavaScript
I just use ES6 template strings together with the es6ify transform for Browserify. Works in all browsers and very likely performs much better than using Function.prototype.toString.
jgillich··on Hybrid apps: Do not copy. Do get inspired. Avoid reimplementing native UI
For better performance, take a look at Crosswalk[1]. It bundles your app in a Chromium browser, which should be way faster than Android's Webkit.

[1]: https://crosswalk-project.org/

jgillich··on Programmer excuses
http://i.imgur.com/SIYIz37.png
jgillich··on Minicart.js - Portable PayPal Shopping Cart
I think you meant http://simplecartjs.org/
jgillich··on Why is [programming language] so...?
That's something I love about JavaScript. Most libraries have great documentation, and the source is usually easy to understand. With C#, I feel the opposite is the case. Documentation either doesn't exist or is very basic, reading the source is quite hard because its common to put code in as much files as possible.
jgillich··on Show HN: Find a Bootstrap theme for your next project
It's advertisement for the maker, just like news about the new thing that Apple/Google/Microsoft/... made. But that’s usually ok.
jgillich··on Web Development Tools for Linux and How to Install Them

  Often due to some restrictions by the web development company, most of the web developers are forced to use free open source platforms such as Ubuntu.
Isn't the opposite the more common case, like having to work with Windows?

  How to install Gimp on Linux
  sudo apt-get install gimp
Applies to just Ubuntu. Debian doesn't even have sudo configured by default, and most other distributions don't have apt-get.

Overall a pretty biased and poorly written article.

jgillich··on Eclipse 4.4, Luna, released
Probably because Debian still has 3.8 (even in unstable) and they don't maintain/update the package themselves. If you want the latest packages, you might need to look elsewhere. Fedora for example already has 4.4 in rawhide and they might push it to stable in a few days.
jgillich··on Poll: Are you moving to the Amazon Fire Phone?
At least on the Kindle Fire tablets, it is possible to disable the proxy.
jgillich··on HipHop: A "Popcorn Time" for music
While there is no license in the repo so it is technically not open source, the code is available: https://github.com/hiphopapp/hiphop
jgillich··on A first-person engine in 265 lines of JS
I get terrible FPS with Firefox on Windows as well (Intel Haswell graphics).
jgillich··on OS X Yosemite
Safari looks similar to GNOME Web[1]. Not that this would be bad, I think it's a great UI.

[1]: https://wiki.gnome.org/Apps/Web

jgillich··on Reusing require.js modules in Node.js with AMDrequire
Source maps solve that issue, even though browser support isn't perfect yet.
jgillich··on Reusing require.js modules in Node.js with AMDrequire
Exactly. RequireJS promotes having lots of files, but for production, everyone runs their code through r.js anyway.

I used RequireJS for a while and it isn't bad, but Browserify has a lot of advantages like compatibility with Node.js and npm (while the only disadvantage I see is that the compile step is non-optional).

jgillich··on The New Linode Cloud: SSDs, Double RAM and much more

    287 MB/sec / $20 ~ 14 MB/sec/dollar
I don't think MB/sec/dollar makes sense simply because disk speed does not scale. If you need a (very) fast disk, Linode is obviously the better choice.
jgillich··on Distrusting StartSSL
It's a lot cheaper when you buy it through resellers (like NameCheap).
jgillich··on Show HN: picoCDN, file hosting for developers
It's for use cases where performance and reliability don't matter, like quick demos. The reason for using it and not CloudFront could be that you don't need an account and it's free. It's also faster and easier to use than any alternative I know (like uploading to your own server).
jgillich··on Show HN: picoCDN, file hosting for developers
FYI, I built this for a use case I often have: I want to build a small HTML5 demo in JSFiddle, but one of the scripts I would like to use is not available on any CDN. Sure I could just link to GitHub, but since they don't set content-type correctly, it won't work in IE. picoCDN is perfect for that: paste the script, check uglify and raw, copy url, done.

Its language detection is a bit wonky right now and there are mainly plugins for web development related stuff; if you don't have anything lying around, here is where you get after pasting jQuery: http://picocdn.com/0fe3e567e0/

It's currently running on a $5 Digital Ocean box (with unlimited traffic :), depending on how popular it gets I might need to upgrade it soon. Especially the plugins use a lot of CPU, but after the first hit Varnish is able to serve an insane amount of requests per second.

jgillich··on Ubuntu 14.04 LTS (Trusty Tahr) Final Beta released
What's wrong with yum? I never had any issues with it on Fedora and CentOS and actually prefer it over apt* (mainly due to it's speed).
← PreviousPage 3 of 4Next →