HNHacker News
TopNewBestAskShowJobs

idlewan

533 karma · joined October 29, 2012

submissionscomments
idlewan··on Firefox’s adoption of closed-source DRM breaks my heart (2014)
An open media player is more useful than a locked down paperweight.
idlewan··on Firefox’s adoption of closed-source DRM breaks my heart (2014)
What do you mean, without DRM? Does Deezer provide you with mp3 files to put on your devices (ipod shuffle or similar)? Can you send a file to a friend? Or does Deezer forces you to be online and/or use Deezer's own app to listen to your music?

There are a lot of ways to engineer DRM in a system, I think you just don't see that you're actually using a DRMed system to play your music.

idlewan··on YouTube Ditches Flash, and It Hardly Matters
It's maybe to point out some of the irony of "Hey, let's accept another proprietary blob from Adobe" when it's not even needed anymore now.
idlewan··on Conception – An experimental modern IDE written in Go

  It's really interesting to go back to my old notes and 
  goals and, with hindsight, truly understand _why_ they 
  didn't work out, and what it would take to make them work.
It would be awesome if you could blog about it or share your notes!
idlewan··on The Frink programming language
Someone implemented this idea of typed units for the Nim programming language: https://github.com/def-/nim-units/blob/master/units.nim#L216
idlewan··on The problem with Angular
There's a lot more people than 1% that sometimes have javascript disabled:

EVERYONE has javascript disabled until the js payload is downloaded. Which is extremely important on high-latency or slow network connections.

