# HG changeset patch # User Tero Koskinen # Date 1323813673 18000 # Node ID c13343ce0a19055a75a5b178951892fa09dc02ce # Parent 0000000000000000000000000000000000000000 My blog content in reStructured text format. diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/adadomain.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/adadomain.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,12 @@ +Adadomain merged to sphinx-contrib +################################## + +:date: 2011-08-04 15:07 +:tags: ada, sphinx, python + +I merged my Adadomain to `sphinx-contrib `_. This way it is one step more official extension. + +For those who do not know: `Sphinx `_ is a documentation tool and +it is used in Ahven. In release 1.9 of Ahven, I included the generated +HTML documentation to the tarball, but I might emit the generated content from +2.0 since the Adadomain extension is now merged. diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/ahven-18.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/ahven-18.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,10 @@ +Ahven 1.8 released +################## + +:date: 2010-06-02 20:22 +:tags: ahven, ada + +Today I released Ahven_ 1.8. You can find release notes from here_. + +.. _here: http://ahven.stronglytyped.org/release_1_8.txt +.. _Ahven: http://ahven.stronglytyped.org/ diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/ahven-19.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/ahven-19.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,13 @@ +Ahven 1.9 released +################## + +:date: 2011-04-14 16:03 +:tags: ada, ahven + +I finally managed to release Ahven 1.9 (download zip_). + +This is a small bug fix release only to allow Ahven compile with GNAT GPL 2010 also. + +If everything goes as planned, the next 2.0 will include new features, like timeouts, improved documentation, and possibly an ability to skip some tests. + +.. _zip: http://sourceforge.net/projects/ahven/files/ahven/Ahven%201.9/ahven-1.9.zip/download diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/ahven-20-oops.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/ahven-20-oops.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,13 @@ +Oops, I really messed up skipped tests in Ahven 2.0 +################################################### + +:date: 2011-10-11 15:06 +:tags: ahven, ada + +I managed to mess up skipped test reporting also in the XML test result +reporter. I filed `an issue `_ about it. + +Since the bug appears only if you skip some tests and use the XML result +format, it isn't really fatal and therefore I won't immediately fix it. +However, I do plan to create a bug fix release within a month or two. + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/ahven-20.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/ahven-20.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,22 @@ +Ahven 2.0 released +################## + +:date: 2011-09-23 16:07 +:tags: ahven, ada + +I just released `Ahven `_ 2.0. You can grab the source code from `SourceForge `_. + +This release includes two new features: + +* Test timeouts +* Test skipping programmatically + +When running tests, you can specify a timeout value for the tests. If test runs longer than the timeout value, the test is stopped. This is implemented by running each test in a separate task and aborting the task if the test runs too long. + +The feature of course depends on code being abortable, +which might not be the case always. For example, many +Ada compilers do not abort task which runs in a tight loop and +does some calculations, like "loop Counter := Counter + 1;end loop;". + +The another feature is simple procedure called "Skip". Calling this inside a test allows you to skip the test and move to the next one. The skipped test is considered as passed, but some test runners might add extra "SKIP" info for them. + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/ahven-21.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/ahven-21.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,10 @@ +Version numbers are cheap - Ahven 2.1 released +############################################## + +:date: 2011-09-24 15:06 +:tags: ahven, ada + +A small but unfortunate and annoying bug slipped into Ahven 2.0 release: Ahven.Text_Runner silently ignored all skipped tests and did not report them. This is now fixed in Ahven 2.1. + +Again, you can get the source from `Sourceforge `_. + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/arduino-ethernet.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/arduino-ethernet.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,12 @@ +Arduino Ethernet Shield support for AVR-Ada +########################################### + +:date: 2010-09-20 20:53 +:tags: arduino, ethernet, avr, ada + +I finally got my code working with +`Arduino Ethernet Shield `_ +and put it available at http://bitbucket.org/tkoskine/arduino-ethernet/. + +Only receiving data via TCP client connections is supported, but I plan to improve the library as my time permits. + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/atmega5260avrada.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/atmega5260avrada.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,13 @@ +Arduino Mega 2560 and Attiny13a/Attiny2313 support to AVR-Ada +############################################################# + +:date: 2011-02-14 22:04 +:tags: avr, ada, arduino atmega2560, attiny2313, attiny13 + +I recently got write access to the `AVR-Ada`_ repository and now I have pushed my changes there. + +These changes improve support for Atmega2560, Attiny13a, and Attiny2313 processors. Attiny13a and Attiny2313 are pretty uninteresting, although common, AVR processors. I happen to use them in my projects because they are cheap and that is why I also wanted better support for them. + +On the other hand, Atmega2560 processor is used in the new Arduino Mega 2560 board. This means that next release of AVR-Ada will support the new Mega board out of the box. Some bits, like support for timers 3..5 and extra UARTS, are missing, but at the moment Atmega2560 should have about same features as Atmega328p supported. + +.. _`AVR-Ada`: http://sourceforge.net/projects/avr-ada diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/attiny13board.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/attiny13board.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,14 @@ +Small attiny13 development board +################################ + +:date: 2011-05-07 15:25 +:tags: ada, avr, attiny13 + +To test AVR-Ada with small attiny13 processors, I made a little "development board" for me: + +.. image:: http://farm4.static.flickr.com/3114/5730682589_f985632170_m.jpg + :target: http://www.flickr.com/photos/66708330@N00/5730682589/ + +It can run `hello example `_ out of the box and blink the green led. The red led indicates power. + + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/avrada10-openbsd.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/avrada10-openbsd.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,14 @@ +AVR-Ada 1.1.0 port with AVR-GCC 4.3.2 for OpenBSD +################################################# + +:date: 2010-09-01 07:00 +:tags: openbsd, avr, ada + +I updated my AVR-Ada port to version 1.1.0. It consists of three parts: + + * AVR-GCC 4.3.2 with Ada support - http://bitbucket.org/tkoskine/avr-gcc + * AVR-Ada 1.1.0 runtime files - http://bitbucket.org/tkoskine/avr-ada-rts + * AVR-Ada 1.1.0 library files (AVR.* packages) - http://bitbucket.org/tkoskine/avr-ada-lib + +For now, only Arduino (atmega328p) is supported in avr-ada-lib package. + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/curl.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/curl.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,15 @@ +Ada bindings for cURL +##################### + +:date: 2010-10-13 22:23 +:tags: ada, curl + +I put my Ada bindings to `libcurl `_ +available at http://hg.stronglytyped.org/curl-ada/. At the moment, +they are pretty simple and contain only a small subset of libcurl, +but they allow me to fetch data over http/https and that is good +enough for my current purposes. + +The bindings should work with GNAT and Janus/Ada on 32-bit and 64-bit +systems. The build scripts are less than optimal, but with some effort +you should figure out how to build the bindings diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/i2ceeprom.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/i2ceeprom.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,15 @@ +Reading I2C EEPROM with Arduino and AVR-Ada +########################################### + +:date: 2011-05-21 16:43 +:tags: avr, ada, arduino, eeprom, i2c + +Recently, I wanted to access I2C EEPROM with Arduino. However, AVR-Ada (1.1.0) provides no support for I2C interface which many AVR processors and Arduinos have. So, I had to write a package ("Two_Wire") for it. + +Example code is available at `arduino-eeprom `_ repository and below is the used circuit: + +.. image:: http://farm4.static.flickr.com/3092/5744158742_d3763f3b75_m.jpg + :target: http://www.flickr.com/photos/66708330@N00/5744158742/ + +The package is far from perfect, but it should provide a place to start if someone needs to use I2C with AVR-Ada. + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ada/sphinx.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ada/sphinx.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,16 @@ +Documentation using Sphinx +########################## + +:date: 2010-08-06 21:04 +:tags: ada, ahven, python, sphinx + +I `recently `_ converted Ahven's DocBook documentation to use Sphinx and reStructuredText. + +I did this to make it simpler to write documentation. +reStructuredText is almost like plain text, so in theory it should be +easier than XML-based DocBook. + +As an unfortunate side-effect, this change introduces Python dependency +to the project, while on the other hand, I get rid of Java-based XSLT +tool dependencies. + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce blogsum.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blogsum.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,15 @@ +Blog engine changed to blogsum +############################## + +:date: 2011-03-24 01:10 +:tags: blog, blogsum + +I changed the blog engine running my blog from bloxsom to blogsum_. + +This might cause some extra spam in the planet aggregators, I am sorry about that. I try not to do this too often. :) + +The reason for the change was that I wanted to use software which works well with OpenBSD, in case I some day migrate this web server from Linux to OpenBSD. + +RSS feed URLs now follow form http://tero.stronglytyped.org/rss2.xml?search=TAG where TAG can be for example *ada* or *monotone*. + +.. _blogsum: http://trac.obfuscurity.com/blogsum/ diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce ipv6.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ipv6.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,14 @@ +IPv6 support for stronglytyped.org +################################## + +:date: 2011-05-09 14:18 +:tags: ipv6, ahven, ada + +My AWS-powered sites `stronglytyped.org`_ and Ahven's homepage `ahven.stronglytyped.org`_ now support IPv6 connections also. + +This was possible after Linode started supporting native IPv6 in some of its datacenters. + +Again, only Ada Web Server and iptables were used. There is no separate frontend http server written in another language. Just plain Ada all the way. + +.. _`stronglytyped.org`: http://stronglytyped.org/ +.. _`ahven.stronglytyped.org`: http://ahven.stronglytyped.org/ diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce monotone/disapprove.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/monotone/disapprove.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,14 @@ +mtn disapprove PARENT-REV CHILD-REV +################################### + +:date: 2010-07-15 22:07 +:tags: cpp, monotone + +`Starting `_ from version 0.99 Monotone's *disapprove* command understands a revision range in addition to a single revision. + +This means that you can disapprove bigger group of changes at once. + +Of course, there are some limitations on the group of revisions. For example, there cannot be merge revisions inside the range. + +This was my first bigger change to Monotone's code and along with that I gained commit access to monotone.ca, yay!. + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce monotone/monotone091openbsd.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/monotone/monotone091openbsd.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,11 @@ +OpenBSD port for Monotone 0.99.1 +################################ + +:date: 2010-11-09 22:30 +:tags: openbsd, monotone + +I updated my `OpenBSD port `_ +for Monotone to version 0.99.1. + +It is tested on 4.8/amd64, but should work with -current also + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce new-computer.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/new-computer.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,12 @@ +New Computer +############ + +:date: 2010-03-03 21:30 + +No new blog posts for a while. That is because I got a new computer some +time ago this year and have been playing with it. +It has 3.4GHz AMD Phenom II X4 965 processor, 4GB RAM, 1x 64GB SSD disk, +and 2x 150GB 10krpm Velociraptors. And the graphics adapter is +ATI Radeon HD 4890. In other words, it should have enough computing power +for a while. :) + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce newblog1.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/newblog1.rst Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,10 @@ +New blog location! +################## + +:date: 2010-07-17 21:01 +:tags: blosxom + +Hello, I transferred my blog from `Microsoft's live.com `_ to `here `_. + +The blog uses `Blosxom `_ blogging engine with a few plugins. + diff -r 0000000000000000000000000000000000000000 -r c13343ce0a19055a75a5b178951892fa09dc02ce pelican.conf.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pelican.conf.py Tue Dec 13 17:01:13 2011 -0500 @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +AUTHOR = u'Tero Koskinen' +SITENAME = u"Tero's blog" +SITEURL = 'http://stronglytyped.org/pelican' +SITESUBTITLE = u"Random notes" + +GITHUB_URL = '' +DISQUS_SITENAME = "tkoskine" +PDF_GENERATOR = False +REVERSE_CATEGORY_ORDER = True +LOCALE = "" +DEFAULT_PAGINATION = 5 +WITH_PAGINATION = True + +FEED_RSS = 'feeds/all.rss.xml' +CATEGORY_FEED_RSS = 'feeds/%s.rss.xml' + +LINKS = ( + ('Code Repositories', 'http://hg.stronglytyped.org'), + ('AVR-Ada', 'http://sourceforge.net/projects/avr-ada'), + ('Ahven', 'http://ahven.stronglytyped.org/'), + ) + +SOCIAL = (('twitter', 'http://twitter.com/tkoskine'), + ('identica', 'http://identi.ca/tkoskine'), + ('bitbucket', 'https://bitbucket.org/tkoskine'),) + +# global metadata to all the contents +DEFAULT_METADATA = (('yeah', 'it is'),) + +# static paths will be copied under the same name +STATIC_PATHS = ["pictures",] + +# A list of files to copy from the source to the destination +FILES_TO_COPY = (('extra/robots.txt', 'robots.txt'),) +