Mostrando postagens com marcador nasty. Mostrar todas as postagens
Mostrando postagens com marcador nasty. Mostrar todas as postagens

quinta-feira, 20 de agosto de 2015

Trump hotel in rio de janeiro

Source: nytimes

Vocabulary:

  1. a Brazilian real estate mogul
  2. gleefully bashing Trump
  3. so little uproar that
  4. lavish new Trump HOTEL here
  5. marred by the skeletons
  6. Mr. Trump’s immigration remarks
  7. despite energetic diplomatic efforts
  8. his nasty remarks
  9. Turkish marble
  10. where bolstering the playgrounds
  11. remained bullish
  12. in the gritty area
  13. who loathe Brazil’s


Text:

Paulo Figueiredo Filho, a Brazilian real estate mogul (=magnata) and self-described conservative libertarian, at the building site of the new Trump HOTEL IN RIO DE JANEIRO. Credit Marizilda Cruppe for The New York Times



RIO DE JANEIRO — The Peruvian Nobel laureate Mario Vargas Llosa calls Donald J. Trump a “racist imbecile.” In Mexico, people are gleefully (=alegremente) bashing Trump piñatas after his caustic remarks about Latino immigrants in the United States. In Guatemala, a liquor company is putting up posters of Mr. Trump using a term that, when translated charitably, describes him as a jackass.

Then there is Brazil, where Mr. Trump’s new 171-room stamp on the Rio de Janeiro skyline has generated so little uproar (=alvoroço, tumulto) that his business partner feels perfectly comfortable trumpeting his contentious stance on immigration.

“I’m a Latin and I have to say, I didn’t get offended at all with his comments,” said Paulo Figueiredo Filho, 33, a Brazilian real estate mogul and self-described conservative libertarian who is building the lavish (=luxuoso) new Trump HOTEL here.

“I spend a lot of time in the U.S.,” Mr. Figueiredo added, “and I have seen a lot of illegal immigrants that are causing problems, causing trouble in the country, and I actually agree with him.”

The relative paucity of tension around Mr. Trump’s lavish new HOTELventure here — in contrast to reactions elsewhere in the Americas, where some media giants and other companies have cut ties to Mr. Trump — may reflect how Brazil is changing, and how it is not.

Rio’s skyline, marred (=marcado) by the skeletons of various high-profile HOTELprojects that have been abandoned, serves as a constant testament to the souring of Brazil’s economy, making just about any big real estate venture with a chance of being completed an inviting prospect as the city gears up to hold the 2016 Summer Olympics.

“It’s a privilege to have a Trump property in our city,” said Alfredo Lopes, the president of the city’s HOTEL association and the Rio Convention and Visitors Bureau, emphasizing that he had not paid much attention to the controversies surrounding Mr. Trump in the United States. “This project is a gift to Rio that will serve a very exclusive segment of the market.”

But there is a cultural dynamic at work as well. Scholars attribute some of the indifference here about Mr. Trump’s immigration remarks (=observações) to an entrenched tradition in Portuguese-speaking Brazil of seeing the country as separate from its Spanish-speaking neighbors in Latin America, despite (=apesar) energetic diplomatic efforts in recent decades to forge stronger ties in the region.

Many “Brazilians are not offended by Trump’s remarks concerning Latinos because they don’t think his nasty (=desagradaveis) remarks” refer to them, said Maxine Margolis, an anthropologist at the University of Florida who is a leading authority on Brazilian emigration to the United States. “He is talking about a population they see as ‘the other.’ ”

Estimates vary widely on the number of Brazilian immigrants in the United States because most of them are thought to be there illegally, but Dr. Margolis placed the number at around 900,000 to one million, close to the figures used by Brazil’s Foreign Affairs Ministry.

While some Brazilian immigrants returned to Brazil in the years after the 2008 financial crisis, a period when Brazil’s economy was booming, Dr. Margolis said it now appeared that Brazilians were moving yet again to the United States as Brazil’s economy remains mired in a multiyear slowdown.

Of course, Mr. Trump and his new landmark have their fair share of detractors. In a city long defined by its enormous gap between rich and poor, not everyone agrees that Rio needs yet another LUXURY HOTEL, much less one planning to charge $500 a night for rooms with floors made of imported Turkish marble (=marmore).

