text:
Richard Trumka (AP/Nick Ut)
AFL-CIO's Richard Trumka: "Populism works"
The union leader claims the national political mood is moving to the left and that Democrats needed to keep up
Check out this article! https://www.salon.com/2013/12/19/afl_cios_richard_trumka_populism_works/
Elias Isquith
Speaking at a Politico event, AFL-CIO President Richard Trumka argued that the country's political mood was shifting and that populism — as embodied by figures like Sen. Elizabeth Warren or pope Francis — was a winning political strategy.
"Populism works. It works. If it's your message, and what you believe in, and it's your policy. It's what Americans believe in," Trumka said.
Yet despite populism's growing appeal, politically, Trumka argued that Washington's policies don't yet fully reflect the public's changing mood. "There's a growing trend toward populism in this country. But the policies haven't caught up with what Americans believe," Trumka said.
He also blamed Democrats for being overly cautious in their embrace of populism, arguing that Republicans were in a vulnerable position and that the time was right to push the Harken-Miller bill, which would raise the nation's minimum wage. "Populism can't be a bumper sticker in October," Trumka said. "Republicans are shooting themselves in the foot, but the Democrats aren't capitalizing on it. Talk is cheap. Don't just talk the talk. Walk the walk. Put forward the Harkin-Miller bill. Fight for it. Hold people accountable."
More from Politico:
Trumka also slammed the recent budget deal negotiated by Sen. Patty Murray (D-Wash.) and Rep. Paul Ryan (D-Wis.) for failing to extend unemployment benefits for the long-term unemployed.
"Every day is really a challenge just to get by because those without a job are struggling," Trumka said. "They get left behind, we lose GDP, we lose jobs, we lose buying power, and everybody ultimately suffers."
Trumka said that the unions can capitalize on the populist outcry by bringing progressives together from the grass roots around shared principles.
"All of us are having a difficult time because of the entrenched problem that exists in the political system through money," he said. "We [must] start educating people about the economy at the grass-roots level — not just our members."
On the role of unions in political process, Trumka also called for the "restoration of collective bargaining" in the United States, trumpeting organized labor as the chief way to address growing income inequality in the country.
"You have the wage stagnation that could be helped if we restore the right to have collective bargaining to more people," Trumka said.
Watch Trumka's interview below, via Politico:
Elias Isquith is a former Salon staff writer.
MORE FROM Elias Isquith • FOLLOW eliasisquith • LIKE Elias Isquith
Afl-cio Elizabeth Warren Mike Allen Politico Pope Francis Populism Richard Trumka Video
Biden expected to make 2020 announcement
Democrats debate on tech giants
GoT: Why Elizabeth Warren backs Daenerys
"Game of Thrones" rules the Emmy noms

redpajama_set_name: RedPajamaCommonCrawl


