HNHacker News
TopNewBestAskShowJobs

bru

1,185 karma · joined October 3, 2011

QRT Google CentraleSupélec

http://www.linkedin.com/pub/bruno-cauet/2b/963/415

https://github.com/brunal

submissionscomments
bru··on Game of Thrones leak and watermark: a stupid tracking system
Author here. I can easily use summations, but I'm definitely incompetent when it comes to making a visualization!

And as per your parent's remark, most math is there "for fun" as written in the article.

bru··on Game of Thrones leak and watermark: a stupid tracking system
It's hosted on github pages and I inadvertently deleted the CNAME file when updating the post: https://github.com/brunal/brunal.github.io/commit/89fd81f93d...

It took me ~20 minutes to realize it was gone, you probably tried to hit the page during that time frame.

bru··on Game of Thrones leak and watermark: a stupid tracking system
Same here. I was really surprised. That's why I thought that my very simple idea warranted writing a post.
bru··on Game of Thrones leak and watermark: a stupid tracking system
Author here. That's my goal, but I don't have their email address so I simply wrote it down there.
bru··on Ask HN: Freelancer? Seeking freelancer? (March 2015)
SEEKING WORK - France or remote.

Experienced full-stack software engineer. Strong background in maths. Sizeable Python expertise, otherwise competent in JS, Java, C#, Haskell.

Dynamic and productive.

https://github.com/brunal

bru··on Results of the python 2.x and 3.x use survey, 2014 edition
More elegant Google Form quick recap: https://docs.google.com/forms/d/1DqxkNi4GvyTCu54usSdE1DjW29z...

Overall people started writing more python 3: +15 points in "I ever wrote python 3 code", +10 points in "I write more python 3 than 2". Transition is still ongoing and I hope a tipping point will be soon be attained.

Users definitely seem to want to switch to python 3, but dependencies keep them with 2.7 (I weep for the few ones still on 2.5).

edit: google results were inaccessible, now fixed.

bru··on Python 2.x vs. 3.x use survey
On python.org as well as where I published the survey: here, python-dev@python.org, comp.lang.python, /r/python and /r/programming
bru··on Python 2.x vs. 3.x use survey
Last year a survey was conducted on python 2 and 3 usage.

It sparkled interesting discussions on HN: https://news.ycombinator.com/item?id=6990481 "Python 2.x vs 3.x use survey" https://news.ycombinator.com/item?id=7005711 " Python 2.x vs. 3.x survey results"

Here is the 2014 edition, slightly updated (from 9 to 11 questions). It should not take you more than 1 minute to fill. I would be pleased if you took that time.

The results will be published around the end of the year.

bru··on Newsletter #4 – Thanksvimming Day
That was months ago actually. I just retried and it works perfectly, but it's still synchronous and blocks the UI. This is what I expect from neovim: provide me with async lint/checks.

The only ongoing works on the problem I've seen are https://github.com/scrooloose/syntastic/issues/1253 and https://github.com/benekastah/neomake, which I've not tried yet.

bru··on Newsletter #4 – Thanksvimming Day
Do keep in mind that my experience is really limited: I compiled neovim and it works fine with my .vimrc & all extensions. So there's no reason to start fresh.

However there's no difference so far: Syntastic checks are still synchronous, and I should spend some time to research alternatives (e.g. http://www.reddit.com/r/neovim/comments/2m1w3k/neomake_an_as...)

bru··on Newsletter #4 – Thanksvimming Day
>Think i'll spend some time this holiday setting it up, appreciated!

That's not needed. With the default config or a simple vimrc it's a drop-in replacement. Some extensions don't work yet (even Syntastic) but that should be resolved soon.

bru··on Z Launcher
- It crashes when I enable/disable the 'service improvement'

- I agree it definitely lacks shortcuts. Maybe once it has learnt enough it gets better? Still insufficient to get started, event with a letter I can not get what I want.

- The shortcuts at the bottom are too small IMHO

- Seems like web history integration is limited to Chrome: I use Firefox Beta and not a single of my often-viewed pages was listed.

bru··on Z Launcher
I get the following:

    <Error>
        <Code>AccessDenied</Code>
        <Message>Access Denied</Message>
        <RequestId>B0073107D8E5A45E</RequestId>
        <HostId>CWGhVGbn6PzNIg5auGU/hJcfGpgJDbvXF5FYiu73dKNH17sQmr+W2WBaLsDHA5YipCiJs9pYEDY=</HostId>
    </Error>
bru··on Edit: A Relaxing Mix of Vi and Acme
You use vim outliner plugin for the issues? How does that work?

Are your issues simple text files describing it? In a "issues" folder? Do you enforce a format? How do you track their status?

bru··on Edit: A Relaxing Mix of Vi and Acme
>easier contributing

Er... what? What's hard about contributing? You don't have to go through a web interface for everything? IMHO that makes it easier.

    $ git clone git://c9x.me/ed.git
    <do your changes>
    $ git format-patch --cover-letter <any other options you want> <commits>
    <edit the file if you want>
    $ git send-email <the file>
`man git send-email` will tell you anything you need to know: configuration options, examples... If is well-written and straightforward! Seems like the author isn't interested in public issue tracking (yet), and using Github wouldn't have changed that.

I, for one, celebrate that he's not using Github. I'm very afraid of the git == github trend I'm seeing amongst many people (technically semi-literate or even technical people)

