00:13:43 | * | chemist69 quit (Ping timeout: 256 seconds) |
00:25:17 | * | ftsf_ joined #nim |
00:28:17 | * | yglukhov joined #nim |
00:33:22 | * | yglukhov quit (Ping timeout: 276 seconds) |
00:33:49 | * | Senketsu quit (Ping timeout: 265 seconds) |
00:34:12 | * | Senketsu joined #nim |
00:40:51 | * | chemist69 joined #nim |
00:41:39 | * | FromGitter quit (Remote host closed the connection) |
00:42:14 | * | FromGitter joined #nim |
00:50:42 | * | jonafato- joined #nim |
00:50:45 | * | lg_` joined #nim |
00:52:49 | * | ftsf_ quit (Ping timeout: 256 seconds) |
00:53:11 | * | jonafato quit (Ping timeout: 265 seconds) |
00:53:11 | * | Senketsu quit (Ping timeout: 265 seconds) |
00:53:12 | * | xet7 quit (Ping timeout: 265 seconds) |
00:53:12 | * | lg_ quit (Ping timeout: 265 seconds) |
00:54:13 | * | xet7 joined #nim |
00:56:02 | * | sp33der89 quit (Ping timeout: 250 seconds) |
01:04:56 | * | ftsf_ joined #nim |
01:06:12 | * | avsej quit (Ping timeout: 265 seconds) |
01:06:19 | * | avsej joined #nim |
01:06:20 | * | avsej quit (Changing host) |
01:06:20 | * | avsej joined #nim |
01:15:22 | * | fredrik92 quit (Quit: Client disconnecting) |
01:21:09 | * | chemist69 quit (Ping timeout: 256 seconds) |
01:32:35 | * | NimBot joined #nim |
01:32:53 | * | literal joined #nim |
01:34:33 | * | chemist69 joined #nim |
01:36:54 | * | d10n joined #nim |
01:36:54 | * | d10n quit (Changing host) |
01:36:54 | * | d10n joined #nim |
01:36:54 | * | SirCmpwn joined #nim |
01:37:33 | * | OnO joined #nim |
01:37:42 | * | rinukkusu joined #nim |
01:38:19 | * | acidx joined #nim |
01:38:57 | * | abruanese joined #nim |
01:39:54 | * | dom96 joined #nim |
01:44:06 | * | jivank joined #nim |
02:07:47 | * | cheatfate quit (Read error: Connection reset by peer) |
02:07:53 | * | cheatfate_ joined #nim |
02:15:35 | FromGitter | <GraydenH> hi |
02:29:46 | * | yglukhov joined #nim |
02:34:08 | * | yglukhov quit (Ping timeout: 256 seconds) |
02:44:10 | * | pie_ quit (Quit: Leaving) |
03:23:12 | * | chemist69 quit (Ping timeout: 250 seconds) |
03:27:19 | * | chemist69 joined #nim |
03:36:46 | * | dddddd quit (Remote host closed the connection) |
04:08:15 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
04:31:33 | * | yglukhov joined #nim |
04:36:28 | * | yglukhov quit (Ping timeout: 276 seconds) |
05:11:09 | * | kulelu88 quit (Quit: Leaving) |
05:14:51 | * | gokr joined #nim |
05:16:19 | * | ftsf_ quit (Ping timeout: 256 seconds) |
05:28:20 | * | ftsf_ joined #nim |
05:49:15 | * | gokr quit (Ping timeout: 252 seconds) |
06:03:18 | * | nsf joined #nim |
06:32:57 | * | yglukhov joined #nim |
06:38:01 | * | yglukhov quit (Ping timeout: 276 seconds) |
06:48:35 | * | Arrrr joined #nim |
06:54:58 | * | Andris_zbx joined #nim |
07:09:32 | * | gokr joined #nim |
07:10:29 | * | HakanD joined #nim |
07:11:18 | FromGitter | <gogolxdong> how to compile with SharedTable, I got error `stdlib_locks.c:(.text+0x1f): undefined reference to `pthread_mutex_trylock'` |
07:16:44 | Arrrr | I don't know, but maybe you need `--threads:on` |
07:16:48 | Arrrr | http://nim-lang.org/docs/nimc.html |
07:20:23 | * | lg_` is now known as lg_ |
07:20:36 | * | Trustable joined #nim |
07:27:00 | * | Trustable quit (Remote host closed the connection) |
07:27:14 | * | ftsf_ quit (Quit: :q!) |
07:27:43 | * | Trustable joined #nim |
07:30:41 | * | lg_ quit (Remote host closed the connection) |
07:39:24 | * | yglukhov joined #nim |
07:43:49 | * | OnO quit (Ping timeout: 260 seconds) |
07:44:45 | * | OnO joined #nim |
07:55:59 | FromGitter | <gogolxdong> :) |
08:07:48 | * | lg_ joined #nim |
08:12:26 | FromGitter | <dom96> @Araq can you see about answering some questions in here? https://www.reddit.com/r/programming/comments/58yf7s/nim_0152_released/ |
08:12:38 | FromGitter | <dom96> Strangely more popular than the 0.15.0 post |
08:14:22 | * | vendethiel joined #nim |
08:14:44 | * | vendethiel- quit (Ping timeout: 260 seconds) |
08:43:44 | Arrrr | Maybe people have in memory that gamma article |
08:49:13 | * | bjz joined #nim |
08:54:29 | * | corecode quit (Ping timeout: 256 seconds) |
08:56:49 | * | corecode joined #nim |
09:11:08 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:15:19 | * | bjz joined #nim |
09:27:02 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:31:04 | * | HakanD quit (Quit: Be back later ...) |
09:31:40 | * | HakanD joined #nim |
09:33:28 | * | sp33der89 joined #nim |
09:33:30 | * | ibk joined #nim |
09:36:46 | * | HakanD quit (Ping timeout: 276 seconds) |
09:38:19 | * | ibk_ joined #nim |
09:38:20 | * | ibk quit (Ping timeout: 260 seconds) |
09:38:21 | * | ibk_ is now known as ibk |
09:40:20 | * | GustavoLapasta joined #nim |
09:40:22 | * | elrood joined #nim |
09:42:50 | * | GustavoLapasta quit (Client Quit) |
09:43:10 | * | GustavoLapasta joined #nim |
09:45:27 | * | abruanese quit (Quit: ZNC 1.6.3+deb1 - http://znc.in) |
09:46:43 | * | lg_ quit (Remote host closed the connection) |
09:52:50 | * | Demon_Fox quit (Quit: Leaving) |
09:52:55 | * | bjz joined #nim |
09:57:57 | * | chemist69 quit (Ping timeout: 256 seconds) |
10:00:46 | * | Gustavo joined #nim |
10:01:09 | * | Gustavo is now known as Guest45195 |
10:02:07 | * | GustavoLapasta quit (Ping timeout: 276 seconds) |
10:02:17 | * | chemist69 joined #nim |
10:07:24 | * | HakanD joined #nim |
10:15:24 | * | HakanD quit (Quit: Be back later ...) |
10:16:01 | * | HakanD joined #nim |
10:20:14 | * | HakanD quit (Ping timeout: 250 seconds) |
10:32:28 | arnetheduck_ | Araq, what do you think of adding a tyAlias, similar to tyDistinct? that would allow walking down to the root type, avoiding much of the structural comparisons.. |
10:35:24 | * | Dankrad joined #nim |
10:37:54 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
10:39:57 | * | throwaway13415 joined #nim |
10:42:51 | Araq | arnetheduck_: sounds like a large patch to the compiler. everywhere you deal with types, tyAlias needs to be considered |
10:43:15 | Araq | you can make it part of the skipTypes() mechanism |
10:43:34 | Araq | but at that point you might as well redesign how types are represented. |
10:43:49 | * | Araq had some ideas about this... |
10:45:04 | * | mitai joined #nim |
10:47:22 | arnetheduck_ | yeah, skiptypes should help, figured that most places that skip tydistinct should also skip tyalias.. |
10:47:38 | arnetheduck_ | what do you want to do to types? |
10:49:16 | arnetheduck_ | btw, it says tyIter is unused - is that really so? why is it kept around then? |
10:51:09 | * | bjz joined #nim |
10:51:25 | Araq | ty* enum order is important and must not change |
10:51:38 | Araq | this implies removing ty* values is troublesome |
10:51:57 | arnetheduck_ | order is one thing, ordinals another.. both significant? |
10:52:08 | Araq | yep |
10:52:13 | arnetheduck_ | and why? if rtti & ty* is changed at the same time..? |
10:52:39 | Araq | it's also mapped to Nim's macros.nim |
10:53:02 | Araq | "changing things at the same time" tends to not solve bootstrapping problems |
10:53:35 | FromGitter | <coffeepots> hey guys, is it possible to update object field values using system.fieldpairs? |
10:53:51 | Araq | yes. |
10:54:45 | FromGitter | <coffeepots> excellent! |
10:54:50 | FromGitter | <coffeepots> cheers :) |
10:55:33 | * | abruanese joined #nim |
10:55:48 | arnetheduck_ | ok, not sure what you mean but I'll take your word for it.. recycling then? ie tyIter -> tyAlias? |
10:56:32 | arnetheduck_ | the structural equivalence thing, is that a feature or a hack? |
10:56:46 | arnetheduck_ | ie that types are compared based on their fields, sort of, sometimes? |
10:56:55 | Araq | it's an essential feature for generic objects |
10:57:04 | Araq | not sure what the non-generic case does :P |
10:57:16 | Araq | from your description it sounds wrong. |
10:58:39 | Araq | recycling does work. but I'm not sure what tyAlias buys us |
11:06:11 | * | Snircle joined #nim |
11:08:12 | Araq | aha! it doesn't matter if I use 'koch csource' or 'koch csources'. Nice job, former Araq. |
11:08:35 | Araq | that's why I can never remember and yet always get it right. |
11:09:17 | * | bjz quit (Read error: Connection reset by peer) |
11:12:13 | * | HakanD joined #nim |
11:16:22 | * | Guest45195 quit (Quit: Leaving) |
11:24:01 | * | Jesin quit (Ping timeout: 252 seconds) |
11:25:47 | * | bjz joined #nim |
11:31:59 | * | sp33der89 left #nim ("Might have choked on too many memes") |
11:33:20 | arnetheduck_ | for one, you can avoid copying all those fields while at the same time you retain more info about the source which can be useful in a number of cases (ide support, type based optimization etc) |
11:34:09 | arnetheduck_ | I'm basing my description on a 5minute reading what I think is the place where overloads get chosen - don't read too much into it ;) |
11:36:11 | * | fredrik92 joined #nim |
11:37:03 | * | fredrik92 quit (Client Quit) |
11:40:51 | * | fredrik92 joined #nim |
11:44:43 | * | Arrrr quit (Quit: WeeChat 1.5) |
11:50:34 | * | bjz_ joined #nim |
11:50:43 | * | bjz quit (Ping timeout: 256 seconds) |
11:54:31 | * | HakanD quit (Quit: Be back later ...) |
11:55:04 | * | HakanD joined #nim |
11:56:38 | * | mitai quit (Quit: Konversation terminated!) |
11:59:34 | * | mitai joined #nim |
11:59:52 | * | throwaway13415 left #nim (#nim) |
12:00:12 | * | pafmaf joined #nim |
12:01:42 | arnetheduck_ | btw, care to merge https://github.com/nim-lang/Nim/pull/4888? |
12:06:57 | * | PMunch joined #nim |
12:24:33 | * | bjz joined #nim |
12:25:03 | * | bjz_ quit (Ping timeout: 245 seconds) |
12:26:54 | * | eizua joined #nim |
12:27:11 | * | eizua quit (Max SendQ exceeded) |
12:27:53 | * | eizua joined #nim |
12:28:36 | * | eizua quit (Max SendQ exceeded) |
12:29:30 | * | eizua joined #nim |
12:29:58 | * | eizua quit (Max SendQ exceeded) |
12:30:37 | * | eizua joined #nim |
12:31:16 | * | eizua quit (Remote host closed the connection) |
12:36:24 | * | lesshaste quit (Quit: Leaving) |
12:37:00 | * | dmi00 joined #nim |
12:39:06 | Araq | arnetheduck_: can't we introduce .detect instead? |
12:39:49 | * | LeNsTR|away joined #nim |
12:40:32 | arnetheduck_ | and you'd .detect types and func prototypes as well? |
12:40:50 | arnetheduck_ | and you'd have to handle the odd "not avail on this platform" case as well.. |
12:43:52 | arnetheduck_ | without detecting types, .detect will remain a halfbaked cripple |
12:45:20 | * | Dankrad quit (*.net *.split) |
12:45:20 | * | Andris_zbx quit (*.net *.split) |
12:45:24 | * | taotetek quit (*.net *.split) |
12:45:24 | * | ftsf quit (*.net *.split) |
12:45:25 | * | astocko quit (*.net *.split) |
12:45:25 | * | nim-buildbot_ quit (*.net *.split) |
12:45:26 | * | lenstr quit (*.net *.split) |
12:45:27 | * | jackv quit (*.net *.split) |
12:45:41 | * | jackv joined #nim |
12:45:48 | * | astocko joined #nim |
12:47:41 | Araq | arnetheduck_: it's easy enough to detect the sizes of types |
12:47:50 | Araq | not their implementations though |
12:48:21 | arnetheduck_ | oh, and more annoyingly, ppl will have to have headers installed just to compile simple stuff |
12:49:18 | arnetheduck_ | it's also mostly useful for the c library - outside of that, it's rare to have so much platform dependent stuff in the public api |
12:50:26 | arnetheduck_ | ie with nlvm and a abi-correct std lib, nim could be installed standalone, completely without a c toolchain |
12:51:05 | * | Andris_zbx joined #nim |
12:51:25 | * | ftsf joined #nim |
12:52:06 | * | taotetek joined #nim |
12:52:12 | Araq | so you argue I shouldn't spend time on .detect. Fine. |
12:52:17 | Araq | ;-) |
12:52:29 | * | taotetek is now known as Guest48581 |
12:52:37 | arnetheduck_ | you can spend time on it, but it doesn't sound like a winner ;) |
12:53:06 | arnetheduck_ | instead, you could figure out a way to avoid rtti to be generated for types like those thread things ;) |
12:53:24 | Araq | issue number? |
12:54:09 | arnetheduck_ | https://github.com/nim-lang/Nim/pull/4755 |
12:55:43 | arnetheduck_ | it chokes unnecessarily because for the lock types, it ends up generating rtti which shouldn't be needed for c types |
12:55:46 | Araq | ah yes. I never understood your remarks. |
12:57:39 | arnetheduck_ | when the lock type is fully fleshed out in nim, with all fields, nim starts generating rtti for its fields, including offsetof. because the type is .nodecl/.header, it doesn't generate a unique nim struct for it however, instead in the generated c code it uses the type from the header |
12:58:11 | * | ibk quit (Quit: Connection closed for inactivity) |
12:58:28 | arnetheduck_ | so if there are any differences in field names, rtti breaks compile because there's an offsetof(type, fieldname) there that uses the field name from nim |
12:58:58 | arnetheduck_ | this sucks, because the field names in c are mangled and change over time, but their content does not, really (it |
12:59:05 | arnetheduck_ | 's part of the kernel abi |
12:59:27 | Araq | why not have NLM specific version of this file? |
12:59:38 | Araq | *NLVM |
13:00:45 | arnetheduck_ | can, but this can benefit nim too, if it's smart about it.. ie better debug info, sizeof available at compile time, etc etc |
13:02:10 | arnetheduck_ | the problem is generic too - it's applicable to all of the std lib (files, locks, sockets, etc etc).. |
13:03:45 | arnetheduck_ | struct stat is similar.. the c standard talks about which fields must be present, but not in which order and if they're fields at all (some are implemented as macros!).. |
13:04:21 | arnetheduck_ | errno is the ultimate example ;) a.. variable? macro? function? thread_local? anything goes.. |
13:05:16 | Araq | we all know the standards are defective as a "portable asm" specification |
13:09:11 | arnetheduck_ | well, could skip the c library and interface directly with the kernels ;) |
13:10:00 | Araq | yummy. like FPC does. |
13:10:14 | * | PMunch quit (Quit: leaving) |
13:11:18 | cheatfate_ | Araq, FPC (free pascal) and all stdlib bases on syscalls? |
13:12:24 | * | HakanD quit (Quit: Be back later ...) |
13:18:39 | * | PMunch joined #nim |
13:18:48 | * | cheatfate_ is now known as cheatfate |
13:19:39 | * | HakanD joined #nim |
13:26:09 | arnetheduck_ | could ship with musl ;) |
13:27:30 | * | mitai quit (Ping timeout: 256 seconds) |
13:27:38 | * | mitai___ joined #nim |
13:28:42 | arnetheduck_ | anyway, that branch should work as is for glibc but will break on musl-based systems.. should perhaps guard that too with a conditional |
13:29:24 | cheatfate | arnetheduck_, you can always start your own project of nim's stdlib |
13:33:36 | arnetheduck_ | cheatfate, I'd rather avoid that if possible, such a mess.. besides, once there's a common generic way to do things that both projects can use, adding to it becomes much more easy and both benefit.. the point is to be as compatible as possible, after all |
13:35:24 | Araq | cheatfate: that is correct or at least used to be. |
13:37:06 | cheatfate | arnetheduck_, but most of the library is not os specific |
13:37:22 | * | PMunch quit (Quit: leaving) |
13:37:33 | arnetheduck_ | nlvm after all is just another codegen.. the stdlib however is quite broken in this regard - it relies on.. quirks.. of the c code generation to work, plastering over differences in what nim and c think about about types |
13:37:37 | * | PMunch joined #nim |
13:37:41 | cheatfate | and i think it will be good to separate stdlib :) |
13:38:43 | arnetheduck_ | separate stdlib is one thing, multiple stdlibs quite another ;) |
13:41:28 | arnetheduck_ | and I think it's a bad idea anyway.. compiler & std lib tend to walk in lock step.. versioning them separately sounds like a world of pain |
13:41:55 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
13:42:27 | Araq | most splits have resulted in a worse user experience, nim vs nimsuggest, nim vs c2nim, nim vs nimble |
13:45:57 | arnetheduck_ | yeah, bring them all back! |
13:49:13 | * | ibk joined #nim |
13:49:37 | PMunch | Maybe rename nim to nimcompiler and let nim be the collection of compiler, stdlib, nimble, c2nim, and nimsuggest? |
13:50:22 | PMunch | That way when a user install Nim they get all the stuff but whatever benefit was suggested here from splitting (sorry, just entered the room) would still be possible. |
13:50:51 | * | nsf quit (Quit: WeeChat 1.6) |
13:51:15 | cheatfate | I prefer pluggable stdlib rather then splitting it |
14:02:13 | Araq | PMunch: splitting means separate issue trackers. :-) |
14:06:52 | PMunch | Hmm, I guess |
14:09:44 | * | vegai joined #nim |
14:09:52 | * | HakanD quit (Read error: No route to host) |
14:10:02 | * | vegai left #nim (#nim) |
14:10:26 | * | HakanD joined #nim |
14:14:04 | * | gokr quit (Ping timeout: 260 seconds) |
14:22:04 | * | HakanD quit (Quit: Be back later ...) |
14:22:38 | * | HakanD joined #nim |
14:27:19 | * | HakanD quit (Ping timeout: 276 seconds) |
14:33:55 | * | chemist69 quit (Ping timeout: 256 seconds) |
14:35:16 | * | brson joined #nim |
14:37:29 | * | Jesin joined #nim |
14:38:13 | * | chemist69 joined #nim |
14:39:13 | * | fredrik92 quit (Ping timeout: 245 seconds) |
14:40:20 | * | fredrik92 joined #nim |
14:42:08 | * | pregressive joined #nim |
14:43:05 | * | pie_ joined #nim |
14:47:26 | * | HakanD joined #nim |
14:49:07 | * | pie_ quit (Changing host) |
14:49:07 | * | pie_ joined #nim |
14:55:05 | * | pregressive quit (Remote host closed the connection) |
14:55:30 | * | pregressive joined #nim |
14:56:32 | * | pregressive quit (Remote host closed the connection) |
14:58:28 | Araq | arnetheduck_: tyBigNum, tyConst, tyMutable are also all unused ;-) |
15:22:42 | * | HakanD quit (Quit: Be back later ...) |
15:23:19 | * | HakanD joined #nim |
15:27:29 | * | HakanD quit (Ping timeout: 252 seconds) |
15:34:19 | arnetheduck_ | Araq, https://github.com/nim-lang/Nim/pull/4945 - now you get rid of tyForward ;) |
15:34:54 | * | lg_ joined #nim |
15:44:38 | * | HakanD joined #nim |
15:45:28 | * | fredrik92 quit (Ping timeout: 245 seconds) |
15:46:25 | * | fredrik92 joined #nim |
15:50:00 | * | Andris_zbx quit (Remote host closed the connection) |
16:01:40 | * | pregressive joined #nim |
16:07:18 | * | brson quit (Ping timeout: 256 seconds) |
16:09:32 | * | yglukhov_ joined #nim |
16:12:48 | * | yglukhov quit (Ping timeout: 250 seconds) |
16:13:53 | * | yglukhov_ quit (Ping timeout: 260 seconds) |
16:19:02 | * | Trustable quit (Remote host closed the connection) |
16:26:24 | * | gokr joined #nim |
16:47:26 | * | irrequietus joined #nim |
16:48:13 | * | ibk quit (Quit: Connection closed for inactivity) |
16:48:55 | * | HakanD quit (Quit: Be back later ...) |
16:49:32 | * | HakanD joined #nim |
16:54:12 | * | HakanD quit (Ping timeout: 260 seconds) |
16:56:34 | * | nsf joined #nim |
17:00:40 | * | yglukhov joined #nim |
17:05:08 | * | yglukhov quit (Ping timeout: 265 seconds) |
17:22:08 | * | fredrik92 quit (Quit: Client disconnecting) |
17:34:37 | * | pafmaf quit (Ping timeout: 260 seconds) |
17:48:19 | * | avp joined #nim |
17:49:32 | avp | hi, i'm trying to read 3 int64s from a single line of stdin, and i can't find a decent code example on how to do this....do i just have to use readLine() and somehow split the string after, or is there something like scanf("%d %d %d", ...) that i can use? |
17:50:18 | * | HakanD joined #nim |
17:54:21 | Araq | avp: stdlib module 'strscans' |
17:54:56 | avp | Araq: excellent, thanks! (first day using nim) |
17:55:01 | * | HakanD quit (Ping timeout: 244 seconds) |
17:57:35 | Trixar_za | I updated by deleting all the files except my code and the dist folder from the previous install (for mingw), then copied the contents of the zip file over into the directory and using finish.exe - was that the right way to do it? I want to avoid issues |
18:00:47 | Araq | Trixar_za: sounds ok. |
18:00:56 | * | kulelu88 joined #nim |
18:01:19 | Trixar_za | Araq: Ok, thanks |
18:04:03 | * | avp left #nim ("WeeChat 1.5") |
18:04:13 | * | HakanD joined #nim |
18:09:06 | * | libman joined #nim |
18:20:22 | * | HakanD_ joined #nim |
18:20:56 | * | fredrik92 joined #nim |
18:22:46 | * | yglukhov joined #nim |
18:23:26 | * | HakanD quit (Ping timeout: 265 seconds) |
18:23:38 | * | pregressive quit (Remote host closed the connection) |
18:24:17 | * | pregressive joined #nim |
19:00:40 | * | dmi00 quit (Ping timeout: 250 seconds) |
19:02:35 | cheatfate | `accept day` :) |
19:05:12 | * | HakanD_ quit (Read error: Connection reset by peer) |
19:05:27 | * | desophos_ joined #nim |
19:06:24 | * | HakanD_ joined #nim |
19:08:32 | * | desophos quit (Ping timeout: 260 seconds) |
19:08:56 | * | irrequietus quit () |
19:09:04 | * | irrequietus joined #nim |
19:13:54 | * | brson joined #nim |
19:15:48 | FromGitter | <GraydenH> I am getting a gcc compiler error saying it can't find Gl/gl3.h |
19:16:05 | FromGitter | <GraydenH> does that mean it can't find the opengl install? |
19:19:12 | dom96 | GraydenH: sounds like it, yes. |
19:19:46 | FromGitter | <GraydenH> I just installed openSuse on a vm, guess I should go grab opengl |
19:22:23 | Araq | Nim's opengl module doesn't require C headers afaik |
19:23:06 | FromGitter | <GraydenH> I was trying to use glfw |
19:23:32 | FromGitter | <GraydenH> as I couldn't find material on opengl without glfw |
19:35:36 | * | arnetheduck_ quit (Ping timeout: 250 seconds) |
19:36:03 | * | arnetheduck_ joined #nim |
19:38:22 | dom96 | GraydenH: Wish I could help more, somebody else might be able to help later on. If you don't get an answer feel free to ask on the forum as well. |
19:40:43 | * | fredrik92 quit (Quit: Client disconnecting) |
19:41:58 | * | mitai___ quit (Ping timeout: 244 seconds) |
19:44:09 | * | fredrik92 joined #nim |
19:52:18 | * | dmi00 joined #nim |
19:56:30 | * | qwertfisch is now known as geli_ |
19:56:34 | * | geli_ is now known as qwertfisch |
20:03:33 | * | bjz joined #nim |
20:03:45 | * | HakanD_ quit (Quit: Be back later ...) |
20:10:32 | * | kulelu88 quit (Quit: Leaving) |
20:11:30 | * | HakanD_ joined #nim |
20:11:43 | * | HakanD_ quit (Client Quit) |
20:12:19 | * | HakanD_ joined #nim |
20:14:44 | * | kulelu88 joined #nim |
20:14:44 | * | couven92 joined #nim |
20:15:38 | Araq | couven92: I simplified your code, have a look |
20:16:43 | * | HakanD_ quit (Ping timeout: 245 seconds) |
20:16:49 | * | beatmox joined #nim |
20:16:58 | * | Matthias247 joined #nim |
20:17:30 | * | fredrik92 quit (Ping timeout: 265 seconds) |
20:19:29 | couven92 | Araq, hmm... what exactly did you change I see you made "cl.exe" out of "cl".addFileExt(ExeExt) (and the same with link) |
20:20:17 | couven92 | Ah... I see the output parsing from the set command... |
20:24:05 | * | freddy92 joined #nim |
20:24:08 | Araq | your code is pretty much unreadable :P 'vcc' everywhere |
20:24:27 | * | couven92 quit (Disconnected by services) |
20:24:33 | * | freddy92 is now known as couven92 |
20:24:38 | couven92 | yeah, I know... |
20:25:09 | Araq | speaking of which ... how do we use these new tools? |
20:25:39 | Araq | compile the 2 programs, put them in nim\bin and edit nim.cfg? |
20:25:46 | couven92 | yup |
20:26:16 | Araq | is it safe to do this unconditionally? |
20:27:04 | couven92 | I actually thought: We should change the when(i386) statements in the code and rather use a different define instead, that makes more sense... |
20:27:13 | couven92 | What do you mean with unconditionally? |
20:28:22 | couven92 | I actually found out: Nim invokes cl.exe anyways, so compiling the linkerexe was actually not necessary... The CL command line works like the GCC commandline where linking is concerned |
20:29:20 | * | gangstacat quit (Ping timeout: 250 seconds) |
20:32:16 | couven92 | Araq, what I did was compile the vccexe tool twice, (once with -d:i386 and once with -d:amd64) to produce a vccexe-x86 and a vccexe-x64, then I placed both in the nim bin folder and entered the nim.cfg accordingly |
20:34:31 | Araq | hmm that's unnecessary |
20:35:16 | Araq | vccexe should do this at runtime |
20:35:17 | couven92 | Araq, ah, because we can just add an argument to the vcc options to get the right platform, right? |
20:35:27 | Araq | right |
20:35:46 | couven92 | Hmm... Okay... I will get onto that... |
20:36:06 | Araq | more important is the 'koch' and config integration |
20:38:01 | couven92 | Yeah... As you probaly noticed with my code, I am pretty much a Nim NOOB, sooo I'm not very deep into how koch actually does stuff and how and where exactly we would do that... |
20:38:21 | * | Trustable joined #nim |
20:41:33 | Araq | I can add the 3 lines to koch |
20:42:40 | couven92 | Araq, ooh... I thought it would be more difficult than that! :P Okay, I am ready to learn |
20:44:34 | FromGitter | <GraydenH> it seems nimx uses opengl to do everything I was looking for |
20:45:05 | FromGitter | <GraydenH> Although there seems to be 0 documentation |
20:45:37 | FromGitter | <GraydenH> other than reading the source |
20:45:51 | FromGitter | <GraydenH> but that doesn't tell me how to do more than the basics |
20:47:02 | Araq | graydenH: PRs welcome :-) |
20:50:00 | couven92 | Araq, I will switch out the when clauses in the code, also clean up some stuff... (less vcc and maybe some comments :P ) |
20:52:28 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
20:52:46 | Araq | couven92: 'when defined(release)' should be 'if not verbose' |
20:53:45 | couven92 | Yeah, and when(i386) shoudl actually be: when(useX86CompilerTools) or sth. like that... |
20:53:52 | * | nsf quit (Quit: WeeChat 1.6) |
20:55:09 | FromGitter | <GraydenH> oh, you are working your own UI lib |
20:55:19 | FromGitter | <GraydenH> on* |
20:55:38 | Araq | no, I wrapped libui |
20:56:13 | Araq | updated the wrapper, before I noticed it doesn't work for my use cases -.- |
20:56:20 | FromGitter | <GraydenH> ah, the repo description didn't make it sound that way |
21:01:06 | * | Demon_Fox joined #nim |
21:11:02 | dom96 | Araq: https://github.com/dom96/NimBorg/blob/master/nimborg/py/high_level.nim#L105 this crashes the compiler. |
21:11:19 | dom96 | "internal error: metatype not eliminated" |
21:11:21 | dom96 | known bug? |
21:12:56 | dom96 | oh, cool https://github.com/nim-lang/Nim/issues/3529 |
21:15:44 | * | freddy92 joined #nim |
21:15:52 | * | couven92 quit (Disconnected by services) |
21:16:02 | * | freddy92 is now known as couven92 |
21:24:57 | couven92 | Araq, the idea is that Koch should generate a vccenv.nim file that contains the VCC environment table and that this file then gets compiled into the nim binary? |
21:31:19 | * | bjz joined #nim |
21:32:27 | * | pie_ quit (Read error: Connection reset by peer) |
21:37:23 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:49:19 | * | planhths joined #nim |
21:50:29 | * | bjz joined #nim |
21:51:59 | * | yglukhov quit (Remote host closed the connection) |
21:53:29 | * | Matthias247 quit (Read error: Connection reset by peer) |
21:58:38 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:01:43 | Araq | couven92: just a sec, you can look at my patch soon |
22:03:37 | Araq | couven92: there you go. |
22:04:49 | couven92 | ah, cool... :) |
22:05:22 | FromGitter | <GraydenH> Are the pragmas meant to become more normal syntax at some point |
22:06:07 | couven92 | I am in troducing /vcPlatform arguments that get parsed in the vccexe tool and the get stripped before the call to cl.exe |
22:11:24 | * | pregressive quit (Remote host closed the connection) |
22:16:16 | Araq | GraydenH: not really. :-) you'll get used to them. |
22:25:12 | * | mitai___ joined #nim |
22:29:56 | * | mitai___ quit (Ping timeout: 265 seconds) |
22:31:17 | * | mitai___ joined #nim |
22:38:51 | * | irrequietus quit () |
22:42:50 | * | mitai joined #nim |
22:43:55 | * | mitai___ quit (Ping timeout: 276 seconds) |
22:47:20 | * | mitai___ joined #nim |
22:47:52 | * | mitai quit (Ping timeout: 260 seconds) |
22:48:03 | Araq | good night |
22:50:04 | * | planhths quit (Quit: Konversation terminated!) |
22:58:48 | * | CcxWrk quit (Ping timeout: 245 seconds) |
23:00:14 | * | elrood quit (Quit: Leaving) |
23:05:52 | * | mitai joined #nim |
23:06:04 | * | mitai___ quit (Ping timeout: 256 seconds) |
23:12:20 | * | mitai___ joined #nim |
23:12:26 | * | mitai quit (Ping timeout: 250 seconds) |
23:13:11 | * | qwertfisch_ joined #nim |
23:13:15 | * | Trustable quit (Remote host closed the connection) |
23:13:15 | * | qwertfisch quit (Ping timeout: 256 seconds) |
23:13:15 | * | qwertfisch_ is now known as qwertfisch |
23:15:58 | couven92 | erm... I want to check a part of a TaintedString against another string. substr or array slice? |
23:18:17 | * | mitai___ quit (Ping timeout: 252 seconds) |
23:19:28 | * | mitai___ joined #nim |
23:23:58 | * | mitai___ quit (Ping timeout: 250 seconds) |
23:28:27 | * | PMunch quit (Quit: leaving) |
23:41:09 | * | mitai___ joined #nim |
23:43:33 | * | astocko quit (*.net *.split) |
23:43:33 | * | Snircle quit (*.net *.split) |
23:43:33 | * | vendethiel quit (*.net *.split) |
23:43:34 | * | ehmry quit (*.net *.split) |
23:43:35 | * | Amun_Ra quit (*.net *.split) |
23:43:35 | * | r4vi quit (*.net *.split) |
23:43:37 | * | zaquest quit (*.net *.split) |
23:44:21 | * | astocko joined #nim |
23:44:21 | * | Snircle joined #nim |
23:44:21 | * | vendethiel joined #nim |
23:44:21 | * | ehmry joined #nim |
23:44:21 | * | Amun_Ra joined #nim |
23:44:21 | * | r4vi joined #nim |
23:44:21 | * | zaquest joined #nim |
23:44:30 | * | niv quit (Ping timeout: 256 seconds) |
23:44:41 | * | chemist69 quit (Ping timeout: 260 seconds) |
23:45:02 | * | r4vi quit (Max SendQ exceeded) |
23:45:40 | * | mitai joined #nim |
23:45:48 | * | mitai___ quit (Ping timeout: 260 seconds) |
23:46:56 | * | gokr quit (Ping timeout: 250 seconds) |
23:48:55 | * | chemist69 joined #nim |
23:50:10 | * | mitai___ joined #nim |
23:50:28 | * | mitai quit (Ping timeout: 260 seconds) |
23:53:35 | FromGitter | <GraydenH> I used `nimble install nimx`, did `nimble new nimxtest`, then added `requires "nimx"` to the nimble file then make a 1 line file `test.nim` that says `import nimx`. When I run `nimble c test.nim` and it gets past the nimble step where it says `Looking for nimx (any version). Dependency already satisfied.` and goes to the nim compiler which then says `cannot open nimx` |
23:54:09 | FromGitter | <GraydenH> what am I doing wrong |
23:54:14 | * | saml_ joined #nim |
23:56:04 | * | r4vi joined #nim |
23:56:51 | * | hcorion joined #nim |
23:56:56 | FromGitter | <GraydenH> ah, I have to import a sub component of nimx like nimx.window |
23:57:22 | FromGitter | <GraydenH> Now I'm getting message that says nimx can't open opengl... |
23:57:32 | FromGitter | <GraydenH> see this is my problem |
23:57:46 | FromGitter | <GraydenH> opengl does not need to want to work with nim for me |
23:57:53 | FromGitter | <GraydenH> seem* |
23:58:19 | * | ftsf_ joined #nim |
23:58:39 | FromGitter | <GraydenH> `nimble install opengl` its already there |
23:59:06 | FromGitter | <GraydenH> ```PS C:\Users\Grayden\Documents\work\nim\nimxtest> nimble c test.nim ⏎ Looking for nimx (any version)... ⏎ Dependency already satisfied. ⏎ Compiling test.nim (nimxtest) using c backend... ⏎ Hint: used config file 'C:\Nim\config\nim.cfg' [Conf] ... [https://gitter.im/nim-lang/Nim?at=580ea04aab78365b20574f7d] |
23:59:56 | * | ibk joined #nim |