00:08:49 | * | FromGitter quit (Ping timeout: 246 seconds) |
00:08:59 | * | oprypin quit (Read error: Connection reset by peer) |
00:09:05 | * | BlaXpirit joined #nim |
00:09:30 | * | BlaXpirit is now known as oprypin |
00:09:32 | * | mahmudov joined #nim |
00:14:48 | * | FromGitter joined #nim |
00:18:56 | * | FromGitter quit (Ping timeout: 246 seconds) |
00:20:18 | * | fi6uh joined #nim |
00:20:22 | * | fi6uh left #nim ("WeeChat 1.9") |
00:22:13 | * | mahmudov quit (Remote host closed the connection) |
00:25:15 | * | mahsav joined #nim |
00:25:30 | * | FromGitter joined #nim |
00:41:19 | * | itseris quit (Quit: Konversation terminated!) |
00:54:52 | * | yglukhov joined #nim |
01:00:16 | * | yglukhov quit (Ping timeout: 248 seconds) |
01:13:32 | * | chemist69 quit (Ping timeout: 246 seconds) |
01:27:42 | * | chemist69 joined #nim |
02:04:01 | * | dankrad quit (Ping timeout: 240 seconds) |
02:06:11 | * | dankrad joined #nim |
02:28:16 | * | mzznn joined #nim |
02:31:55 | * | mzznn left #nim ("Leaving...") |
02:39:44 | * | pilne quit (Quit: Quitting!) |
02:45:35 | * | def-pri-pub joined #nim |
02:47:47 | * | mzznn joined #nim |
02:50:23 | * | mzznn left #nim (#nim) |
02:58:25 | * | yglukhov joined #nim |
03:02:41 | * | yglukhov quit (Ping timeout: 240 seconds) |
03:03:28 | * | dankrad quit (Ping timeout: 240 seconds) |
03:03:51 | * | v17d joined #nim |
03:04:32 | * | v17d quit (Remote host closed the connection) |
03:05:16 | * | dankrad joined #nim |
03:13:23 | FromGitter | <JohnEmhoff> hmmm, getting a weird error when I run "./koch tools": |
03:13:50 | FromGitter | <JohnEmhoff> Error: execution of an external program failed: 'gcc ...' |
03:13:58 | FromGitter | <JohnEmhoff> it's trying to compile linenoise.c |
03:14:38 | FromGitter | <JohnEmhoff> there's no actual error message in the output, but if I copy/paste the gcc command that purportedly fails it exits with 0 and successfully creates a .o file |
03:15:06 | FromGitter | <JohnEmhoff> (gcc command is "gcc -c -w -pthread -O3 -fno-strict-aliasing -I/home/john/nim/nim-0.17.0/lib -o nimsuggest/nimcache/linenoise.o /home/john/nim/nim-0.17.0/lib/wrappers/linenoise/linenoise.c ") |
03:31:54 | * | Nobabs27 joined #nim |
03:36:14 | * | mzznn joined #nim |
03:36:22 | * | mzznn left #nim (#nim) |
03:42:18 | * | v17d joined #nim |
03:43:24 | * | v17d quit (Remote host closed the connection) |
03:45:10 | * | v17d joined #nim |
03:47:23 | * | v17d quit (Read error: Connection reset by peer) |
03:47:25 | * | vlad1777d joined #nim |
03:52:21 | * | sz0 quit () |
04:05:18 | * | def-pri-pub quit (Quit: leaving) |
04:23:23 | * | dddddd quit (Remote host closed the connection) |
04:42:07 | * | yaiyan quit (K-Lined) |
04:42:07 | * | yeeve quit (K-Lined) |
04:42:08 | * | mwbrown quit (K-Lined) |
04:42:09 | * | demi- quit (K-Lined) |
04:42:09 | * | NimBot quit (K-Lined) |
04:45:24 | * | NimBot joined #nim |
04:45:27 | * | Amrykid joined #nim |
04:45:27 | * | GaveUp joined #nim |
04:45:27 | * | Araq joined #nim |
04:45:27 | * | mahsav quit (K-Lined) |
04:45:28 | * | demi- joined #nim |
04:45:28 | * | MonsterAbyss joined #nim |
04:45:28 | * | byte512 joined #nim |
04:45:28 | * | mwbrown joined #nim |
04:45:28 | * | Gertm joined #nim |
04:45:28 | * | Lord_Nightmare joined #nim |
04:45:28 | * | wishi joined #nim |
04:45:28 | * | chaosdav joined #nim |
04:45:28 | * | Shoozza joined #nim |
04:45:29 | * | flyx joined #nim |
04:45:29 | * | dave24 joined #nim |
04:45:30 | * | yaiyan joined #nim |
04:45:30 | * | benoliver999 joined #nim |
04:45:30 | * | pwntus joined #nim |
04:45:30 | * | ldleworker joined #nim |
04:45:30 | * | Sentreen joined #nim |
04:45:31 | * | askatasuna joined #nim |
04:45:31 | * | v17d joined #nim |
04:45:31 | * | jonafato joined #nim |
04:45:31 | * | joebo1 joined #nim |
04:45:31 | * | Xe joined #nim |
04:45:32 | * | Xe quit (Changing host) |
04:45:32 | * | Xe joined #nim |
04:45:33 | * | TheManiac quit (Ping timeout: 240 seconds) |
04:45:38 | * | oprypin joined #nim |
04:45:38 | * | MrAxilus[m] quit (Ping timeout: 246 seconds) |
04:45:38 | * | mindB quit (Ping timeout: 246 seconds) |
04:45:40 | * | kunev joined #nim |
04:45:41 | * | niv joined #nim |
04:45:45 | * | EastByte joined #nim |
04:45:48 | * | ehmry quit (Ping timeout: 240 seconds) |
04:45:54 | * | dyce[m] quit (Ping timeout: 255 seconds) |
04:45:55 | * | bozaloshtsh joined #nim |
04:45:58 | * | byteflame quit (Ping timeout: 264 seconds) |
04:45:58 | * | hohlerde quit (Ping timeout: 264 seconds) |
04:45:59 | * | def- joined #nim |
04:46:01 | * | jivank[m] quit (Ping timeout: 246 seconds) |
04:46:21 | * | Jipok[m] quit (Ping timeout: 255 seconds) |
04:46:21 | * | Demos[m] quit (Ping timeout: 255 seconds) |
04:46:34 | * | Pisuke joined #nim |
04:46:37 | * | mahsav joined #nim |
04:46:39 | * | SunDwarf joined #nim |
04:46:39 | * | bozaloshtsh quit (Changing host) |
04:46:39 | * | bozaloshtsh joined #nim |
04:46:40 | * | rauss joined #nim |
04:46:43 | * | Amun_Ra joined #nim |
04:46:46 | * | Nobabs27 joined #nim |
04:46:55 | * | pigmej joined #nim |
04:47:05 | * | Calinou joined #nim |
04:47:26 | * | shodan45 joined #nim |
04:47:27 | * | dom96 joined #nim |
04:47:28 | * | joshbaptiste_ joined #nim |
04:47:31 | * | koppeh1 joined #nim |
04:47:45 | * | gmpreussner joined #nim |
04:48:32 | * | StarBrilliant joined #nim |
04:49:02 | * | jackv joined #nim |
04:49:18 | * | CcxWrk joined #nim |
04:49:22 | * | v17d quit (Remote host closed the connection) |
04:49:26 | * | ShalokShalom joined #nim |
04:49:56 | * | d10n joined #nim |
04:50:10 | * | adamchainz joined #nim |
04:50:23 | * | mal`` joined #nim |
04:50:27 | * | ludocode joined #nim |
04:50:33 | * | bodie_ joined #nim |
04:51:12 | * | d10n quit (Changing host) |
04:51:12 | * | d10n joined #nim |
04:51:35 | * | jinshil joined #nim |
04:52:34 | * | v17d joined #nim |
04:52:58 | * | Jipok[m] joined #nim |
04:57:46 | * | kier joined #nim |
04:57:47 | * | dyce[m] joined #nim |
04:57:47 | * | byteflame joined #nim |
04:57:47 | * | mindB joined #nim |
04:57:47 | * | Demos[m] joined #nim |
04:57:47 | * | ehmry joined #nim |
04:57:54 | * | hohlerde joined #nim |
04:57:54 | * | jivank[m] joined #nim |
04:57:54 | * | MrAxilus[m] joined #nim |
04:57:56 | * | TheManiac joined #nim |
04:58:28 | * | smt joined #nim |
05:00:07 | * | Elronnd joined #nim |
05:00:12 | * | yglukhov joined #nim |
05:02:21 | * | rauss quit (Quit: WeeChat 1.9) |
05:04:35 | * | yglukhov quit (Ping timeout: 240 seconds) |
05:17:38 | * | heinrich5991 joined #nim |
05:17:59 | * | v17d quit (Remote host closed the connection) |
05:27:49 | * | Nobabs27 quit (Quit: Leaving) |
05:29:15 | * | Nobabs27 joined #nim |
05:31:01 | * | Nobabs27 quit (Client Quit) |
05:59:00 | FromGitter | <citycide> is there a way to do open ended ranges? ⏎ ⏎ ```case x: ⏎ of 1: echo "one" ⏎ of 2..: echo "two or more"``` [https://gitter.im/nim-lang/Nim?at=599530a4bc464729749096e3] |
06:00:38 | * | skrylar joined #nim |
06:01:18 | skrylar | i'm sure nobody cares, but i made part of a pure nim game/sim math package |
06:01:50 | skrylar | have the fixed up libui thing too but that computer is broken atm |
06:03:00 | skrylar | also some native nim neural net type stuff although GRU neurons are buggy right now |
06:07:33 | Araq | huh? fixed libui? what was broken? |
06:10:34 | skrylar | other than libui sucks as it turns out, nothing was broken so much as i have peculiar api designs that i use :b |
06:10:53 | skrylar | the lack of toolbars was meh. but it also doesn't seem to have scroll bars afaict |
06:19:03 | * | ketralnis joined #nim |
06:27:21 | * | gangstacat joined #nim |
06:28:09 | Araq | yeah it lacks many things |
06:28:53 | * | oprypin quit (Quit: Bye) |
06:29:47 | * | oprypin joined #nim |
06:29:59 | * | oprypin quit (Remote host closed the connection) |
06:32:38 | * | ShalokShalom_ joined #nim |
06:35:43 | * | ShalokShalom quit (Ping timeout: 248 seconds) |
06:38:59 | * | Vladar joined #nim |
06:42:26 | * | nsf joined #nim |
06:45:45 | skrylar | efl is tolerabler |
06:45:57 | skrylar | a little eccentric, supposedly works on windows but haven't tried |
06:46:02 | * | ShalokShalom_ is now known as ShalokShalom |
06:47:47 | * | federico3 joined #nim |
06:48:41 | skrylar | get to do a comparison of svn vs git with lfs later. yay |
06:49:13 | skrylar | early intuition says svn is better for the binary blobs and then use phabricator or something to track both |
06:53:54 | * | skrylar_ joined #nim |
06:53:54 | * | skrylar quit (Read error: Connection reset by peer) |
07:02:34 | * | yglukhov joined #nim |
07:06:57 | * | yglukhov quit (Ping timeout: 240 seconds) |
07:08:11 | skrylar_ | wonder how well it would work out to mix types in nim with emit |
07:08:27 | skrylar_ | what i was thinking is for vector code, having a flag that changes it from a nim tuple to a gcc intrinsic |
07:08:37 | skrylar_ | 'cause they have vector intrinsics that get automatic SIMD conversion |
07:23:47 | Araq | tuples don't work well, objects should |
07:38:23 | * | couven92 joined #nim |
07:40:35 | skrylar_ | would probably change from a tuple to an array when i go to test that |
07:40:44 | skrylar_ | gcc vector intrinsics ARE arrays, basically |
07:40:47 | skrylar_ | with a lot of magic |
07:42:33 | Araq | https://forum.nim-lang.org/t/3105/2 scroll to the longest post |
07:43:12 | * | cspar joined #nim |
07:43:28 | skrylar_ | yea those intrinsics are neat |
07:43:33 | skrylar_ | i played with them a little with tensor code |
07:47:54 | * | abeaumont joined #nim |
07:57:22 | * | Amrykid quit (Ping timeout: 260 seconds) |
07:57:44 | * | Amrykid joined #nim |
08:04:10 | * | yglukhov joined #nim |
08:05:20 | * | nattefrost joined #nim |
08:06:26 | * | yglukhov_ joined #nim |
08:06:56 | * | yglukhov quit (Remote host closed the connection) |
08:18:40 | * | yeeve joined #nim |
08:20:17 | * | gokr joined #nim |
08:24:41 | tankfeeder | https://notepad-plus-plus.org/news/notepad-7.5-released.html |
08:24:47 | tankfeeder | with nimrod support :) |
08:33:34 | * | Tiberium joined #nim |
08:37:38 | FromGitter | <TiberiumN> Nimrod? |
08:38:09 | FromGitter | <TiberiumN> Lol |
08:39:53 | * | dom96|w joined #nim |
08:45:48 | skrylar_ | that was our original name before fun was no longer allowed |
08:48:56 | euantor | Nice, Notepad++ has quite a large following and having Nim support baked in is a nice touch |
08:51:22 | Araq | I doubt the scintilla lexer has been kept up to date though |
08:51:42 | Araq | that Notepad++ uses under the hood |
08:51:48 | euantor | Probably not |
08:57:03 | * | jinshil quit (Quit: Good-bye!) |
08:59:18 | gangstacat | SciTE one doesn't even have "let" in the keywords, and is still named nimrod |
08:59:31 | * | Tiberium quit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org) |
09:00:12 | * | pwntus quit (Changing host) |
09:00:12 | * | pwntus joined #nim |
09:01:23 | gangstacat | https://github.com/soimort/SciTE-properties/blob/master/new/nimrod.properties |
09:03:29 | * | yglukhov_ quit (Ping timeout: 248 seconds) |
09:04:17 | * | yglukhov joined #nim |
09:09:05 | * | McSoFake joined #nim |
09:09:21 | * | yglukhov quit (Ping timeout: 248 seconds) |
09:17:20 | * | yglukhov joined #nim |
09:46:54 | * | Arrrr joined #nim |
09:46:54 | * | Arrrr quit (Changing host) |
09:46:54 | * | Arrrr joined #nim |
09:50:27 | skrylar_ | teaching oneself matrix math is annoying :f |
10:11:05 | * | Arrrr quit (Ping timeout: 240 seconds) |
10:27:13 | * | Arrrr joined #nim |
10:27:13 | * | Arrrr quit (Changing host) |
10:27:13 | * | Arrrr joined #nim |
10:47:27 | * | dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
10:51:22 | FromGitter | <TiberiumN> skrylar_ I know that Nimrod was an older name of Nim |
10:51:39 | FromGitter | <TiberiumN> I'm lol'ing because they added "Nimrod" but there is not language called "Nimrod" |
10:52:21 | FromGitter | <TiberiumN> When was Nimrod renamed to Nim? |
10:53:24 | FromGitter | <TiberiumN> anyway I replied in the forum thread about this release |
10:53:25 | FromGitter | <faustinoaq> @TiberiumN see: https://forum.nim-lang.org/t/2994 |
10:53:32 | FromGitter | <faustinoaq> |
10:54:27 | FromGitter | <TiberiumN> Yeah I found it myself in the blog |
10:54:30 | FromGitter | <TiberiumN> https://nim-lang.org/blog/2014/12/29/version-0102-released.html |
10:55:40 | FromGitter | <faustinoaq> |
11:00:08 | * | Tiberium joined #nim |
11:00:17 | Tiberium | Hmm, I have this type: "ModuleFunction* = proc(api: VkApi, msg: Message): Future[void]" |
11:00:23 | Tiberium | I'm trying to make VkApi a concept |
11:00:32 | Tiberium | but it says: "ib/system.nim(666, 16) Error: invalid type: 'VkApi' in this context: 'proc (s: var seq[KeyValuePair[system.string, command.ModuleFunction]], len: Natural){.noSideEffect.}" |
11:00:36 | Tiberium | lib/system.nim(666, 16) Error: invalid type: 'VkApi' in this context: 'proc (s: var seq[KeyValuePair[system.string, command.ModuleFunction]], len: Natural){.noSideEffect.} |
11:01:49 | Tiberium | hmm |
11:01:51 | Tiberium | line 666 is proc newSeq*[T](s: var seq[T], len: Natural) {.magic: "NewSeq", noSideEffect.} |
11:03:48 | Tiberium | Ok, simpler: Can I create a table with values being procedures with concept in arguments? |
11:04:44 | * | dom96|w joined #nim |
11:04:47 | euantor | Concepts aren't interfaces, they're generic type classes. You might be able to use something like `type ModuleFunction[TVkApi: VkApi]* = proc(api: TVkApi, msg: Message): Future[void]` but I'm not sure |
11:04:59 | Tiberium | Ah, ok |
11:05:11 | euantor | And you cannot create a seq of a concept, which also probably means you can't create a seq of prcs taking concepts |
11:05:51 | Tiberium | well I'm not creating a sequence of concepts |
11:05:55 | Tiberium | ah |
11:05:59 | Tiberium | that's sad :( |
11:06:14 | euantor | values in a seq need to be all the same type, you can't mix types |
11:06:52 | euantor | I _think_ this is where the `vtref` stuff might come in, but I've not looked at them and don't know what status they're in |
11:10:59 | Tiberium | I'm trying to create tests for my application, but it's not an easy task since all things in my program are dependent on each other |
11:12:43 | * | dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
11:14:18 | * | Tiberium quit (Remote host closed the connection) |
11:16:14 | * | McSoFake left #nim ("Good Bye") |
11:19:12 | * | BitPuffin|osx joined #nim |
11:37:37 | * | haha_ joined #nim |
11:47:07 | * | dddddd joined #nim |
11:56:55 | * | dom96|w joined #nim |
12:05:22 | * | Tiberium joined #nim |
12:07:25 | * | planhths joined #nim |
12:17:09 | * | haha_ quit (Quit: haha_) |
12:36:27 | * | dddddd quit (Ping timeout: 240 seconds) |
12:40:02 | * | dddddd joined #nim |
13:01:55 | * | planhths quit (Quit: Konversation terminated!) |
13:02:13 | * | planhths joined #nim |
13:07:07 | * | dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
13:14:39 | * | dom96|w joined #nim |
13:15:02 | * | PMunch joined #nim |
13:22:06 | * | rauss joined #nim |
13:24:42 | * | nsf quit (Quit: WeeChat 1.9) |
13:34:43 | FromGitter | <Smaehtin> @Tiberium have you heard of "inversion of control"? |
13:35:59 | FromGitter | <Smaehtin> (https://stackoverflow.com/questions/3058/what-is-inversion-of-control) |
13:38:56 | Tiberium | I've tried to do this with concepts |
13:38:59 | Tiberium | instead of classes |
13:39:50 | Araq | I split my code into data + procs and never have any testing problems |
13:40:15 | Araq | it's easy to create test data if your data stays dumb |
13:41:15 | Araq | of course, if you attach "behaviours" to it, you find yourself in OO hell where you need runtime dynamism just to test your code |
13:41:23 | Araq | or to serialize it. |
13:41:47 | Araq | or to do anything useful really with your data if it outlives your program (and it always does) |
13:46:27 | * | gokr quit (Ping timeout: 255 seconds) |
13:47:49 | * | dddddd quit (Ping timeout: 246 seconds) |
13:55:56 | euantor | Araq: I know there's an open issue/pull request for IO stuff in the stdlib, but what do you see happening to IO handling in the future? I recently wrote a stream type to work with a serial port and implemented buffering in it. In my eyes it would be nice if standard IO types (files, sockets, etc) in the stdlib were unbuffered and then there was a buffered stream (or some other type) over the base IO types to provide buffering. That way buffering |
13:55:56 | euantor | logic is only in one place (and there could be a buffered reader and buffered writer). Just a thought :) |
13:56:13 | * | PMunch quit (Quit: Leaving) |
13:56:54 | Tiberium | Araq, well my application depends on a social network (I listen for events from social network) |
13:59:27 | * | rauss quit (Quit: WeeChat 1.9) |
13:59:37 | * | rauss joined #nim |
13:59:51 | Araq | euantor: I doubt "the buffering logic" is a single implementation that you can have "only in one place" and I never needed unbuffered IO anywhere |
14:00:38 | Araq | that is like saying "let's have all the iteration logic in one place" |
14:00:55 | euantor | Perhaps. I've needed to use unbuffered IO several times myself, like when dealing with a serial port where buffering happens at the OS level naturally |
14:01:28 | euantor | I'm also thinking about it as a way to improve the `streams.readLine()` procedure that currently reads one byte at a time until it hits a newline sequence |
14:01:28 | * | dddddd joined #nim |
14:02:41 | euantor | And coming from things from .net where we have Streams (such as FileStream and networkStream) that don't do buffering when reading, and then have a StreamReader that wraps a Stream and does buffering |
14:03:42 | * | gokr joined #nim |
14:04:41 | euantor | It's also similar to how Go does IO - they have the `bufio` package that ahndles buffering for IO: https://golang.org/pkg/bufio/ |
14:05:49 | Araq | good defaults cover the common case, not the fringe case, so io vs bufio is wrong and io vs unbufio is right |
14:07:04 | euantor | so buffer by default and provide unbuffered versions? I guess I can live with that and that's the way things currently are. Just wanted to know your thoughts |
14:10:21 | * | arnetheduck joined #nim |
14:11:08 | Araq | wrong double buffering is often negligible performance-wise whereas unbuffered IO is horrible. unbuffered IO is a horrible default. |
14:11:16 | arnetheduck | https://github.com/nim-lang/Nim/pull/5818 updated to latest devel |
14:17:00 | Araq | arnetheduck: 'UnecheckedInt8Array' is a typo |
14:17:13 | euantor | Fair enough. I can live with that, thanks |
14:17:14 | Araq | and since you need to change it anyway ... :P can you do this: |
14:18:32 | Araq | type UncheckedArray* {.unchecked.}[T] = array[0, T] # add to system.nim |
14:18:42 | Araq | and use it thoughout? |
14:19:06 | Araq | so that .unchecked can eventually become an implementation detail? |
14:19:18 | * | gangstacat quit (Quit: Leaving) |
14:20:05 | arnetheduck | can |
14:20:35 | * | planhths quit (Ping timeout: 240 seconds) |
14:23:27 | Araq | ty |
14:27:12 | arnetheduck | UncheckedArray or just uarray (since most system types seem lowercase)? |
14:33:45 | arnetheduck | Araq, pushed |
14:35:57 | Araq | UncheckedArray, as I wrote it |
14:37:42 | Araq | looks ok, waiting for the testers |
14:42:13 | * | PMunch joined #nim |
14:43:05 | PMunch | Guess what I just got in the mail |
14:45:49 | crem | A letter! |
14:46:25 | FromGitter | <superfunc_twitter> a brick |
14:47:35 | dom96|w | Nim in Action? :) |
14:49:55 | Araq | a bug? |
14:51:39 | Demos[m] | Hey araq: is it intentional that the abi of nim code tends to be more obvious than c++ and friends? |
14:53:21 | * | arnetheduck quit (Ping timeout: 248 seconds) |
14:57:13 | PMunch | dom96|w, was right :) |
14:57:52 | Demos[m] | When is nim in action gunna get to amazon us? |
14:58:01 | Demos[m] | I wanna order for he office |
14:59:28 | FromGitter | <superfunc_twitter> Also is it gonna show up in brick n mortars? |
15:00:06 | dom96|w | no idea |
15:08:44 | PMunch | Mine didn't |
15:08:46 | * | gokr quit (Ping timeout: 255 seconds) |
15:25:22 | * | Trustable joined #nim |
15:32:39 | * | yglukhov quit (Remote host closed the connection) |
15:32:41 | rauss | dom96|w: Is there a place selling your book from which you get the biggest cut? |
15:33:11 | * | haha_ joined #nim |
15:33:14 | dom96|w | rauss: Manning using the referral link on https://book.picheta.me |
15:34:08 | * | yglukhov joined #nim |
15:36:09 | * | yglukhov_ joined #nim |
15:36:09 | * | yglukhov quit (Read error: Connection reset by peer) |
15:36:54 | rauss | Okay thanks |
15:40:27 | * | yglukhov_ quit (Ping timeout: 240 seconds) |
15:46:39 | dom96|w | rauss: thank you for asking :) |
15:49:55 | * | gokr joined #nim |
15:51:34 | * | haha_ quit (Quit: haha_) |
15:52:30 | * | vegai_ joined #nim |
15:52:37 | * | haha_ joined #nim |
15:53:10 | * | vegai_ quit (Client Quit) |
15:53:11 | * | Tiberium quit (Quit: Leaving) |
15:53:29 | * | Yardanico joined #nim |
15:56:25 | Yardanico | I've changed my nickname from Tiberium to Yardanico, pls don't be confused :) |
15:56:54 | Yardanico | on github too |
15:57:27 | * | dddddd quit (Ping timeout: 240 seconds) |
16:01:45 | couven92 | Yardanico, how can you do that! :O You're upsetting one of the constants of the universe! :P |
16:01:56 | Yardanico | :D |
16:03:43 | * | nsf joined #nim |
16:06:16 | dom96|w | Bah, why the nick change? |
16:06:34 | * | gangstacat joined #nim |
16:07:17 | Yardanico | well, current nickname is not very unique |
16:07:29 | * | couven92 quit (Quit: Client disconnecting) |
16:11:06 | * | dddddd joined #nim |
16:13:08 | Yardanico | and my new nickname also consist of some letters from my name & surname :D |
16:14:59 | Yardanico | (but if someone doesn't know my name or surname, he'll never know that) |
16:15:11 | Yardanico | *he'll never know that I have them in my nickname |
16:15:32 | * | krux02 joined #nim |
16:15:45 | krux02 | hello people |
16:15:52 | Yardanico | hi |
16:16:15 | krux02 | hi |
16:16:18 | krux02 | how are you |
16:16:22 | krux02 | have I seen you earlier? |
16:16:24 | Yardanico | yes |
16:16:29 | Yardanico | I'm Tiberium :D |
16:16:43 | Yardanico | (just changed my nickname so it would be more unique) |
16:16:59 | krux02 | ah |
16:17:05 | krux02 | I just saw the log |
16:17:14 | krux02 | you basically just explained it |
16:17:22 | krux02 | but this client doesn't show history |
16:17:33 | krux02 | it's just an emacs mode |
16:18:35 | krux02 | people use slack these days and a few people still insist on irc |
16:24:56 | * | xet7 joined #nim |
16:26:24 | * | dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
16:27:59 | * | dom96|w joined #nim |
16:29:07 | * | vivus joined #nim |
16:39:41 | * | enthus1ast__ joined #nim |
16:39:54 | * | yglukhov joined #nim |
16:40:12 | enthus1ast__ | hey Trustable can i somehow autosize the window in nigui? |
16:40:50 | enthus1ast__ | i want to have it fit its children height |
16:41:33 | krux02 | I don't know nigui, but to my knowledge that is not an easy problem to solve |
16:42:32 | enthus1ast__ | maybe the children tell me the render size or something... i'll try |
16:42:38 | krux02 | UI layouting is either from top to bottom, meaning that you provide the size of the outer frame and everything inside adjusts in size or the opposite you provide the content and the frame grows dynamically |
16:42:58 | enthus1ast__ | jeah i want to archive the second |
16:43:01 | krux02 | when a UI is written like the first one, the second one is generally not possible |
16:43:32 | krux02 | well not possible is not correct |
16:43:40 | krux02 | but it is complicated |
16:43:58 | * | haha_ quit (Quit: haha_) |
16:44:01 | krux02 | And I can imagine that it is for the sake of simplicity not supported |
16:44:24 | krux02 | but as I said, that is just a guess |
16:44:29 | krux02 | I could be wrong |
16:47:17 | krux02 | but that also doesn't mean that you can't do it |
16:47:27 | Trustable | hey enthus1ast__ : autosizing a widow is not planned so far |
16:47:36 | krux02 | maybe there is a way to query the size of the content and then you can ask to resize the window to that size |
16:47:56 | enthus1ast__ | yeah this is what i wanna try now |
16:48:14 | krux02 | Trustable: is what is said reasonable, I hope I did not talk crap |
16:48:57 | * | haha_ joined #nim |
16:51:07 | Trustable | it's reasonable, for Controls there are the different WidthModes/HeightModes to control the sizing, maybe the layout manager can be extended to allow it for the Window too |
17:06:47 | enthus1ast__ | this works for me |
17:06:49 | enthus1ast__ | https://gist.github.com/enthus1ast/aa64a2956be67b911f134a1b00557cac |
17:09:56 | enthus1ast__ | i'm happy Trustable that button clicki thingi is ready for production :D |
17:13:02 | Trustable | Keep in mind: for windows there is the complicated thing, that there is an "inner" and "outer" size (incl. title bar) |
17:13:10 | * | haha_ quit (Quit: haha_) |
17:16:41 | * | haha_ joined #nim |
17:18:15 | * | planhths joined #nim |
17:19:43 | * | dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
17:20:01 | * | gokr quit (Ping timeout: 248 seconds) |
17:46:27 | * | enthus1ast__ quit (Ping timeout: 240 seconds) |
17:47:11 | * | haha_ quit (Quit: haha_) |
17:50:51 | * | haha_ joined #nim |
18:10:26 | * | sz0 joined #nim |
18:16:57 | Demos[m] | should compiler updates invalidate the nimcache? |
18:17:14 | Demos[m] | ion |
18:27:31 | * | gangstacat quit (Quit: Leaving) |
18:36:57 | * | gokr joined #nim |
18:48:19 | * | oprypin joined #nim |
19:20:08 | * | nsf quit (Quit: WeeChat 1.9) |
19:30:48 | * | rauss quit (Quit: WeeChat 1.9) |
19:47:19 | * | planhths quit (Ping timeout: 255 seconds) |
19:52:34 | * | Matthias247 joined #nim |
20:06:20 | * | Vladar quit (Quit: Leaving) |
20:06:57 | krux02 | why does the compiler use var ident: PIdent; ident.id? |
20:07:03 | krux02 | PIdent does not have id |
20:13:44 | * | haha_ quit (Quit: haha_) |
20:16:53 | * | planhths joined #nim |
20:17:00 | * | planhths quit (Client Quit) |
20:19:17 | * | Arrrr quit (Read error: Connection reset by peer) |
20:24:12 | krux02 | well yea I found out the problem |
20:31:43 | * | Xanu joined #nim |
20:40:49 | * | Xanu quit (Quit: WeeChat 1.9) |
20:45:24 | * | nsf joined #nim |
20:45:40 | * | Yardanico quit (Remote host closed the connection) |
20:54:56 | FromGitter | <zacharycarter> and? |
20:55:31 | * | Trustable quit (Remote host closed the connection) |
21:02:43 | Araq | krux02: PIdent has an ID |
21:16:52 | * | PMunch quit (Quit: leaving) |
21:26:10 | * | yglukhov quit (Read error: Connection reset by peer) |
21:26:42 | * | yglukhov joined #nim |
21:42:34 | * | literal joined #nim |
21:46:19 | * | xet7 quit (Quit: Leaving) |
21:49:47 | * | Sentreen quit (Ping timeout: 260 seconds) |
21:55:32 | FromGitter | <brentp> is there a better way to do this? like yield from in python or other? ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=599610d4162adb6d2e083d0c] |
21:59:37 | * | gokr quit (Ping timeout: 255 seconds) |
21:59:49 | dom96 | What do you think would be better? |
21:59:51 | dom96 | Shorter code? |
22:02:22 | * | Sentreen joined #nim |
22:06:44 | FromGitter | <GULPF> pythons `yield from` should be possible to do with a macro, I don't think there is any easier way with just the standard stlib |
22:06:53 | FromGitter | <GULPF> or even a tempalte |
22:07:53 | FromGitter | <GULPF> @dom96: python has a helper syntax for yielding everything from another iterator, https://docs.python.org/3/whatsnew/3.3.html#pep-380 |
22:08:38 | dom96 | oh, right. We don't have that. |
22:08:53 | dom96 | But yeah, all you need is a template |
22:12:20 | FromGitter | <brentp> ok. thanks. I'm fine with this as is. just wanted to make sure I wasn't missing something after was browsing: https://nim-lang.org/docs/manual.html#iterators-and-the-for-statement-first-class-iterators |
22:15:26 | * | zama joined #nim |
22:18:28 | * | nsf quit (Quit: WeeChat 1.9) |
22:27:10 | * | nattefrost quit (Remote host closed the connection) |
22:48:28 | * | enthus1ast- joined #nim |
22:50:28 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:54:35 | * | enthus1ast- is now known as enthus1ast |
23:11:47 | * | enthus1ast is now known as enthus1ast- |
23:14:21 | * | BitPuffin|osx quit (Ping timeout: 240 seconds) |
23:14:45 | skrylar_ | plop pop pop plop bp |
23:22:18 | * | yglukhov quit (Remote host closed the connection) |
23:29:29 | skrylar_ | time to see if i actually got this matrix inversion crap right |
23:38:29 | * | jinshil joined #nim |
23:43:45 | krux02 | Araq: yes I eventually saw that PIdent uses inheritance, a technique I hardly use for anything anymore. |