Shared posts

17 Mar 17:26

Joshua Drake: Stomping to PgConf.US: Webscale is Dead; PostgreSQL is King! A challenge, do you accept?

I submitted to PgConf.US. I submitted talks from my general pool. All of them have been recently updated. They are also all solid talks that have been well received in the past. I thought I would end up giving my, "Practical PostgreSQL Performance: AWS Edition" talk. It is a good talk, is relevant to today and the community knows of my elevated opinion of using AWS with PostgreSQL (there are many times it works just great, until it doesn't and then you may be stuck).

I also submitted a talk entitled: "Suck it! Webscale is Dead; PostgreSQL is King!". This talk was submitted as a joke. I never expected it to be accepted, it hadn't been written, the abstract was submitted on the fly, improvised and in one take. Guess which talk was accepted? "Webscale is Dead; PostgreSQL is King!". They changed the first sentence of the title which is absolutely acceptable. The conference organizers know their audience best and what should be presented.

What I have since learned is that the talk submission committee was looking for dynamic talks, dynamic content, and new, inspired ideas. A lot of talks that would have been accepted in years past weren't and my attempt at humor fits the desired outcome. At first I thought they were nuts but then I primed the talk at SDPUG/PgUS PgDay @ Southern California Linux Expo.

I was the second to last presenter on Thursday. I was one hour off the plane. I was only staying the night and flying home the next morning, early. The talk was easily the best received talk I have given. The talk went long, the audience was engaged, laughter, knowledge and opinions were abound. When the talk was over, the talk was given enthusiastic applause and with a definite need for water, I left the room.

I was followed by at least 20 people, if not more. I don't know how many there were but it was more than I have ever had follow me after a talk before. I was deeply honored by the reception. One set of guys that approached me said something to the effect of: "You seem like you don't mind expressing your opinions". At this point, some of you reading may need to get a paper towel for your coffee because those that know me, know I will readily express an opinion. I don't care about activist morality or political correctness. If you don't agree with me, cool. Just don't expect me to agree with you. My soapbox is my own, rent is 2500.00 a minute, get in line. I digress, what did those guys ask me about? Systemd, I don't think they were expecting my answer, because I don't really have a problem with Systemd.

Where am I going with this post? I am stomping my way to PgConf.US with an updated version of this talk (You always learn a few things after giving a performance). I am speaking in the first slot on Friday and I am going to do everything I can to bring it. I can't promise to be the best, I can promise to do everything in my power to be my best. I am being recorded this time. My performance will be on the inner tubes forever. I have no choice.

A challenge, do you accept?

I challenge all speakers at this voyage of PgConf.US to take it up a notch. If you were accepted, you have a responsibility to do so. Now, now, don't get me wrong. I am not suggesting that you put on a chicken suit and Fox News t-shirt to present. I am however suggesting that if you are a monotone speaker, try not to be. If you are boring, your audience will be bored and that is the last thing the conference, you or the audience wants. So speak from your diaphragm, engage the audience and make their time worth it!

16 Mar 20:45

Iran as Regional Hegemon: Tehran’s Success and Riyadh’s Failure

by David P. Goldman

Each for its own reasons, the world’s major powers have decided to accept Iran as a regional hegemon, I wrote March 4 in Asia Times, leaving Israel and the Sunni Arabs in isolated opposition. The global consensus on behalf of Iranian hegemony is now coming clearly into focus. Although the motivations of different players are highly diverse, there is a unifying factor driving the consensus: the Obama administration’s determination to achieve a strategic rapprochement with Tehran at any cost. America’s competitors are constrained to upgrade their relations with Iran in order to compete with Washington.

The Obama administration’s assessment of Iran’s intentions is so positive that Iranian official sources quote it in their own propaganda.  As Jeryl Bier observed at the Weekly Standard, the just-released Threat Assessment report of the director of National Intelligence makes no mention of Iran’s support for terrorism, in stark contrast to the explicit citation of Iranian terrorism in the three prior annual reports. The omission of Iran’s terrorist activities is noteworthy. What the report actually says is even more disturbing. It praises Iran with faint damn:

Despite Iran’s intentions to dampen sectarianism, build responsive partners, and deescalate tensions with Saudi Arabia, Iranian leaders—particularly within the security services—are pursuing policies with negative secondary consequences for regional stability and potentially for Iran. Iran’s actions to protect and empower Shia communities are fueling growing fears and sectarian responses.

Iran supposedly is doing its best to “dampen sectarianism, build responsive partners, and deescalate tensions with Saudi Arabia” — complete and utter falsehood. Iran is infiltrating Saudi Arabia’s Shi’te-majority Eastern Province (also its most oil rich) to agitate against Saudi control, and sponsored a coup against a Saudi-allied regime in Yemen. The report attributes nothing but good intentions to the Tehran regime, and worries only that its policies will have “negative secondary consequences” due to its (understandable, of course) efforts to “protect and power Shia communities.” Iran’s primary motivation, in the administration’s view, is to be a good neighbor and a fountain of good will. Neville Chamberlain never said such nice things about Hitler.

A sign of Saudi Arabia’s waning influence was Pakistan’s decision March 15 to refuse a Saudi request for Pakistani troops to deploy on its border with Yemen, now controlled by pro-Iranian Houthi rebels. A senior Pakistani official told the local press, “Pakistan would not rush to join the anti-Iran alliance that is being forged,” in the wake of Pakistani Prime Minister Nawaz Sharif’s visit to Saudi Arabia last week. “We cannot afford to involve ourselves in the disputes among the Muslim countries,” the official said, adding that Pakistan could spare no additional troops for Saudi Arabia.

That is a serious rebuff for Riyadh, which reportedly financed Pakistan’s nuclear weapons program as a last-ditch guarantee of its own security. As Akhilesh Pillalamarri wrote March 12 in The Diplomat, “Pakistan may be Saudi Arabia’s best bet for a strong long-term security guarantee”:

Pakistan has long had a close relationship with Saudi Arabia and has been involved in protecting that country and the House of Saud. Pakistan has much friendlier relations with Iran than Saudi Arabia does, but ultimately it is more dependent on Saudi Arabia. Saudi Arabia, for example, gave oil to Pakistan in 1998 to help Pakistan weather international sanctions against it for conducting a nuclear test. The Saudis also saved Nawaz Sharif after he was overthrown in a coup in 1999, and he is thus beholden to them.

Pakistan may have been Saudi Arabia’s best bet, but it is a bet that has not paid off. Pakistan is not beholden enough, it appears: Pakistan also is beholden to both the United States and China. The right question to ask is whether Washington intervened with Pakistan to block the Saudi proposal. And China, as I reported in my March 2 analysis, has decided that Iranian regional hegemony is the least bad alternative for the time being. China’s overriding concern is the security of its energy supplies, and it wants to avoid a full-dress Sunni-Shi’ite war in the region. Until early 2014 China thought it could rely on the United States to guarantee energy security in the Persian Gulf. With America’s strategic withdrawal from the region and the rise of ISIS, China has found itself without an American guarantee and without the resources to assert its own security interests. China’s shift towards Iran reflects these considerations.

Another issue for China, Paul Nash and Reza Akhlaghi wrote in the Diplomatic Courier March 16, is that “the rise of militant Sunni Islam is aligning China’s interests with Iran’s.” Nash and Akhlaghi argue:

The rise of the Islamic State in Iraq and Syria has thus emerged as a new component of the Chinese security calculus. Beijing is worried that the rise and spread of Sunni militant Islam so close to its borders, including neighboring former Soviet “Stan” countries of Central Asia, will kindle radical elements in Xinjiang. Sunni militant Islam also threatens to become a strategic and an ideological nightmare for China’s massive and unprecedented multi-billion dollar investments from Xinjiang westward across Central Asia, the linchpin of Beijing’s future vision of energy security and economic development. Sunni radicalism could hinder, if not derail, the realization of Beijing’s Silk Road Belt initiative, presenting a major obstacle to building out a vast overland transcontinental transportation and energy infrastructure.

In an effort to maintain stability in Xinjiang, China has set about strengthening ties with Turkey. But this is no easy task. According to a Pew Research Center poll published last July, Turkey has the most unfavorable view of China amongst the Middle Eastern countries surveyed, with 69 percent of Turks expressing a negative opinion of China, and 57 percent saying that China’s growing economy is not good for Turkey.

And so China gravitates increasingly towards Iran, which it believes can act as a buffer zone against the eastward advance of Sunni radical Islam.

Reality is a bit more complex: China envisions Turkey as a terminus for the “One Belt, One Road” initiative, but it also rankles at covert Turkish support for Chinese Uyghurs. Contrary to Nash and Akhlaghi, China will continue to balance relations between Iran on the one hand and the Saudis and Turks on the other, but it does not want to confront Iran at a moment when Iran provides an important counterweight to ISIS in Iraq, a growing source of Chinese oil imports.

If militant Sunni Islam is an important (if not dominant) concern for China, it is a primary concern for both India and Russia. Russia’s problems in the Caucasus lie with Sunni rather than Shi’ite Muslims. ISIS’ success has inspired copycat terrorists in Russia such as the Caucasus Emirate. An estimated 2,500 Muslims from Chechnya and elsewhere in the Caucasus have joined ISIS, and ISIS has declared its intention to “liberate” the Caucasus from Russian control. Russia warned the West a year ago that it would align with Iran to punish the West over the Ukraine conflict.

For India, an increase in Iran’s influence represents a distraction for its main opponent Pakistan, which is 80% Sunni and shares a border with Iran in fractious Baluchistan. India may not relish the prospect of Iran as a nuclear power, but it has no more sense of urgency about this than does Israel about North Korean nuclear weapons. China does not want a nuclear arms race in the Persian Gulf, but it needs time to develop a policy response independent of the United States. Washington’s embrace of Tehran has made Iranian regional hegemony the path of least resistance. For the time being, it’s Iran’s show.

16 Mar 17:10

http://feedproxy.google.com/~r/EduardoMacan/~3/gotHey0OVCM/

by Eduardo Maçan

A cobrança não virá daqueles que sempre tiveram acesso a bens de consumo, serviços e estão pagando (ainda) mais caro agora. A cobrança virá daqueles que experimentaram o acesso ao mercado e o perderão se a economia continuar apontando para baixo. Essa cobrança, a verdadeira, está apenas no começo.

16 Mar 17:05

Arbitrage

The invisible hand of the market never texts me back.
16 Mar 17:05

The Sino-American Comedy of Errors

by David P. Goldman

Now that Britain will join China’s Asia Infrastructure Bank — bringing “One Belt/One Road” to the English Channel–Americans should spent some time learning why China’s global economic outreach is so compelling to our closest ally. Below is a Nov. 14, 2014 piece cross-posted from Asia Times.

 

The Sino-American comedy of errors
By Spengler

BEIJING – Everything in tragedy happens for a reason, and the result always is sad; most things in comedy happen by accident and the outcome typically is happy. Sino-American relations are not destined for conflict, although that is possible. The misunderstandings that bedevil relations between the world’s two most powerful countries remain comedic rather than tragic. That probably is as good as it gets, for no amount of explanation will enable Chinese and Americans to make sense of each other.

Where the Chinese are defensive and cautious, the Americans tend to perceive them as aggressive; where the Chinese are expansive ambitious, the Americans ignore them altogether. The United States is a Pacific power accustomed to maritime dominance. To the extent that Americans focus on China’s foreign policy, it is to express alarm at China’s territorial claims on small uninhabited islands also claimed by Japan, Vietnam and the Philippines. Apart from some overheated and self-serving rhetoric from a few Chinese military leaders, though, the contested islands are of negligible importance in China’s scale of priorities. 
The issue may be moot by this writing: last week, China and Japan released a “Principled Agreement on Handling and Improving Bilateral Relations”, following meetings between Japan’s national security adviser, Shotaro Yachi, and Chinese State Councilor Yang Jiechi. The document promises to “establish crisis management mechanisms to avoid contingencies” and to employ “dialogue and consultation”.

Neither Japan nor China had any interest in a military confrontation in the Pacific, although both sides employed the island disputes to play to their own nationalist constituencies. The Principled Agreement sends a signal that the Kabuki show had gone far enough.

A common American meme in response to supposed Chinese expansionism in the Pacific projected an Indian-Japanese military alliance to contain Chinese ambitions under US sponsorship. Although a few Indian nationalists enthused over the idea, it was an empty gesture from the outside. If India got into a scrap with China over disputed borders, for example, just what would Japan do to help?

The newly-elected Indian government under Narendra Modi never took the idea seriously. On the contrary, after President Xi Jinping’s recent state visit to India, Modi envisions Chinese investment in urgently needed infrastructure. Economics trumps petty concerns over borders in the mountainous wasteland that separates the world’s two most populous nations.

There also is a strategic dimension to the growing sense of agreement between China and India. From India’s vantage point, China’s support for Pakistan’s army is a concern, but it cuts both ways. Pakistan remains at perpetual risk of tipping over towards militant Islam, and the main guarantor of its stability is the army. China wants to strengthen the army as a bulwark against the Islamic radicals, who threaten China’s Xinjiang province as much as they do India, and that probably serves India’s interests as well as any Chinese policy might.

Chinese analysts are dumbfounded about the US response to what they view as a sideshow in the South China Sea and only tangentially concerned about India. They struggle to understand why a vastly improved relationship with Russia has emerged in response to US blundering in Ukraine.

As a matter of diplomatic principle, China does not like separatists because it has its own separatists to contend with, starting with the Muslim Uyghurs in Xinjiang province. Washington thought that the Maidan Revolution in Kiev last year would take Crimea out of Russian control, and Russia responded by annexing the peninsula containing its main warm-water naval base.

When the West imposed sanctions on Russia in retaliation, Moscow moved eastwards – an obvious response, and one that strongly impacts Western power. Not only has Russia opened its gas reserve to China, but it has agreed to supply China with its most sophisticated military technology, including the formidable S-400 air defense system. Russia was reluctant to do so in the past given Chinese efforts to reverse-engineer Russian systems, but the Ukraine crisis changed that.

Western analysts, to be sure, now observe that the new Russian-Chinese rapprochement might be a challenge for the West. The New York Times devoted a front-page feature to the opinions of the usual suspects among Soviet watchers in its November 9 edition.

This was obvious months ago, and should have been obvious before the fact: the West merely threw B’rer Putin into the briar patch to his east. Of all the miscalculations in Western policy since World War II, this was perhaps the stupidest. The Chinese are left to scratch their heads about their unanticipated good luck.

It is wrong to speak of a Russian-Chinese alliance, to be sure, but there is a developing Sino-Russian condominium in Asia. The energy and defense deals between Moscow and Beijing are important in their own right, but they take on all the more importance in the context of what might be the most ambitious economic project in history: the New Silk Road. The Pacific holds little promise for China. Japan and South Korea are mature economies, customers as well as competitors of China.

Expansion in the Pacific simply has nothing to offer China’s economy. What China wants is to be impregnable within its own borders: it will spend generously to develop surface-to-ship missiles that can take out US aircraft carriers, hunter-killer submarines, and air defense systems.

China’s prospects are to the west and south: energy and minerals in Central Asia, food in Southeast Asia, warm-water ports on the Indian Ocean, a vast market, and access to world markets beyond. The network of rail, pipelines and telecommunications that China is building through the former Soviet republics and through Russia itself will terminate at the Mediterranean and provide a springboard for Chinese trade with Europe.

The whole Eurasian landmass is likely to become a Chinese economic zone, especially now that Russia is more amenable to Chinese terms. That the Americans would have helped bring this to fruition by tilting at windmills in Ukraine baffles the Chinese, but they are enjoying the result.

The economic impact of this is hard to fathom, but it is likely to extend Chinese influence westwards on a scale that the West simply hasn’t begun to imagine. It is not at all clear whether China has a clear idea of what the implications of the New Silk Road might be. The implosion of America’s geopolitical position has placed risks and opportunities at Beijing’s doorstep, to Beijing’s great surprise.

A year ago, Chinese officials privately reassured visitors that their country would “follow the lead of the dominant superpower” in matters relating to Middle East security, including Iran’s attempts to acquire nuclear weapons. For the past several decades, China has allowed the US to look out for the Persian Gulf while it increased its dependency on Persian Gulf oil. By 2020, China expects to import 70% of its oil, and most of that will come from the Gulf.

The Chinese view has changed radically during the past few months, in part due to the collapse of the Syrian and Iraqi states and the rise of Islamic State. It is hard to find a Chinese specialist who still thinks that the US can stand surely for Persian Gulf security. Opinion is divided between those who think that America is merely incompetent and those who think that America deliberately wants to destabilize the Persian Gulf.

Now that the US is approaching self-sufficiency in energy resources, some senior Chinese analysts believe it wants to push the region into chaos in order to hurt China. One prominent Chinese analyst pointed out that Islamic State is led by Sunni officers trained by the United States during the 2007-2008 “surge” as well as elements of Saddam Hussein’s old army, and that this explains why IS has displayed such military and organizational competence.

The complaint is justified, to be sure: General David Petraeus helped train the 100,000-strong “Sunni Awakening” to create a balance of power against the Shi’ite majority regime that the US helped bring to power in 2006. How, the Chinese ask, could the Bush administration and Petraeus have been so stupid? To persuade the Chinese that they were indeed that stupid is a daunting task.

China’s attitude towards Washington has turned towards open contempt. Writing of the mid-term elections, the official daily newspaper Global Times intoned: “The lame-duck president will be further crippled ? he has done an insipid job, offering nearly nothing to his supporters. US society has grown tired of his banality.”

But the decline of American influence in the region from which China obtains most of its oil is not a happy event for Beijing.

China did not anticipate the end of the free ride from the Americans, and it isn’t sure what to do next. It has tried to maintain a balance among countries with whom it trades and who are hostile to each other. It has sold a great deal of conventional weapons to Iran, for example, and some older, less-sophisticated ballistic missiles.

But China has sold Saudi Arabia its top-of-the-line intermediate range missiles, giving the Saudis a “formidable deterrent capability” against Iran and other prospective adversaries. China obtains more oil from Saudi Arabia than any other country, although its imports from Iraq and Oman are growing faster. Because the latter two countries are closer to Iran, China wants to strike a balance.

Chinese opinion is divided about the implications of Iran acquiring nuclear weapons: some strategists believe that the balance of nuclear power in the region will suffice to prevent the use of such weapons, while others fear that a nuclear exchange in the Gulf might stop the flow of oil and bring down China’s economy. China has joined the P-5 plus 1 negotiations (involving the UN Security Council permanent five members plus Germany) on Iran’s nuclear status, but has not offered a policy independent of President Barack Obama’s.

Meanwhile the rise of Islamist extremism worries Beijing, as well it should. At least a hundred Uyghurs reportedly are fighting with Islamic State, presumably in order to acquire terrorist skills to bring back home to China. Chinese analysts have a very low opinion of the Obama administration’s approach to dealing with IS, but do not have an alternative policy. This is an issue of growing importance. Instability threatens the Silk Road project at several key notes.

China has no sympathy whatever for what analysts there like to call “political Islam”. America’s flirtation with the Muslim Brotherhood – both from the Obama administration and from mainstream Republicans such as Senator John McCain – strikes the Chinese as incompetence, or worse. But China has no capability to go after the Islamists, except for a very limited deployment of marines off the coast of Somalia.

China’s policy-making is careful, conservative and consensus-driven. Its overriding concern is its own economy. The pace of transformation of the Middle East has surprised it, and it is trying to decide what to do next.

Its pro forma policy is to join the Iran talks, and offer to join the Quartet (the UN, the US, the European Union, and Russia) talks on the Israel-Palestine issue, but neither of these initiatives has much to do with its actual concerns.

What China will do in the future cannot be predicted. But it seems inevitable that China’s basic interests will lead it to far greater involvement in the region, all the more so as the US withdraws.

13 Mar 15:53

NTP's Fate Hinges On 'Father Time' (InformationWeek)

by corbet
InformationWeek has a lengthy look at the maintenance of the network time protocol (NTP) code. "Not all is well within the NTP open source project. The number of volunteer contributors -- those who submit code for periodic updates, examine bug reports, and write fixes -- has shrunk over its long lifespan, even as its importance has increased. Its ongoing development and maintenance now rest mostly on the shoulders of [Harlan] Stenn, and that's why NTP faces a turning point. Stenn, who also works sporadically on his own consulting business, has given himself a deadline: Garner more financial support by April, 'or look for regular work.'"
13 Mar 14:46

Terry Pratchett

Thank you for teaching us how big our world is by sharing so many of your own.
13 Mar 14:45

Four Thirds matching simulation adds the soon to be released Olympus 7-14mm f/2.8 PRO lens.

by 43rumors

Share

7-14mmPRO

The Four Thirds Group Mathcing Simulator page (Click here) just added the new and yet still not released Olympus 7-14mm f/2.8 PRO MFT lens. The lens is scheduled to be released this summer and price is yet unclear.

The lens is already listed at BHphoto (Click here).

Share

12 Mar 22:44

Repugnância ao profissionalismo

by Rodrigo Gurgel

No Brasil, quando se trata de escrever, de produzir literatura, a repugnância ao profissionalismo chega a ser arrebatadora.

Para muitos, o escritor ainda é um romântico que se embebeda noite após noite, um irresponsável que não cumpre horários, veste-se com desleixo, despreza as instituições, considera-se superior a todos, vive de maneira miserável e, o principal, escreve quando sua fada-madrinha bate à janela e lhe sussurra o tema de um continho rápido.

Para os que pensam assim, a literatura ainda é um presente caído dos Céus — ou o fado terrível, cujo peso condena o escritor a ser maldito até o fim de seus dias.

Para os que pensam assim, o escritor disciplinado — que estuda, trabalha, reserva algumas horas diárias para escrever e ainda publica seus livros — é um verme burguês que deve ser pisoteado.

Para os que pensam assim, o jovem que se inscreve numa Oficina de Escrita Criativa e se dedica seriamente a entender a técnica da escrita e como grandes escritores a utilizaram não passa de um tolo ingênuo.

Para os que pensam assim, o escritor não deve nem mesmo planejar seus livros, mas deixar que a escrita flua como uma energia cósmica. Para eles, o escritor é um xamã, a voz que revela segredos milenares, o vidente que anuncia uma nova era. E outras bobagens.

Para os que pensam assim, o escritor que enfrenta a luta diária com as palavras seguindo um método severo de trabalho, sem obedecer a panelinhas, partidos ou teorias estéticas, é um pária digno do desprezo de todos os departamentos de Teoria Literária.

E se esse escritor — depois de anos debruçado sobre a escrita, trabalhando durante o dia como funcionário público, professor, jornalista, bibliotecário ou pedreiro, e dedicando suas horas de descanso ao que dá sentido à sua vida —, se esse escritor ainda consegue publicar seu livro e obter relativo sucesso, então está comprovado: ele não vale nada mesmo, certamente se vendeu para os porcos capitalistas e só é lido porque produz uma literatura rasteira, pequena, sem originalidade.

Repugnância ao profissionalismo

Muitas vezes, o tal discursador faz exatamente o contrário do que apregoa.

Bem, se você chegou até aqui, tenho algo importante a lhe dizer: não acredite nessas conversas de botequim. Não acredite no discursinho afetado de quem se pavoneia apenas para esconder a própria mediocridade.

Não há grandes escritores sem disciplina, sem seriedade, sem estudo. Sempre que você escutar esses discursinhos fantasiosos, não perca tempo retrucando. Muitas vezes, o tal discursador faz exatamente o contrário do que apregoa — primeiro, para estar bem com os medíocres que defendem essas teses; segundo, para não alimentar possíveis rivais literários.

Volte para casa, abra uma página de Dante, de Flaubert, de Kafka, leia e pense em quanto de esforço real, de trabalho real e de luta diária com as palavras se concentra ali.

Imagine o cotidiano desses escritores, pense nas horas cheias de solidão, nas leituras diárias, nas raríssimas amizades, na eterna dúvida em relação à qualidade do próprio trabalho, no peso das palavras, no volume de rascunhos escritos, reescritos e jogados fora, na vida aparentemente banal, apagada, sem um gesto de heroísmo visível, sem blog, sem frequentar rodinhas de literatos para encher a cara de cerveja ou fumar baseados.

Pense numa vida inteira dedicada à escrita, esse trabalho muitas vezes enlouquecedor, e no resultado final: três, quatro, cinco livros bons, talvez um genial.

E pense em você mesmo, escrevendo todos os dias, lutando para encontrar sua própria voz, explicando a alguns o que você almeja — e recebendo em troca o olhar perdido de quem não entendeu nenhuma palavra.

Então recorde os discursinhos. E você verá como as bobagens que tantos repetem — por irresponsabilidade, perfídia, desconhecimento ou cinismo — não se sustentam. Elas se dissolvem quando você as coloca diante do cotidiano, diante dos escritores que produziram obra consistente, capaz de vencer o tempo.

Contra as mentiras românticas e esquerdistas, o melhor remédio é simples — e está sempre à mão: chama-se realidade.

The post Repugnância ao profissionalismo appeared first on Rodrigo Gurgel.

10 Mar 21:19

Tomas Vondra: Performance since PostgreSQL 7.4 / TPC-DS

About a week ago, I posted comparison of pgbench results since PostgreSQL 7.4, which was one of the benchmarks done for my pgconf.eu 2014 talk. For an explanation of the whole quest, please see the first post.

Now it's time to discuss results of the second benchmark - TPC-DS, which models an analytical workload, i.e. queries processing large amounts of data, with aggregations, large sorts, joins of large tables, TOP-N queries etc. That is very different from pgbench, executing queries manipulating individual rows mostly through primary keys, etc.

The one chart you should remember from this post is this one, illustrating how long it takes to execute 41 queries (subset of TPC-DS queries compatible with PostgreSQL since 7.4) on a 16GB dataset (raw CSV size, after loading into database it occupies about 5x the size because of overhead, indexes etc.).

tpc-ds-duration-16-gb.png

The numbers are runtime in seconds (on the i5-2500k machine), and apparently while on PostgreSQL 8.0 it took ~5100 seconds (85 minutes), on 9.4 it takes only ~1200 seconds (20 minutes). That's a huge improvement.

Notice the 8.0 results are marked with a star - that's because on 8.0 one of the queries did not complete within an arbitrary limit of 30 minutes, so it was cancelled and was counted as taking 1h. Based on several experiments, I believe the actual runtime would be even longer than that - in any case it was much longer than on PostgreSQL 8.1, where this particular query got significantly improved by bitmap index scans.

Considering that this is quite I/O intensive (the database size is ~5x the RAM), that's a huge improvement. As we'll see later, with smaller datasets (that completely fit into RAM), the speedup is even larger.

BTW I've had trouble making this work on PostgreSQL 7.4 (without making the results difficult to compare), so I'll only present results for PostgreSQL 8.0 and newer releases.

TPC-DS

But let's talk a bit about the TPC-DS benchmark, because the brief description in the introduction is not really detailed enough. TPC-DS is another benchmark from TPC. It's representing analytical workloads (reporting, data analysis, decision support systems and so on), so the queries are processing large amounts of data, performing aggregations (GROUP BY), various joins, etc.

It effectively extends and deprecates TPC-H benchmark, improving it in multiple ways to make it more representative of actual workloads. Firstly, it makes the schema more complex (e.g. more tables), and uses less uniform distributions of the data (which makes cardinality estimations way more difficult). It also increases the number of query templates from 22 to 99, and uses modern features like CTEs, window functions and grouping sets.

Of course, presenting all the 99 query templates here would be pointless, but one of the simpler ones looks like this:

select  ca_zip
       ,sum(cs_sales_price)
 from catalog_sales
     ,customer
     ,customer_address
     ,date_dim
 where cs_bill_customer_sk = c_customer_sk
   and c_current_addr_sk = ca_address_sk 
   and ( substr(ca_zip,1,5) in ('85669', '86197','88274','83405','86475',
                                   '85392', '85460', '80348', '81792')
         or ca_state in ('CA','WA','GA')
         or cs_sales_price > 500)
   and cs_sold_date_sk = d_date_sk
   and d_qoy = 2 and d_year = 2000
 group by ca_zip
 order by ca_zip
 limit 100;

This particular query joins 4 tables, uses non-trivial WHERE conditions, aggregation and finally selects only results for the first 100 ZIP codes. The other templates are often way more complex.

Some of the templates are incompatible with PostgreSQL, because they rely on not-yet-implemented features (e.g. CUBE/ROLLUP). Some of the templates also seem broken, as the query generator fails on them. There are 61 queries working fine since PostgreSQL 8.4 (when CTEs and window functions were added to PostgreSQL), and 41 queries are compatible with versions since 7.4. And those 41 queries were used for this benchmark.

Note 1: Most of the remaining queries may be rewritten to make them work, but I haven't done that. Those queries were designed specifically to test those features, and the rewritten versions would benchmark the same things as the remaining queries anyway. I'm pretty sure it's possible to rewrite some of the "compatible" queries to get better performance, but I haven't done that for the same reason.

Note 2: The TPC-DS benchmark also includes tests for maintenance/management tasks (e.g. ALTER TABLE, various DDL etc.) but I have not performed this part.

Dataset Sizes

As with all benchmarks, dataset sizes really matter. I've used two sizes 1GB and 16GB, specified as the size of the CSV filed generated by the TPC tooling.

small / 1GB

  • 5-6GB after loading into database (still fits into RAM)
  • too small for publication of results (according to TPC-DS specification)
  • still interesting, becaue many datasets are actually quite small

large / 16GB

  • ~80GB after loading into database (a multiple of RAM)
  • non-standard scale (TPC-DS requires 10, 100, ... to make comparisons easier)
  • we don't really care about comparison with other databases anyway (in this benchmark)

Schema

I haven't really spent too much time optimizing the schema - I simply used the schema provided with the TPC-DS suite, and after a few rounds of benchmarking created suitable indexes. I have used the same schema for all PostgreSQL versions, which probably discriminates the newer versions, as those might benefit from tweaking indexes to be suitable for index-only scans, for example.

PostgreSQL Configuration

The the PostgreSQL configuration was mostly default, with only minimal changes. All the versions used the same configuration:

shared_buffers = 512MB
work_mem = 128MB
maintenance_work_mem = 128MB
effective_cache_size = 1GB
checkpoint_segments = 32

Similarly to pgbench we could probably get a bit better performance by tuning the values for each version. The values used here are quite conservative already, so don't expect an effect similar to pgbench, when lowering the values resulted in significant speedup on older versions.

Tooling

If you want to review the tooling I used, it's available here. It's a bit hackish (mostly a bunch of shell scripts) and certainly is not "ready to run" in various ways - it does not include the data and query generators (you can get them at tpc.org, and you'll have to modify a few paths in the scripts (to data directory etc.), but it shouldn't be difficult. Let me know by e-mail if you run into problems.

This also includes DDL (schema including indexes), PostgreSQL config files, query templates and actual queries used for the benchmark.

Data Load

The first thing you often need to do is loading the data into database. The load process is very simple:

  1. COPY - load data from tables into 'fresh' tables (with only primary keys)
  2. CREATE INDEX - all other indexes
  3. VACUUM FULL - compact the table (not really needed)
  4. VACUUM FREEZE - mark all tuples as visible
  5. ANALYZE - collect statistics

and the results for a 1GB dataset (raw size of CSV files) look like this:

tpc-ds-duration.png

Clearly, something changed in 9.0, because the VACUUM FULL step takes much longer, and indeed - that's when VACUUM FULL was rewritten to use the same implementation as CLUSTER, i.e. completely rewriting the table. On older releases it used a different approach, that was more efficient for tables with only small fraction of dead tuples (which is the case here, right after a load), but much less efficient on tables with a large portion of dead tuples (which is exactly when you want to do a CLUSTER).

That means the VACUUM FULL is rather misleading here, because it's used in exactly the context where you should not use that (and instead let autovacuum do it's job), so let's remove it from the chart.

tpc-ds-duration-no-vacuum-full.png

Much better, I guess. While it took ~1000 seconds on 8.0, on 9.4 it only takes ~500 seconds - not bad, I guess. The main improvement happened in 8.1, and 8.2 was a minor regression, followed by small incremental improvements.

Let's see the performance with a larger (16GB) dataset:

tpc-ds-load-16-gb.png

Again, about 2x the speedup between 8.0 and 9.4 (just like with the small dataset), but the pattern is slightly different - both 8.1 and 8.2 improved the performance about equally (no regression in 8.2), followed by releases keeping a stable performance.

So far I've been talking about "raw size" of the datasets, i.e. size of the CSV files produced by the TPC-DS generator. But what that means for the database size? After the small (1GB) dataset, you'll get about this:

tpc-ds-size-per-1-gb.png

That's ~5-6GB databases - PostgreSQL 9.4 needs about 15% less compared to 8.0, which is certainly nice. About 60% of that are indexes, leaving ~2.5GB for the tables. By applying this to the 16GB dataset, it will require ~40GB on disk for the table, and additional ~60GB for the indexes.

Querying

And finally, the query performance. On the small dataset (which fits into memory), the 41 looks like this on average:

tpc-ds-duration-1-gb.png

and on the large dataset, you'll get this:

tpc-ds-duration-16-gb.png

Clearly, PostgreSQL 8.1 was a significant improvement. It's also possible to look at duration broken down per query (so that each query gets the same color on all versions):

tpc-ds-duration-16-gb-per-query.png

The regressions on 8.1 and 8.4 - 9.1 are clearly visible - I haven't looked much into them though.

If you want look into the results, a complete set of results (including logs, EXPLAIN, EXPLAIN ANALYZE and such) for the 16GB dataset is available here. Feel free to point any inconsistencies or errors.

Improvements

If you look into release notes, two major features introduced in that version should catch your eye:

  • Allow index scans to use an intermediate in-memory bitmap (Tom)
  • Automatically use indexes for MIN() and MAX() (Tom)

PostgreSQL 9.2 was another release significantly improving performance (almost 2x compared to 9.1), most likely because of this feature (see release notes):

  • Allow queries to retrieve data only from indexes, avoiding heap access (Robert Haas, Ibrar Ahmed, Heikki Linnakangas, Tom Lane)

You can also notice that further improvement happened in 9.4, by about 10%. That's likely thanks to optimization of Numeric aggregates:

  • Improve speed of aggregates that use numeric state values (Hadi Moshayedi)

There are of course many other performance-related improvements both in all the releases since 8.0, but those are related to other kinds of queries.

Summary

So, what's the conclusion?

  • Loading is much faster than on 8.0 - about 2x as fast. Most of the speedup happened in 8.1 / 8.2, and we're keeping about the same performance since then.
  • The query speedup is even better - PostgreSQL 9.4 is about 7x faster than 8.0. Again, most of the speedup happened in 8.1/8.2, but there are signifincant improvements in the following releases too.
05 Mar 21:18

Tomas Vondra: Performance since PostgreSQL 7.4 / pgbench

So, in the introduction post I briefly described what was the motivation of this whole effort, what hardware and benchmarks were used, etc. So let's see the results for the first benchmark - the well known pgbench and how they evolved since PostgreSQL 7.4.

If there's a one chart in this blog postthat you should remember, it's probably the following one - it shows throughput (transactions per second, y-axis) for various numbers of clients (x-axis), for PostgreSQL releases since 7.4. bad pgbench-medium-ro-xeon.png

Note: If a version is not shown, it means "same (or almost the same) as the previous version" - for example 9.3 and 9.4 give almost the same performance as 9.2 in this particular test, so only 9.2 is on the chart.

So on 7.4 we could do up to 10k transactions per second (although the scalability was poor, and with more clients the throughput quickly dropped to ~3k tps). Since then the performance gradually improved, and on 9.2 we can do more than 70k tps, and keep this throughput even for higher client counts. Not bad ;-)