Adding to the extravagance, the 13-story HOTEL, which is designed with jagged, terraced suites facing the Atlantic, will feature an infinity pool made of glass suspended above a nightclub with capacity for 600 people.

“We live in a city that was the biggest slave port in human history, producing a legacy of inequality that is pervasive across Rio,” said Theresa Williamson, an urban planner and director of RioOnWatch, an organization reporting on the city’s favelas, the relatively poor urban areas that largely emerged as squatter settlements.

“Instead of focusing on ways of alleviating that inequality, there’s a push to use the Olympics to benefit the most privileged sectors of society,” Ms. Williamson added. “The Trump HOTEL is just the latest fixture in a city where bolstering (=reforçando) the playgrounds for the rich is a priority for the authorities.”

Still, criticism of the $120 million HOTEL, which is scheduled to open before the Olympics, remains subdued in Rio. Despite the economic headwinds in the country, a spokeswoman for the Trump Organization said the group remained bullish (=otimista) about doing business in Brazil. And even as Mr. Trump faces criticism in various parts of the region, she said, “There is tremendous support for Trump and the brand across Latin America.”

Mr. Trump also recently expressed optimism about Brazil, even though the construction of another of his organization’s projects in Rio, a complex of five office towers in the gritty (=arenoso) area around the port, has been delayed, with no public completion date.

“I love Brazilians, especially Brazilian women, which are absolutely incredible,” Mr. Trump said in a 2014 INTERVIEW with Veja, a Brazilian magazine. Mr. Trump boasted that he had something to teach the Brazilian people, emphasizing that his lessons for Brazilians would involve providing an example of entrepreneurism and good service.

“I love teaching,” he said. “I’m a great teacher.”

When asked in the same interview if he had met Dilma Rousseff, Mr. Trump, apparently unaware that she is both a woman and the nation’s president, responded: “No. Who is he?”

Being less than reverential toward the Brazilian president, whether unintentional or not, did not seem to fan the flames, either. After all, dismissive views about Ms. Rousseff are fashionable in Brazil these days, as she grapples with approval ratings in the single digits. Huge street PROTESTS have called for her impeachment over the country’s sagging fortunes and a colossal graft scandal at the national oil company.

Mr. Figueiredo, the developer who will own the Trump HOTEL and have his American partners operate it, counts himself among those who loathe (=detesta) Brazil’s leftist president. He is a grandson of João Figueiredo, the last autocrat of a 21-year military dictatorship that ended in economic disarray in 1985.

While it might be expected for a business partner of Mr. Trump’s to promote their venture, Mr. Figueiredo goes beyond simply defending a project, as backers of a Trump tower under construction in neighboring Uruguay have done. Now Mr. Figueiredo says he wants to limit the government’s sway in the economy (though Barra da Tijuca, the beachfront district where he lives and is building the HOTEL, benefits from an onslaught of public transportation projects).

When Mr. Figueiredo’s blunt-spoken grandfather was stepping down in 1985, he remarked that he preferred the smell of horses to people. When asked what he wanted Brazilians to think of him, the four-star general replied, “I want them to forget me.”

But the frustrations with Brazil’s government have given new momentum to right-wing groups, and some in Brazil’s antigovernment PROTESTSare now openly calling for a return to military rule, a subject that was until recently politically taboo. Mr. Figueiredo exudes pride when talking about his grandfather, and he heaps praise on Mr. Trump, a figure under fire elsewhere in the region.

“He’s one of the most recognized businessmen in the world, and if anything, we’re getting more exposure,” Mr. Figueiredo said. “I don’t think anyone is going to decide not to stay in a fantastic HOTEL just because of his political views.”



quarta-feira, 19 de agosto de 2015

Dicas que eu gostaria de ter se estivesse começando a desenvolver ios hoje

Source: http://stuartkhall.com/posts/ios-development-tips-i-would-want-if-i-was-starting-out-today

Vocabulary:

  1. outdated books
  2. This can be nasty



Text: iOS Development Tips I Would Want If I Was Starting Out Today
January 15, 2013
Making iOS apps is getting easier and easier with each new release of Xcode. However, all the new features and approaches means there are more options to choose from, outdated (=desatualizado) books and old documentation.

Back in my day it was so much harder - that's is true in many respects, but a much higher level of quality and features is expected now. The bar keeps rising, and that's a very good thing.

