<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Visualization on Hieu Phay</title><link>https://hieuphay.com/tags/visualization/</link><description>Recent content in Visualization on Hieu Phay</description><generator>Hugo</generator><language>en</language><managingEditor>Nguyen Duc Hieu</managingEditor><webMaster>Nguyen Duc Hieu</webMaster><lastBuildDate>Mon, 13 Dec 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://hieuphay.com/tags/visualization/index.xml" rel="self" type="application/rss+xml"/><item><title>Advent of Code 2021 in Julia – Day 13: Transparent Origami</title><link>https://hieuphay.com/AoC2021-day13/</link><pubDate>Mon, 13 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day13/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day13/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day13/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;Alright! We&amp;rsquo;re halfway through!&#10;The puzzle today is easier than the last, as a &amp;ldquo;monday&amp;rdquo; puzzle would, but it is fun nontheless.&#10;The puzzle format break out from the tradition of &amp;ldquo;compute in this method and return this number.&amp;rdquo;&#10;To solve for the puzzle today, you actually have to visualize to see the output.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 13, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;You reach another volcanically active part of the cave.&#10;It would be nice if you could do some kind of thermal imaging so you could tell ahead of time which caves are too hot to safely enter.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 6: Lanternfish</title><link>https://hieuphay.com/AoC2021-day6/</link><pubDate>Mon, 06 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day6/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day6/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day6/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day6/#bonus-boids-simulation"&gt;Bonus: Boids simulation&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;The problem today is a bit of a breather. (Puzzles are easier on weekdays.)&#10;Still, I fell right into their trap!&#10;But it&amp;rsquo;s alright.&#10;In fact, I really like this puzzle, because I had tons of fun toying with its visualization!&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;Show challenge - day 6, part 1&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;The sea floor is getting steeper.&#10;Maybe the sleigh keys got carried this way?&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 5: Hydrothermal Venture</title><link>https://hieuphay.com/AoC2021-day5/</link><pubDate>Sun, 05 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day5/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day5/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day5/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day5/#bonus-animations"&gt;Bonus: Animations!&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;I thought the challenge today would be easy, but in the end I spent too much time on it.&#10;Around halfway through I realized that I forgot to offset the index, because Julia indexes begin at 1 instead of 0.&#10;On the other hand, I learnt how slurping and splatting with &lt;code&gt;...&lt;/code&gt; works, which provide shorthand for &amp;ldquo;unwrapping&amp;rdquo; arrays, to be used inside functions.&lt;/p&gt;</description></item><item><title>A bubbly look at the Bitcoin bubble</title><link>https://hieuphay.com/bitcoin-bubble-plot/</link><pubDate>Tue, 02 Jan 2018 00:00:00 +0000</pubDate><guid>https://hieuphay.com/bitcoin-bubble-plot/</guid><description>&lt;p&gt;2017 was an insane year in the cryptocurrency world as bitcoin and other cryptocurrencies (so-called &lt;em&gt;altcoins&lt;/em&gt;) caught the attention of mainstream media.&#10;This is associated to the fact that Bitcoin and other cryptos&amp;rsquo; prices surged exponentially in a historically short period.&#10;Bitcoin went from less than 1000 &lt;span class='smallcap'&gt;usd&lt;/span&gt; per coin in January 2017 to 13500 &lt;span class='smallcap'&gt;usd&lt;/span&gt; by the end of the year, with its peak even reached 20000 at sometime during December.&lt;/p&gt;</description></item></channel></rss>