Log of the #blacklight channel on chat.freenode.net

Using timezone: GMT-05:00
* erikhatcher joins05:42
* cbeer__ joins06:21
* cbeer leaves
* Vahid joins08:46
hello
i have a question ?
is there anyone to answer my question ?08:47
<cbeer_>feel free to ask -- the channel is logged so if none of us can answer it directly, someone at least will see it08:48
<Vahid>how can i import marc records that imported in mysql database without using batch file? in fact i want to use java for creating marc records and store them into mysql then solr indexs them ?08:53
<erikhatcher>Vahid: to index from a relational database, i recommend Solr's builtin DataImportHandler as the first thing to try08:59
<Vahid>how can i import marc records into database ? is this good idea to have a table ,for example, with to field 1-id & 2-MarcData for storing marc records /09:02
do you have a suggestion for this purpose?09:03
<erikhatcher>is it a good idea? that all depends :)09:21
what's the purpose you have for wanting to put them in a database?
<Vahid>i think first i should store recors in database then solr index them09:26
can solr act as an database ? i mean, i store new records in solr ?09:27
<erikhatcher>Vahid: i think you should first describe what it is you're trying to do09:28
there are many many options in how to use Solr
but it isn't clear what to recommend to you
<Vahid>ok
<erikhatcher>Solr can store, yes, but it is best to keep the original content in some other persistent store because of reindexing concerns09:29
in general, there isn't a need for libraries that have an ILS which stores the MARC stuff definitively to export and then put into a database and then index. they simply go from ILS -> Solr directly (with an export in the middle to .mrc files)09:30
<Vahid>i want a ILS that i can create nre marc records in it then i can edit and update them or delete them
<erikhatcher>Solr and Blacklight aren't ILSs though
what systems are you using now?
what's the use case?
<Vahid>windows
<erikhatcher>there's the problem right there :) you need a Mac! (kidding)09:31
i meant what kind of ILS are you using now? are you working in a library?
<Vahid>i`m living in iran and i want to design or use a ILS for researchist libraries in iran ? of course the system shuold have rtl interface09:32
the problem is here i dont have any ILS09:33
<erikhatcher>sounds like you need to look into Evergreen or Koha, or something like that
i'm not familiar with the systems out there really. i've only worked from the .mrc into Solr and beyond side of things
<Vahid>i`m not familiar with perl and python for changing them09:34
is this good idea to implementing new ILS ?
* BillDueber joins09:57
<erikhatcher>Vahid: sounds like a new ILS is what you're asking for09:58
Vahid: i don't mean to implement one yourself... i mean to use an open source one available now09:59
* jamieorc joins10:06
* rduplain joins10:23
<Vahid>yes the new one is htat i was asking for10:31
that10:32
* rduplain leaves10:56
* rduplain joins11:09
* rduplain leaves11:24
* ndushay joins11:46
* erikhatcher leaves12:04
* erikhatcher joins12:05
* erikhatcher leaves12:09
* bess1 joins12:15
<cbeer_>bess1: apparently Tom12:22
s email worked -- my boss suggested that i should look at going :)12:23
<BillDueber>bess1: I'm also trying to make the case. It's a whole set of technologies that we don't use here, so it's a tough sell, but I may yet prevail :-)12:27
<ndushay>cbeer++ BillDueber ++12:29
bill - you already do stuff with blacklight!
and you *should* be using the stack! Best: you come, and a make-things-happen manager comes, too.12:30
* tachyonwill_ joins12:31
<BillDueber>ndushay: No, that's on my own time :-) We don't use Ruby anywhere as of yet. 12:32
<ndushay>BillDueber: you "play" with this stuff on your own time? and I thought I was bad.
* jkeck joins12:33
<ndushay>jessie!
<jkeck>!
lol
<bess1>cbeer++ # hooray! So happy you're coming!12:35
<BillDueber>ndushay: Oh, you are bad. Mostly, though, I'm worse. It's either this or get really, really good at Bejeweled Blitz12:41
<ndushay>BillDueber: yeah, i'm embarrassed to admit that when i'm doing puzzles i sometimes quit b/c i realize my latest coding challenge is more interesting.12:42
<BillDueber>ndushay: My dad was an electrician, and was bored by it for the last 15 years he worked. I can't bitch too much about being so interested in my work-related stuff that I want to do it while the wife is grading papers. 12:43
<cbeer_>bess1: too early to say that quite yet, but i'm working on it and i have encouragement at least
<ndushay>BillDueber: I feel I am fortunate indeed to enjoy my work so much. I just need more of a life.12:57
<BillDueber>People keep telling me that my kids are young and I need to enjoy them and it all goes by so fast, but right now there are times that all Iwant to do is put them to bed and put my wife at her desk and put my head down and solve nice, simple, logical problems in a world where I know the rules. Is that so wrong??? :-)12:58
<bess1>BillDueber: that is not so wrong. *hug*13:06
<BillDueber>Hey, so, ruby-marc -- record[tag] only returns the first instance of that field?
Boy. I think I've been using that wrong.13:07
<jkeck>BillDueber: do you mean the marc gem? 13:11
<BillDueber>jkeck: Yeah. I just verified that. Just surprised me is all.
* jvenner leaves14:10
<tachyonwill_>yes14:27
* bess1 leaves14:51
* erikhatcher joins15:00
* Vahid leaves15:04
* erikhatcher leaves15:15
* mattmitchell joins15:20
jkeck: let me know if you have questions about my last reply to you.
<jkeck>mattmitchell: whoops, just sent an email to the list. Didn't see IRC.15:25
mattmitchell: it's gonna take me a bit to pull this stuff down, and play with it. I'm running down a list of to-dos today.15:26
<mattmitchell>jkeck: ok just read that.
ok
<jkeck>mattmitchell: what do you think about my comment though?
mattmitchell: I want to make sure we aren't implementing these workarounds just because something is amiss in SearchWorks.15:27
<mattmitchell>jkeck: well, i think using include is superior to loading classes anyway. require_dependency has always seemed hacky and lots of people, not just you have had problems with it.15:28
<jkeck>mattmitchell: ok, as long as it isn't just me. lol
<jamieorc>require_dependency is definitely a hak15:29
hack
<mattmitchell>jkeck: no not just you. if this does work for you, it's an easy fix. if not, we might want to talk with the rails core developers at some point.
or just get in on the rails irc and start asking
* tachyonwill_ leaves15:36
* erikhatcher joins15:43
* mattmitchell leaves15:55
<BillDueber>In ruby, how do I make sure a class can't be instantiated ('cause I only want people to use the class methods)?15:56
<jamieorc>BillDueber: will it matter?16:03
<BillDueber>jamieorc: Probably not. I decided to go with just making it a module without a class inside of it and hving people invoke it as module::method16:04
<jamieorc>yeah, that's one way, though module method is a bit of a pain cuz you have to declare each method as a module method
<BillDueber>jamieorc: I'm not sure i understood that. I just declare the method in the module and it works, right? I'm not mixing the module in anywhere, so there are no clashes. Am I missing something? (Ruby Nuby here...)16:07
* erikhatcher leaves16:09
<jamieorc>BillDueber: if I'm not mistaken, you have to declare the method as a module method16:10
<BillDueber>jamieorc: OK, I'll try to look that up. But...it works in irb , so maybe I wont bother :-)16:11
<jamieorc>http://ruby-doc.org/core/classes/Module.html#M001642
<BillDueber>jamieorc: Ah! that allows calling with a dot and not a ::
<jamieorc>yup16:12
<BillDueber>jamieorc++ # thanks!16:15
* cbeer leaves16:33
* cbeer joins16:46
* cbeer leaves
* bess joins16:50
<jamieorc>np16:51
* BillDueber leaves16:54
* cbeer joins17:04
* bess leaves17:15
<ndushay>RoR nerds ... yeah!17:21
* jamieorc leaves17:22
* bess joins18:43
* bess leaves18:56
* jkeck leaves19:09
* jkeck joins
* bess joins19:59
* jkeck leaves20:17
* bess1 joins20:19
* bess leaves
* bess1 leaves20:23
* cbeer leaves20:43
* erikhatcher joins20:55
* cbeer joins21:00
* bess joins21:16
* erikhatcher leaves21:32
* bess leaves22:06
* bess joins23:04

Generated by Sualtam