text:
HONDA CIVIC 2003 – 2015
By Ewan Kennedy May 14, 2016 May 20, 2016 Honda, Used Car Review
An all-new Honda Civic has hit the roads downunder and appears to be gathering a lot of buyer interest. So quite a few older models are likely to be traded in, perhaps so many that dealers will be keen to de-clutter their yards and offer lower prices than usual. No promises, but we suggest you get in quickly if you're halfway interested.
The Honda Civic had a reputation for build quality and reliability that once lifted it above the pack in the image stakes in Australia. This seems to have slipped a little in recent years, or it's simply that the pack has caught up. Nevertheless Civic still rates highly in the minds of some buyers.
Very much a global car, the Honda Civic is a Japanese design in sedan format, but has a European input in the hatchback as it's made in England for the Euro market. Sedans are made in Japan or Thailand, while petrol-electric hybrids are all made in Japan. Thankfully, build quality is similar from all factories as the Japanese head office keeps a tight rein on all its factories.
Interior room in the Honda Civic is good without being outstanding. There is space for four adults, but in reality the rear seat is probably best left to children.
Civic sedans are longer than hatches and most of this extra body size is put into a larger luggage area. There is some loss of boot space in the hybrid due to the installation of a large battery. It has never been a big seller (or even a mid-range one) but the hybrid still makes an interesting drive if you're into the latest in technology.
The Civic is easy to drive and park thanks to light controls and good feel for the driver. These cars are popular with suburban users, but can be used on the open road, although bumpy secondary roads in the bush can cause a rough ride at times in older Civics as they have relatively short-travel in their suspension. Later models, from 2006, are noticeably better.
On smooth roads, particularly on motorways, the Civic offers the sort of relaxed noise and vibration levels that are generally only found in cars from the next size class upwards.
Petrol engine sizes in the standard Civics are 1.6 litres and 1.7 litres in the older models; rising to 1.8 and 2.0 litres from 2012. The 2.0-litre engines fitted to the sportier Civics and give plenty of performance, but ask for plenty of revs to really work at optimum levels. A 1.6-litre turbo-diesel Civic arrived in 2013 but never really caught buyer attention.
Five-speed manual gearboxes are standard in most models the Type R has a six-speed, as do some upmarket petrol versions from 2009, as well as the diesel. Four-speed automatic transmissions were sold till a five-speed unit was used in the eighth-generation Civics, launched at the start of 2006.
The Civic Hybrid was introduced to Australia in early 2004 and is less extreme than previous Honda hybrids. It runs a small 1.3-litre petrol engine and an electric motor. The automatic fitted to the Civic Hybrid is a continuously variable transmission (CVT).
Repairs, servicing and spare parts used to be relatively expensive and early Civics had a bad name for this. Honda Australia worked hard and matters have improved considerably on the later Civics.
Civic is reasonably simple mechanically so a good amateur mechanics can do a fair bit of the work themselves. Having a workshop manual at hand makes a lot of sense. Don't attempt to carry out repairs to safety related items unless you have top class experience.
Insurance costs are reasonable, with few companies making any real differentiation for the sportier versions of the Civic.
Make sure the engine starts promptly and responds quickly and positively to the throttle. If possible arrange to start it when it's cold after an overnight stop. Any engine that hesitates when revved suddenly should be treated with suspicion.
A worn engine will smoke from the exhaust when it is driven hard after a period of idling.
A conventional automatic transmission should be crisp in its changes and not hold onto any gear for too long.
A continuously variable automatic transmission feels different in its operation so have an expert drive it if you are not confident it's working correctly.
The clutch pedal should be smooth in its operation. All manual gearchanges should be light, positive and quiet. Problems will show up first on fast downchanges, usually when going from third to second.
Bodywork should be undamaged and free from rust. A Civic that has been poorly repaired after a smash may turn rusty later.
CAR BUYING TIP
When considering buying an older car, shop around for spare parts in your neighbourhood before buying it. There can be a marked variation in availability.
11th GENERATION HONDA CIVIC
HONDA CR-V 2012 - 2120
HONDA CITY 2009 - 2019
« LEXUS FLAGSHIP SUV TAKES 'LINE' HONOURS
MERCEDES-AMG C 63 S COUPE »


