1

mindmap link

This commit is contained in:
Evan Pratten 2019-09-18 11:00:01 -04:00
parent 47cac0002a
commit 95d8c46cea
No known key found for this signature in database
GPG Key ID: 93AC7B3D071356D3
32 changed files with 61 additions and 44 deletions

View File

@ -125,4 +125,7 @@ Running the `.mm` file from above through the script gives:
## The next step
This script just translates a `.mm` file to JSON. Nothing else. Next, I want to convert this to a library, and add a JSON to `.mm` function as well. This leads into my ultimate goal for this project.
I want a script that I can drop in the root of any project to build a [Gource](https://gource.io/)-style visualization of the folder structure. This will give me a way to make cool visualizations for lessons on the robotics team.
I want a script that I can drop in the root of any project to build a [Gource](https://gource.io/)-style visualization of the folder structure. This will give me a way to make cool visualizations for lessons on the robotics team. On top of the folder visualization, Coggle's new flowchart feature can be used to generate graphical representations of @frc5024's codebases. This could give me an interactive overview of the work being done by our team.
### Further learning
crm.org has done a great writeup of [Coggle, and some of it's features](https://crm.org/news/free-flowin-mind-maps-with-coggle). If you are looking to learn more about the tool, I recommend taking a few minute to read their post.

View File

@ -4,6 +4,9 @@ title: "Building images from binary data"
description: "Simple, yet fun"
date: 2019-09-11 12:41:00
categories: python images
redirect_from:
- /post/ef7b3166/
- /ef7b3166/
---
During a computer science class today, we were talking about embedding code and metadata in *jpg* and *bmp* files. @SilasBartha was showing off a program he wrote that watched a directory for new image files, and would display them on a canvas. He then showed us a special image. In this image, he had injected some metadata into the last few pixels, which were not rendered, but told his program where to position the image on the canvas, and it's size.

View File

@ -0,0 +1,12 @@
---
layout: post
title: "Becoming a licensed drone operator in Canada"
description: "My experiences"
date: 2019-09-12 22:15:00
categories: random
redirect_from:
- /post/3a588993/
- /3a588993/
---
Today, I finally decided to get my basic drone piloting license

View File

@ -204,7 +204,7 @@ sub rsa4096/0xA61A2F1676E35144 2019-08-11 [] [expires: 2025-08-09]
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -123,7 +123,7 @@ pip3 install tensorflow-gpu #for gpu processing
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -87,7 +87,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -100,7 +100,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -111,7 +111,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -125,7 +125,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -84,7 +84,7 @@ Your browser does not support audio players
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -124,7 +124,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -82,7 +82,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -82,7 +82,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -191,7 +191,7 @@ __<span class="o">()</span> <span class="o">{</span>/???/???/???n?f <span class=
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -112,7 +112,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -177,7 +177,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -101,7 +101,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -174,7 +174,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -95,7 +95,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -20,8 +20,7 @@
<!-- Navbar content -->
<!-- <div class="container"> -->
<a class="navbar-brand" href="/">Evan Pratten</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
@ -65,7 +64,7 @@
<h2 id="what-is-a-mm-file">What is a .mm file?</h2>
<p>It turns out, a <code class="highlighter-rouge">.mm</code> file is just some XML describing the mind map. Here is a simple mind map:</p>
<p><img src="/assets/images/mindmap-simple.png" alt="Simple Mind Map" /></p>
<p><img src="/assets/images/mindmap-simple.png" alt="Simple Mind Map"></p>
<p>And again as a <code class="highlighter-rouge">.mm</code> file:</p>
@ -174,7 +173,10 @@
<h2 id="the-next-step">The next step</h2>
<p>This script just translates a <code class="highlighter-rouge">.mm</code> file to JSON. Nothing else. Next, I want to convert this to a library, and add a JSON to <code class="highlighter-rouge">.mm</code> function as well. This leads into my ultimate goal for this project.</p>
<p>I want a script that I can drop in the root of any project to build a <a href="https://gource.io/">Gource</a>-style visualization of the folder structure. This will give me a way to make cool visualizations for lessons on the robotics team.</p>
<p>I want a script that I can drop in the root of any project to build a <a href="https://gource.io/">Gource</a>-style visualization of the folder structure. This will give me a way to make cool visualizations for lessons on the robotics team. On top of the folder visualization, Coggles new flowchart feature can be used to generate graphical representations of <a href="https://github.com/frc5024" class="user-mention">@frc5024</a>s codebases. This could give me an interactive overview of the work being done by our team.</p>
<h3 id="further-learning">Further learning</h3>
<p>crm.org has done a great writeup of <a href="https://crm.org/news/free-flowin-mind-maps-with-coggle">Coggle, and some of its features</a>. If you are looking to learn more about the tool, I recommend taking a few minute to read their post.</p>
</div>
</div>
@ -187,7 +189,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>
@ -206,15 +208,9 @@
</script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<!-- Offsets for links -->
<script>

View File

@ -107,7 +107,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -152,7 +152,7 @@ ibus-daemon <span class="nt">-drx</span>
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -137,7 +137,7 @@ shift2 <span class="nt">-h</span>
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -108,7 +108,7 @@ Starting from the top, scroll through, and middle click on anything you want to
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -157,7 +157,7 @@ fn printMyNumber(MyClass* self){
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -415,7 +415,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -52,7 +52,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-09-11T17:12:28-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, &lt;a href=&quot;https://frc5024.github.io&quot;&gt;@frc5024&lt;/a&gt; programming team lead, and radio enthusiast.</subtitle><entry><title type="html">Building images from binary data</title><link href="http://0.0.0.0:4000/blog/2019/09/11/buildingimgfrombin" rel="alternate" type="text/html" title="Building images from binary data" /><published>2019-09-11T08:41:00-04:00</published><updated>2019-09-11T08:41:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/09/11/Buildingimgfrombin</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/09/11/buildingimgfrombin">&lt;p&gt;During a computer science class today, we were talking about embedding code and metadata in &lt;em&gt;jpg&lt;/em&gt; and &lt;em&gt;bmp&lt;/em&gt; files. @SilasBartha was showing off a program he wrote that watched a directory for new image files, and would display them on a canvas. He then showed us a special image. In this image, he had injected some metadata into the last few pixels, which were not rendered, but told his program where to position the image on the canvas, and its size.&lt;/p&gt;
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-09-18T10:59:38-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, &lt;a href=&quot;https://frc5024.github.io&quot;&gt;@frc5024&lt;/a&gt; programming team lead, and radio enthusiast.</subtitle><entry><title type="html">Building images from binary data</title><link href="http://0.0.0.0:4000/blog/2019/09/11/buildingimgfrombin" rel="alternate" type="text/html" title="Building images from binary data" /><published>2019-09-11T08:41:00-04:00</published><updated>2019-09-11T08:41:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/09/11/Buildingimgfrombin</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/09/11/buildingimgfrombin">&lt;p&gt;During a computer science class today, we were talking about embedding code and metadata in &lt;em&gt;jpg&lt;/em&gt; and &lt;em&gt;bmp&lt;/em&gt; files. @SilasBartha was showing off a program he wrote that watched a directory for new image files, and would display them on a canvas. He then showed us a special image. In this image, he had injected some metadata into the last few pixels, which were not rendered, but told his program where to position the image on the canvas, and its size.&lt;/p&gt;
&lt;p&gt;This demo got @hyperliskdev and I thinking about what else we can do with image data. After some talk, the idea of converting application binaries to images came up. I had seen a blog post about visually decoding &lt;a href=&quot;https://en.wikipedia.org/wiki/On%E2%80%93off_keying&quot;&gt;OOK data&lt;/a&gt; by converting an &lt;a href=&quot;http://www.ni.com/tutorial/4805/en/&quot;&gt;IQ capture&lt;/a&gt; to an image. With a little adaptation, I did the same for a few binaries on my laptop.&lt;/p&gt;
@ -457,7 +457,10 @@ ibus-daemon &lt;span class=&quot;nt&quot;&gt;-drx&lt;/span&gt;
&lt;h2 id=&quot;the-next-step&quot;&gt;The next step&lt;/h2&gt;
&lt;p&gt;This script just translates a &lt;code class=&quot;highlighter-rouge&quot;&gt;.mm&lt;/code&gt; file to JSON. Nothing else. Next, I want to convert this to a library, and add a JSON to &lt;code class=&quot;highlighter-rouge&quot;&gt;.mm&lt;/code&gt; function as well. This leads into my ultimate goal for this project.&lt;/p&gt;
&lt;p&gt;I want a script that I can drop in the root of any project to build a &lt;a href=&quot;https://gource.io/&quot;&gt;Gource&lt;/a&gt;-style visualization of the folder structure. This will give me a way to make cool visualizations for lessons on the robotics team.&lt;/p&gt;</content><author><name></name></author><summary type="html">While working on an assignment with Coggle today, I noticed an interesting option in the save menu. Download as .mm file. Having rarely worked with mind maps before, and only doing it online, it never occured to me that someone would have a file format for it. So I took a look.</summary></entry><entry><title type="html">Taking a look back at GMAD</title><link href="http://0.0.0.0:4000/blog/2019/07/13/lookback-gmad" rel="alternate" type="text/html" title="Taking a look back at GMAD" /><published>2019-07-13T10:43:00-04:00</published><updated>2019-07-13T10:43:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/07/13/Lookback-GMAD</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/07/13/lookback-gmad">&lt;p&gt;One day, back in June of 2018, I was both looking for a new project to work on, and trying to decide which Linux distro to install on one of my computers. From this, a little project was born. &lt;a href=&quot;/gmad&quot;&gt;Give Me a Distro&lt;/a&gt; (or, GMAD, as I like to call it) is a little website that chooses a random distribution of Linux and shows a description of what you are about to get yourself into, and a download link for the latest ISO.&lt;/p&gt;
&lt;p&gt;I want a script that I can drop in the root of any project to build a &lt;a href=&quot;https://gource.io/&quot;&gt;Gource&lt;/a&gt;-style visualization of the folder structure. This will give me a way to make cool visualizations for lessons on the robotics team. On top of the folder visualization, Coggles new flowchart feature can be used to generate graphical representations of @frc5024s codebases. This could give me an interactive overview of the work being done by our team.&lt;/p&gt;
&lt;h3 id=&quot;further-learning&quot;&gt;Further learning&lt;/h3&gt;
&lt;p&gt;crm.org has done a great writeup of &lt;a href=&quot;https://crm.org/news/free-flowin-mind-maps-with-coggle&quot;&gt;Coggle, and some of its features&lt;/a&gt;. If you are looking to learn more about the tool, I recommend taking a few minute to read their post.&lt;/p&gt;</content><author><name></name></author><summary type="html">While working on an assignment with Coggle today, I noticed an interesting option in the save menu. Download as .mm file. Having rarely worked with mind maps before, and only doing it online, it never occured to me that someone would have a file format for it. So I took a look.</summary></entry><entry><title type="html">Taking a look back at GMAD</title><link href="http://0.0.0.0:4000/blog/2019/07/13/lookback-gmad" rel="alternate" type="text/html" title="Taking a look back at GMAD" /><published>2019-07-13T10:43:00-04:00</published><updated>2019-07-13T10:43:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/07/13/Lookback-GMAD</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/07/13/lookback-gmad">&lt;p&gt;One day, back in June of 2018, I was both looking for a new project to work on, and trying to decide which Linux distro to install on one of my computers. From this, a little project was born. &lt;a href=&quot;/gmad&quot;&gt;Give Me a Distro&lt;/a&gt; (or, GMAD, as I like to call it) is a little website that chooses a random distribution of Linux and shows a description of what you are about to get yourself into, and a download link for the latest ISO.&lt;/p&gt;
&lt;h2 id=&quot;backend-tech&quot;&gt;Backend tech&lt;/h2&gt;
&lt;p&gt;This is one of the simplest projects I have ever made. All the backend does is:&lt;/p&gt;

View File

@ -88,7 +88,7 @@ https://blog.mrtnrdl.de/feed.xml
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -101,7 +101,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -256,7 +256,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-11 17:12:28 -0400
This site was last updated at: 2019-09-18 10:59:38 -0400
</span>
</div>

View File

@ -1 +1 @@
{}
{"/post/ef7b3166/":"http://0.0.0.0:4000/blog/2019/09/11/buildingimgfrombin","/ef7b3166/":"http://0.0.0.0:4000/blog/2019/09/11/buildingimgfrombin"}