Also note that up until PostgreSQL 9.1 (including), we've seen a significant performance drop once we exceeded the number of CPUs (the machine has 8 cores in total, which is exactly the point where the number of transactions per second starts decreasing on the chart).

Of course, these are the result of just one test (read-only on medium dataset), and gains in other tests may be more modest, but it nicely illustrates the amount of improvements that happened sice PostgreSQL 7.4.

This post is a bit long, but don't worry - most of it are pretty images ;-)

pgbench

But first let's talk a bit more about pgbench, because the short description in the intro post was bit too brief. So, what is "select-only" mode, "scale", client count and so on?

If you know these pgbench basics, you may just skip to the "Results" section, presenting the results of the benchmarks.

Mode

Pgbench has two main modes - read-write and read-only (there's also a third mode, and an option to use custom scripts, but I won't talk about those).

read-write (default)

The read-write mode executes a simple transaction, simulating a withdrawal from an account - updating the balance in "accounts" table, selecting the current balance, updating tables representing a branch and a teller, and recording a row into a history.

BEGIN;

    UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

    SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

    UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

    UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

    INSERT INTO pgbench_history (tid, bid, aid, delta, mtime)
           VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

END;

As you can see, all the conditions are on a PK column, always work with a single row, etc. Simple.

read-only (SELECT-only)

