Sandbox

From Organic Design wiki
Revision as of 04:00, 30 March 2016 by Nad (talk | contribs)

Gold Bug is real![edit]

Posted by Nad on 23 September 2015 at 14:38
This post has the following tags: Our third year on the land
When Pete and me were kids we loved the Richard Scarry picture books such as Cars and Trucks and Things That Go. One of the common features was that may pages would have a tiny gold bug character hiding somewhere such as in the first picture on the below. He's still around these days and even stars in his own book!

We always thought that he was just an imaginary character but yesterday I found that he's real! And he followed Beth and I here to Brazil and has been hiding for four years! He would have stayed hidden too, but he must have slipped and fallen because I found him in the bowl of water in the bathroom :-( Fortunately he was ok and I scooped him out and put him on a piece of wood to dry out. Now he's gone into hiding again :-)

Gold Bug hiding.jpg
Goldbug1.jpg
Goldbug2.jpg

Server OS upgraded from Debian 7.4 to 8.2[edit]

Posted by Nad on 9 September 2015 at 18:02
This post has the following tags: Server
Debian 8 has been the stable version since April, but I only just got round to upgrading the server today. Even then the main motivation was because of a sudden huge increase in spam which turned out to be due to two things. First we were being blocked from using the domain black-lists, and second because our version of Debian was using version 3.3.2 of [SpamAssassin], but it needs to use at least version 3.4 to make full use of the domain black-lists. Here's an example X-Spam email header showing that we're being blocked:
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,HTML_IMAGE_ONLY_32,
	HTML_MESSAGE,T_DKIM_INVALID,T_RP_MATCHES_RCVD,URIBL_BLOCKED,URI_NOVOWEL
	autolearn=ham version=3.3.2

The first problem was happening because the black-list services run over DNS, but they will block requests from DNS servers that use their free services too much. We were using our server host's DNS servers which were being blocked because they relay requests to the black-lists from thousands of their clients, but they don't pay for the black-list services. This issue is easily fixed though, we simply needed to set up our own caching DNS server so that when SpamAssassin requests information form the black-lists they're going through our own server that makes only a minimal amount of requests. See Configure mail server for more details.

The best way to fix the second problem was to upgrade the OS because Debian 8 uses SpamAssassin version 3.4.0 which is modern enough to properly support the black lists. Here's an example of what the X-Spam headers are looking like now :-)

X-Spam-Status: Yes, score=11.0 required=5.0 tests=ADVANCE_FEE_2_NEW_MONEY,
	BAYES_00,HTML_MESSAGE,LOTS_OF_MONEY,MIME_HTML_ONLY,RCVD_IN_BRBL_LASTEXT,
	RCVD_IN_XBL,RDNS_NONE,URIBL_BLACK,URIBL_DBL_SPAM,URIBL_SBL,URIBL_SBL_A,
	URIBL_WS_SURBL autolearn=no autolearn_force=no version=3.4.0

Another thing that's much more up to date in the new Debian version is our web-server, Nginx. This was only on version 1.2 before but now has gone all the way up to 1.6! This is good news because versions prior to 1.3 had no support for WebSockets, so now our page comments no longer need to use Ajax-polling which is very unresponsive and wasteful.

Vege patch starting to look a bit better :-)[edit]

Posted by Nad on 4 September 2015 at 19:05
This post has the following tags: Our third year on the land
Wow it's been a long time with no blogging! We were mainly focussing on our meditation practice, but then did our three monthly trip to Caxias to do our shopping which always takes a lot of both mental and physical energy out of us, and takes a few weeks to recover from and get back into our meditative state again. But nothing much has really happened that's worth post a blog item about, except that the vege patch has recently start looking a lot better, here's some pictures of it as of September 2015 :-)
Vege patch Sep2015a.jpg
Vege patch Sep2015b.jpg

Our flattie Fattie[edit]

Posted by Nad on 28 June 2015 at 14:41
This post has the following tags: Our third year on the land
Our flatmate Fattie.jpg
Fattie's got a nest somewhere under the south extension and wakes up about the same time as us making a lot of noise. He's very curious about yoga and meditation and he usually hangs round with us under the north extension when we do our practices. One time he even came down and sat on Beth's shoulder :-) Most days he goes off to work and comes back in the evening making a lot of noise to say good night. He often comes home briefly at lunch time as well, his main diet is bugs that he finds around the house. We think he's a Corruíra (Troglodytes Musculus), this is a better picture copied from the Brazilian Wikipedia.

Antenna 2.0[edit]

Posted by Nad on 10 June 2015 at 12:12
This post has the following tags: Our third year on the land
Well here it is, the long-awaited Antenna 2.0 blog post!

