<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by George Streten on Medium]]></title>
        <description><![CDATA[Stories by George Streten on Medium]]></description>
        <link>https://medium.com/@gstreten?source=rss-999f67768c1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9dPmTTpWhIepqROgsnz-lw.jpeg</url>
            <title>Stories by George Streten on Medium</title>
            <link>https://medium.com/@gstreten?source=rss-999f67768c1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 22:42:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gstreten/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The BMW i3. It makes sense now.]]></title>
            <link>https://medium.com/@gstreten/the-bmw-i3-it-makes-sense-now-776b6b4dd788?source=rss-999f67768c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/776b6b4dd788</guid>
            <category><![CDATA[i3]]></category>
            <category><![CDATA[bmw]]></category>
            <category><![CDATA[electric-car]]></category>
            <dc:creator><![CDATA[George Streten]]></dc:creator>
            <pubDate>Fri, 14 Jul 2017 21:55:57 GMT</pubDate>
            <atom:updated>2017-07-14T21:55:57.215Z</atom:updated>
            <content:encoded><![CDATA[<p>I drove the BMW i3 for the first time today.</p><p>When I first saw the car on paper, I think I just rolled my eyes. This strange looking thing seemed just alien, perhaps <em>too</em> futuristic, and nothing like a real car. But having given the little carbon built rocket ship a chance, I see there’s actually a lot of sense to it. BMW’s designers have made a powerful statement to the world: ‘<em>combustion engines are over — this is the future, and it’s here now</em>’.</p><p>The chap who delivered it for a long-term test drive this morning (not for me) asked me to run him back to the train station. Naturally I obliged — somehow, something strongly compelled me to give this strange looking domestic appliance a run down the road. The moment I departed the driveway, I felt somehow unable to drive the i3. Regenerative braking felt so very strange, the lack of engine vibration made me feel out of place, and the sheer non-existence of gear breaks left me hanging. Immediately it felt miles distant from the VW Golf I drive day-to-day.</p><p>As I neared the A27, it suddenly clicked with me, and I felt back in place. The sheer silence, broken only by road noise and the motor whine as the pedal met the floor was actually pretty cool. And now, having had a little time to reflect on driving it for a few hours, it makes a <strong>lot</strong> of sense — vehicles of this ilk are the future. Why am I — are we — driving around in <em>ice-cap-melting, polar-bear-killing, dinosaur-juice-guzzling</em> combustion engines, when instead this silent…thing…can take me from 0–30mph quicker than a 3.0L BMW M4? Yes, the engine song of that wonderful petrol with a twin-turbo is beautiful, and yes, overall the M4 is utterly nuts — but who honestly, day to day, as a commuter or travelling worker needs a car of that capacity?</p><p>The traffic lights hit green. “<strong>Come on, give it the beans!</strong>” Richard shouted from the other side of the <em>impressively</em> roomy cockpit — so somewhat hesitantly, pulling away from a standstill, I did. I think my face fell off. It just goes, and goes, and keeps going. The moment you have to let off the accelerator pedal as you hit the speed limit is a moment of sadness; you just want to continue accelerating. Considering it’s size, and sheer efficiency to run, it is unbelievably quick. You may argue — ‘but I don’t need that. I don’t want to go fast. I’m driving on the road and I do so sensibly’ — and I stand with you with that very view. But having the sheer ability to overtake Norris descending the motorway sliproad at a <em>paltry</em> 45mph with the gentle push of a pedal, without becoming concerned about whether you’ll overtake safely and in time to join, is simply brilliant.</p><p>Naturally, something like the i3 isn’t going to fit <em>everybody</em>. That’s for sure — and a world where we were all driving the same would be really quite horrible somehow. But this is developing technology — this is the future. Whilst driving the i3 today, I spotted another three i3 drivers, all of whom gave me a nod of ‘you get it, don’t you. So do I.’ — and I do. Combustion engines are over but for the select few situations. Electric is on it’s way in, and it’s a vehicular <strong>revolution</strong>. Viva la i3. It gets my approval every time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=776b6b4dd788" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Raspberry Pi Zero — Gadget Mode]]></title>
            <link>https://medium.com/@gstreten/raspberry-pi-zero-gadget-mode-802ddc119862?source=rss-999f67768c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/802ddc119862</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <dc:creator><![CDATA[George Streten]]></dc:creator>
            <pubDate>Wed, 11 May 2016 19:38:44 GMT</pubDate>
            <atom:updated>2016-05-11T19:38:44.037Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sAw69FAxSq-mKRTWwM7IOw.jpeg" /></figure><p>Okay, maybe Medium is a weird place to put this. But somebody asked me how I did this, so I figure here is as good of a place as any!</p><p>What exactly <em>is </em>a Raspberry Pi, you ask? It’s literally a computer. A £4 computer — you can plug it into a monitor, keyboard and mouse, and use it as any other computer. Or, you can SSH into it over a network, if you’re technically minded. This article focuses on the technically minded side of things, so if that’s not your thing, but you’re still interested, take a look at <a href="https://www.raspberrypi.org/help/what-is-a-raspberry-pi/">https://www.raspberrypi.org/help/what-is-a-raspberry-pi/</a>.</p><p>Now, different to most other Raspberry Pi’s, the Zero has a snazzy little trick up it’s sleeve. It’s USB data port is not only for connecting devices, but can also be used to make it become a device in itself — and yes, you can power it from the very same port. Doing this utilises a feature called gadget mode, which in itself sounds pretty interesting, right? Gadget mode enables the Pi Zero to become a number of things, such as an HID input device, a serial device, an RNDIS network device (this is what I’m going to focus on), a MIDI device, or a mass storage device. Amongst a number of other things!</p><p>The gadget mode functionality comes in a development version of the Pi kernel, but I find it to be perfectly stable. However, I accept no responsibility for anything that goes wrong. A couple of times for me this hasn’t worked, which results in having to wipe the SD card and start again — but hey, that’s the great thing about a Raspberry Pi, right?!</p><p>I’ve only tested this on Raspbian Jessie, so your results may vary with other distributions. Let me know what else works for you! Also, I’m also pretty sure you can only use Mac or Linux to connect to the gadget-ised Pi, but again — I haven’t tried anything else.</p><h4>The method</h4><blockquote>Note — this method is consolidated at the end of the post if you’d rather run the quick way without the explanations!</blockquote><ol><li>You want to kick things off by SSHing into your Pi by other means. I find what works quite well is to put the SD card into another Pi with an internet connection. The Pi will need an internet connection for this process.</li><li>Upgrade your kernel to the ‘next’ branch of the Pi kernel project. To do this, enter the following, follwed by the enter key: <strong>sudo BRANCH=next rpi-update</strong></li><li>Now you’ll need to change the USB driver which is used by the Pi. Add ‘dtoverlay=dwc2’ to the end of the <em>config.txt</em> file in the /boot folder. To do this, you could use the nano editor by entering: <strong>sudo nano /boot/config.txt</strong>, adding to the end of the file, and then pressing ctrl-x, typing <strong>y</strong>, and then pressing enter</li><li>Ace, you’ve made it this far — not long now!</li><li>You’ll now need to add two little lines to the <em>modules</em> file in the /etc folder. You need to add (on separate lines!) ‘dwc2’ and ‘g_ether’ to the end of the file. Again, it’s the same process — you can use the nano editor by entering: <strong>sudo nano /etc/modules</strong>, adding <strong>dwc2</strong> and <strong>g_ether</strong> to the end of the file on separate lines, and then pressing ctrl-x, typing <strong>y</strong>, and then pressing enter</li></ol><p>Solid. You’ve got the networking module set up and sorted! Now to be able to connect with it, there’s one final little step. This is to provide the Pi with a static IP address. For that, you need to edit /etc/network/interfaces (again — <strong>sudo nano /etc/network/interfaces</strong> is my recommended way of doing this) and add this block to the end of the file:</p><pre>allow-hotplug usb0</pre><pre>    iface usb0 inet static</pre><pre>    address 192.168.5.2</pre><pre>    netmask 255.255.255.0</pre><pre>    network 192.168.5.0</pre><pre>    broadcast 192.168.5.255</pre><pre>    gateway 192.168.5.1</pre><p>Note: the IP addresses in the format <em>192.168.5.x</em> need to be unused on any other connected networks, or there could be issues! But after you’ve added that, simply reboot the Pi and connect it to your computer via the port labeled ‘USB’ on the Zero.</p><p>You’ll need to now adjust the network settings on your computer — depending on what machine you’re running, this will work differently, but you need to give your computer these various network details for the ‘RNDIS/Ethernet Gadget’ device which should have popped up now that the Pi is connected to your computer:</p><pre>IP address: 192.168.5.1<br>Subnet Mask: 255.255.255.0<br>Router: 192.168.5.1</pre><p>And that’s it — complete! You should be able to SSH into your Raspberry Pi Zero at the address <strong>192.168.5.2</strong> — cool, huh? Just make sure you turn it off safely before you disconnect!</p><p>There is an easier way to do the key steps, through a series of commands. Just enter these and you should be on your way:</p><pre>sudo BRANCH=next rpi-update</pre><pre>echo “dtoverlay=dwc2” | sudo tee -a /boot/config.txt</pre><pre>echo “dwc2” | sudo tee -a /etc/modules</pre><pre>echo “g_ether” | sudo tee -a /etc/modules</pre><p>Note that you’ll still need to add the block earlier up in the post to /etc/network/interfaces for the Pi Zero to have an IP address.</p><p>This guide was based on one I found here: <a href="http://blog.gbaman.info/?p=699">http://blog.gbaman.info/?p=699</a> — I’ve adapted it a little to be more focused on the network aspect and to be a little more thorough on the final stages. Total creds to Andrew at gbaman.info!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=802ddc119862" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>