bru··on PureScript: a statically typed language which compiles to JavaScript
There are several paths:

1. JS as an assembly language. This is what emscripten[0], a LLVM bytecode-to-JS does, by following the asm.js specification[1]. This is for CPU-intensive tasks, not DOM manipulation. You can use any language that has a LLVM frontend.

2. JS as a target language, from a specific, new language. Those include cleaner variants that keep the same semantics (CoffeeScript, TypeScript, maybe Dart, ...) or more innovative ones, such as Elm[2], which is written in Haskell too. I'd say that a big innovation that makes the life easier is FRP (which is at the heart of Elm or React.js).

I fail yet to see what advantages PureScript brings compared to Elm.

0: https://github.com/kripken/emscripten 1: http://asmjs.org 2: http://elm-lang.org/

bru··on Microsoft buys Minecraft for 2.5B
Already posted there: https://news.ycombinator.com/item?id=8318506
bru··on Yes, we’re being bought by Microsoft
> Microsoft acquired Mojang for a smooth 2.5 BILLION dollars.

Impressive.

I hope that Microsoft won't disrupt Minecraft's development (e.g. like they did with Skype, making Linux a third-rate platform - which should not happen since Minecraft's coded in Java).

bru··on Show HN: Kevlar.io – Secrets that when accessed are deleted permanently
>Share this secret by sending this URL with a freind.

*friend

bru··on What was your best passive income in 2014?
Nice. Link, details?
bru··on GetWifi
Small bug report: password validation message says it has to be at least 5 characters, when it actually has to be more than 5 characters.
bru··on HipHop: A "Popcorn Time" for music
However, unlike Popcorn Time, this one is closed source.
bru··on Thomas Piketty accuses Financial Times of dishonest criticism
>In order for income inequality to not lead to wealth inequality, we need to believe that poor people save more of their income than wealthy people - which seems rather difficult.

Yes, but that's actually what the FT refutes (center of 3rd § of the article):

> The newspaper concluded there was little evidence in Piketty's original sources to bear out his theory that the richest were accumulating more wealth

bru··on AdBlock Plus’s effect on Firefox’s memory usage
I see. Thank you!

There's a few packages that take a serious approach at adblock-through-hosts-file, including hostsblock[0], linked below. The cost of the systematic linear search is mitigated by the use of a DNS caching daemon, such as dnsmasq or pdnsd.

Indeed a Bloom filter would be overkill, and I'd rather avoid false positives!

0: http://gaenserich.github.io/hostsblock/

bru··on AdBlock Plus’s effect on Firefox’s memory usage
A quick dive brought me to glibc: seems like everything is done in `resolv/gethnamaddr.c`. Look for `_PATH_HOSTS` mentions: it is defined as "/etc/hosts/". The parsing seems done by the function `gethtent`. However it returns a single `hostent`...

I'll try to understand it tonight.

bru··on AdBlock Plus’s effect on Firefox’s memory usage
I was not aware of Tynt, but I believe it's well blocked.

I just looked at the adblock-hosts file, and 'tynt' appears several times. One of those lines is commented with a link to an article about tynt[0]. I tried copy-pasting from The New Yorker and TechCrunch (who, as claimed by the author of the article, use tynt), and both times there was no crap appended.

0: http://daringfireball.net/2010/05/tynt_copy_paste_jerks

bru··on AdBlock Plus’s effect on Firefox’s memory usage
>and JavaScript execution is usually the dominant consumer of memory.

That's forgetting the DOM, which is often the actual cause for slowness & memory consumption, but gets far less spotlight than JavaScript. This is also a reason why a framework like react.js is so interesting: it circumvents the real DOM when computing (on a virtual DOM), and only applies the end result.

bru··on AdBlock Plus’s effect on Firefox’s memory usage
I switched from ABP to this hosts file a few months ago and I have zero regret. My browser's faster, lighter and ads are blocked just as well as with ABP.

I actually even started splitting my hosts file: the layout is

    /etc/hosts                ('compiled' version)
    /etc/hosts.d/
    /etc/hosts.d/aaa-warning  (warning reminding me to run `update-hosts` instead of modifying /etc/hosts. Appears atop the compiled file)
    /etc/hosts.d/adblock      (that website's hosts file)
    /etc/hosts.d/base         (original system hosts file)
    /etc/hosts.d/dolead       (work-related file for development)
And I have the following functions in my .bashrc file:

    function update-hosts() {
        cat /etc/hosts.d/* > /etc/hosts;
    }

    function update-adblock() {
        curl http://someonewhocares.org/hosts/zero/hosts -o /etc/hosts.d/adblock 2> /dev/null
        update-hosts
    }
So if I want to update "adblock" (it is obviously an improper name) I simply do `sudo update-adblock` and if I change another file (mostly `/etc/hosts.d/dolead`) I'll just run `sudo update-hosts`.

Works wonders.

bru··on AdBlock Plus’s effect on Firefox’s memory usage
`/etc/hosts`-blocking the ads works fine for youtube. See the list at http://someonewhocares.org/hosts/zero/
bru··on Show HN: Wesnoth – Free, turn-based strategy game
Is that legal? That version seems closed-source!

And I couldn't even access the developer's website (www.androthsoft.com). If the money went to the authors/official website I'd buy it in a heartbeat, but in the current situation I'd rather circumvent the official download channels...

← PreviousPage 3 of 6Next →