Improving Accuracy of Maps Using Anonymized GPS Traces

Improving Accuracy of Maps Using Anonymized GPS Traces

However, if our map data has an error, like missing the segment depicted in Figure 7, this sequence will include abnormally low transition probabilities, indicating that the vehicle could not travel on a segment or transit between certain segments within the map data context, even though the vehicle actually did in the real world. Each of the copies has identical map data but a different and evenly distributed set of trips, as illustrated in Figure 9, below:

This approach eliminates bottlenecks caused by high-density cells and leads to more accurate results because each cell is still big enough to contain both the full map data context and GPS points for map matching and error detection. The philosophy behind aggregating results from a large number of trips is that if we see consistency in abnormal probabilities at a given place reported by trips, the root cause of this disparity is more likely to be a map data error than illegal driving behavior or noisy GPS signals.

Source: eng.uber.com

Modern C++ for C Programmers

Modern C++ for C Programmers

2018 is an exciting time to be a programmer, with so many good “full service” programming languages to choose from: C, C++ 2017, Go, Python, Rust and who knows Swift too. To do so, I want to show that within C++ hides a simple language that still offers you many good things without immediately requiring you to tackle all 1400 pages of ‘The C++ Programming Language’. My goal is that when you go look for a new language to learn (say, Go or Rust), you will hopefully consider modern C++ as well.

Source: ds9a.nl

A Common Blood Test Can Cost $11 or Almost $1k

A Common Blood Test Can Cost $11 or Almost $1k

New data, analyzing the health insurance claims of 34 million Americans covered by large commercial insurance companies, s hows that enormous swings in price for identical services are common in health care. Although hospitals are now required to publish a list of the prices they would like patients to pay for their services, the amounts that medical providers actually agree to accept from insurance companies tend to remain closely held secrets. Some insurance companies provide consumers with tools to help steer them away from the $450 test, but in many cases you won’t know the price your insurance company agreed to until you get the bill.

Source: www.nytimes.com

The history of Faber & Faber in letters

The history of Faber & Faber in letters

James Joyce to TS Eliot, 18 August 1930

Buy a book in brown paper

From Faber and Faber

To see Annie Liffey trip, tumble and caper. In 1953, Faber editor Charles Monteith would have been in the first few weeks of his probation, when, needing something to read on the train down to Oxford, he grabbed the top bundle from the slush pile of unsolicited manuscripts. Charles Monteith [later to become chairman of Faber] to William Golding, 15 October 1953

I am afraid we’ve kept Strangers from Within rather a long time.

Source: www.theguardian.com

They Want It to Be Secret: How a Common Blood Test Can Cost $11 or Almost $1k

They Want It to Be Secret: How a Common Blood Test Can Cost $11 or Almost $1k

New data, analyzing the health insurance claims of 34 million Americans covered by large commercial insurance companies, s hows that enormous swings in price for identical services are common in health care. Although hospitals are now required to publish a list of the prices they would like patients to pay for their services, the amounts that medical providers actually agree to accept from insurance companies tend to remain closely held secrets. Some insurance companies provide consumers with tools to help steer them away from the $450 test, but in many cases you won’t know the price your insurance company agreed to until you get the bill.

Source: www.nytimes.com

Distributions vs. Releases: Why Python Packaging Is Hard

Distributions vs. Releases: Why Python Packaging Is Hard

Python has a third: each release has one or more distributions, which are the actual files you download to install a package. In most languages said file is synonymous with the release, but the “or more” is crucial in Python, because for most releases of most widely-used packages, there is in fact more than one distribution. This is because tools like automatically determine the “most suitable” distribution for a release, preferring binary wheels when one is compatible with the given system—and the most specific binary wheel if multiple are—and otherwise falling back to the source distribution.

Source: pydist.com

Amazon S3 Batch Operations

Amazon S3 Batch Operations

A Quick Vocabulary Lesson

Before we get started and create a batch job, let’s review and introduce a couple of important terms:

Bucket – An S3 bucket holds a collection of any number of S3 objects, with optional per-object versioning. In preparation for this blog post I enabled inventory reports for one of my S3 buckets (jbarr-batch-camera) earlier this week, with the reports routed to jbarr-batch-inventory:

I select the desired inventory item, and click Create job from manifest to get started (I can also click Batch operations while browsing my list of buckets). The function will be invoked for each object, taking advantage of Lambda’s ability to scale and allowing this moderately-sized job to run to completion in less than a minute:

I can find the “Detected” messages in the CloudWatch Logs Console:

As you can see from my very simple example, the ability to easily run Lambda functions on large numbers of S3 objects opens the door to all sorts of interesting applications.

Source: aws.amazon.com

N-Wheeled Cars

N-Wheeled Cars

The Morgan company began selling three-wheelers with one wheel at the rear and a V-twin engine at the front in 1911, and continued until 1952. Left: The Swedish FM29 armoured car: 1932 This Swedish armoured car design resembled the German one just below in that it had four wheels in normal use, plus two spare wheels which were mounted so they contacted the ground in rough country and prevent the vehicle getting stuck; it’s another case of ‘is this a 4 or 6-wheeled vehicle’? Here is one attempted solution; a fifth wheel that lefts the normal rear wheels off the road and allows the back of the car to go sideways.

Source: www.douglas-self.com

Qubism: Self-similar visualization of many-body wavefunctions in Python (2014)

Qubism: Self-similar visualization of many-body wavefunctions in Python (2014)

If the plot is a product of them, the state is a product state. As writing a wavefunction as a matrix $|\psi\rangle_{ij}$ is the the crucial step in Schmidt decomposition, we call such plots Schmidt plots. Let us consider two states:

They may look seamingly similar, but the later can be decomposed into a product $|0\rangle(|1\rangle – |0\rangle)/\sqrt{2}$.

Source: nbviewer.jupyter.org

The history of Faber & Faber in letters

The history of Faber & Faber in letters

James Joyce to TS Eliot, 18 August 1930

Buy a book in brown paper

From Faber and Faber

To see Annie Liffey trip, tumble and caper. In 1953, Faber editor Charles Monteith would have been in the first few weeks of his probation, when, needing something to read on the train down to Oxford, he grabbed the top bundle from the slush pile of unsolicited manuscripts. Charles Monteith [later to become chairman of Faber] to William Golding, 15 October 1953

I am afraid we’ve kept Strangers from Within rather a long time.

Source: www.theguardian.com