home
link ØMQ - I love the concept.

In the ØMQ universe, sockets are clever multithreaded applications that manage a whole set of connections automagically for you. You can’t see, work with, open, close, or attach state to these connections. Whether you use blocking send or receive, or poll, all you can talk to is the socket, not the connections it manages for you. The connections are private and invisible, and this is the key to ØMQ’s scalability.

Because your code, talking to a socket, can then handle any number of connections across whatever network protocols are around, without change. A messaging pattern sitting in ØMQ can scale more cheaply than a messaging pattern sitting in your application code.

So the general assumption no longer applies. As you read the code examples, your brain will try to map them to what you know. You will read “socket” and think “ah, that represents a connection to another node”. That is wrong. You will read “thread” and your brain will again think, “ah, a thread represents a connection to another node”, and again your brain will be wrong.

2 hours ago

May 30, 2012
photo

2 weeks ago

May 13, 2012
reblogged via terminally-incoherent
photo

2 weeks ago

May 13, 2012
reblogged via terminally-incoherent
video

1 month ago

April 23, 2012
video

1 month ago

April 10, 2012
reblogged via time-loop
video

Excellent talk.

4 months ago

January 28, 2012
text

Pipe Logic

Delightfully useless epiphany: Suppose the null-byte is an electron. Then, /dev/zero provides an infinite supply of electrons and /dev/null has an infinite appetite for them. Let’s call these devices Vss and Vdd, respectively.

In this model, a UNIX pipe acts like a wire, that is, a conductor with parasitic capacitance. If the pipe is connected to Vss, its pipe buffer in kernel space quickly fills up with null-bytes, and the pipe acts like a negatively charged metal plate. If it is connected to Vdd, the pipe buffer is drained, and the pipe acts like a positively charged metal plate.

Pipes may thus carry logic signals: A pipe that is filled with null-bytes corresponds to a logic zero, and a pipe that is completely empty corresponds to a logic one. A pipe that contains some null-bytes, but is neither full nor empty, corresponds to a voltage in the undefined range, and will act as a one or a zero depending on how we measure it.

[Source]

4 months ago

January 21, 2012
video

5 months ago

December 20, 2011
photo

5 months ago

December 13, 2011
photo

6 months ago

November 15, 2011
photo Love story with sci-fi plot. Enjoyable.

Love story with sci-fi plot. Enjoyable.

6 months ago

November 7, 2011
photo Audio/video: 10/10 (AV masterpiece), gameplay/fun: 5/10 (short, way too easy, no bosses - no final boss!?, boring plot). Disappointment of the year. Waiting for Ezio …

Audio/video: 10/10 (AV masterpiece), gameplay/fun: 5/10 (short, way too easy, no bosses - no final boss!?, boring plot). Disappointment of the year. Waiting for Ezio …

6 months ago

November 6, 2011
video

Progress 80% - jeszcze głowica, kabelki, kalibracja i drukowanko :) [ reprap.org ]

7 months ago

October 30, 2011
photo

7 months ago

October 22, 2011
reblogged via terminally-incoherent
photo

7 months ago

October 18, 2011
reblogged via terminally-incoherent