HNHacker News
TopNewBestAskShowJobs

paraboul

938 karma · joined May 16, 2012

Anthony Catel

https://www.twitter.com/antcatel http://www.github.com/paraboul

e-mail: [username] at gmail

submissionscomments
paraboul··on Some notes playing with HAProxy
For what it's worth, if the remote server is the "active close" (the one that initiate the tcp FIN), the client ip:port doesnt enter the TIME_WAIT state.
paraboul··on On problems with threads in Node.js
In the case where the driver (for instance the official libmysql) doesn't expose its network interface (e.g. its sockets can't be used with an external event loop). In that case, it would block on IO operation, and there is no other choice but to push it to another thread.

That said, using a driver in another thread leads to various complexities that can be avoided when running in the same application (javascript/v8) thread/event loop.

paraboul··on Render HTML via WebGL
Of course :)
paraboul··on Render HTML via WebGL
FWIW, I'm working in this : http://www.nidium.com/ since a few years. (It's almost ready and about to be released)

Previous HN thread : https://news.ycombinator.com/item?id=6314961

video : https://www.youtube.com/watch?t=63&v=BSzEZXUTXlQ

paraboul··on China's Man-On-the-Side Attack on GitHub
Baidu network is not used. The response is altered as the trafic goes out of China. The only thing they can do is hosting http://hm.baidu.com in another country.
paraboul··on Sublime Text 3 Build 3080
Let it go for 1 hour. It's just indexing your files the first time.
paraboul··on Prometheus: An open-source service monitoring system and time series database
what about druid.io?
paraboul··on BPG Image format
As far as I know : http://www.amarisoft.com/?p=about
paraboul··on Ask HN: How or where to begin learning mathematics from first principles?
If you're interested in 3D programming, you want to learn linear algebra.

An excellent book that can teach you the basics (from trigonometry to advanced linear algebra) is "3D Math Primer for Graphics and Game Development".

paraboul··on How Unreliable is UDP?
Right.

One usually want to reimplement a reliable protocol (e.g. similar to TCP) on top of UDP when dealing with peer-to-peer capabilities.

Indeed, NAT traversal is easier to implement and more reliable when dealing with UDP techniques (e.g. UDP hole punching).

paraboul··on H2O – an optimized HTTP server and library implementation
Sure! And it supports HTTP/2.0 !
paraboul··on H2O – an optimized HTTP server and library implementation
Looks impressive though benchmarking with "ab" should be taken with a grain of salt.

nginx does a lot of optimization at many level that ab can't figure out.

In short, it only profiles the speed of the HTTP parser and certainly not the network stack.

There are a lot of things that a HTTP server does in order to keep the connections stack "steady" : Disabling the Nagle algorithm at the right moment, gracefully handling failure, managing slow clients the right way, ...

FWIW, Tsung is an awesome benchmarking tool written in erlang : http://tsung.erlang-projects.org/

paraboul··on Navdy
http://sandwichvideo.com/how-it-works/
paraboul··on French Developers can earn double in Silicon Valley
Source : Years of employment. +

http://vosdroits.service-public.fr/particuliers/F19708.xhtml

paraboul··on French Developers can earn double in Silicon Valley
Sorry for the late reply S4M.

I think there is a confusion between "leaving your job on your own" and leaving in a consensual way with your employer.

Most of the time, when you decide to leave, you make a departure plan with your employer. If your employer agree with your decision, you generally leave after 3 month or so (depending on the terms of the contract).

You can then ask for you unemployment benefits.

paraboul··on French Developers can earn double in Silicon Valley
That's not true. To be eligible for the unemployment benefits you must not break your contract with your employer. That is, you can leave if you respect the terms of the contract.
paraboul··on Nope.c – A web framework with a tiny footprint
Looking at the source code : https://github.com/riolet/nope.c/blob/c883b11df78bb8115d5e51...

It tries to copy a buffer of 1024 byte (max) into a buffer of 512 bytes (by executing a request with an URL longer than 512 bytes).

It also runs 15 children process and use blocking socket, meaning that it's easily "DoS'able".

The overall code seems very "unsecure" and poorly designed.

paraboul··on An IRC Bot in Arm Assembler
It runs on an OS (POSIX compliant). If you look at connect.s you can see that he uses syscalls (connect()/socket()). It's roughly what would produce a simple compiler targeting linux.

Otherwise, it would have had to write a TCP stack, drivers, ...

paraboul··on Image Protection on the Web
I'm just replying to a comment about how data could be altered and don't endorse such "stupid trick" nor I'm the author :)
paraboul··on Image Protection on the Web
Unless this data is encrypted en requires reverse engineering to decrypt (e.g. understand how the obfuscated JS decypter work). That's the goal of the interlaced "trick".
paraboul··on Mail Pilot App
One can easily sniff what is transmitted from their app and to which end.
paraboul··on MyHDL – Design hardware with Python – Examples
Related project : https://github.com/m-labs/migen
paraboul··on Coping with the TCP TIME-WAIT state on busy Linux servers
More importantly, the TIME_WAIT state only happens for the socket that initiated the close (active close). In the case of a HTTP keep-alive, the active close is usually done by the client instead of the server (avoiding a TIME_WAIT on the server side).

A general rule when designing a network protocol : do your best to make the client-side closes the connection when possible.

paraboul··on Fast arrow functions in Firefox 31
Ok the draft calls it "arrow function" (how fat arrows are used). I'm talking about how is (some) languages, "=>" is referred as "fat arrow" or "right arrow" as opposed to "->" thin arrow.

I mean, I don't invent anything :

https://bugzilla.mozilla.org/show_bug.cgi?id=979923

https://www.google.com/search?sitesearch=bugzilla.mozilla.or...

paraboul··on Fast arrow functions in Firefox 31
FWIW, the real (syntax) name of "=>" is "Fat Arrow".

edit: since I get downvoted, source : https://www.google.com/#q=fat+arrow+es6

paraboul··on Using Heartbleed as a starting point
I'm not saying anything. He is.

I think there is a good balance between using third party library (possibly untrusted) and plain C. Kind of an analogy to centralized network vs decentralized.

paraboul··on Using Heartbleed as a starting point
The problem with #3 (Abstract C with libraries.) is that, while there are less place / code to audit, in case of failure (e.g. a security hole in said library), damages are everywhere.

A good exemple is Daniel J. Bernstein. The man doesn't even trust the libc and wrote its own layer for all of his software (djbdns, qmail, ...). (source : http://cr.yp.to/qmail/guarantee.html #7)

paraboul··on Game servers: UDP vs TCP
There are no such thing as "UDP connections". UDP is datagram based : you send a packet to an address, either it reaches its destination either it not (regardless of the order). A packet can be dropped in case of network congestion, TTL that reaches 0, etc.

That is : One can easily rewrite a TCP-like on top of UDP.

paraboul··on Google Maps now lets you find and catch wild Pokémon
Ok, got it, no joke about April fools.
paraboul··on Google Maps now lets you find and catch wild Pokémon
Yes Larry announced that he's leaving his position so that he can catch 'em all.
← PreviousPage 4 of 6Next →