Browsed by
Category: Artikkelit

Finnish hackerspaces meet in Jyväskylä

Finnish hackerspaces meet in Jyväskylä

Ten participating hackerspaces must be a record for the biannual gathering of Finnish hacklabs! Hacklab Summit Finland 2018 was arranged in Jyväskylä, and despite the local hacklab was in charge of the event for the first time, they managed to make this happening one of the best in the history of HSF.

Our hangout place

The major theme for this year was planning the way how to formalise as an official organisation of hackerspaces in Finland. We now have initial idea how the organisation should work, based on opinions and votes of those, who took part in this meeting. Unanimous conclusion was, that the founding assembly is going to be the next HSF in Helsinki this summer. has a history of more or less informal co-operation between cities since 2012. The new organisation will be strictly for member-operated hackerspaces, supporting new groups to get started, offering web services, representing our local scene in events both in Finland and further away, and making all kinds of PR work to help people find their local hacklabs.

Jyväskylä Hacklab took the responsibility to arrange HSF in connection with Instanssi demoscene event. This enabled us to have more space, content and possibilities than before. As usual, the program was fixed weeks before the start, and a hourly timetable kept us on track with finishing robots ready for the competition, remembering to eat, presenting recent happenings in different hacklabs, doing something more than just sitting behind the laptop, going to a indoor trampoline park and of course, the sauna.

Staying active

Helsinki participated in the robot race track competition with two robots. The robot track is a 1 × 2 m box which has copies of itself in some of the member spaces. Joonamo found his robot from last summer still working, and I assembled hastily some LEGO robot that had code running just few minutes before the competition started. The program was written in Python from scratch, the robot did zero practicing on the track, and I only knew it could probably move forward when turned on. For my complete surprise, it actually managed to make one clean complete round on the track, and didn’t even finish last on the results list. Joonamo’s robot came 3rd in speed results and 4th in popular vote, and the host city Jyväskylä took the first place. Robot competition was also included in the Instanssi program, so we had a great audience supporting the bots on the racetrack.

Posing before the race

The weekend ended in visiting Hacklab Jyväskylä, which is about to move to a larger location soon. Tampere Hacklab is  expanding its place with a new metal room and textile work section. There are also plans in other cities to look for larger workspaces and Nokia just started their own lab. This HSF had a very positive athmosphere where collaboration is taken for granted.

Definitely looking good for hacklab scene in Finland right now. A big thanks to Jyväskylä for hosting us!

Photos from weekend:
Helsinki Hacklab flickr
Tampere Hacklab flickr

Robot competition:
Twitch video

Blog posts in Finnish:
Jyväskylä Hacklab
Tampere Hacklab


Next time:
HSF18½ in Helsinki, 8.—10.6.2018

This was 2017

This was 2017

Year 2017 at Helsinki Hacklab had some remarkable moments. Most importantly, we made a major expansion in the workspace, adding more room space from 215 m² to somewhere around 370 m² effectively, when excluding rented out areas. We also got a grant from Arts Promotion Finland (Taike) for our yearly children’s event and other expenses. The unfortunate piping leak, which happened closer to the end of the year, meant that some areas had to be rebuilt completely. While this is still ongoing issue and the floors waiting for a new coat of paint, we can hopefully now say that the end result might become something way better than the original ever was. Next year we have a usable separate workroom for chemistry.

The expansion and our new woodworking area

The expansion plans – including figuring out how to finance everything – had to start quickly because our behind-the-wall neighbor was leaving the building, and letting anyone else seize this opportunity would stall our hopes of any expansion for years to come if staying in this address. A quick draft showed that with some active keyholder member recruiting and finding subtenants would make this a feasible plan. The old woodworking room was in pressure to grow larger, as it could not fit more users to meet the demand. It had no room for table saw or any other new tools. The quickly negotiated expansion plan reserved most of the new free space for woodworking alone, one third for a subtenant woodworker with his separate workshop, and the remaining part mostly for storage. The new areas include a back door, a lifting garage door and a second WC. At the end of this year, we seem to be doing okay and call it a success.

Robots racing on a track