Our net's been getting worse and worse over the last year, not only slower, but also we have a long delay before connecting - sometimes more than an hour! And so I thought that a bigger antenna may help by enabling us to use 3G instead of 2G. Even though the problem is mainly with our provider, Vivo, because we often a perfect 5-bar 2G signal, but still have a very slow connection, we figure that a bad 3G connection will be a lot better than a bad 2G connection!

So the first step was to get the metal, thick copper tubing for the boom and thin copper for the wave-guides. Our friend Eduardo happened to have a load of six metre copper tubes - he builds apartments and has a huge "hardware store" below one of them where he keeps all the left overs and spare parts, there's rows of shelves full of pipes and cables and even areas with dozens of porcelain sinks and toilets! The new antenna is three meters, but unfortunately we needed to get it in two pieces to fit on the bus and in our little hire car. He didn't quite have thick enough single-core copper cable for the wave guides, so we went to a metal scrap yard for that and picked up ten metres of uninsulated 3mm diameter copper wire.

The first part of the construction job was to join the pipe back into a single three meter length. Unfortunately I still haven't bought an acetylene tank for my gas welding kit, so I had to make do with soldering instead of brazing. I cut the ends as shown below to increase the join length and filed the ends at an angle (not shown in the photo) so the solder would still be strong after filing the pipe smooth, and I also positioned the join exactly where a wave-guide would sit to further increase strength...

Antenna pipe join tinned.jpg
Antenna pipe join with director.jpg

...but all to no avail, the solder was just too weak to support the weight of such a long length. So I figured that the best way would be to have a section of slightly smaller diameter pipe that fitted inside the main pipe that would support the join from the inside and stop it from bending. But there's no way we'd be making a dedicated trip to the city and searching round for days for a piece of tube just the right size in the near future, so I figured that the project would have to be put on the back burner for a while.

But then a stroke of luck hit, one morning I opened the door, and there was the umbrella which had fallen on the ground and broken into three parts somehow - and you'd never believe it, but the tube that had somehow broken was exactly the right size to use for the antenna join! I quickly fixed the umbrella with a piece of wood as I sensed some rolling pin activity on the brew :-/

Antenna and umbrella 1.jpg
Antenna and umbrella 2.jpg
Antenna pipe join.jpg

So the next step was to drill the holes for all the wave guides. I needed to ensure that they were all on exactly the same plane without twisting so I clamped the pipe firmly onto a straight piece of wood and made a guide that would ensure that all the holes were in exactly the same position on the pipe.

Antenna pipe ready for drilling.jpg
Antenna pipe drill guide.jpg

Then next I filed and tinned the holes and soldered the wave guides in. I actually found that soldering them by holding the joins over the gas oven element was easier than the soldering iron because the pipe sucks all the heat away - again brazing them would be by far the easiest and strongest solution. I made sure the metal I soldered in for the wave guides was a few millimetres too long so that I could cut and file them perfectly to length afterwards.

Antenna pipe tinned hole.jpg
Antenna assistants helping.jpg
Antenna cutting directors.jpg

The most difficult part to get exactly the right size and shape is the folded dipole, the bit that the cable joins to. But after a couple of attempts I made one that was accurate to about half a millimetre. I attached it to the boom in a piece of PVC pipe as shown below.

Antenna folded dipole 2.jpg

And then the final steps, painting it and putting it up on the hill! Beth's much better at painting than me so she took care of this part :-)

Antenna painted by Beth.jpg
Antenna 2.0 completed.jpg

And so what was the final result?!

Well.... kind of mixed results really... it can only get a two bar 2G signal whereas the small one gets a full five bar signal. It picks up a zero or one bar 3G signal which is about the same as the small one, but the 3G connection seems to consistently work, whereas the small antenna's 3G connection is very intermittent. More testing is needed, and there's a few tweaks that can be made to improve performance, but overall the results are rather disappointing :-(

Update: Well I've spent a few days reading, talking to radio engineer friends and doing some adjustments and the result, while not awesome, looks like it has at least achieved the goal of getting us into consistent 3G. First I replaced the metal bolt that was used to mount the folded dipole with plastic, then I mounted the whole thing onto a large PVC pipe so that the antenna can be held very straight since it was bending under it's own weight when not supported.

Antenna 2.0 installed 1.jpg
Antenna 2.0 installed 2.jpg
Antenna 2.0 installed 3.jpg

We've had some very rainy days and misty mornings and our 3G connection has continued to function throughout it all which the small antenna could never have done, so although it's unable to get a decent 2G signal, it's definitely performing more consistently on 3G, and that's the most important thing. We seem to be getting between 500 kilobits and one megabit most of the time, which means we should be able to do voice and maybe even video now :-)