Tracking Electric Scooters in Lisbon
- For retrieving all scooters in Lisbon, a box of approximately 5km x 5km is created and then discretized in 10 x 10 grid points, which are used for latitude and longitude in the API request.
- In the case, the API allows such a big search area, scooters of several grid points are retrieved in one request.
- To collect the data I created a Django application with Celery to record the positions of all scooters every 20 minutes.
- The final result is a heatmap to show the most common places where trips with scooters are started or finished, accumulated for all recorded days.
- There could be more analysis on certain spikes in trips/kilometers and new scooters and relate them to local events.
- Assuming an average speed for a trip the total usage time of the scooters could be calculated to retrieve the revenue of the renting companies.
Google’s Submarine Cable Curie Will Add a Panama Branch
- The construction of Curie, Google’s own submarine cable that runs from Los Angeles to Valparaíso, Chile, is complete, the company said – at least construction of the main trunk.
- The company said it would be the first branch on the cable (implying that others may be added in the future) and boost overall connectivity and bandwidth to Central America while helping Google connect its global cloud platform to more networks in the region.
- Other hyperscale platforms – Microsoft, Facebook, and Amazon – also made their own submarine cable investments in recent years.
- It has since announced construction of two more wholly owned private submarine cables: Dunant, expected to come online in 2020 to shuttle data between the US and France; and Equiano, which will run between South Africa and Portugal when it lights up sometime next year, if all goes according to plan.
Mini-Tut: Create Alias for Rails Webpacker and VS Code Compatability
- Right now this is the import path for obs-websocket and I really wasn't digging the complexity that will come about when starting to move around files and folder structure starts to get deeper.
- To achieve this well be making an alias in our Webpack configuration and some configuration files for your Visual Studio Code and ESLint to understand what the alias means.
- In your Rails project, you will create a new configuration file dedicated to your new alias configuration.
- Now when you use @ in your import path it will point to the root of your front end files.
- So you get this to work you need to tell VS Code what @ means and what file path it starts at.
- Just like with the jsconfig.json file for telling VS Code about the @ alias, this file tells ESLint about the @ also.
Boris Johnson's Conservative Party wins majority in UK election
- It was a crushing defeat for the opposition Labour Party, whose leader, Jeremy Corbyn, said he would step down after a "process of reflection." And the leader of the pro-Remain Liberal Democrat party, Jo Swinson, lost her seat, as the Scottish National Party swept the board in Scotland.
- The anti-Brexit party had hoped to scoop up the votes of Remainers, but ended up with fewer seats than they won in the 2017 election.
- While Johnson has rejected the idea of holding a second vote, SNP's leader Nicola Sturgeon is likely to argue the election result gives a clear mandate for a new referendum.
- The President of the European Council, Charles Michel, said now the election result is clear there needs to be clarity on Brexit "as soon as possible" in order to give as much stability as possible to citizens and businesses.
Opinion: The UK election is a warning sign for Democrats
- After Conservatives lost seats under Theresa May amid a tortured season of Brexit deals that couldn't get through Parliament, Labour should have been primed to take back 10 Downing Street.
- And so despite polls showing that Corbyn was the least popular opposition leader in almost a half century -- with a stunning 76% of all Britons saying that they were unhappy with him, they decided to take the leap, convinced that the unpopularity of Boris Johnson, chaos over Brexit and support for the Labour platform meant that maybe they could sneak Corbyn into 10 Downing Street.
- There are no perfect political parallels between different countries, but in the UK as in the USA, we see how polarization distorts democracies and elevates the most extreme voices - depriving voters of representative policies and often a functioning government.
How Boris Johnson went from political caricature to delivering a Margaret Thatcher-like election win
- Their view was solidified in 2016, when he controversially broke ranks from the Conservative government in which he served to lead the campaign to leave the European Union.
- His decision was widely thought to be a stunt that would give Johnson a better chance of taking over as leader from David Cameron, once the Europe question was settled -- most likely by the UK voting to remain in the EU.
- A former Downing Street advisor told CNN that while Cameron's team "knew that Johnson was a formidable campaigner," they thought his "general incompetence" would hinder the Vote Leave campaign.
- When Cameron stood down as prime minister after losing the Brexit vote, politics had been turned on its head and Johnson was the obvious frontrunner to replace him.
Top Ukrainian official: All we are asking for is fair treatment
- Dmytro Kuleba, the deputy prime minister for European and Euro-Atlantic integration -- whose visit to Washington coincided with the House Judiciary Committee's markup and vote on articles of impeachment against President Donald Trump -- downplayed the impact that those developments could have on US-Ukraine relations.
- The Trump administration held up hundreds of millions in security aid to the former Soviet nation, allegedly as collateral for Ukraine to undertake investigations into the US President's political rivals, like Joe Biden.
- Kuleba also said the issues of investigations, Biden and the President's personal lawyer Rudy Giuliani did not come up in his meetings in Washington.
- In addition to the security aid, an Oval Office visit for newly elected President Volodymyr Zelensky was at play in the Trump administration's alleged quid pro quo with Ukraine.
SuperShuttle airport business is shutting down for good at the end of the year
- New York (CNN) - Commuter company SuperShuttle, which has ferried fliers to and from dozens of airports since 1983, said it will shut down permanently effective December 31.
- The shuttle bus service got its start taking passengers to and from Los Angeles International Airport, and eventually its blue and yellow vans serviced more than 100 cities worldwide, from Cleveland to Kuala Lumpur.
- Two SuperShuttle reservation specialists confirmed the company's closure to CNN Business Friday afternoon.
- The news was first reported by the Los Angeles Times Thursday.
- In recent weeks, SuperShuttle has shuttered operations in several US cities, including Baltimore, Minneapolis, Phoenix and Sacramento, the LA Times reported.
- In January, the National Labor Relations Board ruled in favor of the company's attempt to classify its Dallas-Fort Worth airport SuperShuttle drivers as independent contractors rather than employees.
Ring says it will introduce new security features after hackers broke into a camera in an 8-year-old's bedroom, where they could watch and talk to the child
- The company didn't divulge what those additional security features would include, but practices like mandatory two-factor authentication or requiring password change after a certain period of time are common in the industry.
- Etay Maor, a security advisor at IBM Security, told Business Insider during an interview in July that if a company makes it too difficult or time consuming to enter your account by using too many security steps like two-factor authentication, you'll often go to another company or service.
- Indeed, if Ring forced more stringent security measure onto the affected family, or any user, they may have returned the Ring and used a different company's camera that didn't make it as difficult to log into their account.
- If a company wishes to actively prevent something like the Ring hack from happening, it needs to make it harder for unintended users to log into their account.
Vizio's new 4K TV is one of the best home theater displays you can buy for under $1,000 — here's our full review
- The 2019 P-Series Quantum TV offers some very impressive picture quality features, providing image performance that rivals several much more expensive LCD TVs from Sony, Samsung, and LG.
- Thanks to the display's full array local dimming backlight, the panel is able to produce deep black levels and precise highlights — which are both very important if you like to watch HDR movies in a dark home theater environment.
- Yes, there are some more expensive QLED and OLED sets that can push contrast and color further for an even more impressive "wow" factor, but for what you get at this price point, the P-Series Quantum really packs in a lot of performance value.
- As a 4K HDR TV in this price range, the 2019 65-inch P-Series Quantum offers a lot of value and an impressive assortment of picture quality features.