Time Nick Message
23:37 dcook night tcohen
23:37 tcohen night everyone
23:37 tcohen gmcharlt++
23:10 wahanui the saddest thing is http://ur1.ca/9x67k
23:10 eythian wahanui: the saddest thing
23:10 wahanui ⛄ U+26C4 SNOWMAN WITHOUT SNOW
23:10 eythian wahanui: the saddest thing
23:10 wahanui ⛄ U+26C4 SNOWMAN WITHOUT SNOW
23:10 eythian wahanui: the saddest thing
23:10 wahanui the saddest thing is http://careydraws.tumblr.com/post/74224444875/written-in-the-bones-new-comic-written-by
23:10 eythian wahanui: the saddest thing
23:10 eythian yeah, itanium sales figures were pretty sad
23:10 wahanui the saddest thing is http://ur1.ca/cxl9a
23:10 eythian wahanui: the saddest thing
23:08 wizzyrea jesus that *is* the saddest thing.
23:06 wahanui okay, eythian.
23:06 eythian wahanui: the saddest thing is also http://careydraws.tumblr.com/post/74224444875/written-in-the-bones-new-comic-written-by
23:06 wahanui i think the saddest thing is http://en.wikipedia.org/wiki/File:Itanium_Sales_Forecasts_edit.png
23:06 eythian wahanui: the saddest thing
22:52 eythian heh "Greatest Hit (...And 21 Other Pretty Cool Songs) - Dream Theater"
22:39 huginn New commit(s) kohagit: Bug 11579: Show ordernumber in basket.pl tables <http://git.koha-community.org/gitweb/?p=koha.git;a=commitdiff;h=7a8bbccf9c2ff93d1d7b2ce71dc8d26e5e3109f5>
22:34 mtompset lego sets, lego bricks, lego blocks, lego creations, etc. ... never legos. :)
22:28 francharb ;)
22:28 francharb see ya
22:28 francharb on this essential note, I wish you a good day/afternoon/evening/night
22:27 francharb hummm
22:21 eythian http://i.imgur.com/rvYK59U.gif
22:16 wizzyrea being plural with an s
22:16 wizzyrea "the company forbids it"
22:15 wahanui well, interesting is sometimes good and sometimes bad
22:15 jcamins INteresting.
22:15 wizzyrea not the first time.
22:15 eythian http://en.wiktionary.org/wiki/Talk:lego#Mass_noun <-- ah, it just seems that the US is wrong ;)
22:14 eythian jcamins: I'd say "too much lego" in that case
22:13 wizzyrea if you play with your lego, then you only have one, in my mind.
22:13 jcamins As would I. Or, "no one can have too many legos."
22:09 * wizzyrea would say go play with your legos
22:09 mtompset So I suspect it is.
22:09 mtompset You don't say, "Go play with your Legos."
22:07 * eythian wonders if lego is a mass noun. I tend to think it is.
22:07 wizzyrea why would you jump on a pile of legos
22:07 eythian it's not been a problem yet.
22:07 * eythian shrugs
22:06 mtompset anyone? Isn't that a bad thing (tm)?
22:05 wahanui OK, eythian.
22:05 eythian wahanui: ouch is <reply>http://i.imgur.com/SjElkzG.gif
22:04 eythian anyone can edit the topic
22:04 mtompset eythian++ # using his powers for good. ;)
21:55 tcohen 4
21:54 eythian I don't know when the next meeting is though
21:54 mtompset Or 3.14.x?
21:53 tcohen Can someone change 3.14.0 for 3.14.2 in the IRC channel heading?
21:52 mtompset eythian++ # that ± is cool. :)
21:51 tcohen eythian++
21:50 wizzyrea Yayboo!
21:50 wizzyrea That thing you did, it's totally neutral!
21:50 * blou is gone fishing
21:50 gmcharlt eythian++
21:50 gmcharlt heh
21:50 francharb ahahah
21:50 eythian gmcharlt±±
21:50 francharb you lost me
21:50 wizzyrea ;)
21:50 * wizzyrea had her kick command ready
21:49 * mtompset pretends to slap someone over the head with a wet trout.
21:49 cait don't you dare!
21:49 mtompset I think she means something like...
21:49 francharb trout?
21:49 francharb wizzyrea, ^
21:48 blou trout?
21:48 wizzyrea just as a general warning.
21:48 francharb ;)
21:48 wizzyrea also refrain from employing the trout.
21:48 cait well especially if the RM is gmcharlt :)
21:48 blou will be late... again. But thanks for the laugh
21:48 cait listen to the RM!
21:48 blou lol
21:48 francharb ;)
21:48 gmcharlt (now enough with the decrements)
21:48 mtompset blou++ # for working on patches. :)
21:48 francharb thanks gmcharlt
21:48 francharb thanks blou
21:47 gmcharlt francharb++
21:47 gmcharlt blou++
21:47 huginn francharb: Karma for "francharb" has been increased 1 time and decreased 1 time for a total karma of 0.
21:47 francharb @karma francharb
21:47 huginn francharb: Karma for "blou" has been increased 0 times and decreased 1 time for a total karma of -1.
21:47 francharb @karma blou
21:47 mtompset eythian-- # for encouraging the fighting. :P
21:47 francharb eythian, ahah
21:47 eythian FIGHT! FIGHT!
21:47 francharb ;)
21:47 francharb a -- for a --
21:47 francharb blou--
21:46 mtompset blou! Don't do that.
21:46 blou francharb--
21:46 blou i can balance it all:
21:46 eythian how disappointing
21:46 huginn eythian: <! has neutral karma.
21:46 eythian @karma <!
21:45 mtompset blou: 20/65 is okay. :)
21:45 blou mtompset++
21:45 huginn mtompset: Highest karma: "gmcharlt" (21), "oleonard" (16), and "cait" (15). Lowest karma: "windchill" (-2), "-" (-1), and "ie" (-1). You (mtompset) are ranked 20 out of 65.
21:45 mtompset @karma
21:44 blou mtompset++
21:44 huginn francharb: Highest karma: "gmcharlt" (21), "oleonard" (16), and "cait" (15). Lowest karma: "windchill" (-2), "-" (-1), and "ie" (-1). You (francharb) are ranked 26 out of 65.
21:44 francharb @karma
21:44 francharb ;)
21:44 cait francharb++ thx
21:44 mtompset Okay.
21:44 mtompset Too bad.
21:43 blou mtompset: but have to go now
21:43 tcohen good to know
21:43 blou shoudl be simple
21:43 cait i will do some more tests soon - but not more tonight
21:43 blou I started looking at it
21:43 cait tcohen: all tests pass now
21:42 blou tomorrow morning
21:42 mtompset So any ETA on the revision, blou?
21:41 blou :)
21:41 mtompset If no pain was experienced, the system is failing. ;)
21:41 blou NORMALLY, francharb would be faster, but he lost us into a youtube video exploration
21:41 wahanui cait: go to bed
21:41 tcohen cait?
21:40 blou funny
21:40 francharb ;)
21:40 francharb mtompset, I let him know
21:31 tcohen prove t/db_dependent/Search.t 2> /dev/null?
21:30 mtompset This is a test of the blou hitting system, francharb. ;)
21:29 cait ok, all patches applied
21:27 cait now i get it i think, will try
21:27 cait ah
21:26 cait hm patch 4 doesn't apply for me
21:25 cait and why did you make it so hard? ;)
21:25 tcohen and then git bz apply 11096 (interactive, comment the last one)
21:24 tcohen so, git bz apply 11096 (interactive, comment all but the last one)
21:24 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11096 major, P5 - low, ---, gmcharlt, Failed QA , Koha cannot retrieve big records from Zebra
21:24 tcohen the first, Bug 11096: "(follow-up) add direct regression tests"
21:22 cait what#s the right sequence?
21:22 cait if i create a new branch
21:21 tcohen just apply the klast one first
21:21 wahanui the same is true i think for some other 'hidden' things, like hiding lots or damaged items by pref
21:21 tcohen the same
21:21 cait hm less patches?
21:18 tcohen apply the last one, and then the first
21:18 tcohen cait: you can now run the tests :-D
21:15 francharb bye oleonard
21:14 oleonard Bye #koha
21:14 francharb cait, email me if you need explanations on the serial module ;)
21:10 cait i am not sure i understand you as tired as i am, but le tme know when i can start testing again :)
21:10 tcohen when I rebased galen's tests patch, I (don't know how/why) removed the sample files
21:08 * jcamins blames the trade deficit on tcohen, gets elected.
21:07 cait oh?
21:07 tcohen its all my fault
21:07 tcohen sorry cait
21:07 tcohen hahahahaha
21:07 tcohen I removed them!
21:06 gmcharlt hmm
21:06 gmcharlt er...
21:06 tcohen heh, i remember seen them in a patch from you!
21:05 tcohen gmcharlt: where did your big sample records go?
21:04 cait and i guess the libraries will like it when we update - if i manage to be able to epxlain it unti lthen :)
21:04 cait i am getting more used to the new way
21:03 francharb :)
21:03 francharb I like the XXX date better as well
21:03 francharb And thanks for spotting it
21:03 francharb cait, sure!
21:02 cait francharb: yeah, but we shoudl fix it
21:01 francharb ;)
21:01 francharb cait, I will just confirm what you said. Your explanation is clear enough for someone who used both versions
21:01 eythian hi
21:00 francharb for sure, we lost something but, to me, the benefit of this develpment is worth it
21:00 cait i am not sure my explanation works well, so having someon else explain is a win :)
20:59 cait thx :)
20:59 francharb I will
20:59 francharb yes
20:59 cait could you add a comment maybe?
20:59 cait well not good, but i am not going crazy
20:59 francharb cait, good catch, you're right. the way it works is different now for the irregulars subscriptions. Koha doesnt display XXX but the first issue publication date
20:53 cait i think someone told me it was useful for loose leaf things as you don't know exactly when updates will arrive sometimes
20:52 cait oleonard: and i meant i file_d_ a bug - 11637
20:52 francharb i see what you mean
20:52 francharb cait, i'm going to test it
20:51 francharb yes
20:51 cait could you take a look at 11637?
20:51 francharb Tell me. Whats your question?
20:50 francharb ahah
20:50 cait you are a serials expert
20:50 wahanui francharb falls asleep easily at sea. Don't believe me? Just ask Brooke.
20:50 cait oh francharb
20:50 cait oleonard: files a bug
20:49 francharb :(
20:49 wizzyrea something about this newest version of wordpress is very server-unhappymaking
20:48 wizzyrea I'll check on it.
20:47 francharb I cant access it from here
20:47 francharb is koha-community.org down?
20:47 francharb hi all
20:46 cait for irregular it looks like the date is always today
20:45 cait according to the help page which is a bit outdated now
20:45 cait Without periodicy: some very specific (usually high level science journals) don't have a true periodicity. When you subscribe to the title, you subscribe for 6 issues, which can arrive in 1 year... or 2... There is no regularity or known schedule. Unknown select this if none of the other choices are relevant
20:45 cait well we lost 2 options from frequencies we used to have
20:45 cait oleonard: understandable
20:44 * oleonard tries to avoid serials if he can
20:43 cait oleonard: i thik irregular doesn't seem to work like it should
20:40 tcohen (more isolated)
20:40 tcohen my intention is to have a function that is easier to write unit tests to
20:40 cait oleonard: so this opens a bigger question i guess. hm.
20:39 gmcharlt C4::Record is OK; Koha::Util::MARC might be better, though
20:38 tcohen i recall you told me we had C4::Record to handle local stuff (that MARC::Record is not intended to handle)
20:38 tcohen is it reasonable to put new_from_zebra :: ZOOM::ResultSet -> MARC::Record into C4::Record?
20:37 cait i know it worked in the old serials module
20:37 cait oleonard: i wonder if the XXX is still an option with the new frequencies
20:37 gmcharlt hi tcohenwhat's up?
20:36 tcohen gmcharlt: around?
20:32 * wizzyrea will test that one
20:31 oleonard Leading zeros or all letters, take your pick!
20:31 wizzyrea that probably explains why it worked for me.
20:30 wizzyrea ohhh good catch on the leading 0's causing that "can't remove course instructor" thing
20:29 oleonard http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=C4/Serials.pm;h=81fa86c604e07c3957234b51327af750e89a0bb8;hb=HEAD#l430
20:28 cait i think we had 2 options in the past... and then it would show the date as xxx
20:28 cait but that does not seem to work like it used to
20:28 cait i thought it was an irregular subscriotion
20:26 oleonard It looks like it appears on one of the tabs if you have data which isn't connected to a year? But I'm not sure how to create the data to trigger it.
20:25 cait is that possible?
20:25 cait oleonard: i have seen the manage sometime somewhere... i think on one of the tabs
20:24 mtompset wizzyrea: Oooo... a pretty staff client too.
20:22 cait oleonard: maybe i can, let me try
20:20 mtompset oleonard: Yes, based on what has been said about the two options, 2 looks better to me.
20:16 wizzyrea rather we'll have an excuse to make it better now
20:16 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11576 normal, P5 - low, ---, koha-bugs, NEW , Untranslatable "manage" in serials-collection
20:16 oleonard paxed: I'm curious whether you were able to trigger Bug 11576 in the interface or whether you simply noticed it in looking at the code.
20:16 wizzyrea right ok, so if we go ahead and do 2, it will suck less to upgrade
20:15 oleonard wizzyrea: 2 are required in Bootstrap 3, optional in Bootstrap 2
20:15 wizzyrea i.e. class="btn btn-default"
20:15 wizzyrea oleonard: with bootstrap 3 you have to have 2 classes on all buttons anyway, right?
20:13 smrt dang. so i guess two different logins belonging to two different libraries are required. ok thanks.
20:13 oleonard That isn't possible smrt
20:12 smrt hi does anyone know if a staff patron can belong to two different branches?
20:09 janPasi
20:01 oleonard Option 2 means making incremental changes to all staff client pages adding Bootstrap style elements to all buttons.
20:00 oleonard No Bootstrap style for anything other than toolbar buttons.
19:59 oleonard Option 1 keeps things status quo
19:57 mtompset By btn class only being the one type of buttons?
19:56 mtompset How would option 1 accomplish the ability to style differently?
19:55 mtompset Yes, but I don't really understand the differences?
19:54 cait mtompset: i think oleonard proposed a solution on the mailing list
19:54 oleonard It shouldn't be a matter of "some may wish to style differently," it should be a matter of "This is our style guide for the user interface and it lays out the rules everyone can follow with ease"
19:54 cait oleonard++
19:54 mtompset So how do we do that with the least amount of pain?
19:53 mtompset Okay, so some people may wish to style differently.
19:53 oleonard A submit button finishes something, completes a step.
19:53 oleonard An "action" button starts a new process, initiates something.
19:52 oleonard Maybe not everyone cares. I think it is useful to style buttons differently based on their category: submit button vs. "action" button for instance.
19:51 mtompset oleonard: The button email... I have a question. Why do we care where the button is in order to style it?
19:51 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11614 normal, P5 - low, ---, koha-bugs, NEW , Untranslatable label_element_title in label management
19:51 oleonard The translation issues with the label creator area total mess. (Bug 11614 etc)
19:38 mtompset oleonard++ # thanks for the sign off. :)
19:33 druthb Ferengi is there too, as is Tengwar.
19:32 druthb yes. https://en.wikipedia.org/wiki/ConScript_Unicode_Registry
19:31 druthb hm. 'sec, I'll look
19:31 rhcl druthb: ah, ok then. So is there a character set for Klingon? This actually came up as a discussion topic on a list I monitor for schools and libraries. And you being the expert on such....
19:30 druthb ooo. I like that idea.
19:29 mtompset Is there like a Sailor Moon transformation sequence with that. ;)
19:29 mtompset ooooo... automagically.
19:29 cait :)
19:29 druthb and the "away" is set automagically by my bip server when no client is connected to it. :D
19:29 druthb lunch with Le Boss, yes.
19:21 rhcl long lunch probably
19:21 rhcl so it would seem
19:19 oleonard rhcl: I guess when druthb is away she really means it.
19:02 huginn rhcl: druthb was last seen in #koha 3 hours, 22 minutes, and 25 seconds ago: <druthb> wahanui: botsnack cookie
19:02 rhcl @seen druthb
19:02 rhcl helpful
19:02 huginn rhcl: druthb_away was last seen in #koha 2 years, 6 weeks, 1 day, 3 hours, 19 minutes, and 42 seconds ago: <druthb_away> loading bibs now...gonna go stir up some breakfast! :D
19:02 rhcl @seen druthb_away
18:17 tcohen we are having our honeymoon in late march
18:17 tcohen but she's working actually
18:17 tcohen of course
18:16 mtompset spending time with the new wife?
18:16 tcohen going to buenos aires in a couple of weeks
18:16 tcohen doing stuff at home, visiting friends
18:16 tcohen mtompset: yes
18:16 mtompset Is your vacation a stay-cation?
18:15 mtompset Greetings, tcohen.
18:13 tcohen hi #koha
17:45 mtompset liw++ # bad, but good pun.
17:43 liw I expect koha-community.org to be hosted in the cloud, so presumably it is pretty moist there
17:37 huginn rhcl: Error: No such location could be found.
17:37 rhcl @wunder koha-community.org
17:37 wahanui rumour has it koha-community.org is actually updated and right
17:37 rhcl koha-community.org?
17:11 reiveune bye
16:57 mtompset Greetings, oleonard. :)
16:57 oleonard http://i.imgur.com/dJrPK3d.gif
16:57 mtompset Greetings, #koha.
16:55 rhcl it's broke in Missouri
16:47 oleonard http://www.downforeveryoneorjustme.com/koha-community.org
16:45 JesseM I think the Koha Community website is down!
16:39 oleonard It happens when JavaScript interprets a string of numbers as an actual number and ignores leading zeroes.
16:31 kf sounds like a consistent bug :)
16:26 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11534 major, P3, ---, koha-bugs, NEW , impossible to remove instructors on course reserve
16:26 oleonard Bug 11534
16:26 oleonard Oh that's not in patron lists it's in course reserves. Only the same problem is in patron lists!
16:24 oleonard Isn't there a bug report for the problem where a patron can't be removed from a patron list?
16:08 Oak :)
16:07 * Oak loved <div id="oh"></div>
16:06 * Oak loved http://wiki.koha-community.org/wiki/Bootstrap_OPAC
16:06 Oak it's awesome work man.
16:06 oleonard That was me, thanks to KohaCon hackfest giving me some work time and inspiration.
16:04 Oak whoever did that, i'll hug you when we meet.
16:03 Oak the part about the boilerplate media queries, and the divs code to show the grids (with the intranet preferences name mentioned, where to paste) is very very very well thought out.
16:03 Oak that bootstrap wiki page is extremely useful.
16:02 Oak i can help in any way possible.
16:01 oleonard Documentation, primarily.
16:01 oleonard Thanks. I'm feeling a little neglectful about it... several follow-up things I should be doing for it.
16:00 Oak :)
16:00 Oak oleonard++
15:59 kf oleonard++
15:59 kf Oak: thx :)
15:59 oleonard Yes
15:59 Oak one of the guys behind it i mean/
15:58 Oak oleonard, the responsive stuff in OPAC is awesome. You must be behind it?
15:57 huginn oleonard: The current temperature in Windy Ridge, Athens, Ohio is -12.4°C (10:44 AM EST on January 29, 2014). Conditions: Clear. Humidity: 33%. Dew Point: -25.0°C. Windchill: -18.0°C. Pressure: 30.36 in 1028 hPa (Rising). Wind Chill Advisory in effect until noon EST today...
15:57 oleonard @wunder 45701
15:55 Oak not yet.
15:55 huginn Oak: The current temperature in Taegerwilen, Taegerwilen, Germany is 1.9°C (4:55 PM CET on January 29, 2014). Conditions: Clear. Humidity: 75%. Dew Point: -2.0°C. Windchill: 2.0°C. Pressure: 29.50 in 999 hPa (Steady).
15:55 Oak @wunder Konstanz
15:55 Oak i'll remind you go home when it's time :)
15:54 Oak ah isee.
15:54 kf someone else took it, but seems he/she is not around on the server rightnow:)
15:54 kf ah
15:54 cait not at home :) i had to switch nicks
15:51 Oak cait at home. how are you?
15:50 Oak hello druthb. good to see you.
15:50 Oak she is 2.5 years old. i think.
15:50 Oak oh hey guys. my niece came to my room and... well.
15:49 Oak :)
15:40 wahanui :)
15:40 druthb wahanui: botsnack cookie
15:40 druthb Hi, Oak! :)
15:40 cait Oak :)
15:37 wahanui hello cait are you here?
15:37 Oak hello cait
15:37 * Oak waves
14:22 cait paul_p: around?
14:11 * druthb waves back.
14:10 * oleonard waves to people waking up
13:33 oleonard http://www.downforeveryoneorjustme.com/koha-community.org
13:32 oleonard Oh no, again?
13:32 sophie_m is http://koha-community.org/ down ?
13:32 sophie_m hello
12:59 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11489 normal, P5 - low, ---, kyle, Needs Signoff , OPAC search results in 404 error when the only search result is supressed
12:59 oleonard Is Bug 11489 signed off or isn't it? Both patches appear to have a signoff, but the status doesn't say so
12:36 oleonard Hi #koha
10:57 ashimema anyone know how rangi's work on elastic search is going.. not heard much for a while.
10:07 petter good day
10:07 petter Godday koha!
08:42 matts hi wahanui
08:42 wahanui hey, matts
08:42 matts hello
08:28 nlegrand Hey #Koha !
08:27 alex_a bonjour
08:21 gaetan_B hello
07:36 reiveune hello
06:48 wahanui goodnight dcook. You'll be back.
06:48 dcook night all
06:48 * dcook is off to get a passport photo
06:48 dcook hey bshum
06:30 * cait waves back
06:30 * dcook waves to cait
05:07 dcook That might get around some of those proxy issues that I've been mentioning recently on Bugzilla..
05:07 dcook Hmm, just learned about the Apache directive "ProxyPreserveHost"
04:16 bwagman thank you for your help though. very much apprechiated.
04:16 bwagman Ok. I understand
04:16 bwagman At some point I found a Virtual Appliance of Koha. I was never able to properly install it on my own.
04:15 eythian your best bet would be to find someone local who can look at your setup and tell you what you need to do, it's very hard to give advice like that without knowing a lot about how you have things.
04:15 bwagman I am not skilled with command line. I am good with a graphical interface
04:14 bwagman what would we need to connect a server at a private location (home) and connect it to our website
04:14 eythian well, more specifically, you need a server you have root access on generally. Making it work on a shared server would be very very hard.
04:13 bwagman oh ok/
04:13 eythian bwagman: not really, you need a real server to run it from.
04:13 bwagman Hello. We are a small nonprofit currently unable to physically host Koha and connect it to a website for the OPAC feature. Is there a way to install this on our website server? We are using a shared hosting GoDaddy account. Please email me at brandonwagman@rainbowserenity.org Thanks!
04:10 wahanui OK, eythian.
04:10 eythian wahanui: trying to install koha on windows is <reply>http://i.imgur.com/VONyQVW.gif
03:54 Oak hello wizzyrea
03:54 Oak kia ora #koha
03:54 Oak oh man, he leaves before I am able to say bye.
03:52 wizzyrea later :)
03:52 mtompset Have a great day, #koha Oak eythian dcook wizzyrea jcamins :)
03:13 eythian heh
03:12 dcook eythian: It's like this troubleshooting is an adventure :p
03:03 eythian he is a bit
03:03 dcook He is rather bad ass
03:02 dcook I hear Christopher Lee
03:02 dcook Esmerine to Rhapsody of Fire
03:01 dcook Album at random!
03:01 dcook Hmm, don't see too much of that one
02:56 eythian in this case, "Dark Wings of Steel" because I apparently haven't heard it before.
02:56 eythian I tend to go for albums for this sort of thing.
02:55 dcook eythian: Any particular song?
02:54 pianohacker Okay, I'm dead. I need to head out.
02:54 * eythian doesn't think it's an Iron and Wine sort of day. I think Rhapsody of Fire will do instead.
02:52 mtompset (Starting with Joy)
02:52 mtompset http://www.youtube.com/watch?v=gjgdmmpFeu8&list=UUzEOgPvZv8BZjVkfmwjtpAQ&feature=share
02:51 mtompset That's laid back.
02:47 dcook Or at least my playlists..
02:47 dcook Iron & Wine really doesn't blend well with other music on a playlist...
02:29 pianohacker back
01:49 wizzyrea enjoy :)
01:48 pianohacker bbl dinner
01:48 pianohacker oh hai :)
01:48 wizzyrea ooo
01:48 huginn pianohacker: The operation succeeded.
01:48 pianohacker @later tell wizzyrea CC'd you on bug 11211, finally have a patch to test if you're interested.
00:58 pianohacker jcamins++
00:58 pianohacker holy balls. I now understand all of this, but Perl just got a lot weirder.
00:58 jcamins Right. When in a pm.
00:57 pianohacker so, for that particular case, $whatever creates one and only one closure the first time the module is loaded?
00:56 jcamins http://paste.koha-community.org/101
00:55 jcamins (in pm files only)
00:55 jcamins The problem is...
00:55 jcamins That will work.
00:54 pianohacker jcamins: That's the heart of the problem, correct?
00:54 pastebot "pianohacker" at 127.0.0.1 pasted "Problems with closures in nested named subroutines" (27 lines) at http://paste.koha-community.org/100
00:50 * jcamins agrees.
00:50 pianohacker ... and I do not think Perl could have made this any more confusing
00:50 pianohacker jcamins: I think I understand. Just trying to confirm, as I wish to add no barriers to Plack on the staff side
00:49 jcamins See the lengthy attempted explanation above.
00:49 jcamins In a pl file, you never have to use our.
00:48 pianohacker eythian: ok, thanks
00:48 eythian pianohacker: it depends on what the use case is. If it's likely to be changed dynamically, I'd go for the hash. Otherwise probably the if for readability.
00:47 pianohacker jcamins: So if I'm using anonymous subs, I don't even have to use our?
00:47 jcamins (i.e. "no, this does not apply to anonymous subs in a pl file")
00:46 jcamins I mean, you are correct, in the case of a pl file.
00:46 pianohacker grr, even anonymous subs are only compiled once?
00:46 jcamins In a pm file, file-level scope is evaluated at compile time.
00:46 jcamins pianohacker: not in a pl file.
00:45 pianohacker jcamins: wait, does this my/our stuff even apply to anonymous subs? Aren't they recompiled each time their enclosing scope is evaluated?
00:31 pianohacker jcamins: thank you for your help today :)
00:31 pianohacker bah, technicalities: For 6 different possibilities, do you think an if-else chain ( if ( $a eq 'foo' ) { ... } elsif ( $a eq 'bar' ) { ... etc. ) or a hash of anonymous subs is better?
00:29 eythian OK, but can you ask me the question because I can't see it :)
00:29 jcamins pianohacker: I'd prefer the hash.
00:28 pianohacker eythian: You know Perl quite well, so I guess I'll ask you the same question :)
00:14 pianohacker jcamins: Okay, cool. I'm beginning to think it might be worth it to just write out the silly if-else chain, as there aren't really enough options to make the hash-of-anonymous-subs trick worth it, but do you think that's a reasonable idea?
00:11 jcamins Right, that's safe, because the anonymous subroutines you're defining are closures.
00:05 pianohacker jcamins: But if I have something basic and silly, like our $close_hour = $input->param( 'close_hour' ), so it's visible to an anonymous sub, shouldn't that be re-run every request, and not cause much memory to be lost?
00:04 pianohacker jcamins: What you said does make sense, yes :)