redirection
This commit is contained in:
parent
95d8c46cea
commit
d2a35b505e
@ -26,7 +26,7 @@ keybase_username: ewpratten
|
||||
# Build settings
|
||||
markdown: kramdown
|
||||
kramdown:
|
||||
input: GFM
|
||||
# input: GFM
|
||||
syntax_highlighter: rouge
|
||||
|
||||
# THIS BREAKS THE SITE!!
|
||||
|
47
_drafts/2019-09-19-I-want-to-build-a-sat.md
Normal file
47
_drafts/2019-09-19-I-want-to-build-a-sat.md
Normal file
@ -0,0 +1,47 @@
|
||||
---
|
||||
layout: post
|
||||
title: "I want to build a satellite"
|
||||
description: "For under $100"
|
||||
date: 2019-09-19 21:13:00
|
||||
categories: idea
|
||||
redirect_from:
|
||||
- /post/e9gb3490/
|
||||
- /e9gb3490/
|
||||
---
|
||||
|
||||
I like learning and trying new things. Most recently, I have been working with radios, and have obtained a licence to operate some [RPAs](https://en.wikipedia.org/wiki/Unmanned_aerial_vehicle). So, obviously the next step is *space*, right? As I am entering this with near 0 experience, I'm going to start simple.
|
||||
|
||||
## Design
|
||||
My first satellite project (named [Spike](https://github.com/Ewpratten/Spike)) is designed to do the following:
|
||||
- Be deployed in [LEO](https://en.wikipedia.org/wiki/Low_Earth_orbit) by a [cubesat launcher](https://en.wikipedia.org/wiki/CubeSat#Launch_and_deployment)
|
||||
- Be solar powered
|
||||
- 24/7 data is not required, so the device may go dark
|
||||
- I may look into an on-board [LCB](https://en.wikipedia.org/wiki/Solid-state_battery) for night operation
|
||||
- Record temperature, and light levels
|
||||
- Stream data down to earth
|
||||
- Burn up in the atmosphere
|
||||
|
||||
I am currently working with the following parts to build a grounded test device.
|
||||
- [Arduino pro mini](https://www.ebay.com/itm/New-Pro-Micro-ATmega32U4-5V-16MHz-Replace-ATmega328-Arduino-Pro-Mini-/221891843710)
|
||||
- [315mhz transmitter](https://www.sparkfun.com/products/10535) (This will be replaced)
|
||||
- [A photocell](https://www.sparkfun.com/products/9088)
|
||||
- [A TMP102 sensor](https://www.sparkfun.com/products/13314)
|
||||
|
||||
My goal for the grounded test device is for it to survive ~14 weeks of un-attended operation, and some temperature tests.
|
||||
|
||||
## Current progress
|
||||
Currently, My testing setup consists of the following components that I had lying around:
|
||||
- Arduino pro mini
|
||||
- Photocell
|
||||
- [lm35 sensor](http://www.ti.com/product/LM35)
|
||||
- Buzzer (To emulate a radio)
|
||||
|
||||

|
||||
|
||||
The board has been "transmitting" telemetry data for over 24 hours now.
|
||||
|
||||
### Telemetry
|
||||
|
||||
|
||||
## Useful resources
|
||||
- https://makezine.com/2014/04/11/your-own-satellite-7-things-to-know-before-you-go/
|
3
_layouts/redir.html
Normal file
3
_layouts/redir.html
Normal file
@ -0,0 +1,3 @@
|
||||
<body>
|
||||
You are being redirected to <a href="{{page.redirect_to}}">{{page.redirect_to}}</a>
|
||||
</body>
|
@ -9,7 +9,7 @@ redirect_from:
|
||||
- /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.
|
||||
During a computer science class today, we were talking about embedding code and metadata in *jpg* and *bmp* files. @exvacuum 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.
|
||||
|
||||
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 [OOK data](https://en.wikipedia.org/wiki/On%E2%80%93off_keying) by converting an [IQ capture](http://www.ni.com/tutorial/4805/en/) to an image. With a little adaptation, I did the same for a few binaries on my laptop.
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -189,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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -64,22 +64,22 @@
|
||||
Featured Post
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Building images from binary data
|
||||
<h5 class="card-title">I want to build a satellite
|
||||
|
||||
</h5>
|
||||
<p class="card-text">Simple, yet fun</p>
|
||||
<a href="/blog/2019/09/11/buildingimgfrombin" class="btn btn-primary">View</a>
|
||||
<p class="card-text">For under $100</p>
|
||||
<a href="/blog/2019/09/19/i-want-to-build-a-sat" class="btn btn-primary">View</a>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<a href="/blog/2019/09/11/buildingimgfrombin" class="list-group-item list-group-item-action">
|
||||
<a href="/blog/2019/09/19/i-want-to-build-a-sat" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<div class="card-body">
|
||||
<h5 class="mb-1">Building images from binary data
|
||||
<h5 class="mb-1">I want to build a satellite
|
||||
|
||||
</h5>
|
||||
<p class="card-text">Simple, yet fun</p>
|
||||
<p class="card-text">For under $100</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
@ -92,6 +92,51 @@
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/09/12/dronelicense" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Becoming a licensed drone operator in Canada</h5>
|
||||
<!-- <small>2019-09-12 18:15:00 -0400</small> -->
|
||||
</div>
|
||||
<p class="card-text">My experiences</p>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/09/11/buildingimgfrombin" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Building images from binary data</h5>
|
||||
<!-- <small>2019-09-11 08:41:00 -0400</small> -->
|
||||
</div>
|
||||
<p class="card-text">Simple, yet fun</p>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/09/09/fstrings" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">What the fstring?</h5>
|
||||
<!-- <small>2019-09-09 10:09:00 -0400</small> -->
|
||||
</div>
|
||||
<p class="card-text">Every language should have this feature</p>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/09/07/wrong-python" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Doing Python OOP the wrong way</h5>
|
||||
@ -122,6 +167,21 @@
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/08/25/crypto-my-thoughts" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Never roll your own crypto!</h5>
|
||||
<!-- <small>2019-08-25 18:36:00 -0400</small> -->
|
||||
</div>
|
||||
<p class="card-text">My thoughts on this statement</p>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/08/24/shift2" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Keyed data encoding with Python</h5>
|
||||
@ -137,6 +197,21 @@
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/08/13/learning-hiragana" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Learning Hiragana with Python</h5>
|
||||
<!-- <small>2019-08-13 18:42:00 -0400</small> -->
|
||||
</div>
|
||||
<p class="card-text">Automation is fun!</p>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/08/12/setting-up-ja" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">How I set up ひらがな input on my laptop</h5>
|
||||
@ -167,6 +242,21 @@
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/08/01/email-upgrade" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">My new email setup</h5>
|
||||
<!-- <small>2019-08-01 13:53:00 -0400</small> -->
|
||||
</div>
|
||||
<p class="card-text">It's finally <em>almost</em> fixed!</p>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/07/15/mindmap" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Mind map generation with Python</h5>
|
||||
@ -197,6 +287,21 @@
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/07/08/pi3d" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Project In 3 Days: 1 year recap</h5>
|
||||
<!-- <small>2019-07-08 14:22:00 -0400</small> -->
|
||||
</div>
|
||||
<p class="card-text">The never ending stream of projects</p>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="/blog/2019/07/06/scrapingfrcgithub" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">Scraping FRC team's GitHub accounts to gather large amounts of data</h5>
|
||||
@ -415,7 +520,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-09-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-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, <a href="https://frc5024.github.io">@frc5024</a> 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"><p>During a computer science class today, we were talking about embedding code and metadata in <em>jpg</em> and <em>bmp</em> 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.</p>
|
||||
<?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-23T14:29:52-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, <a href="https://frc5024.github.io">@frc5024</a> 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"><p>During a computer science class today, we were talking about embedding code and metadata in <em>jpg</em> and <em>bmp</em> files. @exvacuum 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.</p>
|
||||
|
||||
<p>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 <a href="https://en.wikipedia.org/wiki/On%E2%80%93off_keying">OOK data</a> by converting an <a href="http://www.ni.com/tutorial/4805/en/">IQ capture</a> to an image. With a little adaptation, I did the same for a few binaries on my laptop.</p>
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
<ul>
|
||||
<li>Pillow</li>
|
||||
<li>Numpy</li>
|
||||
</ul></content><author><name></name></author><summary type="html">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.</summary></entry><entry><title type="html">Doing Python OOP the wrong way</title><link href="http://0.0.0.0:4000/blog/2019/09/07/wrong-python" rel="alternate" type="text/html" title="Doing Python OOP the wrong way" /><published>2019-09-07T09:13:00-04:00</published><updated>2019-09-07T09:13:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/09/07/wrong-python</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/09/07/wrong-python"><p>If you know me, you probably know of the many weird things I do with python. Most recent of which being this <a href="https://en.wikipedia.org/wiki/Fizz_buzz">FizzBuzz</a> implementation in one line of python code:</p>
|
||||
</ul></content><author><name></name></author><summary type="html">During a computer science class today, we were talking about embedding code and metadata in jpg and bmp files. @exvacuum 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.</summary></entry><entry><title type="html">Doing Python OOP the wrong way</title><link href="http://0.0.0.0:4000/blog/2019/09/07/wrong-python" rel="alternate" type="text/html" title="Doing Python OOP the wrong way" /><published>2019-09-07T09:13:00-04:00</published><updated>2019-09-07T09:13:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/09/07/wrong-python</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/09/07/wrong-python"><p>If you know me, you probably know of the many weird things I do with python. Most recent of which being this <a href="https://en.wikipedia.org/wiki/Fizz_buzz">FizzBuzz</a> implementation in one line of python code:</p>
|
||||
<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">_</span><span class="o">=</span><span class="p">[</span><span class="k">print</span><span class="p">(</span><span class="s">"FizzBuzz"</span><span class="p">[</span><span class="n">_</span><span class="o">*</span><span class="n">_</span><span class="o">%</span><span class="mi">3</span><span class="o">*</span><span class="mi">4</span><span class="p">:</span><span class="mi">8</span><span class="o">--</span><span class="n">_</span><span class="o">**</span><span class="mi">4</span><span class="o">%</span><span class="mi">5</span><span class="p">]</span> <span class="ow">or</span> <span class="n">_</span><span class="p">)</span> <span class="k">for</span> <span class="n">_</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">101</span><span class="p">)]</span>
|
||||
</code></pre></div></div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-18 10:59:38 -0400
|
||||
This site was last updated at: 2019-09-23 14:29:52 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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"}
|
||||
{"/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","/post/3a588993/":"http://0.0.0.0:4000/blog/2019/09/12/dronelicense","/3a588993/":"http://0.0.0.0:4000/blog/2019/09/12/dronelicense","/post/e9gb3490/":"http://0.0.0.0:4000/blog/2019/09/19/i-want-to-build-a-sat","/e9gb3490/":"http://0.0.0.0:4000/blog/2019/09/19/i-want-to-build-a-sat","/r/5kcomm":"https://imgur.com/a/77bnlZN"}
|
BIN
assets/images/satv1.jpg
Normal file
BIN
assets/images/satv1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 672 KiB |
4
r/5kcomm.md
Normal file
4
r/5kcomm.md
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
layout: redir
|
||||
redirect_to: https://imgur.com/a/77bnlZN
|
||||
---
|
1
r/readme.md
Normal file
1
r/readme.md
Normal file
@ -0,0 +1 @@
|
||||
This folder is for redirects
|
Loading…
x
Reference in New Issue
Block a user