<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>google &#8211; www.musings.ch</title>
	<atom:link href="https://www.musings.ch/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.musings.ch</link>
	<description></description>
	<lastBuildDate>Fri, 15 Dec 2023 08:32:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.musings.ch/wp-content/uploads/2020/02/cropped-56884-200-2-32x32.png</url>
	<title>google &#8211; www.musings.ch</title>
	<link>https://www.musings.ch</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Google Finance: CHSPI broken</title>
		<link>https://www.musings.ch/2023/05/11/google-finance-chspi-ishares-etf-broken/</link>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Thu, 11 May 2023 08:35:13 +0000</pubDate>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[ouch]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[chspi]]></category>
		<category><![CDATA[etf]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[googlefinance]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[ishares]]></category>
		<category><![CDATA[spreadsheet]]></category>
		<category><![CDATA[symbol]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=1064</guid>

					<description><![CDATA[Update, 2023-12-15: investing.com rendering is super unstable &#8211; I&#8217;ve resorted to using ishares.com directly. The new snippet for CHSPI: Update, 2023-06-19: investing.com has changed some of its html. The new snippet for CHSPI: As we all know, Google Finance and ETF (at least ishares) import* in Google Spreadsheets has been broken since December 2022: https://issuetracker.google.com/issues/262157479&#8230; <a class="more-link" href="https://www.musings.ch/2023/05/11/google-finance-chspi-ishares-etf-broken/">Continue reading <span class="screen-reader-text">Google Finance: CHSPI broken</span></a>]]></description>
										<content:encoded><![CDATA[
<p><strong><em>Update, 2023-12-15:</em></strong> investing.com rendering is super unstable &#8211; I&#8217;ve resorted to using ishares.com directly. The new snippet for CHSPI:</p>



<pre class="wp-block-code"><code>=SUBSTITUTE(importxml("https://www.ishares.com/ch/individual/en/products/264107/ishares-spi-ch-fund","//*&#91;@id='fundheaderTabs']/div/div/div/ul/li&#91;1]/span&#91;2]"), "CHF ", "")</code></pre>



<p><strong><em>Update, 2023-06-19</em></strong>: investing.com has changed some of its html. The new snippet for CHSPI<kbd>:</kbd></p>



<pre class="wp-block-code"><code>=importxml("https://www.investing.com/etfs/ishares-core-spi","//*&#91;@id='__next']/div&#91;2]/div&#91;2]/div/div&#91;1]/div/div&#91;1]/div&#91;3]/div/div&#91;1]/div&#91;1]")</code></pre>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p>As we all know, Google Finance and ETF (at least ishares) import* in Google Spreadsheets has been broken since December 2022:</p>



<p><a href="https://issuetracker.google.com/issues/262157479">https://issuetracker.google.com/issues/262157479</a></p>



<p>So if you use <kbd>=GOOGLEFINANCE("CHSPI","price")</kbd>, in your spreadsheet, all you&#8217;ll get is the following error message:</p>



<pre class="wp-block-code has-extra-small-font-size"><code>Error:
When evaluating GOOGLEFINANCE,
the query for the symbol: 'CHSPI' returned no data.</code></pre>



<p>Since we all also know, Google Finance isn&#8217;t the fastest in fixing bugs (as evidenced by this bug, but also several others prior to this one), and their feeds (latency,..) are best-effort-at-best.</p>



<p>To fix this in your spreadsheet, head over to investing.com, enter whatever stock/currency/etf/.. you want to import data from, copy the url and use that combined with importxml:</p>



<p>Say you&#8217;re looking for SWX:CHSPI:</p>



<ol class="wp-block-list">
<li>Go to investing.com, enter CHSPI, click on the search result.</li>



<li>This takes you to <strong>https://www.investing.com/etfs/ishares-core-spi</strong>, where you&#8217;ll copy the url (<kbd>"</kbd>website address<kbd>"</kbd>).</li>



<li>Open your spreadsheet, head to the cell you like most, enter:<br><strong><kbd>=importxml("https://www.investing.com/etfs/ishares-core-spi","//*[@data-test='instrument-price-last']")</kbd></strong> to get the latest price.</li>



<li>Silently thank investing.com</li>
</ol>



<p>* Note that not only importing in spreadsheets (using =googlefinance) is broken &#8211; none of the symbols show up on Google Finance itself either.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Goodbye Google Cloud</title>
		<link>https://www.musings.ch/2021/12/06/goodbye-google-cloud/</link>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Mon, 06 Dec 2021 14:04:23 +0000</pubDate>
				<category><![CDATA[ouch]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[google]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=972</guid>

					<description><![CDATA[It&#8217;s been a pleasure! (not really, it basically sucked from the start)]]></description>
										<content:encoded><![CDATA[
<p>It&#8217;s been a pleasure! (not really, it basically sucked from the start)</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Google Cloud VM Instance Recommendations</title>
		<link>https://www.musings.ch/2021/11/12/google-cloud-vm-instance-recommendations/</link>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Fri, 12 Nov 2021 14:45:14 +0000</pubDate>
				<category><![CDATA[ouch]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[gcloud]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[instance]]></category>
		<category><![CDATA[recommendation]]></category>
		<category><![CDATA[vm]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=964</guid>

					<description><![CDATA[Today, when I logged into my Google Cloud VM Instance Overview, it greeted me with a recommendation! I pay about 5USD/month for that instance, and it&#8217;s running hot (according to the graphs). &#8211; Therefore I was more than happy to hear that I could basically continue running this at 0 cost. Clicking on that &#8220;Save&#8230; <a class="more-link" href="https://www.musings.ch/2021/11/12/google-cloud-vm-instance-recommendations/">Continue reading <span class="screen-reader-text">Google Cloud VM Instance Recommendations</span></a>]]></description>
										<content:encoded><![CDATA[
<p>Today, when I logged into my Google Cloud VM Instance Overview, it greeted me with a recommendation! I pay about 5USD/month for that instance, and it&#8217;s running hot (according to the graphs). &#8211; Therefore I was more than happy to hear that I could basically continue running this at 0 cost.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="131" src="https://www.musings.ch/wp-content/uploads/2021/11/gcloud-vm-instance-recommendation-1024x131.png" alt="" class="wp-image-965" srcset="https://www.musings.ch/wp-content/uploads/2021/11/gcloud-vm-instance-recommendation-1024x131.png 1024w, https://www.musings.ch/wp-content/uploads/2021/11/gcloud-vm-instance-recommendation-300x39.png 300w, https://www.musings.ch/wp-content/uploads/2021/11/gcloud-vm-instance-recommendation-768x99.png 768w, https://www.musings.ch/wp-content/uploads/2021/11/gcloud-vm-instance-recommendation.png 1075w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Clicking on that &#8220;Save $5/mo&#8221; turned up this:</p>



<figure class="wp-block-image size-full"><img decoding="async" width="506" height="190" src="https://www.musings.ch/wp-content/uploads/2021/11/gcloud-vm-instance-recommendation-detail.png" alt="" class="wp-image-966" srcset="https://www.musings.ch/wp-content/uploads/2021/11/gcloud-vm-instance-recommendation-detail.png 506w, https://www.musings.ch/wp-content/uploads/2021/11/gcloud-vm-instance-recommendation-detail-300x113.png 300w" sizes="(max-width: 506px) 100vw, 506px" /></figure>



<p>Seems like Google wants to tell me something&#8230;</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>GCLOUD: The Annoyance</title>
		<link>https://www.musings.ch/2021/01/08/gcloud-the-annoyance/</link>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Fri, 08 Jan 2021 17:51:01 +0000</pubDate>
				<category><![CDATA[ouch]]></category>
		<category><![CDATA[gcloud]]></category>
		<category><![CDATA[google]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=691</guid>

					<description><![CDATA[Whenever I need to do something urgent on glcoud, this will greet me for 15 (or 30) minutes:]]></description>
										<content:encoded><![CDATA[
<p>Whenever I need to do something urgent on glcoud, this will greet me for 15  (or 30) minutes:</p>



<pre class="wp-block-code"><code>Provisioning your Google Cloud Shell machine...</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>COVID-19: Heatmap Schweiz</title>
		<link>https://www.musings.ch/2020/03/13/covid-19-heatmap-schweiz/</link>
					<comments>https://www.musings.ch/2020/03/13/covid-19-heatmap-schweiz/#comments</comments>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Fri, 13 Mar 2020 22:36:50 +0000</pubDate>
				<category><![CDATA[cartography]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[covid-19]]></category>
		<category><![CDATA[switzerland]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[coronavirus]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[heatmap]]></category>
		<category><![CDATA[karte]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[schweiz]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=179</guid>

					<description><![CDATA[Since I was playing with Google Maps API heatmaps recently, I thought I&#8217;d put together a quick heatmap showing confirmed COVID-19 cases in Switzerland. COVID-19 cases per 100k inhabitants, in Switzerland, as of 2020-03-19. Updated 19.03.2020 using https://www.bag.admin.ch/dam/bag/de/dokumente/mt/k-und-i/aktuelle-ausbrueche-pandemien/2019-nCoV/covid-19-lagebericht.pdf.download.pdf/COVID-19_Epidemiologische_Lage_Schweiz.pdf &#8211; now based on incidence of cases per 100k inhabitants. Day to day developments: 2020-03-14: Updated 14.03.2020&#8230; <a class="more-link" href="https://www.musings.ch/2020/03/13/covid-19-heatmap-schweiz/">Continue reading <span class="screen-reader-text">COVID-19: Heatmap Schweiz</span></a>]]></description>
										<content:encoded><![CDATA[
<p>Since I was playing with Google Maps API heatmaps recently, I thought I&#8217;d put together a quick heatmap showing confirmed COVID-19 cases in Switzerland.</p>



<div id="map" style="height: 500px;"></div>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAxkqrVUwcSHsEXM301sgGGc6XH_ju6l9o&amp;libraries=visualization"></script>

<script>
var heatmapData = [
  {location: new google.maps.LatLng(47.409703, 8.154694), weight: 14.2}, // Aargau
  {location: new google.maps.LatLng(47.317264, 9.416754), weight: 18.6}, // Appenzell-Innerrhoden
  {location: new google.maps.LatLng(47.366352, 9.36791), weight: 29}, // Appenzell-Ausserrhoden
  {location: new google.maps.LatLng(46.823608, 7.636667), weight: 20.8}, // Bern
  {location: new google.maps.LatLng(47.45176,  7.702414), weight: 48.2}, // Basel-Landschaft
  {location: new google.maps.LatLng(47.564869, 7.615259), weight: 122.7}, // Basel-Stadt
  {location: new google.maps.LatLng(46.718391, 7.074008), weight: 25.7}, // Fribourg
  {location: new google.maps.LatLng(46.220528, 6.132935), weight: 61.9}, // Geneva
  {location: new google.maps.LatLng(46.981042, 9.065751), weight: 39.6}, // Glarus
  {location: new google.maps.LatLng(46.656248, 9.628198), weight: 62}, // Graubünden
  {location: new google.maps.LatLng(47.350744, 7.156107), weight: 34.2}, // Jura
  {location: new google.maps.LatLng(47.067763, 8.1102), weight: 15.4}, // Luzern
  {location: new google.maps.LatLng(46.995534, 6.780126), weight: 49.2}, // Neuchatel
  {location: new google.maps.LatLng(46.926755, 8.405302), weight: 46.3}, // Nidwalden
  {location: new google.maps.LatLng(46.854527, 8.244317), weight: 44.9}, // Obwalden
  {location: new google.maps.LatLng(47.2332, 9.274744), weight: 17.3}, // St-Gallen
  {location: new google.maps.LatLng(47.71357, 8.59167), weight: 9.8}, // Schaffhausen
  {location: new google.maps.LatLng(47.304135, 7.639388), weight: 14.3}, // Solothurn
  {location: new google.maps.LatLng(47.061787, 8.756585), weight: 22}, // Schwyz
  {location: new google.maps.LatLng(47.568715, 9.091957), weight: 10.1}, // Thurgau
  {location: new google.maps.LatLng(46.295617, 8.808924), weight: 178.6}, // Ticino
  {location: new google.maps.LatLng(46.771849, 8.628586), weight: 2.7}, // Uri
  {location: new google.maps.LatLng(46.570091, 6.657809), weight: 115}, // Vaud
  {location: new google.maps.LatLng(46.209567, 7.604659), weight: 51.2}, // Valais
  {location: new google.maps.LatLng(47.157296, 8.537294), weight: 18.1}, // Zug
  {location: new google.maps.LatLng(47.41275, 8.65508), weight: 30.1}, // Zurich
];
var heatmapCenter = new google.maps.LatLng(46.798476, 8.231787);

map = new google.maps.Map(document.getElementById('map'), {
  center: heatmapCenter,
  zoom: 7,
  mapTypeId: 'roadmap'
});

var heatmap = new google.maps.visualization.HeatmapLayer({
  data: heatmapData
});
heatmap.setMap(map);
heatmap.set('radius', 42);
heatmap.set('maxIntensity', 90);
heatmap.set('opacity', 0.8);
var gradient = [
  'rgba(0,255,255,0)',
  'rgba(255,255,246,1)',
  'rgba(253,255,127,1)',
  'rgba(252,217,49,1)',
  'rgba(253,147,29,1)',
  'rgba(232,93,31,1)',
  'rgba(204,54,54,1)',
  'rgba(180,58,58,1)'
]
heatmap.set('gradient', gradient);
</script>



<p class="has-text-align-center">COVID-19 cases per 100k inhabitants, in Switzerland, as of 2020-03-19.</p>



<p><strong>Updated 19.03.2020</strong> using <a href="https://www.bag.admin.ch/dam/bag/de/dokumente/mt/k-und-i/aktuelle-ausbrueche-pandemien/2019-nCoV/covid-19-lagebericht.pdf.download.pdf/COVID-19_Epidemiologische_Lage_Schweiz.pdf">https://www.bag.admin.ch/dam/bag/de/dokumente/mt/k-und-i/aktuelle-ausbrueche-pandemien/2019-nCoV/covid-19-lagebericht.pdf.download.pdf/COVID-19_Epidemiologische_Lage_Schweiz.pdf</a> &#8211; now based on incidence of cases per 100k inhabitants.</p>



<p><strong>Day to day developments:</strong></p>



<p><strong>2020-03-14:</strong></p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" width="683" height="501" src="https://www.musings.ch/wp-content/uploads/2020/03/2020-03-14.png" alt="" class="wp-image-229" srcset="https://www.musings.ch/wp-content/uploads/2020/03/2020-03-14.png 683w, https://www.musings.ch/wp-content/uploads/2020/03/2020-03-14-300x220.png 300w" sizes="(max-width: 683px) 100vw, 683px" /><figcaption>COVID-19 heatmap Switzerland 2020-03-14</figcaption></figure></div>



<p><strong>Updated 14.03.2020</strong> using https://www.bag.admin.ch/dam/bag/de/dokumente/mt/k-und-i/aktuelle-ausbrueche-pandemien/2019-nCoV/covid-19-lagebericht.pdf.download.pdf/COVID-19_Epidemiologische_Lage_Schweiz.pdf</p>



<p><strong>2020-03-13:</strong></p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="683" height="503" src="https://www.musings.ch/wp-content/uploads/2020/03/2020-03-13-1.png" alt="" class="wp-image-230" srcset="https://www.musings.ch/wp-content/uploads/2020/03/2020-03-13-1.png 683w, https://www.musings.ch/wp-content/uploads/2020/03/2020-03-13-1-300x221.png 300w" sizes="auto, (max-width: 683px) 100vw, 683px" /><figcaption>COVID-19 heatmap Switzerland 2020-03-13</figcaption></figure></div>



<p>Data source: <a href="https://www.bag.admin.ch/bag/de/home/krankheiten/ausbrueche-epidemien-pandemien/aktuelle-ausbrueche-epidemien/novel-cov/situation-schweiz-und-international.html#-1934206868">https://www.bag.admin.ch/bag/de/home/krankheiten/ausbrueche-epidemien-pandemien/aktuelle-ausbrueche-epidemien/novel-cov/situation-schweiz-und-international.html#-1934206868</a></p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.musings.ch/2020/03/13/covid-19-heatmap-schweiz/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