Robots in Strömberg Park, a family event organized by the co-op network in Helsinki, was organized for the second time and is very very likely to happen in 2018 too. (How soon we can call it a tradition?). We had competitors from at least five other hackerspaces and a large new tent bought with Taike’s grant. The competition was preceded by weekly robot meetings, to prep the bots to be ready enough for the big day.

SHA2017 Finnish Village tent with sauna

The sauna we brought to SHA2017 hacker camp turned out to be a wildly popular, at least in number of photograph attention it got. Let’s say this was our contribution to Finland’s 100th year of independence festives. Greetings to all who were brave enough to try out the sauna and to all our Nordic fellow camping neighbors! We fear we have no other option but to try to bring a sauna for the next hacker camp too.

In organizational stuff: we started to have so much diverse discussion and many users on our IRC channel, that we tried using Slack and so far got stuck to it. The old IRC channel is available too, but many topics have now their own places in our Slack group. In the workspace, the layout of things got shuffled again. We switched all our tables for folding ones in the classroom – thanks to Stockholm Makerspace for the idea!

The FPGA course continues our many year long continuous tradition of digital technology Thursdays, which started sometime while still in our previous address. We again collaborated with visual artists and also helped a samba group building their costumes in our workspace.

Assembly Summer 2017

Some memorable member projects:
– steam powered maze robot, with Lego mechanics
– synced clock displays for broadcasts and event audiovisuals
– experiments with woodturning using our new lathe
– towable grill for bicycle
– large LED display matrix

2017 in numbers
– 2500 new uploaded Flickr photos
– 100% increase in rented floor area
– 128 member applications received
– 6 events visited and one organized by ourselves

Bringing a sauna to a hacker camp #SHA2017

Bringing a sauna to a hacker camp #SHA2017

Photos now in Flickr album: SHA2017 pictures

The outdoor hacker camp SHA2017 is now over and we want to thank you the organizers of the awesome event. This time the Finnish Embassy came to the camp with an electric barrel sauna. Initial negotiations with different organizing teams suggested that there was enough power to choose an electric sauna and reasons not to take a wood heated model, and we gratefully received help finding one. The popularity struck us with surprise and the sauna was occasionally not enough large for the masses. For those who might be interested, the sauna was rented from NL, not far from the event site. If you plan to bring an outdoor sauna to an hacker camp in the future, it might be easier to arrange than you think! We’ve heard there are already plans elsewhere to bring a sauna to Chaos Communication Congress 34C3.

As soon as we received our event badges, we decided to make something sauna related with it. The sauna temperature app was soon prototyped and launched on camp day one. We used RuuviTags and other sensors for monitoring the heat and informing everyone when the sauna was ready to use. The app even got mentioned in badge presentation highlights.

The sauna was still going strong after 2 am when music started to fade out on the field. We only have vague hearsay that the sauna or nudity at the camp caused some disapproval, but everything we witnessed ourselves at the sauna was only positive.

See some of the sauna reactions in Twitter: Twitter search sauna and sha2017

our sha tentPlanning

This time everyone from Finland took a plane for this event, so to keep us properly equipped for all the flashiness and coziness, we had to think another ways to bring our stuff other than distributing it in multiple luggage bags. Tarlab and other campers from Oulu, Burner in lead, packed (video) and delivered a cargo pallet full of materials such as lights, camping equipment, Finnish salmiakki candies, power cords, a small fridge and loads of other stuff. Arranging a shipment like this to a hacker camp is doable and we managed to get it on site nicely and in time – also not too early. Just make sure with logistics and villages teams know about your plans beforehand. Our delivery had a GPS transmitter inside, so we could follow the shipment arriving to SHA camp field live.

This time the Nordic Villages area was somewhat more planned than in Chaos Communication Camp 2015, and we had some idea who were joining the cluster beforehand. For the next camp we could try to be even more coordinated and plan what equipment different groups could bring. For example, we had no sound system, but could use the Swedish one using their awesome Youtube playlist IRC bot – thanks! The Nordic Villages and hackerspaces mailing list is an attempt to collect interested people to join future planning for camps, happenings or maybe demoscene events and visits to other hackerspaces. Let’s see what use it might find. We need enough people in the list to keep us connected, so please join the group.