idlewan··on A Quick Comparison of Nim vs. Rust
It allows you to use your own style everywhere, instead of relying on the specific styles of the library you used (so you don't end up in your code with camelCase AND snake_case).

It's definitely unusual, but I think it works quite well.

idlewan··on Show HN: Sitekite – Imgur for Websites
I used drop.io a bit while it was alive, and it was really useful. I was sad when it went away. I hope more sites like this (anonymous use, quick to create and share something) pop up!
idlewan··on The Pirate Bay is counting down
They can earn a living in other ways. Some examples:

- having a day job (this obviously means they won't have as much time to put in the site, I know)

- Service As a Software Substitute (this doesn't work for sites that just display information)

- subscription/premium model (for press sites like Arstechnica, it seems like an alternative)

- donations (this usually doesn't scale up to a salary, but can sometimes cover hosting and more)

- sponsoring

Most of the content is by people who make it available for free: blogs (a good part of the links on HN), forums and community sites (HN itself, StackOverflow, Reddit, ...), non-press sites (personal sites, project site, etc). An overwhelming majority of those don't rely on advertising to exist.

It might be hard to have a "service" that's massively used and that you can host and make available for free (i.e. no ads), but I bet it's not impossible (especially if you can upsell something else. See GitHub, Travis, DropBox).

I'd argue that a libre p2p service is more useful to have (e.g. http://tox.im) than a centralized, "gratis but ad-supported" centralized service like TPB.

idlewan··on Nim (formerly Nimrod) 0.10.2 released
> he fact that one C++ implementation manages to outperform all the others (including other C and C++ implementations and of course Rust and Nim) by more than one order of magnitude leaves me perplex.

This uses a "pruning" algorithm and is a different algorithm than all the other implementations use. It shouldn't be used to compare the different languages, as it's just not doing the same work.

idlewan··on Would You Bet $100M on Your Pet Programming Language? (2007)
That's exactly what Nim does, and it works quite well.

The bindings are easy to create (there is an automated tool that does most of the work), they look like Nim function declaration and can add better typing checks on FFI calls. You still have manual memory management and pausable, optional GC.

idlewan··on Ask HN: What new or hot technology do you recommend learning?
I recommend Nim http://nim-lang.org/ (the website docs don't look too good at the moment, but this has been fixed for the next version that will be out in a few days).

Nim is an incredibly good language that compiles to C, is fast, and has very easy bindings creation to any C library you want. For me, it's the best of both worlds between a Python look (indented, clean) and a fast typed compiled language that helps you instead of hindering you.

You might be interested in checking it out.

idlewan··on Show HN: SWAPI – A Star Wars API
Given the dataset you have to serve, I don't think you'll be having any issues if most of the JSON parsers give you 32bit integers.
idlewan··on Show HN: SWAPI – A Star Wars API
Is there a reason you're not using numbers in the json output?

    "vehicle_id": "1"
is better represented as:

    "vehicle_id": 1
idlewan··on Functional Programming using JavaScript
I removed all the useless promises, yes.

The one remaining is the one after fetchData, which looks like it could be async and make use of a promise.

It only yields equal speeds in chromium (good to know), although if you try in firefox, imperative is still 4 times faster.

idlewan··on Functional Programming using JavaScript
Fixed for running a proper imperative version instead of the functional-oriented 'imperative' version of the original author:

http://jsperf.com/oop-vs-ramda/4

TL;DR: Imperative is faster than functional. Functional is shorter (33% slower in chromium, 83% slower in firefox), but might be more readable depending on your preferences.

idlewan··on Functional Programming using JavaScript
The author is misrepresenting imperative code [0]. Instead of the 42 lines of code he thinks is imperative, but really is already functional-compatible, this is what I would write:

    var getIncompleteTaskSummariesForMember_imperative = function(memberName) {
        return fetchData().then(function(data) {
            var tasks = data.tasks;
            var results = [];
            for (var i = 0; i < tasks.length; i++) {
                var task = tasks[i];
                if (task.member == memberName && !task.complete) {
                    results.push({
                      id: task.id,
                      dueDate: task.dueDate,
                      title: task.title,
                      priority: task.priority
                    })
                }
            }
            results.sort(function(first, second) {
                return first.dueDate - second.dueDate;
            });
            return results;
        });
    }

Still longer than the 10 lines of functional code, but a much more fair comparison.

[0]: http://scott.sauyet.com/Javascript/Talk/2014/01/FuncProgTalk...

idlewan··on GitHub dropped Pygments
There is no syntax highlighting in the diff view, so I doubt it.
idlewan··on Why Parse the User Agent?
> JPEG2000 first became available in browsers 10+ years ago

Apart from Safari (https://en.wikipedia.org/wiki/JPEG_2000#Application_support), I'm not sure it's supported at all.

idlewan··on Against Productivity
Frank Westheimer seems to be the one who popularized the expression.

http://en.wikiquote.org/wiki/Frank_Westheimer

idlewan··on curl | sh
You would still have to hope that sshd is enabled and accepting connections (which by default it shouldn't, at least on end-user distros).
idlewan··on Ask HN: Who wants to be hired? (November 2014)
Location: France

Remote: Maybe

Willing to relocate: Yes, anywhere

Technologies: C, Nim, Python, Coffeescript/JS, CSS/Stylus, OpenGL/WebGL

Résumé/CV: http://erwan.ameil.me/cv/

Email: see résumé above

Github: https://github.com/idlewan

Interests: see résumé above

idlewan··on Angular 2 Core
A lot of contributors could also mean that Angular was buggy or lacking features from the start, and that people had to contribute to fix it themselves. It could also mean that the code was easy enough to understand so that more people could contribute.

I don't think you can reasonably say that there's "the only metric that really counts". All these metrics are indicators of activity anyway, not quality.

idlewan··on Humble Mozilla Bundle
Maybe that's not the right solution? Switching to qwerty and back everytime you play the game is a pain, you should only have to configure your controls once.
idlewan··on The Emails Snowden Sent to First Introduce His NSA Leaks
I read it as "Citizen 4". Then, if you reverse the order ("4 Citizen"), it becomes close to "for the citizens".
idlewan··on Adobe Spyware Reveals Again the Price of DRM: Your Privacy and Security
Hmm, I was talking about DRM in the context of published information.

Obviously, in the case of private and/or sensitive information, you don't release anything to the public, so I'm not sure the protections (login system, etc...) can still fit in the definition of DRM.

https://en.wikipedia.org/wiki/Digital_rights_management:

    Digital Rights Management (DRM) is a class of technologies that are used by
    hardware manufacturers, publishers, copyright holders, and individuals with
    the intent to control the use of digital content and devices after sale.
With publications, you give an access to other people (a restricted one if DRM is involved). It's not the same as not giving access to anyone but yourself.
idlewan··on Adobe Spyware Reveals Again the Price of DRM: Your Privacy and Security
I'd argue that Jennifer Lawrence's sensitive bits shouldn't have been given to someone else (Apple) in the first place.
idlewan··on Adobe Spyware Reveals Again the Price of DRM: Your Privacy and Security
> It's a logical error to say that DRM itself is evil when some of the instances of it are evil.

All of the instances of DRM are evil, because all of the instances of DRM'ed stuff prevents practical and unlimited sharing.

In the digital world, any limitations on copying bits are akin to virtual restraints and locking information away. It prevents you from doing anything else than what the golden prison allows.

idlewan··on A survey of the current state of Golang ORMs
Never going to learn what?

Could you please make your comment explicit?

idlewan··on Ello: an ad-free social network
On the other hand, young people (below 18) aren't that much into facebook anymore.

So maybe in the future, some other social network will emerge.

← PreviousPage 2 of 5Next →