text:
The First World War and its Aftermath (2018)
From the November 2018 issue of the Socialist Standard
At 11 am on 11 November 1918 Germany signed an armistice which ended four years of unremitting carnage. From 28 July 1914 to 11 November, over 9 million soldiers and 6 million civilians perished. The First World War is sometimes seen as an historical accident triggered by the assassination of the Austrian Archduke Ferdinand. Yet from the nineteenth century onwards growing rivalries between the major capitalist powers created tensions that were bound to erupt into war.
Prussian victory in the Franco-Prussian war of 1870-71 led to the unification of Germany in 1871. The new German state then entered into an alliance with Austria-Hungary and Russia, known as the League of the Three Emperors, to contain French power. Russian victory in the Russo-Turkish War of 1877–1878 and increasing Russian influence in the Balkans brought this alliance to an end. Germany, Austria-Hungary and Italy then formed the Triple Alliance. To counteract this France entered into an alliance with Russia. Britain later joined France and Russia to form the Triple Entente.
Germany, since unification, had become a major economic and industrial power. Its rulers sought to compete with other major powers in world markets and seek colonies that would be sources of raw materials. To achieve this, they sought to expand their military capacity and, therefore, they proceeded to build up their navy. This inevitably led to rivalry with Britain in the control of global sea routes. Germany, Russia, France and Italy increased the size of their standing armies.
Instability arose in the Balkans as competing powers vied with each other to grab the spoils from the declining Ottoman Empire. Austria-Hungary earned the enmity of Russia and Serbia when it formally annexed the former Ottoman province of Bosnia-Herzegovina. Germany also had a strategic interest in the region. The route of the proposed Berlin-Constantinople railway would travel through Vienna and Belgrade, and therefore Germany would require some control or influence over Serbia. This would bring conflict with Russia.
Austria-Hungary's rulers used the occasion of the Archduke's assassination to bring Serbia, which they suspected of promoting pan Slavic nationalism in Bosnia-Herzegovina, to heel. They delivered an ultimatum that they calculated would be rejected. Serbia accepted most of the conditions, but had reservations on others. Thereupon, they declared war on Serbia with the backing of their German ally. The Russian leaders retaliated by mobilising their forces, arguing that it was their duty to protect their fellow Slavs. But their real fear was that an Austrian victory would result in further Austrian and German encroachment of the Balkans, which would threaten to undermine their trade through the Bosphorus Straits.
The German rulers in turn demanded that Russia demobilise its forces, whereupon Russia refused and they declared war on her. A couple of days later Germany declared war on Russia's ally, France. In order to avoid the highly fortified border with France, the German leaders decided to move their forces through Belgium. When the Belgian government refused free passage, the German military launched an invasion. Ostensibly the United Kingdom was committed by the Treaty of London 1839 to defend Belgium, and this was the reason given for declaring war on Germany. However, the British rulers main concern was the safeguarding of their trade routes to their empire, and followed a policy of 'splendid isolation', whereby Britain would intervene only in European affairs when there was a shift in the balance of power between the competing nations to their disadvantage. The German invasion of Belgium was deemed to be such a moment. The British government also drew on workers from the Dominions and Empire – India, Canada, Australia, New Zealand — to fight for them.
Bribery was used to entice other countries into the War. Rumania was promised Hungarian territory if they joined the 'allied powers' — Britain and France. Bulgaria preferred the offer from Germany, that it could have Macedonia, and so joined them. Italy was promised the Austrian regions of South Tyrol and Trieste and Northern Dalmatia by the allied powers. Italy turned her back on her former allies, Germany and Austria-Hungary, and joined the latter. Japan also joined the allied powers in the hope of acquiring Germany's Chinese possessions.
In 1917, in a bid to end the war quickly, German forces intensified their blockade of Britain's ports, which had been a source of friction with the United States for some time, and resumed attacks on shipping. Many American ships were sunk with a great loss of life. This, along with a telegram from the German Foreign Minister requesting support from the Mexicans in exchange for assistance in retaking US territory lost in the Mexican-American War, prompted the US government to declare war on Germany on 6 April 1917. Also, US capitalists made money out of providing financial loans to Britain and France and therefore saw it as in their economic interests to support the allied powers.
Workers did the fighting
When the capitalists of different nations fall out and go to war, they don't normally do the fighting themselves, but get their respective working classes to do it for them. This requires an appeal to patriotism and jingoism, whereby politicians toured the country whipping up enthusiasm for the war. One successful orator was Horatio Bottomley, the so-called People's Tribune but in fact a discredited bankrupt before the war. For all his efforts in bringing in recruits, he managed to rake in £78,000 which he spent on racehorses, women and champagne. For those young male workers who were of military age and not seduced by the clarion call to arms, young women were employed to stick white feathers on them.
The capitalists and their politicians did not garner support on their own. They had the backing of the so-called 'workers representatives', the Labour and Social Democratic parties, which abandoned their proclaimed commitment to the international working class and rallied behind the war efforts of their respective ruling classes. The German Social Democratic representatives in the Reichstag gave a spurious 'Marxist' justification for voting for war credits. A victorious Germany, they argued, would overthrow the backward Tsarist regime and capitalism would develop rapidly in Russia. Expansion in industrial production and the growth of the Russian working class would speedily create the conditions for the establishment of socialism. Trade unions showed their support by co-operating with the employers to ensure maximum production and the curtailing of any strike action. The suffragettes suspended their campaign and joined the war effort. However, there was opposition to the war from Lenin, Rosa Luxemburg, Sylvia Pankhurst and of course, the Socialist Party.
The capitalist class couldn't rely on jingoist appeals alone, they needed high ideals as well. The British capitalist class claimed to be fighting for 'the liberty of small nations'. Although this noble ideal seemingly applied to Belgium, curiously it did not apply to Britain's colonies, certainly not in the case of Ireland, where the Easter rising in 1916 was ruthlessly suppressed. Another great ideal was 'to make the world safe for democracy'. Oddly, censorship and restriction of war reporting was required for this one. Many would consider the Russian Tsar to be a strange bedfellow.
It would seem that it is not enough for the capitalist class that their workers were facing the bullets and bombs on the battle fronts, for they appeared to be dissatisfied with the workers' performance on the home front. In the UK, many blamed the munitions workers for the shortages of shells needed for the war effort, that they were too busy boozing in the pubs. Restriction in pub hours were introduced which survived until the 1990s.
From 1916, with increasing hardship and seemingly no end in sight to the war, many workers became disillusioned and there were grumblings about this being a businessman's war. Strikes, protests and riots erupted. The situation in Russia was particularly dire, where peasants were taken off the land to fight on the front line, resulting in acute food shortages in the cities. This was exacerbated by poor communication infrastructure and corruption. Food riots ensued and mass desertions from the army took place. Workers councils emerged in the cities and organised strikes. In March 1917, the Tsar was forced to abdicate and a provisional government headed by Kerensky took his place. However, they attempted to keep Russia in the war, which only increased the discontent and their power was challenged by the Petrograd Workers Council. The German leaders saw an opportunity to take Russia out of the war. They allowed Lenin to travel through Germany in a sealed train to Russia. Once there, Lenin was able to gain support for the Bolsheviks in the Workers Councils. In November 1917, the Kerensky government was overthrown by an uprising led by the Bolsheviks. Not long afterwards, they negotiated a peace treaty with Germany at Brest Litovsk.
Now that Russia was out of the war, the German military could reinforce their forces on the Western front. Although this gave Germany an added advantage, they were still unable to deliver the knockout blow to their opponents. However, the working class discontent that brought down the Tsarist regime was also being visited on Germany. On 29 October 1918, a mutiny by sailors sparked a general workers and soldiers uprising which finally forced the German government to seek an armistice which was signed on 11 November 1918. The Kaiser abdicated on 28th November 1918.
Aside from mass human slaughter, what was the legacy of the war? It could be seen as the ultimate triumph of capitalism, as the vestiges of the feudalistic empires were swept away. The Austrian-Hungary Empire collapsed and metamorphosed into separate capitalist nation states. The Ottoman Empire disintegrated and the French and British ruling classes carved up its territories among themselves. Germany became a modern capitalist state under the rule of the Social Democratic Party. Russia evolved into an authoritarian state capitalist country. The Third International was launched during the Russian civil war in 1919 to support the Bolshevik regime and superseded the Second International which was dissolved in 1916. It became a mouthpiece of the Bolshevik regime and promoted the idea that communism equates with state capitalism and that it can only be brought about by violent revolution led by a vanguard party. This served to confuse workers as to what socialism really is and has played a part in holding back the genuine socialist movement.
With working class men being sent to the front, more women had to be brought into the munitions factories and offices to keep production going. They remained a part of the workforce after the war ended.
The phrase 'The war to end all wars' must be one of the sardonic statements of all times. Far from ending wars, the First World War sowed the seeds for further conflicts. The punitive measures of the Versailles Peace Treaty helped foster a sense of grievance, a feeling that Germany had been stabbed in the back. German nationalists, including the Nazis, exploited this for their own ends. Furthermore, the heavy reparations led to economic instability, such as the hyperinflation of 1923, which provided the fertile soil for aggressive nationalists like the Nazis to flourish. The increasing hostility between the Western Powers and the Bolshevik regime presaged the Cold War, which came to dominate the twentieth century. The League of Nations was set up to prevent further wars, but was powerless to do so, as it could not deal with the underlying cause — competition between capitalist powers for world markets and sources for raw materials. Wars are inevitable within capitalism.
Oliver Bond
Labels: Armed Forces' Mutinies, Class Conscious Opposition to War, Diplomacy, November 2018, Oliver Bond, Post-World War One, R2018, Second International, World War One Links to this post
Capitalism in Eastern Europe (1969)
Book Review from the October 1969 issue of the Socialist Standard
'Economic Devolution in Eastern Europe', by Ljubo Sirc. ('Problems of Capitalism in Eastern Europe' series. Longmans – for the Institute of Economic Affairs, 35/-)
Dr. Sirc, now a lecturer in International economics at Glasgow University, was born in Yugoslavia and fought with Tito's army during the war but, like a number of other supporters of the Yugoslav regime, he came into conflict with the government and he was imprisoned for seven and a half years in 1947 for 'conspiracy against the State'.
His book deals with the way the original centralised control and planning of production, distribution and prices in Eastern European countries, including Russia and Eastern Germany, has had to be modified in the direction of decentralising decision making and allowing the market forces of profits and competitive prices to operate, more on the lines of Western Capitalism. He also tries to foresee further changes that will be forced on the governments concerned.
Dr. Sirc approaches his subject as if it is a study of the problems and failures of Socialism, but once this absurdity is discounted the reader will find in the book many facts and figures illustrating the inescapable capitalist pressures at home and in the world market which have compelled the governments to change their economic and political policies and will continue to do so.
His central theme is that "the old Stalinist Soviet model was very inefficient", producing as it did, "goods which nobody wants to buy . . . productive capacities which cannot be used, keep personal consumption very low and causes foreign trade difficulties".
He stresses the point that inefficient centralised control resulted in industries carrying a labour force in excess of their real needs so that when the efficiency is raised by various reforms large scale unemployment appears; hence the movement of thousands of Yugoslavs into Germany, Austria and Sweden and the efforts of the Hungarian government to find work for unemployed Hungarians in Eastern Germany and Russia. Czechoslovakia faces the same problem.
An interesting parallel with this is the British Labour Government's Selective Employment Tax and other measures designed to squeeze workers out of the distributive trades and induce them to go into production industries ― if they can find jobs there.
Inevitably, in view of Dr. Sirc's assumption that he is dealing not with State capitalism but with Socialism, the alleged inadequacies of Marxism are brought under attack. Marx's blueprint for the society of the future, and specifically its "Marxist-Leninist" offshoot, was he says, imprecise and inapplicable to the circumstances of the Eastern European countries under Communist Party dictatorship. He likewise finds that Marx's historical materialism "has proved false". To support his case he quotes the head of the Slovene government who argued that some private enterprise is essential in Yugoslavia and that "it is not worth while nationalising all productive processes". He appears to be quite unaware that, as Marx well knew, nationalisation or state Capitalism is not Socialism.
Although the old, rigidly centralised, organisation is under growing attack among members of the governments and economists the claim that the new methods are also "Marxist" will no doubt continue, at least for many years. An interesting example comes from Yugoslavia, the country which has gone farthest in introducing decentralisation. Sir Fitzroy MacLean, Conservative M.P. recently interviewed Marshal Tito (Sunday Times July 6, 1969). MacLean summarised the present situation in Yugoslavia, following the reforms of 1965:-
Under which individual, commercial and industrial enterprises dispose of their own funds, fix their own wages and prices and are almost entirely free from State interference or control, while vigorously competing among themselves.
MacLean also points out that the Yugoslav government allows in foreign capital and encourages "a measure of private enterprise."
He asked Tito "Is all this good Marxism?" and got the answer : ―
We ourselves believe that what we are doing is in strict accordance with the principles of Marxism-Leninism, especially in regard to the withering away of the State.
It remains to be seen, with regard to the economic changes themselves, how far Russia and the other Eastern Countries will be forced to follow the Yugoslav example.
One important factor in this is the need the Russian satellite countries have for foreign capital to speed up development. The West German government is reported to be discussing with the Polish government (at the latter's invitation) plans to make German capital and technical aid available to build up Polish industry. Behind this, according to Herr Arndt, the German Minister concerned, is "that the Soviet Government is now admitting that it does not have the capacity to supply the necessary technical assistance to the Eastern countries on its own." (Financial Times, 25 June 1967).
Edgar Hardcastle
Labels: Book Review, Dissidents, Eastern Europe, Edgar Hardcastle, Josip Broz Tito, October 1969, R1969, State Capitalist Economics, Yugoslavia Links to this post
The Foreigners in Our Midst (1945)
A young G.I., who seemed to think that he owned the earth, was behaving rudely to a tough-looking bus conductress. Instead of ticking him off as a rude young man the angry girl commenced a lengthy and colourful attack on all Americans. The "Yanks," so it seemed to her, were responsible for most of the evils of this unhappy world. This unpleasant incident is typical of thousands that are occurring all over England and Europe to-day, and it is not only the Americans who are indiscriminately attacked.
Under the most unfavourable circumstances the workers of many countries have mingled. German, Russian, British and American conscripts have in their turn performed the unenviable duties of armies of occupation. Individually the conquerors and conquered cannot hate one another, and "fraternisation," an old word with a new meaning, has been inevitable. But only the most romantic optimist can imagine that a real basis for international understanding can be established on the love-affairs of lonely and sex-starved British soldiers with the hungry women of Berlin. Armies of occupation cannot be ambassadors of goodwill.
But one might imagine that the mingling of allies might have more fruitful results. Let us look at the position in this country and judge for ourselves. For a decade or more England has become the permanent or temporary home of many opponents of Nazi Germany. First came the Jewish refugees, Germans, Austrians and Czechs who fled to avoid death, the Ghetto or the concentration camp, then the remnants of defeated armies, the Poles, the French, the Belgians, Dutch and Norwegians, and, lastly the American "champions of democracy." Most of these men and women came to this country not on a heroic mission but because they had no choice. Individual friendships between some of them and the "natives" have grown up, but on the whole many British workers (who are not alone in this respect) still retain their illogical and almost unconquerable aversion to foreigners.
In the uncertain days of peace national prejudice increases. With the end of Lease-Lend, grumbles against the Americans became louder; a Scottish town council urges the Government to send the Poles home; 3,000 residents of Hampstead want the aliens living among them expelled; the shadow of unemployment draws near and thoughtless workers voice the fear that foreign Jewish workers will steal their jobs, forgetting that in 1931, when there were more than 2½ million unemployed, the refugees had not arrived. The foreigners in our midst are blamed for the housing shortage, and the Evening Standard (by the way why doesn't Beaverbrook return to Canada), always quick to turn working-class discontent into reactionary channels, gives prominence to a series of articles dealing with the number of houses and flats still occupied by refugee Governments in London. These houses are mostly in Mayfair, Belgravia and Kensington, and one wonders if the homeless workers of Stepney and Wandsworth could afford the rents which will be charged for them when they are evacuated. The Evening Standard does not complain of the waste of space in British Government offices, of unnecessary buildings such as Banks, income tax offices and Labour Exchanges, and it does not point out, for example, that one member of the British ruling-class with quite a small family does not need a vast town mansion as well as country residences at Sandringham, Balmoral and Windsor.
No, acquaintanceship at close quarters and under capitalist conditions with foreigners, however charming and well-behaved they may be, does not seem to further international friendship. But must the workers of the world always have feelings of suspicion, hatred and contempt towards each other? We Socialists do not think so. We are normal human beings, but we do not blame the strangers in our midst for all the minor and major evils of capitalism, and we address these words to our fellow workers for their consideration.
Workers must learn to think with their heads and not be guided by their feelings. They must understand, and they will do when they become Socialists, that there is a bond that unites them with their fellow workers, whether they are "enemies'' or "allies". This bond is not the superficial one of the same language, the same colour of skin, the same shape of nose, the same habits or allegiance to the same capitalist state, but the fundamental one of class interest. The workers of the world have one great task: to overthrow the system of their respective capitalistic masters and establish a world Socialist commonwealth, where the word "foreigner" will have no meaning.
Labels: Anti-Americanism, Anti-Immigration, December 1945, Housing Shortage, John Moore (SPGB), London, London Evening Standard, Moral Panics, R1945, World War Two, Xenophobia Links to this post
Socialism and the Labour Party (1945)
Mr. Morgan Phillips, Secretary of the Labour Party, in the pamphlet, "What is this Labour Party?" states that: "The Labour movement is not a narrow restricted thing. It goes outside trade and class. Anyone can be in it. The test is simply political allegiance. If you believe in Socialism, then support the Labour Party." Take the basic national object of the Party as set out in the Constitution:—
"To secure for the workers by hand or by brain the full fruits of their industry, and the most equitable distribution thereof that may be possible, upon the basis of the common ownership of the means of production, distribution and exchange, and the best obtainable system of popular administration and control of each industry or service."
"That's Socialism," says Mr. Phillips.
"That's nonsense!" says the Socialist Party, especially when Mr. Phillips adds "and the method by which its objectives can be fully attained is Public Enterprise," which turns out to be the old Labour Party gag "Nationalisation," vide "Let us face the future," the Labour election fairy tale.
Let us briefly analyse the "Object" of the Labour Party. First, "To secure for the workers, by hand or by brain, the full fruits of their industry."
We have never yet discovered anyone who can use his hands without using his brain, neither has biological science. It is possible to use the brain without using the hands, but most work is done by both in consonance.
It is utterly impossible to "secure the full fruits of their industry " to "the workers." "The workers" can only mean the working class under capitalism—"the workers" will be transformed into members of the Socialist community by Socialism—under capitalism "the workers" will always secure wages—which can ONLY be a small fraction of the wealth they produce. Even under Socialism the producer will NOT receive the full product of his toil, as Marx indicated to the German Labour Party seventy years ago—all organised society necessitates certain social charges on the social wealth, education, hospitals, maintenance of the aged, administration, etc. (Gotha programme). What the "most equitable distribution" of the "full fruits" of the "worker's industry" is supposed to mean, nobody knows!
If it is meant to mean that, under Socialism, everybody will receive an exactly equal share of the social wealth— that non-smokers, for example, will get a "share" of cigarettes daily, or vegetarians be compelled to take two pork chops in the week, it is not Socialism, but "crude equalitarianism," denounced by Marx and others in the last century. Socialism does not mean the abolition of personal divergences of individual taste—it means free distribution according to the single test of NEED. Indeed, individual taste will secure real recognition for the first time in history.
If it means "equitable distribution" under capitalism— i.e., what the Labour Party flogged when it was OUT of office—a re-distribution of existing wealth in the workers' favour (capital levy, etc., etc.), this is NOT Socialism—but moonshine.
But the cream of the joke is the Labour Party s frantic attempt to acquire a "Socialistic" flavour by its formulation of its object as the "common ownership of the means of production, distribution, AND EXCHANGE."
We defy Mr. Phillips, the Secretary, or that pompous little gasbag, Professor Laski, the Chairman, or Mr. Greenwood, the Treasurer, or any member or official of the Labour Party to tell us what this means!
It is utterly and completely meaningless!
Let us patiently explain all over again. Exchange is a social relation of private owners. Socialism abolishes exchange by free distribution. Socialists under Socialism will ALL commonly OWN. Whom Mr. Phillips will find to exchange the full fruits of his industry with, under Socialism, we can't think!
Common ownership of the "means of exchange" means precisely "common ownership of private ownership." In other words the subject cancels out the predicate—it is a perfect contradiction meaning nothing—which is what the Labour Party really stands for (except jobs for leaders).
The final phrase of the Labour Party's object, "the best obtainable system of popular administration and control of each industry or service," is pure rhetoric.
It might be asked, if what has been said is true, how is it that a large party like the Labour Party, with many quite clever members, can formulate its objects so stupidly? The answer is, firstly, that it is by no means so silly as it might seem.
To understand how the Labour Party Constitution and Object has been formulated one must investigate the history and character of that organisation.
Briefly the present Object of the Labour Party has evolved grown-up, with the times, and is an attempt to combine attracting enthusiastic class-conscious workers, who have got to do the local spade work of the Party, by convincing them that it stands for Socialism, and catching the votes of ordinary electors, who just want something NOW ("full fruits," etc.).
The "common ownership" phrases were introduced at Margate and Edinburgh after the last war. The discussion around them was the same as always take place, for instance, on Compensation at Bournemouth. The "responsible leaders" tell the conference that it is not "practical politics"—that it "will prejudice the Party's future," etc.; in other words— that it may lose votes. The same debate took place on full versus partial nationalisation. Every Socialist party propagandist knows the look of blank incredulous amazement which comes over the countenances of well-meaning Labour Party members, who sincerely believe the statements of Morgan Phillips and the Executive that the Labour Party is a Socialist Party—when the object of the Party is analysed.
It is only equalled by the expression of dumbfounded astonishment on the Socialist's face when the Labour man says finally, "Well, what does it matter, anyway!"
People who wouldn't dream of calling in a "doctor who had not a scientific training, or let a "dentist" put a drill in their mouths who did not know the name of one tooth from another, trust their social welfare to politicians whose real aims they never closely examine. The Labour Party does not stand for Socialism. Its declared object is a meaningless phrase.
The best comment on it was made by Lord Snowden :—
"It (the Labour Party) gained its former political strength neither from its Socialist idealism nor its election programme. It was an electoral refuge for a vague discontent.
The old political parties had failed. Here was a new party which made the social condition of the people its claim to popular support.
Millions of men and women who know nothing about Socialism, and who have never read the Labour programme, vote for Labour candidates because they believe that this is a party which is going to do something—they don't know what—to improve their condition.
I have been in this programme-making business for forty years. I have always realised its futility. Every programme in which I have had a hand I have seen discarded and another put in its place, later to share the fate of its predecessor."—(Snowden, Sunday Express, October 16th, 1932.)
Horatio.
Labels: Clause Four, Critique of the Gotha Programme, December 1945, Harry Young, History of the Labour Party, Labour Party Conference, Nationalisation, Philip Snowden, R1945 Links to this post
Squatters and the Housing Problem (1969)
From the April 1969 issue of the Socialist Standard
The plight of the homeless has once again made headline news in the daily press with the occupation of a block of luxury flats in London. It should come as no surprise to anyone that one of the oldest problems of capitalism, that of providing cheap accommodation for the working class, is still as acute as it ever was, after 120 years of various reforms and measures introduced by a succession of Tory, Liberal, and Labour governments.
The number of people involved in the 'squat-ins' now going on is extremely small compared with the number of homeless people who occupied empty camps under the control of the War Ministry just after the Second World War. One estimate put the number of squatters then involved at about 45,000. Of course conditions after the war were exceptional, as is to be expected when the warring national capitalist classes of the world have blasted one another's cities by aerial bombardment. Nevertheless no member of the British capitalist class whose home had been bombed ever had to move into an unoccupied army camp. This was something suffered only by the working class.
On October 11, 1946, statistics given by Aneurin Bevan revealed that 1,038 camps in England and Wales were occupied by 39,535 people. On Sept. 5 G. Buchanan, the then Under-Secretary of State, gave figures showing that in Scotland squatters numbered about 1,300 families comprising 4,000 people. Squatting on a considerable scale also took place in Northern Ireland.
Not all of the properties occupied by the squatters were army camps. Like their present-day counterparts, who took over the block of luxury flats in Snaresbrook, London, they showed impeccable taste by installing themselves in such residences as a 17-room vicarage in Shropshire, a 17th-century 40-room house owned by Vesta Tilley, a house in Finsbury owned by the Marquis of Northampton, and Litley Court, Hereford. A number of high-class properties in London were also taken over. Then, as now, the only reason for the properties being allowed to remain empty was that there were no buyers able or willing to pay the price demanded. Housing, like everything under capitalism, is produced for sale to realise profit or to be rented for the highest amount obtainable.
In 1946 Kensington and Marylebone had thousands of empty flats and houses, while their combined housing lists totalled 7,367. A similar situation prevails today in the same boroughs, especially in the Notting Hill area, with blocks of luxury flats virtually nestling side-by-side with crumbling tenements, large numbers of which are awaiting demolition, whose residents have been compelled by high rates and rents to seek accommodation elsewhere.
The policy of the majority of councils just after the war with regard to squatters is in sharp contrast with that of councils today, which is to evict them as quickly as possible from any property they occupy. In 1946 squatters were actually encouraged in their actions by councils, Scunthorpe acting first by taking over three army camps, after making prior arrangements with the Ministry of Health. Some councils failed to get Ministerial consent to take over camps, while some councils, like Reading, resisted the squatters from the start, cutting off electricity and threatening to remove their names from the housing list.
Twenty-three years after what must surely have been the biggest 'squat-in' of all time, the homeless are still with us and are still resorting to the same desperate measures to get a roof over their heads. In the Greater London area alone there are 170,000 families on the housing list and about 9,000 people in local authority hostels. The story is the same for the rest of the country, the acuteness of the problem varying from place to place, so much so that the claim of Kenneth Robinson, Minister of Planning and Land, that there would be a surplus of one million houses by 1973 sounds pretty hollow when it is realised that of a total of 17½ million dwellings in England three million (17 per cent) are irredeemable slums . . .
Even a bigger allocation of houses will not remove all today's slums by 1990, let alone 1975. Yet a target of 500,000 houses per year, if sustained throughout the early 1970s, will demand three times the present rate of slum clearance (Economist, October 14, 1967). Changes in the classification of housing could enlarge this estimate of the number of slums, making an even bigger problem of rehousing.
The Socialist Party supports the efforts of workers to improve their housing conditions under capitalism — even by squatting. But socialists also point out that there is no solution to the housing problem inside capitalism, and even if the agitation of those who support the squatters succeeds for the families they are now trying to help, future generations will still face the same misery and hardship of homelessness. Only in a society in which production is carried on solely to satisfy human wants, without anyone having to worry about where next week's rent or next month's mortgage repayment is coming from, will the housing problem find a solution.
Posted by Imposs1904 at 5:41 PM 1 comment:
Labels: Aneurin Bevan, April 1969, Housing Crisis, Housing Shortage, Labour Government 1945-51, Lawrence Brown, Post-War Britain, R1969, Slums, SPGB Disputes, Squatters Links to this post
Ownership Means Control (1969)
The question of the ownership of the means of production has been, and continues to be, the most vital factor in any discussion of major social problems. Since capitalism rests upon a foundation of class ownership of the means of production, then the obvious solution to those problems (such as war, poverty and insecurity) inherent in the capitalist system is the establishment of a system of society based upon the common ownership of the means of production, namely Socialism.
At various time, however, individuals and groups claiming to be socialist have put forward the view that not "ownership" but "control" is the vital issue. This is sheer confusion since they are trying to separate that which is really inseparable. Common ownership and democratic control go hand in hand; one is quite impossible without the other.
The reason for this attempt to pose the question of "control" against that of ownership would appear to lie in commonly held illusions as to the nature of the Russian revoution, and subsequent events in that and other countries that modelled themselves on the Russian example. If you think that the 1917 revolution was socialist, and by implication that the working class gained control of the state and transformed the means of production from class to common property, then it is not too difficult to understand why, on any examination of the subsequent dictatorship and repression, that resort should be made to the excuse of "bureaucratisation" and "administrative failures", and attention diverted to ideas of workers' control in the factory.
In fact, of course, far from being a Socialist revolution, it was the capitalist revolution or at least a phase of it, resultinging from the inability of the traditional bourgeoisie to carry through its historic task. The two essential pre-requisites of a socialist revolution were missing, namely an advanced level of technology and industrial development; and a majority of workers organised for the specific purpose of establishing Socialism. Despite industrial development in some of the larger towns Russia was largely a backward feudal economy. Some 80 per cent or more of the population were peasants, and of the small working class only a minority could have understood and desired the establishment of Socialism. The involvement of individuals or groups who may have understood and genuinely desired Socialism could not, and did not, change the role of the revolution, which was to completely break the political and economic influence of the Tsarist nobility, and develop capitalist industry in competition with the established capitalist powers as rapidly as possible.
Even had the Russian working class wanted Socialism, nobody should have expected the European working class to come to their rescue. Whilst the membership of and support for the European Social-Democratic parties was certainly on a mass scale, it had been gained not on a revolutionary, but on a reform, programme. What developed in Russia— which also was imposed upon Eastern Europe, and is developing to-day in China, Cuba, N. Vietnam and elsewhere —is, in fact, state capitalism.
When this is realised the question of "control" becomes much clearer, though it takes on a somewhat different meaning from that generally attached to it by the so-called left-wing. The capitalist class maintains its position of privilege through its control of the state (and not the other way around as some would have us believe). In Russia by far the larger part of the means of production are owned by the State, which is controlled by a political elite, carrying out the same functions as the traditional capitalist class of America and Europe, The important distinction is, that while in Britain and America the capitalist class own individually through the holding of stock, shares and bonds, in Russia the capitalist class owns collectively.
The task facing workers all over the world is the same: organisation along class lines for the overthrow of international capitalism and the establishment of a world Socialist society. The task of Socialists is clear. Since Socialism is a democratic society based upon voluntary work and co-operation, then its establishment and survival depends upon the conscious, organised action of the majority of the working class. On the economic front Socialists must do all in their power to encourage the development of democratic organisation and processes for the defence of workers wages and conditions. But more than this is needed: the organisation of a revolutionary Socialist party seeking understanding on the single issue of capitalism or Socialism, and reflecting the
society it seeks to establish, by being completely under the control of the whole of its membership.
Mike Ballard
Posted by Imposs1904 at 5:29 PM 2 comments:
Labels: April 1969, Common Ownership, Democratic Control, M. Ballard, R1969, Russian Revolution, The Class Nature of the Soviet Union Links to this post


In which M tells you why they are not podcasting about the Hotel de Bilderberg workshop they happen to be attending.
This week Josh and M celebrate their 4 year anniversary by looking back at one of the first stories they ever covered, the conspiracy theories around the disappearance of Malaysia Airline's flight MH370. There's also a primer on how rugby can be used to combat cultural imperium, and talk about a daytime Emmy!
This week Josh and M discuss the dirty politics around the Prime Minister of Aotearoa New Zealand's partner, Clarke Gayford, and earlier dirty politicking in our nation state.
This week we snark at a listicle from WakeUpKiwi, and apologise to Daniel.


United Baptist Church is a family of believers in Jesus Christ and who have a heart for Him. We desire to be a disciple of Jesus while making disciples for Him. "We Preach Christ" is our focus because He is our Creator, God, and Savior.
United Baptist Church is an independent Baptist church in Springfield, Missouri. The pastor is Steven Brudnak.
This church stands on the King James Bible as God's word in the English language. They offer Traditional worship services in English. Their information indicates that they are Unaffiliated in their doctrine and practice.


and welcome ! In this blog, I will speak about my work as a computer scientist, but also about art, culture and all the things I like. I am building this place to share freely a part of my views. Also, I want to get out of my comfort zone !
Furthermore, I have been profiting so much from the content of the web, that I want to give it back to the community somehow and to contribute. I'll try to create interesting content and convey information in a simple way.
Writing is a tedious exercise, especially if you're not writing in your mother tongue.
Fear of human judgement about my skills (OMG YOU HAVE A TYPO).
Fear of not having enough things to say or to be boring.
Despite its scariness, it might be worth a try !
This blog is based on Jekyll and Bootstrap and the code is hosted on Github. I moved my old CV-only Bootstrap-based website to Github Pages and created a blog sections, which you are reading now. Feel free to reuse or adapt my code. I would appreciate a reference if you take my design :). Note that several improvements (style, UI, code factoring) still have to be made… well, this blog is alive !
Thanks for reading this post, you are the best !


A great addition to any wardrobe. This snazzy vest is made using 3 (3, 4, 4, 5, 5, 6, 6, 7) skeins of Red Heart Unforgettable #4 worsted-weight yarn in the color Bistro. Size: S (M, L, XL, 2XL, 3XL, 4XL, 5XL, 6XL). Yarn sold at AnniesCraftStore.com.


Cleaning your Scanners and Photocopiers can reduce the spread of harmful Bacteria and the build up of greasy fingerprints on the glass screens. It is therefore safer to have these professionally Cleaned giving the correct impression for your organisation.
All outside surfaces are professionally cleaned using the patented technology taking time to clean inside any groves or joins in the surface area and any visable cables.
Also all Screens and switches are thoroughly cleaned giving you near to New look back.


What is the Trust Survey?
How do I add social media links to my profile?
What's included in my McAfee SECURE Certification Pro?
What should I expect from the security check for the McAfee SECURE Certification?
I added a company description in my language to my directory profile and the special symbols were removed. How do I change this?
What is the free McAfee SECURE certification?
The free version of the McAfee SECURE certification is a service we now offer to all website owners. Once your site is certified, the McAfee SECURE trustmark will display on your website, which lets your customers know the site they're part of the SECURE web.
With the free service, the first 500 visitors/month will see the trustmark. After your site reaches the 500 visitor limit, the trustmark will not show for the remainder of the month.
How do you define 500 visitors?
We define "visits" as anyone who engages in a session on your site at some point during the month. The session cookie is set for 24 hours. This means that the visitor needs to be idle for more than 24 hours to be counted as a "visitor" for a second time. At the beginning of each month, the visitor count will start back at 0. Each time you login to your McAfee SECURE account, you'll be able to see how many visitors have seen the trustmark so far for that month.
What is McAfee SECURE Certification Pro?
Unlimited Visitors: With our Pro plan, an unlimited number of site visitors will see the trustmark. Whether you're selling a dozen custom-made pieces of jewelry every quarter or thousands of t-shirts a week, every single visitor will see the trustmark.
Shopper Identity Protection: Make your visitors more comfortable buying from your site by offering a $100,000 Shopper Identity Protection policy, provided by TrustedSite.
Search Highlighting: Your site will be highlighted as SECURE in Google, Yahoo and Bing search results of over 50 million SiteAdvisor software users.
Customized Trustmarks: As a Pro user, you will be able to customize your trustmark to best fit in with your site. You can customize the size and verification options to fit the needs of your users. Trustmarks can remain visible to all site visitors, or it can remain in a fixed location.
Engagement Trustmark: Unlike the certification trustmark, the engagement trustmark stays in one spot. So whether that's by a signup form or in the checkout of your sales flow, visitors will know they're safe as soon as they look at an engagement area. Watch a video about the Engagement Trustmark here: http://mcaf.ee/3gxei.
Search Engine Submission: The sitemap generator creates and submits a sitemap to Google (and other search engines) so that all of your website's content is searchable.
Website Diagnostics: The website diagnostics tool scans your website for broken links, missing images, slow loading pages, and 404 errors. These errors can reduce engagement or KPIs (Key Performance Indicators) by making visitors feel like a site is unsafe or unprofessional.
How do I upgrade from the free service to McAfee SECURE Certification Pro?
Upgrading is easy! When you upgrade, your trustmark code stays exactly the same.
Login to your account at mcafeesecure.com and you'll have to option to upgrade to pro.
Once you select this option, you can make your first payment and set everything up in just a few minutes.
How do I add Shopper Identity Protection to my site?
My customers aren't seeing the Shopper Identity Protection opt-in. How do I fix this?
How do I change the position of my trustmark?


text:
Higher ed: 15 percent tuition hike?
Authors: Brian Park
Colorado State University might raise tuition as much as 15 percent for in-state undergraduate students for the next school year under the school's budget proposal.
In-state graduate students could see a 9 percent increase, while all out-of-state student tuition could be raised 6 percent.
"With the proposal we will get some funding back to really important programs that have been cut over the last couple of years," said CSU spokesman Brad Bohlander.
While student tuition might rise at CSU, the pending budget also calls for a 4.3 percent pay raise for faculty at the university. The issue will be decided on Wednesday, June 15 when the CSU Board of Governors meets in Denver. Tuition only rose 1.1 percent during 2004-2005 for all students, including residents and non-residents.
Some students at CSU do not see the increase in tuition as acceptable.
"I think it's bad," said Ryan Rutz, an in-state junior economics major. "I don't see any problem where it is right, so I don't think it is needed."
Stacy Shaul, a senior psychology major also is an in-state student, does not agree with the tuition hike.
"I already took out loans for what I have," Shaul said. "I just don't understand why they keep increasing it, it's already a lot of money, I mean it is just too much money."
The Colorado Legislature this year granted CSU the ability to raise tuition by at least 11 percent for the upcoming school year. The university has been able to declare enterprise status under the College Opportunity Fund, which was signed into law last May. This lets the university to decide on what its tuition rates should be for the first time under the Taxpayer's Bill of Rights.
About a 5.1 percent increase would be assessed to students in the Veterinary school.
Full-time resident undergraduates will pay about $441 more than last year's fee of $2,940, while an out-of-state undergraduate will pay $816 more than the $13,527 charged last year.
Bohlander said the plan would add 10 new faculty members to CSU since in the past three years 240 positions have been terminated, including 76 faculty positions.
"This has resulted in larger classes, less faculty to teach classes, cut a lot of programs and funds for building maintenance have been very drastically cut," Bohlander said. "Adding new faculty would lead to lower class sizes and higher educational quality."
Compared to other peer institutions CSU ranks very low in police officer to student ratios so the proposal calls for five new police officers to be hired.
The budget calls for students to pay fees for high-cost programs or popular courses, upper-division courses, certain colleges and building maintenance.
A student will be charged $6 for high-cost or popular courses and $2 for upper-division courses, both of these fees will be paid per credit hour. Students in the College of Business will pay $19 per credit hour, while those in the College of Engineering and the Department of Computer Science will pay $12.50 per credit hour. The fees for these areas will be the same for residents and non-residents.
A new and mandatory student facility fee that ASCSU passed on April 27, 2005 will be included in tuition for next year. The fee is $10 per credit hour, so if a student is taking 15 credit hours per semester, the amount owed to CSU would be $150 for one semester or $300 for the whole school year. The University Technology fee will stay the same at $15 and will apply to all CSU students, just like the facility fee does.
"If the proposal happens we still will be recognized as having low tuition compared to other schools," Bohlander said. "We will still be deemed a low tuition university and a low tuition state."


On this tutorial you are going to learn how to add your email account onto your mobile phones email app.
It might take a few minutes for the servers to get validated. Once that's done you would have finished setting up your email address on your mobile phone.
Choose the account options you want, click on Next and you are done.


Picking the proper custom writing service is crucial. Our prices per page are lower than every other writing service if you select our longest. When you get one from any customized essay writing Service Company and it does not own a purpose, you've been scammed.
You're able to get essays written for you now and don't need to be concerned about lifting a finger. To put it differently therefore writing help online symbolabb.
Some websites may create low-quality content on account of the presence of an excessive amount of plagiarism in their created essays. For starters, look at the shelves in your favourite bookstore. Thus don't neglect to look at the caliber of researched content.
As a writer it's easy to keep on describing events in the text as opposed to defining the way the events happen. Sometimes there's prepared food too, or crafts.
Our cheap customized essay writing services will allow https://www.masterpapers.com/proofreading you to save both time and money. There are a number of reasons why you ought to prefer our services. There are several writing services that give you great writing services, a number of them are even available online.
Free Homework Help An on-line tutoring service which connects students to. Students often seek for aid with their papers as it is rather hard to deal with all assignments. They will never escape essays.
Some websites may create low-quality content on account of the presence of an excessive amount of plagiarism in their created essays. Enjoy reading Know what you wantThe best method of engaging the internet is to be sure with what it is you're looking for. Add some particular information about the style and task volume.
If your future depends upon it, you're better to turn to https://commons.swinburne.edu.au/file/398e2b98-1bf0-4e48-b5ba-8052c4b26a30/1/1995_hb_hed.pdf professionals. Do background check to make sure that you're dealing with genuine companies with the requirements of students at heart. With the aid of our team, you can conserve time for yourself.


text:
Q: Making network call to a gRPC API with swift I have never worked with grpc and have some questions. I have a swift UI app and need to make a network call via grpc. I am using the package grpc-swift
i have the proto file converted to the .pb.swift and .grpc.swift
any help on how to make the authentication call would be much appreciated
partner_api.grpc.swift
//
// DO NOT EDIT.
//
// Generated by the protocol buffer compiler.
// Source: partner_api.proto
//

//
// Copyright 2018, gRPC Authors All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
import GRPC
import NIO
import SwiftProtobuf

/// The methods available from the Emporia Energy Partner API.  The Emporia API is available via gRPC at
///   URL:  partner-api.emporiaenergy.com
///   PORT: 50051
///
/// Usage: instantiate `Protos_PartnerApiClient`, then call methods of this protocol to make API calls.
internal protocol Protos_PartnerApiClientProtocol: GRPCClient {
  var serviceName: String { get }
  var interceptors: Protos_PartnerApiClientInterceptorFactoryProtocol? { get }

  func authenticate(
    _ request: Protos_AuthenticationRequest,
    callOptions: CallOptions?
  ) -> UnaryCall<Protos_AuthenticationRequest, Protos_AuthenticationResponse>

  func getDevices(
    _ request: Protos_DeviceInventoryRequest,
    callOptions: CallOptions?
  ) -> UnaryCall<Protos_DeviceInventoryRequest, Protos_DeviceInventoryResponse>

  func getUsageData(
    _ request: Protos_DeviceUsageRequest,
    callOptions: CallOptions?
  ) -> UnaryCall<Protos_DeviceUsageRequest, Protos_DeviceUsageResponse>

  func getOutletStatus(
    _ request: Protos_DeviceListRequest,
    callOptions: CallOptions?
  ) -> UnaryCall<Protos_DeviceListRequest, Protos_OutletStatusResponse>

  func setOutletStatus(
    _ request: Protos_OutletStatusRequest,
    callOptions: CallOptions?
  ) -> UnaryCall<Protos_OutletStatusRequest, Protos_OutletStatusResponse>
}

extension Protos_PartnerApiClientProtocol {
  internal var serviceName: String {
    return "protos.PartnerApi"
  }

  /// login with the email and password you use on the portal website and get back an auth_token
  ///
  /// - Parameters:
  ///   - request: Request to send to Authenticate.
  ///   - callOptions: Call options.
  /// - Returns: A `UnaryCall` with futures for the metadata, status and response.
  internal func authenticate(
    _ request: Protos_AuthenticationRequest,
    callOptions: CallOptions? = nil
  ) -> UnaryCall<Protos_AuthenticationRequest, Protos_AuthenticationResponse> {
    return self.makeUnaryCall(
      path: "/protos.PartnerApi/Authenticate",
      request: request,
      callOptions: callOptions ?? self.defaultCallOptions,
      interceptors: self.interceptors?.makeAuthenticateInterceptors() ?? []
    )
  }

  /// get the collection of devices associated to your partner account,
  /// optionally limited to devices related to one or more customer emails
  ///
  /// - Parameters:
  ///   - request: Request to send to GetDevices.
  ///   - callOptions: Call options.
  /// - Returns: A `UnaryCall` with futures for the metadata, status and response.
  internal func getDevices(
    _ request: Protos_DeviceInventoryRequest,
    callOptions: CallOptions? = nil
  ) -> UnaryCall<Protos_DeviceInventoryRequest, Protos_DeviceInventoryResponse> {
    return self.makeUnaryCall(
      path: "/protos.PartnerApi/GetDevices",
      request: request,
      callOptions: callOptions ?? self.defaultCallOptions,
      interceptors: self.interceptors?.makeGetDevicesInterceptors() ?? []
    )
  }

  /// get usage data for one or more devices
  ///
  /// - Parameters:
  ///   - request: Request to send to GetUsageData.
  ///   - callOptions: Call options.
  /// - Returns: A `UnaryCall` with futures for the metadata, status and response.
  internal func getUsageData(
    _ request: Protos_DeviceUsageRequest,
    callOptions: CallOptions? = nil
  ) -> UnaryCall<Protos_DeviceUsageRequest, Protos_DeviceUsageResponse> {
    return self.makeUnaryCall(
      path: "/protos.PartnerApi/GetUsageData",
      request: request,
      callOptions: callOptions ?? self.defaultCallOptions,
      interceptors: self.interceptors?.makeGetUsageDataInterceptors() ?? []
    )
  }

  /// determine if one or more Outlets are currently on
  ///
  /// - Parameters:
  ///   - request: Request to send to GetOutletStatus.
  ///   - callOptions: Call options.
  /// - Returns: A `UnaryCall` with futures for the metadata, status and response.
  internal func getOutletStatus(
    _ request: Protos_DeviceListRequest,
    callOptions: CallOptions? = nil
  ) -> UnaryCall<Protos_DeviceListRequest, Protos_OutletStatusResponse> {
    return self.makeUnaryCall(
      path: "/protos.PartnerApi/GetOutletStatus",
      request: request,
      callOptions: callOptions ?? self.defaultCallOptions,
      interceptors: self.interceptors?.makeGetOutletStatusInterceptors() ?? []
    )
  }

  /// set one or more Outlets to be on or off.
  /// only the outlets that were changed will be included in the OutletStatusResponse; outlets that
  /// aren't connected to the cloud or were already in the requested state won't be included
  ///
  /// - Parameters:
  ///   - request: Request to send to SetOutletStatus.
  ///   - callOptions: Call options.
  /// - Returns: A `UnaryCall` with futures for the metadata, status and response.
  internal func setOutletStatus(
    _ request: Protos_OutletStatusRequest,
    callOptions: CallOptions? = nil
  ) -> UnaryCall<Protos_OutletStatusRequest, Protos_OutletStatusResponse> {
    return self.makeUnaryCall(
      path: "/protos.PartnerApi/SetOutletStatus",
      request: request,
      callOptions: callOptions ?? self.defaultCallOptions,
      interceptors: self.interceptors?.makeSetOutletStatusInterceptors() ?? []
    )
  }
}

internal protocol Protos_PartnerApiClientInterceptorFactoryProtocol {

  /// - Returns: Interceptors to use when invoking 'authenticate'.
  func makeAuthenticateInterceptors() -> [ClientInterceptor<Protos_AuthenticationRequest, Protos_AuthenticationResponse>]

  /// - Returns: Interceptors to use when invoking 'getDevices'.
  func makeGetDevicesInterceptors() -> [ClientInterceptor<Protos_DeviceInventoryRequest, Protos_DeviceInventoryResponse>]

  /// - Returns: Interceptors to use when invoking 'getUsageData'.
  func makeGetUsageDataInterceptors() -> [ClientInterceptor<Protos_DeviceUsageRequest, Protos_DeviceUsageResponse>]

  /// - Returns: Interceptors to use when invoking 'getOutletStatus'.
  func makeGetOutletStatusInterceptors() -> [ClientInterceptor<Protos_DeviceListRequest, Protos_OutletStatusResponse>]

  /// - Returns: Interceptors to use when invoking 'setOutletStatus'.
  func makeSetOutletStatusInterceptors() -> [ClientInterceptor<Protos_OutletStatusRequest, Protos_OutletStatusResponse>]
}

internal final class Protos_PartnerApiClient: Protos_PartnerApiClientProtocol {
  internal let channel: GRPCChannel
  internal var defaultCallOptions: CallOptions
  internal var interceptors: Protos_PartnerApiClientInterceptorFactoryProtocol?

  /// Creates a client for the protos.PartnerApi service.
  ///
  /// - Parameters:
  ///   - channel: `GRPCChannel` to the service host.
  ///   - defaultCallOptions: Options to use for each service call if the user doesn't provide them.
  ///   - interceptors: A factory providing interceptors for each RPC.
  internal init(
    channel: GRPCChannel,
    defaultCallOptions: CallOptions = CallOptions(),
    interceptors: Protos_PartnerApiClientInterceptorFactoryProtocol? = nil
  ) {
    self.channel = channel
    self.defaultCallOptions = defaultCallOptions
    self.interceptors = interceptors
  }
}

/// The methods available from the Emporia Energy Partner API.  The Emporia API is available via gRPC at
///   URL:  partner-api.emporiaenergy.com
///   PORT: 50051
///
/// To build a server, implement a class that conforms to this protocol.
internal protocol Protos_PartnerApiProvider: CallHandlerProvider {
  var interceptors: Protos_PartnerApiServerInterceptorFactoryProtocol? { get }

  /// login with the email and password you use on the portal website and get back an auth_token
  func authenticate(request: Protos_AuthenticationRequest, context: StatusOnlyCallContext) -> EventLoopFuture<Protos_AuthenticationResponse>

  /// get the collection of devices associated to your partner account,
  /// optionally limited to devices related to one or more customer emails
  func getDevices(request: Protos_DeviceInventoryRequest, context: StatusOnlyCallContext) -> EventLoopFuture<Protos_DeviceInventoryResponse>

  /// get usage data for one or more devices
  func getUsageData(request: Protos_DeviceUsageRequest, context: StatusOnlyCallContext) -> EventLoopFuture<Protos_DeviceUsageResponse>

  /// determine if one or more Outlets are currently on
  func getOutletStatus(request: Protos_DeviceListRequest, context: StatusOnlyCallContext) -> EventLoopFuture<Protos_OutletStatusResponse>

  /// set one or more Outlets to be on or off.
  /// only the outlets that were changed will be included in the OutletStatusResponse; outlets that
  /// aren't connected to the cloud or were already in the requested state won't be included
  func setOutletStatus(request: Protos_OutletStatusRequest, context: StatusOnlyCallContext) -> EventLoopFuture<Protos_OutletStatusResponse>
}

extension Protos_PartnerApiProvider {
  internal var serviceName: Substring { return "protos.PartnerApi" }

  /// Determines, calls and returns the appropriate request handler, depending on the request's method.
  /// Returns nil for methods not handled by this service.
  internal func handle(
    method name: Substring,
    context: CallHandlerContext
  ) -> GRPCServerHandlerProtocol? {
    switch name {
    case "Authenticate":
      return UnaryServerHandler(
        context: context,
        requestDeserializer: ProtobufDeserializer<Protos_AuthenticationRequest>(),
        responseSerializer: ProtobufSerializer<Protos_AuthenticationResponse>(),
        interceptors: self.interceptors?.makeAuthenticateInterceptors() ?? [],
        userFunction: self.authenticate(request:context:)
      )

    case "GetDevices":
      return UnaryServerHandler(
        context: context,
        requestDeserializer: ProtobufDeserializer<Protos_DeviceInventoryRequest>(),
        responseSerializer: ProtobufSerializer<Protos_DeviceInventoryResponse>(),
        interceptors: self.interceptors?.makeGetDevicesInterceptors() ?? [],
        userFunction: self.getDevices(request:context:)
      )

    case "GetUsageData":
      return UnaryServerHandler(
        context: context,
        requestDeserializer: ProtobufDeserializer<Protos_DeviceUsageRequest>(),
        responseSerializer: ProtobufSerializer<Protos_DeviceUsageResponse>(),
        interceptors: self.interceptors?.makeGetUsageDataInterceptors() ?? [],
        userFunction: self.getUsageData(request:context:)
      )

    case "GetOutletStatus":
      return UnaryServerHandler(
        context: context,
        requestDeserializer: ProtobufDeserializer<Protos_DeviceListRequest>(),
        responseSerializer: ProtobufSerializer<Protos_OutletStatusResponse>(),
        interceptors: self.interceptors?.makeGetOutletStatusInterceptors() ?? [],
        userFunction: self.getOutletStatus(request:context:)
      )

    case "SetOutletStatus":
      return UnaryServerHandler(
        context: context,
        requestDeserializer: ProtobufDeserializer<Protos_OutletStatusRequest>(),
        responseSerializer: ProtobufSerializer<Protos_OutletStatusResponse>(),
        interceptors: self.interceptors?.makeSetOutletStatusInterceptors() ?? [],
        userFunction: self.setOutletStatus(request:context:)
      )

    default:
      return nil
    }
  }
}

internal protocol Protos_PartnerApiServerInterceptorFactoryProtocol {

  /// - Returns: Interceptors to use when handling 'authenticate'.
  ///   Defaults to calling `self.makeInterceptors()`.
  func makeAuthenticateInterceptors() -> [ServerInterceptor<Protos_AuthenticationRequest, Protos_AuthenticationResponse>]

  /// - Returns: Interceptors to use when handling 'getDevices'.
  ///   Defaults to calling `self.makeInterceptors()`.
  func makeGetDevicesInterceptors() -> [ServerInterceptor<Protos_DeviceInventoryRequest, Protos_DeviceInventoryResponse>]

  /// - Returns: Interceptors to use when handling 'getUsageData'.
  ///   Defaults to calling `self.makeInterceptors()`.
  func makeGetUsageDataInterceptors() -> [ServerInterceptor<Protos_DeviceUsageRequest, Protos_DeviceUsageResponse>]

  /// - Returns: Interceptors to use when handling 'getOutletStatus'.
  ///   Defaults to calling `self.makeInterceptors()`.
  func makeGetOutletStatusInterceptors() -> [ServerInterceptor<Protos_DeviceListRequest, Protos_OutletStatusResponse>]

  /// - Returns: Interceptors to use when handling 'setOutletStatus'.
  ///   Defaults to calling `self.makeInterceptors()`.
  func makeSetOutletStatusInterceptors() -> [ServerInterceptor<Protos_OutletStatusRequest, Protos_OutletStatusResponse>]
}

redpajama_set_name: RedPajamaStackExchange


COOKE is proud to offer Neolith fire pit table tops. Neolith is a premium ultra-compact surface imported from Spain. Generally used in high end architectural applications, Neolith firepit table tops offer a high level of durability and an excellent palette of contemporary colors and textures. This cutting edge material looks great in new contemporary spaces, especially in a larger format. We can build square and rectangular Neolith fire pit tables of almost any size.