[00:01:16] * ptrkriz [ptrkriz!~ptrkriz@81.4.110.225] has joined the channel. [00:01:19] hi [01:03:40] I'm afraid I'm not sure how insert-tuple works :| [01:04:50] there's "things" in tuples-tests.factor or wherever, and I tried to do something like "things ensure-table" and "1 2 things boa insert-tuple" and "2 3 things boa insert-tuple" but all I get is an error, supposedly it's because that's not how it works [01:05:01] I just want to create a table and insert rows [01:05:22] so far all I've gotten is creating a table [01:06:17] of course I created because that looks better instead of using boa, but yeah same result, because I believe I'm using it wrong to begin with [01:07:31] I got : foo.db ( -- sqlite-db ) path ; and I do foo.db [ [ things ensure-table ] with-transaction ] with-db [01:07:55] which works, but I can't do insert-tuple after "things ensure-table" which I thought I could [01:08:13] I even tried things ensure-table [ 1 2 things boa insert-tuple ] with-transaction but no luck [01:17:31] if someone could give me an example code that inserts 2 tuples into an sqlite database (with-transaction), that would be much appreciated, I really wonder what I'm doing wrong... also mind you: I'm using executable only, maybe that's the issue [01:17:45] I'll try it from the Listener instead [01:18:13] (but it must work using executables too though, unless I ran into another bug butidk) [01:22:26] hmm this actually might be an executable issue... with lvl 5 I dont get an error [01:22:32] and it seems to have inserted that I wanted [01:22:37] ugh [01:26:26] but yeah I do get an error with lvl 1, no error with lvl 5, I'll debug this one too because something seems fishy [01:31:48] lvl 6* [01:33:06] well, it does work with lvl 6 indeed [01:33:25] I did a "select * from THINGS" sql-query ." and it returns what I want [01:33:43] now the problem is, it doesn't work with lvl 1...... [01:33:48] gotta find out why [01:35:26] I'm gonna keep increasing the level and see what's up [01:35:51] I forgot how I figured out the issue last time that caused a similar problem lol [01:37:34] code is straightforward, it's just sqlite and with-db, with-transaction, recreate-table, insert-tuple, and sql-query (for printing out the inserted tuples) [01:37:51] runs with lvl 6, doesn't work with lvl 1, let's see lvl 2 [01:38:11] doesn't work but at least the data stack and call stack is more useful [01:42:07] ok so, lvl 4 returns someting completely else, lets see [01:45:02] Doesn't work with lvl 1-4, works with lvl 5-6 [01:45:36] (as in, running executable foobar works as intended >= lvl 5 reflection level) [01:57:15] where's erg :S [01:59:32] In any case: (1 - reflection level 1-3) https://slexy.org/view/s21qsXPofR (2 - reflection level 4) https://slexy.org/view/s2HtSgQkOk (3 - reflection level 5-6) https://slexy.org/view/s2PU5K75AQ (4 - source code) https://slexy.org/view/s28Q3ijrvv [01:59:54] it works with reflection level 5-6, but not below [02:00:08] I'm pretty sure it's a bug, but I'm not sure if similar to the previous one I've found [02:00:19] too tired to debug it so it'll have to wait [02:01:19] hopefully erg will have an idea :/ [02:06:07] <^alex> oh! [02:06:09] <^alex> we encountered this [02:06:27] <^alex> we just got around it by running with the highest reflection level [02:12:43] yeah I know, it works that way, but I encountered a similar bug which could be fixed really easily [02:12:46] so this one may be fixed too [02:12:53] I'd rather prefer that it worked with lvl 1 :D [02:13:23] but this time it's not so obvious (to me) what the issue is [02:14:00] the previous one was that db.facor included some unused vocab in USING: which caused it to fail below 4 or 5 [02:15:56] the previous bug could be reproduced easily: the executable didn't run with reflection level below 4-5 if you included "db" in "USING:" [02:16:02] (even if you didn't use it) [02:16:26] anyway, gotta fix this one too because I really wanna have insert-tuple working with lvl 1 [02:16:43] dont want to have a 64 MB executable for no reason :p [03:57:48] https://github.com/factor/factor/issues/2329 [05:09:35] <^alex> hehe [05:09:45] <^alex> we were deploying to precisely one user, and 64mb wasn't a huge problem [05:09:50] <^alex> so we didn't chase it too hard [05:09:52] <^alex> thanks tho [07:15:22] * ephe_meral [ephe_meral!~amnesia@p200300f4bf16a42555be751818448c06.dip0.t-ipconnect.de] has joined the channel. [07:46:25] * Sgeo [Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net] has quit (Read error: Connection reset by peer). [11:51:37] * ephe_meral [ephe_meral!~amnesia@p200300f4bf16a42555be751818448c06.dip0.t-ipconnect.de] has quit (Ping timeout: 244 seconds). [12:40:50] * mokulus [mokulus!~mat@176.111.229.124] has quit (Quit: WeeChat 2.9). [14:38:18] * Sgeo [Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net] has joined the channel. [14:45:03] * root [root!~root@104.248.121.4] has joined the channel. [14:45:28] * root is now known as Guest84035 [14:48:37] * root____ [root____!~root@104.248.121.4] has quit (Ping timeout: 240 seconds). [15:18:04] * tgunr [tgunr!~davec@dsl-dhcp-conrtxxahre-76-164-103-181.consolidated.net] has joined the channel. [15:39:21] * ephe_meral [ephe_meral!~amnesia@ip5f5bf7d1.dynamic.kabel-deutschland.de] has joined the channel. [18:35:09] * proteusguy [proteusguy!~proteusgu@cm-58-10-208-180.revip7.asianet.co.th] has quit (Ping timeout: 258 seconds). [18:47:26] * proteusguy [proteusguy!~proteusgu@cm-58-10-208-180.revip7.asianet.co.th] has joined the channel. [19:41:06] * ephe_meral [ephe_meral!~amnesia@ip5f5bf7d1.dynamic.kabel-deutschland.de] has quit (Ping timeout: 256 seconds). [21:38:33] * FreeFull [FreeFull!~freefull@defocus/sausage-lover] has quit. [22:00:03] * xelxebar [xelxebar!~xelxebar@gateway/tor-sasl/xelxebar] has quit (Ping timeout: 240 seconds). [22:01:13] * xelxebar [xelxebar!~xelxebar@gateway/tor-sasl/xelxebar] has joined the channel.