Skip to main content

Ralsina.Me — Roberto Alsina's website

Nikola: New Tag Index Pages

Short and sweet:

In Niko­la my stat­ic site/blog gen­er­a­tor, the Tag pages used to just be a big list of ti­tles link­ing to the posts in the tag. Now they can (op­tion­al­ly) look just like the blog does, but fil­tered. Check it out.

Mi­nor tweaks still need­ed (like, men­tion­ing the tag some­where in the ti­tle), but the ba­sic func­tion­al­i­ty (fil­ter­ing, pag­i­na­tion, lay­out, etc) is com­plete.

To enable it in your site, just use master from git and enable TAG_PAGES_ARE_INDEXES = True in your conf.py.

The end of ralsina.me

This site has been lat­er­al.pyc­s.net, lat­er­al.­fib­er­tel.­com.ar, lat­er­al.blogsite.­com, and has been, for sev­er­al years, ralsi­na.me.

Well, I am slow­ly go­ing to dep­re­cate that URL, and the new URL will be //ralsi­na.me where you al­ready can find it since a few months ago.

It will in­volve some work mov­ing com­ments around and such, but noth­ing much should change, all old links should re­main valid, and all com­ments should stay at­tached to the right post.

I will con­tact the var­i­ous plan­ets that ag­gre­gate it, but since the feed will re­main con­stant thanks to feed­burn­er, I ex­pect not to lose any­one in tran­si­tion.

Qt Mac Tips

My team has been work­ing on port­ing some PyQt stuff to Mac OS­X, and we have run in­to sev­er­al Qt bugs, sad­ly. Here are two, and the work­arounds we found.

Na­tive di­alogs are bro­ken.

Us­ing QFile­Di­a­log.ge­tEx­ist­ingDi­rec­to­ry we no­ticed the fol­low­ing symp­tom­s:

  • If you do noth­ing, the di­a­log went away on its own af­ter about 20 sec­ond­s.

  • Af­ter you used it on­ce, it may pop up and dis­­ap­­pear im­me­di­ate­­ly. Or not.

So­lu­tion: use the Don­tUse­N­a­tive­Di­a­log op­tion.

Wid­gets in QTreeWid­getItems don't scrol­l.

When you use Wid­gets in­side the items of a QTreeWid­get (which I know, is not a com­mon case, but hey, it hap­pen­s), the wid­gets don't scroll with the item­s.

Solution: use the -graph­ic­ssys­tem raster options. You can even inject them into argv if the platform is darwin.


Contents © 2000-2021 Roberto Alsina