Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

Urssus: July 27th - Released into the wild!

And I am doing it for rea­l:

  • Py­­Pi pa­­ge for ea­s­­y_in­s­­ta­­ll

  • Wo­­­rking in­s­­ta­­lle­­r! (Not qui­­te wo­­­rking for wi­n­­do­­ws, thou­­gh)

  • Most kno­­wn bugs fixed (at least 15 to­­­da­­y)

It has been a ni­ce ex­pe­ri­men­t, and I wi­ll try to wri­te so­me­thing co­he­rent to­mo­rrow about le­s­sons lear­ned and su­ch as we rea­ch my se­l­f-im­po­sed two week dead­li­ne for Ak­re­ga­tor fea­tu­re pa­ri­ty.

Urssus: July 25th (way too late) - new features

Last post for the day, and prob­a­bly un­til mon­day.

  • Fin­ished ex­pi­ra­­tion im­­ple­­men­­ta­­tion (and it works just fine)

  • Fixed a tough bug and now the back­­­ground fetch­er up­­­dates the UI cor­rec­t­­ly

  • Made the tem­­plate lo­­ca­­tion code work cor­rec­t­­ly be­­fore and af­ter in­­stal­la­­tion (thanks to help from PyAr mail­ing list)

  • And the pret­­ty one: cus­­tom CSS file used for all tem­­plates. The de­­fault we­bkit (and kht­m­l, and fire­­fox) CSS is hor­rid. This one is just not pret­­ty, but still an im­prove­­men­t.

And of course, a screen­shot. Akre­ga­tor on the left, uRSSus on the right:

urssus9

Urssus: July 25th (later) - uRSSus on windows

urssus8

So you need to in­stall SQLAlche­my 0.4.6 and Elixir 0.5.2 and python and pyqt and paver, and what­ev­er man­u­al­ly right now... it does work.

I had to change about 10 lines, specif­i­cal­ly stuff about tem­po­rary files.

On Lin­ux, I cre­ate a NamedTem­po­rary­File, write to it, then read it from an­oth­er place of the code. As long as I keep a han­dle to the ob­ject that's ok.

On Win­dows, it seems I can't read the file be­cause it's locked by the writer, but if I close it it's delet­ed, so I switched­to mk­stemp and that's it.

Al­so, it does­n't run well from in­side IDLE for some rea­son.

Urssus: July 25th - approaching parity

My stat­ed goal of Akre­ga­tor fea­ture par­i­ty is look­ing even bet­ter. With screen­shot!

urssus7

If you did­n't read (or care about) last night's up­dates to yes­ter­day's post, here they are:

  • Im­­ple­­men­t­ed "Mark posts as read on ar­ri­val for this feed"

  • Im­­ple­­men­t­ed cus­­tomup­­date in­­ter­­vals for feeds

  • Fixed ar­ti­­cle fil­ter­ing

  • Im­­ple­­men­t­ed fil­ter­ing by ar­ti­­cle sta­­tus

  • Im­­ple­­men­t­ed fold­er-as-feed (not per­fec­t)

  • Ex­­port as OPML

And to­day I did the­se:

  • Switched from Mako to Ten­jin (which I can just bundle)

  • Im­­ple­­men­t­ed "Com­bined View" mode (y­ou can see it in the screen­shot above)

  • Im­­ple­­men­t­ed "Im­­port Tech­no­rati top 10"

  • Or­­ga­nized the code cor­rec­t­­ly

  • Wrote a Paver script so it can be in­­stalled nice­­ly (some­­day)

  • Re­­moved all gen­er­at­ed files from the re­po (now you gen­er­ate them us­ing paver and/or set­up.py)

So, on the TO­DO we have:

  • Fav­i­­cons

  • Im­­ple­­ment app pre­f­er­ences di­a­log

  • Bug­­fix­es

  • Pag­i­­na­­tion for com­bined­View (so you don't have a page with 90000 posts in it which takes a month to load)

  • Akre­­ga­­tor DB im­­port scrip­t, so I can com­­pare per­­for­­mances rea­­son­ably.

And still fun!

Cur­rent LOC coun­t: 1295

Urssus: July 24th

I in­tend to keep wo­rking like this for a cou­ple of weeks, and see how far I can get in fea­tu­re pa­ri­ty to ak­re­ga­to­r.

No, I do­n't ex­pect to rea­ch fea­tu­re pa­ri­ty, I on­ly want to stri­ve for it. SIn­ce I la­ck the fo­cu­san­d/or ener­gy for a multi year co­m­mit­ment it re­qui­res to wri­te the ave­ra­ge free so­ftwa­re, I want to see how far a sprint ge­ts me.

To my sur­pri­se, on­ly 9 da­ys in­to the pro­jec­t, fea­tu­re pa­ri­ty is at han­d.

Wha­t's not do­ne?

  • So­­­me feed pro­­­pe­r­­ties (cus­­tom ar­­chi­­ving mo­­­des, ma­­rk as read on arri­­va­­l)

  • Fix ar­ti­­cle fi­l­­te­­ring (i­­t's not qui­­te bro­­ken, but in­­te­­ra­c­­ts ba­d­­ly wi­­th many things)

  • Im­­ple­­ment app pre­­fe­­ren­­ces dia­­log

  • Fi­l­­te­­ring by ar­ti­­cle sta­­tus

  • Fo­l­­de­­r-a­s-­­feed

  • Ex­­port as OPML

  • Fa­­vi­­cons

And so­me things in the ba­cken­d, whi­ch are not pro­per fea­tu­res.

What ha­ve I do­ne to­da­y?

  • New ar­ti­­cles no­­­ti­­fi­­ca­­tion via sys­­tray

  • Cus­­tom up­­da­­te in­­te­r­­vals pe­­r-­­feed

  • Ma­­de Fee­­d.un­­rea­­dCoun­­t() fast enou­­gh

  • Fixed a lot of bugs (no­­­ne of whi­­ch cra­s­hed uR­S­­Sus, take that Ak­­re­­ga­­to­­­r! ;-)

And sti­ll I ha­ve wri­tten on­ly 1066 li­nes of co­de, ac­cor­ding to sloc­coun­t.


Contents © 2000-2023 Roberto Alsina