Keeping the spirit up

Hours after the closing ceremony, the leftover campers of Nordic Villages were still going strong continuing with completely new programme. The Norwegian Embassy took over the near emptied Swedish tent and spray painted a sign on a remains of a Kartent to make it “look official”. Lars from Malmö started inviting bypassers and asking them “are you here for the lightning talks?”. The spontaneous presentations were either recycled slides from other occasions, mixed topics, show-and-tell style talks and such. After 8 or 9 pm when the camp site went silent and power was shut down, we continued in the dark using flashlights. Almost everyone in the tent also gave a talk.

Nordic Villages is most likely happening also in Chaos Communication Camp 2019. Thank you for all those who visited the sauna, Taike for the grant, our neighbours, and the SHA organisation to let us make this happen!

(200th blog post on this website!)

Robots in Strömberg Park 2017

Robots in Strömberg Park 2017

Small robots try to find their way in a maze and bump against walls. This is our annual robot race in nearby Strömberg Park, which was organized by last Saturday! (Or actually biannual, if you count in the indoors winter races organized in Hackerspace Tampere Hacklab)

The idea is to build robots in Hackerspaces all over Finland, and many spaces have their own copy of the “ standard robot maze” at their location. The track is 1×2 meter wooden box with corners that turn left and right. Although it’s a speed race, usually the best show starts when a robot has no idea of its next move.

This is the second time we have made our previously closed doors competition into a public event here in Helsinki, especially for families and children. New this year was a large and sturdy pop-up tent in case of bad weather, better marketing, posters, website, stickers, sound system and more better general idea how we should handle building the event site. This year all our robots were autonomous, and in total eight took part in the race. Robots from previous years were on display in the table and some of them (working ones) took laps on the track as well.

Most bizarre robot this year was thjt‘s Höyry robot, which consisted of a Wilesco steam engine, rotten plywood, bunch of old Legos and IR sensor electronics. It managed to go about ⅔ of a lap before literally running out of steam or dropping a pulley belt. Because it had difficulties to turn right, we gave it a special permission to run the track counterclockwise.

The race was dominated by robots from Kuopio, which took both first and third place. Second place went to Tampere with a robot that was controlled by external computer that monitored the course with hanging camera setup over the track.

Co-operation network is an attempt to have more interaction between Hackerspaces in Finland, in similar fashion as UK Hackspace Foundation etc. Robot competitions such as this one have been in our schedule once or twice a year since 2012 as a part of Hacklab Summit Finland, which gathers Finnish Hackerspaces together making the scene work more with each others. Making the robot competition a public event became more obvious as the competition became more established tradition and the number of robots started resemble a real competition. This year’s race was supported by Arts Promotion Centre Finland. Participants in Hacklab Summit Finland event came from cities Helsinki, Tampere, Kuopio, Vaasa, Turku and for the first time, the small town of Virrat, which might see its own hackerspace in near future.

Photos by Helsinki Hacklab
Photos by Tampere Hacklab
Photos by Kuopio Hacklab

Results page in Finnish:

HSF 2017

HSF 2017

Last weekend got together for the biannual Hacklab Summit Finland weekend at Tampere Hacklab. We usually try to make some plans together for the following year, so this time we made an easy decision to sign up for a shared Youtube account (will be announced later), had some talk about SHA2017 and shared thoughts how things are going on in different cities since we last met face to face.

20170128_hsf2017a20170128_hsf2017b.jpg20170128_hsf2017c has a tradition of robot competitions, and there are replicas of the standard maze course in Helsinki, Tampere and other cities too. This winter’s competition had eight autonomous robots that had never participated before in any previous races. As usual, strategies on the track varied: ultrasound sensors, color recognition, wheels, walking with legs, laser-cut plywood, Arduinos, Legos, 3D-printed parts and recycled materials – and also a logic-less build up with motors, wheels and batteries stick together with hot glue. Piispa by Vurpo @ Turku Hacklab won the race this time with fastest lap.