If I was starting out with iOS development today these are the things I would hope somebody would tell me.

Use ARC!
ARC is awesome, it removes a lot of the complexity of memory management we had to deal with previously. Although it's valuable to understand memory management, ARC makes life a whole lot easier.

As a (still) recovering C++ developer from many years ago, I fought it for quite a while. Also many popular libraries have gone ARC only, so don't fight it, go with it.

Prefer Blocks Where Possible
Blocks are awesome. They mean you write less code and clearer code.

There is a great tutorial on blocks here.

There are still times when delegates/protocols or NSNotifications make sense, but blocks should be your first consideration.

Beware Of Retain Cycles With Blocks
This can be nasty (=desagradável), rather than go into the details here check out this link.

Forget Threads, Use GCD
"A programmer had a problem, so he used threads, then he had two"

GCD has made life a lot easier, just don't forget to switch back to the main thread before doing anything with the UI:



There is a good explanation of GCD, including making your own queues, here.

Singletons / Shared Objects
Carrying on with GCD, dispatch_once is really useful:



You'll be doing this a bit, especially when you see how costly it is to create things like NSDateFormatter many times.

Story Boards Are Just For Rapid Prototypes
In my opinion they are more pain than they are worth once you move beyond a basic project. Purely my opinion, some people love them. Make your own mind up on this one.

Only Use XIBs For Very Basic Layouts
There is so much you can't do in Interface Builder (IB). Any slightly "non standard" app with custom views move beyond IB's capabilities quickly. Still, I do use .xib's sometimes for the initial basic layouts, but I've read many people don't bother at all.

XIB's can also be a pain with source control and merging, it's much easier to merge code.

Keep Your Project Organised
I've done a bit of Ruby on Rails development and quite like the way they organise a project, so I do something similar in Xcode:

Xcode structure

However you do it, try and keep it in some sort of order, it will get out of hand pretty quickly.

Embrace Open Source
There are so many amazing libraries and components available for iOS development. Github is full of great source code that you can just drop into your project, you can also use sites like Cocoa Controls to find components.

Some libraries I use in almost every project include:

AFNetworking - Block based networking library, so easy to use and so powerful.
RegexKitLite - Powerful regular expression support
Facebook iOS SDK - Facebook support
If you Google for a component you need chances are there is one out there to at least get you started.

Dependency Management
With all these great open source components you'll need a way to manage them. CocoaPods has done an amazing job at making something similar to Ruby's gems. Otherwise you can just use git submodules.

Learn To Love Stack Overflow
There are a lot of really smart iOS developers on Stack Overflow, and chances are they have solved your current issue. Please search before asking a question, more often than not it has been answered before.

Graceful Degradation
Often you want to use functionality from a new version of iOS, but you also need to support older versions. There are many examples of this, Tweet Sheets in iOS 5, SKStoreProductViewController & UIActivityViewController in iOS 6, there are many examples.

Luckily at run time you can check if the class exists and fall back (or just throw up an unsupported message).



Custom Fonts
In early iOS versions (pre 3.2) this was a nightmare, so everyone just used Helvetica. Luckily now it's simple!

Here is a quick guide. If you get stuck with the name of the font open up Font Book and look for the PostScript name.

Localize From The Start
Localization is pretty easy to do in Xcode, especially if you avoid xibs. But add localization support from the start of your project, it's a long painful experience to extract them later.

Here is a great guide to localizing an iPhone app.

Track Crashes
Crash logs are a pain, a real pain. Use a service that captures and symbolicates them for you. Two great services are HockeyApp and TestFlight

Analyze
Product -> Analyze can pick up a lot of potential issues (and a lot of red herrings).

Instruments
Product -> Profile builds your code and launches Instruments. Instruments is a collection of invaluable tools to profile your app. First stop should be "Time Profiler" where you can see what is eating the CPU in your app. If you want to get your table view scrolling like butter you will be spending a lot of time in here.

Instruments

Track Reviews
<shameless self promotion>You'll have bugs, and people will write bad reviews in countries you may never heard of. Get them in your inbox daily with AppBot. </shameless self promotion>

I'm sure I've forgotten a bunch of things and not everyone will agree with everything above. Hopefully it will be useful to at least a few people just starting out in iOS development.