Random stuff from my head. If you want more fully formed thoughts, please visit my blog.
Most of the time when we get up hungry, we go and eat something right away. This is important to do promptly, as it prevents the ‘u’ in ‘hungry’ transmuting into an ‘a’. It’s also why replacing the ‘l’ in lunch with a ‘br’ seems like an act of lunacy.
It’s this bizarre ritual where on a Saturday or Sunday morning we wake up, possibly with a mild hangover. Instead of eating though, we stay hungry as we walk / drive to a restaurant with an epic queue. By the time we’re seated, the place is still so packed that it takes an hour to be served. At this point, if you’ve not started eating the table, you’re doing well.
Why do we keep doing this to ourselves?!?
I have a MacBook Air with a truly dead SSD drive. Whilst considering some workarounds, I wondered if it was usable for anything when there was no drive to boot from.
I discovered, if you boot into internet recovery mode (hold
R when booting) you can then bring up a terminal. From there you can SSH into another machine and, actually, do work. Kind of.
There is however a major drawback to this, which is power consumption becomes highly inefficient. Presumably, whatever functionality exists during normal usage to maximise battery life, it all goes down the toilet in recovery mode. So, you’ll want to keep it plugged in, or you know, actually replace the SSD drive (but that’s a whole other story).
The start of a new year, and I thought I’d give the so-called “tube station count” challenge a go, but instead of London I’ll be trying it out in Montreal.
The premise is simple; Grab a map, and cross out each station you’ve visited. At the end of the year, look back and see how you’ve done. For a visit to count, you need to actually cross the gate line.
With Montreal’s Metro being a fraction of the size of the London Underground, it should be doable! My first deliberate station visit was Angrignon, at the Western end of the Green Line.
Check out Jeff Marshall’s video to learn more about the challenge.
Sometimes the frustrations of settings up a DBMS (in this case, IBM Informix) can get to you, so it helps to write a poem about your woes.
There once was a server in Montreal,
Which had the wrong Informix install,
Since the versions don’t match,
Now the queries won’t run at all.
As I mentioned in the previous post, Apple have broken webapps in a new way under iOS 11. To test this I created a simple web page with a single PHP command:
Here’s what came back:
|iOS 10.3||Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E8301 Safari/602.1||Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Mobile/14E8301|
|iOS 11 (Beta)||Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A5361a Safari/604.1||Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A5361a Safari/604.1|
So by this method, there’s now no way of distinguishing between a web page being viewed in Safari or in a webapp container. Maddening.
The challenge now is to figure out if there’s another way of telling the difference.
window.navigator.standalone will tell you if you’re in a full screen app.
Update 2: Shaun McDonald figured it out!
Thanks Shaun. Maybe I was being a little hard on Apple; They’ve actually fixed web apps, just broken mine!
Taking the plunge in upgrading my iPhone to the latest iOS 11 public beta since it seems stable enough. Some early observations after a couple of days’ usage on an iPhone 5S:
So, this feels like a stability release which on the surface is about adding a bit of spit and shine onto the existing experience.
There’s been some stuff in my Facebook feed recently about sleep paralysis, so I thought I’d briefly share my own experiences with this odd sleep related condition.
Sleep paralysis is defined by the NHS like so:
… a temporary inability to move or speak that occurs when you’re waking up or falling asleep. [source]
I used to experience this regularly in my 20s, perhaps once a month. But, as I’ve gotten older it’s become a far less frequent occurrence.
I guess the experience is different for everyone, but in my case it happens in the morning, and I’m aware of being conscious and of the sounds around me, but I can’t move or open my eyes. It’s accompanied by an intense feeling like my head is being crushed and I’m falling. My sense of time appears to be skewed and I’m never sure how long it really lasts, but with a real effort of concentration I can eventually force my body to move, at which point I violently jolt myself awake. Sometimes the experience is combined with an almost dream-like quality, and yes, I have experienced that sensation of a presence in the room at least once.
It’s happened to me enough times now that I know it’ll pass, and sometimes I can even feel the process beginning and am able to shake myself awake before I’m fully gripped by the sensation. But my greatest fear each time it happens is that I’ll be stuck in that state and won’t be able to get back.
Sleep is a funny old thing. For some other perspectives on sleep paralysis, read this.
Montreal had a partial view of the eclipse today. Being unprepared, this was the best my iPhone could do. Note the double lens flares which is where you can actually see the eclipse.
Apparently there’s a total eclipse hitting Montreal in 2022.
If you like a good view, Montreal’s mountain has four lookouts:
Chalet du Mont-Royal: This is the really famous lookout, with the view over Montreal’s downtown. It’s the photo you see on all the postcards, but there’s not a photo which does it justice until you’ve seen it for yourself.
Belvédère Camillien-Houde: This is the Eastern lookout, with views over Montreal’s East-End (Plateau, Rosemont and beyond). It’s also a traditional make-out spot for locals, who park their car as per every American teen romance or horror movie you’ve ever seen.
Summit Circle Look Out: Technically not in Montreal (it’s in Westmount) this South-Western viewpoint offers lovely views, and unlike the other three spots is reasonably obscure and quiet. I wrote about it here.
Edit: I found a fifth!
So, I think this is the Canada / US border. It’s as viewed from a small turboprop flying from Montreal to Moncton, as I believe our flight path took us over Maine between Quebec and New Brunswick.
Thanks to some helpful friends over on Facebook, here are a couple of links to explain why they shave the land and how internal Canadian flights can cross US airspace:
Update: It seems voting is still open here. They also have a PDF explaining the three options, so I may have jumped the gun!
Update 2: Seems there was public outcry that the vote wasn’t more widely available to everyone, hence the online voting options. More information on the plan here.
The group behind long-term planning on our high street put three projects to a public vote the other night. The winning project is to make the street more pedestrian friendly by:
Scenario 2 prevailed. With this option, Rue Masson would become a one-way street (to the east in unofficial logic) and there would be a bike lane. The sidewalks would be 1.5 m wider on each side and a total of three parking spaces would be lost. There would also be a public square on the forecourt of the Church of the Holy Spirit. It remains to be seen now where the line 47 would be diverted to the west. There are solutions that can be done without going through Dandurand and Laurier. This consultation was organized a few weeks ago by the Promenade Masson Business Development Corporation. (translated via Google Translate)
On the face of it, I was ecstatic about this change. The borough touts our high street as its metaphoric heart, but I’ve felt for a long time that it was still too much of an artery for cars. The sidewalks are way too narrow and blocked with street furniture. It’s not a nice street to walk down, especially with a small child in a pushchair or on foot as there’s often not enough space for two people to pass. I love the idea of more space to walk. Also, reducing the traffic from two lanes to one means a 50% reduction in motor vehicles, which in turn will reduce localised air pollution.
But, when I thought more deeply it became obvious this isn’t going to be a plan without consequences.
The bus route will need to be relocated going West.
This seems to have been acknowledged in the plan, as the local bus would have to be relocated either one block North or South of the high street in one direction. This is probably going to annoy the majority of people who end up with further to walk, but it will please people who now get a bus route along their road.
Due to the diversion, it will most likely make the bus journey going West just that little bit longer in the mornings. That’s a problem with this bus route, which is already slow and unreliable at the best of time in-spite of connecting a major local centre to the Metro.
There will be more traffic on the back-streets
Even though the high street is an important local backbone for shops, cafes, pubs and entertainment, for a lot of people it’s just a short-cut across the borough for their car. With the street closed to Westbound traffic, you can guarantee that the displaced traffic (including some pretty large trucks) will start taking the residential streets. That’s almost certain to annoy residents.
A knee-jerk reaction to this might be to mimic the Plateau by sealing off side-streets to traffic in a way that prevents them being used as cut-throughs, which is great for cyclists and pedestrians, but leads us to…
There may be a risk to businesses
As the neighbouring Plateau has shown, when you start restricting road traffic, people are less likely to come visit a neighbourhood. This in turn can potentially affect businesses.
In the case of the Plateau, there’s been a whole cocktail of things which have aversely affected local establishments, but sealing off vast swathes of the neighbourhood hasn’t helped. As much as I’m in the camp of restricting cars as much as possible in favour of cycling, walking and public transport, this kind of thing needs to be carefully researched before going ahead.
In conclusion, fantastic idea on the surface, but it needs a lot of measure and wisdom behind the implementation, and that’s something the city has proven time and time again it’s not good at.
One problem with Find My Mac on (older laptops at least), is that if you clear the NVRAM (or the parameter memory), it disables Find My Mac. There’s no warning that this has happened, so I created a background tool to warn you when it’s switched off.
After visiting Japan, here were my Twitter-friendly off-the-cuff recommendations. I wrote this circa 2010… things have most likely changed since then, but I’ll let you make up your own mind!
(as an aside, Shimokitazawa was one of my favourite places in Tokyo, but I suspect it’s “developed” since I was there.)
Beer; it’s never around when you need it. But, what if you could brew it in your lungs?
By sacrificing one of your oxygen sacks, you can fill it with yeast, and other ingredients necessary for creating the perfect pint.
So, when you get the need for the perfect brew, a simple coughing fit into a pint glass will provide you with your heart’s desire.
People all seem so concerned with a genetically modified virus escaping into the general populous.
But, what if some crazy scientist were to play around with the humble mould spore?
What if, say, someone were to reduce the time it takes for a spore to colonise and digest an item of food that’s been left exposed to air? Imagine that it only takes about an hour for food to go from being fresh, to being covered in blue and green.
That would mean that you’d have about fifteen minutes to eat your freshly made sandwich.
Putting things in the fridge would help a bit, but you’d be lucky if that leftover spaghetti bolognese from dinner made it through the night.
How would you get food home from the supermarket before it spoiled? For that matter, how would the big supermarket chains get food into their branches before it became a fungal orgy?
Would the economy collapse? I suppose that food would have to be distributed in dehydrated form, as foodstuffs with a low water content (such as honey) never go off.
Look on the bright side though, at least cheese will mature quickly.
Is it wrong that this discussion is actually making me feel hungry?
“It was discovered on a space mission that a frog can throw up. The frog throws up its stomach first, so the stomach is dangling out of it’s mouth. Then the frog uses its forearms to dig out all of the stomach’s contents and then swallows the stomach back down again.”
I’m very disturbed by this news.