This years program included a visit to the recently started Finnish Museum of Games and to meet an association that does anything related to VR tech. A nearby band surprised us with an unplugged gig next to our trailer sauna at about 3 or 4 am. Turku Hacklab has restarted the LED party hat project, which has been in hiatus for too long, so we soldered few example boards to test out the new PCB layout. We flew FPV drones and also fixed some hackerspace management software problem.

Helsinki Hacklab got a excuse to dump donate excess components and materials to other labs, including our extra vending machine. We shortly met with some folks from Lahti, who are thinking about forming a new Hacklab in the city. hopes it can support Lahti with this project!

20170128_robokuvahsf2017Thanks to Tampere Hacklab for hosting us again, and see you all in Helsinki this summer for another HSF.

More photos in this Flickr album.

Uploading photos to Flickr from Eye-Fi card with Raspberry Pi

Uploading photos to Flickr from Eye-Fi card with Raspberry Pi

Helsinki Hacklab’s policy for photographing sometimes puzzles our guests which might come from other hackerspaces with limitedly allowed or strict rules for taking photos, for privacy reasons or some others. Back in 2014 we still had very scattered collection of photos by individual members, maybe hosted on their own homepage or somewhere else, until lost forever. To preserve our history better and and have more up-to-date content online, we decided to make both taking photos and publishing them as hassle-free as possible. So we bought then an Eye-Fi card along with our camera and configured it so that all photos are automatically published in Flickr anytime the shutter recloses. So far, no complaints.

kuva kamerastaBut now, Eye-Fi has announced shutting down its service, which we have used for uploading over 4000 photos during the last 18 months. The X2 product line (and some other models) that are affected by this shutdown have still been sold in 2015. First card we had, a 4GB SanDisk branded version, failed this summer, but luckily one member had an unused X2 Connect somewhere, so we were soon back posting more photos of our weekly activities and blurry accidental snapshots of our feet. But, to continue using this Wi-Fi SD card after the service shutdown, we needed a replacement solution for both getting the photos from the card and sending them into our Flickr photo albums – and maybe making some improvements too.

RaspberryPi 3 in our tele rackWe had just received a bunch of Raspberry Pi 3 boards and tried to figure out what we could do with them, and because model 3 had Wi-Fi capability, connecting to Eye-Fi card could be done using eyefiserver2 project. For Flickr upload, I chose using Flickraw library for Ruby, which seemed to be a well-maintained project, so that possible future changes in Flickr API should not be a problem.

First, eyefiserver2 process is started on startup, this gets the photos from the card into RasPi, then every 5 minutes a Ruby program is run, which uploads new photos and marks them published.

The project (or step by step tutorial) can be found in Github:

We previously had all our photos ordered in albums by their date. One thing I wanted to improve was to put photos taken between 0 am and 3 am in same album with photos taken on the previous day, which makes less time line discontinuation when viewing photos by start date of an event. The Ruby program also by default renames photo titles by their timestamps. See our Flickr page for results.

In our setup, the RasPi is connected to Internet using Ethernet, and only the Eye-Fi card’s internal network name and password are stored in known wireless networks. If the camera is used outside our Hackerspace, and there is an Ethernet port for the RasPi available (maybe shared from a computer), we should be able to keep publishing photos from ongoing events, happenings, fairs etc. as we usually do. This is different from Eye-Fi center we previously used, in which we configured the card to know new local Wi-Fi and its password. This task required someone (which is me) to have Eye-Fi Center program first installed, and was usually a dull and slow thing to do during ongoing event or buildup. Now we just have to remember to take the readily configured RasPi with us anywhere we go with the camera.

If you don’t have an Eye-Fi card and would like to build a similar auto-publish system, I can’t say if it’s a good idea to buy an aftermarket Eye-Fi card anymore. Configuring this setup requires user to obtain card specific information that might need Eye-Fi services to be available (you cannot login to or create a new Eye-Fi center account after Sep 16th). If you have the card, but don’t really know what to do with it after Sep 16th, go enable its internal wifi (direct mode network) and store the password and MAC address for possible later use while you still can. If I’ve understood correctly, also the current Eye-Fi product line does not offer Flickr publishing. Try googling “hacking transcend wifi sd” for more ideas. Check out FlashAir API guide