The read-only mode is even simpler - it simply executes only the "SELECT" query from the read-write mode, so it's pretty much this:

SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

Again, access through PK column - very simple.

Scale

In short, scale determines size of the database as a number of rows in the main "accounts" table - the supplied value gets multiplied by 100.000 and that's how many rows in that table you get. This of course determines the size on disk, as every 100.000 rows corresponds to 15MB on disk (including indexes etc.).

When choosing the scale for your benchmark, you have three basic choices, each testing something slightly different.

small

  • usually scale between 1-10 (15-150MB databases)
  • only a small fraction of RAM (assuming regular hardware)
  • usually exposes locking contention, problems with CPU caches and similar issues not visible with larger scales (where it gets overshadowed by other kinds of overhead - most often I/O)

medium

  • scales corresponding to ~50% of RAM (e.g. 200-300 on systems with 8GB RAM)
  • the database fits into RAM (assuming there's enough free memory for queries)
  • often exposes issues with CPU utilization (especially on read-only workloads) or locking

large

  • scales corresponding to ~200% of RAM, or more (so 1000 on systems with 8GB RAM)
  • the database does not fit into RAM, so both modes (read-only and read-write) hit the I/O subsystem
  • exposes issues with inefficient disk access (e.g. because of missing index) and I/O bottlenecks

Client counts

The third important parameter I'd like to discuss is client count, determining the number of concurrent connections used to execute queries.

Let's assume you measure performance with a single client, and you get e.g. 1000 transactions per second. Now, what performance will you get with 2 clients? In an ideal world, you'd get 2000 tps, twice the performance with a single client.

For N clients you'd get N-times the performance of a single client, but it's clear it doesn't work like that, because sooner or later you'll run into some bottleneck. Either the CPUs will become fully utilized, the I/O subsystem will be unable to handle more I/O requests, you'll saturate network or memory bandwidth, or hit some other bottleneck.

As the number of clients is increased, we usually see three segments on the charts:

  • linear scalability at the beginning (so N clients really give nearly N-times the throughput of a single client), until saturating at least one of the resources (CPU, disk, ...)
  • after saturating one of the resources, the system should maintain constant throughput, i.e. adding more clients should result in linear increase of latencies
  • eventually the system runs into even worse issues, either at the DB or kernel level (excessive locking, process management, context switching etc.), usually resulting in a quick performance drop (where latencies grow exponentially)

On a simple chart, it might look like this:

pgbench-client-count.png

Of course - this is how it would look in an ideal world. In practice, the initial growth is not linear, and the throughtput in the second part is not constant but drops over time - sometimes fast (bad), sometimes gradually (better). We'll see examples of this.

For sake of clarity and brevity, I've left out the latencies from the charts in this blog post. A proper latency analysis would require a considerable amount of space (to show averages, percentiles, ...) but the results turned out to be especially dull and boring in this case. You have to trust me that the transaction rate (and implied average latency) is a sufficient description of the results in this case.

Jobs count (pgbench threads)

By default, all the pgbench clients (connections) are handled by a single thread - the thread submits new queries, collects results, writes statistics etc. When the queries are long, or when the number of connections is low, this is fine. But as the queries get shorter (e.g. with read-only test on small dataset), or when the number of connections grows (on many-core systems), the management overhead becomes significant.

That's why pgbench has --jobs N (or -j N) option, to specify the number of threads. The value has to be a divisor of number of clients, so for example with 8 clients you may use 1, 2, 4 or 8 threads, but not 5 (because 8 % 5 = 3). There are various smart strategies to set the value, but the easiest and most straightforward way is to use the same value for both options, and that's what I used for this benchmark.

pgbench tweaks

The pgbench tool evolves with PostgreSQL, so when new features are added to PostgreSQL, which means new pgbench versions may not work with older PostgreSQL releases (e.g. on releases not supporting fillfactor storage option, which is used by pgbench when initializing tables). There are two ways to overcome this - either use pgbench version matching the PostgreSQL release, or use the new version but patch it so that it works with older releases (by skipping features not present in that PostgreSQL version).

I've used the latter approach, mostly because I wanted to use some of the features available only in recent pgbench versions (especially --aggregate-interval).

The patch I used is available here. It changes three things:

  • adds -X option to disable IF EXISTS when dropping table (because that's not available on old releases)
  • adds -Q option to entirely skip cleanup (because the script simply recreates the database anyway)
  • disables fillfactor on all the tables (so the default version is used)

None of the changes should have no impact on the results, because the first two just remove new syntax (which is not necessary), and after removing the explicit fillfactor option the default will be used (which is 100 on all versions).

If you're interested in the script driving the testing, it's available here. It's a bit hackish, but it should give you an idea of how the testing was done.

Benchmarked combinations

So, given all the possible parameters (mode, scale, client count), what combinations were benchmarked?

  • scales: small, medium, large
  • modes: read-only, read-write
  • clients: 1, 2, 3, 4, 6, 8, 10, 12, 14, 16, 20, 24, 28, 32 (14 values)

That gives 84 combinations in total, and for each combination there were 3 runs, 30 minutes each. That's ~126 hours per version (not including initialization and warmup), so ~6 days per PostgreSQL version. There were 12 versions benchmarked (7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, 9.2, 9.3, 9.4b2, head) so the total runtime is close to 70 days.

Hopefully that convinces you this was not a rushed unreliable benchmark.

postgresql.conf

There were only minimal changes to the configuration file:

# machine has 16GB of RAM in total
shared_buffers       = 2GB 
work_mem             = 64MB
maintenance_work_mem = 512MB

checkpoint_segments = 64
checkpoint_completion_target = 0.9
effective_cache_size = 8GB

# when executed on the SSD (otherwise 4)
random_page_cost = 2

Of course, there were some tweaks (e.g. because older versions don't know checkpoint_completion_target) but no extensive per-version tuning was performed, as that'd make the testing much more time consuming (to the point that it'd be impossible).

I however did a limited amount of tests to see how big impact may such tuning have - I'll show you a chart illustrating that later (spoiler: the older versions may be much faster with a bit of tuning, but the new ones are still faster).

Results

So, let's see the results! I'll only show some of the charts - the rest of them is usually quite similar.

medium, read-only

First, the chart we've already seen:

pgbench-medium-ro-xeon.png

This is a read-only workload, with a dataset that completely fits into RAM. So this is CPU-bound, with locking etc. Yet PostgreSQL 9.4 is 7-20x faster than 7.4. Not bad, I guess.

The other interesting observation is that it scales linearly with the number of cores - in this case it's actually a bit better (the performance on 8 cores is more than 2x of 4 cores), most likely thanks to caching effects. During the 9.2 development this was thoroughly tested (by Robert Haas) and the conclusion was that we do scale linearly up to 64 cores (and probably beyond, but we didn't have machines with more cores).

There's also an excellent talk by Heikki Linnakangas about all the improvements done in PostgreSQL 9.2, presented at FOSDEM 2012.

This is of course dependent on workload - the improvements in locking are most visible on read-only workloads on small datasets, because that's mostly cached and should do much I/O. Once you start hitting any kind of I/O, it will probably overshadow these improvements. It's also related to improvements made in Linux kernel, for example the lseek scalability improvements committed into kernel 3.2. And finally all this is of course dependent on the exact CPU type - on older CPUs the improvements may not be as great.

large, read-only

Let's see how the read-only workload performs on a large dataset (thus not fitting into RAM), on an SSD drive

pgbench-large-ro-xeon.png

This is clearly I/O bound, because pgbench generates a lot of random I/O (although the SSD handles that much better than rotational drives). Because of the I/O bottleneck the difference is not as significant as with the medium dataset, but 2-4x speedup is still really nice.

There were two releases that significantly improved the performance - first 8.0, then 8.1 (and that's mostly what we get on 9.4, performance-wise).

large, read-write

So, what happens when we keep the large dataset, but do a read-write test?

pgbench-large-rw-xeon.png

Interesting. The 7.4 is doing rather poorly (just ~500 transactions per second on an SSD). The 8.x releases perform much better, with roughly ~2x the performance, but the throughput is mostly constant after reaching 8 clients (which is the number of CPUs in the machine).

But since 9.1, we see a quite interesting behavior - the throughput grows even after 8 clients (where it's mostly equal to 8.x), up to ~2500 tps with 32 clients. And the chart suggests it would probably grow even further with more clients (had it been part of the benchmark). This can happen because SSDs are quite good with handling parallel requests (thanks to internal architecture, which uses multiple independend channels), and since 9.1 we can saturate it much better.

Note 1: The read-write results on medium dataset are very similar to this.

Note 2: If you're looking for a nice but thorough explanation of how SSDs work, I recommend this article on codecapsule.com.

large, read-write on SAS drives

If you ask how would the comparison look on traditional rotational drives, this is the answer:

pgbench-large-rw-xeon-sas-drives.png

For the record, these are 10k SAS drives, connected to a HP P400 controller (RAID10 on 6 drives).

It's interesting that 8.4 is slightly faster than 9.4 for higher client counts, but we're still doing better than 7.4, but clearly the I/O is a significant bottleneck that's difficult to beat at the code level.

large, read-only / Xeon vs. i5-2500k

Another interesting question is how much this depends on hardware, so here is a comparison with results from the machine with i5-2500k CPU.

pgbench-large-ro-i5.png

Wow! On PostgreSQL 7.4 the difference is "only" 2x, but on 9.4 the i5 really crushes the Xeon, giving nearly ~4x the performance. Also, the i5 has only 4 cores while the Xeon has 8 cores (in 2 sockets), so that's ~8x the performance per socket, while the frequencies are about the same (3 GHz vs. 3.3 GHz).

Just for the record, this difference is not only thanks to the CPU - the i5 system has a better memory throughput, the SSD is not connected using a lousy PCIe controller (which limits the bandwidth), etc. But clearly, modern hardware can make a huge difference.

large, read-only / postgresql.conf tweaks

I also mentioned that each PostgreSQL version may have different "optimal" configuration values. That makes sense, because the development happens in the context of the current hardware. When 7.4 was released 10 years ago, most machines had only 4GB of RAM (not to mention that everything was still 32-bit and thus capped to 2GB), so there was no point in optimizing for large shared_buffers values, for example.

So, what happens if we use much lower settings for shared_buffers (only 128MB instead of the 2GB used in all the previous benchmarks)? This:

pgbench-large-ro-i5-shared-buffers.png

On 7.4, using shared_buffers=128MB improved the performance of shared_buffers=2GB by a factor of ~3x. On 8.0 there's still some difference, but it's much smaller (~5%). The nice thing is that 9.4b1 is faster even with the 2GB.

Note: There are also other reasons to use small shared_buffers values on older versions (absence of checkpoint_completion_target and usually running them on older filesystems like ext3, with poor fsync behavior).

small, read-write

Those were medium and large datasets, but what about the small one? The read-only results look quite similar to the medium dataset, but the read-write seems interesting on it's own:

pgbench-small-ro-xeon.png

Wow! 8.2 really improved this, boosting the performance 5x, compared to 8.1. The following releases further improved the results by ~25%, but 8.2 was clearly a huge jump forward.

small / Xeon vs. i5-2500k

And finally, let's do two more comparisons of the Xeon and i5 based systems, with read-only and read-write benchmarks on the small dataset.

pgbench-small-ro-xeon-vs-i5.png

The solid lines are Xeon, the dashed lines are i5. This time the Xeon actually wins over i5 (unlike with the large dataset), at least on 9.4 - having 2x the cores matters here, apparently. It's also nice to see that 9.4 fixed the performance degradation on the Xeon, with client counts higher than the number of CPU cores (on the i5 this did not happen at all).

pgbench-small-rw-xeon-vs-i5.png

On read-write workload, i5 wins again (despite the smaller number of cores).

Summary

Let me summarize the main points we've learned from the benchmark results:

  • The newer the PostgreSQL release, the better the performance. Yay!
  • Depending on the test, some releases make a huge improvement - e.g. PostgreSQL 8.1 improves a lot read-write workloads on small datasets, while PostgreSQL 9.2 makes a big improvement in other workloads.
  • Older releases perform much better with more conservative settings (smaller shared_buffers etc.), because that's the context of their development.
  • Newer hardware matters - if your workload is bound by I/O and you're stuck with the same storage system, locking-related improvements may have only limited impact.
05 Mar 18:43

Saab Sees An Increased Interest From Cost Conscious Buyers

by Saab AB
.:

5144895_2161652.jpegAt a time when some of the biggest names in the global defence industry have decided to end production of their well known fighter planes, Sweden’s Defense and Security company, Saab, gets going, says The Wall Street Journal.

With little in the way of a global marketing machine, Sweden has had outsize success in winning export orders. That is thanks to Saab AB’s Gripen combat jet, it adds.

WSJ interviews Saab’s Chief Executive Håkan Buskhe who points out, that unlike before, weapon buyers are becoming more cost-conscious now.

“Seven to eight years ago, no one discussed affordability when it comes to arms equipment. There was a paradigm, when I started, that if it is not expensive, it is not good. The cost component—that was not really the big deal in the past—has really caught up with each and every economy around the world. That does not mean you can sell an aircraft that is not good enough. There is no point in sitting in an aircraft that gets shot down and saying ‘at least it’s affordable’. So I think that is the key part of our success, and I believe we have a window going forward,” Buskhe says.

Read the original story here

Please note that one may need a WSJ subscription to read the full story.

Published: 3/5/2015 9:58 AM
05 Mar 18:43

[$] A GPL-enforcement suit against VMware

by corbet
When Karen Sandler, the executive director of the Software Freedom Conservancy, spoke recently at the Linux Foundation's Collaboration Summit, she spent some time on the Linux Compliance Project, an effort to improve compliance with the Linux kernel's licensing rules. This project, launched with some fanfare in 2012, has been relatively quiet ever since. Karen neglected to mention that this situation was about to change; that had to wait for the announcement on March 5 of the filing of a lawsuit against VMware alleging copyright infringement for its use of kernel code.

Subscribers can click below for the full story.

05 Mar 13:37

http://feedproxy.google.com/~r/EduardoMacan/~3/6VoiSVUBx0A/

by Eduardo Maçan

"tudo em nosso governo é investigado, não existe um 'engavetador geral da república'"Lava Jato: Janot pede que STF arquive investigações contra Dilma

04 Mar 19:45

FAB Pilots Enter The Next Phase In Gripen Training

by Saab AB
.:

gripenC.jpgFAB pilots perform their training flights in Gripen C​

FAB pilots Gustavo Oliveira Pascotto and Ramon Santos Fórneas have entered the 'land flight without instructors’ phase of their training process, reports Ovale.com.br​.

Pascotto is most impressed by the data integration capacity of the Gripen system.

"Gripen is a platform that will integrate all of our employment doctrine. The key word is integration. Everything has data fusion. It is like they have combined the performance of the Mirage, the F-5 combat systems and the system of recognition of A-1 in a single aircraft. But much better," Pascotto said.

The missions of the new phase began in late January. For these missions, the flights depart from F7 Airbase at Såtenäs in south western Sweden. 

F7 Såtenäs is the prime training center for the Gripen system.  Pilot trainings, including that of foreign operators, are carried out here. This year in July, F 7 will celebrate its 75th anniversary. According to the report, on an average, the Swedish Air Force trains 30 pilots every year.

"The training is intense, but Gripen is easy to use,” says Colonel Michael Cherinet, Commander of the Såtenäs Base.

Read the full story: Pilotos brasileiros iniciam nova fase de treinamento no Gripen​

Published: 3/4/2015 8:20 AM
04 Mar 19:02

Alguns protagonistas vivem num pequeno aquário

by Rodrigo Gurgel

No Brasil, grande parte da ficção contemporânea se resume a histórias construídas numa única dimensão, histórias planas, em que os protagonistas vivem num pequeno aquário.

A caixinha de vidro brilha sob o sol, o peixinho dourado vai para lá e para cá, chega a fazer piruetas, é bem alimentado pelo narrador, mas habita um universo restrito.

Um remédio para esse problema é ler autores que fizeram o oposto: construíram um mundo complexo, com vários personagens, em que o protagonista se vê obrigado a interagir, a viver em diferentes cenários, a enfrentar situações inesperadas. Mundo que abala as certezas do protagonista, obrigando-o a rever suas decisões ou impor-se de alguma maneira, se não deseja sucumbir.

Uma história narrada dessa forma não serve apenas para convencer o leitor, mas cria uma trama que se assemelha à realidade e, portanto, oferece inúmeras possibilidades de empatia.

Quando falamos sobre narrativas que apresentem essa complexidade, quase sempre é a figura de Dom Quixote que surge em nossa imaginação. Mas quero propor a vocês um livro, infelizmente, pouco conhecido no Brasil.

Leiam O Aventuroso Simplicissimus, de Hans Jacob Christoffel von Grimmelshausen, o primeiro grande romancista da literatura alemã — disponível em língua portuguesa na elogiada tradução de Mário Luiz Frungillo —, e vocês entenderão como a literatura pode ser muito mais do que um peixinho no aquário.

Simplicissimus é um protagonista que vive em luta permanente: consigo mesmo e com a realidade. É um homem real, repleto de dúvidas, com alternâncias de humor, inseguro, jogado de um lado para o outro pela guerra. Seu cotidiano é uma infindável sucessão de alterações de curso.

Como afirmei no ensaio que escrevi há alguns anos para o Jornal Rascunho, há um brilho sedutor na inconstância, no verdadeiro caos, nos constantes equívocos que movem o protagonista.

protagonistas vivem num pequeno aquário

O protagonista isolado no aquário não se relaciona com o mundo.

Simplicissimus oscila entre a alegria e a tristeza, a compenetração e o arroubo guerreiro, a luxúria e o isolamento, a liberdade e a prisão, o amor e a misoginia, a busca da santidade e a pilhagem.

Mas está sempre imbuído de sinceridade, de leveza e de propósitos que, bons ou maus, nos convencem.

Simplicissimus é um pícaro perspicaz, dissimulado, encantador, que jamais se nega à autoanálise, à introspecção.

Ele nos fascina porque seus dramas não o derrotam, mas servem para impulsioná-lo a novas aventuras, sempre agarrado à vida, sem jamais conceder às dúvidas e aos temores aquela angústia quase absoluta que domina alguns personagens da literatura moderna.

Trata-se de um protagonista que aprende a rir dos acontecimentos e, principalmente, de si mesmo.

Não proponho que você use Grimmelshausen como modelo. Mas que aprenda com ele a escrever uma trama na qual as histórias secundárias servem para ampliar o núcleo da narrativa.

Aprenda com Grimmelshausen a criar um universo em que várias histórias menores acontecem de forma simultânea, contribuindo para dilatar o drama do protagonista, para aprofundar seus questionamentos.

O protagonista isolado no aquário não tem como se relacionar com o mundo — observa-o sempre como se olhasse por uma janela, sempre na defensiva, sempre fechado à vida.

Precisamos, ao contrário, de escritores engenhosos, capazes de interligar argumentos diferentes, de maneira que um exerça influência sobre o outro.

Precisamos de histórias com enredos que não estejam apenas conectados de maneira tênue, mas forcem os personagens a agir, inclusive, contra a sua própria vontade, contra as suas próprias crenças.

Só assim pode surgir uma trama convincente, em que cada personagem possui uma identidade, age realmente, estabelece relações, demonstra ou esconde seus desejos, suas intenções. Só assim pode nascer literatura.

The post Alguns protagonistas vivem num pequeno aquário appeared first on Rodrigo Gurgel.

26 Feb 20:30

Josh Berkus: Why you might need statement_cost_limit

Here's a commonplace ops crisis: the developers push a new dashboard display widget for user homepages on your application.  This seems to work fine with in testing, and they push it out to production ... not realizing that for some large subset of users dissimilar from your tests, the generated query triggers a sequential scan on the second-largest table in the database.   Suddenly your database servers are paralyzed with load, and you have to shut down the whole site and back out the changes.

Wouldn't it be nice if you could just tell the database server "don't run expensive queries for the 'web' user"?  Well, thanks to my colleague Andrew Dunstan, who wrote plan_filter with support from Twitch.TV, now you can.

Sort of.  Let me explain.

PostgreSQL has had statement_timeout for a while, which can be set on a per-user basis (or other places) to prevent application errors from running queries for hours.  However, this doesn't really solve the "overload" issue, because the query runs for that length of time, gobbling resources until it's terminated.  What you really want to do is return an error immediately if a query is going to be too costly.

plan_filter is a loadable module which allows you to set a limit on the cost of queries you can execute.  It works, as far as we know, with all versions of Postgres starting at 9.0 (we've tested 9.1, 9.3 and 9.4). 

Let me show you.  First, you have to load the module in postgresql.conf:

    shared_preload_libraries = 'plan_filter'

Then you alter the "web" user to have a strict limit:

    ALTER USER web SET plan_filter.statement_cost_limit = 200000.0

Then try some brain-dead query as that user, like a blanket select from the 100m-row "edges" graph table:

    \c - web
    SELECT * FROM edges;

    STATEMENT:  select * from edges;
    ERROR:  plan cost limit exceeded
    HINT:  The plan for your query shows that it would probably
    have an excessive run time. This may be due to a logic error
    in the SQL, or it maybe just a very costly query. Rewrite 
    your query or increase the configuration parameter
    "plan_filter.statement_cost_limit".

Obviously, your application needs to handle this error gracefully, especially since you'll likely get it for hundreds or thousands of queries at once if you're sending bad queries due to a code change. But a bunch of errors is definitely better than having to restart your whole app cluster.   It's comparatively easy to just display a broken widget icon.

So why did I say "sort of", and why aren't we submitting this as a feature for PostgreSQL 9.5?

Well, there's some issues with limiting by plan cost.  The first is that if you can't run the query due to the cost limit, you also can't run an EXPLAIN to see why the query is so costly in the first place.  You'd need to set plan_filter.statement_cost_limit = 0 in your session to get the plan.

The second, and much bigger, issue is that plan cost estimates are just that: estimates.  They don't necessarily accurately show how long the query is actually going to take.  Also, unless you do a lot of cost tuning, costs do not necessarily consistently scale between very different queries.   Worst of all, some types of queries, especially those with LIMIT clauses, can return a cost in the plan which is much higher than the real cost because the planner expects to abort the query early.

So you're looking at a strong potential for false positives with statement_cost_limit.  This means that you need to both set the limit very high (like 5000000) and work your way down, and test this on your staging cluster to make sure that you're not bouncing lots of legitimate queries.  Overall, statement_cost_limit is mainly only useful to DBAs who know their query workloads really well.

That means it's not ready for core Postgres (assuming it ever is).  Fortunately, PostgreSQL is extensible so you can use it right now while you wait for it to eventually become a feature, or to be supplanted by a better mechanism of resource control.

24 Feb 23:31

The Effect of Reader-Friendly Design Choices

by J. Mark Bertrand

“I’ve read what you said about Bibles being designed like dictionaries,” writes Bradford Taliaferro. “Now that I have this Bible — I get it! Reading the Bible doesn’t seem like work anymore.”

Bradford’s reaction echoes sentiments I hear all the time. People accustomed to the old dictionary-style layout of Scripture are surprised what a big difference seemingly minor changes like paragraphed text and a single-column layout make to the reading experience. The Bible that revolutionized Bradford’s reading wasn’t the radically sparse ESV Reader’s Bible. No, it was the Cambridge Clarion NASB. The Clarion is still a reference edition with chapter-and-verse numbers and cross references, and while the proportions are elegantly balanced, no one is going to mistake it for a large print Bible. Still, the single-column, paragraphed design transformed the experience: Reading the Bible doesn’t seem like work anymore.

Mark Strobel shared a similar story with me. His eleven-year-old son Max started using a single column Crossway Legacy ESV in his Christian Studies class. One night, with the Legacy still at school, Max had to do some reading in a double column thinline. Without any prompting from Dad, he volunteered these observations: “I like my new Bible [the Legacy] because it’s more like reading a book and there’s nothing that gets in the way of what I’m reading. I also like the paper better than this one. It’s thicker.”

“For Max, this is all about reader intuition,” Mark explained. “We haven’t had any conversations about book design and, as far as I know, he isn’t reading your blog under his pillow at night.”

KJVvsNEB1

The debate is far from new, as these mid-20th century examples show. The Oxford NEB (left) is a single-column, paragraphed edition, while the Eyre & Spottiswoode Royal Sovereign KJV is as old school as its name suggests.

Of course, for all the benefits of reader-friendly design, the fact is, there people who end up preferring the traditional two-column approach. Jason Engel, whose kindness facilitated our glimpse at the St. John’s Bible, was surprised when his time with the ESV Reader’s Bible didn’t end as expected:

I was really excited to try the ESV Readers Edition, and committed to a month to give it a work-out. About 2 weeks in, I wanted to give up on it, but felt constrained by my personal commitment. At the end of the month, I put it away and haven’t touched it since. It felt really uncomfortable reading from it. I was so relieved to get back into a double-column Bible with chapter/verse numbers and footnotes. Honestly, that response really surprised me.

Jason wasn’t skeptical about reader-friendly design. He was excited to try it. Unlike Bradford and Max, though, the experience didn’t pan out.

The thing is, reader-friendly design doesn’t begin and end with setting text in a single column. Setting text in one column doesn’t automatically make it reader-friendly, and choosing two columns doesn’t ensure unreadability, either. Two-column settings can be reader friendly. Just look at the Schuyler Quentel: by moving the cross-references to the bottom of the page and working hard to find a good ratio between column width and the number of words per line, the team at 2K/Denmark has delivered a very readable two-column reference edition. The text setting of the NIV Proclamation Bible (which I’ll be writing about soon), a favorite layout of mine over the years executed by Blue Heron Bookcraft, is a little more traditional but still congenial for reading. I wouldn’t describe either of these as “reader’s editions” in the purest sense, but they balance the twin objectives of reading and reference in a way that prevents the latter from undermining the former.

Design is a complex process where many different variables must be balanced. There is as much art to it as there is science, and with art you can break all the rules and succeed, just as you can keep them all and fail. At the simplest level, I believe that by designing Bibles to look like the kind of books we read rather than the ones we look things up in, the net effect will be a better reading experience. The intuitive response of readers like Max convinces me this is so. That’s why I’m passionate about the need for pure reader’s editions. We have only scratched the surface where such Bibles are concerned.

But reading isn’t a specialist pursuit. Every book must be as readable as possible, which means traditional reference Bibles can become much more conducive to immersive reading without sacrificing their reference function. The point is, if you’re looking for encouraging signs on the readability front, you can’t limit yourself only to novel-like text editions (as much as I love them). We are actually seeing gains in a variety of formats, single and double column, and while we have a long way to go before the prevailing culture shifts, the effect of reader-friendly design choices is being felt across the board.

The post The Effect of Reader-Friendly Design Choices appeared first on Bible Design Blog.

13 Feb 19:47

http://feedproxy.google.com/~r/EduardoMacan/~3/76M98p-0gzk/

by Eduardo Maçan
L

Boa.

Bloomberg: "Dilma É a crise brasileira"

Rousseff Is Brazil's Crisis

Brazil's president doesn't have many fans right now.

12 Feb 14:27

Why Jews are Good at Money (Crossposted from Asia Times)

by David P. Goldman

Why Jews are good at money
By Spengler

Anti-Semites claim that Jews are habitually greedy, or even that they stand at the center of a global conspiracy – a caricature later applied to Chinese in the person of Sax Rohmer’s fictional Fu Manchu. But the fact is that Jews historically have been good at money. The Chinese make a great deal of this ability. The English journalist Clarissa Sebag-Montefiore noted this interest inThe New York Times:

“Most Chinese will think Jews are smart, clever or good at making money, and that they have achieved a great deal,” Professor Xu Xin, director of the Institute of Jewish Studies at Nanjing University (one of over half a dozen centers in
China dedicated to studying Judaism) told me …

“Revelations of Jewish People’s Wisdom,” an account on China’s largest microblog site, Sina Weibo, has nearly one-and-a-half-million fans. Its revelations include: “Make a fortune under adverse circumstances.” This logic – that the Jews are admired for their success despite their small numbers and historical oppression – has also led to a burgeoning industry of self-help books that use Jewish culture and the Talmud to preach business tips.

This sort of praise makes Jews uncomfortable, given the ugly history of European Jew-hatred. It shouldn’t. Chinese admiration of Jewish business skills carries no stigma. On the contrary: it begs an explanation.

Jews have a talent for finance, and several reasons are cited for it. During the Middle Ages Jews lent money when the Church forbade usury. Jews were outsiders, often forbidden to own land, who had to develop other means of making a living. In his 2010 book Capitalism and the Jews, Jerry Z. Muller observes that Jews had a towering advantage in international trade during the Middle Ages because they had international law: a judgment issued by a rabbinical court in Yemen would be valid for Jewish merchants on the Rhine.

Something more fundamental,though, explains Jewish success in finance. Like overseas Chinese in Asia or Greeks and Armenians in the old Levant, Jewish immigrants developed trading skills that became embedded in their culture and countless jokes (ask a Jewish first-grader to add two and two, and he’ll reply, “Is that buying or selling?”). But there is nothing uniquely Jewish about this. The same jokes are told about Greeks and Armenians.

Jews distinguished themselves in finance in an entirely different way during the Industrial Revolution. They played a central role in the new government debt markets that followed on the Napoleonic Wars and made a modern economy possible. Bankers like the Rothschild, Mendelssohn, Bleichroeder, Warburg and Seligman families pioneered the new capital markets. Bonds issued by European governments provided a secure long-term store of value, and set a precedent for financing the great projects of the era: railways, canals, and other infrastructure basic to modern industrial society. This was not the mercantile economy of the preceding two centuries, where the basic unit of capital was the bill of exchange in trade, but an industrial economy that required long-term investment to achieve lasting gains in productivity.

Something other than mere trading skills was required for an investment-driven economy, and that was long-term credit, a concept that derives from the Latin credere, “to believe”. It is not an exchange of one peasant’s eggs for another peasant’s barley, or Mexican silver for Chinese silk, but rather a commitment of the savings of whole populations to grand ventures that would pay interest because they drove growth.

Capital markets, moreover, create a kind of democracy. If the whole of society relies on the public debt as a store of value, the value all the savings of society is gauged directly or indirectly against the benchmark of public debt. But that also puts power in the hands of the market: the market has the power to tell the government whether it is doing well or badly, by selling or buying the public debt. It is not simply that the government creates a market that provides convenience and advantages to the people: it becomes dependent on the people’s faith in its policies. When that faith is shaken, as in southern Europe two years ago, and confidence flees the government debt market, the result can be catastrophic. Free capital markets require governments to win the faith of the people.

Capital markets require belief in the viability of investments, trust among counterparties, and faith in the future. It is fitting that Jews created capital markets, because the Jews invented faith. The secret of Jewish success in public finance is to be found in the Jewish encounter with the divine. The gods of the pagan world did not require faith. The gods simply were there, as much as the natural world which they personified. The “god-infested world” (Gilson) of the pagans was simply the natural world as it presented itself to man, with all its arbitrariness and cruelty. To the extent that gods demanded loyalty, it was in their capacity as the patrons of a particular policy protected by that god, for example, Athena in the case of Athens.

Nowhere in the pagan world, though, do we encounter a God who could instruct Abraham to leave his homeland and his father’s house, and betake himself to a place which God would later show him. Never do we meet a God who offers his laws (the Torah) to a people, as YHWH did at Mount Sinai, and ask that people’s free assent to accept these laws. In no other instance do we hear of a single, universal creator God who enters into a covenant of mutual obligations with humans. That is the origin of faith,emunah in Hebrew, meaning loyalty as well as belief. The Jewish concept of emunah implies not only that we conceive something to be true, but that we also must be steadfast in acting according to that truth.

That is the Jewish genius: to be able to inspire faith (or what is usually called “confidence” in markets) to make possible long-term investments in capital markets involving millions of participants. The investors in a bond or stock issue are not linked by ties of family or personal loyalty, but rather by contract, law and custom. Their obligations extend beyond the ancient loyalties of family and clan. That may seem obvious on first reflection. But most countries in the world lack functioning capital markets, because faith is absent. The public does not trust the government to enforce contracts, or the management of a company not to steal money. That is emphatically true in China, which is struggling to create modern capital markets rather than depend on state banks and shadow financing. In backward countries, trust is inconceivable outside the narrow circle of blood relations. Firms remain small because trust is restricted to family members.

That is what Chinese can learn from Jews about business. The Jews have no special aptitude for trading. But we have a special gift for promoting the rule of law and public and private institutions which promote credit, that is, faith in future outcomes and the fair treatment of market participants. In the absence of faith, there never will be enough lawyers to enforce contracts, or policemen to arrest embezzlers, or watchdogs to extirpate government corruption. Something more fundamental is required: a sense that the law is sacred, and if any of us breaks the public trust, all of us are damaged. Our rabbis of antiquity said, “All of Israel stands surety for each other.”

Adam Smith’s invisible hand isn’t enough. Capital markets require more than the interaction of self-interested individuals: they require a common sense of the sanctity of covenant, of mutual obligations between government and people, and between one individual and the next. That is why the United States of America is the most successful nation in economic history. It was founded by devout Christians who hoped to construct a new nation in emulation of ancient Israel.

Jews are no longer particularly prominent in banking, to be sure. Israelis are more interested in the frontiers of technology than in financial markets. The paranoid perception of a Jewish banking conspiracy has faded because so few of the old Jewish banking houses are still in business. The ones that remain, like Rothschild, have little influence. But the Jewish idea that contributed to modern banking remains as powerful as it was in the past. That should be of special interest to the Chinese.

Spengler is channeled by David P Goldman. He is Senior Fellow at the London Center for Policy Research and Associate Fellow at the Middle East ForumHis book How Civilizations Die (and why Islam is Dying, Too) was published by Regnery Press in September 2011. A volume of his essays on culture, religion and economics, It’s Not the End of the World – It’s Just the End of You, also appeared that fall, from Van Praag Press. 

(Copyright 2015 Asia Times Holdings Ltd. All rights reserved. Please contact us about sales, syndication and republishing.)

12 Feb 01:28

O PT agora tenta nos convencer de que é a grande vítima do esbulho a que foi submetida a Petrobras. Que gente!

by giinternet

O PT agora decidiu — e corro o risco de chegar às lágrimas antes mesmo de terminar meu post — que é a grande vítima da Operação Lava Jato. Numa resolução divulgada na sexta, o Diretório Nacional do Partido já acusou a existência de um grande complô da direita para desestabilizar Dilma e privatizar a Petrobras. Nesta quarta, Rui Falcão, presidente do partido, anunciou a disposição de processar Pedro Barusco em razão das acusações que fez.

Segundo o ex-gerente da Petrobras, que fez acordo de delação premiada, João Vaccari Neto, tesoureiro do PT, levou em propina entre US$ 150 milhões e US$ 200 milhões. “Nós vamos fazer uma interpelação cível e criminal contra esse bandido Pedro José Barusco Filho”, disse Falcão, na sede do diretório nacional do PT, em São Paulo. Segundo o petista, o mesmo acontecerá com qualquer outro que envolver o nome do partido sem provas. Entendi.

Não custa lembrar que acordos de delação premiada só trazem os benefícios esperados se o denunciante prova o que diz. O mais curioso é que, em outra frente, petistas tentam demonstrar que tudo começou — eles adoram isso! — no governo FHC. Em um dos depoimentos, Barusco afirmou que começou a receber propina em 1997.

Sob o comando de Falcão, o líder do PT na Câmara, o folclórico Sibá Machado (AC), e um grupo de deputados do partido entregaram nesta quarta à vice-procuradora-geral da República, Ela Wiecko, um pedido para que o Ministério Público investigue casos de corrupção e o pagamento de propina na Petrobras no período em que FHC era presidente (1994-2002). Diz o texto: “Causa surpresa e estupefação que, diante da extrema gravidade dos fatos relatados pelo declarante – que revelam a origem do pagamento de propinas na Petrobras – não tenha havido qualquer indagação nem aprofundamento pelos agentes de investigação”. Os deputados acusam ainda o MP de fazer uma “investigação dirigida e ilegal”, com fins “político-partidários”. Entendi: quando Barusco diz que Vaccari recebeu até US$ 200 milhões, é um bandido; quando fala que começou a receber propina em 1997, aí se torna uma pessoa confiável.

Não conheço ninguém que acredite que a corrupção na Petrobras começou com o governo do PT. É claro que não! O que é evidente é que ela se tornou um sistema nos governos petistas.

Na entrevista, Falcão ainda voltou à ladainha da suposta campanha golpista… No fim de 2005 e 2006, na esteira do mensalão, essa bobagem ainda colou. Hoje em dia, revela-se como aquilo que é e que sempre foi: uma pantomima grotesca.

Falcão deveria ser mais econômico em sua fúria planejada. Ele concedeu a entrevista antes que se divulgasse a notícia de que Ricardo Pessoa fez acordo de delação premiada. Vai saber o que sai dali, não é mesmo, Falcão?

11 Feb 23:22

Ricardo Pessoa, amigo de Lula e empresário que sugeriu que esquema financiou campanha de Dilma, faz acordo de delação premiada. Pode ser o homem-bomba

by giinternet

Ricardo Pessoa, dono da construtora baiana UTC e apontado pelo Ministério Público e pela Polícia Federal como coordenador de um suposto Clube das Empreiteiras, também fez acordo de delação premiada. Era a adesão mais aguardada ao procedimento. Não custa lembrar que, entre as testemunhas de defesa arroladas por Pessoa estão Jaques Wagner, ex-governador da Bahia e atual ministro da Defesa, José De Filippi Jr., ex-tesoureiro das campanhas de Lula e Dilma e atual secretário de Saúde da prefeitura de São Paulo, e Paulo Bernardo, ex-ministro das Comunicações.

Essas testemunhas poderiam sugerir que o empresário está pronto para a briga. Vamos ver se o acordo foi feito mediante concessões à linha de apuração do Ministério Público e da Polícia Federal. O MP quer emplacar a tese do cartel, coisa a que as empreiteiras resistem. O Planalto, obviamente, vê esse esforço com bons olhos porque, de algum modo, transforma a Petrobras e os políticos nos Chapeuzinhos Vermelhos do Lobo Mau. Vocês sabem o que eu penso dessa história: não há santos por ali, mas convenham: o que podia acontecer com os representantes do contratante de obras — a Petrobras — se uma empresa se negasse a pagar a propina? Resposta: nada! E o que podia acontecer com a empresa se não soltasse a grana? Bem, ela ficava fora do jogo — e não apenas do jogo que se jogava na estatal.

Ricardo Pessoa é amigo pessoal de Lula e conhece de perto o PT. Entre os empresários, foi quem chegou mais perto da política ao tratar da bandalheira. Consta que está revoltado. Em um manuscrito de sua autoria, revelado pela revista VEJA, o empresário deixa claro que o escândalo que veio à luz é de natureza política. Não se trata apenas de um conluio de empresas assaltando o erário. Nas entrelinhas, fica claro que o coordenador da festa é o PT. Tanto é assim que o autor afirma que o Edinho Silva, tesoureiro da campanha de Dilma, está “preocupadíssimo”.

Está escrito lá: “Edinho Silva está preocupadíssimo. Todas as empreiteiras acusadas de esquema criminoso da Operação Lava-Jato doaram para a campanha de Dilma. Será que falarão sobre vinculação campanha x obras da Petrobras?”. Segundo Pessoa, a bandalheira que passou pela diretoria de Paulo Roberto Costa é “fichinha” perto de outros negócios da Petrobras que também teriam servido à coleta de propina.

Pois é… Um réu só chama como testemunha de defesa indivíduos que ele acredita possam fazer depoimentos que lhe sejam favoráveis. Então juntemos as duas pontas: Pessoa deixa claro que o esquema de corrupção é muito maior do que aquele que se investiga até agora, diz que o tesoureiro da campanha de Dilma está preocupado e, em seguida, chama uma penca de petistas para falar em seu favor. A UTC, uma empreiteira baiana, chamou Jaques Wagner, ex-governador da… Bahia! Wagner é aquele que levou para seu governo José Sérgio Grabrielli, o baiano que presidiu a Petrobras durante o período da esbórnia.

Como já afirmei aqui, dois mais dois continuam a ser quatro mesmo no governo do PT. Segundo uma fonte que conhece bem a investigação, vamos ver se a coisa se confirma, o depoimento de Pessoa “arrebenta com o governo”. Ele está magoado. Desde que caiu em desgraça, Lula, seu amigão, o deixou de lado.

11 Feb 22:29

Empresário acusado de praticar extorsão e de intermediar propina de R$ 57,7 milhões faz acordo de delação premiada

by giinternet

Shinko Nakandakari, um dos 11 operadores investigados na 9ª fase da Lava-Jato, fez um acordo de delação premiada com o Ministério Público Federal. Segundo Pedro Barusco, ex-subordinado do petista Renato Duque, Nakandakari intermediou pelo menos R$ 57,7 milhões em propina, em valores atualizados. Esse sujeito é especialmente interessante no caso, vocês verão por quê.

Erton Medeiros Fonseca, executivo da Galvão Engenharia, que está preso, já admitiu que pagou, sim, propina à quadrilha que atuava na Petrobras. E um dos intermediários da roubalheira era, segundo ele, Nakandakari, que atuaria sob o comando de Duque. No dia 24 de novembro, os advogados de Fonseca entregaram à Justiça Federal do Paraná várias notas fiscais. Elas foram emitidas em favor da LFSN Consultoria e Engenharia, no valor de R$ 8,863 milhões, e teriam como finalidade pagar propina a políticos.

A LFSN é uma consultoria da qual Nakandakari e duas outras pessoas de sua família são sócias: Luís Fernando Sendai Nakandakari e Juliana Sendai Nakandakari. O endereço informado à Receita Federal é um apartamento num prédio residencial no bairro do Brooklin, na Zona Sul de São Paulo, que pertence a Luis Fernando. Medeiros Fonseca diz que era extorquido pelo homem que agora faz delação premiada.

Sabem o que impressiona? A ousadia da turma e a aposta na impunidade. Aqueles quase R$ 9 milhões em propina foram pagos entre 2010 e 2014, enquanto o processo do mensalão corria no Judiciário. Só isso? Não! A última nota fiscal é de 25 de junho de 2014, dois meses depois de deflagrada a Operação Lava Jato.

Nakandakari não é desconhecido da Polícia e da Justiça. Ele é um dos denunciados num processo de improbidade administrativa envolvendo a construtora Talude, que foi contratada pela Infraero para obras no aeroporto de Viracopos, em Campinas. O valor inicial do contrato, assinado em 2000, foi de R$ 13,892 milhões. Seis meses depois da assinatura, foi feito um aditivo de R$ 1,904 milhão. O segundo aditivo, de R$ 1,540 milhão, ocorreu em 2011. Para o Ministério Público Federal, não havia razões para firmar os aditivos, que tornaram a obra mais cara. O caso está na Justiça.

Ah, sim: é preciso tomar certos cuidados. As primeiras notícias que  vazaram na Internet nesta quarta vieram assim: “Ex-diretor da Odebrechet faz acordo de delação premiada”. Ele não é mais funcionário da empresa há 23 anos. Aí também não, né?

11 Feb 22:19

Golpismo uma ova! É só a Constituição. É só a lei!

by giinternet

A gritaria do PT — e não das oposições — sobre o impeachment de Dilma Rousseff busca apenas criar um cordão de isolamento em torno da presidente, como se ela fosse intocável, não importa o que aconteça. E ela não é. Porque ninguém é na República. No dia em que for, o regime passa a ser uma monarquia absolutista.

O impeachment está previsto na Constituição e disciplinado em lei. No texto constitucional, está nos artigos 85 e 86, a saber:
Art. 85. São crimes de responsabilidade os atos do Presidente da República que atentem contra a Constituição Federal e, especialmente, contra:
I – a existência da União;
II – o livre exercício do Poder Legislativo, do Poder Judiciário, do Ministério Público e dos Poderes constitucionais das unidades da Federação;
III – o exercício dos direitos políticos, individuais e sociais;
IV – a segurança interna do País;
V – a probidade na administração;
VI – a lei orçamentária;
VII – o cumprimento das leis e das decisões judiciais.

Parágrafo único. Esses crimes serão definidos em lei especial, que estabelecerá as normas de processo e julgamento.

Art. 86. Admitida a acusação contra o Presidente da República, por dois terços da Câmara dos Deputados, será ele submetido a julgamento perante o Supremo Tribunal Federal, nas infrações penais comuns, ou perante o Senado Federal, nos crimes de responsabilidade.
§ 1º – O Presidente ficará suspenso de suas funções:
I – nas infrações penais comuns, se recebida a denúncia ou queixa-crime pelo Supremo Tribunal Federal;
II – nos crimes de responsabilidade, após a instauração do processo pelo Senado Federal.
§ 2º – Se, decorrido o prazo de cento e oitenta dias, o julgamento não estiver concluído, cessará o afastamento do Presidente, sem prejuízo do regular prosseguimento do processo.
§ 3º – Enquanto não sobrevier sentença condenatória, nas infrações comuns, o Presidente da República não estará sujeito a prisão.
§ 4º – O Presidente da República, na vigência de seu mandato, não pode ser responsabilizado por atos estranhos ao exercício de suas funções.

Muito bem! O crime de responsabilidade está plenamente definido na Lei 1.079, que não foi criada para punir Dilma ou o PT. Ela é de 10 de abril de 1950.

Rende um bom debate saber se Dilma infringiu ou não ao menos dois dispositivos da Lei 1.079 no caso da Petrobras.
Estabelece o Inciso VII do Artigo 4º:
Art. 4º São crimes de responsabilidade os atos do Presidente da República que atentarem contra a Constituição Federal, e, especialmente, contra
VII – A guarda e o legal emprego dos dinheiros públicos.

Define a Alínea 5 do Artigo 11:
Art. 11. São crimes contra a guarda e legal emprego dos dinheiros públicos
5 – negligenciar a arrecadação das rendas impostos e taxas, bem como a conservação do patrimônio nacional.

Que Dilma tenha incorrido nos dois, isso me parece evidente. Se preciso, lembro de novo do vídeo em que ela vem a público, ainda ministra, para asseverar a excelência das contas da Petrobras e atacar a criação de uma CPI. Estávamos em 2009, e ela já era pré-candidata à Presidência. Depois disso, ela se tornou presidente. E as evidências de escândalo na Petrobras se acumulavam. Ela fez o quê? Nada!

Admitida a acusação, aí a bola fica com o Senado. Restará um debate imenso para saber se sua ação é culposa ou dolosa. Se dolosa, “causa finita est”, a menos que a República afunde com ela; se meramente culposa, há espaço estreito para a salvação.

É o que eu acho.

06 Feb 18:40

A generala em seu labirinto. Ninguém escreve à governanta. A incrível e triste história de Dilma Rousseff e do seu PT desalmado. Trinta e cinco anos de empulhação. Tempos de cólera. Que puta coisa triste! Relato de uma náufraga. Crônica de uma morte anunciada… Helôôô!!!

by giinternet
Val, uma mulher risca, pode ser agora a garota-propaganda das bombas da Petrobras

Val, uma mulher rica, pode ser agora a garota-propaganda das bombas da Petrobras. É o PT na era do socialismo socialite “que agrega”…

Fui parodiando ou listando títulos de livros do esquerdista Gabriel García Márquez, morto no ano passado. Foi-se o último comuna de butique alfabetizado. O escritor colombiano se tornou notável pelo chamado realismo mágico, que tanto encantou a crítica europeia. Sempre pareceu à intelectualidade do Velho Mundo que aquela soma de irracionalidade, sensualismo, violência e fetichismo era a cara da América espanhola. O Brasil, de herança portuguesa, fica um pouco fora desse registro.

Mas agora não mais. A escolha de Aldemir Bendine, que já chegou a ser um virtual demitido do Banco do Brasil há quatro meses, para presidir a Petrobras dá conta, a um só tempo, da estupidez política de Dilma, de sua solidão e, não é menos verdade, de seu espírito autoritário.

As ações da empresa despencaram. Aliás, Bendine é o grande seca-pimenteira de ações de estatais. Quando foi escolhido para o BB, os papéis do banco caíram mais de 8%. Enquanto escrevo, as da petroleira mergulharam mais 6% — isso depois de uma sequência de desastres.

Queriam o quê? Ele foi escolhido porque é petista. E só. É um agrado que Dilma faz a alguns setores do partido. É como se, à beira do abismo, a companheirada se agarrasse à estatal, deixando claro que, se afundar, leva a empresa junto.

A má notícia não vem desacompanhada. O “sócio controlador”, que é o governo, confirmou, entre outros, os seguintes nomes para o Conselho, uma verdadeira plêiade de patriotas: Guido Mantega, Maria das Graças Foster, Luciano Coutinho e Miriam Belchior. Ah, sim: Mantega preside. Vocês acham o quê? Exceção feita a Coutinho, cuja alma talvez possa se salvar depois de muita contrição, os outros têm uma bela história de incompetência e desastres em suas respectivas áreas de atuação.

Levy perde
Mais: a nomeação de Bendine deixa claro que Joaquim Levy, o ministro da Fazenda, está podendo bem menos do que supõem alguns nefelibatas. Está na cara que Dilma está jogando nos seus ombros a conta do ajuste recessivo da economia, fazendo com que encarne o demônio — e alguns liberais acham intelectualmente divertido esse papel —, mas não está disposta a dividir com ele aquilo que considera realmente importante.

Bendine não conseguiu explicar até hoje um empréstimo de R$ 2,7 milhões que o BB concedeu a Val Marchiori, a Valdirene,  amiga íntima do presidente. Ela chegou, aliás, a participar de eventos como contratada da área de marketing do banco — ou algo assim… Entendo! Se há uma figura no país que agasalha o trabalho duro e o empreendedorismo, é a Valdirene.

A moça não se fez de rogada e já tornou pública sua mensagem a seu amigo íntimo, onde se percebe até certo patriotismo jacobino: “Desejo sorte ao novo presidente da Petrobrás! Que ele consiga restabelecer a confiança de nós brasileiros na instituição com a qual hoje estamos decepcionados”. Mal posso esperar para ver Val, a mulher rica, segurando uma mangueira dos postos Petrobras, indicando que o Brasil mudou de fase, entrando na era do socialismo socialite.

É o outono do PT. Essa é a única boa notícia.

05 Feb 20:09

Imaging Resource test: Can the new Olympus E-M5II beat the Nikon 36MP resolution?

by 43rumors

Share

nikon-em5II

Image courtesy: Imaging Resource.

Imaging Resource tested the new Olympus E-M5II 40 megapixel “High resolution Shot” mode and compared it with the Nikon D810 36 MP images:

While the two images are fairly similar in most respects for overall sharpness and clarity, the one clear difference is the lack of moiré in the E-M5 II on the green label, where the D810 produces obvious moiré artifacts. The results at ISO 1600 are equally interesting, even here with in-camera JPEGS and default noise reduction settings. The shadow area at the top right tends to produce ISO noise in most cameras by this time, and while the D810 handles it about as good as most any camera we’ve tested, the E-M5 II also handles it surprisingly well and even produces slightly sharper results in the mosaic tile pattern.

With the obvious limitations (tripod needed, no moving objects) the Olympus 40MP “trick” really seems to work very well!

Preorders (if you preorder through those links you will support 43rumors…thanks!):
E-M5II in Black or Silver at Amazon, Adorama, BHphoto and GetOlympus. In Europe at Jessops, WexUK, Namencolor.
14-150mm II lens at Adorama, BHphoto and GetOlympus.
FL-LM3 Flash at AmazonAdorama, BHphoto and GetOlympus.
Olympus ECG-2 External Metal Grip at Amazon, Adorama, BHphoto and GetOlympus.
Olympus HLD-6P Battery Grip at Amazon, Adorama, BHphoto and GetOlympus.
HLD-8g at Amazon, Adorama, BHphoto and GetOlympus.
E-P16 eyecup at Amazon, Adorama, BHphoto and GetOlympus.
HLD-8G and HLD-6P kit at Amazon, Adorama, BHphoto and GetOlympus.
Full leather case at Amazon, Adorama and GetOlympus.
Olympus PT-EP13 Underwater Housing at Amazon, Adorama, BHphoto and GetOlympus.
Olympus Stylus Tough TG-860 at Adorama, BHphoto and GetOlympus.

Share

05 Feb 18:14

Thursday, February 05, 2015

Pibgorn by Brooke McEldowney for February 05, 2015
05 Feb 17:43

E-M5II also gets a “sniper” dot sight accessory!

by 43rumors

Share

E-M5IIdotsight
Something oyu may have missed is that the E-M5II announced today also comes with a quite unique accessory: The Olympus EE-1 Dot Sight! You can preorders it here at Amazon, Adorama and BHphoto. This is why it useful:

Get some extra help when aiming at faraway subjects with the Olympus EE-1 Dot Sight for OM-D E-M5 Mark II Camera. This is particularly useful when using long telephoto lenses for applications such as wildlife capture. The sight offers a center aiming dot with adjustable brightness and position to enable fast subject acquisition and tracking. You’ll be able to tell whether your aim is right on target or slightly off–without looking through the camera’s viewfinder or using the monitor. The dot sight fits right into the camera’s hot shoe and has a slide lever opening mechanism. Built for durability, it is both dust and splashproof.

Preorders (if you preorder through those links you will support 43rumors…thanks!):
E-M5II in Black or Silver at Amazon, Adorama, BHphoto and GetOlympus. In Europe at Jessops, WexUK, Namencolor.
14-150mm II lens at Adorama, BHphoto and GetOlympus.
FL-LM3 Flash at AmazonAdorama, BHphoto and GetOlympus.
Olympus ECG-2 External Metal Grip at Amazon, Adorama, BHphoto and GetOlympus.
Olympus HLD-6P Battery Grip at Amazon, Adorama, BHphoto and GetOlympus.
HLD-8g at Amazon, Adorama, BHphoto and GetOlympus.
E-P16 eyecup at Amazon, Adorama, BHphoto and GetOlympus.
HLD-8G and HLD-6P kit at Amazon, Adorama, BHphoto and GetOlympus.
Full leather case at Amazon, Adorama and GetOlympus.
Olympus PT-EP13 Underwater Housing at Amazon, Adorama, BHphoto and GetOlympus.
Olympus Stylus Tough TG-860 at Adorama, BHphoto and GetOlympus.

Share

05 Feb 13:36

Afluência de água aos reservatórios é a menor em 84 anos; risco de falta de energia é 46% superior ao limite considerado prudente; Dilma tem de nomear Cacique Cobra Coral ministro da Chuva

by giinternet

Ai, ai, vamos lá. Quando, no ano passado, o governador Geraldo Alckmin (PSDB) afirmou que São Paulo passava pela maior seca em 84 anos — agora, já são 85 —, alguns mangaram dele. Inclusive a presidente Dilma Rousseff. Segundo a nossa governanta, a culpa pela crise hídrica do Estado era, claro!, do governo e de quem não sabia planejar. Tivesse a soberana atentado para os dados com mais prudência, teria constatado que a falta de chuva acabaria, fatalmente, afetando o setor elétrico, especialmente num país em que mais de 70% da matriz, na geração elétrica, vem da água. Dilma não é culpada, claro!, se não chove. Mas tem de responder por sua arrogância e pelo erro absurdo que cometeu ao baixar a tarifa de energia, antecipar concessões e quebrar o setor.

Vamos a alguns dados. Segundo o ONS (Operador Nacional do Sistema), a água das chuvas que alcançou os reservatórios das usinas em janeiro foi de apenas 38,04% da média histórica, o mais baixo em 84 anos. Desde 1931, o mais baixo índice tinha sido verificado em 1953, com 44,6%. A coisa tá feia. O CNPE (Conselho Nacional de Política Energética) trabalha com um índice prudencial para o risco de faltar energia. O consenso é que, se chega a 5%, o abastecimento está em perigo. Pois esse limite, meus caros, já foi ultrapassado em 46% e chegou ontem a 7,3% nas regiões Sudeste e Centro-Oeste. Nota: o Sudeste responde por 49,21% do PIB brasileiro.

Prestem atenção a estes outros números. Segundo o ONS, os reservatórios, nesta quarta, estavam com 16,58% de sua capacidade nas regiões Sudeste e Centro-Oeste e 16,10% na região Nordeste. No Sul e Norte, a coisa está mais tranquila: 58,16% e 34,29%, respectivamente. Para comparar: quando houve o apagão, em 2001, os reservatórios do Sudeste tinham quase o dobro de água: 31,41%.

Eduardo Braga, ministro de Minas e Energia, afirmou, no dia 22, que, se os reservatórios das usinas chegassem a 10% de sua capacidade de geração, teria de haver racionamento. Nesta quarta, a situação era a seguinte: Furnas: 9,35%; Três Marias: 10,62%; Três Irmãos e Ilha Solteira: 0%. Sim, zero! Não quer dizer que a água secou de tudo, mas que não se gera energia ali.

As coisas podem se complicar. Quem conhece a área aponta um outro problema. Parte das termelétricas que estão socorrendo o país está sucateada, e outra parte em vias de. A razão é simples: não foram feitas para operar o ano inteiro. Os apagões não virão só porque faltará energia, mas porque vai dar pau no sistema.

Vejam bem: Dilma vende a si mesma, desde 2003, como uma especialista em energia. Estamos nesta pindaíba. Assim, meus caros, eu resolvi apelar ao saber não convencional e selecionei para vocês um vídeo com uma Dança da Chuva, ocorrida na Chapada dos Veadeiros, em Goiás.

Como sugestão final, acho que Dilma deve nomear o Cacique Cobra Coral para ministro da chuva. Sei que ele não poderá comparecer fisicamente às reuniões. Tudo bem! Também seus assessores não serão deste mundo.

05 Feb 13:35

Press release: M.ZUIKO DIGITAL ED 8mm f1.8 Fisheye PRO

by 43rumors

Share

1000-M8-F18Fish_BLK_stand-medjpg_1422534962

Olympus Imaging Corporation (President: Haruo Ogawa) is pleased to announce the development of the M.Zuiko Digital ED 8mm f1.8 Fisheye PRO (35mm equivalent focal length: 16mm), a high-performance fisheye lens conforming to the Micro Four Thirds System standard, scheduled to go on sale in summer 2015.

This is the world’s first*1 dustproof and splashproof fisheye lens with a bright f1.8 aperture value. It is categorized in the M.Zuiko PRO series, a professional lens with high optical performance and reliable dustproof and splashproof construction, constantly providing high image quality under any conditions.

The dedicated underwater lens port is also under development. It will expand the shooting scenes of nature photography from underwater to the night sky.

Pricing and Launch Date

Category Product Name MSRP Planned Launch Date
Interchangeable lens M.ZUIKO DIGITAL ED 8mm f1.8 Fisheye PRO
(black)
TBD Summer, 2015
※1 As of February 5, 2015

Preorders (if you preorder through those links you will support 43rumors…thanks!):
E-M5II in Black or Silver at Amazon, Adorama, BHphoto and GetOlympus. In Europe at Jessops, WexUK, Namencolor.
14-150mm II lens at Adorama, BHphoto and GetOlympus.
FL-LM3 Flash at AmazonAdorama, BHphoto and GetOlympus.
Olympus ECG-2 External Metal Grip at Amazon, Adorama, BHphoto and GetOlympus.
Olympus HLD-6P Battery Grip at Amazon, Adorama, BHphoto and GetOlympus.
HLD-8g at Amazon, Adorama, BHphoto and GetOlympus.
E-P16 eyecup at Amazon, Adorama, BHphoto and GetOlympus.
HLD-8G and HLD-6P kit at Amazon, Adorama, BHphoto and GetOlympus.
Full leather case at Amazon, Adorama and GetOlympus.
Olympus PT-EP13 Underwater Housing at Amazon, Adorama, BHphoto and GetOlympus.
Olympus Stylus Tough TG-860 at Adorama, BHphoto and GetOlympus.

Share