# Recent blog entries

#### 11 Mar 2014 Stevey»(Master)

Discovering back-end servers automatically?

Recently I've been pondering how to do service discovery.

Pretend you have a load balancer which accepts traffic and routes incoming requests to different back-ends. The loadbalancer might be pound, varnish, haproxy, nginx, or similar. The back-ends might be node applications, apache, or similar.

# forward

# backends
backend web1  { .host = "10.0.0.4"; }
backend web2  { .host = "10.0.0.6"; }
backend web3  { .host = "10.0.0.5"; }

#  afterword


I've seen this same setup in many situations, and while it can easily be imagined that there might be "random HTTP servers" on your (V)LAN which shouldn't receive connections it seems like a pain to keep updating the backends.

Using UDP/multicast broadcasts it is trivial to announce "Hey I'm a HTTP-server with the name 'foo'", and it seems to me that this should allow seamless HTTP load-balancing.

To be more explicit - this is normal:

• The load-balancer listens for HTTP requests, and forwards them to back-ends.
• When back-ends go away they stop receiving traffic.

What I'd like to propose is another step:

• When a new back-end advertises itself with the tag "foo" it should be automatically added and start to receive traffic.

i.e. This allows backends to be removed from service when they go offline but also to be added when they come online. Without the load-balancer needing its configuration to be updated.

This means you'd not give a static list of back-ends to your load-balancer, instead you'd say "Route traffic to any service that adfvertises itself with the tag 'foo'.".

VLANS, firewalls, multicast, udp, all come into play, but in theory this strikes me as being useful, obvious, and simple.

