I got a report about
two problems which got fixed in master now.
The first error is triggered, if you have special (in RTF terms, so for
example { or }) characters in style names. The result was not so
friendly when you opened such a document:
loru1
After applying the
first fix, the document was imported but the original
Тест text was replaced by something
non-unicode:
loru2
The
second fix addresses this, and now the result is the expected one:
There was a thread about this topic already, but just refusing to commit
new files without documentation sounded too aggressive. So the
current code just prints a warning.
It was also requested to show some good/bad examples. Lubos
volunteered
to add detailed instructions in the wiki, so I'm just describing in
short what did I test so far.
A good example:
/// Handles export of foos using RTF markupclassRtfFoo{};
Yesterday I
enabled
udev support in our LVM package, and that means LVM volumes under
systemd not work as expected. Thanks to Lennart for the quick
answer.
:)
I've got a report
which turned out to be two separate issues. One is a regression from
Go-OO 3.2.x, this post is about this part. The other part is about the
improvement of both the import/export RTF filter, the bug has some
detail on that part as well.
So the problem was that wrapped images (when the image is a frame and
not a character) had some extremely small height. I did not notice this
bug in LO as an LO-specific extension hides that value, but in Word you
can see it:
fdo32613-before
The
fix
is to use the height of the containing frame instead of the height of
the picture itself, then it'll look fine:
Yesterday I bought a
HP LaserJet Pro P1566 printer. The device itself is nice, supported by
foo2zjs, though of course that support is unofficial. I was curious what
do they offer a "Linux support" on their website, since the case of the
printer mentions Linux support. And I had to use the above picture to
select my country.
It's Magyarország, not Magyarorság.
The map of the country isn't even close to reality, what are they smoking? ;)
About four days ago it has been asked on #libreoffice if it's possible
to bind functions to F13..F16 in Calc. The short answer is no, but it
turned out it's pretty trivial to allow that (and of course not only in
Calc).
Cedric's great post is
helpful here to find the relevant code. It also truned out that VCL
already supports those keys, so only the user interface has to be
improvied to export that feature.
If you use systemd, you know systemctl. That's the command that
controls systemd: you can use it to start, stop or list (and so on)
services. Now in case you use list, there is a lot of output, probably
it won't fit your screen. git already invented auto-paging, which means
it'll feed its output to a pager if the output is more than a screen,
for example when using git log. With my
recent commit this now the case with systemctl as well. :)
I released bitlbee-skype 0.9.0 today. The last feature that triggered
the relase born in git during the last two days: now it reads and writes
Skype group info. This means if you have a Skype group "work", then you
can just /j &work to see work contacts only, and /invite also works
in that channel as expected.
CSP, as in Constraint satisfaction problem. A while back I wrote a custom sudoku solver in Erlang, and now I hit something similar. Of course, since then I learned that there are nice CSP engines, so this time I did not try to write my own. :)
First, I checked out python-constraint, and then I sticked with it, as it fulfilled my needs.
So, the problem. Here is a Christmas tree:
csp
The tree has 4 chains, each one contains 7 items. A few ones already has a number. The exercise: number the empty items with numbers between 1 and 7 so that:
Each chain contains the numbers 1..7 exactly once.
All the horizontal and diagonal lines cannot contain the same number twice.
A possible solution is here. If you get less or more than one solution, you did something wrong. :) (I'm not pasting here the output of the script to leave some exercise for the readers. ;) )
NOTE: As an experiment this time I draw the image using TikZ. Based on these ideas I converted the source to PNG using tikz2png.