<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Raspberrypi on Matt Thornton</title>
    <link>https://matt-thornton.net/tags/raspberrypi/</link>
    <description>Recent content in Raspberrypi on Matt Thornton</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 13 May 2019 16:18:14 +0000</lastBuildDate><atom:link href="https://matt-thornton.net/tags/raspberrypi/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Basic web scraping - Part 2: thoughts on debugging and Python3</title>
      <link>https://matt-thornton.net/tech/basic-web-scraping-part-2-thoughts-on-debugging-and-python3/</link>
      <pubDate>Mon, 13 May 2019 16:18:14 +0000</pubDate>
      
      <guid>https://matt-thornton.net/tech/basic-web-scraping-part-2-thoughts-on-debugging-and-python3/</guid>
      
        <description>&lt;h3 id=&#34;update-2020-04-13-the-main-article-has-been-overhauled-and-republished&#34;&gt;&lt;strong&gt;Update: 2020-04-13. The main article has been overhauled and republished &lt;a href=&#34;https://matt-thornton.net/tech/basic-web-scraping-with-python-episode-3&#34;&gt;here&lt;/a&gt;! Includes Python3 updates, Dropbox uploading and a code repo.&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;I&amp;rsquo;m leaving the below in place for info and posterity and for misc useful tidbits.&lt;/strong&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;A while ago, I posted a &lt;a href=&#34;https://matt-thornton.net/tech/basic-web-scraping-with-a-raspberry-pi-python-and-requests&#34;&gt;basic tutorial on how to do some simple web scraping&lt;/a&gt; in Python using requests and beautifulsoup.&lt;/p&gt;
&lt;p&gt;It obviously got found in Google because the hits were good. There were however, a couple of comments highlighting issues with it - Brett and Sean saying issues with “TypeError: ‘NoneType’ object is not callable”&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>MySQL on Raspberry Pi - allow connections from non-localhost</title>
      <link>https://matt-thornton.net/tech/databases/mysql-raspberry-pi-allow-connections-non-localhost/</link>
      <pubDate>Wed, 06 Dec 2017 05:21:05 +0000</pubDate>
      
      <guid>https://matt-thornton.net/tech/databases/mysql-raspberry-pi-allow-connections-non-localhost/</guid>
      
        <description>&lt;p&gt;If you want to connect to MySQL from any device in your network that isn&amp;rsquo;t on localhost, then you may encounter an error:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;MySQL error: Could not connect to any of the specified hosts&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Bear in mind that e.g., a PHP web app or phpmyadmin will continue to work, since (assuming your web server such as Apache is running on the same server as MySQL) they&amp;rsquo;re technically running on localhost and will be able to connect.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Recovering files from broken Raspberry Pi - Part 1</title>
      <link>https://matt-thornton.net/tech/databases/recovering-files-broken-raspberry-pi-part-1/</link>
      <pubDate>Tue, 05 Dec 2017 22:17:13 +0000</pubDate>
      
      <guid>https://matt-thornton.net/tech/databases/recovering-files-broken-raspberry-pi-part-1/</guid>
      
        <description>&lt;p&gt;I have a Raspberry Pi 3 which serves solely as a MySQL server. It does have an important (production-esque) purpose but despite that&amp;hellip; I didn&amp;rsquo;t have it backed up properly. Oops.&lt;/p&gt;
&lt;p&gt;So when it spectacularly died the other day, and, um&amp;hellip; production things&amp;hellip; stopped productioning&amp;hellip; I worried a little. Well after I changed my pants, I worried a lot.&lt;/p&gt;
&lt;p&gt;Not so much about the server, or even in fact the data, but the &lt;em&gt;structure&lt;/em&gt; of the databases.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>On Mono on a Raspberry Pi... vs Win10 IOT Core</title>
      <link>https://matt-thornton.net/tech/mono-raspberry-pi-vs-win10-iot-core/</link>
      <pubDate>Sat, 30 Sep 2017 21:55:15 +0000</pubDate>
      
      <guid>https://matt-thornton.net/tech/mono-raspberry-pi-vs-win10-iot-core/</guid>
      
        <description>&lt;p&gt;Last week I posted about &lt;a href=&#34;https://www.matt-thornton.net/tech/net-console-app-mono-raspberry-pi-writing-mysql-compiled-mac&#34;&gt;the setup of a RPI / Mono&lt;/a&gt;. Having played with a little, I&amp;rsquo;ve ultimately abandoned that line of approach.&lt;/p&gt;
&lt;p&gt;This is not directly a reflection on Mono - no doubt the team behind that have done an incredible job of developing a platform well beyond the original intentions of the .NET framework. My main issue was that the application I&amp;rsquo;d written in a true WinDev environment didn&amp;rsquo;t just move over to the RPI / Mono environment, thus my dev cycle was broken.&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>