<< 16-08-2016 >>

00:46:32*ftsf_ joined #nim
00:46:44*libman quit (Remote host closed the connection)
01:27:06*chrisheller joined #nim
01:33:29*pie_ quit (Ping timeout: 260 seconds)
01:34:46*gokr quit (Ping timeout: 265 seconds)
01:35:19*chrisheller quit (Ping timeout: 252 seconds)
01:38:56*endragor joined #nim
01:40:23*ftsf quit (Remote host closed the connection)
01:41:07*ftsf_ is now known as ftsf
01:43:34*endragor quit (Ping timeout: 252 seconds)
01:49:49*chemist69 quit (Ping timeout: 260 seconds)
01:59:15*pie_ joined #nim
01:59:52*endragor joined #nim
02:01:08*nairobi joined #nim
02:02:15*nairobi_ joined #nim
02:03:08*chemist69 joined #nim
02:04:33*endragor quit (Ping timeout: 258 seconds)
02:05:34*nairobi quit (Ping timeout: 260 seconds)
02:07:03*nairobi_ quit (Ping timeout: 264 seconds)
02:15:54*brson quit (Quit: leaving)
02:16:19*endragor joined #nim
02:20:44*endragor quit (Ping timeout: 260 seconds)
02:37:31*pie_ quit (Ping timeout: 244 seconds)
03:08:43*chrisheller joined #nim
03:13:45*endragor joined #nim
03:16:25*endragor_ joined #nim
03:18:09*endragor quit (Ping timeout: 258 seconds)
03:20:32*endragor_ quit (Ping timeout: 240 seconds)
03:36:56*endragor joined #nim
03:44:21*zahary joined #nim
03:48:49*zahary quit (Ping timeout: 258 seconds)
05:14:48endragorAre there any examples of using Channels for interthread communications?
05:43:05*M-Quora quit (Read error: Connection reset by peer)
05:43:06*M-max quit (Remote host closed the connection)
05:43:06*Flox42 quit (Remote host closed the connection)
05:50:19*zahary joined #nim
05:50:44*Flox42 joined #nim
06:20:57def-endragor: https://hookrace.net/blog/writing-an-async-logger-in-nim/
06:22:47endragordef-: thanks. it uses channel as a global variable. it doesn't really scale to big multi-module apps. I'd rather have channels as fields of objects. I guess I have to use allocShared0/deallocShared and pass channel pointers between threads in such case?
06:23:45endragorI'd like to be able to pass channel to a thread when it is created
06:24:05endragorI'm using allocShared now and pass the pointer
06:24:30def-not sure if there's a better way, haven't looked into that
06:39:22*endragor quit (Remote host closed the connection)
06:40:29*pafmaf joined #nim
06:42:18*Matthias247 joined #nim
06:47:20*mcc quit (Quit: Connection closed for inactivity)
06:52:02*zahary quit (Quit: Leaving.)
06:54:52*yglukhov joined #nim
07:13:27*zahary joined #nim
07:13:34*Arrrr joined #nim
07:15:46*zahary quit (Read error: Connection reset by peer)
07:17:49*nairobi joined #nim
07:18:32*nairobi quit (Remote host closed the connection)
07:21:35*nairobi joined #nim
07:25:26*Matthias247 quit (Read error: Connection reset by peer)
07:31:22*Trustable joined #nim
07:33:51*bjz joined #nim
07:33:57*endragor joined #nim
07:37:01*endragor quit (Remote host closed the connection)
07:40:29*brechtm joined #nim
07:40:50*endragor joined #nim
07:48:18*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:02:37*gokr joined #nim
08:09:33*endragor quit (Remote host closed the connection)
08:10:41*M-Quora joined #nim
08:10:49*M-max joined #nim
08:14:18Flox42please be aware that the times module and threads doesn't work very well with each other under posix
08:15:20Flox42https://github.com/nim-lang/Nim/issues/3642
08:15:41*endragor joined #nim
08:31:28*bjz joined #nim
08:39:02*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:47:36*endragor quit (Remote host closed the connection)
08:58:12*endragor joined #nim
08:58:56*bjz joined #nim
08:59:33*endragor quit (Remote host closed the connection)
09:01:15*endragor joined #nim
09:40:05*euantor joined #nim
10:00:14*Demon_Fox quit (Quit: Leaving)
10:06:48*desophos quit (Read error: Connection reset by peer)
10:17:37*nairobi quit (Read error: Connection reset by peer)
10:18:06*nairobi joined #nim
10:35:10*nairobi quit (Read error: Connection timed out)
10:36:39*nairobi joined #nim
10:53:17*nairobi quit (Read error: Connection timed out)
10:58:15*nairobi joined #nim
11:02:31*elrood joined #nim
11:15:48*Arrrr quit (Read error: Connection reset by peer)
11:51:06cheatfateendragor, i really want to help you but i can't reproduce it properly my `lldb` just show me `error: initial process state wasn't stopped: exited`
11:51:18cheatfateeven with latest example
11:55:28cheatfatebut i'm not too good with lldb
11:59:54*arnetheduck joined #nim
12:09:58*nairobi quit (Remote host closed the connection)
12:14:09*nairobi joined #nim
12:18:45*nairobi quit (Remote host closed the connection)
12:21:00endragorcheatfate: thanks! I guess we should wait for Araq.
12:22:24endragorthere are some other severe bugs with multithreading in a bigger program (GC-related), but that one should be dealt with first.
12:23:49cheatfateendragor, the main problem i have found that looks like clang don't support natively thread local storage
12:25:04endragorcheatfate: that program compiles fine with tlsEmulation:off, and it crashes regardless of the tlsEmulation flag
12:27:12cheatfateendragor, do you use default GC?
12:27:16endragoryes
12:32:16*pafmaf quit (Ping timeout: 250 seconds)
12:50:09*boop quit (Ping timeout: 276 seconds)
12:55:03*nsf quit (Quit: WeeChat 1.5)
12:57:01*brechtm quit (Remote host closed the connection)
13:11:29*brechtm joined #nim
13:12:04*nairobi joined #nim
13:13:08*ftsf quit (Quit: :q!)
13:16:48*nairobi quit (Ping timeout: 276 seconds)
13:37:21*PMunch joined #nim
13:59:46*fastrom joined #nim
14:06:49*nairobi joined #nim
14:12:43*nairobi quit (Ping timeout: 265 seconds)
14:41:22*pregressive joined #nim
15:08:25*nairobi joined #nim
15:13:13*endragor quit (Remote host closed the connection)
15:14:13*StarBrilliant quit (Ping timeout: 258 seconds)
15:16:16*StarBrilliant joined #nim
15:19:06*fastrom1 joined #nim
15:19:43*fastrom quit (Read error: Connection reset by peer)
15:38:24*libman joined #nim
15:42:50*euantor quit (Quit: Leaving)
15:46:13*brechtm quit (Remote host closed the connection)
16:03:17*irrequietus joined #nim
16:14:15*nairobi quit ()
16:37:00*yglukhov quit (Ping timeout: 276 seconds)
16:39:21*brechtm joined #nim
16:43:30*space-wizard joined #nim
16:44:04*brechtm quit (Ping timeout: 260 seconds)
16:49:25*chrisheller quit (Ping timeout: 252 seconds)
16:52:49*chrisheller joined #nim
16:53:58*nsf joined #nim
17:04:54*zahary joined #nim
17:05:11*brson joined #nim
17:12:41*fastrom1 quit (Quit: Leaving.)
17:12:59*fastrom joined #nim
17:13:27*fastrom quit (Client Quit)
17:13:30*shodan45 joined #nim
17:23:35*pafmaf joined #nim
17:29:09*brechtm joined #nim
17:30:25*Sentreen quit (Read error: Connection reset by peer)
17:30:51*Sentreen joined #nim
17:42:16*yglukhov joined #nim
17:42:59*chrisheller quit (Remote host closed the connection)
17:45:26*libman quit (Remote host closed the connection)
17:46:07*brechtm quit (Remote host closed the connection)
17:47:12*yglukhov quit (Ping timeout: 276 seconds)
17:58:01*euantor joined #nim
18:00:15*yglukhov joined #nim
18:02:46*yglukhov quit (Remote host closed the connection)
18:09:10*euantor quit (Remote host closed the connection)
18:11:32*euantor joined #nim
18:26:41*yglukhov joined #nim
18:32:33*kulelu88 joined #nim
18:37:11*PMunch quit (Read error: Connection reset by peer)
18:44:41*Trioxin joined #nim
18:47:37*brson quit (Quit: leaving)
18:49:49*irrequietus quit (Read error: Connection reset by peer)
18:50:01*irrequietus joined #nim
18:54:58*desophos joined #nim
18:56:24*brson joined #nim
19:04:57*chrisheller joined #nim
19:05:53dyce_is there a way to tell nimble to install the required packages in a .nimble file
19:07:03euantorBuilding a project should do it I believe
19:07:38*shodan45 quit (Quit: Konversation terminated!)
19:08:33*pregressive quit (Read error: Connection reset by peer)
19:08:56*pregressive joined #nim
19:10:59*_stowa joined #nim
19:13:41*fredrik92 joined #nim
19:18:56*chrishel_ joined #nim
19:18:56*chrisheller quit (Read error: Connection reset by peer)
19:19:55*_stowa quit (K-Lined)
19:25:52*Matthias247 joined #nim
19:28:37dom96dyce_: nimble build in the package's dir
19:28:41dom96or nimble install
19:38:11*miere joined #nim
19:40:16*namnguyen_ is now known as namnguyen
19:48:40*pafmaf quit (Quit: Leaving)
19:53:29*PMunch joined #nim
20:03:53*vendethiel joined #nim
20:10:47*apollo joined #nim
20:10:47*Trioxin quit (Ping timeout: 265 seconds)
20:18:30*der-landgraf quit (Quit: WeeChat 1.5)
20:28:13*endragor joined #nim
20:32:33*endragor quit (Ping timeout: 240 seconds)
20:33:39*fastrom joined #nim
20:35:19*chrishel_ quit (Remote host closed the connection)
20:35:55*chrisheller joined #nim
20:40:25*chrisheller quit (Ping timeout: 252 seconds)
20:43:15*brechtm joined #nim
20:50:34*zahary quit (Ping timeout: 250 seconds)
20:50:47*der-landgraf joined #nim
20:52:47*apollo quit (Quit: Konversation terminated!)
20:53:07*apollo joined #nim
20:58:28*euantor quit ()
21:03:46*Ven joined #nim
21:06:11*apollo quit (Read error: Connection reset by peer)
21:09:01*Demon_Fox joined #nim
21:11:00*apollo joined #nim
21:11:40*Trustable quit (Remote host closed the connection)
21:22:13*endragor joined #nim
21:26:33*endragor quit (Ping timeout: 240 seconds)
21:32:07*gokr quit (Ping timeout: 244 seconds)
21:35:35*brechtm_ joined #nim
21:36:27*okami quit (Quit: 1.5)
21:37:43*gokr joined #nim
21:38:40*brechtm quit (Ping timeout: 244 seconds)
21:39:37*okami joined #nim
21:44:26*yglukhov quit (Remote host closed the connection)
21:49:53*michael_campbell quit (Quit: My Mac has gone to sleep. ZZZzzz…)
21:50:21*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:52:36*brechtm_ quit (Remote host closed the connection)
21:56:58*Ven joined #nim
22:01:54*fastrom quit (Quit: Leaving.)
22:02:00*Ven quit (Ping timeout: 276 seconds)
22:06:00*apollo quit (Read error: No route to host)
22:06:41*okami quit (Quit: 1.5)
22:06:51*okami joined #nim
22:10:45*apollo joined #nim
22:12:31*okami quit (Quit: 1.5)
22:16:28*okami joined #nim
22:18:16*brechtm joined #nim
22:19:30*endragor joined #nim
22:20:40*pregressive quit (Remote host closed the connection)
22:21:14*pregressive joined #nim
22:23:03*apollo is now known as Trioxin
22:23:15*brechtm quit (Ping timeout: 264 seconds)
22:23:47*endragor quit (Ping timeout: 244 seconds)
22:24:24Trioxinno nimble packages for microphone input :(
22:25:28*pregressive quit (Ping timeout: 252 seconds)
22:26:08ldleworkTrioxin: find a c library
22:26:10*endragor joined #nim
22:26:13ldleworkc2nim it
22:26:19ldlework???
22:26:21ldleworkProfit!
22:27:10Trioxinhmm
22:27:40Trioxinhow much "Tweak by hand" will there be I wonder lol
22:29:10*elrood quit (Quit: Leaving)
22:31:15*endragor quit (Ping timeout: 276 seconds)
22:33:35Trioxineh. i haven't even become super good in nim yet to be doing this
22:37:36*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
22:42:17*fredrik92 quit (Read error: Connection reset by peer)
22:46:03*Matthias247 quit (Read error: Connection reset by peer)
22:48:00*gokr quit (Ping timeout: 250 seconds)
22:48:52*libman joined #nim
22:50:57*fredrik92 joined #nim
22:51:05*okami quit (Quit: 1.5)
22:51:24*okami joined #nim
22:55:19*bjz joined #nim
22:58:02Trioxinsweet. finally got nimx working good
23:03:02*bjz quit (Ping timeout: 258 seconds)
23:05:58*Trioxin quit (Read error: Connection reset by peer)
23:10:43*Trioxin joined #nim
23:13:14Trioxinwhat should I use to loop through a huge text file like over a gig in size? I have a feeling not readFile()
23:15:12Trioxinwill readLine() load the whole file first?
23:28:39*arnetheduck quit (Ping timeout: 264 seconds)
23:28:57*irrequietus quit ()
23:29:26cheatfateTrioxin, it depends...sometimes better to use mmap, sometimes readLine()
23:30:55*PMunch quit (Quit: leaving)
23:44:38*fredrik92 quit (Quit: Shutting down . . .)
23:45:13libmanHis Majesty the hyperpedantic BDFL of copyfreedom is angry at nimx... "Until I see the text of the license, I don't know what license 'BSD' actually means to these people."
23:46:09libman(If you thought I was anal, believe me, I'm several orders of magnitude less zealous than some of the other guys.)
23:48:05libmanI take it there's no licensing information beyond "BSD" in https://github.com/yglukhov/nimx/blob/master/nimx.nimble?
23:48:41libmandom96: Maybe nimble can have an explicit lookup dictionary of what those license strings actually point to.
23:50:48*miere quit (Read error: Connection reset by peer)
23:53:18libmanProposed feature: `nimble license nimx` would open Web browser with the text of the license.
23:55:24libmanNote there's no plain "BSD" in https://spdx.org/licenses/ because there are many variants, but there is plain "MIT".
23:59:23Trixar_zaI have given licenses an look before, but recently I was looking at Tuxfamily and been rethinking all that again. For example a custom built Linux would need (using something like buildroot) would require a GPL compatible license for it's kernel and packages or hosts like TuxFamily wouldn't allow hosting for it.