(2016-09-01) Yesterday Eye-Fi announced a new tool for older cards, which might help to get card Wifi and MAC information after Sep 16th, which are needed this for python server solution.

HSF16½ ja robottikisa

HSF16½ ja robottikisa

Hacklab Summit Finland 2016½ on nyt takanapäin. Telttasauna on palautettu, viimeisetkin osallistujat päässeet kotiin ja löytötavarat kuulutettu.

20160611_Silta_ryhmakuva_rajattuTällä kertaa päätettiin tehdä HSF:n perinteikäs robokisa vähän toisin, kun kisa vietiin läbin seinien sisältä läheiseen puistoon ja isomman yleisön eteen. Säätilan jännittämisen, robottien viimehetken säätämisen ja järjestelyryntäilyn lopputuloksena saatiin aikaan onnistunut tapahtuma, jota pääsi seuraamaan yli 150 katsojaa! Paikallisten järjestäjien lisäksi robotteja ja osallistujia oli saapunut Helsinkiin Tampereelta, Turusta, Vaasasta ja Kuopiosta.

20160611_kollaasiRadalla nähtiin yllätysvieraana kisaan ilmoittautunut, ja järjestäjät täysin yllättänyt, robotti Dash ohjaajansa Iineksen kanssa, jonka tulosaika pisti monet muut kisaviritelmät koville. Ilman kolmen yrityksen sääntöä, olisi tulostaulu näyttänyt kovin toisenlaiselta.

Dash-robo ja ohjaaja
Dash-robo ja Iines

Kisan lopulta voitti Jarin Imuribotti tulosajalla 0:39,39, joka päihitti turkulaisten Totally Not Failixin tiukassa kisassa ajalla 0:39,80. Robotteja oli kisassa yhteensä kahdeksan, kaukaisin Kuopiosta asti. Kolmanneksi sijoittunut thjt:n Antiikkibotti, joka pärjästi ir-sensoreillaan auringonvalosta ja yli viidentoista vuoden iästään huolimatta mukavasti ajalla 0:48,13.

Vaikka sää olikin vähän kolea ja pilvinen, joutui tamperelaisten etäyhteydellä ohjattu robo laittamaan aurinkolasit ylle, jotta kameran kuva välittyi paremmin pilotille Hollolaan. Tämä auttoikin kierrosajan tiputtamisessa alkukokeilujen jälkeen kuudesta minuutista alle minuuttiin. Kisan päätteeksi huomion varasti Kremmenin pari päivää sitten saama koiranpentu, joka kävi myös kiertämässä radan läpi – hieman avustettuna tosin.

Robotapahtuman ohjelmaan kuului myös kopterilennätyksiä. Katso video tapahtumapaikalta youtubessa. Orja herätettiin myös talviuniensa jälkeen sähköihin. Viimeksi Saksassa ajelua nähnyt satakiloinen radio-ohjattava mönkivä laite pyörähti vikkelästi puiston nurmikolla, vaikka akut olivat viimeksi ladattu loppukesällä.

20160611_kollaasi2Kävimme viikonlopun tapahtuman aikana myös RC-Ratakeskuksella ajelemassa ja keskustelimmeön tiivistämisestä. Virallista katto-organisaatiota ei vielä perustettu, mutta ajatukselle näytettiin vihreää valoa. Ensi kerran tavataan samanlaisissa merkeissä alkuvuodesta Tampereella HSF17-tapahtumassa!

Väriä metallitilaan

Väriä metallitilaan

Helsingin hacklabilla kaikki seinät olivat valkoisia (syystä), lukuun ottamatta keittiötä.

Metallitilan seinät syntyivät pala palalta, kun Kremmen ja Harald muurailivat harkkoja paikoilleen, “joutessaan”. Pian sivusta seuranneiden hakkereiden suusta alkoi kuulua varovaista puhetta:

“Speksistä voisi ehkä poiketa erittäin painavista syistä, “betonimuuriin” voisi mahdollisesti saada elävyyttä graffititaiteella.”

Kuten yleensä; kukaan ei kuitenkaan varsinaisesti tiennyt, että mistä  sen taiteilijan löytäisi toteuttamaan asiaa ja mille pinnalle se kuva sitten tulisi, jos siis päädyttäisiin värikkääseen seinään.

