For noen dager siden nevnte jeg at vi jobbet med å typesette en -novelle med DocBook. I dag ble -utgivelsen annonsert med følgende pressemelding fra Elektronisk -Forpost Norge), som jeg gjengir i sin helhet:
- -- -- -EFN nyutgir Kodémus:
- -Tor à ge Bringsværd-novelle om IT og overvåkning fra -informasjonsteknologiens spedbarndom får nytt liv
- -Elektronisk Forpost Norge (EFN) er veldig glad for anledningen til -å nyutgi Tor à ge Bringsværds novelle Kodémus i digitalt format for nye -(og gamle) generasjoner. Novellen ble skrevet så tidlig som vinteren -1968, og første gang trykt i novellesamlingen Probok på Gyldendal -samme år.
- -Informasjonsteknologi spiller en sentral rolle i Kodémus, og det er -spennende å sammenligne beskrivelsen av IT fra 1968 med dagens IT i -2013. Forskjellene er mange -- men det er jammen likhetene også. Ikke -minst det at idag går jo nesten alle rundt med lillebrødre på seg!
- -"Riktignok er det ikke påbudt å ha mobil," sier Thomas Gramstad, -leder i EFN. "Men vi holder på å lage et samfunn der det blir så -upraktisk eller tungvint å ikke ha det, at man i praksis ikke slipper -unna. Og disse lillebrødrene sladrer hele tiden til staten (og til -mange andre) om hvor vi er, hva vi gjør, hva vi bryr oss om, hva vi -liker..."
- -Det at Kodémus åpenbart er skrevet i en annen tid med en annen type -IT og likevel virker så relevant idag, er i seg selv et hardtslående -tankekors.
- -Tross sitt IT-tema fantes ikke Kodémus i elektronisk form, og -frivillige i EFN har skannet inn, OCR-tolket og korrekturlest -novellen, og deretter kodet den i en rekke digitale formater.
- -Forfatteren har gitt tillatelse til publisering av Kodémus under ny -lisens, og novellen utgis av EFN med en Creative Commons (CC) -fribrukslisens (nærmere bestemt lisensen CC-BY-NC-ND). For leserne -eller brukerne innebærer dette at de får en klar og standardisert -beskjed om hvilke rettigheter de har til å dele novellen videre med -andre. For forfatteren innebærer dette økt synlighet og -tilgjengelighet for verket, slik at det ikke blir glemt, da -søkemotorer og nettlesere inneholder egne søkevalg for CC-lisenser, og -mange brukere søker etter verk som de vet de kan dele og bruke på -lovlig vis.
- -EFN oppfordrer andre forfattere om å gi ut sine gamle tekster med -en fribrukslisens, slik at tekstene ikke blir glemt og for å stimulere -lovlig deling på nettet. EFN kan være behjelpelig med digitalisering -og utlegging på nett, i den grad det finnes kapasitet blant EFNs -medlemmer til dette. Vi mener at nyutgivelser av tekster under frie -lisenser kan øke interessen rundt forfatterskapet, og vil gjerne bidra -til dette.
- -EFN utgir og deler med dette en novelle fra den digitale -informasjonsteknologiens tidligste barndom. En novelle som fortsatt er -full av vitalitet og aktualitet, og som derfor kan bidra til, og gi -ettertanke i dagens debatter om IT, personvern, overvåkning og -individets frihet og integritet.
- -Du finner novellen her: -
- -
http://efn.no/kodemus/i flere forskjellige formater, for ulike plattformer. Per idag -finnes novellen i disse formatene: EPUB, MOBI, XML, HTML, PDF og -txt. Det kan bli flere formater senere, og evt. frivillige -bidragsytere til dette er velkommen.
- -Kontaktperson for denne pressemeldingen,
- -Thomas Gramstad -
- -
thomas@efn.no -
4817 6875
- -EFN arbeider for dine borgerrettigheter i IT-samfunnet, for -nettverks- og delingskultur, personvern og frihet fra overvåkning, -åpne standarder, brukerstyrt programvare, retten til å kopiere, og -styrking av det digitale sivilsamfunnet m.m. -
- -
www.efn.no
Jeg håper flere forfattere ser verdien av å gjøre kulturen -tilgjengelig for flere, og slår følge med Hr. Bringsværd i å gi ut -sine verker med bruksvilkår med færre bruksbegrensinger enn -opphavsretten legger opp til. Selv om jeg gjerne skulle sett at han -hadde brukt en Creative Commons-lisens som tillot avledede verker og -kommersiell bruk.
+ +I am happy to report that I just sent out +this +announcement:
+ ++The Debian Edu Team is pleased to announce the release of Debian Edu +Jessie 8.0+edu0~alpha0 + +Debian Edu is a complete operating system for schools. Through its +various installation profiles you can install servers, workstations +and laptops which will work together on the school network. With +Debian Edu, the teachers themselves or their technical support can +roll out a complete multi-user multi-machine study environment within +hours or a few days. Debian Edu comes with hundreds of applications +pre-installed, but you can always add more packages from Debian. + +For those who want to give Debian Edu Jessie a try, download and +installation instructions are available, including detailed +instructions in the manual[1] explaining the first steps, such as +setting up a network or adding users. Please note that the password +for the user your prompted for during installation must have a length +of at least 5 characters! + + [1] <URL: https://wiki.debian.org/DebianEdu/Documentation/Jessie > + +Would you like to give your school's computer a longer life? Are you +tired of sneaker administration, running from computer to computer +reinstalling the operating system? Would you like to administrate all +the computers in your school using only a couple of hours every week? +Check out Debian Edu Jessie! + +Skolelinux is used by at least two hundred schools all over the world, +mostly in Germany and Norway. + +About Debian Edu and Skolelinux +=============================== + +Debian Edu, also known as Skolelinux[2], is a Linux distribution based +on Debian providing an out-of-the box environment of a completely +configured school network. Immediately after installation a school +server running all services needed for a school network is set up just +waiting for users and machines being added via GOsa², a comfortable +Web-UI. A netbooting environment is prepared using PXE, so after +initial installation of the main server from CD or USB stick all other +machines can be installed via the network. The provided school server +provides LDAP database and Kerberos authentication service, +centralized home directories, DHCP server, web proxy and many other +services. The desktop contains more than 60 educational software +packages[3] and more are available from the Debian archive, and +schools can choose between KDE, Gnome, LXDE, Xfce and MATE desktop +environment. + + [2] <URL: http://www.skolelinux.org/ > + [3] <URL: http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html > + +Full release notes and manual +============================= + +Below the download URLs there is a list of some of the new features +and bugfixes of Debian Edu 8.0+edu0~alpha0 Codename Jessie. The full +list is part of the manual. (See the feature list in the manual[4] for +the English version.) For some languages manual translations are +available, see the manual translation overview[5]. + + [4] <URL: https://wiki.debian.org/DebianEdu/Documentation/Jessie/Features > + [5] <URL: http://maintainer.skolelinux.org/debian-edu-doc/ > + +Where to get it +--------------- + +To download the multiarch netinstall CD release (624 MiB) you can use + + * ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso + * http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso + * rsync -avzP ftp.skolelinux.org::skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso . + +The SHA1SUM of this image is: 361188818e036ce67280a572f757de82ebfeb095 + +New features for Debian Edu 8.0+edu0~alpha0 Codename Jessie released 2014-10-27 +=============================================================================== + + +Installation changes +-------------------- + + * PXE installation now installs firmware automatically for the hardware present. + +Software updates +---------------- + +Everything which is new in Debian Jessie 8.0, eg: + + * Linux kernel 3.16.x + * Desktop environments KDE "Plasma" 4.11.12, GNOME 3.14, Xfce 4.10, + LXDE 0.5.6 and MATE 1.8 (KDE "Plasma" is installed by default; to + choose one of the others see manual.) + * the browsers Iceweasel 31 ESR and Chromium 38 + * !LibreOffice 4.3.3 + * GOsa 2.7.4 + * LTSP 5.5.4 + * CUPS print system 1.7.5 + * new boot framework: systemd + * Educational toolbox GCompris 14.07 + * Music creator Rosegarden 14.02 + * Image editor Gimp 2.8.14 + * Virtual stargazer Stellarium 0.13.0 + * golearn 0.9 + * tuxpaint 0.9.22 + * New version of debian-installer from Debian Jessie. + * Debian Jessie includes about 42000 packages available for + installation. + * More information about Debian Jessie 8.0 is provided in the release + notes[6] and the installation manual[7]. + + [6] <URL: http://www.debian.org/releases/jessie/releasenotes > + [7] <URL: http://www.debian.org/releases/jessie/installmanual > + +Fixed bugs +---------- + + * Inserting incorrect DNS information in Gosa will no longer break + DNS completely, but instead stop DNS updates until the incorrect + information is corrected (Debian bug #710362) + * and many others. + +Documentation and translation updates +------------------------------------- + + * The Debian Edu Jessie Manual is fully translated to German, French, + Italian, Danish and Dutch. Partly translated versions exist for + Norwegian Bokmal and Spanish. + +Other changes +------------- + + * Due to new Squid settings, powering off or rebooting the main + server takes more time. + * To manage printers localhost:631 has to be used, currently www:631 + doesn't work. + +Regressions / known problems +---------------------------- + + * Installing LTSP chroot fails with a bug related to eatmydata about + exim4-config failing to run its postinst (see Debian bug #765694 + and Debian bug #762103). + * Munin collection is not properly configured on clients (Debian bug + #764594). The fix is available in a newer version of munin-node. + * PXE setup for Main Server and Thin Client Server setup does not + work when installing on a machine without direct Internet access. + Will be fixed when Debian bug #766960 is fixed in Jessie. + +See the status page[8] for the complete list. + + [8] <URL: https://wiki.debian.org/DebianEdu/Status/Jessie > + +How to report bugs +------------------ + +<URL: http://wiki.debian.org/DebianEdu/HowTo/ReportBugs > + +About Debian +============ + +The Debian Project was founded in 1993 by Ian Murdock to be a truly +free community project. Since then the project has grown to be one of +the largest and most influential open source projects. Thousands of +volunteers from all over the world work together to create and +maintain Debian software. Available in 70 languages, and supporting a +huge range of computer types, Debian calls itself the universal +operating system. + +Contact Information +For further information, please visit the Debian web pages[9] or send +mail to press@debian.org. + + [9] <URL: http://www.debian.org/ > +
Would you like to help the environment and save money at the same -time, without much sacrifice? A small step could be to change the -font you use when printing.
- -Three years ago, -Ars -Technica reported how the University of Wisconsin-Green Bay -changed their default front from -Arial to -Century -Gothic to save money. The Century Gothic font uses 30% less toner -than Arial to print the same text. In other word, you could cut your -toner costs by 30% (or actually, increase your toner supply life time -by more than 30%, by simply changing the default font used in your -prints.
- -But it is not quite obvious how much one will safe by switching. -The University of Wisconsin-Green Bay said it used $100,000 per year -on ink and toner cartridges, according to -a report from -TwinCities.com, and expected to save between $5,000 and $10,000 -per year by asking staff and students to use a different font. Not -all PDFs and documents are created internally, and those from external -sources will most likely still use a different font. Also, the -Century Gothic font is slightly wider than Arial, and thus might use -more sheets of paper to print the same text, so the total saving -depend on the documents printed.
- -But it is definitely something to consider, if you want to reduce -the amount of trash, decrease the amount of toner used in the world, -and save some money in the process.
+ +I spent last weekend at Makercon +Nordic, a great conference and workshop for makers in Norway and +the surrounding countries. I had volunteered on behalf of the +Norwegian Unix Users Group (NUUG) to video record the talks, and we +had a great and exhausting time recording the entire day, two days in +a row. There were only two of us, Hans-Petter and me, and we used the +regular video equipment for NUUG, with a +dvswitch, a +camera and a VGA to DV convert box, and mixed video and slides +live.
+ +Hans-Petter did the post-processing, consisting of uploading the +around 180 GiB of raw video to Youtube, and the result is +now becoming +public on the MakerConNordic account. The videos have the license +NUUG always use on our recordings, which is +Creative +Commons Navngivelse-Del på samme vilkår 3.0 Norge. Many great +talks available. Check it out! :)
A few days ago, during a discussion in -EFN about interesting books to read -about copyright and the data retention directive, a suggestion to read -the 1968 short story Kodémus by -Tore à ge Bringsværd -came up. The text was only available in old paper books, and thus not -easily available for current and future generations. Some of the -people participating in the discussion contacted the author, and -reported back 2013-03-19 that the author was OK with releasing the -short story using a Creative -Commons license. The text was quickly scanned and OCR-ed, and we -were ready to start on the editing and typesetting.
- -As I already had some experience formatting text in my project to -provide a Norwegian version of the Free Culture book by Lawrence -Lessig, I chipped in and set up a -DocBook processing framework to -generate PDF, HTML and EPUB version of the short story. The tools to -transform DocBook to different formats are already in my Linux -distribution of choice, Debian, so -all I had to do was to use the -dblatex, -dbtoepub -and xmlto tools to do the -conversion. After a few days, we decided to replace dblatex with -xsltproc/fop (aka -docbook-xsl), -to get the copyright information to show up in the PDF and to get a -nicer <variablelist> typesetting, but that is just a minor -technical detail.
- -There were a few challenges, of course. We want to typeset the -short story to look like the original, and that require fairly good -control over the layout. The original short story have three -parts/scenes separated by a single horizontally centred star (*), and -the paragraphs do not contain only flowing text, but dialogs and text -that started on a new line in the middle of the paragraph.
- -I initially solved the first challenge by using a paragraph with a -single star in it, ie <para>*</para>, but it made sure a -placeholder indicated where the scene shifted. This did not look too -good without the centring. The next approach was to create a new -preprocessor directive <?newscene?>, mapping to "<hr/>" -for HTML and "<fo:block text-align="center"><fo:leader -leader-pattern="rule" rule-thickness="0.5pt"/></fo:block>" -for FO/PDF output (did not try to implement this in dblatex, as we had -switched at this time). The HTML XSL file looked like this:
+ +If you ever had to moderate a mailman list, like the ones on +alioth.debian.org, you know the web interface is fairly slow to +operate. First you visit one web page, enter the moderation password +and get a new page shown with a list of all the messages to moderate +and various options for each email address. This take a while for +every list you moderate, and you need to do it regularly to do a good +job as a list moderator. But there is a quick alternative, +the +listadmin program. It allow you to check lists for new messages +to moderate in a fraction of a second. Here is a test run on two +lists I recently took over:
--<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> - <xsl:template match="processing-instruction('newscene')"> - <hr/> - </xsl:template> -</xsl:stylesheet> +% time listadmin xiph +fetching data for pkg-xiph-commits@lists.alioth.debian.org ... nothing in queue +fetching data for pkg-xiph-maint@lists.alioth.debian.org ... nothing in queue + +real 0m1.709s +user 0m0.232s +sys 0m0.012s +%
And the FO/PDF XSL file looked like this:
+In 1.7 seconds I had checked two mailing lists and confirmed that +there are no message in the moderation queue. Every morning I +currently moderate 68 mailman lists, and it normally take around two +minutes. When I took over the two pkg-xiph lists above a few days +ago, there were 400 emails waiting in the moderator queue. It took me +less than 15 minutes to process them all using the listadmin +program.
-+-<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> - <xsl:template match="processing-instruction('newscene')"> - <fo:block text-align="center"> - <fo:leader leader-pattern="rule" rule-thickness="0.5pt"/> - </fo:block> - </xsl:template> -</xsl:stylesheet> -
If you install +the listadmin +package from Debian and create a file ~/.listadmin.ini +with content like this, the moderation task is a breeze:
-Finally, I came across the <bridgehead> tag, which seem to be -a good fit for the task at hand, and I replaced <?newscene?> -with <bridgehead>*</bridgehead>. It isn't centred, but we -can fix it with some XSL rule if the current visual layout isn't -enough.
++username username@example.org +spamlevel 23 +default discard +discard_if_reason "Posting restricted to members only. Remove us from your mail list." -I did not find a good DocBook compliant way to solve the -linebreak/paragraph challenge, so I ended up creating a new processor -directive <?linebreak?>, mapping to <br/> in HTML, and -<fo:block/> in FO/PDF. I suspect there are better ways to do -this, and welcome ideas and patches on github. The HTML XSL file now -look like this:
+password secret +adminurl https://{domain}/mailman/admindb/{list} +mailman-list@lists.example.com ---<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> - <xsl:template match="processing-instruction('linebreak)"> - <br/> - </xsl:template> -</xsl:stylesheet> +password hidden +other-list@otherserver.example.orgAnd the FO/PDF XSL file looked like this:
+There are other options to set as well. Check the manual page to +learn the details.
+ +If you are forced to moderate lists on a mailman installation where +the SSL certificate is self signed or not properly signed by a +generally accepted signing authority, you can set a environment +variable when calling listadmin to disable SSL verification:
--<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' - xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <xsl:template match="processing-instruction('linebreak)"> - <fo:block/> - </xsl:template> -</xsl:stylesheet> +PERL_LWP_SSL_VERIFY_HOSTNAME=0 listadminOne unsolved challenge is our wish to expose different ISBN numbers -per publication format, while keeping all of them in some conditional -structure in the DocBook source. No idea how to do this, so we ended -up listing all the ISBN numbers next to their format in the colophon -page.
- -If you want to check out the finished result, check out the -source repository at -github -(future/new/official -repository). We expect it to be ready and announced in a few -days.
+If you want to moderate a subset of the lists you take care of, you +can provide an argument to the listadmin script like I do in the +initial screen dump (the xiph argument). Using an argument, only +lists matching the argument string will be processed. This make it +quick to accept messages if you notice the moderation request in your +email.
+ +Without the listadmin program, I would never be the moderator of 68 +mailing lists, as I simply do not have time to spend on that if the +process was any slower. The listadmin program have saved me hours of +time I could spend elsewhere over the years. It truly is nice free +software.
+ +As usual, if you use Bitcoin and want to show your support of my +activities, please send Bitcoin donations to my address +15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b.
+ +Update 2014-10-27: Added missing 'username' statement in +configuration example. Also, I've been told that the +PERL_LWP_SSL_VERIFY_HOSTNAME=0 setting do not work for everyone. Not +sure why.
I -siste -høring om -referansekatalogen -for IT-standarder i offentlig sektor, med høringsfrist 2012-09-30 -(DIFI-sak 2012/498), ble det foreslått å fjerne ODF som obligatorisk -standard når en publiserte dokumenter som skulle kunne redigeres -videre av mottaker. NUUG og andre protesterte på forslaget, som er et -langt steg tilbake når det gjelder å sikre like rettigheter for alle -når en kommuniserer med det offentlige. For noen dager siden ble jeg -oppmerksom på at Direktoratet for forvaltning og IKT (DIFI) og -Fornyings-,administrasjons- og kirkedepartementet (FAD) har -konkludert, og oversendt forslag til regjeringen i saken. FADs -dokument -2012/2168-8, -«Utkast til endring av standardiseringsforskriften» datert 2013-02-06 -har følgende triste oppsummering fra høringen i saken:
- --Det kom noen innvendinger på forslaget om å fjerne ODF som -obligatorisk standard for redigerbare dokumenter. Innvendingene har -ikke blitt ilagt avgjørende vekt. -- -
Ved å fjerne ODF som obligatorisk format ved publisering av -redigerbare dokumenter setter en Norge tiår tilbake. Det som vil skje -er at offentlige etater går tilbake til kun å publisere dokumenter på -et av de mange formatene til Microsoft Office, og alle som ikke -aksepterer bruksvilkårene til Microsoft eller ikke har råd til å bruke -penger på å få tilgang til Microsoft Office må igjen basere seg på -verktøy fra utviklerne som er avhengig av å reversutvikle disse -formatene. I og med at ISO-spesifikasjonen for OOXML ikke komplett og -korrekt spesifiserer formatene til MS Office (men er nyttige å titte i -når en reversutvikler), er en tilbake til en situasjon der en ikke har -en -fri og åpen standard å forholde seg til, men i stedet må springe -etter Microsoft. Alle andre leverandører enn Microsoft vil dermed ha -en seriøs ulempe. Det er som å fjerne krav om bruk av meter som -måleenhet, og heretter aksepterer alle måleenheter som like gyldige, -når en vet at den mest brukte enheten vil være armlengden til Steve -Ballmer slik Microsoft måler den.
- -Jeg er ikke sikker på om forslaget er vedtatt av regjeringen ennå. -Kristian Bergem hos DIFI nevnte på et møte forrige tirsdag at han -trodde det var vedtatt i statsråd 8. mars, men jeg har ikke klart å -finne en skriftlig kilde på regjeringen.no som bekrefter dette. -Kanskje det ennå ikke er for sent...
- -Jeg ba i forrige uke om innsyn i dokument 6, 7 og 8 i FAD-saken, og -har i dag fått innsyn i dokument 7 og 8. Ble nektet innsyn i -dokumentet med tittelen «Oppsummering av høring om endringer i -forskrift om IT-standarder i offentlig forvaltning» med hjemmel i -off. lovens §15.1, så det er vanskelig å vite hvordan argumentene fra -høringen ble mottatt og forstått av saksbehandleren hos DIFI. Lurer -på hvordan jeg kan klage på at jeg ikke fikk se oppsummeringen. Fikk -tre PDFer tilsendt fra FAD, -Endring av underversjon i EHF, -Bakgrunnsnotat knyttet til versjon av EHF standarden i Forskrift om IT-standarder i offentlig sektor og -Utkast til endring av standardiseringsforskriften, hvis du vil ta en titt.
+ +When PXE installing laptops with Debian, I often run into the +problem that the WiFi card require some firmware to work properly. +And it has been a pain to fix this using preseeding in Debian. +Normally something more is needed. But thanks to +my isenkram +package and its recent tasksel extension, it has now become easy +to do this using simple preseeding.
+ +The isenkram-cli package provide tasksel tasks which will install +firmware for the hardware found in the machine (actually, requested by +the kernel modules for the hardware). (It can also install user space +programs supporting the hardware detected, but that is not the focus +of this story.)
+ +To get this working in the default installation, two preeseding +values are needed. First, the isenkram-cli package must be installed +into the target chroot (aka the hard drive) before tasksel is executed +in the pkgsel step of the debian-installer system. This is done by +preseeding the base-installer/includes debconf value to include the +isenkram-cli package. The package name is next passed to debootstrap +for installation. With the isenkram-cli package in place, tasksel +will automatically use the isenkram tasks to detect hardware specific +packages for the machine being installed and install them, because +isenkram-cli contain tasksel tasks.
+ +Second, one need to enable the non-free APT repository, because +most firmware unfortunately is non-free. This is done by preseeding +the apt-mirror-setup step. This is unfortunate, but for a lot of +hardware it is the only option in Debian.
+ +The end result is two lines needed in your preseeding file to get +firmware installed automatically by the installer:
+ ++ ++base-installer base-installer/includes string isenkram-cli +apt-mirror-setup apt-setup/non-free boolean true +
The current version of isenkram-cli in testing/jessie will install +both firmware and user space packages when using this method. It also +do not work well, so use version 0.15 or later. Installing both +firmware and user space packages might give you a bit more than you +want, so I decided to split the tasksel task in two, one for firmware +and one for user space programs. The firmware task is enabled by +default, while the one for user space programs is not. This split is +implemented in the package currently in unstable.
+ +If you decide to give this a go, please let me know (via email) how +this recipe work for you. :)
+ +So, I bet you are wondering, how can this work. First and +foremost, it work because tasksel is modular, and driven by whatever +files it find in /usr/lib/tasksel/ and /usr/share/tasksel/. So the +isenkram-cli package place two files for tasksel to find. First there +is the task description file (/usr/share/tasksel/descs/isenkram.desc):
+ ++ ++Task: isenkram-packages +Section: hardware +Description: Hardware specific packages (autodetected by isenkram) + Based on the detected hardware various hardware specific packages are + proposed. +Test-new-install: show show +Relevance: 8 +Packages: for-current-hardware + +Task: isenkram-firmware +Section: hardware +Description: Hardware specific firmware packages (autodetected by isenkram) + Based on the detected hardware various hardware specific firmware + packages are proposed. +Test-new-install: mark show +Relevance: 8 +Packages: for-current-hardware-firmware +
The key parts are Test-new-install which indicate how the task +should be handled and the Packages line referencing to a script in +/usr/lib/tasksel/packages/. The scripts use other scripts to get a +list of packages to install. The for-current-hardware-firmware script +look like this to list relevant firmware for the machine: + +
+ ++#!/bin/sh +# +PATH=/usr/sbin:$PATH +export PATH +isenkram-autoinstall-firmware -l +
With those two pieces in place, the firmware is installed by +tasksel during the normal d-i run. :)
+ +If you want to test what tasksel will install when isenkram-cli is +installed, run DEBIAN_PRIORITY=critical tasksel --test +--new-install to get the list of packages that tasksel would +install.
+ +Debian Edu will be +pilots in testing this feature, as isenkram is used there now to +install firmware, replacing the earlier scripts.
Via -twitter -I just discovered that Pcwizz have -done a video -review on Youtube of Skolelinux -/ Debian Edu version 6. He installed the standalone profile and -the video show a walk-through of of the menu content, demonstration of -a few programs and his view of our distribution.
- -There is also some really nice quotes (transcribed by me, might -have heard wrong). While looking thought the Graphics menu:
- --"Basically everything you ever need in a school environment." -- -
And as a general evaluation of the entire distribution:
- --"So, yeah, a bit bloated. It kept all the Debian stuff in there, just -to keep it nice and GNU. So, I do not want to go on about it, but -lets give it 7 out of 10. I am not going to use it. That is because -I am not deploying a school network. There may be some mythical -feature to help you deploy Skolelinux on a school network." -- -
To bad he did not test the server profile, and discovered the PXE -installation option. It make it possible to install only the main -server from CD, and the rest of the machines via the net, and might be -considered the mythical feature he talk about. :)
- -While looking through the menus, there is also this funny comment -about the part of the K menu generated from the Debian menu subsystem: - -
-"[The K menu] have a special Debian section for software that no-one -is going to look at, because it contain lots of junky stuff that you -actually don't need in the education distribution, but have just been -included because it isn't stripped out for some reason." -- -
I guess it is yet another argument for merging the Debian menu and -Gnome/KDE desktop menu entries into -one -consistent menu system instead of two incomplete and partly -inconsistent menu systems.
- -The entire video is available below for those accepting iframe -embedding:
- - + +Today I came across an unexpected Ubuntu boot screen. Above the +bread shelf on the ICA shop at Storo in Oslo, the grub menu of Ubuntu +with Linux kernel 3.2.0-23 (ie probably version 12.04 LTS) was stuck +on a screen normally showing the bread types and prizes:
+ +If it had booted as it was supposed to, I would never had known +about this hidden Linux installation. It is interesting what +errors can reveal.
Min venn Erik Vold har på vegne av styret i -Frikanalen sendt ut -følgende -epost til alle kanalens medlemmer og støttespillere, i et forsøk -på å redde kanalen etter at kulturdepartementet kuttet all -finansiering i fjor høst. Jeg fikk meldingen som -NUUG-styremedlem, og mener den -trenger et større publikum. Jeg gjengir den derfor i sin helhet, -inkludert lenken til budsjett og regnskapsutkast, etter -avtale -med Erik.
- --- -Til Frikanalens støttespillere
- -Frivillighetens TV kanal har med minimal støtte avviklet daglige -sendinger siden 2009 og til tross for at statsstøtten uteble i år, er -vi nå i full gang med å utvikle et nytt TV system som foreningen selv -vil eie. Departementet fikk dessverre ikke med seg at nettet vil -berike TV sendingen fremfor å gjøre den overflødig. De har nå overlatt -finansieringen av videre drift til frivilligheten og vi håper derfor -på deres hjelp til å søke om midler. På kjøpet får dere langt flere -muligheter til å nå ut med deres budskap og med utbyggingen av Hybrid -TV (nett på TV) kan vi sammen motbevise departementets påstand.
- -Kostnaden med denne utviklingen er svært lav ettersom de fleste -programmererne jobber gratis og alt er basert på åpen kildekode der -man deler hverandres bidrag til kringkastingsorienterte systemer. I -samarbeid med flere europeiske kanaler i EBU (SVT, BBC, NRK, ZDF, ARD, -France Televisions etc) ønsker vi å bygge opp et nettverk for delt -support og åpen kildekode der Frikanalen er den eneste sandkassen hvor -ny teknologi kan testes på luft. Riks TV åpner for annonsering av -nettinnhold relatert til det du ser på TV (streamevents i HbbTV) -allerede i sommer. Med støtte fra Media Netwerk som drifter Frikanalen -samt Sofia Digital som stiller med Hybrid TV server er vi & NRK sikret -en sentral rolle i utprøvingen. Det vil da bli mulig og streame -direkte til Riks TV sine nye mottakere (og nye IDTV'er) i HD samt at -TV'n kan annonsere en link til deres organisasjonssider, med -oppdaterte nyheter (RSS feeds), relaterte videoer etc., under -avviklingen av deres innslag.
- -Vi tror sendingene på den nye nettstyrte TV-kanalen vil bli rikere enn -på den kommersielle plattformen vi har vært på så langt. Brukerne vil -nå få en tettere integrasjon med sosiale medier samt at innholdet -etterhvert kommer ut på Hybrid TV og mobile enheter. Teknisk ansvarlig -i Frikanalen, Erik Vold, er sentral i utviklingen av streamingdelen -for tv.nrk.no (årets produkt i PC World) og erfaringen NRK har gjort -på mobile enheter kan videreføres til oss. Det er heller ingen tvil om -at Hybrid TV vil bli en suksess også i Norge. Erik sitter i Nordig som -har vedtatt en felles standard for de nordiske kringkasterne basert på -HbbTV. Denne standarden bruker web-protokoller som gjør det like -enkelt og billig å utvikle tjenester for Hybrid TV som å lage en -nettside. Samtlige nye TV apparater solgt i Norden vil ha støtte for -HbbTV og med det tror vi oppslutningen vil bli like stor som ellers i -Europa (Tyskland og Frankrike tredoblet antall HbbTV-brukere i -fjor). Vi forventer også mye d rahjelp fra disse foregangslandene. Vår -utvikler Tore Sinding Bekkedal er i skriv ende stund på en HbbTV -workshop med EBU-medlemmer hos IRT i München der han på vegne av NRK -tester og utvikler ny stremingteknologi (MPEG- DASH) for -mobile enheter og hybrid TV.
- -Frikanalen har forøvrig flyttet inn i nye kostnadsfrie lokaler på -Chateau Neuf. Med massiv hjelp fra frivillige får vi der en -flerkameraregi i egnede lokaler. Dette åpner for debatter, konserter, -events og mye spennende innhold i samarbeid med Student TV'ene.
- -Med hjelp fra NUUG har også streamingdelen av systemet fått plass på -Uninett (Forskningsparken) og dermed er vi på Norges beste -internettlinjer. Vi åpner med dette for live mottak fra samtlige -medlemmer og på sikt kan vi tilby HD på hybrid TV og PC / MAC / mobil.
- -Avvikling på luft skjer allerede med egenutviklede løsninger i åpen -kildekode (playout og live-koding). Det er også mulig å se første -byggetrinn med programoversikt og videoer på nett, men foreløpig kun -for nettleserne Opera, Chrome og Firefox: -http://beta.frikanalen.tv/guide/ -og -http://beta.frikanalen.tv/video/. Kom -gjerne med ønsker og tilbakemeldinger til vår hovedutvikler Benjamin -Bruheim: grolgh (at) gmail.com
- -Med en tettere tilknytning til Akademia og NRK, er det god grunn til å -tro at utviklingen vil skyte fart og at vi raskere kommer ut med -dagsaktuelt innhold.
- -Vi sender i dag på Riks TV og Altibox, men ikke lenger på TV8. Det er -viktig for våre brukere igjen å komme ut på Get og Canal Digital, -dermed er det svært heldig at vi nå har formidlingsplikt på kabel. Til -tross for at det tar noe tid å få nye avtaler på plass, med frivillig -juridisk bistand, vil vi sannsynligvis komme bedre ut i andre enden -også her. Formidlingsplikten gjelder samtlige kabeldistribusjoner i -Norge, ikke bare de regionene TV8 hadde avtale med.
- -Om alt dette skal se dagens lys er vi avhengig av en -grunnfinansiering. Deres medlemsavgifter er i så måte et svært viktig -bidrag som vi er veldig takknemlige for. Vi ser oss likevel nødt til -å be dere om å delta i arbeidet med å dekke de resterende -driftskostnader. Frikanalen sin arbeidskapasitet er betydelig redusert -etter at foreningen ikke lenger kunne finansiere en daglig leder, men -allmøtet kan åpne for at flere bidrar til inntjening (Ekstraordinær -generalforsamling foreslo å tillate sponsorplakater på sendeflaten og -deler av disse inntektene kan tilfalle kanalen). Håper alle -medlemmene kan hjelpe oss med å skrive søknader og skaffe sponsorer, -eller i det minste komme med gode forslag til inntjening. Det er ikke -mye som skal til for å klare videre drift, kun 0,5 mill. pr år.
- -Med en støtte som tilsvarer en norsk kortfilm vil vi kunne redde -sendearkivet for flere tusen videoer bygget opp av frivilligheten -gjennom 5 år og vi dobler kapasiteten for å ta imot nye (De som -leverer HD vil for øvrig kunne få HD på nett, mobil og hybrid TV).
- -Vi vil også kunne videreføre konsesjonen på Riks TV og realisere en -formidlingsplikt på kabel som har en årlig verdi på ca. 5 millioner -kroner (når over 2/3 av Norges befolkning).
- -Uten støtte står verdens eneste nasjonale nettstyrte åpne TV kanal i -fare for å forsvinne. En konkursbegjæring vil gjøre at utstyrsparken -går til advokatsalærer i behandling av boet og kreditorene vil ikke -kunne få dekket sine krav. Det mener vi ikke bare er urett ovenfor -långiverne, men det er urett mot alle de som har bidratt med å bygge -opp frivillighetens eneste sendearkiv og ikke minst alle de som i dag -jobber frivillig med å videreutvikle TV-systemet.
- -Håper dere i likhet med styret ser verdien i videre drift og kan melde -tilbake innen årsmøtet (Kontaktinformasjon til styret og frivillige -utviklere er i kopifeltet).
- -Vennligst fyll ut det blå feltet i regnearket under med det dere tror -er mulig å få inn. Det dere skriver her er ikke bindende, men gir -styret en indikasjon på om videre drift er mulig. Det blir tatt -stilling til av generalforsamlingen medio mars. Setter derfor pris på -om alle kan bidra med forslag til støtte eller antatte verdier fra -søknad/spons innen det.
- -Forhåpentligvis når vi også ønsket budsjett på 1 mill. pr år. Med det -kan vi nedbetale gjelden raskere og sørge for en bedre -tilgjengelighet, samt raskere utvikling:
- - - -Med vennlig hilsen -
-
Styret i Frikanalen
Jeg håper noen av mine lesere med dette ser verdien av Frikanalen -og melder seg inn for å sende sine videoer ut på TV til RiksTV og -Altibox-seerne. Det haster. à rsmøtet i foreningen Frikanalen skal -straks avholdes, og innen den tid må en redningsplan være på plass. -NUUG bidrar allerede litt ved å organisere utviklersamlinger og -finansiere litt mat og drikke til de frivillige som stiller opp på -dugnadsbasis for å utvikle den tekniske løsningen. Det er ikke nok -til å redde kanalen, men gir et lite steg i riktig retning.
- -Update 2013-03-13 13:00: Epostlistelenkene -fungerer ikke lenger, da epostarkivet nå ikke lenger er tilgjengelig -for ikke-abonnenter. Korrigerte teksten fra styret litt etter -oppfordring fra Frikanalen-styret.
+ +The lsdvd project +got a new set of developers a few weeks ago, after the original +developer decided to step down and pass the project to fresh blood. +This project is now maintained by Petter Reinholdtsen and Steve +Dibb.
+ +I just wrapped up +a +new lsdvd release, available in git or from +the +download page. This is the changelog dated 2014-10-03 for version +0.17.
+ +-
+
+
- Ignore 'phantom' audio, subtitle tracks +
- Check for garbage in the program chains, which indicate that a track is + non-existant, to work around additional copy protection +
- Fix displaying content type for audio tracks, subtitles +
- Fix pallete display of first entry +
- Fix include orders +
- Ignore read errors in titles that would not be displayed anyway +
- Fix the chapter count +
- Make sure the array size and the array limit used when initialising + the palette size is the same. +
- Fix array printing. +
- Correct subsecond calculations. +
- Add sector information to the output format. +
- Clean up code to be closer to ANSI C and compile without warnings + with more GCC compiler warnings. + +
This change bring together patches for lsdvd in use in various +Linux and Unix distributions, as well as patches submitted to the +project the last nine years. Please check it out. :)
Om noen år skal mine barn antagelig begynne på skolen i Oslo. Der -skal de blant annet lære seg å verdsette og håndheve sine egne grenser -og beskytte sin personlige integritet og privatsfære. Det blir ikke -enkelt når ledelsen i Osloskolen med vitende og vilje legger opp til å -krenke elevenes privatsfære ved å la politiet ransake elevene med -narkohund i klasserommet. Jon Wessel-Aas har publisert noen -interessante kommentarer om hvorfor dette er ulovlig. - -
-
-
-
- Bruk av narkohund i - klasserom â fra vondt til verre (2013-03-09) + +
- Ulovlig og - menneskerettsstridig bruk av narkohund i klasserom - (2012-03-12) +
- sitesummary was updated from 0.1.3 to 0.1.8
-
-
-
- Make Nagios configuration more robust and efficient -
- Comply with 3.X kernel -
- - debian-edu-doc from 1.4~20120310~6.0.4+r0 to 1.4~20130228~6.0.7+r1
-
-
-
- Minor updates from the wiki -
- Danish translation now complete -
- - debian-edu-config from 1.453 to 1.455
-
-
-
- Fix /etc/hosts for LTSP diskless workstations. Closes: #699880 -
- Make ltsp_local_mount script work for multiple devices. -
- Correct Kerberos user policy: don't expire password after 2 days. - Closes: #664596 -
- Handle '#' characters in the root or first users password. - Closes: #664976 -
- Fixes for gosa-sync:
-
-
-
- Don't fail if password contains " -
- Don't disclose new password string in syslog -
- - Fixes for gosa-create:
-
-
-
- Invalidate libnss cache before applying changes -
- Multiple failures during mass user import into GOsa² -
- gosa-netgroups plugin: don't erase entries of attribute type - "memberNisNetgroup". Closes: #687256 -
- First user now uses the same Kerberos policy as all other users -
- - Add Danish web page -
- debian-edu-install from 1.528 to 1.530
-
-
-
- Improve preseeding support and documentation -
- - 2014
+
-
+
+
- January (2) + +
- February (3) + +
- March (8) + +
- April (7) + +
- May (1) + +
- June (2) + +
- July (2) + +
- August (2) + +
- September (5) + +
- October (6) + +
+
- 2013
-
@@ -866,6 +1174,24 @@ page for the location details.
- March (9) +
- April (6) + +
- May (9) + +
- June (10) + +
- July (7) + +
- August (3) + +
- September (5) + +
- October (7) + +
- November (9) + +
- December (3) +
- 2012 @@ -1008,65 +1334,77 @@ page for the location details.
- bankid (4) -
- bitcoin (6) +
- bitcoin (8) -
- bootsystem (12) +
- bootsystem (14)
- bsa (2) -
- debian (70) +
- chrpath (2) + +
- debian (107) -
- debian edu (121) +
- debian edu (151)
- digistan (10) -
- docbook (9) +
- dld (15) + +
- docbook (12)
- drivstoffpriser (4) -
- english (185) +
- english (261)
- fiksgatami (21)
- fildeling (12) -
- freeculture (11) +
- freeculture (13) + +
- freedombox (8)
- frikanalen (11) -
- intervju (33) +
- intervju (41) + +
- isenkram (10) -
- isenkram (5) +
- kart (19) -
- kart (18) +
- ldap (9) -
- ldap (8) +
- lenker (8) -
- lenker (6) +
- lsdvd (2)
- ltsp (1) -
- multimedia (25) +
- mesh network (8) -
- norsk (227) +
- multimedia (31) -
- nuug (151) +
- norsk (248) -
- offentlig innsyn (7) +
- nuug (163) + +
- offentlig innsyn (11)
- open311 (2) -
- opphavsrett (44) +
- opphavsrett (48) -
- personvern (65) +
- personvern (75)
- raid (1) +
- reactos (1) +
- reprap (11) -
- rfid (2) +
- rfid (3) -
- robot (6) +
- robot (9)
- rss (1) @@ -1074,29 +1412,29 @@ page for the location details.
- scraperwiki (2) -
- sikkerhet (29) +
- sikkerhet (41)
- sitesummary (4)
- skepsis (4) -
- standard (41) +
- standard (45)
- stavekontroll (3) -
- stortinget (6) +
- stortinget (9) -
- surveillance (15) +
- surveillance (26) -
- sysadmin (1) +
- sysadmin (2) -
- valg (7) +
- valg (8) -
- video (38) +
- video (44)
- vitenskap (4) -
- web (26) +
- web (33)
The Debian Edu / Skolelinux +project provide a Linux solution for schools, including a +powerful desktop with education software, a central server providing +web pages, user database, user home directories, central login and PXE +boot of both clients without disk and the installation to install Debian +Edu on machines with disk (and a few other services perhaps to small +to mention here). We in the Debian Edu team are currently working on +the Jessie based version, trying to get everything in shape before the +freeze, to avoid having to maintain our own package repository in the +future. The +current +status can be seen on the Debian wiki, and there is still heaps of +work left. Some fatal problems block testing, breaking the installer, +but it is possible to work around these to get anyway. Here is a +recipe on how to get the installation limping along.
+ +First, download the test ISO via +ftp, +http +or rsync (use +ftp.skolelinux.org::cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso). +The ISO build was broken on Tuesday, so we do not get a new ISO every +12 hours or so, but thankfully the ISO we already got we are able to +install with some tweaking.
+ +When you get to the Debian Edu profile question, go to tty2 +(use Alt-Ctrl-F2), run
-- ++nano /usr/bin/edu-eatmydata-install +
and add 'exit 0' as the second line, disabling the eatmydata +optimization. Return to the installation, select the profile you want +and continue. Without this change, exim4-config will fail to install +due to a known bug in eatmydata.
+ +When you get the grub question at the end, answer /dev/sda (or if +this do not work, figure out what your correct value would be. All my +test machines need /dev/sda, so I have no advice if it do not fit +your need.
+ +If you installed a profile including a graphical desktop, log in as +root after the initial boot from hard drive, and install the +education-desktop-XXX metapackage. XXX can be kde, gnome, lxde, xfce +or mate. If you want several desktop options, install more than one +metapackage. Once this is done, reboot and you should have a working +graphical login screen. This workaround should no longer be needed +once the education-tasks package version 1.801 enter testing in two +days.
-Jeg er veldig glad for at han bidrar med argumenter og forklaringer -vi foreldre kan ta med oss når vi skal protestere på og få en slutt på -denne forkastelige praksisen. Narkotikaproblemet må adresseres på -andre måter som ikke krenker barn og ungdoms integritet. Jeg ønsker -ikke at mine barn skal læres opp til å akseptere radering av -privatlivets fred, men heller at de skal læres opp til å sloss imot -den innføringen av stadig mer totalitær overvåkning som har pågått -over mange år i Norge.
+I believe the ISO build will start working on two days when the new +tasksel package enter testing and Steve McIntyre get a chance to +update the debian-cd git repository. The eatmydata, grub and desktop +issues are already fixed in unstable and testing, and should show up +on the ISO as soon as the ISO build start working again. Well the +eatmydata optimization is really just disabled. The proper fix +require an upload by the eatmydata maintainer applying the patch +provided in bug #702711. +The rest have proper fixes in unstable.
+ +I hope this get you going with the installation testing, as we are +quickly running out of time trying to get our Jessie based +installation ready before the distribution freeze in a month.
Last Sunday, 2013-03-03,, Holger Levsen announced the first update -of Skolelinux / Debian Edu -based on Debian Squeeze. This is the first update since -the -initial release 2012-03-11. This is the -release -announcement email from Holger:
- -- -Hi,
- -it's my pleasure to announce the immediate availability of Debian -Edu 6.0.7+r1 ("Debian Edu Squeeze").
- -Debian Edu 6.0.7+r1 is an incremental update to Debian Edu -6.0.4+r0, containing all the changes between Debian 6.0.4 and 6.0.7 as -well Debian Edu specific bugfixes and enhancements. See below (in this -mail) for the full list of (edu) changes. Please see -http://www.debian.org/News/2012/20120311 -for more information on "Debian Edu Squeeze".
- -Images are available for download at -http://ftp.skolelinux.org/skolelinux-cd/
- -md5sums: -
- -
1fe79eb4f0f9ae1c58fc318e26cc1e2e debian-edu-6.0.7+r1-CD.iso -
a6ddd924a8bd9a1b5ca122e8fe1c34ec debian-edu-6.0.7+r1-DVD.iso -
ac6c72cd7925ccec51bfbf58e2a7c69c debian-edu-6.0.7+r1-source-DVD.isosha1sums: -
- -
a4b58233b672a99c7df8dc24fb6de3327654a5c3 debian-edu-6.0.7+r1-CD.iso -
9b524915e0ff2aa793f13d93123e5bd2bab2dbaa debian-edu-6.0.7+r1-DVD.iso -
43997614893fc5e9e59ad6ce066b05d07fd836fa debian-edu-6.0.7+r1-source-DVD.isoThese images are suitable for amd64+i386.
- -Changes for Debian Edu 6.0.7+r1 Codename "Squeeze", released -2013-03-03:
- --
- -End-user documentation in English is available at -http://wiki.debian.org/DebianEdu/Documentation/Squeeze/ -- translations to French, Italian, Danish and German are available in -the debian-edu-doc package. (Other languages could use your help!)
- -If you want to contribute to Debian Edu, please join our -mailinglist -debian-edu@lists.debian.org! -
I am very happy to see the fruits of a year of hard work. :)
+ +I use the lsdvd tool +to handle my fairly large DVD collection. It is a nice command line +tool to get details about a DVD, like title, tracks, track length, +etc, in XML, Perl or human readable format. But lsdvd have not seen +any new development since 2006 and had a few irritating bugs affecting +its use with some DVDs. Upstream seemed to be dead, and in January I +sent a small probe asking for a version control repository for the +project, without any reply. But I use it regularly and would like to +get an updated version +into Debian. So two weeks ago I tried harder to get in touch with +the project admin, and after getting a reply from him explaining that +he was no longer interested in the project, I asked if I could take +over. And yesterday, I became project admin.
+ +I've been in touch with a Gentoo developer and the Debian +maintainer interested in joining forces to maintain the upstream +project, and I hope we can get a new release out fairly quickly, +collecting the patches spread around on the internet into on place. +I've added the relevant Debian patches to the freshly created git +repository, and expect the Gentoo patches to make it too. If you got +a DVD collection and care about command line tools, check out +the git source and join +the project mailing +list. :)
Do you want to set up your own TV station, schedule videos and -broadcast them on the air? Using free software? With video on demand -support using -free and -open standards? Included a web based video stream as well? And -administrate it all in your web browser from anywhere in the world? A -few years now the Norwegian public access TV-channel -Frikanalen have been building a -system to do just this. The source code for the solution is licensed -using the GNU LGPL, and -available from github.
- -The idea is simple. You upload a video file over the web, and -attach meta information to the file. You select a time slot in the -program schedule, and when the time come it is played on the air and -in the web stream. It is also made available in a video on demand -solution for anyone to see it also outside its scheduled time. All -you need to run a TV station - using your web browser.
- -There are several parts to this web based solution. I'll mention -the three most important ones. The first part is the database of -videos and the schedule. This is written in Django and include a REST -API. The current database is SQLite, but the plan is to migrate it to -PostgreSQL. At the moment this system can be tested on -beta.frikanalen.tv. The -second part is the video playout, taking the schedule information from -the database and providing a video stream to broadcast. This is done -using CasparCG from SVT and -Media Lovin' Toolkit. Video -signal distribution is handled using -Open Broadcast Encoder. The -third part is the converter, handling the transformation of uploaded -video files to a format useful for broadcasting, streaming and video -on demand. It is still very much work in progress, so it is not yet -decided what it will end up using. Note that the source of the latter -two parts are not yet pushed to github. The lead author want to clean -them up a bit more first.
- -The development is coordinated on the -#frikanalen IRC -channel (irc.freenode.net), and discussed on -the -frikanalen mailing list. The lead developer is Benjamin Bruheim -(phed on IRC). Anyone is welcome to participate in the -development.
+ +Rundt omkring i Oslo og ÃstlandsomrÃ¥det henger det bokser over +veiene som jeg har lurt pÃ¥ hva gjør. De har ut fra plassering og +vinkling sett ut som bokser som sniffer ut et eller annet fra +forbipasserende trafikk, men det har vært uklart for meg hva det er de +leser av. Her om dagen tok jeg bilde av en slik boks som henger under +ei +skibru pÃ¥ Sollihøgda:
+ +Boksen er tydelig merket «Kapsch >>>», logoen til +det sveitsiske selskapet Kapsch som +blant annet lager sensorsystemer for veitrafikk. Men de lager mye +forskjellig, og jeg kjente ikke igjen boksen på utseendet etter en +kjapp titt på produktlista til selskapet.
+ +I og med at boksen henger over veien E16, en riksvei vedlikeholdt +av Statens Vegvesen, så antok jeg at det burde være mulig å bruke +REST-API-et som gir tilgang til vegvesenets database over veier, +skilter og annet veirelatert til å finne ut hva i alle dager dette +kunne være. De har både +en +datakatalog og +et +søk, der en kan søke etter ulike typer oppføringer innen for et +gitt geografisk område. Jeg laget et enkelt shell-script for å hente +ut antall av en gitt type innenfor området skibrua dekker, og listet +opp navnet på typene som ble funnet. Orket ikke slå opp hvordan +URL-koding av aktuelle strenger kunne gjøres mer generisk, og brukte +en stygg sed-linje i stedet.
+ ++ +Aktuelt ID-område 1-874 var riktig i datakatalogen da jeg laget +scriptet. Det vil endre seg over tid. Skriptet listet så opp +aktuelle typer i og rundt skibrua: + ++#!/bin/sh +urlmap() { + sed \ + -e 's/ / /g' -e 's/{/%7B/g' \ + -e 's/}/%7D/g' -e 's/\[/%5B/g' \ + -e 's/\]/%5D/g' -e 's/ /%20/g' \ + -e 's/,/%2C/g' -e 's/\"/%22/g' \ + -e 's/:/%3A/g' +} + +lookup() { + url="$1" + curl -s -H 'Accept: application/vnd.vegvesen.nvdb-v1+xml' \ + "https://www.vegvesen.no/nvdb/api$url" | xmllint --format - +} + +for id in $(seq 1 874) ; do + search="{ + lokasjon: { + bbox: \"10.34425,59.96386,10.34458,59.96409\", + srid: \"WGS84\" + }, + objektTyper: [{ + id: $id, antall: 10 + }] +}" + + query=/sok?kriterie=$(echo $search | urlmap) + if lookup "$query" | + grep -q '<totaltAntallReturnert>0<' + then + : + else + echo $id + lookup "/datakatalog/objekttyper/$id" |grep '^ <navn>' + fi +done + +exit 0 +
+ ++5 + <navn>Rekkverk</navn> +14 + <navn>Rekkverksende</navn> +47 + <navn>Trafikklomme</navn> +49 + <navn>Trafikkøy</navn> +60 + <navn>Bru</navn> +79 + <navn>Stikkrenne/Kulvert</navn> +80 + <navn>Grøft, åpen</navn> +86 + <navn>Belysningsstrekning</navn> +95 + <navn>Skiltpunkt</navn> +96 + <navn>Skiltplate</navn> +98 + <navn>Referansestolpe</navn> +99 + <navn>Vegoppmerking, langsgående</navn> +105 + <navn>Fartsgrense</navn> +106 + <navn>Vinterdriftsstrategi</navn> +172 + <navn>Trafikkdeler</navn> +241 + <navn>Vegdekke</navn> +293 + <navn>Breddemåling</navn> +301 + <navn>Kantklippareal</navn> +318 + <navn>Snø-/isrydding</navn> +445 + <navn>Skred</navn> +446 + <navn>Dokumentasjon</navn> +452 + <navn>Undergang</navn> +528 + <navn>Tverrprofil</navn> +532 + <navn>Vegreferanse</navn> +534 + <navn>Region</navn> +535 + <navn>Fylke</navn> +536 + <navn>Kommune</navn> +538 + <navn>Gate</navn> +539 + <navn>Transportlenke</navn> +540 + <navn>Trafikkmengde</navn> +570 + <navn>Trafikkulykke</navn> +571 + <navn>Ulykkesinvolvert enhet</navn> +572 + <navn>Ulykkesinvolvert person</navn> +579 + <navn>Politidistrikt</navn> +583 + <navn>Vegbredde</navn> +591 + <navn>Høydebegrensning</navn> +592 + <navn>Nedbøyningsmåling</navn> +597 + <navn>Støy-luft, Strekningsdata</navn> +601 + <navn>Oppgravingsdata</navn> +602 + <navn>Oppgravingslag</navn> +603 + <navn>PMS-parsell</navn> +604 + <navn>Vegnormalstrekning</navn> +605 + <navn>Værrelatert strekning</navn> +616 + <navn>Feltstrekning</navn> +617 + <navn>Adressepunkt</navn> +626 + <navn>Friksjonsmåleserie</navn> +629 + <navn>Vegdekke, flatelapping</navn> +639 + <navn>Kurvatur, horisontalelement</navn> +640 + <navn>Kurvatur, vertikalelement</navn> +642 + <navn>Kurvatur, vertikalpunkt</navn> +643 + <navn>Statistikk, trafikkmengde</navn> +647 + <navn>Statistikk, vegbredde</navn> +774 + <navn>Nedbøyningsmåleserie</navn> +775 + <navn>ATK, influensstrekning</navn> +794 + <navn>Systemobjekt</navn> +810 + <navn>Vinterdriftsklasse</navn> +821 + <navn>Funksjonell vegklasse</navn> +825 + <navn>Kurvatur, stigning</navn> +838 + <navn>Vegbredde, beregnet</navn> +862 + <navn>Reisetidsregistreringspunkt</navn> +871 + <navn>Bruksklasse</navn> +
Av disse ser ID 775 og 862 mest relevant ut. ID 775 antar jeg +refererer til fotoboksen som stÃ¥r like ved brua, mens +«Reisetidsregistreringspunkt» kanskje kan være boksen som henger der. +Hvordan finner jeg sÃ¥ ut hva dette kan være for noe. En titt pÃ¥ +datakatalogsiden +for ID 862/Reisetidsregistreringspunkt viser at det er finnes 53 +slike mÃ¥lere i Norge, og hvor de er plassert, men gir ellers fÃ¥ +detaljer. Det er plassert 40 pÃ¥ østlandet og 13 i Trondheimsregionen. +Men siden nevner «AutoPASS», og hvis en slÃ¥r opp oppføringen pÃ¥ +Sollihøgda nevner den «Ciber AS» som ID for eksternt system. (Kan det +være snakk om +Ciber +Norge AS, et selskap eid av Ciber Europe Bv?) Et nettsøk pÃ¥ + «Ciber AS autopass» fører meg til en artikkel fra NRK Trøndelag i + 2013 med tittel +«Sjekk +dette hvis du vil unngÃ¥ kø». Artikkelen henviser til vegvesenets +nettside +reisetider.no +som har en +kartside +for Ãstlandet som viser at det mÃ¥les mellom Sandvika og Sollihøgda. +Det kan dermed se ut til at jeg har funnet ut hva boksene gjør.
+ +Hvis det stemmer, så er dette bokser som leser av AutoPASS-ID-en +til alle passerende biler med AutoPASS-brikke, og dermed gjør det mulig +for de som kontrollerer boksene å holde rede på hvor en gitt bil er +når den passerte et slikt målepunkt. NRK-artikkelen forteller at +denne informasjonen i dag kun brukes til å koble to +AutoPASS-brikkepasseringer passeringer sammen for å beregne +reisetiden, og at bruken er godkjent av Datatilsynet. Det er desverre +ikke mulig for en sjåfør som passerer under en slik boks å kontrollere +at AutoPASS-ID-en kun brukes til dette i dag og i fremtiden.
+ +I tillegg til denne type AutoPASS-sniffere vet jeg at det også +finnes mange automatiske stasjoner som tar betalt pr. passering (aka +bomstasjoner), og der lagres informasjon om tid, sted og bilnummer i +10 år. Finnes det andre slike sniffere plassert ut på veiene?
+ +Personlig har jeg valgt å ikke bruke AutoPASS-brikke, for å gjøre +det vanskeligere og mer kostbart for de som vil invadere privatsfæren +og holde rede på hvor bilen min beveger seg til enhver tid. Jeg håper +flere vil gjøre det samme, selv om det gir litt høyere private +utgifter (dyrere bompassering). Vern om privatsfæren koster i disse +dager.
+ +Takk til Jan Kristian Jensen i Statens Vegvesen for tips om +dokumentasjon på vegvesenets REST-API.
Dr. Richard Stallman, -founder of Free Software Foundation, -is giving a -talk in Oslo March 1st 2013 17:00 to 19:00. The event is public -and organised by Norwegian Unix Users Group (NUUG) -(where I am the chair of the board) and -The Norwegian Open Source Competence -Center. The title of the talk is «The Free Software Movement and -GNU», with this description: - -
-The Free Software Movement campaigns for computer users' freedom to -cooperate and control their own computing. The Free Software Movement -developed the GNU operating system, typically used together with the -kernel Linux, specifically to make these freedoms possible. -- -
The meeting is open for everyone. Due to space limitations, the -doors opens for NUUG members at 16:15, and everyone else at 16:45. I -am really curious how many will show up. See -the event -page for the location details.
+ +The Debian installer could be +a lot quicker. When we install more than 2000 packages in +Skolelinux / Debian Edu using +tasksel in the installer, unpacking the binary packages take forever. +A part of the slow I/O issue was discussed in +bug #613428 about too +much file system sync-ing done by dpkg, which is the package +responsible for unpacking the binary packages. Other parts (like code +executed by postinst scripts) might also sync to disk during +installation. All this sync-ing to disk do not really make sense to +me. If the machine crash half-way through, I start over, I do not try +to salvage the half installed system. So the failure sync-ing is +supposed to protect against, hardware or system crash, is not really +relevant while the installer is running.
+ +A few days ago, I thought of a way to get rid of all the file +system sync()-ing in a fairly non-intrusive way, without the need to +change the code in several packages. The idea is not new, but I have +not heard anyone propose the approach using dpkg-divert before. It +depend on the small and clever package +eatmydata, which +uses LD_PRELOAD to replace the system functions for syncing data to +disk with functions doing nothing, thus allowing programs to live +dangerous while speeding up disk I/O significantly. Instead of +modifying the implementation of dpkg, apt and tasksel (which are the +packages responsible for selecting, fetching and installing packages), +it occurred to me that we could just divert the programs away, replace +them with a simple shell wrapper calling +"eatmydata $program $@", to get the same effect. +Two days ago I decided to test the idea, and wrapped up a simple +implementation for the Debian Edu udeb.
+ +The effect was stunning. In my first test it reduced the running +time of the pkgsel step (installing tasks) from 64 to less than 44 +minutes (20 minutes shaved off the installation) on an old Dell +Latitude D505 machine. I am not quite sure what the optimised time +would have been, as I messed up the testing a bit, causing the debconf +priority to get low enough for two questions to pop up during +installation. As soon as I saw the questions I moved the installation +along, but do not know how long the question were holding up the +installation. I did some more measurements using Debian Edu Jessie, +and got these results. The time measured is the time stamp in +/var/log/syslog between the "pkgsel: starting tasksel" and the +"pkgsel: finishing up" lines, if you want to do the same measurement +yourself. In Debian Edu, the tasksel dialog do not show up, and the +timing thus do not depend on how quickly the user handle the tasksel +dialog.
+ +Machine/setup | +Original tasksel | +Optimised tasksel | +Reduction | +
---|---|---|---|
Latitude D505 Main+LTSP LXDE | +64 min (07:46-08:50) | +<44 min (11:27-12:11) | +>20 min 18% | +
Latitude D505 Roaming LXDE | +57 min (08:48-09:45) | +34 min (07:43-08:17) | +23 min 40% | +
Latitude D505 Minimal | +22 min (10:37-10:59) | +11 min (11:16-11:27) | +11 min 50% | +
Thinkpad X200 Minimal | +6 min (08:19-08:25) | +4 min (08:04-08:08) | +2 min 33% | +
Thinkpad X200 Roaming KDE | +19 min (09:21-09:40) | +15 min (10:25-10:40) | +4 min 21% | +
The test is done using a netinst ISO on a USB stick, so some of the +time is spent downloading packages. The connection to the Internet +was 100Mbit/s during testing, so downloading should not be a +significant factor in the measurement. Download typically took a few +seconds to a few minutes, depending on the amount of packages being +installed.
+ +The speedup is implemented by using two hooks in +Debian +Installer, the pre-pkgsel.d hook to set up the diverts, and the +finish-install.d hook to remove the divert at the end of the +installation. I picked the pre-pkgsel.d hook instead of the +post-base-installer.d hook because I test using an ISO without the +eatmydata package included, and the post-base-installer.d hook in +Debian Edu can only operate on packages included in the ISO. The +negative effect of this is that I am unable to activate this +optimization for the kernel installation step in d-i. If the code is +moved to the post-base-installer.d hook, the speedup would be larger +for the entire installation.
+ +I've implemented this in the +debian-edu-install +git repository, and plan to provide the optimization as part of the +Debian Edu installation. If you want to test this yourself, you can +create two files in the installer (or in an udeb). One shell script +need do go into /usr/lib/pre-pkgsel.d/, with content like this:
+ ++ ++#!/bin/sh +set -e +. /usr/share/debconf/confmodule +info() { + logger -t my-pkgsel "info: $*" +} +error() { + logger -t my-pkgsel "error: $*" +} +override_install() { + apt-install eatmydata || true + if [ -x /target/usr/bin/eatmydata ] ; then + for bin in dpkg apt-get aptitude tasksel ; do + file=/usr/bin/$bin + # Test that the file exist and have not been diverted already. + if [ -f /target$file ] ; then + info "diverting $file using eatmydata" + printf "#!/bin/sh\neatmydata $bin.distrib \"\$@\"\n" \ + > /target$file.edu + chmod 755 /target$file.edu + in-target dpkg-divert --package debian-edu-config \ + --rename --quiet --add $file + ln -sf ./$bin.edu /target$file + else + error "unable to divert $file, as it is missing." + fi + done + else + error "unable to find /usr/bin/eatmydata after installing the eatmydata pacage" + fi +} + +override_install +
To clean up, another shell script should go into +/usr/lib/finish-install.d/ with code like this: + +
+ ++#! /bin/sh -e +. /usr/share/debconf/confmodule +error() { + logger -t my-finish-install "error: $@" +} +remove_install_override() { + for bin in dpkg apt-get aptitude tasksel ; do + file=/usr/bin/$bin + if [ -x /target$file.edu ] ; then + rm /target$file + in-target dpkg-divert --package debian-edu-config \ + --rename --quiet --remove $file + rm /target$file.edu + else + error "Missing divert for $file." + fi + done + sync # Flush file buffers before continuing +} + +remove_install_override +
In Debian Edu, I placed both code fragments in a separate script +edu-eatmydata-install and call it from the pre-pkgsel.d and +finish-install.d scripts.
+ +By now you might ask if this change should get into the normal +Debian installer too? I suspect it should, but am not sure the +current debian-installer coordinators find it useful enough. It also +depend on the side effects of the change. I'm not aware of any, but I +guess we will see if the change is safe after some more testing. +Perhaps there is some package in Debian depending on sync() and +fsync() having effect? Perhaps it should go into its own udeb, to +allow those of us wanting to enable it to do so without affecting +everyone.
+ +Update 2014-09-24: Since a few days ago, enabling this optimization +will break installation of all programs using gnutls because of +bug #702711. An updated +eatmydata package in Debian will solve it.
+ +Update 2014-10-17: The bug mentioned above is fixed in testing and +the optimization work again. And I have discovered that the +dpkg-divert trick is not really needed and implemented a slightly +simpler approach as part of the debian-edu-install package. See +tools/edu-eatmydata-install in the source package.
Archive
-
+