Salta al contenuto principale


Printing a 2965 lines text file


Let us image I have a reason to print a text file that is 2965 lines long, is encoded in utf-8 (so a2ps and enscript don't work) and I don't want to destroy a whole forest for it.

I've started by using xelatex to get a nicely typeset A5 page with my file in a monospaced font: partecipants.tex

\documentclass[a5paper]{article}
\usepackage{fontspec}
\usepackage[left=1cm,right=1cm,top=0.8cm,bottom=1cm,foot=0.2cm]{geometry}
\usepackage{listings}

\lstset{ %
  basicstyle=\ttfamily\scriptsize,
  frame=none,
  keepspaces=true,
}

\begin{document}
\lstinputlisting{ksp-dc15.txt}
\end{document}

This gets compiled into partecipants.pdf with

$ xelatex partecipants.tex

And resulted in 44 pages, 4 less than the 48 needed by a2ps, and printable on just 11 A4 sheets.

I wanted it to be easily manageable while walking around, taking notes into it while standing, so I decided to arrange it in booklet form:

$ pdfbook partecipants.pdf

The result, partecipants-book.pdf was printed (two sided, of course) folded and stitched in the middle.

I could have arranged it into signatures, but this would have required an additional sheet to bring the number of pages to a multiple of 16.

I know that there are electronic alternatives around, and I've also considered just carrying around the file and adding notes (to a copy?) with vim, but I'd trust a paper copy more.



Canonical, GPL compliance, restrictive IP policies, derivatives.


Yesterday, both the FSF and Conservancy announced that Canonical, Ltd. changed their Intellectual property rights policy in such a way that they no longer violate the GPL as it used to.

There are a number of personal comments on the matter by people involved in the case: Bradley M. Kuhn, Matthew Garrett and Jonathan Riddell; the TL;DR is that now the situation is fine from a legal point of view, and it has been solved in a shorter time than usual (just two years! speaking of lowered expectations...), but Canonical is still applying restrictions to non-GPL code that are out of place from a Free Software respecting entity.

This made me wonder about the hordes of tiny ubuntu derivatives out there, which are probably too small to attract attention and risk consequences, but are probably not in compliance with Canonical's policies. Should they rebase themselves on Debian, giving their trust to a community who believes in Free Software instead of a company with different priorities?

Should they start contributing upstream to Debian, and turn themselves into Debian Pure Blends? YES, but this is a different and wider matter :)



Underwear, again (still SFW)


Not worn for obvious reasons, but my first pair of split drawers, with a pattern inspired by a number of start-of-century manuals found on archive.org, but adapted to a more modern method.

These were made from an old bedsheet (and they show it, including bleach stains on the side not seen on the pictures), and I have to enlarge them a bit, but they are already wearable.

Detailed instructions to draft the pattern will be available... when ready (probably before the next debian stable release, probably) :)

Questa voce è stata modificata (10 anni fa)


Mostly underwear (SFW*)


Lately I have been sewing a bit and since "daguerrotype or it didn't happen", this is a picture of me wearing mostly underwear :)

Shirt-waist wearable mock-up #1, from a wearing history pattern.My first corset, using the pattern from the corset-course by Lynoure; still requires flossing, which requires me deciding on a pattern :)5 gores skirt mockup, from a pattern on tudorlinks, to be used later as a petticoat. Because everybody needs a number of petticoats, but mainly because it was a simple enough pattern to try the Valentina pattern drafting software, which is starting to be usable (YAY!)* The picture may not be SFW if you are reading this post from a victorian/edwardian workplace :)
Questa voce è stata modificata (10 anni fa)


Leap second on 31 march


A couple of days ago this appeared in my system logs

Mar 31 23:59:59  kernel: Clock: inserting leap second 23:59:60 UTC

my first reaction of course was "great! they gave us one second more of sleep! MY PRECIOUSSSS", but then I realized that yes, this year there was supposed to be a leap second, but it should have been in June, not in March.

Other people I know noticed the message, but nobody knew anything else about it, and duckduckgoing didn't find anything, so I'm asking the lazyweb: does anybody know what happened?

Update: it seems that this has been traced to a single layer1 ntp server.

Questa voce è stata modificata (10 anni fa)



Come promesso in #fieraElettronicaErba, qui ci sono i repository dei miei progetti 3D, completi in molti casi di impostazioni di slic3r per la stampa su 3DRag.

I più pubblici sono ancora anche su gitorious, ma devo migrarli altrove nei prossimi giorni.

@Gruppo Linux Como




Unless Lenovo can show some sign of understanding the gravity of this mistake, and undertake not to repeat it, then I'm afraid you will be joining Sony on my list of vendors I used to consider buying from. Sure, it's only a gross income loss of $500 a year or so, if you assume I'm alone in this reaction. I don't think I'm alone in being disgusted and angered by this incident.




DUCC-IT


Anche quest'anno si terrà la DUCC-IT, Debian Ubuntu Community Conference Italia: quarta edizione che si terrà a Milano Lambrate sabato 23 e domenica 24 maggio presso il TIM WCAP Accelerator di via Rombon 52.

È aperta la call for paper e chi vuole aiutare nell'organizzazione è il benvenuto, ma soprattutto partecipate: è un'ottima occasione per incontrare un po' tutto il mondo del Software Libero in Italia.

Tutte le info sul sito ufficiale: ducc.it/

@Debian @LIFO @Gruppo Linux Como




Funny dream


Tonight I've dreamt I was in some kind of computer store and somebody told me that I should always save a copy of my work, as a backup.

I looked at him thinking "you really want to talk about this subject", by SO looked at me as if thinking "oh, no! she's starting!" and then I went into full vcs-home evangelist mode.

I may have just a bit of a problem :)

Questa voce è stata modificata (11 anni fa)




I know it has probably existed for ages, and I've probably already read about it, but I've just rediscovered git-annex repair, which can also be run in a plain git repository and is able to retrieve any corrupted object from a remote where it is available, which is something I needed a few weeks ago.

@Gruppo Linux Como @LIFO



Reducing useless noise from irssi


Yesterday I missed a query from a friend (with the answer to a question *I* had asked in the first place) because it ended up in window 30-something and my statusbar was full of dim numbers from channels where people had just joined/left.

This morning I've set
activity_hide_level = JOINS PARTS QUITS
and my world is a much neater place :)

(I may have to add NICKS and possibly MODES, but they are rare enough and I'm still not sure I don't care about them, especially the latter.)




Mediagoblin donation


I've eventually decided to donate to the current MediaGoblin crowdfunding campaign

I do hope that they will make it to the next unlock level (Aveyah), or at least that they get close enough (with the matching grant this looks feasible) that they decide to work on most of the features.






vim hello.txt


Hello Worl⎋bdwaFriendica!⎋:wq
Questa voce è stata modificata (12 anni fa)

Questo sito utilizza cookie per riconosce gli utenti loggati e quelli che tornano a visitare. Proseguendo la navigazione su questo sito, accetti l'utilizzo di questi cookie.