00:11:00 | * | sorakun quit (Remote host closed the connection) |
00:11:06 | * | Jesin joined #nim |
00:19:10 | * | alexsystemf__ joined #nim |
00:19:25 | * | user2 joined #nim |
00:22:02 | * | DecoPerson_ joined #nim |
00:52:42 | * | libman quit (Remote host closed the connection) |
01:20:23 | * | PMunch quit (Ping timeout: 250 seconds) |
01:32:11 | * | yglukhov joined #nim |
01:36:27 | * | yglukhov quit (Ping timeout: 244 seconds) |
01:41:21 | * | dhk quit (Quit: Leaving) |
01:42:51 | * | ludocode quit (Read error: Connection reset by peer) |
01:43:10 | * | ludocode joined #nim |
01:50:41 | * | user2 quit (Quit: WeeChat 1.1.1) |
01:51:28 | * | user2 joined #nim |
01:52:38 | * | saml_ quit (Quit: Leaving) |
01:57:49 | * | user___ joined #nim |
01:59:36 | * | user2 quit (Ping timeout: 246 seconds) |
02:00:32 | * | user___ quit (Client Quit) |
02:07:53 | * | yglukhov joined #nim |
02:12:30 | * | yglukhov quit (Ping timeout: 272 seconds) |
02:17:29 | * | Jesin quit (Quit: Leaving) |
02:32:25 | * | zahary quit (Read error: Connection reset by peer) |
02:33:00 | * | zahary joined #nim |
02:47:56 | * | zahary quit (Ping timeout: 244 seconds) |
02:50:12 | * | zahary joined #nim |
02:52:59 | * | yglukhov joined #nim |
02:57:28 | * | yglukhov quit (Ping timeout: 264 seconds) |
03:01:22 | * | |2701 quit (Quit: Connection closed for inactivity) |
03:15:14 | * | ratiotile quit (Quit: Leaving) |
03:17:36 | * | yglukhov joined #nim |
03:22:15 | * | yglukhov quit (Ping timeout: 276 seconds) |
03:42:06 | * | yglukhov joined #nim |
03:46:42 | * | yglukhov quit (Ping timeout: 260 seconds) |
03:50:59 | * | Jesin joined #nim |
04:06:15 | * | user2 joined #nim |
04:06:34 | * | yglukhov joined #nim |
04:11:03 | * | yglukhov quit (Ping timeout: 240 seconds) |
04:31:10 | * | yglukhov joined #nim |
04:32:41 | * | endragor joined #nim |
04:35:21 | * | yglukhov quit (Ping timeout: 246 seconds) |
04:42:31 | * | redalastor quit (Quit: Page closed) |
05:07:32 | * | yglukhov joined #nim |
05:12:45 | * | yglukhov quit (Ping timeout: 276 seconds) |
05:13:49 | * | darius93 quit (Ping timeout: 252 seconds) |
05:16:03 | * | M-Quora quit (Ping timeout: 240 seconds) |
05:16:48 | * | saml quit (Ping timeout: 272 seconds) |
05:19:39 | * | darius93 joined #nim |
05:21:51 | * | M-Quora joined #nim |
05:32:35 | * | yglukhov joined #nim |
05:36:41 | * | yglukhov quit (Ping timeout: 240 seconds) |
05:52:28 | * | user2 quit (Quit: WeeChat 1.5) |
06:01:49 | * | gokr quit (Ping timeout: 260 seconds) |
06:09:07 | * | yglukhov joined #nim |
06:13:19 | * | cheatfate quit (Read error: Connection reset by peer) |
06:13:33 | * | yglukhov quit (Ping timeout: 244 seconds) |
06:13:36 | * | cheatfate joined #nim |
06:18:10 | * | askatasuna quit (Ping timeout: 252 seconds) |
06:19:40 | * | saml joined #nim |
06:22:37 | * | filcuc joined #nim |
06:22:39 | * | endragor_ joined #nim |
06:23:56 | * | askatasuna joined #nim |
06:25:00 | * | endragor quit (Ping timeout: 250 seconds) |
06:27:02 | * | autumnl quit (Read error: Connection timed out) |
06:27:56 | * | Demon_Fox joined #nim |
06:31:51 | * | yglukhov joined #nim |
06:36:28 | * | yglukhov quit (Ping timeout: 264 seconds) |
06:47:15 | * | endragor_ quit (Remote host closed the connection) |
06:47:50 | * | endragor joined #nim |
07:06:19 | * | gokr joined #nim |
07:18:24 | * | gsingh93 quit (Quit: ZNC - http://znc.in) |
07:19:11 | * | yglukhov joined #nim |
07:29:41 | * | bjz joined #nim |
07:31:52 | * | bjz quit (Max SendQ exceeded) |
07:32:36 | * | bjz joined #nim |
07:35:51 | * | yglukhov quit (Remote host closed the connection) |
07:36:46 | * | yglukhov joined #nim |
07:38:21 | * | fastrom joined #nim |
07:40:52 | * | bjz quit (Max SendQ exceeded) |
07:41:29 | * | bjz joined #nim |
07:41:36 | * | yglukhov quit (Ping timeout: 276 seconds) |
07:42:12 | * | Trustable joined #nim |
07:46:17 | * | bjz quit (Read error: Connection reset by peer) |
07:46:55 | * | sarlalian quit (Ping timeout: 260 seconds) |
07:48:04 | * | yglukhov joined #nim |
07:49:10 | * | yglukhov quit (Remote host closed the connection) |
07:51:41 | * | sarlalian joined #nim |
07:59:55 | * | bjz joined #nim |
08:05:04 | * | wuehlmau1 is now known as wuehlmaus |
08:08:19 | * | Pisuke joined #nim |
08:10:50 | * | Arrrr joined #nim |
08:10:50 | * | Arrrr quit (Changing host) |
08:10:50 | * | Arrrr joined #nim |
08:19:03 | * | gokr quit (Ping timeout: 240 seconds) |
08:44:05 | * | fastrom quit (Quit: Leaving.) |
08:51:30 | * | gokr joined #nim |
08:53:48 | * | yglukhov joined #nim |
08:54:15 | * | euantor joined #nim |
08:54:31 | * | gokr left #nim (#nim) |
09:05:36 | * | lubos_cz quit (Ping timeout: 244 seconds) |
09:11:25 | * | yglukhov quit (Read error: Connection reset by peer) |
09:11:36 | * | yglukhov joined #nim |
09:12:10 | * | endragor quit (Remote host closed the connection) |
09:12:44 | yglukhov | dom96: hey, how are your exams going? |
09:13:15 | yglukhov | could you please take a look at https://github.com/nim-lang/nimble/pull/232 |
09:15:54 | * | gokr joined #nim |
09:17:52 | * | endragor joined #nim |
09:18:26 | * | lubos_cz joined #nim |
09:25:40 | * | kingofoz quit (Ping timeout: 264 seconds) |
09:25:56 | * | kingofoz joined #nim |
09:31:54 | * | fastrom joined #nim |
09:38:44 | * | gokr quit (Ping timeout: 258 seconds) |
09:39:51 | dom96 | yglukhov: finished yesterday :) |
09:40:15 | dom96 | yglukhov: got a book deadline on Thursday though |
09:40:39 | yglukhov | cool, congratulations! |
09:41:57 | dom96 | thanks :) |
09:43:07 | yglukhov | so does that mean you cant merge the pr unitl thursday? %) |
09:44:06 | dom96 | nope. Just merged :) |
09:44:30 | yglukhov | oh great, thank you |
09:52:18 | cheatfate | this week thursday? |
09:56:09 | * | lubos_cz quit (Ping timeout: 276 seconds) |
09:56:56 | * | gokr joined #nim |
09:58:47 | * | bjz_ joined #nim |
09:59:15 | * | irrequietus joined #nim |
10:00:37 | dom96 | cheatfate: yep |
10:00:55 | * | bjz quit (Ping timeout: 252 seconds) |
10:01:36 | dom96 | cheatfate: please let me know what you think: https://github.com/nim-lang/Nim/issues/4170 |
10:01:40 | wuehlmaus | dom96: congrats, great! |
10:01:42 | cheatfate | i thought you have like 60% completed... you are in troubles |
10:01:51 | dom96 | cheatfate: comment in that issue please |
10:02:06 | dom96 | cheatfate: I don't have to have the whole thing finished for Thursday |
10:02:14 | dom96 | just the next chapter |
10:03:56 | * | irrequietus quit (Client Quit) |
10:09:05 | * | kingofoz quit (Read error: Connection reset by peer) |
10:13:56 | * | irrequietus joined #nim |
10:14:34 | * | irrequietus quit (Client Quit) |
10:18:07 | * | SirCmpwn quit (Ping timeout: 260 seconds) |
10:19:56 | * | SirCmpwn joined #nim |
10:22:04 | * | filcuc quit (Read error: Connection reset by peer) |
10:22:28 | * | filcuc joined #nim |
10:23:44 | * | darius93 quit (Ping timeout: 260 seconds) |
10:26:43 | * | darius93 joined #nim |
10:35:22 | cheatfate | i dont know why everybody thought that macos is intuitive |
10:35:30 | cheatfate | i have installed xcode and now i even can't find it |
10:39:43 | * | arnetheduck joined #nim |
10:42:12 | * | elrood joined #nim |
10:44:49 | euantor | cheatfate: it's not too bad once you get used to it. How did you install - via the App Store? |
10:45:51 | * | nsf quit (Quit: WeeChat 1.4) |
10:50:08 | wuehlmaus | cheatfate: try command-space, it pays off |
10:50:09 | cheatfate | euantor, its just not intuitive... you want to use git - install command line tools... |
10:51:28 | euantor | Or install homebrew and install git from there |
10:51:37 | euantor | Once you've got it setup, it's simple |
10:51:51 | cheatfate | and command line tools could not be installed from xcode, so you need to go and download it manually |
10:55:03 | euantor | It's meant to install from xcode, so that's odd |
11:01:04 | * | tautologico quit (Quit: Connection closed for inactivity) |
11:03:00 | cheatfate | dom96, so you dont like my waitForExit anymore? |
11:03:54 | dom96 | cheatfate: i'd rather keep osproc simple |
11:04:47 | cheatfate | dom96, then we need to kill timeout parameter... to be honest with our api :) |
11:05:07 | dom96 | indeed. |
11:15:17 | * | irrequietus joined #nim |
11:18:43 | federico3 | whaaat? |
11:19:23 | cheatfate | looks like federico3 is not agreed with our decisions :) |
11:22:03 | * | endragor quit (Remote host closed the connection) |
11:22:38 | Arrrr | haha |
11:24:34 | Arrrr | what is the nim way to auto reboot an aplication? |
11:25:03 | * | endragor joined #nim |
11:26:27 | cheatfate | Arrrr, is it not os specific? |
11:27:39 | Arrrr | mmm, i dont mind as long as it works on windows/unix |
11:28:40 | Araq_ | dom96: osproc is already very complex and a timeout parameter is desperately needed. |
11:29:15 | dom96 | Araq_: lol |
11:29:42 | dom96 | I don't think using "it's already complex" as an excuse for making it more complex is a good idea |
11:29:46 | Araq_ | Arrrr: use a parent process that can shutdown and restart a child process |
11:30:15 | Araq_ | yes, but it will never be simple, it solves a complex problem. |
11:30:36 | Araq_ | complex due to the OS's poor APIs. |
11:30:40 | dom96 | Araq_: we need an async implementation |
11:30:46 | dom96 | and keep osproc synchronous |
11:31:18 | Araq_ | sync + timeout is fine. |
11:31:33 | Araq_ | and seems way cheaper to implement. |
11:31:35 | dom96 | fixing timeout involves essentially embedding a lot of async things into osproc |
11:32:03 | dom96 | cheatfate's fix involves adding in kqueue and whatnot into osproc |
11:32:21 | dom96 | you may as well write a proper async implementation at that point |
11:32:34 | Araq_ | oh yes, that's true. |
11:32:49 | Araq_ | I didn't look at any patch. |
11:33:28 | dom96 | Yes, I would of course be happy if fixing timeout was easy |
11:33:36 | dom96 | but it looks like it's incredibly messy |
11:36:10 | * | yglukhov quit (Ping timeout: 272 seconds) |
11:39:53 | federico3 | could a polling-based timeout using peekExitCode be an acceptable workaround? |
11:40:26 | federico3 | (Assuming it's documented as such) |
11:43:53 | Araq_ | IMO yes. |
11:45:41 | cheatfate | dom96, for bsd systems its ok to use kqueue... |
11:45:55 | cheatfate | because there no other way |
11:46:18 | cheatfate | except manually polling process in cycle... |
11:47:41 | dom96 | cheatfate: I'm not saying it's not okay. |
11:48:02 | dom96 | But doing so just to get timeouts seems overkill. |
11:48:51 | dom96 | plus it ends up repeating a lot of code which the selectors module already implements |
11:49:33 | cheatfate | there no code which selectors implements... because selectors even dont have support of EVFILT_PROC |
11:50:16 | cheatfate | and this is not overkill to use one more file descriptor and very fast kernel mechanism... |
11:50:50 | cheatfate | whole linux staff is based on usage of file descriptor.... eventfd, signalfd, inotifyfd, timerfd.... |
11:51:41 | Araq_ | Tested in Linux, OpenBSD, FreeBSD, NetBSD and Solaris. (and Mac OS X) |
11:51:49 | cheatfate | yep :) |
11:52:07 | Araq_ | that alone speaks for its quality. |
11:52:20 | Araq_ | but I gotta go. |
11:52:22 | Araq_ | bbl |
11:54:43 | cheatfate | dom96, and if you have some time (but you haven't) you can check how projects (python and others) trying to simulate sigtimedwait in their code :) |
11:55:27 | dom96 | cheatfate: is there no way to extend selectors to reduce code repetition at least a bit? |
11:57:01 | cheatfate | dom96, it doesn't help... because usage of EVFILT_PROC in context of selectors.nim is not so easy... |
11:58:39 | * | |2701 joined #nim |
12:00:29 | cheatfate | Arrrr, i can make it in windows just because i can inject some code to parent process... but i dont know how to inject code in linux/bsd |
12:01:52 | Arrrr | Ok, don't worry. I'm following araq's suggestion and i got this, whic is working |
12:01:54 | Arrrr | http://pastebin.com/d6Bn43mq |
12:02:08 | * | lubos_cz joined #nim |
12:03:59 | cheatfate | hmm this is not fair... just because you are running yourself before exiting, so you have 2 copies of yourself |
12:04:38 | cheatfate | to found proper way you need to modify executable :) |
12:04:59 | Arrrr | Yes, but you can add quit() just after |
12:05:48 | cheatfate | Arrrr, i think applications needs to autoreboot when they got upgrade or patch... |
12:06:05 | cheatfate | in your method you could not patch it |
12:06:31 | Arrrr | mmm |
12:07:12 | cheatfate | Arrrr, you can always use shell to help you |
12:07:43 | Arrrr | But why not?, do you mean you need to kill the binary and then start? |
12:08:21 | Arrrr | *delete the binary |
12:08:39 | cheatfate | Arrrr, is this just for experiment? |
12:08:53 | cheatfate | or you want to use it somewhere? |
12:10:03 | Arrrr | For my usecase it is good enough, but i have to handle sockets before starting the process again. |
12:10:25 | Arrrr | If i needed to update the exe, i think i would use an external program to do handle the process |
12:10:30 | cheatfate | Arrrr, also your method will get your second copy closed when you quit from parent... |
12:10:51 | cheatfate | it will works only on windows... |
12:10:56 | cheatfate | not on unix |
12:11:31 | Arrrr | Well, that's what happened on windows too before using the option 'poParentStreams' |
12:12:04 | Arrrr | I don't have unix to test it, but i expect it to work too |
12:12:59 | cheatfate | # poParentStreams causes problems on Posix, so we simply disable it: |
12:13:39 | cheatfate | https://github.com/nim-lang/Nim/blob/devel/lib/pure/osproc.nim#L270 |
12:17:31 | Arrrr | lol |
12:17:40 | Arrrr | Well i have to take lunch |
12:20:41 | * | endragor quit (Remote host closed the connection) |
12:24:00 | * | endragor joined #nim |
12:32:30 | * | yglukhov joined #nim |
12:57:57 | * | bjz_ quit (Ping timeout: 246 seconds) |
12:58:13 | * | bjz joined #nim |
13:08:09 | * | dhk joined #nim |
13:12:44 | * | yglukhov quit (Remote host closed the connection) |
13:13:18 | * | yglukhov joined #nim |
13:15:24 | * | Mat4 joined #nim |
13:18:12 | * | yglukhov quit (Remote host closed the connection) |
13:18:20 | * | Mat4 left #nim (#nim) |
13:36:47 | cheatfate | dom96, just want to ask you about now i'm in stage when i have made my selectors.nim compatible with asyncdispatch.nim, but i have made only epoll/kqueue |
13:37:21 | cheatfate | and now i'm thinking for 2 days how to adopt all features to simple windows/posix select() |
13:37:55 | cheatfate | or i can leave it with just handles/sockets working |
13:40:20 | cheatfate | pythoners support only sockets for simple windows select() |
13:41:57 | cheatfate | for posix systems i have some emulations but they looks not very nice, just because this is emulation |
13:59:49 | * | yglukhov joined #nim |
14:00:01 | * | saml quit (Ping timeout: 250 seconds) |
14:01:33 | * | PMunch joined #nim |
14:01:53 | * | saml_ joined #nim |
14:06:19 | * | GangstaCat quit (Quit: Leaving) |
14:08:02 | * | nsf joined #nim |
14:23:23 | * | GangstaCat joined #nim |
14:29:00 | * | aharlan joined #nim |
14:34:11 | * | aharlan quit (Quit: Textual IRC Client: www.textualapp.com) |
14:42:09 | * | endragor quit (Ping timeout: 276 seconds) |
14:42:37 | * | saml_ quit (*.net *.split) |
14:42:37 | * | dhk quit (*.net *.split) |
14:42:37 | * | irrequietus quit (*.net *.split) |
14:42:37 | * | darius93 quit (*.net *.split) |
14:42:37 | * | Pisuke quit (*.net *.split) |
14:42:37 | * | arnetheduck quit (*.net *.split) |
14:42:37 | * | sarlalian quit (*.net *.split) |
14:43:35 | * | euantor quit (Quit: Page closed) |
14:52:15 | * | endragor joined #nim |
14:55:39 | * | endragor quit (Remote host closed the connection) |
14:57:26 | * | gokr quit (Ping timeout: 244 seconds) |
15:15:33 | * | lubos_cz quit (Ping timeout: 240 seconds) |
15:40:26 | * | arnetheduck joined #nim |
15:40:26 | * | sarlalian joined #nim |
15:41:23 | * | |2701 quit (Quit: Connection closed for inactivity) |
15:46:02 | * | saml_ joined #nim |
15:46:02 | * | irrequietus joined #nim |
15:46:02 | * | darius93 joined #nim |
15:46:02 | * | Pisuke joined #nim |
15:46:54 | * | Pisuke quit (Max SendQ exceeded) |
15:47:43 | * | endragor joined #nim |
15:48:02 | * | Pisuke joined #nim |
15:49:59 | * | arnetheduck quit (Ping timeout: 244 seconds) |
15:51:42 | * | yglukhov_ joined #nim |
15:55:03 | * | yglukhov quit (Ping timeout: 246 seconds) |
15:56:14 | * | yglukhov_ quit (Ping timeout: 260 seconds) |
15:57:33 | * | saml_ quit (*.net *.split) |
15:57:33 | * | irrequietus quit (*.net *.split) |
15:57:33 | * | darius93 quit (*.net *.split) |
16:06:27 | * | saml_ joined #nim |
16:06:27 | * | irrequietus joined #nim |
16:06:27 | * | darius93 joined #nim |
16:27:18 | * | filcuc quit (Read error: Connection reset by peer) |
16:30:02 | * | BitPuffin|osx quit (Remote host closed the connection) |
16:30:29 | * | libman joined #nim |
17:07:48 | * | endragor quit (Remote host closed the connection) |
17:13:19 | * | MightyJoe is now known as cyraxjoe |
17:22:41 | * | Mat4 joined #nim |
17:22:54 | Mat4 | hello |
17:25:14 | * | PMunch quit (Ping timeout: 244 seconds) |
17:42:40 | Mat4 | I'm thinking about start working on a Nim inspired language with familiar syntax - Rim (for Reduced Nim). My intentional object would be to create a complete dynamic language, which is minimalistic, functional, embeddable, ressource efficient implementable (no compiler) ... and not a Lua environment ;) |
17:44:21 | * | yglukhov joined #nim |
17:45:17 | Arrrr | Cool project. You may learn a lot in the process and contribute to nim by the way |
17:49:15 | * | fastrom quit (Quit: Leaving.) |
17:50:21 | Mat4 | i try to constantly learn, so yes. About the latter I'm not sure if such contribution would be inherent reasonable |
17:50:54 | elrood | however, now there's no way to success any more. you can either lose interest or hit some kind of roadblock, and having announced the project publicly here you can no longer just silently abandon the project and it'll count as a fail, or with a lot of determination you can really pull it off, create something mildly interesting and still end up with something less usable than lua or python ;P |
17:52:39 | * | PMunch joined #nim |
17:53:01 | * | PMunch quit (Remote host closed the connection) |
17:53:21 | Mat4 | that's way to much fatalistic though for me, sorry ;) |
17:53:53 | Mat4 | I donÄt care about usefulness for other programmers as long as such project is of use for me |
17:53:58 | Mat4 | ^don't |
17:54:20 | Mat4 | so I do not waste my time |
17:54:29 | Araq_ | Mat4: hey |
17:54:48 | Mat4 | hi Araq |
17:54:53 | * | PMunch joined #nim |
17:55:24 | Araq_ | "Rim" sounds cool. But I dislike the "dynamic" part of your description. |
17:55:54 | elrood | Mat4, just kidding ,) give it a shot, you'll gain valuable experience anyway and perhaps create something really fun. good luck |
17:56:56 | Araq_ | if you're after memory constrained devices you need static typing or you end up with either of these |
17:57:41 | Araq_ | a) "everything is an object" (aka indirection), that's quite wasteful |
17:58:03 | Araq_ | b) "everything is a word". Meh, hello forth. |
17:58:35 | Araq_ | c) "everything is some blob of bytes, variable sized" like in an assembler. Yay, also as error prone as assembler then. |
18:00:16 | Mat4 | Araq_: With dynamic I mean the identity of code and data -> self modifying code, runtime modifications of the compiler |
18:00:39 | Mat4 | that's possible with a static type system |
18:00:47 | Araq_ | indeed. |
18:01:59 | Mat4 | in fact, I think one weak point of languages like Lisp is the intrinsic lack of such type system |
18:07:46 | Mat4 | however, there exist always the possibility to prove program correctness though external applications (for example, I found SPARK equivalent program proving for ANSI Forth (commentary contracts) quite elegant and useful |
18:08:28 | Araq_ | interesting, any links handy? |
18:08:45 | Araq_ | never heard about proving a forth program correct |
18:12:42 | Mat4 | I'm try to find a link |
18:15:42 | * | irrequietus quit (Read error: Connection reset by peer) |
18:20:33 | * | irrequietus joined #nim |
18:25:35 | Mat4 | http://www.rigwit.co.uk/papers/formal2.html |
18:28:04 | Mat4 | the proving application is based on StrongForth (at current no active link) |
18:30:48 | * | lubos_cz joined #nim |
18:32:50 | Mat4 | it implement the methods summarized in the link |
18:37:29 | zodiak_ | dom96: mind if I share a private paste with you regarding jester error ? |
18:37:42 | dom96 | zodiak_: go ahead |
18:37:45 | zodiak_ | (thumbsup) |
18:38:16 | def- | Mat4: You can also play around with proving C programs equivalent: http://formal.iti.kit.edu/improve/reve/ (Disclaimer: I used to work on that) |
18:38:43 | zodiak_ | I assume it's because I am doing something like; resp "I got some JSON: " & $result |
18:38:48 | zodiak_ | and that $result is nil |
18:39:06 | zodiak_ | jst wanting to make sure I am not nuts before going down that rabbithole |
18:40:36 | * | Jesin quit (Quit: Leaving) |
18:42:58 | Mat4 | def-: Nice project ! However, I'm curious how such tool prove the equivalence of implementation specific C constructs |
18:43:14 | * | Jesin joined #nim |
18:43:38 | Mat4 | read implementation as processor and compiler dependent |
18:44:45 | def- | Mat4: good question and I don't know. back when I was involved with it we used a small C-like language instead of real C with it's undefined corners |
18:44:53 | def- | its* |
18:46:07 | def- | A guess would be that undefined values are assumed as unequal to everything else |
18:46:47 | * | PMunch quit (Quit: leaving) |
19:02:58 | * | fastrom joined #nim |
19:16:36 | * | Pisuke quit (Ping timeout: 272 seconds) |
19:36:21 | * | Arrrr quit (Quit: WeeChat 1.4) |
19:38:04 | Araq_ | interesting, httpclient depends on a random number generator ... |
19:43:01 | Mat4 | I think that's a feature ? |
19:45:54 | Araq_ | indeed. a feature that I don't understand. |
19:46:00 | Araq_ | but that doesn't mean much. |
19:46:57 | Mat4 | probably a security related hack |
19:47:32 | Mat4 | if so I hope the random algorithm is a good one |
19:47:37 | Araq_ | surely looks lit it. |
19:47:51 | Araq_ | and no, our random algorithm is shit and we need to replace it. |
19:48:15 | * | dhk joined #nim |
19:51:43 | Mat4 | you will find a better and fast algorithm in Wirth's book: The oberon language |
19:51:56 | dom96 | So, who wants to write a Cryengine wrapper? https://github.com/CRYTEK-CRYENGINE/CRYENGINE |
19:56:29 | * | bozaloshtsh quit (Quit: WeeChat 1.4) |
19:58:22 | * | |2701 joined #nim |
20:14:33 | * | gokr joined #nim |
20:30:58 | * | vendethiel joined #nim |
20:31:31 | * | Ven joined #nim |
20:40:51 | federico3 | I vote for a prolog wrapper |
20:41:38 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
20:49:44 | cheatfate | Araq_, httpclient needs to have random number generator when composing "multipart/formdata" POST requests... it needs to generate some kind of "123123123123----" :) |
20:52:00 | cheatfate | this "random numbers" used as block delimeters |
21:04:23 | * | Ven joined #nim |
21:06:00 | * | graf_ joined #nim |
21:07:03 | * | graf_ quit (Client Quit) |
21:09:33 | * | lubos_cz quit (Remote host closed the connection) |
21:14:54 | Araq_ | lol http is so shitty |
21:17:50 | * | fastrom quit (Quit: Leaving.) |
21:19:29 | federico3 | the protocol? yep |
21:23:25 | * | dhk quit (Quit: Leaving) |
21:32:15 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
21:36:31 | * | Trustable quit (Remote host closed the connection) |
21:44:56 | Mat4 | ciao |
21:45:00 | * | Mat4 left #nim (#nim) |
21:57:46 | * | gagagugu joined #nim |
21:58:37 | gagagugu | hi there. any examples of nim that is being run in an on going setting? |
22:02:26 | * | elrood quit (Quit: Leaving) |
22:03:04 | * | Demon_Fox quit (Ping timeout: 252 seconds) |
22:03:18 | Araq_ | gagagugu: ask yglukhov when he's around |
22:03:28 | gagagugu | ok |
22:07:23 | * | Demon_Fox joined #nim |
22:08:41 | * | irrequietus quit () |
22:12:04 | yglukhov | gagagugu: working on an unreleased game now. can't show a demo yet, but a lot of our work is opensource. |
22:14:02 | gagagugu | yglukhov, but is there any software or company currently using nim? |
22:15:58 | * | kseg joined #nim |
22:15:58 | * | kseg quit (Client Quit) |
22:16:36 | yglukhov | gagagugu: like i said. my company is using nim. and we're probably not alone. |
22:16:47 | gagagugu | oh ok |
22:16:54 | gagagugu | do u know any that are released? |
22:17:55 | yglukhov | not that im aware of |
22:19:02 | gagagugu | oh ok |
22:19:03 | gagagugu | i'll look into it |
22:19:24 | yglukhov | enjoy :) |
22:19:32 | gmpreussner | cheatfate, i think API should allow developers to specify the delimiter string. i think you can reuse the same string in your application. it does not need to be generated each time |
22:19:50 | gmpreussner | *the API |
22:20:27 | cheatfate | gmpreussner, hmm, if you want to make http post request and post 2 files, do you care about how it will be performed? |
22:24:15 | cheatfate | gmpreussner, i'm agree with you, but i dont think there many developers which like this way... its why there so many java/c# programmers and they dont care how your http request will be performed, they just need to perform it |
22:27:20 | cheatfate | i like when people make libraries and allow developers to specify functions for memory read/write/alloc and socket read/write/alloc so developer can use any methods available... |
22:28:08 | * | yglukhov quit (Remote host closed the connection) |
22:28:48 | * | yglukhov joined #nim |
22:33:42 | * | yglukhov quit (Ping timeout: 260 seconds) |
22:36:22 | * | dhk joined #nim |
22:36:28 | * | Demon_Fox quit (Ping timeout: 264 seconds) |
22:38:30 | * | Demon_Fox joined #nim |
22:52:02 | cheatfate | Araq_, could we make `hasThreadSupport` from system nim to be public |
22:52:11 | cheatfate | system.nim |
22:53:05 | cheatfate | so there no need any more to declare "const someMultithreadingConst = compileOption("threads")" |
23:01:13 | * | yglukhov joined #nim |
23:01:35 | Araq_ | cheatfate: hmm, I think you still misunderstand the point of someMultithreadingConst |
23:02:48 | cheatfate | https://github.com/nim-lang/Nim/blob/devel/lib/system.nim#L1290 |
23:02:59 | cheatfate | i just want to make this const public |
23:05:54 | * | yglukhov quit (Ping timeout: 276 seconds) |
23:06:04 | cheatfate | why do you think, i not understanding it? |
23:07:48 | * | PMunch_ joined #nim |
23:13:41 | Araq_ | cheatfate: compileOption("threads") is what should be used in general, though |
23:14:02 | cheatfate | i dont think nimscript will use my selectors |
23:14:12 | cheatfate | or even current selectors.nim |
23:14:45 | * | PMunch_ is now known as PMunch |
23:14:50 | cheatfate | but ok, if you dont like - forget it |
23:15:18 | Xe | i kinda agree |
23:15:34 | Xe | it makes it more explicit what is being done instead of making it lok like a magic keyword |
23:20:47 | Araq_ | cheatfate: most stuff doesn't work with nimscript |
23:21:07 | Araq_ | but that's documents so it's fine, you don't have to care about that. |
23:21:21 | Araq_ | same holds for the JS target |
23:21:27 | Araq_ | *that's documented |
23:24:00 | * | dhk left #nim ("Leaving") |
23:37:18 | * | yglukhov joined #nim |
23:41:41 | * | yglukhov quit (Ping timeout: 258 seconds) |
23:42:29 | * | dhk joined #nim |
23:52:09 | * | sora joined #nim |
23:54:08 | * | gagagugu quit (Quit: Leaving) |