Menu

VanDragt.com

Thought on privacy, tech and media.

@manton on iOS I can only post after attaching my WordPress blog even though I have a micro blog via Kickstarter?

WordPress blogging from my micro.blog service! Yes.

iOS still needs so much work. 🙁

Playing my purchased digital music across my devices is still harder than it ought to be in 2017.

It turns out an iPad might not charge using an extension lead but will when plugged directly into a wall socket.

Recognising Ogg Vorbis streams in WinAmp

I’m working on a side project where I am broadcasting an OGG Vorbis stream using Icecast. Google Chrome played the stream, and so did VLC, but WinAmp was unable to. It connected to the stream with an HTTP 200 status but could not interpret it.

As it turns out WinAmp requires the mount point to have a file extension for it to detect the stream correctly, so updating the mount point to stream.ogg instead of stream in the icecast configuration did the job.

Understanding the adaptive Nintendo Switch

The Nintendo Switch is redefining gaming by adapting to the players environment. Unfortunately, it is widely misunderstood. It provides fun when used alone, with others, or with other Switch owners; in the living room, on the bus, at a desk. It an adaptive console, not a portable one. Any game that can be played like this is going to be a liberating experience, being optimised for how we live and can be played whenever we feel like.

So far, it seems the Nintendo Switch is widely misunderstood, even by game developers, reviewers and gamers alike. This is not surprising because Nintendo attempts to achieve something that no other gaming device has ever tried: gaming anywhere.

The moment everything fell in place for me was when I stopped thinking about Nintendo Switch as a portable console, but as an adaptive console.This explains why it does not become loads more powerful when docked, because that would favour playing on the TV over all the other ways. Nintendo has gone through amazing lengths to let you play together with other Switch owners even without a WiFi network, because it wants gaming everywhere.

A game that is not fun on the TV or playing with others on the same switch is limiting the switch experience and I think we will see a lot of games that are compromised in some way as game developers are getting to grips with the platforms adaptability.

The Switch is a careful balance between offline and online play, individual versus group play, and a study about where gaming can fit in our lives.

Banning the “Ban Crypto” Agenda

Cory Doctorow over at BoingBoing.net writes:

Theresa May says there should be no “means of communication” which “we cannot read” — and no doubt many in her party will agree with her, politically. But if they understood the technology, they would be shocked to their boots.

Perhaps we should no longer assume that politicians ‘do not understand the internet’ and assume they are asking for changes in the full understanding that they don’t achieve the goal for which they’re introduced.

As long as the situation that’s being created is more favourable for them than the current one it’s a net benefit.

Short-term politics is the biggest threat to UK society at the moment and the current government is particularly good at it.

Generating Atom feeds from your Lektor site

After quickstarting a Lektor site, a next obvious thing to do is to add a feed to the site’s blog. Fortunately, Lektor has a growing ecosystem of plugins, one of them creates atom feeds.

Installation of lektor-atom

The plugin to install is lektor-atom, and is installed via the terminal:

lektor add plugin lektor-atom
lektor build

This adds a reference to the myproject.lektorproject file with the plugin and installs the plugin into the lektor pipeline.

Configure a feed

However, notice that after building the site no feed is generated! This is because no feeds have been setup yet.

Create a configs/atom.ini containing the following lines (full documentation)

[blog]
name = My Blog feed
source_path = /blog
item_model = blog-post
url_path = /blog/feed.xml

Change the url_path to suit your preferences. Trying to build now would result in an error: E blog/feed.xml (RuntimeError: To use absolute URLs you need to configure the URL in the project config.)

To resolve the build process myproject.lektorproject must be updated with two lines within the project section to indicate the site’s live URL and an absolute URL style:

[project]
name = My Project
url_style = absolute
url = https://myproject.com

[packages]
lektor-atom = 0.2

The site can then build and the resulting feed can be accesssed from https://myproject.com/blog/feed.xml.

Vladimir Trump

Watching Trump’s presser, I had a feeling I’d seen it all before?—?while covering Vladimir Putin’s annual news conferences.

Source: A message to my doomed colleagues in the American media – Medium