Why are we governed by incompetents?

Why are we governed by incompetents?

Perhaps knowing this, she chose David Davis to handle the details of negotiation, a man who had the charm that May lacked but who had no interest in the details, in part because he clung on to the belief that the EU would cave at the last minute. Of course it was also David Cameron who made a commitment to hold the EU referendum in the first place under terms that were most favourable to the Leave side. Indeed most right wing think tanks are designed to turn the ideology of neoliberalism into policy based evidence.

Source: mainlymacro.blogspot.com

To ORM or Not to ORM

To ORM or Not to ORM

My experiment involves defining a simple database that could be a subset of a blogging engine, as well as write some Go code that populates and queries this database and compare how it looks using plain SQL vs. using an ORM. Instead, we define “objects” (really s) with some magic field tags for gorm: The code working with this database comes in two variants: No-ORM; using plain SQL queries through the package. SQL is a much more stable layer that stays with you across implemented a simple application skeleton using raw SQL and compared it to an implementation using gorm, I can see the appeal of ORMs in reducing boilerplate.

Source: eli.thegreenplace.net

20 Years Ago, Microsoft Changed How We Mouse Forever

20 Years Ago, Microsoft Changed How We Mouse Forever

On top it didn’t look much different than its predecessors—it still had a few buttons and a scroll wheel—but underneath it introduced a technology to the masses that brought an end to the prehistoric days of cleaning dirt and grime out of computer mice. All that changed on April 14, 1999, when at the COMDEX expo in Las Vegas, a now-defunct trade show similar to today’s CES, Microsoft announced its IntelliMouse Explorer: a mouse that traded the dirt sucking rolling ball for LEDs and a digital camera that could optically track the mouse’s movements with extreme precision. Microsoft was far from the first company to incorporate optical tracking into a mouse.

Source: gizmodo.com

How well do London buses match the timetables?

How well do London buses match the timetables?

In rural and suburban areas, a bus may come at a very specific time, while urban and other busy areas may have timetables specifying that buses on a route should arrive at some constant interval. The blue line represents how often a bus should arrive at bus stops at the current time (TfL usually specifies a time range – e.g. 9 to 13 minutes). The data is also not complete – it includes only Bus Routes 1-50 and only displays those routes where the timetable states that a bus should arrive every x minutes at the current time.

Source: www.michalpaszkiewicz.co.uk

Networks of Low-Stakes, Casual Friendships

Networks of Low-Stakes, Casual Friendships

The sociologist Mark Granovetter calls these low-stakes relationships “weak ties.” Not only can these connections affect our job prospects, they also can have a positive impact on our well-being by helping us feel more connected to other social groups, according to Dr. Granovetter’s research. Other studies have shown weak ties can offer recommendations (I found my accountant via a weak tie) and empower us to be more empathetic.

Source: www.nytimes.com

Cppyy – Automatic Python-C++ bindings

Cppyy – Automatic Python-C++ bindings

cppyy is an automatic Python-C++ bindings generator, for calling C++ from Python and Python from C++, designed for large scale programs in high performance computing that use modern C++. Consider this session, showing dynamic, interactive, mixing of C++ and Python features (more examples are in the tutorial):

With a modern C++ compiler having its back, cppyy is future-proof. The Boost library is well known for its no holds barred use of modern C++ and heavy use of templates:

And yes, there is no reason to use Boost from Python (in fact, this example calls out for pythonizations), but it shows that cppyy seamlessly supports many advanced C++ features.

Source: cppyy.readthedocs.io

Linux 5.1 Arrives

Linux 5.1 Arrives

There’s no big “exciting” updates in this Linux kernel release, but it does include several neat, new features. The first of these is Linux now supports persistent memory as RAM. “This is intended for use with NVDIMMs that are physically persistent (physically like flash) so that they can be used as a cost-effective RAM replacement,” wrote Linux developer Dave Hansen.

Source: www.zdnet.com

Being Glue

Being Glue

I’d left Google by then and wasn’t at all sure it would resonate with folks in other companies. You’d like to have time to code, but nobody else is onboarding the junior engineers, updating the roadmap, talking to the users, noticing the things that got dropped, asking questions on design documents, and making sure that everyone’s going roughly in the same direction. Let’s talk about how to allocate glue work deliberately, frame it usefully and make sure that everyone is choosing a career path they actually want to be on.

Source: noidea.dog

Rio de Janeiro’s police killed a record number of people in three months

Rio de Janeiro’s police killed a record number of people in three months

That year, according to Human Rights Watch, police killings in Rio de Janeiro hit their highest level since 1998, when the government started recording this data. “In the first place, the Rio de Janeiro police force has higher levels of violence and corruption compared to their counterparts in the rest of the country,” she said. Bolsonaro and Witzel’s hardline rhetoric on crime played a significant role in the elections for president of Brazil and governor of Rio de Janeiro even though mano dura policies have been proved to have limited effectiveness in reducing crime and violence.

Source: latinamericareports.com