text:
REVIEW: SWEET, TROY REDFERN @ TOWN HALL, BIRMINGHAM 2/12/2021
Sweet_Birmingham_Haluk Gurer
Late replacement for Limehouse Lizzy, It could have been tricky for Troy Redfern here, a crowd that was after all looking forward to a set of classic songs, gets someone they might not know. If he was concerned he need not have been. His slot here is similar to the one that I'd seen him do in the autumn with Robert Jon And The Wreck, that is to say, he's playing his songs solo and in the raw. What that means is he sounds incredibly primal in a way that he doesn't with a band. The songs from his most recently released record, "The Fire Cosmic", both "Sanctify" and "Waiting For Your Love" are cases in point, as they take a totally different path it seems. What it cannot mask, though, is the power of his songwriting. And MV's long held belief that a great song can be played in any fashion and still sound great holds true here. He finishes, as he often does, with "Voodoo Chile" ("the song that made me pick up the guitar") and manages to find a new way to make that sound too. It's hard to say which version of Troy Redfern is better of the two: the band one or the solo one, and that's to his credit. Whichever one it is, though, what is clear is that he is a serious talent.
Troy Redfern – Haluk Gurer
About halfway into this set here, Paul Manzi (and whether we can call him the "new" singer in Sweet after three years is a debate) says, "right then, Birmingham! Imagine it's the 70s, and you're at Top Of The Pops!" and with that, the crowd chant begins: "We want Sweet, we want Sweet!" And, all of a sudden, there's a sense that this goes from a fine gig to something just a little bit more.
They'd just done a medley of "Wig Wam Bam/Little Willie" (you perhaps don't want to get the latter stuck in your head in 2021 for feat of funny looks) and after the chant they race through "Teenage Rampage".
Even in my mid-40s I am amongst the youngest here, so the days of teenage anything are way in the past. I don't even say that facetiously either, more to talk about the crowd reaction as about 1000 people in the beautiful Birmingham Town Hall go crazy, but even more to talk about the longevity of the band.
At 8.30 they'd sort of shambled out, Andy Scott, second to last, pretending to look sheepish in case there was no one in, and the man who is basically "Mr Sweet" and has been for over 50 years, plays the riff that heralds "Action", and its aptly named too, because for 90 minutes this is action packed and superbly paced.
"The New York Groove", well, grooves (I was going to say "stomped" but they all stomp, listen to "Hell Raiser" and you almost can't stop stomping yourself) but what is perhaps most interesting is that for every hit – "The Six Teens" for example – there's some other stuff too.
A couple from their greatest hits collection "The Ultimate Story" ("did you buy it? Enquires Scott. "No? It's a good job the effing Germans did then!") and both "Defender" and "Everything" are tremendous and perhaps shows, as Scott says a couple of times, that this is a group that's looking forward.
"Windy City" a fan favourite, back for this tour on request, but there's a race to the end that "….Bam" and the rest usher in. "Love Is Like Oxygen" is combined marvellously with "Fanfare For The Common Man" as Tom, the young keyboard player and guitarist that is a vital part of the band excels, and "Fox On The Run" ends the show.
Except it doesn't. Everyone knows there's two more coming. "Blockbuster" is just that and there's one about a man at the back and everyone attacking, or something, and lets be fair, that song is precisely one year older than me and if it came out tomorrow I'd buy the thing and it'd still be a classic. And yes I was 16 when Wayne's World came out, I didn't know it was a cover when she did it….
The Sweet are a fabulous band, that's kind of a given. You don't get to do this for over 50 years if you aren't, you don't get a string of hit singles as long as your arm and you don't get people this excited. However, there's something more and its something Andy Scott said when he introduced the band: "We have a laugh, now" he told the crowd. That's more important than you think, because when a superb band is happy and contented and its line up is the best in years, nights like this are the end result.
THE GIG CARTEL and PLANET ROCK PRESENTS
SWEET "HELLRAISER"
DECEMBER 2021 UK TOUR
WITH SPECIAL GUEST
TROY REDFERN
TICKETS ON SALE via
www.thegigcartel.com/Artists-profiles/The-Sweet.htm
24 HR BOX OFFICE: 08444 780 898
Shrewsbury, The Buttermarket
Bexhill, De La Warr Pavilion
Norwich, The Waterfront
Sunday 5 December 2021
Newcastle, Boiler Shop
Glasgow, The Garage
Edinburgh, Queen's Hall
Holmfirth, Picturedrome
Cardiff, University SU
Manchester, Academy
Nottingham, Rock City
Bury St Edmunds, The Apex
Previous articleBAND OF THE DAY: A'PRIORI
Next articleBUILD A BRIDGES

redpajama_set_name: RedPajamaCommonCrawl


text:
REPORT "The First Gay Trapero" Kevin Fret Shot Dead While On Boat In Puerto Rico
First Gay Trapero Kevin Fret Shooting Puerto Rico, Kevin Fret killed ided cause death boating accident morta
PUERTO RICO. (THECOUNT) — Kevin Fret, known as "The First Gay Trapero" was killed in the early hours of today while he was on a motorboat in Puerto Rico in events that are still being investigated, reports rapeton.com
Fret, 24, was traveling in a motorboat at about 5:31 in the morning for the aforementioned place, when he was hit by unknown persons who shot him eight times, according to preliminary information.
The artist was referred in an emergency to the Medical Center in Río Piedras where he was pronounced dead. source
Developing.
Puerto Rico is a Caribbean island and unincorporated U.S. territory with a landscape of mountains, waterfalls and the El Yunque tropical rainforest. In San Juan, the capital and largest city, the Isla Verde area is known for its hotel strip, beach bars and casinos. Its Old San Juan neighborhood features colorful Spanish colonial buildings and El Morro and La Fortaleza, massive, centuries-old fortresses, source wikipedia.
Pittsburgh Allderdice HS Student Shot Dead Wednesday Featured In 2014 WESA NPR Special
Female Shreveport Officer Killed By Boyfriend In Case Of 'Domestic Violence' Say Officials


While a more transparent process would be preferable for all sorts of reasons… the Mayor is not required to do any sort of search process for most of the Director positions — and generally has the authority to hire and fire her cabinet at will.
There is also a valid argument to be made about why anyone who is well-qualified would apply to lead a department that is currently looking at possibly passing 1/3 of its employees, work, etc. to a new regional entity governing homelessness. In such circumstances why NOT preference continuing leadership and someone with regional human services ties over some sort of major search?
If in fact, CM Sawant has not held regular meetings of her committee, that is a valid criticism. However, if the Mayor has not conducted a search for the new director of Human Services, that is also a valid criticism. One does not negate the other.


With the perfect combo of length, lining and waterproofing the Aftermath Insulated Jacket is an on-hill essential. This V-Science 2-layer shell jacket features our breathable lining system along with a light lining, a longer fit to keep dry, and critical taped seams. Also includes kid-friendly extras like a soft suede chin guard, helmet friendly hood and cozy handwarmer pockets.
Keeping your kids injury free is our priority, which is why our Youth Safe Hood System is designed to meet international safety regulations. To keep our hood in place while they're riding, and to eliminate dangerous dangling cords, we've streamlined our design and included an elastic panel inside the brim.
While helmets offer essential protection, some extra blustery days still call for the comfort of a hood. Our exclusive Helmet Compatible design makes it easy to hide a little one's head from the cold while keeping it completely ready for anything that comes their way.


Harbour House offers an incredible location, as well as the luxurious amenities and services one would expect of a property of this caliber. The property is just a few minutes removed from the Shops at Bal Harbour, and provides immediate access to the area's stunning waterfront. Of course, greater Miami is only minutes away via car, while South Beach is also quite close. Other area attractions include the city of Fort Lauderdale, Sunny Isles Beach, Golden Beach, Miami Beach and more. Travelers will find that two international airports are nearby, with one located in Fort Lauderdale and one in Miami.
The property offers a wide range of amenities for owner and guest enjoyment. In addition, the property has 16 floors, across which are located 457 residences, ranging from studios to 1, and 2 bedrooms units. Amenities on property include a fitness and health spa, as well as a large swimming pool. The pool is surrounded by a spacious sundeck so visitors can soak up the rays of the warm Florida sun. The fitness center offers a wide range of workout equipment, while the Pilates room is an excellent option for an alternative fitness regimen. The juice bar provides refreshing healthful drinks, as well.
Guests will enjoy one assigned parking space per unit, as well as the controlled access to the property. 24 hour security is also provided throughout the grounds. Valet parking is also available for greater convenience and enjoyment. The poolside bar and barbeque area is an excellent option for relaxation, and the outdoor spa area is a new addition. Finally, the onsite market and café is a convenient option for sundries or light snacks throughout the day and the concierge desk is open 24 hours per day for convenience.
Each of the units on property features a wide range of top quality amenities. In each unit, guests will find dramatic window-walls, as well as tinted sliding glass doors leading out to spacious patios and balconies. Kitchens are furnished with European cabinets, as well as granite or marble countertops. Living rooms and bedrooms feature carpeting, while the kitchens and baths are fully tiled. Each kitchen also features top of the line appliances, including gas stovetops. All floor plans are oversized in order to ensure maximum enjoyment during a stay on property.
Harbour House is a delightful option for anyone who desires comfortable condo living in the heart of paradise.


text:
The Century Illustrated Monthly Magazine, Volumen13;Volumen35
secession; and in reply to these Alexander H. Stephens addressed the Legislature by special invitation on the 14th of November. It was the greatest effort of his life, and takes rank as the ablest speech made by a Southerner in opposition to disunion. The occasion appears to have been one of great excitement. Toombs sat on the platform beside the speaker, and interlarded the address with his cynical interrogatories and comments, which Stephens met in every instance with successful repartee.
The speaker declared that to secede in consequence of Lincoln's election was to break the Constitution, and show bad faith. "We went into the election with this people," said he. "The result was different from what we wished; but the election has been constitutionally held." Mr. Lincoln could do the South no harm against an adverse House and Senate. This government, with all its defects, came nearer the object of all good governments than any other on the face of the earth. One by one he refuted the charges and complaints which had been advanced by Toombs, and warned his hearers against the perils of sudden disunion. Liberty once lost might never be restored. Georgia had grown great, rich, and intelligent in the Union.
so, I have but little doubt, with a view to a more certain re-formation of the Union."*
To understand this statement more thoroughly, it must be added that Mr. Stephens's great Union speech was also enthusiastically hailed by the North as a sign of firm allegiance. But that part of the country totally misapprehended its spirit and object. With all his eloquently asserted devotion to the Union, he was a pro-slavery man of the most ultra type. He defended the institution upon the higher-law" doctrine. "If slavery," said he, "as it exists with us is not best for the African, constituted and made as he is, if it does not best promote his welfare and happiness, socially, morally, and politically, as well as that of his master, it ought to be abolished." He believed slavery should be protected in the Territories by Federal law. He did not go quite to the extent of advocating a revival of the African slave-trade; but went so far as to suggest that without such a reopening the South could not maintain her coveted balance of power. "If the policy of this country," said he, "settled in its early history, of prohibiting further importations or immigrations of this class of population, is to be adhered to, the race of competition between us and our brethren of the North in the colonization of new States, which heretofore has been so well maintained by us, will soon have to be abandoned."‡
"I look upon this country, with our institutions," continued he," as the Eden of the world, the Paradise of the Universe. It may be that out of it we may be come greater and more prosperous; but I am candid and sincere in telling you that I fear if we yield to passion, and without sufficient cause shall take that instead of becoming greater, or more peaceful, prosperous, and happy instead of becoming gods we will become demons, and at no distant day commence cutting one another's throats."
step,
So again, while he asserted that the South had lost nothing, but gained much through the slavery agitation, and while he maintained that she was menaced by no danger, he had been for nearly ten years a conditional disunionist. During the agitation of 1850, a convention of Georgia passed certain resolutions, known as the "Georgia platform." The resolutions declared the acceptance of the Compromise of 1850 as a "permanent adjustment"; and then went on to threaten disunion in case that adjustment were violated.§ This "Georgia platform " was Mr. Stephens's rallying-ground and stronghold; latterly he had extended it by including personal liberty bills as a cause of disunion. He loved the Union, but he held
The speech created an immense sensation throughout the South, and but for an artful trick of the secessionists would have arrested and changed the immediate tide of secession in Georgia. Seeing that the underlying Union feeling was about to endanger their scheme of revolt, through a defection or hesitation on the part of the Empire State of the South, they devised an adroit plea to appropriate its whole force to further their own plans. They persistently urged that "we can make better terms out of the Union than in it." Mr. Stephens the Union secondary to the Georgia platform; himself has explained the misrepresentation and its result."Two-thirds at least of those who voted for the ordinance of secession did Stephens," War Between the States," Vol. II., p.321. Stephens, Farewell Speech, Augusta, Ga., July 2d, 1859. Cleveland, "Life of Stephens," p. 650. Ibid., p. 647.
"Fourth. That the State of Georgia, in the judgment of this convention, will, and ought to resist, even (as a last resort) to a disruption of every tie which binds her to the Union, any future act of Congress abolishing slavery in the District of Columbia, without the consent and petition of the slave-holders thereof, or any act abolishing slavery in places within the slaveVOL. XXXV.-12.
and he opposed secession because he thought it a departure from this platform. "Not only a departure from the Georgia platform," said holding States, purchased by the United States for the erection of forts, magazines, arsenals, dock-yards, navyyards, and other like purposes; or in any act suppressing the slave-trade between slave-holding States; or in any refusal to admit as a State any territory apply. ing, because of the existence of slavery therein; or in any act prohibiting the introduction of slaves into the territories of Utah and New Mexico; or in any act repealing or materially modifying the laws now in force for the recovery of fugitive slaves."-[Stephens," War Between the States," Vol. II., p. 676. ]
he," and from the long-established principles of the national Democratic party, but an entire change of position of the entire South, of all parties, not of all individuals, in relation to the power and jurisdiction of the Federal Government over the subject of African slavery." Still further when the disruption of the Charleston convention paralyzed the Democratic party, Mr. Stephens lost heart. He thought the times out of joint. He saw no further prospect of doing good. The popular
fever must run its course. If disunion came he avowed he would yield to the misfortune. His destiny, he said, lay with Georgia and the South. It will appear from this that if Mr. Stephens was not a flexible reasoner, he was a most unsafe political mentor. Yet, out of this lethargy of conviction and will came the splendid outburst of patriotic eloquence and Union argument of his Milledgeville speech; only to be marred, however, at its close by renewed adhesion to the Georgia platform, and a new subserviency to the "will of Georgia." The newspapers brought the report of Mr. Stephens's speech to Springfield, the home of
Mr. Lincoln, as well as to all other Northern cities, and the President-elect read its stirring periods with something of the general hope that a gleam of light was shining upon dark places. Like other men in the North, he had no means of knowing the eccentricities of Mr. Stephens's principles and policy, and therefore probably shared the general error of overvaluing his expressions of attachment to the Union. He had personally known him as fellow-congressman and a fellow-whig in 1847-9; they had become co-laborers in their advocacy of the nomination and election of General Taylor to the presidency, and through these associations contracted a warm social and political friendship.
It was, therefore, most natural that, upon reading his reported speech Mr. Lincoln addressed a note of a few lines to Mr. Stephens, asking him for a revised copy; and that this note led to a short but most interesting correspondence.
Mr. Stephens replied courteously, saying that his speech had not been revised by him; that while the newspaper report contained several verbal inaccuracies, its main points were sufficiently clear for all practical purposes. The note closed with the following sentence "The country is certainly in great peril, and no man ever had heavier or greater responsibilities resting upon him than you have in the present momentous crisis." The phrase seemed to open the way to a confidential interchange
Stephens, Augusta Speech, Sept. 1st, 1860. Cleveland, p. 692.
of thought; and a few days afterwards Mr. Lincoln wrote the following frank letter: "For your own eye only.
"SPRINGFIELD, ILL., Dec. 22d, 1860. "HON. A. H. STEPHENS. "MY DEAR SIR: Your obliging answer to my short note is just received, and for which please accept my thanks. I fully appreciate the present peril the country is in, and the weight of responsibility on me. Do the people of the South really entertain fears that a Republican administration would, directly or indirectly, interfere with the slaves, or with them about the slaves? If they do, I wish to answer you, as once a friend, and still, I hope, not an enemy, that there is no cause for such fears. The South would be in no more danger in this respect than it was in the time of Washington. I suppose, however, this does not meet the case. You think slavery is right and ought to be extended, while we think it is wrong and ought to be restricted. That, I suppose, is the rub. It certainly is the only substantial difference between us. Yours very truly, "A. LINCOLN."‡
With equal frankness Mr. Stephens, under date of December 30th, wrote back a long reply, which is conspicuous for its candid admissions. Premising that though differing from him politically he was not Mr. Lincoln's enemy, Mr. Stephens proceeds as follows:
"I will also add that in my judgment the people of the South do not entertain any fears that a Republican administration, or at least the one about to be inaugurated, would attempt to interfere directly and immediately with slavery in the States. Their apprehension and disquietude do not spring from that source. They do not arise from the fact of the known antislavery opinother Presidents are generally admitted to have been ions of the President-elect. Washington, Jefferson, and antislavery in sentiment. But in those days antislavery did not enter as an element into party organizations.... But now this subject, which is conof the Government so far as the States are concerned, fessedly on all sides outside of the constitutional action is made the central idea in the platform of principles announced by the triumphant party. The leading object seems to be simply, and wantonly, if you please, to put the institutions of nearly half the States under the ban of public opinion and national condemnation. This, upon general principles, is quite enough of itself to arouse a spirit not only of general indignation, but of revolt on the part of the proscribed.... We at the South do think African slavery, as it exists with us, both morally and politically right. This opinion is formed upon the inferiority of the black race; you, however, and perhaps a majority of the North, think it wrong. Admit the difference of opinion. The same difference those who formed the Constitution when it was made of opinion existed to a more general extent amongst and adopted. The changes have been mainly to our side. As parties were not formed on this difference of opinion then, why should they be now? The same difference would, of course, exist in the supposed case of religion. When parties, or combinations of men, therefore, so form themselves, must it not be assumed to arise not from reason or any sense of justice, but from fanaticism? The motive can spring from no other source, and when men come under the influence of fanaticism, there is no telling where their impulses or passions may drive them. This is what creates our
Stephens to Landrum, July 1st, 1860. Cleveland, P. 672. Stephens," War Between the States," Vol. II., p. 266.
discontent and apprehension. . . . Conciliation and harmony, in my judgment, can never be established by force. Nor can the Union, under the Constitution, be maintained by force. The Union was formed by the consent of Independent Sovereign States. Ultimate sovereignty still resides with them separately, which can be resumed, and will be, if their safety, tranquillity, and security in their judgment require it. Under our system, as I view it, there is no rightful power in the general government to coerce a State in case any one of them should throw herself upon her reserved rights, and resume the full exercise of her sovereign powers. Force may perpetuate a Union—that depends upon the contingencies of war. But such a Union would not be the Union of the Constitution: it would be nothing short of a consolidated despotism."
Mr. Lincoln could not, of course, enter upon a further discussion of the topics raised, and made no reply to Mr. Stephens's letter. The correspondence is noteworthy as showing how both writers agreed perfectly upon the actual and underlying cause of the political crisis, vis., that the South believed slavery to be right and ought to be extended, while the North believed it was wrong and ought to be restricted. It was a conflict of public opinion. Such conflicts have come in all times, in all nations, and under all forms of government. They have sprung from every passion of the human soul, ambition, avarice, the generous affection of kindred nations, and the deadly hatred of religious fanaticism. But, admitting the existence of such a conflict of opinion, the true and legitimate inquiry arises, Was it a proper cause of war?
History must answer this question unhesitatingly and emphatically in the negative. In ages happily passed, the anger of a king, the caprice of a mistress, or the ambition of a minister has often deluged a nation in blood. But in our day the conscience of civilization demands that the sword shall only defend the life of governments, or the life, liberty, and property of their subjects. It has ordained that written constitutions should decide claims of rulers and rights of citizens. Casuistry the most adroit could not prove the right of the free States to expel the slave-States for believing the institution of slavery to be a substantial blessing; equally absurd was the doctrine that the slave-States had a right to destroy the Union by secession because the free States thought slavery a moral, social, and political evil. Upon this question, as upon all others, public opinion was the arbiter appointed by the Constitution and laws. Upon this question the lawful and constitutional verdict had been pronounced by the election of Lincoln; and the proper duty of the
South under the circumstances had been admirably stated by Mr. Stephens himself in his Milledgeville speech: "In my judgment the election of no man constitutionally chosen to that high office, is sufficient cause for any
Stephens," War Between the States," Vol. II., pp. 267-70.
State to separate from the Union. It ought to stand by and aid still in maintaining the Constitution of the country."†
Mr. Stephens's letter utterly ignored the existence of the pro-slavery sentiment in the South, which had for six years been united and unceasing in party affiliation and action; that this party action had wrought the repeal of the Missouri Compromise in violation of plighted political faith, and generous comity between sections. Moreover that antislavery opinions had there been not only under ban of public sentiment, but had notoriously for years been visited with mob violence, and been made the subject of prohibitory penal statutes. The experiment of a sentimental union dreamed by Stephens and others had been fully tried in the compromise of 1850, and first and flagrantly violated by the South herself, under party coalition, against every appeal and protest.
QUESTIONS AND ANSWERS.
ONE of the vexatious duties of Lincoln was to answer the importunings of a class of sincere, intelligent, but timid men, alarmed by the signs of disunion, who besought him to make some public statement or declaration to quiet the South. Requests of this character were not confined to one party, but came from all; the more considerable numbers being from Republicans and from Southern unionists or followers of Bell and Everett. The great bulk of these letters were, of course, never answered; but occasionally one was received from a man of such standing and influence that to ignore it would not only seem ungracious, but might subject the President-elect to more serious misrepresentation than it had already been his lot to endure. Both to show a prominent phase of current politics and his manner of dealing with it, several replies of this class are laid before the reader.
Thus, for instance, he wrote, confidentially, to Mr. William S. Speer, a citizen of Tennessee, under date of October 23d:
"I appreciate your motive when you suggest the propriety of my writing for the public something disclaiming all intention to interfere with slaves or slavery in the States; but in my judgment it would do no good. I have already done this many, many times; and it is in print, and open to all who will read. Those who will not read or heed what I have already publicly said would not read or heed a repetition of it. If they hear not Moses and the prophets, neither will they be persuaded though one rose from the dead." "‡
Among the political newspapers of the West, none had for many years taken a higher rank or wielded a greater influence than the "Louisville Journal." It had in a manner been Mr. Lincoln's primer in politics in those early days + Cleveland, p. 696.
Lincoln to Speer, Oct. 23d, 1860. Unpublished MS.
when he labored through Blackstone, or even farther back when he was yet struggling with Kirkham's grammar on the shady knolls of New Salem. Compared with these rocks and pitfalls of letters, the anecdotes, the wit, the epigrammatic arguments of the "Louisville Journal" were a very garden of delight, not only to Lincoln, but to the crude yet knowledge-hungry intellects of the whole Mississippi Valley. In time the "Journal" became a great luminary, and the name of its witty editor a household word. For long years it was a beacon and watchtower of the Whig party; then the Pandora's box of the Nebraska bill was opened; and when finally in the extraordinary campaign of 1860 Lincoln read this once-favorite sheet, it was to find himself the victim of its satire and depreciation. Victory, however, is a sovereign balm for detraction; and it must have been easy for him to forgive his old friend George D. Prentice when the latter wrote him (October 26th): "There is evidently a very strong probability of your being elected to the presidency by the popular vote." Expressing the "strongest" confidence in both his "personal and political integrity," he suggests that in the event of his election he should publish a letter setting forth his conservative views and intentions, " to assure all good citizens of the South and to take from the disunionists every excuse or pretext for treason."* To this appeal Mr. Lincoln prepared a reply, October 29th, though it was not then sent. "Your suggestion," wrote he, "that I in a certain event shall write a letter setting forth my conservative views and intentions, is certainly a very worthy one. But would it do any good? If I were to labor a month, I could not express my conservative views and intentions more clearly and strongly than they are expressed in our platform and in my many speeches already in print and before the public. And yet even you, who do occasionally speak of me in terms of personal kindness, give no prominence to these oft-repeated expres sions of conservative views and intentions, but busy yourself with appeals to all conservative men to vote for Douglas, to vote any way which can possibly defeat me,- thus impressing your readers that you think I am the very worst man living. If what I have already said has failed to convince you, no repetition of it would convince you. The writing of your letter, now before me, gives assurance that you would publish such a letter from me as you suggest; but, till now, what reason had I to suppose the 'Louisville Journal,' even, would publish a repetition of that which is already at its command, and which it does not press upon the public attention? And now, my friend,- for such I esteem you personally, do not misunderstand me. I have not decided that I will not do substantially what you suggest. I will not forbear from doing so merely on punctilio and pluck. If I do finally abstain, it will be because of apprehension that it would do harm. For the good men of the South-and I regard the majority of them as such-I have no objection to repeat seventy and seven times. But I have bad men also to deal with, both North and South; men who are eager for something * Prentice to Lincoln, Oct. 26th, 1860. Unpublished MS. + Lincoln to Prentice, Oct. 29th, 1860. Unpublished MS.
new upon which to base new misrepresentations; men who would like to frighten me, or at least to fix upon me the character of timidity and cowardice. They would seize upon almost any letter I could write as being an awful coming down.' I intend keeping my eye upon these gentlemen, and to not unnecessarily put any weapons in their hands."†
On the 16th of November he wrote a letter of very similar purport to Mr. N. Paschal, editor of the "Missouri Republican."
This letter was withheld till after election.
"I could say nothing which I have not already said, and which is in print, and accessible to the public. Please pardon me for suggesting that if the papers like yours, which heretofore have persistently garbled and misrepresented what I have said, will now fully and fairly place it before their readers, there can be no further misunderstanding. I beg you to believe me sincere, when I declare I do not say this in a spirit of complaint or resentment; but that I urge it as the true cure for any real uneasiness in the country, that my course may be other than conservative. The Republican newspapers now and for some time past are and have been republishing copious extracts from my many published speeches, which would at once reach the whole public if your class of papers would also publish them. I am not at liberty to shift my ground- that is out of the question. If I thought a repetition would do any good itive harm. The secessionists per se, believing they I would make it. But in my judgment it would do poshad alarmed me, would clamor all the louder."
With solicitations of this nature coming in part from his political friends, Mr. Lincoln was not only as firm and decided, but more emphatic and unsparing in criticism. On November 5th, the day before the presidential election, there arrived at Springfield, and called upon the President-elect, a gentleman from New England of some prominence in political and official life, who brought and presented letters of this same tenor from a considerable number of citizens representing business, commercial, and manufacturing industries of that region. He was one of those keen, incisive talkers who went direct to the heart of his mission.
"I have called to see," he said, "if the alarms of many persons in New England engaged in commerce and manufactures cannot by some means be relieved. I am myself largely interested in manufactures. Our trade has fallen off, our workmen are idle, we get no orders from the South, and with the increasing chances of civil war, bankruptcy and ruin stare us in the face."
Something in the persistence and manner of his interlocutor, something in the tone of the letters presented, and still more in the character of the signers, quickly irritated Lincoln to a warmth of retort he seldom reached until after long provocation. He divined at once the mercenary nature of the appeal about to be tried on him, and it roused him to repel the pressure. His visitor closed by asking some
conservative promise "to reassure the men honestly alarmed."
"There are no such men," bluntly replied Lincoln. "This is the same old trick by which the South breaks down every Northern victory. Even if I were personally willing to barter away the moral principle involved in this contest for the commercial gain of a new submission to the South, I would go to Washington without the countenance of the men who supported me and were my friends before the election; I would be as powerless as a block of buckeye wood."
The man still insisted, and Lincoln continued:
"The honest men (you are talking of honest men) will look at our platform and what I have said. There they will find everything I could now say, or which they would ask me to say. All I could add would be but repetition. Having told them all these things ten times already, would they believe the eleventh declaration ? Let us be practical. There are many general terms afloat, such as 'conservatism,' enforcement of the irrepressible conflict at the point of the bayonet,' 'hostility to the South,' etc., all of which mean nothing without definition. What then could I say to allay their fears, if they will not define what particular act or acts they fear from me or my friends?"
At this stage of the conversation his visitor, who with true military foresight had provided a reserve, handed him an additional letter numerously signed, asking if he did not there recognize names that were a power.
"Yes," retorted Lincoln sharply, glancing at the document, "I recognize them as a set of liars and knaves who signed that statement about Seward last year."
The visitor was taken aback at this familiarity with the local politics of his State, but rallied and insisted that there were also other names on the list. Lincoln now looked through the paper more carefully, his warmth meanwhile cooling down a little.
"Well," answered he, laughing, "after reading it, it is about as I expected to find it. It annoyed me to hear that gang of men called respectable. Their conduct a year ago was a disgrace to any civilized citizen."
Here his visitor suggested that the South was making armed preparations.
"The North," answered Lincoln, "does not fear invasion from the slave-States, and we of the North certainly have no desire, and never had, to invade the South. They have talked about what they intend to do in the event of a Black Republican victory, until they have convinced themselves there is really no courage
left in the North."
VOL. XXXV.-13.
GEORGE D. PRENTICE. (FROM A PHOTOGRAPH BY BRADY.)
"Have we backed this time?" interrupted the visitor.
"That is just what I am pressed to do now," replied Lincoln. "If I shall begin to yield to these threats, if I begin dallying with them, the men who have elected me (if I shall be elected) would give me up before my election, and the South, seeing it, would deliberately kick me out. If my friends should desire me to repeat anything I have before said, I should have no objection to do so. If they required me to say something I had not yet said, I would either do so or get out of the way. If I should be elected, the first duty to the country would be to stand by the men who elected me."*
Still, from time to time the point was pressed upon him from other influential quarters. Mr. Raymond, editor of the "New York Times," joined in urging it. Lincoln, on November 28th, answered him confidentially as follows:
"Yours of the 14th was received in due course. I have delayed so long to answer it, because my reasons for not coming before the public in any form just now had substantially appeared in your paper (the Times'), and hence I feared they were not deemed sufficient by you, else you would not have written me as you did. I now think we have a demonstration in favor of my view. On the 20th instant Senator Trumbull made a short speech, which I suppose you have both seen and approved. Has a single newspaper, heretofore against us, urged that speech upon its readers with a purpose to quiet public anxiety? Not one, so far as I know. On the contrary, the Boston Courier' and its class hold me responsible for that speech, and endeavor to inflame the North with the belief that it foreshadows coming administration; while the Washington Conan abandonment of Republican ground by the institution' and its class hold the same speech up to the South as an open declaration of war against them. This is just as I expected, and just what would happen *Nicolay, Manuscript memoranda.


text:
package org.onosproject.faultmanagement.impl;

import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Lists;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.onlab.junit.TestTools;
import org.onlab.junit.TestUtils;
import org.onlab.util.ItemNotFoundException;
import org.onosproject.common.event.impl.TestEventDispatcher;
import org.onosproject.event.Event;
import org.onosproject.incubator.net.faultmanagement.alarm.Alarm;
import org.onosproject.incubator.net.faultmanagement.alarm.AlarmEntityId;
import org.onosproject.incubator.net.faultmanagement.alarm.AlarmEvent;
import org.onosproject.incubator.net.faultmanagement.alarm.AlarmId;
import org.onosproject.incubator.net.faultmanagement.alarm.AlarmListener;
import org.onosproject.incubator.net.faultmanagement.alarm.AlarmProvider;
import org.onosproject.incubator.net.faultmanagement.alarm.AlarmProviderRegistry;
import org.onosproject.incubator.net.faultmanagement.alarm.AlarmProviderService;
import org.onosproject.incubator.net.faultmanagement.alarm.DefaultAlarm;
import org.onosproject.mastership.MastershipService;
import org.onosproject.mastership.MastershipServiceAdapter;
import org.onosproject.net.DefaultAnnotations;
import org.onosproject.net.DefaultDevice;
import org.onosproject.net.Device;
import org.onosproject.net.DeviceId;
import org.onosproject.net.MastershipRole;
import org.onosproject.net.NetTestTools;
import org.onosproject.net.device.DeviceEvent;
import org.onosproject.net.device.DeviceListener;
import org.onosproject.net.device.DeviceServiceAdapter;
import org.onosproject.net.provider.AbstractProvider;
import org.onosproject.store.service.TestStorageService;

import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import static junit.framework.TestCase.assertFalse;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.onosproject.incubator.net.faultmanagement.alarm.Alarm.SeverityLevel.CLEARED;
import static org.onosproject.incubator.net.faultmanagement.alarm.Alarm.SeverityLevel.CRITICAL;
import static org.onosproject.net.NetTestTools.PID;

/**
 * Alarm manager test suite.
 */
public class AlarmManagerTest {

    private static final DeviceId DEVICE_ID = DeviceId.deviceId("foo:bar");

    private static final String UNIQUE_ID_1 = "unique_id_1";
    private static final String UNIQUE_ID_2 = "unique_id_2";
    private static final AlarmId A_ID = AlarmId.alarmId(DEVICE_ID, UNIQUE_ID_1);
    private static final AlarmId B_ID = AlarmId.alarmId(DEVICE_ID, UNIQUE_ID_2);
    private static final DefaultAlarm ALARM_A = new DefaultAlarm.Builder(A_ID,
            DEVICE_ID, "aaa", Alarm.SeverityLevel.CRITICAL, 0).build();

    private static final DefaultAlarm ALARM_A_CLEARED = new DefaultAlarm.Builder(ALARM_A)
            .clear().build();

    private static final DefaultAlarm ALARM_A_WITHSRC = new DefaultAlarm.Builder(
            ALARM_A).forSource(AlarmEntityId.alarmEntityId("port:foo")).build();

    private static final DefaultAlarm ALARM_B = new DefaultAlarm.Builder(B_ID,
            DEVICE_ID, "bbb", Alarm.SeverityLevel.CRITICAL, 0).build();

    private AlarmManager manager;
    private DistributedAlarmStore alarmStore;
    private AlarmProviderService providerService;
    private TestProvider provider;
    protected AlarmProviderRegistry registry;
    protected TestListener listener = new TestListener();
    private final MastershipService mastershipService = new MockMastershipService();
    protected final MockDeviceService deviceService = new MockDeviceService();

    private final Device device = new MockDevice(DEVICE_ID);

    @Rule
    public final ExpectedException exception = ExpectedException.none();

    @Before
    public void setUp() throws Exception {
        alarmStore = new DistributedAlarmStore();
        TestUtils.setField(alarmStore, "storageService", new TestStorageService());
        alarmStore.activate();
        manager = new AlarmManager();
        registry = manager;
        manager.addListener(listener);
        NetTestTools.injectEventDispatcher(manager, new TestEventDispatcher());
        manager.deviceService = deviceService;
        manager.mastershipService = mastershipService;
        manager.store = alarmStore;
        manager.activate();
        provider = new TestProvider();
        providerService = registry.register(provider);
    }

    @Test
    public void deactivate() throws Exception {
        providerService.updateAlarmList(DEVICE_ID, ImmutableSet.of(ALARM_B, ALARM_A));
        verifyGettingSetsOfAlarms(manager, 2, 2);
        alarmStore.deactivate();
        manager.removeListener(listener);
        manager.deactivate();
        NetTestTools.injectEventDispatcher(manager, null);
        assertFalse("Store should not have delegate", alarmStore.hasDelegate());
    }

    @Test
    public void testGettersWhenNoAlarms() {

        assertTrue("No alarms should be present", manager.getAlarms().isEmpty());
        assertTrue("No active alarms should be present", manager.getActiveAlarms().isEmpty());
        assertTrue("The map should be empty per unknown device",
                   manager.getAlarmCounts(DeviceId.NONE).keySet().isEmpty());
        assertTrue("The counts should be empty", manager.getAlarmCounts().keySet().isEmpty());

        assertEquals("Incorrect number of alarms for unknown device",
                     0, manager.getAlarms(DeviceId.NONE).size());
        assertEquals("Incorrect number of major alarms for unknown device",
                     0, manager.getAlarms(Alarm.SeverityLevel.MAJOR).size());

        exception.expect(NullPointerException.class);
        manager.getAlarm(null);

        exception.expect(ItemNotFoundException.class);
        manager.getAlarm(AlarmId.alarmId(DEVICE_ID, "unique_3"));
    }

    @Test
    public void testAlarmUpdates() throws InterruptedException {

        assertTrue("No alarms should be present", manager.getAlarms().isEmpty());
        providerService.updateAlarmList(DEVICE_ID, ImmutableSet.of());
        assertTrue("No alarms should be present", manager.getAlarms().isEmpty());
        Map<Alarm.SeverityLevel, Long> zeroAlarms = new CountsMapBuilder().create();
        assertEquals("No alarms count should be present", zeroAlarms, manager.getAlarmCounts());
        assertEquals("No alarms count should be present", zeroAlarms, manager.getAlarmCounts(DEVICE_ID));

        providerService.updateAlarmList(DEVICE_ID, ImmutableSet.of(ALARM_B, ALARM_A));
        verifyGettingSetsOfAlarms(manager, 2, 2);
        validateEvents(AlarmEvent.Type.CREATED, AlarmEvent.Type.CREATED);
        Map<Alarm.SeverityLevel, Long> critical2 = new CountsMapBuilder().with(CRITICAL, 2L).create();
        assertEquals("A critical should be present", critical2, manager.getAlarmCounts());
        assertEquals("A critical should be present", critical2, manager.getAlarmCounts(DEVICE_ID));

        Alarm updated = manager.updateBookkeepingFields(ALARM_A.id(), true, false, null);
//        providerService.updateAlarmList(DEVICE_ID, ImmutableSet.of(ALARM_A));
        verifyGettingSetsOfAlarms(manager, 2, 1);
        validateEvents(AlarmEvent.Type.UPDATED);
        Map<Alarm.SeverityLevel, Long> critical1cleared1 =
                new CountsMapBuilder().with(CRITICAL, 1L).with(CLEARED, 1L).create();
        assertEquals("A critical should be present and cleared", critical1cleared1,
                     manager.getAlarmCounts());
        assertEquals("A critical should be present and cleared", critical1cleared1,
                     manager.getAlarmCounts(DEVICE_ID));

        // No change map when same alarms sent
        providerService.updateAlarmList(DEVICE_ID, ImmutableSet.of(updated));
        verifyGettingSetsOfAlarms(manager, 2, 1);
        validateEvents();
        assertEquals("Map should not be changed for same alarm", critical1cleared1,
                     manager.getAlarmCounts());
        assertEquals("Map should not be changed for same alarm", critical1cleared1,
                     manager.getAlarmCounts(DEVICE_ID));

        providerService.updateAlarmList(DEVICE_ID, ImmutableSet.of(updated, ALARM_A_WITHSRC));
        verifyGettingSetsOfAlarms(manager, 2, 2);
        validateEvents(AlarmEvent.Type.UPDATED);
        Map<Alarm.SeverityLevel, Long> critical2cleared1 =
                new CountsMapBuilder().with(CRITICAL, 2L).create();
        assertEquals("A critical should be present", critical2cleared1, manager.getAlarmCounts());
        assertEquals("A critical should be present", critical2cleared1, manager.getAlarmCounts(DEVICE_ID));

        providerService.updateAlarmList(DEVICE_ID, ImmutableSet.of());
        verifyGettingSetsOfAlarms(manager, 2, 2);
        validateEvents();
        assertEquals(new CountsMapBuilder().with(CRITICAL, 2L).create(),
                     manager.getAlarmCounts(DEVICE_ID));

        assertEquals("The counts should be empty for unknown devices", zeroAlarms,
                     manager.getAlarmCounts(DeviceId.NONE));
        assertEquals("The counts should be empty for unknown devices", zeroAlarms,
                     manager.getAlarmCounts(DeviceId.deviceId("junk:junk")));

    }

    @Test
    public void testRemoveWhenDeviceRemoved() {
        providerService.updateAlarmList(DEVICE_ID, ImmutableSet.of(ALARM_B, ALARM_A));
        verifyGettingSetsOfAlarms(manager, 2, 2);
        validateEvents(AlarmEvent.Type.CREATED, AlarmEvent.Type.CREATED);
        Map<Alarm.SeverityLevel, Long> critical2 = new CountsMapBuilder().with(CRITICAL, 2L).create();
        assertEquals("A critical should be present", critical2, manager.getAlarmCounts());
        assertEquals("A critical should be present", critical2, manager.getAlarmCounts(DEVICE_ID));
        deviceService.deviceListener.event(new DeviceEvent(DeviceEvent.Type.DEVICE_REMOVED, device));
        Map<Alarm.SeverityLevel, Long> zeroAlarms = new CountsMapBuilder().create();
        assertEquals("The counts should be empty for removed device", zeroAlarms,
                manager.getAlarmCounts(DEVICE_ID));

    }

    private void verifyGettingSetsOfAlarms(AlarmManager am, int expectedTotal, int expectedActive) {
        assertEquals("Incorrect total alarms", expectedTotal, am.getAlarms().size());
        assertEquals("Incorrect active alarms count", expectedActive, am.getActiveAlarms().size());
    }

    /**
     * Method to validate that actual versus expected device key events were
     * received correctly.
     *
     * @param types expected device key events.
     */
    private void validateEvents(Enum... types) {
        TestTools.assertAfter(100, () -> {
            int i = 0;
            assertEquals("wrong events received", types.length, listener.events.size());
            for (Event event : listener.events) {
                assertEquals("incorrect event type", types[i], event.type());
                i++;
            }
            listener.events.clear();
        });
    }

    private static class CountsMapBuilder {

        private final Map<Alarm.SeverityLevel, Long> map = new HashMap<>();

        public CountsMapBuilder with(Alarm.SeverityLevel sev, Long count) {
            map.put(sev, count);
            return this;
        }

        public Map<Alarm.SeverityLevel, Long> create() {
            return Collections.unmodifiableMap(map);
        }
    }

    private class MockDeviceService extends DeviceServiceAdapter {
        DeviceListener deviceListener = null;

        @Override
        public void addListener(DeviceListener listener) {
            this.deviceListener = listener;
        }

        @Override
        public void removeListener(DeviceListener listener) {
            this.deviceListener = null;
        }
    }

    private class TestProvider extends AbstractProvider implements AlarmProvider {
        private DeviceId deviceReceived;
        private MastershipRole roleReceived;

        public TestProvider() {
            super(PID);
        }

        @Override
        public void triggerProbe(DeviceId deviceId) {
        }
    }

    private class MockMastershipService extends MastershipServiceAdapter {
        int test = 0;
        @Override
        public boolean isLocalMaster(DeviceId deviceId) {
            return true;
        }
    }

    /**
     * Test listener class to receive alarm events.
     */
    private static class TestListener implements AlarmListener {

        protected List<AlarmEvent> events = Lists.newArrayList();

        @Override
        public void event(AlarmEvent event) {
            events.add(event);
        }

    }

    private class MockDevice extends DefaultDevice {

        MockDevice(DeviceId id) {
            super(null, id, null, null, null, null, null,
                    null, DefaultAnnotations.EMPTY);
        }

    }
}

redpajama_set_name: RedPajamaGithub


text:
Q: Windows in Virtualbox show error Ex80070057 when copying files from a network share I encountered this problem after installing 13.04. Windows virtual machine was originally installed on an 10.04 system.
I could not open any files on network shares (shared from the host machine), and when I tried to copy the files to the Windows guest system, I got the error Ex80070057: The parameter is incorrect. Question was: how to solve the problem?

A: It turned out that the solution was simple: I had to re-install the guest add-ons of Virtualbox and restart the Windows guest. The problem went away.

redpajama_set_name: RedPajamaStackExchange


text:
package mig

import (
	"database/sql"
	stdlog "log"
	"os"
	"os/exec"
	"strings"
	"sync"
	"testing"
	"time"

	_ "github.com/go-sql-driver/mysql"
	"github.com/jmoiron/sqlx"
	_ "github.com/lib/pq"
)

/*mysql:
  requires mysqladmin
  create user 'testuser'@'localhost' identified by 'testpassword';
	grant all privileges on testdb . * to 'testuser'@'localhost';
*/

/*postgres:
  create user testuser;
	alter user testuser password 'testpassword'
	alter user testuser createdb;
*/

func init() {
	SetLogger(stdlog.New(os.Stdout, "migrations: ", 0))
}

func Test(t *testing.T) {
	//create the postgres table
	_ = exec.Command("dropdb", "-U", "testuser", "testdb").Run()
	output, err := exec.Command("createdb", "-U", "testuser", "testdb").CombinedOutput()
	defer exec.Command("dropdb", "-U", "testuser", "testdb").Run()
	if err != nil {
		t.Fatalf("couldn't create postgres db: %v, %s\n", err, output)
	}

	//create the mysql database
	mysqlTestDB := func(command string, input ...string) ([]byte, error) {
		cmd := exec.Command("mysqladmin", "-u", "testuser", command, "testdb")
		//passing passwords as command-line args in mysqladmin is broken: A space makes it prompt.
		cmd.Env = []string{"MYSQL_PWD=testpassword"}
		cmd.Stdin = strings.NewReader(strings.Join(input, " "))
		return cmd.CombinedOutput()
	}
	_, _ = mysqlTestDB("drop", "yes")
	output, err = mysqlTestDB("create")
	if err != nil {
		t.Fatalf("couldn't create mysql db: %v, %s\n", err, string(output))
	}
	defer mysqlTestDB("drop", "yes")

	pg, err := sqlx.Connect("postgres", "postgres://testuser:testpassword@localhost/testdb?sslmode=disable")
	if err != nil {
		t.Fatalf("couldn't connect to postgres test db: %v\n", err)
	}

	mysql, err := sqlx.Connect("mysql", "testuser:testpassword@/testdb")
	if err != nil {
		t.Fatalf("couldn't connect to mysql test db: %v\n", err)
	}

	pg.SetMaxOpenConns(30)
	mysql.SetMaxOpenConns(30)

	t.Run("database lock", func(t *testing.T) {
		if testing.Short() {
			t.Skip("skipping lock for faster tests")
		}
		testDatabaseLock(t, mysql)
	})

	t.Run("values-preserved", func(t *testing.T) {
		testValuesPreserved(t, pg)
		testValuesPreserved(t, mysql)
	})

	t.Run("prereq", func(t *testing.T) {
		testPrereq(t, pg)
		testPrereq(t, mysql)
	})

	t.Run("whitespace", func(t *testing.T) {
		testWhitespace(t, pg)
		testWhitespace(t, mysql)
	})

	t.Run("function", func(t *testing.T) {
		testFunctionMigrations(t, pg)
		testFunctionMigrations(t, mysql)
	})
}

func testValuesPreserved(t *testing.T, db *sqlx.DB) {
	registered = nil
	RegisterMigrations(
		`create table rerun(id int)`,
	)

	err := RunMigrations(MakeDB(db.DriverName(), db.DB))
	if err != nil {
		t.Fatalf("running migrations: %v\n", err)
	}

	_, err = db.Exec(`insert into rerun(id) values (42)`)
	if err != nil {
		t.Fatalf("inserting placeholder value: %v\n", err)
	}

	registered = nil
	RegisterMigrations(
		`create table rerun(id int)`,
		`ALTER TABLE rerun ADD COLUMN name TEXT`,
	)

	err = RunMigrations(db)
	if err != nil {
		t.Fatalf("running migrations: %v\n", err)
	}

	var val struct {
		Id   int
		Name *string
	}
	err = db.Get(&val, `select id, name from rerun limit 1`)
	if err != nil {
		t.Fatalf("getting placeholder value: %v\n", err)
	}

	if val.Id != 42 {
		t.Fatalf(`val.Id != 42, val.Id == "%v"`, val)
	}

	if val.Name != nil {
		t.Fatalf(`val.Name != nil, val.Name == "%v"`, val.Name)
	}

}

func testPrereq(t *testing.T, db *sqlx.DB) {
	registered = nil
	RegisterMigrations(
		Prereq(` select 1 from test_prereq`),
		`alter table test_prereq add column food varchar(20)`,
	)

	RegisterMigrations(
		`create table test_prereq(dummy int)`,
	)

	err := RunMigrations(db)
	if err != nil {
		t.Fatalf("couldn't run migrations: %v\n", err)
	}

	_, err = db.Exec("insert into test_prereq(food) values ('nachos'), ('burritos')")
	if err != nil {
		t.Fatalf("couldn't run migration: %v\n", err)
	}

	var result []struct {
		Food string
	}
	err = db.Select(&result, "select food from test_prereq")
	if err != nil {
		t.Fatalf(": %v\n", err)
	}

	if len(result) != 2 {
		t.Fatalf(`len(result) != 2, len(result) == "%v"`, len(result))
	}

	// now try the migrations again to make sure it works out
	registered = nil
	RegisterMigrations(
		Prereq(`select 1 from test_prereq`),
		`alter table test_prereq add column food varchar(20)`,
	)

	RegisterMigrations(
		`create table test_prereq(dummy int)`,
	)

	err = RunMigrations(db)
	if err != nil {
		t.Fatalf("Re-running migrations: %v\n", err)
	}
}

func testWhitespace(t *testing.T, db *sqlx.DB) {
	registered = nil
	RegisterMigrations(
		`
			--comments shouldn't affect things...
			create table test_whitespace(
				survive int
			)
		`,
	)

	err := RunMigrations(db)
	if err != nil {
		t.Fatalf(": %v\n", err)
	}

	//insert a value which is expected to survive the migration below
	_, err = db.Exec("insert into test_whitespace values (42)")
	if err != nil {
		t.Fatalf("couldn't insert: %v\n", err)
	}

	//this is the same migration, except for whitespace differences
	registered = nil
	RegisterMigrations(
		strings.Join([]string{
			"create table test_whitespace(",
			"survive int",
			")",
		}, "\n"),
	)

	if err = RunMigrations(db); err != nil {
		t.Fatalf(": %v\n", err)
	}

	// check if the value survived as expected
	var result struct {
		Survive int
	}

	if err = db.Get(&result, "select * from test_whitespace"); err != nil {
		t.Fatalf("couldn't select: %v\n", err)
	}

	if result.Survive != 42 {
		t.Fatalf(`result.Survive != 42, result.Survive == "%v"`, result.Survive)
	}
}

func testFunctionMigrations(t *testing.T, db *sqlx.DB) {
	RegisterMigrations(
		`create table numbers(num int)`,
		`insert into numbers values (10), (20), (30)`,
		Function("double all rows", func(tx *sql.Tx) error {
			_, err := tx.Exec(`
			  insert into numbers(num)
				select num from numbers
			`)

			return err
		}),
	)

	err := RunMigrations(MakeDB(db.DriverName(), db.DB))
	if err != nil {
		t.Fatalf("running migrations: %v\n", err)
	}

	sum := 0
	err = db.Get(&sum, `select SUM(num) from numbers`)
	if err != nil {
		t.Fatalf("bad query: %v\n", err)
	}

	if sum != 120 {
		t.Fatalf(`sum != 60, sum == "%v"`, sum)
	}

}

func testDatabaseLock(t *testing.T, db *sqlx.DB) {
	const count = 20
	counts := map[int]int{}
	wait := sync.WaitGroup{}
	wait.Add(count)
	for i := 0; i < count; i++ {
		go func() {
			err := WithDatabaseLock(db, 30*time.Second, func() error {
				l := len(counts)
				counts[l]++
				return nil
			})
			if err != nil {
				t.Fatalf("error locking: %v\n", err)
			}
			wait.Done()
		}()
	}

	wait.Wait()

	if len(counts) != count {
		t.Fatalf(`len(counts) != %d, len(counts) == "%d"`, count, len(counts))
	}
}


Primate Labs, a small (but mighty!) software company located in Toronto, is looking for enthusiastic developers to join our team and help us build the next version of Geekbench.
As a Software Developer working on Geekbench, your primary responsibility will be to develop, characterize, and maintain benchmark tests. The tests draw from a wide variety of fields including computer vision, image processing, linear algebra, machine learning, and physical simulations.
You will also be responsible for developing and maintaining features in the Geekbench mobile and desktop applications. This role is an excellent position for developers interested in computer performance, high-level and low-level software optimization, and cross-platform development.
Experience with C++ and the STL.
A university degree or equivalent experience.
Experience with GPGPU APIs (e.g., OpenCL, Metal, Vulkan).
Experience with scripting languages (e.g., Ruby, Python).
Primate Labs offers a fun and exciting working environment with a minimum of bureaucracy. Compensation includes a competitive salary, generous vacation time, and medical and dental benefits.
This is a full-time position in Primate Labs' Toronto office.


text:
Printed from https://fyi.org.nz/request/13308-extract-of-data-from-oia-tracking-system on January 23, 2022 00:49
Extract of data from OIA Tracking System
Shane Gibson made this Official Information request to Ministry of Foreign Affairs and Trade
The request was partially successful.
From: Shane Gibson
Please provide an extract of data from the system you currently use to track information requests submitted under the Official Information Act 1982.
The extract should be in a machine readable form. This means either via a publicly accessible API or file in csv or JSON format.
The extract should have the following details in a single row for each request that was submitted:
- The title of the request.
- The date your organisation received the request
- The date of the final response from your organisation to that request, or the date you closed the request
To reduce the effort required by your organisation I am requesting records for the date range that the data is available in your OIA tracking system. For example if your OIA tracking system only holds two years of records then I am requesting data for those two years.
Shane Gibson
Thank you for your enquiry,
A large number of Ministry staff are currently working on issues relating
to the impact of COVID-19, which is putting pressure on business as usual
work, however we are doing our best to action all requests as quickly as
Due to the difficulty travellers are experiencing returning home, we
encourage New Zealanders overseas to take steps to stay safely where they
are. See the SafeTravel website for more information, including advice for
For information on New Zealand's border measures and self-isolation
requirements on return to New Zealand, visit the Ministry of Health and
Immigration New Zealand websites.
assistance after-hours, please contact +64 99 20 20 20 (monitored 24 hours
a day).
o For urgent consular issues, or if you are a New Zealand citizen
overseas needing assistance, please email [email address]
o For enquiries regarding New Zealand Scholarships, please use the
scholarships enquiries form available at:
[1]https://scholarship.force.com/CommunityF.... We will not
respond to scholarship enquiries sent to this mailbox.
o HR or Jobs at MFAT – visit the Ministry of Foreign Affairs and Trade
website; vacancies:
[2]https://www.mfat.govt.nz/en/about-us/wor...
o MFAT Graduate Programme - send all enquiries to:
[email address]
o Visas for New Zealand are issued by Immigration New Zealand. For
information on visas and travelling to New Zealand, please see their
website: [3]www.immigration.govt.nz
o For information on Visas for Other Countries please contact the
relevant foreign representative to New Zealand. A full list can be
found on our website: [4]www.mfat.govt.nz/en/embassies/
o Passports are issued by the Department of Internal Affairs. Please see
their website for more information: [5]www.passports.govt.nz
o Citizenship – please contact the Citizenship section of the Department
of Internal Affairs: [6]www.dia.govt.nz/New-Zealand-citizenship
o Authentication of documents – please contact the Authentication
section of the Department of Internal Affairs:
[7]www.dia.govt.nz/document-authentication
o For information on bringing goods into New Zealand, please see the New
Zealand Customs website: [8]www.customs.govt.nz
o Linked with NZ suppliers or companies – please contact New Zealand
Trade and Enterprise: [9]www.nzte.govt.nz
For all other enquiries you can expect a response in due course.
Dear Shane Gibson
OIA 27066 Shane Gibson re scoping letter 23 July 2020.pdf
Dear Shane Gibson,
Please see the attached correspondence regarding your recent OIA request.
T +64 4 439 8000 E [email address]
www.mfat.govt.nz | www.safetravel.govt.nz
www.mfat.govt.nz | www.embassy.govt.nz | www.aid.govt.nz | www.safetravel.govt.nz
Thank you for seeking clarification.
The Title or Subject of the request is an important piece of the information I require as part of the research I am undertaking.
I would prefer to have a subset of this information (for example the last 12 months of requests) with the subject line included (with PII data redacted of course), rather than a larger volume (for example 5 years) of data without the subject line being included.
Thank you for clarifying your request. We will proceed to review our data
set for the last year, including the title field.
As per section 15(1AA) of the OIA, your request is deemed to have been
received on 23 July 2020, regardless we will attempt to respond as soon as
[3]www.mfat.govt.nz | [4]www.embassy.govt.nz | [5]www.aid.govt.nz |
[6]www.safetravel.govt.nz
OIA 27066 Shane Gibson Release information.csv.txt
OIA 27066 Shane Gibson Response Letter.pdf
Shane Gibson only:
To Ministry of Foreign Affairs and Trade by BAW Russell July 30, 2020
Data Science Vendors - MFAT
To Ministry of Foreign Affairs and Trade by Andrew Chen February 04, 2021
Kiwi Expat Association (KEA) funding
To Ministry of Foreign Affairs and Trade by Simon Heggarty July 15, 2020
Analysis of WHO Covid-19 origins report: Take Two
To Ministry of Foreign Affairs and Trade by Harold May 04, 2021
Analysis of WHO Covid-19 origins report
To Ministry of Foreign Affairs and Trade by Harold April 19, 2021
Diversifying trade away from China towards the Quad
To Ministry of Foreign Affairs and Trade by Adam Irish March 14, 2021
Trade commissioners Guanzhou, Beijing, Shanghai, Hongkong
To Ministry of Foreign Affairs and Trade by john luke March 11, 2019
Working remotely during Covid period
To Ministry of Foreign Affairs and Trade by Cathy Odgers April 16, 2021


text:
Q: What's the difference between DirectX 10 and DirectX 9? In Civilization V, when starting the game, it offers me the option of using DirectX 10 or DirectX 9. Are there any graphics quality or performance gains present when using the DirectX 10 version? I know that it would let me turn up the settings higher (for instance, i could enable anti-aliasing in the DirectX 10 mode and couldn't in the DirectX 9 mode)

A: The most critical part of your choice is "Does your graphics card support directx-10 (or 11)?"
If your graphics card does support higher versions, its usually best to run with the most recent version, to get whatever bugfixes, feature improvements (advanced lighting I believe) and performance gains.
Naturally, if your card does not support the higher versions, you should NOT try running the game in that mode, and stick to Directx9 instead. As StrixVaria says, running the game in that mode should simply not work, (that is what not supported means after all) but the best you can hope for if you do try is broken graphics or the game crashing.

A: DirectX 10/11 introduced Direct3d 10/11 respectively, each of which introduced new capabilities for developers. Ultimately, newer versions of Direct3d should import the graphical fidelity of games, when developed for appropriately, but also will demand more of your hardware (IE: running a game in DX11 will likely lower your frame-rate on the same hardware versus running a game in DX10)
From Wikipedia:
DirectX 10 Introduces

*

*Fixed pipelines are being done away with in favor of fully programmable pipelines (often referred to as unified pipeline architecture), which can be programmed to emulate the same.

*New state object to enable (mostly) the CPU to change states efficiently.

*Shader model 4.0 enhances the programmability of the graphics pipeline. It adds instructions for integer and bitwise calculations.

*Geometry shaders, which work on adjacent triangles which form a mesh.

*Texture arrays enable swapping of textures in GPU without CPU intervention.

*Predicated Rendering allows drawing calls to be ignored based on some other conditions. This enables rapid occlusion culling, which prevents objects from being rendered if it is not visible or too far to be visible.

*Instancing 2.0 support, allowing multiple instances of similar meshes, such as armies, or grass or trees, to be rendered in a single draw call, reducing the processing time needed for multiple similar objects to that of a single one

DirectX 11 Introduces

*

*Tessellation — to increase at runtime the number of visible polygons from a low detail polygonal model

*Multithreaded rendering — to render to the same Direct3D device object from different threads for multi core CPUs

*Compute shaders — which exposes the shader pipeline for non-graphical tasks such as stream processing and physics acceleration, similar in spirit to what OpenCL, NVIDIA CUDA, ATI Stream achieves, and HLSL Shader Model 5 among others

A: This forum post shows a bunch of side by side comparisons of Civ 5 in DirectX 9 versus DirectX 11.


text:
$60 • Skype call (1 hour) Send me questions!
$30 • Up to 3
Jennifer Turnbull & Matthew Houde
Costa Rica Travel Experts at TwoWeeksinCostaRica.com
Writers. Authors. Bloggers. Boston expats living in and traveling around Costa Rica since 2013.
We've been house sitting all over Costa Rica since 2013, which has enabled us to see the country on a budget. We can help you get started house sitting by sharing our experiences, which websites work best, how to make a house sitting profile, and most importantly, how to land house sitting jobs. We've had 9 shorter term house sits so far and currently have a long-term caretaking position.
We moved from the United States to Costa Rica in 2013. We're happy to share our story with you and give you tips we've learned along the way. Topics we're familiar with are: cost of living; internet; visa requirements; working in Costa Rica; finding housing; adapting to the culture; buying a car; creating a "moving plan"; etc.
We have not only explored all of Costa Rica but have also written a guidebook about it, so we know quite a bit about adventures tours. We also help people plan their vacations by building custom itineraries.
We love hiking and have done a ton of it in Costa Rica! If you want to know the best spots, we can help.
We started traveling to Costa Rica about 10 years ago and have been living here since 2013. We've traveled to almost every corner of the country, living in nine different towns and visiting countless more.
Authors of the book, Two Weeks in Costa Rica
http://amzn.com/B008TA8KHS
Authors of the guidebook, Top 10 Costa Rica Itineraries
http://amzn.com/B00QUBWC6I
ExpatBlog.com Recommended Blog
http://www.expat-blog.com/en/blog/central-america/costa-r…
ExpatsBlog.com Featured Blog
http://www.expatsblog.com/blogs/6620/two-weeks-in-costa-rica
Trippy Ambassador for Costa Rica
http://www.trippy.com/profile/jennturnbull
InterNations Recommended Expat Blog
http://www.internations.org/guide/costa-rica/recommended-…
If you already have an account sign in.
Sign in & Continue


Sales, Sales administration, Inside Sales, Coordinator, Sales Coordinator, , Account Management, Customer Service, Customer Care, Customer Advisor, B2B, Order processing, Quotations, Translation, Fluent in French, Cambridgeshire, Bedfordshire, Northamptonshire.
To be responsible for the day to day Sales & Service coordination with external, internal clients and stakeholders.
To deal with the sales process from initial enquiry through to quotation and order placement.
- To deal with enquiries on the daily basis over the phone, email and website.


I'm not so much against Islam as I am against religion.
I'm not so much against religion as I am against mysticism.
I'm not so much against mysticism as I am against faith.
I'm not so much against faith as I am for reason.
I'm not so much for reason as I am for life.
I'm not so much for life as I am for my life.
I am for my life.
please click here to join my fiction list!
Enjoy Genesis, Part I of Idolatry … In the twilight of the Roman Empire, a sculptor struggles to keep an 800-year dream alive while honoring the love of his life and raising his adopted son. Part I of the epic five-part Idolatry saga, the story of a wealthy young heir and a devout Christian girl who find themselves at the heart of a 2400-year struggle for the soul of Western Civilization.
please click here to join the fiction list.
The audiobook of Genesis, Part I of Idolatry, is now available on Amazon, Audible, and iTunes. Narrated by Robin Field.
ALSO AVAILABLE ~ My short stories, poetry, screenplays and novels are available from my Author's Page on Amazon here….
please click here to join the fiction list…!