mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 01:42:32 +00:00
Fix typos in old posts
This commit is contained in:
parent
75d55e21a4
commit
2af9662710
7 changed files with 67 additions and 48 deletions
|
@ -1,5 +1,25 @@
|
||||||
<a href="http://lesswrong.com/" class="alignleft"><img src="/images/2009/03/lesswrong-browser-thumbnail.png" alt="" title="Less Wrong Browser Thumbnail" width="200" height="157" class="alignnone size-full wp-image-89" /></a>Since starting my new job at <a href="http://tricycledevelopments.com/">Tricycle Developments</a> in January I've been working on a project to repurpose the <a href="http://reddit.com/">Reddit</a> <a href="http://code.reddit.com/">source code</a> into a kind of community blogging platform with voting and karma.
|
<a href="http://lesswrong.com/" class="alignleft"><img
|
||||||
|
src="/images/2009/03/lesswrong-browser-thumbnail.png" alt="" title="Less
|
||||||
|
Wrong Browser Thumbnail" width="200" height="157" class="alignnone size-full
|
||||||
|
wp-image-89" /></a>Since starting my new job at <a
|
||||||
|
href="http://trikeapps.com/">Tricycle Developments</a> (now TrikeApps) in
|
||||||
|
January I've been working on a project to repurpose the <a
|
||||||
|
href="http://reddit.com/">Reddit</a> <a href="http://code.reddit.com/">source
|
||||||
|
code</a> into a kind of community blogging platform with voting and karma.
|
||||||
|
|
||||||
The result of that work went live on Thursday and after an initial hiccup with a questionably named user posting off topic content its going well so far. One of the first posts on the site is one asking for feedback on <a href="http://lesswrong.com/lw/5/issues_bugs_and_requested_features/">Issues, Bugs, and Requested Features</a>. The thread has been inundated with all three of these so it looks like I still have plenty of work ahead refining the user experience.
|
The result of that work went live on Thursday and after an initial hiccup with
|
||||||
|
a questionably named user posting off topic content its going well so far. One
|
||||||
|
of the first posts on the site is one asking for feedback on
|
||||||
|
<a href="http://lesswrong.com/lw/5/issues_bugs_and_requested_features/">Issues, Bugs, and Requested Features</a>.
|
||||||
|
The thread has been inundated with all three of these so it looks like I still
|
||||||
|
have plenty of work ahead refining the user experience.
|
||||||
|
|
||||||
As well as being the first site I've worked on from start to finish (aside from personal ones) Less Wrong is also my first Python project and significant open source project. Its been great learning another programming language and putting that knowledge into practice. You can <a href="http://github.com/tricycle/lesswrong/">check it out the code on GitHub</a> (pun not intended). Also if you end up looking at or using the code or Less Wrong itself and encounter any issues there is an <a href="http://code.google.com/p/lesswrong/issues/list">issue tracker on Google Code</a> where they can be logged.
|
As well as being the first site I've worked on from start to finish (aside from
|
||||||
|
personal ones) Less Wrong is also my first Python project and significant open
|
||||||
|
source project. It's been great learning another programming language and
|
||||||
|
putting that knowledge into practice. You can <a
|
||||||
|
href="http://github.com/tricycle/lesswrong/">check out the code on
|
||||||
|
GitHub</a> (pun not intended). Also if you end up looking at or using the
|
||||||
|
code or Less Wrong itself and encounter any issues there is an <a
|
||||||
|
href="http://code.google.com/p/lesswrong/issues/list">issue tracker on Google
|
||||||
|
Code</a> where they can be logged.
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
I use an SSH tunnel to access my computer at work from home. On occasion I want to clone a git repo that is on the remote server. To do so its necessary to specify the port, which doesn't work with the conventional clone syntax.
|
I use an SSH tunnel to access my computer at work from home. On occasion I want
|
||||||
|
to clone a git repo that is on the remote server. To do so it's necessary to
|
||||||
|
specify the port, which doesn't work with the conventional clone syntax.
|
||||||
|
|
||||||
E.g. `git clone hostname:path/to/repo`. The solution is to be a little more specific:
|
E.g. `git clone hostname:path/to/repo`. The solution is to be a little more
|
||||||
|
specific:
|
||||||
|
|
||||||
git clone ssh://localhost:2222/~username/path/to/repo
|
git clone ssh://localhost:2222/~username/path/to/repo
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
WezM.net was down again this weekend. The cause this time was the the large <a href="http://www.heraldsun.com.au/news/melbourne-storm-leaves-bill-in-its-wake/story-e6frf7jo-1225838413382">storms in Melbourne</a> flooding the office where the computer that hosts this site lives. The computer escaped the water but the network and Internet connection did not.
|
WezM.net was down again this weekend. The cause this time was the the large <a href="http://www.heraldsun.com.au/news/melbourne-storm-leaves-bill-in-its-wake/story-e6frf7jo-1225838413382">storms in Melbourne</a> flooding the office where the computer that hosts this site lives. The computer escaped the water but the network and Internet connection did not.
|
||||||
|
|
||||||
The office is located 60km from home so fixing problems like these have to wait until office hours, hence the extended downtime. This is the second time in an many weeks that I've run into this problem so I've decided to move WezM.net to my <a href="http://en.wikipedia.org/wiki/Mini-ITX">Mini ITX</a> server, which is more accessible out of hours as its at home.
|
The office is located 60km from home so fixing problems like these have to wait until office hours, hence the extended downtime. This is the second time in an many weeks that I've run into this problem so I've decided to move WezM.net to my <a href="http://en.wikipedia.org/wiki/Mini-ITX">Mini ITX</a> server, which is more accessible out of hours as it's at home.
|
||||||
|
|
||||||
<!--more-->
|
<!--more-->
|
||||||
The ITX server flawlessly powered WezM.net from 2005 to 2007 with a personal best uptime of 407 days. I recently dug it up and had planned on running FreeBSD on it. However over the weekend I decided to take the easy way out and just go back <a href="http://www.debian.org/">Debian</a>, which originally powered the server. Its a little better suited to this server due the wide availability of binary packages; compiling stuff is not fast on an 800Mhz Via C3. In case you're wondering why I'm bothering with self hosting its because I'm too stingy to pay for a <abbr title="Virtual Private Server">VPS</abbr>.
|
The ITX server flawlessly powered WezM.net from 2005 to 2007 with a personal best uptime of 407 days. I recently dug it up and had planned on running FreeBSD on it. However over the weekend I decided to take the easy way out and just go back <a href="http://www.debian.org/">Debian</a>, which originally powered the server. It's a little better suited to this server due the wide availability of binary packages; compiling stuff is not fast on an 800Mhz Via C3. In case you're wondering why I'm bothering with self hosting it's because I'm too stingy to pay for a <abbr title="Virtual Private Server">VPS</abbr>.
|
||||||
|
|
||||||
The ITX server lacks a CDROM drive and my previous attempts to boot from USB flash drives have failed. This makes installing new OSes a bit of a challenge. I decided to try out installing Debian via <a href="http://www.netboot.me/">netboot.me</a>. As the name suggests, netboot.me allows you to netboot a PC via the Internet. To do so you download and burn their bootable image to CD, floppy or USB drive. I didn't use any of these though as I already had a 8Mb (yes Mb) bootable CF card with <a href="http://www.etherboot.org/">gPXE</a> installed on it. gPXE is an open source and enhanced network bootloader.
|
The ITX server lacks a CDROM drive and my previous attempts to boot from USB flash drives have failed. This makes installing new OSes a bit of a challenge. I decided to try out installing Debian via <a href="http://www.netboot.me/">netboot.me</a>. As the name suggests, netboot.me allows you to netboot a PC via the Internet. To do so you download and burn their bootable image to CD, floppy or USB drive. I didn't use any of these though as I already had a 8Mb (yes Mb) bootable CF card with <a href="http://www.etherboot.org/">gPXE</a> installed on it. gPXE is an open source and enhanced network bootloader.
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@ Some of the benefits of this arrangement are:
|
||||||
The new site supports many of the features of the old one, with one exception:
|
The new site supports many of the features of the old one, with one exception:
|
||||||
comments. The new site has no built-in commenting. I considered adding comments
|
comments. The new site has no built-in commenting. I considered adding comments
|
||||||
via [Disqus][disqus] but their commenting form feels very heavy and there wasn't
|
via [Disqus][disqus] but their commenting form feels very heavy and there wasn't
|
||||||
a mobile optimised version at the time I checked. In place of comments I have a
|
a mobile optimised version at the time I checked. In place of comments I have
|
||||||
direct email and Twitter link at the end of each post.
|
direct email and Twitter links at the end of each post.
|
||||||
|
|
||||||
[disqus]: http://disqus.com/
|
[disqus]: http://disqus.com/
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ technical and personal posts that I write, whilst at the same time allowing
|
||||||
them to co-exist on the same site. I also wanted a more minimal design with
|
them to co-exist on the same site. I also wanted a more minimal design with
|
||||||
some attention to the typography used.
|
some attention to the typography used.
|
||||||
|
|
||||||
The design is also partially fluid in that it will adapt to most screens,
|
The design is partially fluid in that it will adapt to most screens,
|
||||||
however the width of the posts is capped at a maximum to prevent the line
|
however the width of the posts is capped at a maximum to prevent the lines
|
||||||
becoming long and difficult to read. The design also adapts to the smaller
|
becoming too long and difficult to read. The design adapts to the
|
||||||
screen when viewed on a mobile device.
|
smaller screen when viewed on a mobile device.
|
||||||
|
|
|
@ -105,7 +105,7 @@ The final parts list ended up being rather diminutive:
|
||||||
|
|
||||||
[hard-drives]: http://www.ht.com.au/cart/1/part/V0531-Seagate-Barracuda-Green-ST2000DL003-hard-drive-2-TB-SATA-600/detail.hts
|
[hard-drives]: http://www.ht.com.au/cart/1/part/V0531-Seagate-Barracuda-Green-ST2000DL003-hard-drive-2-TB-SATA-600/detail.hts
|
||||||
|
|
||||||
The total cost ended up being $731.67, healthily under budget.
|
The total cost was $731.67, healthily under budget.
|
||||||
|
|
||||||
<figure>
|
<figure>
|
||||||
<img src="/images/2012/01/IMG_0097.jpg" alt="Installing RAM into HP MicroServer" />
|
<img src="/images/2012/01/IMG_0097.jpg" alt="Installing RAM into HP MicroServer" />
|
||||||
|
@ -119,20 +119,20 @@ The total cost ended up being $731.67, healthily under budget.
|
||||||
|
|
||||||
## Software
|
## Software
|
||||||
|
|
||||||
Installing FreeBSD and setting up the ZFS pool was very
|
Installing FreeBSD and setting up the ZFS pool was straightforward. I'm running
|
||||||
straightforward. I'm running the drives in a RAIDZ configuration,
|
the drives in a RAIDZ configuration, giving 3.6Tb of usable storage. I
|
||||||
giving 3.6Tb of usable storage. I currently have two ZFS file systems
|
currently have two ZFS file systems on that. One in a normal configuration and
|
||||||
on that. One in a normal configuration and the other for photos with
|
the other for photos with `copies=2` set.
|
||||||
`copies=2` set.
|
|
||||||
|
|
||||||
The system all ran well for a few days however on the forth day one of
|
The system ran well for a few days however on the forth day one of the brand
|
||||||
the brand new drives failed and started making a terrible clicking, beeping
|
new drives failed and started making a terrible clicking, beeping noise.
|
||||||
noise. Fortunately HT replaced it very promptly and the replacement has
|
Fortunately HT replaced it promptly.
|
||||||
been running fine since. During the time the failed drive was out for
|
|
||||||
replacement the ZFS pool continued to run fine in its degraded state, with
|
During the time the failed drive was out for replacement the ZFS pool continued
|
||||||
no data loss. Once the new drive was installed it was a simple matter of
|
to run fine in its degraded state, with no data loss. Once the new drive was
|
||||||
issuing `zfs replace ada1` and it began the process of resilvering the data
|
installed it was a simple matter of issuing `zfs replace ada1` and it began the
|
||||||
onto the new drive and it has been running incident free since.
|
process of resilvering the data onto the new drive and it has been running
|
||||||
|
incident free since (still running as of 30 Dec 2016).
|
||||||
|
|
||||||
$ zpool status
|
$ zpool status
|
||||||
pool: storage
|
pool: storage
|
||||||
|
@ -157,6 +157,5 @@ Filing Protocol">AFP</abbr>.
|
||||||
|
|
||||||
[netatalk]: http://netatalk.sourceforge.net/
|
[netatalk]: http://netatalk.sourceforge.net/
|
||||||
|
|
||||||
With that done it's the sever shows up in the Finder via Bonjour and
|
With that done the sever shows up in the Finder via Bonjour and
|
||||||
copying/accessing data is dead simple.
|
copying/accessing data is dead simple.
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
After ongoing issues with maintaining a reliable Internet connection at
|
After ongoing issues maintaining a reliable Internet connection at home I
|
||||||
home I decided to add a router box to the network in charge of assigning
|
decided to add a custom built router to the network that would be in charge of
|
||||||
IP addresses and sharing our Internet connection with the rest of the
|
assigning IP addresses and sharing our Internet connection with the rest of the
|
||||||
network. I wanted something with at least two Ethernet ports so that
|
network. I wanted something with at least two Ethernet ports so that all
|
||||||
all Internet traffic would flow through the device and allow bandwidth
|
Internet traffic would flow through the device and allow bandwidth hogs to be
|
||||||
hogs to be identified at times when the connection appeared flooded.
|
identified at times when the connection appeared flooded.
|
||||||
|
|
||||||
After a bunch of research into appropriate hardware and software I
|
After a bunch of research into appropriate hardware and software I
|
||||||
decided on a [PC Engines ALIX][alix] single board computer (alix2d13). The
|
decided on a [PC Engines ALIX][alix] single board computer (alix2d13). The
|
||||||
|
@ -18,8 +18,7 @@ features:
|
||||||
* RS-232 serial port
|
* RS-232 serial port
|
||||||
* CompactFlash socket
|
* CompactFlash socket
|
||||||
|
|
||||||
Along with the board I ordered one of [PC Engines cases][case]
|
I also ordered one of [PC Engines cases][case] (case1s2u) to go with it.
|
||||||
(case1s2u) to go with it.
|
|
||||||
|
|
||||||
[alix]: http://www.pcengines.ch/alix2d13.htm
|
[alix]: http://www.pcengines.ch/alix2d13.htm
|
||||||
[case]: http://www.pcengines.ch/case1d2u.htm
|
[case]: http://www.pcengines.ch/case1d2u.htm
|
||||||
|
@ -28,7 +27,7 @@ For the software I settled on [OpenWRT][openwrt]. I chose it for a number of
|
||||||
reasons:
|
reasons:
|
||||||
|
|
||||||
* Good support for ALIX boards.
|
* Good support for ALIX boards.
|
||||||
* Designed to run from Flash and read only file systems.
|
* Designed to run from Flash and read-only file systems.
|
||||||
* Great binary package manager that allows additional software to be
|
* Great binary package manager that allows additional software to be
|
||||||
installed.
|
installed.
|
||||||
* Lightweight [Lua] based Web UI available ([LuCI][luci]).
|
* Lightweight [Lua] based Web UI available ([LuCI][luci]).
|
||||||
|
@ -45,11 +44,10 @@ ALIX can do all my [weather station][weather] logging.
|
||||||
[weather]: /personal/2010/09/weather-station/
|
[weather]: /personal/2010/09/weather-station/
|
||||||
[weather-software]: /technical/2010/09/weather-station-software/
|
[weather-software]: /technical/2010/09/weather-station-software/
|
||||||
|
|
||||||
This setup has been extremely reliable. I've pushed all services on to
|
I moved many of services that my ADSL modem and AirPort base station were
|
||||||
it that my ADSL modem and AirPort base station used to be responsible
|
performing to the box and it's proven extremely reliable. This includes
|
||||||
for. Including maintaining the PPPoE connection to my ISP. I'd certainly
|
maintaining the PPPoE connection to my ISP. I'd certainly recommend a set up
|
||||||
recommend a set up like this to anyone who is looking for a small
|
like this to anyone who is looking for a small, dedicated home router.
|
||||||
dedicated home router.
|
|
||||||
|
|
||||||
If you don't like the prospect of building your own custom OS image I'd
|
If you don't like the prospect of building your own custom OS image I'd
|
||||||
also highly recommend <tt>[m0n0wall]</tt>, which is a [FreeBSD] derived
|
also highly recommend <tt>[m0n0wall]</tt>, which is a [FreeBSD] derived
|
||||||
|
@ -63,7 +61,7 @@ settings worked fine but can be changed via a web UI) and very reliable.
|
||||||
<figure>
|
<figure>
|
||||||
<img src="/images/2012/01/_MG_0562.jpg" width="600" height="258" alt="Front view" />
|
<img src="/images/2012/01/_MG_0562.jpg" width="600" height="258" alt="Front view" />
|
||||||
<figcaption>Front with three LEDs. The behaviour of the LEDs can
|
<figcaption>Front with three LEDs. The behaviour of the LEDs can
|
||||||
be customised in OpenWRT. I have the left one indication power and
|
be customised in OpenWRT. I have the left one indicating power and
|
||||||
the middle one indicating activity on the WAN port. The other one is
|
the middle one indicating activity on the WAN port. The other one is
|
||||||
currently unused.</figcaption>
|
currently unused.</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
@ -77,8 +75,7 @@ settings worked fine but can be changed via a web UI) and very reliable.
|
||||||
<img src="/images/2012/01/_MG_0567.jpg" width="600" height="600" alt="alix2d13 board" />
|
<img src="/images/2012/01/_MG_0567.jpg" width="600" height="600" alt="alix2d13 board" />
|
||||||
<figcaption>The ALIX board itself with the following connected: WAN
|
<figcaption>The ALIX board itself with the following connected: WAN
|
||||||
and LAN Ethernet, 8Gb [MosKeyto USB flash drive][moskeyto],
|
and LAN Ethernet, 8Gb [MosKeyto USB flash drive][moskeyto],
|
||||||
weather station USB cable and 32Mb CF card that the system runs
|
weather station USB cable and 32Mb CF card that the system boots from.</figcaption>
|
||||||
off.</figcaption>
|
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
[moskeyto]: http://www.lacie.com/au/products/product.htm?id=10425
|
[moskeyto]: http://www.lacie.com/au/products/product.htm?id=10425
|
||||||
|
|
|
@ -11,8 +11,8 @@ any issues either.
|
||||||
Some searching revealed people complaining about YouTube videos
|
Some searching revealed people complaining about YouTube videos
|
||||||
downloading faster over 3G than Wi-Fi. There were a number of theories
|
downloading faster over 3G than Wi-Fi. There were a number of theories
|
||||||
and proposed fixes, including [people seeing faster rates when
|
and proposed fixes, including [people seeing faster rates when
|
||||||
downgrading their access point to 802.11b][80211b]<sup>2</sup> but I
|
downgrading their access point to 802.11b][80211b]<sup>2</sup>. I
|
||||||
found one particular article (that I can no longer find) that said the
|
read one particular article (that I can no longer find) that said the
|
||||||
power management in the iOS Wi-Fi stack interfered with download speeds
|
power management in the iOS Wi-Fi stack interfered with download speeds
|
||||||
when communicating to a high latency destination over a high speed Wi-Fi
|
when communicating to a high latency destination over a high speed Wi-Fi
|
||||||
connection. For example YouTube servers in the US from AU<sup>3</sup>.
|
connection. For example YouTube servers in the US from AU<sup>3</sup>.
|
||||||
|
|
Loading…
Reference in a new issue