Allekirjoittanut päätti  kysellä  mielipidettä hallituksen jäseniltä ja muiltakin aktiiveilta mahdollisuudesta värikkääseen seinään. Kukaan ei vastustanut ajatusta taiteellisesta seinästä metallitilan sisäpuolella kunhan se olisi toteutettu vaaleilla sävyillä. (Hakkerihan kantaa huolta työpisteen valaistuksesta.)

Konsensus värikkäästä seinästä oli saavutettu seuraavilla reunaehdoilla:

  • kuva ei tule loungen puolelle.
  • kuva tulee metallitilaan.
  • “joku” tekee sen jos haluaa.
  • tekijällä on joku suunnitelma asiasta.
  • tekijä ei rutise jos osa kuvasta jää jonkun laitteen taakse.
  • huomioidaan, että jollekin seinän osalle tulee noin metrin korkuinen työtaso.
  • taiteilija tekee teoksen hacklabin hengessä talkoilla; niin se muurauskin on syntynyt ja lähes kaikki muukin kerhotiloissamme.

20160312_muurausvaiheSeiniä tasoiteltiin ja uusia muurailtiin, pian tulikin aika jolloin pintakäsittelytekniikasta ja taiteesta puhuminen alkoi olla aktuellia. Poikkeuksellisesti allekirjoittaneenkin päässä oli tapahtunut jotain toimintaa, kun tuttu taiteellinen opiskelijapariskunta tuli mieleen.

Loppu olikin sitten aloittamista vaille valmista, määrätty seinä pohjamaalattiin taiteilijoiden toiveiden mukaisesti oranssilla (G407) pohjamaalilla ja metrin korkoon laitettiin 3kpl  teipinpalasia. Käytiin maalikaupassa ja etsittiin labin kalenterista pari iltaa / yötä jolloin toimintaa olisi mahdollisimman vähän, jotta ei aiheutettaisi maalinkäryä esim. jonkun kurssin aikana.

Lainaus yhdistyksen säännöistä:

“Yhdistys on poliittisesti ja uskonnollisesti sitoutumaton yhdistys, joka toiminnallaan pyrkii kehittämään ja edistämään jäsentensä sekä lähiseutunsa tieteellisiä, teknillisiä, taiteellisia sekä kädentaidollisia harrastusmahdollisuuksia.”

20160427_maalattu seinaOli ilo olla antamassa mahdollisuus parille nuorelle kädentaidoista kiinnostuneelle taidemaalarille.

— KIITOS N:lle ja M:lle antamastanne kontribuutiosta. —


Hacklab Summit Finland 2016

Hacklab Summit Finland 2016

We took part in the annual Finnish Hackerspace meeting in Tampere last weekend. Newly founded Hacklab Kuopio participated for the first time, Hacklab Mikkeli won the robot competition, and our club demonstrated our new member register and payments handling system. We hope to manage arranging another event this summer in Helsinki. See rest of the photos on Flickr.

Jokavuotinen Suomen Hacklabien yhteinen tapaaminen Tampereella on taas ohi. Tampereen, Turun, Vaasan ja Mikkelin läbien lisäksi mukana oli ensi kertaa osallistujia kesällä perustetusta Kuopion Hacklabista. Esityksiä oli mm. Disobey-tapahtumasta, Tampereen hacklabin LDAP:iin perustuvasta it-uudistuksesta ja Helsingin yhdistyksen uudesta jäsenrekisterijärjestelmänsä. Pixel Sisters -kuoro kävi esiintymässä heti aloituspäivänä perjantaina. Lauantaina vuorossa oli seinäkiipeilyä ja vierailu Museokeskus Vapriikissa.

Seinäkiipeily lauantain ohjelmassa
Seinäkiipeily lauantain ohjelmassa
Robotit samaan aikaan sokkelossa
Robottikisan jälkipeli

