[08:27:32] * delvinj [delvinj!~Miranda@c-73-164-9-150.hsd1.mn.comcast.net] has quit (Ping timeout: 260 seconds). [11:21:20] * xkapastel [xkapastel!uid17782@gateway/web/irccloud.com/x-udpvbtqgkddvxpwx] has quit (Quit: Connection closed for inactivity). [13:14:25] * mahmudov [mahmudov!~milisman@37.155.1.209] has joined the channel. [13:23:23] * Sonderblade [Sonderblade!~bjourne@n148-p136.eduroam.kth.se] has joined the channel. [13:33:37] * delvinj [delvinj!~Miranda@c-73-164-9-150.hsd1.mn.comcast.net] has joined the channel. [13:36:31] * mahmudov [mahmudov!~milisman@37.155.1.209] has quit (Remote host closed the connection). [15:10:52] * Sonderblade [Sonderblade!~bjourne@n148-p136.eduroam.kth.se] has quit (Quit: Konversation terminated!). [15:45:53] * Sgeo [Sgeo!~Sgeo@ool-18b98dd9.dyn.optonline.net] has quit (Read error: Connection reset by peer). [15:46:20] * Sgeo [Sgeo!~Sgeo@ool-18b98dd9.dyn.optonline.net] has joined the channel. [15:54:58] * Sgeo_ [Sgeo_!~Sgeo@ool-18b98dd9.dyn.optonline.net] has joined the channel. [15:57:22] * Sgeo [Sgeo!~Sgeo@ool-18b98dd9.dyn.optonline.net] has quit (Ping timeout: 265 seconds). [17:11:44] * tgunr [tgunr!~tgunr@cpe-76-173-79-121.hawaii.res.rr.com] has joined the channel. [17:20:25] * xkapastel [xkapastel!uid17782@gateway/web/irccloud.com/x-ccxdcqmnbqreikvh] has joined the channel. [17:55:35] * mahmudov [mahmudov!~milisman@37.155.1.209] has joined the channel. [17:56:16] while factor compiling should it requirre git repo ? [17:56:32] i downloaded master.tar.gz from github [17:56:49] mahmudov: is there a vm/ directotry with cpp files? [17:56:50] well doesnt work "./build.sh update" [17:57:22] yeb erg [17:57:34] lemme try it so i can see too [17:58:45] https://paste.ee/p/hFRDc [17:58:56] mahmudov: there's no vm/ directory for me [17:59:18] there's not even build.sh for me [17:59:27] https://github.com/factor/factor/archive/master.tar.gz [17:59:36] i used this.it should be inside it [17:59:47] https://github.com/factor/factor/blob/master/build.sh [17:59:56] which repo are you using [18:00:10] the .tar.gz from factorcode, i can't read :p [18:00:19] * efm [efm!~efm@vpn.tummy.com] has quit (Remote host closed the connection). [18:00:23] so yeah, build.sh assumes you have a git repo and tries to update it [18:00:36] if you do ./build.sh net-bootstrap it might work [18:00:40] * efm [efm!~efm@vpn.tummy.com] has joined the channel. [18:00:50] lemme [18:01:49] https://0x0.st/smY1.txt [18:02:14] it has some broken links [18:02:40] yeah, the download link grabs your git branch XD [18:03:03] i noticed havent you release ? [18:03:04] man, i didnt know that github offers that file [18:03:15] * efm [efm!~efm@vpn.tummy.com] has left the channel. [18:03:55] https://github.com/factor/factor/releases [18:04:06] though you use official own gitweb [18:04:41] shoul i use http://downloads.factorcode.org/linux-x86-64/factor-linux-x86-64-2018-03-07-01-35.tar.gz ? [18:05:20] best ways to get factor 1) clone factorcode git or github git, 2) download from grid on factorcode and use the binary [18:05:47] github size seems high [18:05:52] i would definitely suggest developing from git [18:06:09] hn had that "measuring sizes of git repos" thing yesterday, maybe we can trim ours down [18:06:19] repo size* [18:06:19] i am preparing a factor package from stratch [18:06:31] for which distro/os? [18:08:00] milis linux [18:08:07] btw, how did you find the master.tar.gz from github? i cant seem to find a good link [18:09:18] https://0x0.st/smYj.png [18:09:40] right click it gives zip extension,i changed tar.gz so it also gives [18:10:18] thanks. so the systemwide install experience is not amazing right now, it assumes you have a personal code repo instead of a system-wide one [18:10:53] if you have suggestions as to how it should work, we are open to fixing it [18:12:02] +1 [18:19:55] btw we should use repl or listener ? [18:20:08] factor binary doesnt compile the source.? [18:20:39] maybe tricky again...if you are in the shell use the terminal shell repl, aka ./factor -run=listener, but if you double click the icon it should launch the ui [18:20:47] when i type ./factor it opens listener window [18:21:48] ok it opened in shell [18:21:53] with your command [18:23:40] there's also the 'factor' command that factors numbers. factor the language can easily do this with the math vocabularies [18:23:49] something to think about [18:24:29] https://paste.ee/p/TkPcO [18:24:35] i tried time-server example [18:24:39] whats the wrong? [18:25:56] so it should be on listening mode.isnt it? [18:26:14] one way: ./factor -run=time-server then: telnet localhost 1234 [18:26:27] another: rlwrap ./factor -run=listener then: "time-server" run [18:26:40] the server is running but you can still use the repl [18:27:29] hmm [18:27:43] time-server apparently blocks the repl. anyway, it should be working [18:28:42] rlwrap ./factor -run=listener; USE: time-server 1234 start-server [18:28:48] then servers. will show you it's running [18:29:05] the time-server main calls wait-for-server, which blocks the repl [18:31:00] lemme try [18:34:49] where is "vocabulary search path" [18:35:02] vocab-roots get [18:35:04] i placed my factor codes under work/ [18:35:22] if your source file is work/foo/foo.factor you can do USE: foo [18:35:30] hm ok [18:36:43] ./factor/work/hello/hello.factor [18:36:49] doesnt work when i type hello [18:37:24] sorry [18:37:30] ok i used with USE: [18:37:36] the hello.factor file could be: USING: io ; IN: hello : hello ( -- ) "hello" print ; MAIN: hello [18:37:41] then you'd do "hello" run [18:37:44] or USE: hello hello [18:37:52] IN: scratchpad USE: hello [18:37:53] Loading resource:work/hello/hello.factor [18:37:53] IN: scratchpad [18:38:11] USE: just loads the code, you have to call the word you defined [18:38:16] hm [18:39:01] https://paste.ee/p/Lu7zD [18:39:58] it's not in scope yet until you USE: the vocab alone on a line. if you hit ``:1`` it will "restart" the code with hello-world in scope [18:40:08] USE: hello hello [18:40:09] :1 [18:40:12] OR USE: hello [18:40:13] hello [18:41:22] USE: hello then hello doesnt work [18:41:26] but first one worked [18:41:34] USE: hello hello then :1 [18:43:25] %25 cpu 240mb ram usage when i test webcalculator [18:43:30] is it normal ? [18:43:47] it's probably still loading the web vocabs [18:43:59] USE: hello hello [18:44:02] it should use 0% cpu after it loads them [18:44:06] sorry [18:44:13] calculator.factor [18:44:15] the memory footprint is usually pretty large, yes [18:44:17] hm [18:44:39] you can also ``save`` the image after loading so that next time you restart the code is ready to go [18:45:20] do you mean this: factor.image [18:45:21] ? [18:45:53] yes, that will get overwritten with whatever you have loaded [18:46:07] (another reason that a system-wide install is weird, which factor.image should it use?) [18:47:33] <^alex> ~/.config/factor/factor.image imo [18:47:34] <^alex> ;) [18:48:38] factor.image acts as a vm of factor lang ? [18:49:30] the VM is c++ which compiles to ./factor and the image is the compiled factor code that the VM runs [18:49:53] it's like Squeak (smalltalk) [19:15:36] * mahmudov [mahmudov!~milisman@37.155.1.209] has quit (Ping timeout: 256 seconds). [19:57:33] * MDude [MDude!~MDude@c-73-187-225-46.hsd1.pa.comcast.net] has quit (Quit: Going offline, see ya! (www.adiirc.com)). [20:14:22] * tgunr [tgunr!~tgunr@cpe-76-173-79-121.hawaii.res.rr.com] has quit (Ping timeout: 245 seconds). [20:57:54] * tgunr [tgunr!~tgunr@2607:fb90:1e1a:11ee:6d24:16c7:27ce:9385] has joined the channel. [22:14:13] * tgunr [tgunr!~tgunr@2607:fb90:1e1a:11ee:6d24:16c7:27ce:9385] has quit (Ping timeout: 240 seconds). [22:15:20] * tgunr [tgunr!~tgunr@cpe-76-173-84-162.hawaii.res.rr.com] has joined the channel. [22:21:23] * _tgunr [_tgunr!~tgunr@cpe-76-173-84-162.hawaii.res.rr.com] has joined the channel. [22:22:24] * tgunr [tgunr!~tgunr@cpe-76-173-84-162.hawaii.res.rr.com] has quit (Ping timeout: 260 seconds). [22:30:10] * _tgunr [_tgunr!~tgunr@cpe-76-173-84-162.hawaii.res.rr.com] has quit (Remote host closed the connection). [22:31:12] * tgunr [tgunr!~tgunr@cpe-76-173-84-162.hawaii.res.rr.com] has joined the channel. [22:51:12] * _tgunr [_tgunr!~tgunr@2605:e000:1128:41a:f956:9fe3:fd79:d67f] has joined the channel. [22:53:21] * tgunr [tgunr!~tgunr@cpe-76-173-84-162.hawaii.res.rr.com] has quit (Ping timeout: 248 seconds). [22:54:27] * tgunr [tgunr!~tgunr@2605:e000:1128:41a::1001] has joined the channel. [22:55:33] * _tgunr [_tgunr!~tgunr@2605:e000:1128:41a:f956:9fe3:fd79:d67f] has quit (Ping timeout: 240 seconds). [23:31:12] * Sgeo_ [Sgeo_!~Sgeo@ool-18b98dd9.dyn.optonline.net] has quit (Read error: Connection reset by peer). [23:33:00] * Sgeo [Sgeo!~Sgeo@ool-18b98dd9.dyn.optonline.net] has joined the channel.