(Failure cases? Well if the "announcer" dies then the backend won't get traffic routed to it. Just like if the backend were offline. And clearly if a backend is announced, but not receiving HTTP-requests it would be dropped as normal.)

If I get the time this evening I'll sit down and look at some load-balancer source code to see if any are written in such a way that I could add this "broadcast discovery" as a plugin/minor change.

Syndicated 2014-03-11 13:28:36 from Steve Kemp's Blog

#### 10 Mar 2014 dyork»(Master)

The Intersection of Github… and Babylon 5?

Back in the 1990′s I was a huge fan of the show “Babylon 5″ for a great number of reasons. It remains, to this day, one of the best series I’ve ever watched on TV and I greatly admire the creator/writer, J. Michael Straczynski, for the narrative arc he used over the five year run of the series as well as the overall “universe” he created.

One of the web sites that those of us who enjoyed Babylon 5 frequently used was “The Lurker’s Guide to Babylon 5“. The pages there helped in the understanding of how all the pieces fit together and frequently offered glimpses of what was coming ahead. It was a great tool and reference source.

Today a Google search brought me back to that site although I hadn’t been there in years. And in visiting I learned that as of this past December the entire source for the website is now available on Github at:

It’s very cool that site creator Steven Grimm has made his site publicly available via Github. As he notes, others can now fork the code, send him updates via pull requests, etc.

It is also a great example of how I’ve told people that Github, and git in general, can be used for so much more than simply “source code” and that you don’t need to be a programmer to use it.

Plus… if you wander through some of the pages, like this one, it’s kind of fun to see references to how we used to get our information: “Stay caught up with the Usenet B5 discussions, which are often a great source of material.

Cool stuff!

The post The Intersection of Github… and Babylon 5? appeared first on Code.DanYork.Com.

Syndicated 2014-03-10 19:59:55 from Code.DanYork.Com

#### 10 Mar 2014 elwell»(Journeyer)

The Internet of Meh

Yes, I know there are some very talented, hardworking people busy making "The Internet of Things" (IoT) a reality, and yes, there's even some govt money available just now. However there's still a huge hurdle to overcome before it will ever progress beyond a geek hobby.

Example 1: We have a solar PV system installed (Peak output 2500W) and happen to live in a Damn Sunny place. Great. So far it's chucked out ~2400kWh. Our daytime loads are the evaporative aircon (variable speed 1500w motor) and the pool pump (1600W, fixed speed, needs to run for ~8h day in summer). Together with 'normal' modern household appliances of Washing machine and dishwasher we *should* be able to balance our house load so we're roughly running "grid neutral" -- ie hardly importing or exporting during day. With the current tarrifs (feed in 8c/unit, consumption, 28c unit) it's just not cost effective to put a huge array up (ignoring the fact that we're restricted to 5kW max feed in anyway, and don't have unlimited roof space).

What I want is some smart magic load shedding intelligence - if we have sun, make sure pool pump has run for minimum amount of time. Look at weather forecast - no clouds predicted, take a chance on there being sun up till sunset (so we can predict insolation and expected output) and run for 4h morning, 4h afternoon. Spare capacity? sure - lets ramp up aircon and cool the house a little more comfortably. Oh wait - unexpected load? (dishwasher / WM on a daytime cycle) - back off the aircon, if its the dishwasher, we know that heating cycle will be over in X mins, so suspend the pump.

Sounds lovely right? sure it can be manually done watching the display on the PV inverter and the main electricity meter, but there's gotta be a better way. Well Tough. In Australia a standard domestic fusebox lurks outside, and has max 30 ways. Unless you're a licenced electrician, any poking in here is illegal, and so will cost you contractor rates. How many hours of sparky work (excluding any materials) will it take to make any cost savings negligible. Not Many. Boo.

So, what about appliance control at the "heavy users" directly? RJ12 connector on the bottom of pool controller -- lets ask the manufacturer - do they make an interface? No. Can I get the spec?
"All of our equipment uses an dedicated communication system designed purely for our own use.  Our comms system is not compatible with any other equipment and here is no protocol that we can release for external use."
Maybe not then. Perhaps try Breezair? Similar story.

So, everything has to be reverse engineered (needing skills and tooling) or you pay an integrator (no there aren't any) who will charge  to do this based on previous work. Current state: Ongoing as a spare time project. Mutter.

Example 2: Air Quality Egg.
Launched with a great flourish and fanfare 2 years ago. OK there were issues with producing the prototypes, but judging from the map, there's now quite a few of us with shields, eggs and more up and running.

Now what? where's the "one year on... report with a few pretty graphs. Even if its a case of "hmm variation is too high to make out anything reasonable" at least let your users know what's going on. Otherwise they'll get bored.

How can I compare my results with others around Perth? Not easily -- takes some hacking of the site to get the raw pachube^Wcosm^Wxively feed ID and then poll it and feed into gnuplot. End-User friendly? I think not.

I *like* the idea of IoT -- it does have the potential to help do clever things - but unless the glue and costs to end user are reasonable it's just not going to take off. Yet.

Syndicated 2014-03-10 09:36:00 (Updated 2014-03-10 09:36:48) from Andrew Elwell

#### 10 Mar 2014 mjg59»(Master)

The simple things in life

I've spent a while trying to make GPU switching work more reliably on Apple hardware, and got to the point where my Retina MBP now comes up with X running on Intel regardless of what the firmware wanted to do (test patches here. But in the process I'd introduced an additional GPU switch which added another layer of flicker to the boot process. I spent some time staring at driver code and poking registers trying to figure out how I could let i915 probe EDID from the panel without switching the display over and made no progress at all.

And then I realised that nouveau already has all the information that i915 wants, and maybe we could just have the Switcheroo code hand that over instead of forcing i915 to probe again. Sigh.

Syndicated 2014-03-10 03:53:13 from Matthew Garrett

#### 9 Mar 2014 wlach»(Master)

Eideticker for FirefoxOS: Becoming more useful

[ For more information on the Eideticker software I'm referring to, see this entry ]

Time for a long overdue eideticker-for-firefoxos update. Last time we were here (almost 5 months ago! man time flies), I was discussing methodologies for measuring startup performance. Since then, Dave Hunt and myself have been doing lots of work to make Eideticker more robust and useful. Notably, we now have a setup in London running a suite of Eideticker tests on the latest version of FirefoxOS on the Inari on a daily basis, reporting to http://eideticker.mozilla.org/b2g.

There were more than a few false starts with and some of the earlier data is not to be entirely trusted… but it now seems to be chugging along nicely, hopefully providing startup numbers that provide a useful counterpoint to the datazilla startup numbers we’ve already been collecting for some time. There still seem to be some minor problems, but in general I am becoming more and more confident in it as time goes on.

One feature that I am particularly proud of is the detail view, which enables you to see frame-by-frame what’s going on. Click on any datapoint on the graph, then open up the view that gives an account of what eideticker is measuring. Hover over the graph and you can see what the video looks like at any point in the capture. This not only lets you know that something regressed, but how. For example, in the messages app, you can scan through this view to see exactly when the first message shows up, and what exact state the application is in when Eideticker says it’s “done loading”.

(apologies for the low quality of the video — should be fixed with this bug next week)

As it turns out, this view has also proven to be particularly useful when working with the new entropy measurements in Eideticker which I’ve been using to measure checkerboarding (redraw delay) on FirefoxOS. More on that next week.

Syndicated 2014-03-09 20:31:18 from William Lachance's Log

#### 9 Mar 2014 bagder»(Master)

http2 in curl

While the first traces of http2 support in curl was added already back in September 2013 it hasn’t been until recently it actually was made useful. There’s been a lot of http2 related activities in the curl team recently and in the late January 2014 we could run our first command line inter-op tests against public http2 (draft-09) servers on the Internet.

There’s a lot to be said about http2 for those not into its nitty gritty details, but I’ll focus on the curl side of this universe in this blog post. I’ll do separate posts and presentations on http2 “internals” later.

## A quick http2 overview

http2 (without the minor version, as per what the IETF work group has decided on) is a binary protocol that allows many logical streams multiplexed over the same physical TCP connection, it features compressed headers in both directions and it has stream priorities and more. It is being designed to maintain the user concepts and paradigms from HTTP 1.1 so web sites don’t have to change contents and web authors won’t need to relearn a lot. The web will not break because of http2, it will just magically work a little better, a little smoother and a little faster.

In libcurl we build http2 support with the help of the excellent library called nghttp2, which takes care of all the binary protocol details for us. You’ll also have to build it with a new enough version of the SSL library of your choice, as http2 over TLS will require use of some fairly recent TLS extensions that not many older releases have and several TLS libraries still completely lack!

The need for an extension is because with speaking TLS over port 443 which HTTPS implies, the current and former web infrastructure assumes that we will speak HTTP 1.1 over that, while we now want to be able to instead say we want to talk http2. When Google introduced SPDY then pushed for a new extension called NPN to do this, which when taken through the standardization in IETF has been forked, changed and renamed to ALPN with roughly the same characteristics (I don’t know the specific internals so I’ll stick to how they appear from the outside).

So, NPN and especially ALPN are fairly recent TLS extensions so you need a modern enough SSL library to get that support. OpenSSL and NSS both support NPN and ALPN with a recent enough version, while GnuTLS only supports ALPN. You can build libcurl to use any of these threes libraries to get it to talk http2 over TLS.

## http2 using libcurl

(This still describes what’s in curl’s git repository, the first release to have this level of http2 support is the upcoming 7.36.0 release.)

Users of libcurl who want to enable http2 support will only have to set CURLOPT_HTTP_VERSION to CURL_HTTP_VERSION_2_0 and that’s it. It will make libcurl try to use http2 for the HTTP requests you do with that handle.

For HTTP URLs, this will make libcurl send a normal HTTP 1.1 request with an offer to the server to upgrade the connection to version 2 instead. If it does, libcurl will continue using http2 in the clear on the connection and if it doesn’t, it’ll continue using HTTP 1.1 on it. This mode is what Firefox and Chrome will not support.

For HTTPS URLs, libcurl will use NPN and ALPN as explained above and offer to speak http2 and if the server supports it. there will be http2 sweetness from than point onwards. Or it selects HTTP 1.1 and then that’s what will be used. The latter is also what will be picked if the server doesn’t support ALPN and NPN.

Alt-Svc and ALTSVC are new things planned to show up in time for http2 draft-11 so we haven’t really thought through how to best support them and provide their features in the libcurl API. Suggestions (and patches!) are of course welcome!

## http2 with curl

Hardly surprising, the curl command line tool also has this power. You use the –http2 command line option to switch on the libcurl behavior as described above.

## Translated into old-style

To reduce transition pains and problems and to work with the rest of the world to the highest possible degree, libcurl will (decompress and) translate received http2 headers into http 1.1 style headers so that applications and users will get a stream of headers that look very much the way you’re used to and it will produce an initial response line that says HTTP 2.0 blabla.

## Building (lib)curl to support http2

See the README.http2 file in the lib/ directory.

## This is still a draft version of http2!

I just want to make this perfectly clear: http2 is not out “for real” yet. We have tried our http2 support somewhat at the draft-09 level and Tatsuhiro has worked on the draft-10 support in nghttp2. I expect there to be at least one more draft, but perhaps even more, before http2 becomes an official RFC. We hope to be able to stay on the frontier of http2 and deliver support for the most recent draft going forward.

PS. If you try any of this and experience any sort of problems, please speak to us on the curl-library mailing list and help us smoothen out whatever problem you got!

Syndicated 2014-03-09 16:45:59 from daniel.haxx.se

#### 8 Mar 2014 bagder»(Master)

HTTPbis design team meeting London

I’m writing this just hours after the HTTPbis design team meeting in London 2014 has ended.

Around 30 people attended the meeting i Mozilla’s central London office. The fridge was filled up with drinks, the shelves were full of snacks and goodies. The day could begin. This is the Saturday after the IETF89 week so most people attending had already spent the whole or parts of the week before here in London doing other HTTP and network related work. The HTTPbis sessions at the IETF itself were productive and had already pushed us forward.

We started at 9:30 and we quickly got to work. Mark Nottingham guided us through the day with usual efficiency.

We all basically hang out in a huge room, some in chairs, some in sofas and a bunch of people on the floor or just standing up. We had mikes passed around and the http2 discussions were flowing back and forth depending on the topics and what people felt about them. Some of the issues that were nailed down this time and will end up detailed in the upcoming draft-11 are (strictly speaking, we only discussed the things and formed opinions, as by IETF guidelines we can’t decide things on an offline meeting like this):

• Priories of streams will have a dependency graph or direction, making individual  streams less or more important than other
• A client can send headers without compression and tell the proxy that the header shouldn’t be compressed – used a way to mitigate some of the compression security problems
• There will be no TLS renegotiation allowed mid-session. Basically a client will have to tear down the connection and negotiate again if suddenly a need to use a client certificate arises.
• Alt-Svc is the way forward so ALTSVC will appear a new frame in draft-11. This is the way to signal to an application that there is another “route” to the same content on the same server. This will allow for what is popularly known as “opportunistic encryption” or at least one sort of that. In short, you can do “plain-text” HTTP over a TLS connection using this…
• We decided that a server should support gzip contents from clients

There were some other things too handled, but I believe those are the main changes. When the afternoon started to turn long, beers and other beverages were brought out and we did enjoy a relaxing social finale of the day before we split up in smaller groups and headed out in the busy London night to get dinner…

Thanks everyone for a great day. I also appreciated meeting several people in real-life I never met before, only discussed with and read emails from online and of course some old friends I hadn’t seen in a long time!

Oh, there’s also a new rough time frame for http2 going forward. Nearest in time would be the draft-11 at the end of March and another interim in the beginning of June (Boston?).

As a reminder, here’s what was happened for draft-10, and here is http2 draft-10.

Out of all people present today, I believe Mozilla was the company with the largest team (8 attendees) – funnily enough none of us Mozillians there actually work in this office or even in this country.

Syndicated 2014-03-08 21:03:55 from daniel.haxx.se

#### 8 Mar 2014 etbe»(Master)

Less Work

I previously wrote about the idea of a Basic Income for Australia [1], that post was mainly to show how it could be introduced with little real change. That is not because I don’t think that we need real changes, but because we should consider the various changes separately as much as possible.

In terms of how society works I think that we need to move from the current model where most people are expected to work most of the time and the people who don’t work are treated badly to encourage them to work for low wages. I think that we should aim as a society to have less time spent doing paid work which means more people working part time (maybe 6 months a year, 3 or 4 days a week, or other ways of doing less than 40 hours a week * ~45 weeks) and more people who aren’t doing paid work.

The idea of 100% employment is the cause of many jokes about the Soviet Union. I don’t know how much truth is behind the jokes about needless work being done to fulfill Soviet plans, but regardless of the accuracy I think we should take such things as an idea of what not to do in our society. The Broken Window Fallacy is an example of the Soviet production problem in supposedly capitalist societies.

Here are some of my ideas for decreasing the amount of needless work without decreasing anyone’s quality of life – in fact most of these make things better for most people.

### The War on Drugs

The easiest way to reduce needless employees is to end the “war on drugs”. During the course of the “war” the drug use has steadily increased and the amount of law enforcement energy devoted to it has also increased. Some estimates claim that 50% of law enforcement is devoted to it. Also some of the hospital budget is related to drug use.

I think that we should allow adults to consume any “drug” that they wish (not just tobacco, alcohol, caffeine, and other popular drugs) and apply the same laws regarding product quality to all of them. That will reduce the violence related to drugs, reduce the health impact (it’s usually poor quality control that causes medical problems), and allow law enforcement to concentrate on crimes that hurt other people.

Treating drug addiction as a medical problem has been shown to be the most effective way of reducing drug use, reducing violent crime, and reducing the health impact of drug use.

### Other Crime Issues

Gary Slutkin’s TED talk about treating violence as a contagious disease has some interesting ideas for reducing violence in the community [2]. Implementing those ideas on a wide scale seems to have the potential for reducing law enforcement and medical work.

Generally I think we should aim to have as few laws as possible. Whenever adults want to do things that don’t hurt other people they should be permitted to do so. There should also be an aim for laws to be consistent and easy to understand. Ideally there would be a single database with all laws in some form of hypertext (maybe some type of Wiki) so that any citizen can discover all implications of the laws that affect them.

### Health

More money should be spent on preventing people getting sick. One problem we have in recent times is silly people refusing to get their children vaccinated because they take medical advice from a playboy model instead of doctors. I think that as a society we need to do more to protect children from stupid things that their parents do and that reducing the amount of medical work is the least of the reasons for doing so.

Another problem is the quality of food. The big supermarket chains are pushing prices down which reduces food quality. The excessive use of anti-biotics is a serious threat to world health that is driven by the low price of meat.

### Robots

Rodney Brooks gave an interesting TED talk about robotics [2]. He showed how robots can be programmed/trained and talked about the factory workers who want their children to do anything other than factory work. Work that can be done by robots should be done by robots so that people can do better things.

### Travel

One problem that we have in Australia is rent-seeking companies being permitted to establish toll roads. To make such toll roads profitable (which is guaranteed by corrupt politicians) they close roads that might be used to bypass the toll roads. This creates needless traffic congestion (wasted work time driving). Also running toll roads involves employing people to collect the tolls and take legal action against people who don’t pay. I believe that toll roads shouldn’t exist, this will reduce the number of needless workers and make everything more efficient. Also as a matter of principle I believe that the government should own and control every monopoly in the country.

Currently in Australia most adults own cars, this involves a lot of work in car maintenance. Even when not being used a car needs to be maintained for safety. When people drive to work instead of using public transport their travel time counts as work. While time spent on a train, tram, or bus isn’t leisure time it’s a lesser degree of work than driving a car. You can read a book, play phone games, or do other recreational activities when on public transport.

Car sharing companies are taking off in urban areas, this allows some people to avoid owning a car and some families to own fewer cars. We also need more government investment in public transport including more routes, greater passenger capacity, and more service late at night.

We also need to encourage companies not to have employees working from 9 to 5 to reduce the peak demand for public transport. A short term tax incentive would do some good in this regard, if companies were to encourage their employees to work different hours for a year then it might change the norms for work enough to permanently break the 9-5 concept.

I believe that all land-based mass public transport (buses, trams, and trains) should be free. That would remove the need to pay people to collect fares and fine people who don’t have tickets, and also remove the work time involved in buying tickets. Not requiring tickets would also decrease the time needed to get on and off public transport which would improve the speed of public transport and reduce disruption to traffic. One simulation of traffic in New York City showed that collecting fares on buses slowed down traffic enough to impose costs on all workers that were greater than the fares collected – so it would be cheaper overall for people in NYC to have free buses paid by the government. I don’t think that Melbourne has congestion similar to NYC and even Sydney might not have the same economic issues. But I still think that we should have free transport for the convenience of everyone.

Google has been doing some interesting research into cars that are driven by computer, their prototypes have been shown to work well in practice but have not been approved for real use. Trains and trams are easier to drive because there is no steering so it seems that they would be good options for the first implementation of computer driven public transport. Robot trams would allow more regular service late at night and thus make the network more useful.

A significant waste of resources is the commercial events of Christmas, Valentine’s day, and Easter. A lot of marketing money is spent to encourage people to buy rubbish for other people in celebration of such events. I think that Christmas presents for children are a good thing and that even the trivial things (crackers and party hats) are OK, but adults don’t need it. Valentine’s day is OK for people who are in relationships, but coercing single people to rush to find someone so that they aren’t single on that day is bad for everyone. Most Easter and Valentine’s chocolate is rubbish, cheap and nasty chocolate in fancy wrappings. Buy a small quantity of good chocolate instead of a large quantity of rubbish.

There’s a big market for knick-nacks for adults outside of those holidays too. Stands at trade shows usually give away junk to delegates, some of it has enough value to be taken home but really it’s mostly rubbish. If you can’t sell your stuff without giving away freebies then giving away plastic toys or cheap chocolate isn’t going to make it sell.

### Any Other Ideas?

Does anyone have other ideas about how to reduce the amount of work required to sustain our society? Suggestions for improvements that suit other countries are welcome too, while I’m mostly thinking about Australia while writing this I’m interested in ways of making things better all around the world.

No related posts.

Syndicated 2014-03-08 04:07:38 from etbe - Russell Coker

#### 8 Mar 2014 valessio»(Apprentice)

Compartilhando na rede…

• Vídeo condensa 1001 filmes que você deve assistir antes de morrer

Em 2003, Steven Jay Schneider lançou o livro 1001 Filmes para ver Antes de Morrer, que reúne algumas das principais obras do cinema. Jonathan Keogh é um jovem diretor apaixonado pelo universo cinematográfico, que resolveu condensar em um vídeo todos os títulos citados no best-seller de Schneider, com um acréscimo de 215 filmes.

O vídeo, com pouco mais de 10 minutos, levou cerca de um ano para ser concluído e cobre mais de 100 anos de pura magia, suspense, comédia, drama e ação. É bacana puxar pela memória algumas cenas inesquecíveis, seja o professor fazendo a chamada em Curtindo a Vida Adoidado, John Travolta mexendo a cadeira em Os Embalos de Sábado à Noite, a sombra de Nosferatu… Tudo em uma edição de se tirar o chapéu.

Para quem curte cinema, vale dar uma olhada no canal Jonathan Keogh versus The Movies, no YouTube.

Post originalmente publicado no Brainstorm #9

Atenção: esta postagem é o resumo diário das minhas atividades nas redes e recortes de outros sites ou blogs compartilhados por mim.

Syndicated 2014-03-08 02:31:44 (Updated 2014-03-08 19:09:18) from ValessioBrito.com.br

#### 8 Mar 2014 mako»(Master)

V-Day

My friend Noah mentioned the game VVVVVV. I was confused because I thought he was talking about the visual programming language vvvv. I went to Wikipedia to clear up my confusion but ended up on the article on VVVVV which is about the Latin phrase “vi veri universum vivus vici” meaning, “by the power of truth, I, while living, have conquered the universe”.

There is no Wikipedia article on VVVVVVV. That would be ridiculous.

Syndicated 2014-03-08 00:50:02 (Updated 2014-03-08 00:50:20) from copyrighteous

#### 7 Mar 2014 jmeskill»(Master)

What’s in a name? Judd Jacobs.

I’ve been working with a very interesting individual lately, Judd Jacobs. He always has something clever to say.

We’re walking off a salad cliff… together

Suppressed is like depressed but they got sus’d instead

Always remember the name Judd Jacobs for your comedic sayings needs.

Syndicated 2014-03-07 22:56:20 from Jade Meskill

#### 7 Mar 2014 Stevey»(Master)

Time to get back to my roots: Perl

Today I wrote a perl Test::RemoteServer module:

#!/usr/bin/perl -w -I.

use strict;
use warnings;

use Test::More tests => 4;
use Test::RemoteServer;

#
#  Ping Tests
#
ping_ok( "192.168.0.1",       "Website host is up: IPv4" );
ping6_ok( "www.steve.org.uk", "Website host is up: IPv6" );

#
#  Socket tests
#
socket_open( "ipv4.steve.org.uk", "2222", "OpenSSH is running" );
socket_closed( "ipv4.steve.org.uk", "22", "OpenSSH is not available on :22" );



I can see a lot of value in defining tests that are carried out against remote hosts - even if they're more basic than the kind of comprehensive testing you'd get via Custodian, Nagios, etc.

Being able to run "make test" and remotely probe services is cool.

Unfortunately I suspect the new-hotness is to couple the testing with your Chef, Puppet, CFengine, Slaughter, Ansible, etc, policies. That way you have two things:

• A consistent way to define system-state.
• A consistent way to test that the damn thing worked.

Coming to CPAN in the near future anyway, I can throw it up on Github in advance if there is any interest..

Syndicated 2014-03-07 21:46:03 from Steve Kemp's Blog

#### 7 Mar 2014 wingo»(Master)

es6 generator and array comprehensions in spidermonkey

Good news, everyone: ES6 generator and array comprehensions just landed in SpiderMonkey!

Let's take a quick look at what comprehensions are, then talk about what just landed in SpiderMonkey and when you'll see it in a Firefox release. Thanks to Bloomberg for sponsoring this work.

Comprehensions are syntactic sugar for iteration. Unlike for-of, which processes its body for side effects, an array comprehension processes its body for its values, collecting them into a new array. Like this:

// Before (by hand)
var foo = (function(){
var result = [];
for (var x of y)
result.push(x*x);
return result;
})();

// Before (assuming y has a map() method)
var foo = y.map(function(x) { return x*x });

// After
var foo = [for (x of y) x*x];


As you can see, array comprehensions are quite handy. They're expressions, not statements, and so their result can be passed directly to whatever code needs it. This can make your program more clear, because you aren't forced to give names to intermediate values, like result. At the same time, they work on any iterable, so you can use them on more kinds of data than just arrays. Because array comprehensions don't make a new closure, you can access arguments and this even yield from within the comprehension tail.

Generator comprehensions are also nifty, but for a different reason. Let's look at an example first:

// Before
var bar = (function*(){ for (var x of y) yield y })();

// After
var bar = (for (x of y) y);


As you can see the syntactic win here isn't that much, compared to just writing out the function* and invoking it. The real advantage of generator comprehensions is their similarity to array comprehensions, and that often you can replace an array comprehension by a generator comprehension. That way you never need to build the complete list of values in memory -- you get laziness for free, just by swapping out those square brackets for the comforting warmth of parentheses.

Both kinds of comprehension can contain multiple levels of iteration, with embedded conditionals as you like. You can do [for (x of y) for (z of x) if (z % 2) z + 1] and all kinds of related niftiness. Comprehensions are almost always more concise than map and filter, with the added advantage that they are usually more efficient.

what happened

SpiderMonkey has had comprehensions for a while now, but only as a non-standard language extension you have to opt into. Now that comprehensions are in the draft ES6 specification, we can expose them to the web as a whole, by default.

Of course, the comprehensions that ES6 specified aren't quite the same as the ones that were in SM. The obvious difference is that SM's legacy comprehensions were written the other way around: [x for (x of y)] instead of the new [for (x of y) x]. There were also a number of other minor differences, which I'll list here for posterity:

• ES6 comprehensions create one scope per "for" node -- not one for the comprehension as a whole.

• ES6 comprehensions can have multiple "if" components, which may be followed by other "for" or "if" components.

• ES6 comprehensions should make a fresh binding on each iteration of a "for", although Firefox currently doesn't do this (bug 449811). Incidentally, for-of in Firefox has this same problem.

• ES6 comprehensions only do for-of iteration, not for-in iteration.

• ES6 generator comprehensions always need parentheses around them. (The parentheses were optional in some cases for SM's old generator comprehensions.

• ES6 generator comprehensions are ES6 generators (returning {value, done} objects), not legacy generators (StopIteration).

I should note in particular that the harmony wiki is out of date, as the feature has moved into the spec proper: array comprehensions, generator comprehensions.

For another fine article on ES6 generators, check out Ariya Hidayat's piece on comprehensions from about a year ago.

So, ES6 comprehensions just landed in SpiderMonkey today, which means it should be part of Firefox 30, which should reach "beta" in April and become a stable release in June. You can try it out tomorrow if you use a nightly build, provided it doesn't cause some crazy breakage tonight. As of this writing, Firefox will be the first browser to ship ES6 array and generator comprehensions.

colophon

I had a Monday of despair: hacking at random on something that didn't solve my problem. But I had a Tuesday morning of pleasure, when I realized that my Monday's flounderings could be cooked into a delicious mid-week bisque; the hack was obvious and small and would benefit the web as a whole. (Wednesday was for polish and Thursday on another bug, and Friday on a wild parser-to-OSR-to-assembly-and-back nailbiter; but in the end all is swell.)

Thanks again to Bloomberg for this opportunity to build out the web platform, and to Mozilla for their quality browser wares (and even better community of hackers).

This has been an Igalia joint. Until next time!

Syndicated 2014-03-07 21:11:55 from wingolog

http://www.firstthings.com/web-exclusives/2014/03/christina-rossettis-lenten-life

The importance of this suffering becomes clear in “Ash Wednesday,” a poem she wrote in two parts over several years. The first part of “Ash Wednesday,” published in 1885, begins:

My God, my God, have mercy on my sin,
For it is great; and if I should begin
To tell it all, the day would be too small
To tell it in.

#### 7 Mar 2014 etbe»(Master)

Depression

I’ve had problems with depression at various times through my life, about 18 months ago I recognised it as depression after reading a list of depression symptoms on the Beyond Blue site. I think that they have changed their site recently they now have an interactive checklist for depression on their web site [2] (or maybe I just missed the interactive part last time).

There is a strong correlation between Autism and depression, this is noted both in research and described on the web, Elspeth’s article on Bluehackers is a good description of this [3]. Her experiences differ from mine in some ways, but it’s within the common range of experiences you see described on Autism forums etc.

Depression is getting more widely known, organisations such as Beyond Blue and Bluehackers are doing good work in spreading information to people who might be depressed and people who know them. The general advice is to see a psychologist, which is good advice for average people.

### Alexithymia and Choice of Psychologists

One problem with such advice is that it doesn’t apply so well to people with alexithymia (read the Wikipedia page) [4], that means most people on the Autism Spectrum. The Wikipedia page says “psychosomatic illness or substance abuse is frequently exacerbated should these individuals enter psychotherapy”. Based on people I know and accounts I’ve read on the Internet I expect that anyone on the Autism Spectrum who sees a psychologist that doesn’t specialise in Autism (which means most psychologists) will get a result that’s about the opposite of what one might desire. In theory a psychologist could recognise someone as being possibly on the Autism Spectrum and refer them to an expert for assessment, but I haven’t heard of that happening to an adult.

I think that most people who have some degree of alexithymia will avoid psychologists, without ever seeing one you can just know that it’s going to be unpleasant. So while you wouldn’t want someone who has alexithymia to visit a random psychologist in practice that shouldn’t happen too often as such people will be more likely to reject any advice about seeing a psychologist.

My page of Autism self-diagnosis tests has a link to an Alexithymia test [5]. If you get a high score on that test (or if taking the test seems too unpleasant) then it’s best to see a psychologist who specialises in Autism. Such psychologists are usually happy to work for people who don’t quite meet the Autism diagnostic criteria, but they may strongly recommend an Autism assessment so that they can determine the best strategies for treatment.

In terms of addressing such problems it seems that the best thing we can do is try and reduce the stigma associated with Autism. The vast majority of people on the Autism Spectrum have little in common with Rain Man. Many of the so-called Autism advocacy organisations make things worse by implying that everyone who is Autistic is unable to live an independent life which helps them in fundraising but doesn’t help us.

No related posts.

Syndicated 2014-03-07 05:22:11 from etbe - Russell Coker

#### 7 Mar 2014 valessio»(Apprentice)

Compartilhando na rede…

Atenção: esta postagem é o resumo diário das minhas atividades nas redes e recortes de outros sites ou blogs compartilhados por mim.

Syndicated 2014-03-07 02:31:26 from ValessioBrito.com.br

#### 6 Mar 2014 marnanel»(Journeyer)

countleaves

So I made this thing. It's collaborative Zork over twitter. It's very silly. It crashes a lot at the moment. Tell your friends.

This entry was originally posted at http://marnanel.dreamwidth.org/291792.html. Please comment there using OpenID.

Syndicated 2014-03-06 16:41:08 from Monument

#### 6 Mar 2014 Stevey»(Master)

So I bought some new hardware, for audio purposes.

This week I received a logitech squeezebox radio, which is basically an expensive toy that allows you to listen to either "internet radio", or music streamed from your own PC via a portable device that accesses the network wirelessly.

The main goal of this purchase was to allow us to listen to media stored on a local computer in the bedroom, or living-room.

The hardware scans your network looking for a media server, so the first step is to install that:

The media-server has a couple of open ports; one for streaming the media, and one for a user-browsable HTML interface. Interestingly the radio-device shows up in the web-interface, so you can mess around with the currently loaded playlist from your office, while your wife is casually listening to music in the bedroom. (I'm not sure if that's a feature or not yet ;)

Although I didn't find any alternative server-implementations I did find a software-client which you can use to play music from the central server - slimp3slave - and again you can push playlists, media, etc, to this.

My impressions are pretty positive; the device was too expensive, certainly I wouldn't buy two, but it is functional. The user-interface is decent, and the software being available and open is a big win.

Downsides? No remote-control for the player, because paying an additional £70 is never going to happen, but otherwise I can't think of anything.

(Shame the squeezebox product line seems to have been cancelled (?))

Procmail Alternatives?

Although I did start hacking a C & Lua alternative, it looks like there are enough implementations out there that I don't feel so strongly any more.

I'm working in a different way to most people, rather than sort mails at delivery time I'm going to write a trivial daemon that will just watch ~/Maildir/.Incoming, and move mails out of there. That means that no errors will cause mail to be lost at SMTP/delivery time.

I'm going to base my work on Email::Filter since it offers 90% of the primitives I want. The only missing thing is the ability to filter mails via external commands which has now been reported as a bug/omission.

Syndicated 2014-03-06 15:48:14 from Steve Kemp's Blog

#### 6 Mar 2014 valessio»(Apprentice)

Compartilhando na rede…

Atenção: esta postagem é o resumo diário das minhas atividades nas redes e recortes de outros sites ou blogs compartilhados por mim.

Syndicated 2014-03-06 02:31:49 from ValessioBrito.com.br

#### 6 Mar 2014 mikal»(Journeyer)

 ISBN: 9781451637571LibraryThing This book follows on from Live Free or Die. I like the approach of this book, as it follows a couple of relatively normal people trying to get by, and how the main protagonist from the last book's actions affect them. Its an engaging read, while still progressing the overall arc of the series. I really enjoyed it. Tags for this post: book john_ringo alien invasion combat troy_risingRelated posts: Live Free or Die; Isaac Asimov's Robot City: Robots and Aliens: Humanity; Isaac Asimov's Robot City: Robots and Aliens: Maverick; Dragon's Egg; Starquake; Isaac Asimov's Robot City: Robots and Aliens: Changeling

Comment

Syndicated 2014-03-05 18:34:00 from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

#### 6 Mar 2014 berend»(Journeyer)

The C programming language has been a plague of security problems for decades. When oh when will programmers abandon this language? It's unsafe under any conditions. Who needs type checking? Gotos are not harmul. It's depressing. We have known this stuff since the 60s.

#### 5 Mar 2014 Rich»(Master)

ApacheCon welcomes SourceForge back for another year

The following guest post appears on the SourceForge blog today. I'm personally very pleased to welcome SourceForge back to ApacheCon for another year.

-------------

The Apache Software Foundation is pleased to announce ApacheCon US 2014, which we’re presenting in conjunction with the Linux Foundation. The conference will be held in Denver, Colorado, and features three days, ten tracks of content on more than 70 of the Apache Software Foundation’s Open Source projects, including Apache OpenOffice, Apache Hadoop, Apache Lucene, and many others.

We’re especially pleased to welcome SourceForge as a media partner for this event.

See http://na.apachecon.com/ for the full schedule, as well as the evening events, BOFs, Lightning Talks, and project summits.

Co-located with the event is the Cloudstack Collaboration Conference - http://events.linuxfoundation.org/events/cloudstack-collaboration-conference-north-america - the best place to learn about Apache CloudStack.

Apache OpenOffice - http://openoffice.apache.org/ - has an entire day of content, including both technical and community talks.

Hadoop, and its ecosystem of Big Data projects, has more than five full days of content (two tracks on two days, one track on the other).

Other projects, such as Cordova, Tomcat, and the Apache http server, have a fully day, or two, of content.

If you want to learn more about Apache Allura (Incubating), an Open Source software forge (and also the code that runs SourceForge) we’ll have two presentations about Allura, by two of the engineers who work on that code: Dave Brondsema and Wayne Witzel. Learn how to use Allura to develop your own projects, and join the community to make the platform even better.

This is the place to come if you rely on any of the projects of the Apache Software Foundation, and if you want to hang out with the men and women who develop them. We’ve been doing this event since 1998, and this promises to be the best one yet, with more content than we’ve ever presented before.

Syndicated 2014-03-05 17:37:36 from Notes In The Margin

#### 5 Mar 2014 caolan»(Master)

FindingTheBlastedLastBunchOfDialogs

I'm finding it a fairly slow process to find the last 175 dialogs/tabpages in the LibreOffice UI. I have the full list of identifiers, and it's generally not a difficult process to find how to activate any individual dialog from the UI but in the aggregate it takes time and breaks the development flow if I have to stop/start to find the next one to convert.

So, you can help :-) This FindDialogs wiki page contains the list of identifiers and some hints as to how to find them in the source and in the help documentation. That's generally sufficient to determine what dialog they describe and how to launch it.

Filling out those remaining blank "how to activate" entries will speed up the conversion process.

Syndicated 2014-03-05 13:32:00 (Updated 2014-03-05 13:32:33) from Caolán McNamara

#### 5 Mar 2014 valessio»(Apprentice)

Compartilhando na rede…

Atenção: esta postagem é o resumo diário das minhas atividades nas redes e recortes de outros sites ou blogs compartilhados por mim.

Syndicated 2014-03-05 02:30:28 from ValessioBrito.com.br

#### 4 Mar 2014 Stevey»(Master)

Replacing ugly things would save the world many hours

There are some tools that we use daily, whether we realize it or not, that are unduly ugly. Over time you learn to use them and you forget just how hard they are to learn, and you take it for granted.

Today I had to guide somebody through using procmail, and I'd forgotten how annoying it is.

In brief I use procmail in three ways, each of which I had to document:

• Run a command, given a new email, and replace the original email with the output of that command.
• Run a command, silently. Just for fun.
• Match a regular expression on a header-field, and file accordingly.
• Later extended to matching regexps on multiple headers. ("AND" + "OR" )

There are some projects that are too entrenched to ever be replaced ("make", I'm looking at you), but procmail? I reckon there's a chance a replacement would be useful, quickly.

Then again, maybe I'm biased.

Syndicated 2014-03-05 18:56:11 from Steve Kemp's Blog

#### 4 Mar 2014 dorward»(Journeyer)

Cell or Wifi

Future timeline for netinfo API: * API allows distinction between cell/wifi * Authors serve lower quality but smaller content to cell users…

— Jake Archibald (@jaffathecake) March 3, 2014

This is an older book now, and I read it many many years ago but re-read it this last couple of weeks. I enjoyed this book. Its believable (if a little dated now), and interesting. It certainly made me think more about the first amendment and how it affects dangerous products like cigarettes than I would have otherwise.

Tags for this post: book john_grisham court law jury litigation cigarette
Related posts: Brazilian police to old lady: "Please sue us!"; Please report to the municipal hall of justice; Kynan's going to be in trouble...

Comment

Syndicated 2014-02-28 23:49:00 from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

#### 1 Mar 2014 valessio»(Apprentice)

Compartilhando na rede…

Atenção: esta postagem é o resumo diário das minhas atividades nas redes e recortes de outros sites ou blogs compartilhados por mim.

Syndicated 2014-03-01 02:31:20 from ValessioBrito.com.br

#### 28 Feb 2014 crhodes»(Master)

sbcl release management in the air

Just because I'm attending mobile world congress doesn't mean that everything else stops. It's the end of the month, so it must be time to release sbcl. This month's is a little unsatisfying, because we've only achieved one of the two things I'd hoped for: we've been cautious and conservative after last month's landing of the new register allocator, but we haven't sorted out what's going on to cause the less active architectures to fail to build. There are some workarounds that have been mooted; for one reason and another no-one has had the time to check whether they actually work, and while there's partial progress on identifying the root cause of the build failure on sparc it is only partial.

Nevertheless, minor architectures have been broken before, and no-one particularly benefits from not releasing, so 1.1.16 it is. Actually making the release is a little more challenging than usual: I aim to release by the end of the month, and in practice that means it must be done today, 28th February. However, this is the day that I am returning from Barcelona, so I am less in control of laptop power and connectivity than usual for a release day. And to add to the challenge, I am trying this time to address the valid complaints that the binaries built on my laptop don't actually run on released versions of Linux, thanks to the change in the semantics of memcpy (glibc changed the implementation in its version 2.14 to exploit the freedom given to return undefined results if the source and destination overlap) and the behaviour of the linker and versioned symbols.

So over breakfast I dusted off my squeeze chroot (that doesn't sound dodgy at all), and tried to work out how to get a runnable version of SBCL in there at all (answer: build using clisp and link to the chroot's libc). At lunchtime, I used the café's wireless to check for any last-minute changes, and in the airport I found a power socket, so I started the release build. Of course it didn't finish before the gate opened, and in any case I wasn't going to chance uploading sbcl binaries over the free airport wifi (15 minutes, woo!)

I've performed some release stunts before. SBCL 0.9 was released by William Harold Newman and simultaneously announced by me at the first European Common Lisp Meeting in Amsterdam in 2005. Last year, I released SBCL 1.1.8 “live” as part of a lightning talk at the European Lisp Symposium in Madrid. But I think this is the first time that an SBCL release was even partially effected from the air. Next stop, space?

Syndicated 2014-02-28 22:10:21 from notes

#### 28 Feb 2014 Rich»(Master)

Come see me at ApacheCon NA 2014

In April I will be speaking at ApacheCon North America in Denver, Colorado. I've had two talks accepted:

Configurable Configuration is a talk about some of the new shiny configuration syntax available in Apache httpd 2.4 - stuff like the If/ElseIf/Else syntax in configuration files, the new expression evaluation engine, and mod_macro for scriptable configuration blocks, for starters.

Demystifying mod_rewrite will drag you kicking and screaming from being a mod_rewrite newbie to being a mod_rewrite expert. You don't dare miss it.

We're also presenting two whole days of Apache http server content - code-named "httpd.conf" - get it?

And there's ten tracks of amazing content across more than 70 projects from the Apache Software Foundation.

Register at na.apachecon.com by March 14 to get the early rate.

Syndicated 2014-02-28 21:20:03 from Notes In The Margin

#### 28 Feb 2014 etbe»(Master)

Chris Anderson interviewed Elon Musk about the Tesla cars, SpaceX, and his new venture Solar City [3]. Elon has a lot of great ideas for improving humanity while also making money.

Maryn McKenna wrote an interesting article for Wired about what happens when the current anti-biotics stop working [6]. Unfortunately she lists increasing food prices as a consequence, really the unreasonably low price of meat is due to the misuse of anti-biotics that is causing this problem.

Linda Walther Tirado wrote an interesting article about being poor titled “Why I Make Terrible Decisions, or, Poverty Thoughts” [7]. It gives a real insight into the situation of people who are trapped in poverty. When someone who is as obviously intelligent as Linda feels that it’s impossible to escape poverty there is a real problem in the system. While Australia doesn’t suck nearly as badly as the US in this regard (higher minimum wage and better health care) we still need to improve things, I know people in Australia who’s experience bears some similarity to Linda’s.

Maxwell Neely-Cohen wrote an interesting article about peer pressure [8]. Some of the conclusions are dubious, but the ideas on the way the Internet changes peer relationships in high school are interesting.

There are some decent people in the Liberal Party, Liberal MP Warren Entsch attacks Cory Bernardi on ‘gay obsession’ [10]. AFAIK we haven’t yet had a gay sex scandal involving a homophobic Australian politician…

Related posts:

1. Links January 2014 Fast Coexist has an interesting article about the art that...
2. Links February 2013 Aaron on Software wrote an interesting series of blog posts...
3. Links February 2012 Sociological Images has an interesting article about the attempts to...

Syndicated 2014-02-28 13:29:28 from etbe - Russell Coker

#### 28 Feb 2014 hacker»(Master)

Updating Legacy Fedora Linux Distributions to Use Archive Repositories

I run a VMware ESXi server here that hosts ~500 separate VMs, clones, templates and test builds of operating systems for testing, development, personal playground and other roles. Some of these VMs are older Fedora, Ubuntu, Debian and various other Linux distributions. Since those distributions are no longer active, maintained by the community, the update […]

Related posts:
1. SOLVED: VMware Tools __devexit_p Error on Linux Kernel 3.8 and Earlier If you run a current version of VMware Workstation, VMware...
2. Using fdupes to Solve the Data Duplication Problem: I’ve got some dupes! Well, 11.6 hours later after scanning the NAS with fdupes,...
3. AT&T Locks Horns with Hurricane Sandy and my data-only MiFi We were hit pretty hard by Hurricane Sandy out here...

Syndicated 2013-11-24 20:43:33 from random neuron misfires

#### 28 Feb 2014 valessio»(Apprentice)

Compartilhando na rede…

Atenção: esta postagem é o resumo diário das minhas atividades nas redes e recortes de outros sites ou blogs compartilhados por mim.

Syndicated 2014-02-28 02:30:58 from ValessioBrito.com.br

#### 27 Feb 2014 Stevey»(Master)

Some direction, some distraction

It seems that several people replied to the effect that they would pay people to take care of applying security updates, or even configuring adhoc things such as wikis, graphite, and MySQL.

Not enough people to rely upon, but perhaps there is scope for remote stuff being done in exchange for folding-money. (Of course some of those that replied are in foreign countries which makes receiving payment an annoyance, that's a separate problem though.)

Food for thought.

In the meantime I've settled into my use of lighttpd, which I've recently migrated to.

One interesting thing is that you can set your own "Server Name" directive:

# Set server name/version
server.tag = "lighttpd/(steve)"


This value is used by mod_dirlisting, so for example if you examine a directory which doesn't contain an index.html file you see the server-name. Cute.

Well cute unless, or until, somebody sets:

# Set server name/version


That does indeed show javascript to all your visitors. Not a security problem itself, as you need to be root on the remote site. If you're root in the remote server you could just modify the actual HTML pages being served to include your javascript. That said it's a little icky.

The following patch avoids the issue:

--- mod_dirlisting.c.org	2014-02-26 00:14:43.296373275 +0000
+++ mod_dirlisting.c	2014-02-26 00:16:28.332371547 +0000
@@ -618,7 +618,7 @@
} else if (buffer_is_empty(con->conf.server_tag)) {
buffer_append_string_len(out, CONST_STR_LEN(PACKAGE_DESC));
} else {
-			buffer_append_string_buffer(out, con->conf.server_tag);
+                        buffer_append_string_encoded(out, CONST_BUF_LEN(con->conf.server_tag), ENCODING_HTML);
}

buffer_append_string_len(out, CONST_STR_LEN(


Syndicated 2014-02-27 13:21:01 from Steve Kemp's Blog

#### 27 Feb 2014 jas»(Master)

Replicant 4.2 on Samsung S3

Since November 2013 I have been using Replicant on my Samsung S3 as an alternative OS. The experience has been good for everyday use. The limits (due to non-free software components) compared to a “normal” S3 (running vendor ROM or CyanogenMod) is lack of GPS/wifi/bluetooth/NFC/frontcamera functionality — although it is easy to get some of that working again, including GPS, which is nice for my geocaching hobby. The Replicant software is stable for being an Android platform; better than my Nexus 7 (2nd generation) tablet which I got around the same time that runs an unmodified version of Android. The S3 has crashed around ten times in these four months. I’ve lost track of the number of N7 crashes, especially after the upgrade to Android 4.4. I use the N7 significantly less than the S3, reinforcing my impression that Replicant is a stable Android. I have not had any other problem that I couldn’t explain, and have rarely had to reboot the device.

The Replicant project recently released version 4.2 and while I don’t expect the release to resolve any problem for me, I decided it was time to upgrade and learn something new. This time I decided to use the pre-built ROM images rather to build my own because I had issues building replicant 4.2 on my Debian wheezy machine (C++ compilation errors which apparently does not happen if you use a newer compiler).

Before the installation, I wanted to have a full backup of the phone to avoid losing data. I use SMS Backup+ to keep a backup of my call log, SMS and MMS on my own IMAP server. I use oandbackup to take a backup of all software and settings on the phone. I use DAVDroid for my contacts and calendar (using a Radicale server), and reluctantly still use aCal in order to access my Google Calendar (because Google does not implement RFC 5397 properly so it doesn’t work with DAVDroid). Alas all that software is not sufficient for backup purposes, for example photos are still not copied elsewhere. In order to have a complete backup of the phone, I connect the phone using a USB cable and enable USB tethering on the phone. The network is automatically set up on my Debian machine, I did not have to do anything. Then I invoke the following commands to take a backup using rsync:

adb shell dropbear -F -E & sudo rsync -av --delete --exclude /dev --exclude /acct --exclude /sys --exclude /proc -e ssh root@192.168.42.129:/ /root/s3-bup/

Now feeling safe that I would not lose any data, I removed the SIM card from my phone (to avoid having calls, SMS or cell data interrupt during the installation) and followed the Replicant Samsung S3 installation documentation. Installation was straightforward. I booted up the newly installed ROM and familiarized myself with it. My first reaction was that the graphics felt a bit slower compared to Replicant 4.0, but it is hard to tell for certain.

I connected to the network using USB tethering and took a quick rsync-backup of the freshly installed phone, to have a starting point for future backups. Since my IMAP and CardDav/CalDav servers use certificates signed by CACert I first had to install the CACert trust anchors, to get SMS Backup+ and DAVDroid to connect. For some reason it was not sufficient to add only the root CACert certificate, so I had to add the Class 3 sub-ca cert as well. To load the certs, I invoke the following commands, selecting ‘Install from SD Card’ when the menu is invoked (twice).

adb push root.crt /sdcard/ adb shell am start -n "com.android.settings/.Settings\"\$\"SecuritySettingsActivity" adb push class3.crt /sdcard/ adb shell am start -n "com.android.settings/.Settings\"\$\"SecuritySettingsActivity"

I restore apps with oandbackup, and I select a set of important apps that I want restored with settings preserved, including aCal, K9, Xabber, c:geo, OsmAnd~, NewsBlur, Google Authenticator. I install SMS Backup+ from FDroid separately and configure it, SMS Backup+ doesn’t seem to want to restore anything if the app was restored with settings using oandbackup. I install and configure the DAVdroid account with the server URL, and watch it populate my address book and calendar with information.

After organizing the icons on the launcher screen, and changing the wallpaper, I’m up and running with Replicant 4.2. This upgrade effort took me around two days to complete, with around half of the time consumed by exploring different ways to do the rsync backup before I settled on dropbear and USB tethering. Compared to the last time, when I spent almost two weeks researching various options and preparing for the install, this felt like a swift process.

I spent some time researching how to get the various non-free components running. This is of course sub-optimal, and the Replicant project does not endorse non-free software. Alas there aren’t any devices out there that meets my requirements and use only free software. Personally, I feel using a free core OS like Replicant and then adding some non-free components back is a better approach than using CyanogenMod directly, or (horror) the stock ROM. Even better is of course to not add these components back, but you have to decide for yourselves which trade-offs you want to make. The Replicant wiki has a somewhat outdated page on Samsung S3 firmware. Below are my notes for each component, which applies to Replicant 4.2 0001. You need to first prepare your device a bit using these commands, and it is a good idea to reboot the device after installing the files.

adb root adb shell mount -o rw,remount /system adb shell mkdir /system/vendor/firmware adb shell chmod 755 /system/vendor/firmware

GPS: The required files are the same as for Replicant 4.0, and using the files from CyanogenMod 10.1.3 works fine. The following commands load them onto the device. Note that this will load code that will execute on your main CPU which is particularly bothersome. There seems to exist a number of different versions of these files, CyanogenMod have the same gpsd and gps.exynos4.so in version 10.1.3 and 10.2 but the libsecril-client.so differs between 10.1.3 and 10.2. All files differ from the files I got with my stock Samsung ROM on this device (MD5 checksums in my previous blog). I have not investigated how these versions differs or which of them should be recommended. I use the files from CyanogenMod 10.1.3 because it matches the Android version and because the files are easily available.

adb push cm-10.1.3-i9300/system/bin/gpsd /system/bin/gpsd adb shell chmod 755 /system/bin/gpsd adb push cm-10.1.3-i9300/system/lib/hw/gps.exynos4.so /system/lib/hw/gps.exynos4.so adb push cm-10.1.3-i9300/system/lib/libsecril-client.so /system/lib/libsecril-client.so adb shell chmod 644 /system/lib/hw/gps.exynos4.so /system/lib/libsecril-client.so

Bluetooth: Only one file has to be installed, apparently firmware loaded onto the Bluetooth chip. Cyanogenmod 10.1.3 and 10.2 contains identical files, which has a string in it “BCM4334B0 37.4MHz Class1.5 Samsung D2″. The file I got with my stock ROM has a string in it “BCM4334B0 37.4MHz Class1.5 Samsung M0″. I don’t know the difference, although I have seen that D2 sometimes refers to the US version of a Samsung device. My device is the international version, but it seems to work anyway.

adb push cm-10.1.3-i9300/system/bin/bcm4334.hcd /system/vendor/firmware/bcm4334.hcd adb shell chmod 644 /system/vendor/firmware/bcm4334.hcd

Front Camera: Two files has to be installed, apparently firmware loaded onto the Camera chip. CyanogenMod 10.1.3 and 10.2 contains identical files, which has a string in it “[E4412 520-2012/08/30 17:35:56]OABH30″. The file I got with my stock ROM has a string in it “[E4412 533-2012/10/06 14:38:46]OABJ06″. I don’t know the difference.

adb push cm-10.1.3-i9300/system/vendor/firmware/fimc_is_fw.bin /system/vendor/firmware/fimc_is_fw.bin adb push cm-10.1.3-i9300/system/vendor/firmware/setfile.bin /system/vendor/firmware/setfile.bin adb shell chmod 644 /system/vendor/firmware/fimc_is_fw.bin /system/vendor/firmware/setfile.bin

NFC: I’m happy that I got NFC to work, this was one of my main issues with Replicant 4.0 (see my earlier blog post). Only one file is needed, however CyanogenMod does not seem to distribute it so you have to get it from your stock ROM or elsewhere. The md5 of the file I have is b9364ba59de1947d4588f588229bae20 (and no I will not send it to you). I have tested it with the YubiKey NEO and the Yubico Authenticator app.

adb push clockworkmod/blobs/ee6/7188ca465cf01dd355a92685a42361e113f886ef44e96d371fdaebf57acae /system/vendor/firmware/libpn544_fw.so adb shell chmod 644 /system/vendor/firmware/libpn544_fw.so

Wifi: I haven’t gotten wifi to work, although I have not tried very hard. Loading the CyanogenMod firmwares makes my device find wireless networks, but when I try to authenticate (WPA-PSK2), I get failures. Possibly some other files has to be loaded as well.

Syndicated 2014-02-27 11:07:45 from Simon Josefsson's blog

#### 27 Feb 2014 valessio»(Apprentice)

Compartilhando na rede…

Atenção: esta postagem é o resumo diário das minhas atividades nas redes e recortes de outros sites ou blogs compartilhados por mim.

Syndicated 2014-02-27 02:32:16 from ValessioBrito.com.br

#### 27 Feb 2014 vicious»(Master)

Numbers

When reading news, one should do some quick calculations to test for ridiculousness.  It really makes reading news far funnier.  Let us look at the 19 billion dollar deal where Facebook bought WhatsApp.  It is especially hilarious if we interpret this as how much do we as a society value WhatsApp versus some other things.  These are based on just quick googling, but they are for just eyeballing the thing, not to be taken exactly.

1) Minimum wage hike.  There are about 3.6 million people at or below mimimum wage [1] (2012 data).  If we suppose that they would work 250 days a year for 8 hours a day, the current $2.85 proposed hike ($10.10-$7.25) would amount to $2.85 \times 8 \times 250 \times 3,600,000 = 20,520,000,000$. So about the same. Facebook could have paid everyone on minimum wage the hike for a year. But of course I’ve overestimated I doubt everyone on minimum wage works 8 hours a day 5 days a week. 2) NASA budget is about 16 billion in 2013 [2]. So WhatsApp is actually worth more than all that NASA does in a year. 3) Nominal GDP [3]. Czech Republic is about$196 billion.  Ten WhatsApps is the GDP of the whole country of 10 million people (where WhatsApp has 55 employees, so 10 of them have 550 employees).  Jamaica has nominal GDP of $13 billion or so. WhatsApp is way more than that. OK, you say, that’s just one year. Suppose that WhatsApp (what it does) works out to working for 5 years before it becomes obsolete. That’s 3.8 billion per year. The GDP of Cayman Islands is$3.3 billion.  And that’s where Facebook is taking its profits to avoid paying taxes [4].

4) The University of California budget for 2013-2014 is \$6.2 billion [5].  WhatsApp would fund the UC for 3 years.  WhatsApp apparently produces so much good for our society that it equals about the output of the entire UC system for 3 years.

Syndicated 2014-02-27 00:43:27 from The Spectre of Math

#### 26 Feb 2014 dorward»(Journeyer)

I do not want to be part of your ecosystem either

Today I've rubbed up against the annoying side of proprietary unreasonableness. Amazon Instant Video.

For reasons best know to themselves, the geniuses at Amazon have decided to put up the cost of Prime membership by 60%. As well as getting next day delivery on thousands of items, I can now also watch Amazon Instant Video - previously known as LoveFilm.

Yes, this, absolutely.

I'm in more-or-less the same boat. My Panasonic is a Blu-Ray player rather than a TV and I hadn't got to the point of discovering that I needed to pay for XBox Gold again (I let it lapse a year or so ago) to get the streaming video app.

So, I'm getting Amazon Video bundled with Amazon Prime and I have no good way to watch it on my decent screen / sound system.

If the new features were going to be bundled into the existing package, then that would be fine, but the renewal cost is awful. I won't be renewing when my current prime subscription is finished (I have a calendar entry set to remind me to cancel it before auto-renew kicks in).

Syndicated 2014-02-26 13:39:43 from Dorward's Ramblings

#### 26 Feb 2014 redi»(Master)

Every time I type #include <utility> I wish there was a second C++ library header of utilities called <utilitu>, and another header of file utilities called <futility>.

#### 26 Feb 2014 tampe»(Journeyer)

We know everything, so why are you thinking mooron!

I have blogged a few times about fundamental physic insights, but there is possibly a better source, there is a free thinker regarding how the world is working, he is a heretic, he say that we all got our models backwards, that QM is a huge joke and that the world is much simpler than proclaimed in science shows and Universities throughout the world, or is he just a person that got tricked by a mathematical play, read on for the story.

The background is that for circa 20 years ago Randi Mills, the founder of BlackLightPower published his theory and has refined it ever since. I spend time reading his books and is really intrigued of how badly treated this material is both by himself and the scientific community as a whole. I know that many of you have read about BlackLightPower and the hydrino power they have so often claimed to produce. To be frank I find the hydrinos fishy and after I read his book I can actually point to weaknesses in Mill's proofs of their existence. But folks, hydrinos and antigravity is just a few sidetracks of the theory, that may be false, not because the theory is bad, but because the theory is missing parts and need to be complemented.

So what is the possible mistake of the assumption of a hydrino state. Well What Mills do is taking plain ol elecromagnetism, he set up a foton trapped by varying charge density in a sphere around the photon and than say that the system is a stable state if it does not radiate and deduces mathematically how this charge distribution look like. In Itself manage to do this is a great theoretical task and he should get a golden star for doing that, no one claims his been mathematically wrong in his solution(s). He then calculate the properties of these atoms and find out that it produces the same energy states and levels as normal quantum electrodynamics say. But not only this, he produces extremely accurate results for many body problems for basically all kinds of atoms and many molecules. Of cause Mills has great confidence in the theory after that feat. But now comes the sorrow part that probably shot down the whole effort and maybe have tricked Mills to haunt a gost for 20 years. He finds out states, hydrino states that is
less energetic states below the normal ground state in e.g. hydrogen. We should be able to produce these hydrino states and be able to harvest the energy from normal water basically for ever, welcome new free energy world. Is it so?, well as a mathematician I am picky with 'if' and 'if and only if'

Mills theory is interesting because it can give a very natural explanation how the world is working. Maxwell's equations for electromagnetism is what we call in mathematics linear, this means that we can superpose different solutions on top of each other and produce new solutions. It is also typical solution when disturbances from a steady state is small. So one would expect the Maxwell equations to be invalid for extreme cases where the disturbances are large. So what can happen when the equation breaks?, well one thing is that waves may start reflecting. It is interesting to note that in Mills solution the information flowing part of the solution at the surface is flowing tangential to the surface which is natural because the solution does not radiate. If we assume that it is the information flowing part that get mirrored at the surface we can imagine that the solution is stable if we deform it slightly. The actual dynamics of what happens if we disturb the system slightly is a key part to really say that a system is non radiating. And this analysis is missing in Mills theory of hydrinos. It can happen that these hydrinos will start radiate if it is disturbed a little and then because of this move even further away and then brake, if this is the case then these hydrino states will not be long lived and not represent a physical solution. So a physical solution does not radiate, but all states that does not radiate is not necessary a physical attainable state. So in
order to accept hydrinos I would need an 'if and only if' proof by Mills.

If you read about Mills theory and try to find critics of his theory, you may find:,

Hydrinos cannot exists because bla bla bla. Correct, but that does not invalidate the theory, it must be complemented.

It challanges QM, QM predicts everything quite well, it cannot work. - Well Mills theory is easier to work with and produces impressive results for especially atom physics, So QM and Mills theory are just two mathematical models of the same physics they are dual. Nowone have shown how this can be so, so why aren't bright theoreticians taking the task to explain it.

Mills talk about antigravity as a fifth force, sure it must be a fake. - Well he produces, is it 1500 pages of dense theory sure if you cherry pick, you can find strange things, but most of it seams to be correct.

Andreas Ratke says' his theory is not Lorenz invariant. Well
Andreas is trying to show this by showing that the charge density does not follow the wave equation. Well here is an issue with 'if and only if'. Solutions to the wave equation follows special relativity, but not all solutions to special relativity follows the wave equation, this critique is a really poor work and you can find quite many issues with it in Mills rebuttal to that paper.

In all I would ask any critique to concretely show how the hell Mill's fake all the calculations that is spot on, and not just mumble some abstract critic, that is really missing the point, Mills has by far not finished his work, that task is up to the physics community. Because reading his book all his amazing formulas seams to be based on just his basic assumption and than plain ol electromagnetism, am I right, or did I miss something, read it for yourself, have fun!

References:

#### 26 Feb 2014 valessio»(Apprentice)

Compartilhando na rede…

Atenção: esta postagem é o resumo diário das minhas atividades nas redes e recortes de outros sites ou blogs compartilhados por mim.

Syndicated 2014-02-26 02:31:12 from ValessioBrito.com.br

#### 25 Feb 2014 Stevey»(Master)

What do you pay for, and what would you pay for?

There are times when I consider launching my own company again, most often when it is late at night and the inpetitude of so many other companies gets me too worked up. Then I sit back and think about details and write it off.

I've worked for myself in the past a couple of times, and each time it was both more fun and more difficult than expected. Getting a couple of clients is usually easy, getting a ten more is common, but getting "many" is hard and getting "lots" is something I've never done - lots of users for free sites though, along with the associated support burdon!

So the though dies away once I sit down and work out the net profit I'd need to live. My expenses are low, so let us pretend I can easily live on £1000 a month. So the "company" has to make more than that, to cover costs, but perhaps not much.

Pretend you were offering DNS hosting you'd probably be able to implement that easily on, say 10, virtual machines, net of £150 a month. Imagine clients pay £5 for an unlimited number of domains that means you need to have 1000+150/5 = 230 clients. Not impossible, but also not easy.

Pretend instead you're offering backup space, and the numbers get bigger because disk is expensive. Again getting some users would be easy, but getting lots would be hard because your competition is dropbox, skydrive, etc, etc.

Once you start thinking of "ideas" they come easily, but the hard part is being realistic about what people would pay for. As always the idea is the easy part, the execution is the hardest part. Realistically if I were to be desperate to work for myself at short notic I'd do the obvious thing - I'd buy a pair of ladders, a bucket, and clean windows. Low overheads, reasonable demand, and I'd be both "fit" and "outdoors".

When it comes to paying for online services off the top of my head I personally pay for maybe two things, both of them niche (although profitable for their providers I'm sure), and I know many people who live on the internet but pay for nothing.

For example I'm a VIP member of an online modeling community, which in theory allows me a higher chance of persuading interesting people to pose for me.

In practice the turnover on those sites is immense. Lots of cute boys and girls hear constantly "You're so pretty, you should be a model", which is true in perhaps 1% of cases, and the net result is you have a few hard working people who do good things day in day out, and many flighty teenagers who'll pose for two-three people, and then never do it again because they realise it is neither glamourous nor easy money.

Two things I've semi-serously considered recently where hosted "status pages", and hosted "domain parking", but both have many competitors and both I can see a) some people would pay for but b) not very many.

I suspect there is no universal "I'd pay for this" online service hwich is both competition free and genuinely trivial to setup, but I'd be curious to see what people are missing, and even more curious to see what people do pay for.

Syndicated 2014-02-25 14:30:33 from Steve Kemp's Blog

#### 25 Feb 2014 shlomif»(Master)

The Lost Souls of Freenode

I originally wanted to written a more prose-like blog post about the topic of “The Lost Souls of Freenode”, echoing some of my frustrations from trying to help people on Freenode channels, especially #perl and ##programming and I started from keeping a list of bullets and sub-bullets and decided to keep it this way out of being lazy. Maybe it can also be considered the blog equivalent of some wikiHow pages.

After I gave a link to the bullets to someone I met on Freenode, he told me he hasn't found any of what he read here surprising from his experience on IRC and as a tutor and T.A. (= Teacher Assistant) in an American college.

• “Many Lost Souls” on Freenode's #perl - IM conversation.

• Quote the conversation about “First rule of #perl channels” (meaning that Freenode’s #perl is our first line of defence).

• People having problems getting indentation right.

• People who /msg me after asking.

• Either they think that's the way to answer.
• Or they think that I cannot help them because there's another conversation.
• They're usually not willing or cannot afford to pay.
• Someone who thought that paying me 50 USD / hour for private help was too high.
• * People who want us to write their code for them.

• “Help me with a script I found.”

• “Help me with using a program / my operating system / etc.”

• Not even related to coding.

• “Are you using version control?” “No, what's that?”
• Automated tests?
• A debugger?
• Old versions of perls.
• Homework/scholastic constraints.

• “We didn't study it yet”

• “No external modules / CPAN”

• “Not allowed to any built-in language data structures, including not arrays.”

• Mandatory course.

• Graded 0 once because was programmed on Python-2.7.x and tested on Python-3.3.x (on Windows).

• One who didn't know what files are nor did file I/O.

- Ruby

- private conversation with someone else who didn't know what files are.

Syndicated 2014-02-25 14:02:09 from shlomif

#### 25 Feb 2014 crhodes»(Master)

sbcl summer of code 2014 participation

I received notification yesterday that SBCL was accepted as a “mentoring organization” to Google's Summer of Code 2014 programme. What this means is that eligible students can think about applying to be mentored by members of the SBCL team to work on a development project – and to be paid a stipend for that work.

The next steps for students are:

• get involved with the community: join #lisp and #sbcl on the freenode IRC network; read the sbcl-devel mailing list (e.g. at gmane.lisp.steel-bank.devel; have a go at some of the bugs marked as ‘easy’
• look at the existing list of project ideas, and see if any of those ideas would form a good basis for a project that would sustain your interest for three months or so.
• read Paul Khuong's essay on getting started with SBCL from last year: it is still absolutely applicable to this year's programme, or indeed getting into SBCL hacking independently.

The period for student applications to be mentored as part of SBCL's participation is from 10th March until 21st March 2014; for best results, get engaged with the community and potential mentors well before the cutoff point.

Last year two projects were funded, and both completed successfully, even if merging them into the mainline is/was slower than one might like. I'm looking forward to seeing what this year brings!

Syndicated 2014-02-25 12:01:20 (Updated 2014-02-25 12:02:33) from notes

#### 25 Feb 2014 valessio»(Apprentice)

Compartilhando na rede…

Atenção: esta postagem é o resumo diário das minhas atividades nas redes e recortes de outros sites ou blogs compartilhados por mim.

Syndicated 2014-02-25 02:30:30 from ValessioBrito.com.br

#### 25 Feb 2014 mikal»(Journeyer)

NBNCo likely to miss its rollout targets

In December 2013 NBNCo issued a strategic review ordered by Malcolm Turnbull. In this review, they stated that their target for number of premises passed by June 2014 was 637,000 of the 10,910,000 premises in Australia. How are they going on that goal? Well, there are currently 303,905 premises passed in Australia, with around 6,000 more being added per week. That means they're in deep trouble -- they need to be averaging more like 17,000 premises a week at this point to meet their goal. This is especially depressing because the goal is only a few months old and already looking grim.

(Update: so apparently I misread the NBN strategic review having watched the Senate estimates hearing just now. The NBN target for 30 June 2014 is 357,000 not 600,000. This is a difference between the numbers of page 46 or the report and those on page 48. The 357,000 number is so low, that NBNCo will probably meet that target.)

While I think its true that the Labor party didn't cover itself with glory in managing the NBN rollout, I have to say that Malcolm isn't doing much better. Especially now that he's reneged on the 25mbit by the end of 2016 promise he took to the election.

You can see more about the state of the NBN rollout in my Google spreadsheet. I read the boring NBN documents so you don't have to!

Tags for this post: blog nbn politics
Related posts: The Moon Is A Harsh Mistress; Daughter of the Empire; Servant of the Empire; Dublin trip; Mistress of the Empire; I am sometimes amazed by the childlike political discourse in the US

Comment

Syndicated 2014-02-24 15:58:00 (Updated 2014-02-25 01:08:35) from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

#### 24 Feb 2014 Rich»(Master)

Island

Island

feb 24 2013
LAX, Gate 47A

The travelers cling to the island
fighting for a foothold,
for a chance to pluck the limited fruit.

Their phones, laptops, and tablets
balance precariously on the tiny table,
their cables drinking from the meagre outlets.
They sit on the floor, lean on the wall,
look longingly at the
only-slightly-more-comfortable
fellow passengers,
sitting in the cramped seats
around the A Concourse,
trying not to bump knees,
squirming to be comfortable,
in seats designed more for the rowing galley
than for comfort.

Waiting for their turn at the island,
watching carefully with seeming unconcern
for the moment when an outlet
becomes available,
and they can dash across to claim it,
take their spot on the island.

The tide goes out.
The tide comes in,
and a new crew of castaways
cling to the island.

Syndicated 2014-02-24 18:31:02 from Notes In The Margin

#### 24 Feb 2014 marnanel»(Journeyer)

spirit of the stairs

When I leave and I'm walking away
Gonna think of the things I should say
When we've parted and nobody cares
Gonna meet with the Spirit of the Stairs

This entry was originally posted at http://marnanel.dreamwidth.org/291545.html. Please comment there using OpenID.

Syndicated 2014-02-24 07:49:56 from Monument

#### 24 Feb 2014 mjg59»(Master)

The importance of a community-focused mindset

Piston, an Openstack-in-a-box vendor[1] are a sponsor of the Red Hat[2] Summit this year. Last week they briefly ceased to be for no publicly stated reason, although it's been sugggested that this was in response to Piston winning a contract that Red Hat was also bidding on. This situation didn't last for long - Red Hat's CTO tweeted that this was an error and that Red Hat would pay Piston's sponsorship fee for them.

To Red Hat's credit, having the CTO immediately and publicly accept responsibility and offer reparations seems like the best thing they could possibly do in the situation and demonstrates that there are members of senior management who clearly understand the importance of community collaboration to Red Hat's success. But that leaves open the question of how this happened in the first place.

Red Hat is big on collaboration. Workers get copies of the Red Hat Brand Book, an amazingly well-written description of how Red Hat depends on the wider community. New hire induction sessions stress the importance of open source and collaboration. Red Hat staff are at the heart of many vital free software projects. As far as fundamentally Getting It is concerned, Red Hat are a standard to aspire to.

Which is why something like this is somewhat unexpected. Someone in Red Hat made a deliberate choice to exclude Piston from the Summit. If the suggestion that this was because of commercial concerns is true, it's antithetical to the Red Hat Way. Piston are a contributor to upstream Openstack, just as Red Hat are. If Piston can do a better job of selling that code than Red Hat can, the lesson that Red Hat should take away is that they need to do a better job - not punish someone else for doing so.

However, it's not entirely without precedent. The most obvious example is the change to kernel packaging that happened during the RHEL 6 development cycle. Previous releases had included each individual modification that Red Hat made to the kernel as a separate patch. From RHEL 6 onward, all these patches are merged into one giant patch. This was intended to make it harder for vendors like Oracle to compete with RHEL by taking patches from upcoming RHEL point releases, backporting them to older ones and then selling that to Red Hat customers. It obviously also had the effect of hurting other distributions such as Debian who were shipping 2.6.32-based kernels - bugs that were fixed in RHEL had to be separately fixed in Debian, despite Red Hat continuing to benefit from the work Debian put into the stable 2.6.32 point releases.

It's almost three years since that argument erupted, and by and large the community seems to have accepted that the harm Oracle were doing to Red Hat (while giving almost nothing back in return) justified the change. The parallel argument in the Piston case might be that there's no reason for Red Hat to give advertising space to a company that's doing a better job of selling Red Hat's code than Red Hat are. But the two cases aren't really equal - Oracle are a massively larger vendor who take significantly more from the Linux community than they contribute back. Piston aren't.

Which brings us back to how this could have happened in the first place. The Red Hat company culture is supposed to prevent people from thinking that this kind of thing is acceptable, but in this case someone obviously did. Years of Red Hat already having strong standing in a range of open source communities may have engendered some degree of complacency and allowed some within the company to lose track of how important Red Hat's community interactions are in perpetuating that standing. This specific case may have been resolved without any further fallout, but it should really trigger an examination of whether the reality of the company culture still matches the theory. The alternative is that this kind of event becomes the norm rather than the exception, and it takes far less time to lose community goodwill than it takes to build it in the first place.

[1] And, in the spirit of full disclosure, a competitor to my current employer
[2] Furthering the spirit of full disclosure, a former employer

Syndicated 2014-02-24 04:09:25 from Matthew Garrett

#### 24 Feb 2014 valessio»(Apprentice)

Compartilhando na rede…

Atenção: esta postagem é o resumo diário das minhas atividades nas redes e recortes de outros sites ou blogs compartilhados por mim.

Syndicated 2014-02-24 02:35:04 from ValessioBrito.com.br

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

 Users 14007 Observer 9890 Apprentice 745 Journeyer 2339 Master 1029

### Recently modified projects

8 Mar 2014 Noosfero
17 Jan 2014 Erlang
17 Jan 2014 Hy
17 Jan 2014 clj-simulacrum
17 Jan 2014 lfe-disco
17 Jan 2014 clj-openstack
17 Jan 2014 lfe-openstack
17 Jan 2014 LFE
10 Jan 2014 libstdc++
1 Nov 2013 FAQ Linux
17 Aug 2013 AshWednesday
11 Jul 2013 phable
11 Jul 2013 svtools

### New projects

8 Mar 2014 Noosfero