Perinteisessä robottikisassa oli tällä kertaa monipuolisesti eri tavoin toimivia älykkäitä, typeriä, nopeita ja hitaita laitteita. Vaasalaisten demokratiabotti, joka liikkui kilpailun seuraajien äänestämän suunnan perusteella osoittautui yleisön suosikiksi. Nopeuskisan voitti Mikkelin robotti, joka päihitti mokiksen videokuvalla pehmeäliikkeisesti navigoivan robon nopeampien moottorien ansiosta.

Tampereen uudet tilat osoittautuivat sopiviksi tämän kokoiselle porukalle. Pihalle järjestetty paljusauna ei ollut aivan pienikokoinen sekään. Jälleen kerran hienosti järjestetty tapahtuma – yritetään saada Helsinkiin taas jotain kokoontumista kesällä!

Lisää kuvia viikonlopulta yhdistyksemme Flickr-albumissa.

Seinästä tukea
Seinästä tukea
Github, testausta ja muuta ohjelmoinnin hienoutta alkeista eteenpäin käytännössä maanantaisin.

Github, testausta ja muuta ohjelmoinnin hienoutta alkeista eteenpäin käytännössä maanantaisin.

Joskus keskikesällä kyllästyin odottelemaan kauan kaivattua kurssia tai
työpajaa modernin ohjelmistotuotannon perustaidoista ja päätin ryhtyä vetämään
moista sitten itse. Ohjelma sopii kaiken tasosille ohjelmoijille ja sisältö
sovitetaan joka maanantai läsnäolevalle yleisölle.

Versiohallinta ja automaattinen testaus eri tasoilla on sen sortin hienouksia,
joiden avulla ohjelmiin voi tehdä muutoksia hallitusti. Testauksen avulla
tiedetään toimiiko se (no, melkein ainakin) ja versiohallinta auttaa löytämään
bugin alkulähteille.

Muutenkin versiohallinta on hieno juttu, projektiryhmän joka koodarilla voi
kaikessa rauhassa olla samat koodit auki omilla koneillaan ja muutokset saadaan
kasattua yhteen yleensä automaattisesti tai ainakin kohtuullisella vaivalla.

Tarkemmin asioista puhuttaessa törmätään tosi nopeesti asioiden erisnimiin.
Versiohallinnan puolesta keskitytään yleisimpään yhdistelmään: Git ja Github.
Näissä työkaluissa on vähän hankalahko kynnys yksin alottaa oppimista, joten
yhteinen oppiminen ja keskinäinen opettaminen on paras tapa päästä alkuun.
Vertaillaan myös eri workfloweja ja puhutaan projektien teknisestä hallinnasta
ja branchien filosofiasta.

Miten sitten testaaminen? Testaaminen jakautuu yksittäisiä ohjelman osia
testaavaan unit testingiin ja kokonaisia ohjelmia ja laajempia kokonaisuuksia
testaavaan integraatio/hyväksyttämis testaukseen. Jälkimmäinen jakaantuu vielä…

Testauksen suhteen nyt keskitytään enimmäkseen unit testaukseen ja sivutaan
aiheena muita testauksen menetelmiä. Unit testaus on ohjelmoijan ikioma nakki
ja apuväline, jolla varmistetaan, että tehdyn muutoksen jälkeenkin
ohjelma toimii ainakin niin hyvin kuin se osataan testata. Nää testit tehään
samalla kielellä kun ohjelmakin.

Tähän liittyen harjotellaan Test Driven Development -prosessia, jossa siis
työtä rytmittää jatkuva testaaminen ja testien kehittäminen samaa tahtia
koodin kanssa. Ihan kaikkeenhan se ei tietenkään sovi, mutta mihin sopii,
sopii sitte sitä paremmin. Joku on luonnehtinu, että tää ois vähän niinku
ohjelmoinnillinen vastine kaksinkertaselle kirjanpidolle.

Laajempia testauksia sivutaan Robot Frameworkilla, jolla voi testata vaikka
nyt sitten oskilloskoopin avulla tuliko ohjelmasta oikean muotoinen ääni, tai
osasko PaaS saada uuden version webisoftasta ajoon tai toimiiko vasta tehty
REST API kunnolla vaiko vaan melkein. Robot on älyttömän laajennettava systeemi,
johon voi kirjotella testejä melkein selväkielisesti ja sitä voi laajentaa
helpoiten Pythonilla.