THE PENDING DRAFT

How Seville transformed itself into the cycling capital of southern Europe

April 12, 2015

Seville now has 75 miles of segregated lanes, with other routes radiating out from the loop around the old town. It also has a municipal bike hire scheme, like those in Paris and London, called SEVici, with 2,500 bikes and 250 docking stations.

It is additionally trying to link cycling with public transport. Passengers arriving at the city’s main bus station can use their ticket to borrow one of nearly 200 separate rental bikes, free for the whole day. The city’s university has yet another scheme, in which students are provided with bikes for the academic year.

Looking forward to WordCamp Europe in June even more when i read this.

How Seville transformed itself into the cycling capital of southern Europe

Alcohol or Marijuana

April 11, 2015

Aaron E. Carroll asks “Alcohol or Marijuana?” and answers this question from a pediatricians standpoint. A very interesting post (found via Matt’s blog with some great comments). It’s one of the best articles on the topic i read in a long time and i like the fact that it’s on a high-profile site like the New York Times. He makes some very convincing – and maybe surprising for some – points about the comparison of alcohol to marijuana.

I also can’t ignore what I’ve seen as a pediatrician. I’ve seen young people brought to the emergency room because they’ve consumed too much alcohol and become poisoned. That happens thousands of times a year. Some even die.

And when my oldest child heads off to college in the not-too-distant future, this is what I will think of: Every year more than 1,800 college students die from alcohol-related accidents. About 600,000 are injured while under alcohol’s influence, almost 700,000 are assaulted, and almost 100,000 are sexually assaulted. About 400,000 have unprotected sex, and 100,000 are too drunk to know if they consented. The numbers for pot aren’t even in the same league.

I think the public opinion on drugs is completely distorted today. If you talk to people about drugs, it’s pretty common to refer to drugs when talking about so many substances (mostly the illegal ones) yet at the same time not even seeing alcohol as a drug. Which is bad because it’s not possible to have a real discussion and to compare things if you categorize them differently to begin with.

Fact is, humans liked to alter their minds ever since and some substances can help in that regard. Whether someone is smoking pot, drinking a beer or taking any other substance, it is on a fundamental level for the same reason: Alter your brain activity. If your use of a substance will lead you to abusing it later on has several complicated reasons beyond just which kind of drug we’re talking about.

Another fact is that prohibition created way more problems and harmed more people than it ever helped and it created a whole lot of criminality along the way. It never stopped anyone from taking something but instead created a market for dirty, unclean and dangerous substances of which many people died. Happened during the alcohol prohibition in the states as well as with any other drug prohibition i know of.

We really need to have this public discourse about drugs and we need to change the way we treat this topic. The legalization of marijuana – which is inevitable if you ask me – and the more differentiated public discussion that seems to come with it, is one first step in the right direction.

Alcohol or Marijuana? A Pediatrician Faces the Question

Git Structure for WordPress Projects

April 9, 2015

A great post about whats the best git structure for WordPress projects. I completely agree with Peter Suhm on this one.

I have ranted about the subject of repository structure before and I have strong opinions about it. In my opinion there is one – and only one – way to structure Git repositories in a WordPress context. That one way is the one-package / one-repository approach. Let me explain why.

Putting the complete WP core into your repo is something i see a lot, but it always feels wrong and bloated to me. One plugin/theme = one repo is the way to go.

Plus i learned about .gitattributes in his post which seems to be a good way to specify which files should get bundled in the final .zip when your project gets downloaded.

Git and WordPress: 3 Tips to Do It Better

ThemeReview.co now also accept plugins

April 7, 2015

Just a few months after their launch, Justin Tadlock and Emil Uzelac of ThemeReview.co announced that they intend to also accept plugins for review in the future. For now it’s limited to a few plugins until they figured out the pricing structure and overall process and the cost will be evaluated individually based on the complexity of each plugin. You find some more about it in this post over at the WPTavern.

ThemeReview.co – We’re now accepting plugins

Speed Optimization Myths

April 6, 2015

Optimizing your website for speed can be a complex issue, especially for non-developers. A lot of guides and articles over-simplify by providing broad advice that isn’t applicable to every website and shouldn’t be taken at face value. Here’s a few commonly-spouted tips that need some clarification.

Some good advice to think about next time you’re optimizing a page for performance.

5 Speed Optimization Myths

The man behind the Apple Watch

April 5, 2015

Nothing goes uncalculated and untested. Before I leave, Ive holds up the watch’s white outer box. Almost imperceptibly, the bottom begins to move, obeying the law of gravity that pulls it away from its other half. It is graceful, calming… and far from accidental. “We work out what we feel is the optimum time for it to drop and then we back off that and work on the tolerances, and even work on the friction of the materials we use. I mean, that’s fanaticism,” he says, with a little smile. If only more fanatics were like Jony Ive

Another article about Jony Ive and Apple’s design philosophy. Worth a read.

The man behind the Apple Watch

CSS Level 4 Selectors

April 4, 2015

Looks like some really helpful new things are coming to CSS. I especially like the proposed :has selector which i could have used a ton of times in the past. In combination with :nth-child or :not this will open up quite some possibilities for complex relational selectors and we won’t have to use complicated techniques like this quantity query.

The :has pseudo-selector allows you to select elements that have the passed in arguments as children. For example, to select all anchor links that have image elements as children

But there’s more than the :has selector and i recommend you read the full post about those new CSS Level 4 Selectors.

CSS Level 4 Selectors to Watch Out For

On the WordPress REST API

April 3, 2015

The REST API is shaping up to be an awesome reflection of WordPress itself. WordPress is a tool that provides a basic starting point for a CMS in five minutes or less, which can be expanded on pretty much infinitely.

The REST API is no different. It provides a fully functional API out of the box, ready for anyone to use, with all the power needed for site and plugin developers to easily customize.

Some insights on the development of the WP-API. I only scratched the surface a bit up until now but already look forward to all the possibilities this will bring to WordPress. If you haven’t played with the Development Plugin already, you definitely should.

On the WordPress REST API