/srv/irclogs.ubuntu.com/2009/08/19/#ayatana.txt

=== marvelous is now known as wonderful
=== rickspencer3 is now known as rickspencer3-afk
=== wonderful is now known as vorian
SiDiMacSlow: hiya11:07
SiDiWhen a defaults value is out of bounds, should i : 1) return without changing anything | 2) set to default | 3) set to nearest bound ?11:08
SiDi(4) segfault :P)11:08
MacSlowSiDi, no crashers please :)11:52
MacSlowSiDi, just spit out a waring on stdout (e.g. g_warning()) and don't change anything11:53
MacSlowSiDi, it's debatable if you set it to the lowest possbile value if it was attempted be set lower (or the hightest possible value if it was attempted to be set higher)11:55
MacSlowSiDi, not changing anything and just spitting out a warning on stdout is the safest path11:56
SiDiMacSlow: okey11:58
=== beuno_ is now known as beuno
* MacSlow -> lunch13:26
=== MacSlow is now known as MacSlow|lunch
SiDiPurely rethorical question : if i know the data given to a function is ALWAYS good (i test that it'll be good before using it), shall i remove error checking code after i called this function ?13:48
=== rickspencer3-afk is now known as rickspencer3
=== MacSlow|lunch is now known as MacSlow
mac_vdjsiegel1: djsiegel3 https://bugs.launchpad.net/notify-osd/+bug/340996/comments/1315:52
ubot4Launchpad bug 340996 in hundredpapercuts "Notifications should stay on screen longer when there is a lot of text" [Undecided,Confirmed] 15:52
djsiegel3mac_v yes I saw15:53
MacSlowdjsiegel3, mac_v: I'm pedantic there... but it's a fact... not really a bug fulfilling the papercut-requirements as the involved work is considerable.15:55
djsiegel3MacSlow: really?15:56
mac_vdjsiegel3: next cycle ,how about minimizing the number of papercuts and expanding the scope?15:56
djsiegel3it's not just length (message) * MILLISECONDS_PER_CHAR ?15:56
djsiegel3mac_v, what do you mean?15:56
djsiegel3expanding the scopr15:56
djsiegel3you mean, changing the definition of a paper cut to include more things?15:56
mac_vdjsiegel1: like reducing number <100, and taking on bigger bugs?15:57
djsiegel3like, why don't we just say paper cut = any bug and fix 20 of them? :)15:57
mac_vdjsiegel3: not any bug , but bug with usability issues15:57
MacSlowdjsiegel3, started to work on it (preparing notify-osd with some refactoring) but some priority-shifts have me currently working on another thing in notify-osd15:58
djsiegel3MacSlow, I'm curious because I wrote a notifications API in GNOME Do for plugins and did time calculations like that based on message length15:58
djsiegel3it was very simple15:58
djsiegel3longer messages stayed on screen longer15:58
mac_vdjsiegel3: some usability issues are not pushed since they are a little bigger to fix , like for example the click to rename15:59
MacSlowdjsiegel3 you're formatting, layouting and special cases were not as complex as in the notify-osd spec I imagine15:59
djsiegel3certainly15:59
djsiegel3mac_v, that should be a separate project maybe/16:00
djsiegel3maybe we could do 50 paper cuts, and 10 usability bugs16:00
mac_vdjsiegel3: yeah, that would be good16:00
mac_vdjsiegel3: i fear we'll run out of *minor* things to fix in 2 cycles ;)16:01
djsiegel3mac_v we can always make more buggy software16:01
mac_vlol16:01
=== beuno is now known as beuno-lunch
SiDidjsiegel3: its true you need to take into account updates + appends + priority of bubbles in the stack16:59
SiDi+ summer holidays :P16:59
djsiegel3SiDi: and leap years17:00
SiDiand angriness of kittens in your direct environment.17:00
SiDi..no ?17:00
=== beuno-lunch is now known as beuno
SiDiMacSlow: any g_warning makes a test fail, right ?17:58
MacSlowdepends on G_DEBUG17:58
MacSlowafaik17:58
SiDii'm running into a very stupid situation17:59
MacSlowuse g_print()17:59
SiDii'm trying to set font size to a negative value, my setter of course doesnt modify the value, but it g_warns about the out-of-bound17:59
MacSlowSiDi, try G_DEBUG=fatal_criticals ./test-modules -p /defaults18:01
MacSlowthat should not make g_warning() abort the test18:01
MacSlowapparently not18:13
MacSlowhm...18:13
MacSlowstick to g_print then18:13
=== rickspencer3 is now known as rickspencer3-afk
=== rickspencer3-afk is now known as rickspencer3

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!