Wednesday, 2009-04-08

*** mull__ has quit IRC00:29
*** toumi01 has left #ingres02:34
*** rossand has joined #ingres03:45
*** ChanServ sets mode: +o rossand03:45
*** rossand has quit IRC05:05
*** flyer has joined #ingres06:42
*** grantc is now known as grantc_offline06:42
*** flyer_ has quit IRC06:44
*** grantc_offline is now known as grantc06:58
*** notdefault is now known as withdefault07:09
*** pleemans has joined #ingres08:13
*** MagnusG| has joined #ingres08:33
grantcdoes anyone know of a way to automatically connect to a specified database if non is provided to a command. For example - if i issue the command "isql" it goes to a predefined db?10:26
pboromake it an alias?10:27
grantci was looking for something more generic10:28
pborooh, something that's provided by Ingres itself?10:28
grantcspecifically this is for PHP i.e. openapi10:28
grantcyup10:28
pboroah :)10:28
grantcthere is an ini setting sql_safe_mode10:28
pboroHi MagnusG|, haven't seen you for a long time10:28
grantcwhilst there is no docs for that setting the code says it should connect to the default database...10:30
grantcin the case of MySQL it connects to the localhost server10:30
pborowithout a selected database? or some default database (which is... what?)?10:30
grantcwith mysql  you can either go to a database or something higher level that lets you select the database10:31
pboroyup10:31
grantclike a db command prompt10:31
pboroyeah, in mysql util you can just start it by "mysql" and then type "use dbname" to choose the db10:32
grantcindeed - since we/Ingres does not have that facility I need to work out how to implement this "feature" (it's been in the code for 8+years and never worked afaict) or remove it...10:34
grantci like plan b10:34
pboroimplement it internal to the driver? ;) don't connect before the user calls ingres_select_db etc.? what a kludge would that be tho'...10:34
grantcingres_select_db is another problem i have to resolve.. :)10:35
pboroI remember you talking about it :)10:35
grantcbut this is just dealing with sql_safe_mode...10:35
grantcanother (unrealated) Q - has anyone here used AmazonS3 ?10:46
withdefaultgrantc, kind of10:49
grantcvia the appliance i guess?10:49
withdefaultyes10:50
grantci am looking a an off-site backup solution, several of which feature S3 as their backend10:51
pborosounds interesting10:52
grantci use dropbox for work with their free 2GB account - 50GB from them is $9.99/m or $99/yr10:53
grantcor JungleDisk which is $2/month+ $.18/GB10:53
grantcdropbox is good for automatically syncing - for example i edit the php ingres extension on linux save the changes and those files get replicated to each PC which has the client installed and is linked to my account.10:54
grantcsaves me having to futz about with samba/rsync ...10:55
pborodon't they charge for data transfer too?10:55
grantcdropbox - no for the 2GB account its completely free10:55
grantcfor now10:55
pboroah, ok10:56
grantclooking at it for 50GB DB is cheaper since the equivalent in JD is $1110:56
grantcnot sure I want to commit to a year...10:56
MagnusG|Hi pboro, No it's a long time since I was connected here. Been busy with User group and other things.11:24
*** Gerhard has joined #ingres12:50
*** rossand has joined #ingres12:57
*** ChanServ sets mode: +o rossand12:57
grantcpboro, that valgrind php link you sent has been really useful13:00
grantcUSE_ZEND_ALLOC=0 has shown a "few"TM problems with the driver.13:01
grantcshown up rather...13:01
pborooh, cool :)13:02
grantca few too many but that is another issue...13:02
pboro:D13:03
pborodoh, I wish there was a maintainer for Ingres Hibernate Dialect13:03
grantci believe we maintain it...13:04
pboroit does work, but it's not really up to date13:04
grantcah13:04
pborothe latest version is for r3 :) i.e. the ca version of 2006...13:04
grantcis it just missing stuff for 9.2/9.3?13:05
pboromostly, I have not yet dug deeper13:05
grantcwithdefault, do you use it for jasper?13:06
grantcvia spring etc..13:06
withdefaultyes but there are issues13:11
grantc such as?13:11
withdefaultit doesn't honour the date_alias setting when creating schemas13:12
grantcopenapi problem?13:13
pboroI guess it's a type handling problem... I guess Hibernate has no ways to handle such alias types?13:14
withdefaultthere are also various problems highlighted with some of the certifications which have custom dialect changes which becomes a huge maintenance issue.13:15
withdefaultI've been discussing with some of the developers how this can be handled and it requires that there are multiple versions of the dialect for various versions of Ingres13:16
grantccould we publish the different dialects to maven?13:17
pborooh, that's sad :/ I wonder if JDBC driver is able to know the version of Ingres so that it could still automatically choose correct dialect13:17
pboroi.e. you could just get the all dialects and Hibernate choses the correct one based some information from the driver / dbms13:18
withdefaultthere is a mechanism for the dialect to query the jdbc metadata about the version of Ingres but that requires a running Ingres instance and the schema creation doesn't have to13:18
grantcpboro, what about installations that use ingres_date vs ansidate13:18
pborograntc, don't know about that13:19
pborowithdefault, ahh, yes... you're right13:19
grantcfrom what withdefault is saying I guess even that could be an issue13:19
pborograntc, seems so13:19
grantctroal01, are you about¿13:20
troal01Is that a question? I don't know how to read upside down question marks :D13:24
pboro:D13:24
grantcam doing stretching exercises and my little pinky went a bit too far..13:24
grantci might have  a patch for your segv...13:24
troal01Hehehe, never seen a Spanish keyboard myself :)13:24
troal01Ohhhhhh yay13:24
grantchttp://ingres.pastebin.com/m78705e5a - the patch is for something else but i fixed a bunch of memory issues i came across, tks to pboro13:26
troal01pboro: THANKS!13:26
grantccheckout head-revs then apply the patch13:26
troal01Will do13:26
troal01Heh have to install CVS13:28
troal01I have SVN and GIT, not CVS13:28
grantc:)13:28
troal01Grr pastebin cuts out the @@ in the patch13:34
grantcare you signed in to im?13:35
troal01It's okay regex FTW, but thanks anyway :D13:37
troal01:%/s\(^ -\d*,\)/@@\1/13:38
troal01Go vim13:38
troal01:p13:38
* troal01 waits for flames from emacs users13:38
pboro:D13:38
pboroVi should be enough for everyone ;)13:38
* troal01 agrees with pboro13:43
pboroit was a pretty astonishing moment when I first time executed vi13:44
pborolike... "ftw, how do I get out" :D13:44
troal01LOL!13:44
troal01I had teh same meomeny13:44
troal01moment even13:45
troal01esc esc esc esc13:45
troal01ctrl c ctrl c ctrl c13:45
troal01god dammit13:45
pborohehe :)13:45
troal01I had used pico/nano before that, ctrl q ctrl q ctrl q13:45
pboroyeah, me too13:45
troal01Once you get used to vi's commands though, mmm nice13:46
troal01In your face notepad!13:46
pboroI will never get used to Solaris' sh13:47
pboroit's still the default and it's horrible :D13:47
troal01I have little experience with Solaris, used it in school once and that's about it13:47
troal01We had to use the zeus web server13:47
pboroand all the other Solaris tools too... like df, ls etc... GNU versions are superior in usability and features13:48
pboroit's like comparing Ingres to PostgreSQL!13:48
troal01Hehe! Sun is in a bit of disarray right now, IBM pulled their offer13:55
troal01Monday it was I think13:55
pboroYup, I guess HP and Cisco are the other possible candicates to buy Sun13:56
pboroalthough it is unknown why IBM really cut the offer, what kind of monsters hide beneath the sun of Sun...13:56
grantcinteresting op-ed in the register - http://www.theregister.co.uk/2009/04/08/sun_bonuses_ibm/13:58
troal01LOL @ pboro, yeah no kidding, what evils are yet to be uncovered!14:03
pborograntc, good one, thanks14:04
grantcyou never know the truth in these things and whether "interested" parties are spiking the romour mill. the same thing happened with Ingres14:08
grantcin our case G+H or people connected with passed on a supposed rumour to a journalist (the questionable one who outed PJ from groklaw) who printed it as fact...14:10
pboroouch14:10
grantcjust like hunters make noise to scare game :)14:11
grantci cannot remember if the rumour was based on an off the cuff remark by swainson, the CA CEO, or was fabricated which then prompted the remark.14:14
*** toumi01 has joined #ingres14:29
*** Gerhard has quit IRC15:11
*** MagnusG| has quit IRC15:18
*** DarylM has joined #ingres15:20
troal01DarylM: I can use pentaho if I don't try to create a repository15:29
troal01Use spoon to write some transformation stuff, then run it15:29
troal01It works beautifully, quite a neat tool15:29
DarylMInteresting.  Now that you describe it that way, I think perhaps I ignored their built in repository also.  Sigh.  Doing too many things at once ..... ;)15:30
*** mull_ has joined #ingres15:31
troal01No problem at all, now I need to learn how to build transformation files by hand :D15:31
troal01You're not 1337 if you don't do shit by hand15:31
DarylMlol15:31
DarylMI "cut my teeth" throwing toggle switches on a PDP-8.  Doing things "by hand" is second nature. :D15:32
grantcmust resist...15:33
* DarylM chuckles to himself15:33
* troal01 is in awe of DarylM's geekiness, hoping he can achieve such a feat one day15:34
grantctroal01, any luck with that patch?15:53
troal01grantc: haven't gotten to it yet, I'm multitasking heh... I'll definitely try it before the end of the day15:56
grantcok - i am OOTO tomorrow/friday for easter15:56
troal01Alright, how long wil lyou be on today?15:57
grantcthe next hour :)15:58
grantci have some technical support duties to perform :(15:58
troal01Okay I'll shuffle some things around, trying your patch next :)15:58
grantcthere's no hurry for my part... i was just wondering15:59
troal01I'm kind of excited for it15:59
grantcwhat ever floats your boat :)15:59
troal01Hehe yeah I know, I'm uber weird15:59
*** DerMeister has joined #ingres16:20
*** pleemans has quit IRC16:24
troal01grantc: I'm getting this coredump: http://ingres.pastebin.com/me425f7616:33
grantchmm16:35
grantcoh well, something for me to look at next week16:35
grantcthanks for trying16:35
troal01Thank you for looking into it :)16:36
grantcto be honest i did not - i saw the same segv trace when i was working on another problem. I no longer see it, i guess it was wishful thinking16:38
grantcat least the stack is new... that code relates to the ingres_unbuffered_query() change i put in16:38
grantclooking at the code i am not sure why it's there...16:38
troal01When I get a sec I might take a look at the code see if I can get any insights16:39
grantcthat would be good16:39
troal01grantc: result_ptr is a bad ptr, it's not NULL (0x38 in my machine) but will segfault if dereferencd16:46
grantcsomewhere it is being corrupted16:48
troal01Yup, hate trackign those down16:49
grantchave a good weekend all...17:10
* grantc slopes off17:10
*** grantc is now known as grantc_offline17:11
* troal01 wonders if Pentaho's counter is an i4 or i817:19
troal01AT 373million rows now, only like 1.8b rows more and I'll know! :P17:27
pboro:D17:36
troal01446 million17:53
troal01This is gonna take hours17:53
troal01Around 18.5h17:54
troal01For one table, I've got two :P17:54
troal01Although second table is marginally smaller, like 2.5b rows17:56
pborosuch a small table, yeah...17:56
troal01This is stock data, quotes and trades from the NYSE, ~200 stocks for four months17:58
troal01Imagine how much data all stocks for a year would be17:58
*** pleemans has joined #ingres17:58
pborohehe :) yeah17:58
pborohere in finland on bus company records all gps coordinates for their busses, 24/717:58
troal01Wow17:58
pboroone bus company17:58
pborothey do that a year behind... pretty scary :D17:59
pborobackwards even17:59
troal01Do they run Ingres? :D17:59
pboroyup17:59
troal01Cool!17:59
pboroheard this on IUA meeting17:59
pborotime to go shopping :) ->18:00
troal01Have fun!18:00
*** withdefault has quit IRC20:12
*** Alex|off is now known as Alex|20:34
*** rossand1 has joined #ingres20:55
*** rossand has quit IRC21:12
*** Alex| is now known as Alex|off21:41
*** pleemans has quit IRC21:55
*** DerMeister has quit IRC22:30
*** rossand1 has quit IRC22:57
*** DarylM has quit IRC23:34
*** mull_ has quit IRC23:52

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