00:00:44 | * | find0x90 quit (Quit: find0x90) |
00:02:00 | * | Electrux quit (Ping timeout: 260 seconds) |
00:04:51 | * | xkapastel quit (Quit: Connection closed for inactivity) |
00:07:12 | * | Electrux joined #nim |
00:11:45 | * | Electrux quit (Ping timeout: 264 seconds) |
00:13:41 | * | cornfeedhobo quit (Ping timeout: 265 seconds) |
00:14:18 | FromDiscord | <citycide> when nimble fails on windows with `Error: unhandled exception: The process cannot access the file because it is being used by another process.` - what file is it talking about exactly? |
00:14:32 | FromDiscord | <citycide> that's after `nimble install` btw |
00:17:11 | * | Electrux joined #nim |
00:21:41 | * | Electrux quit (Ping timeout: 256 seconds) |
00:28:12 | * | Electrux joined #nim |
00:32:45 | * | Electrux quit (Ping timeout: 264 seconds) |
00:46:57 | * | xkapastel joined #nim |
00:48:11 | * | Electrux joined #nim |
00:52:00 | * | cornfeedhobo joined #nim |
00:52:53 | * | Electrux quit (Ping timeout: 268 seconds) |
01:07:11 | * | Electrux joined #nim |
01:11:33 | * | Electrux quit (Ping timeout: 256 seconds) |
01:17:12 | * | Electrux joined #nim |
01:21:55 | * | Electrux quit (Ping timeout: 260 seconds) |
01:37:15 | * | Electrux joined #nim |
01:41:42 | * | Electrux quit (Ping timeout: 252 seconds) |
01:47:12 | * | Electrux joined #nim |
01:51:29 | * | Electrux quit (Ping timeout: 248 seconds) |
01:55:39 | FromGitter | <Varriount> Sounds like nimble is unable to open one of the files it's just written |
01:55:54 | FromGitter | <Varriount> Another process has opened the file in locked mode |
01:57:47 | * | Electrux joined #nim |
02:07:06 | * | Sentreen quit (Ping timeout: 256 seconds) |
02:07:33 | * | Sentreen joined #nim |
02:08:32 | * | Electrux quit (Quit: WeeChat 2.1) |
02:08:54 | * | Electrux joined #nim |
02:37:17 | * | macsek1911[m] quit (*.net *.split) |
02:37:18 | * | Jipok[m] quit (*.net *.split) |
02:37:18 | * | stisa quit (*.net *.split) |
02:37:18 | * | hohlerde quit (*.net *.split) |
02:37:19 | * | Abnegation quit (*.net *.split) |
02:37:35 | * | macsek1911[m] joined #nim |
02:37:35 | * | Jipok[m] joined #nim |
02:37:35 | * | stisa joined #nim |
02:37:35 | * | hohlerde joined #nim |
02:37:35 | * | Abnegation joined #nim |
02:37:49 | * | skrylar joined #nim |
02:39:27 | * | Cthalupa quit (Ping timeout: 240 seconds) |
02:40:28 | * | Abnegation quit (Ping timeout: 240 seconds) |
02:40:51 | * | carterza[m] quit (Ping timeout: 256 seconds) |
02:40:53 | * | dyce[m] quit (Ping timeout: 256 seconds) |
02:41:15 | * | stisa quit (Ping timeout: 240 seconds) |
02:41:15 | * | hohlerde quit (Ping timeout: 240 seconds) |
02:41:27 | * | TheManiac quit (Ping timeout: 245 seconds) |
02:41:39 | * | macsek1911[m] quit (Ping timeout: 240 seconds) |
02:41:39 | * | Jipok[m] quit (Ping timeout: 240 seconds) |
02:41:42 | * | zielmicha[m]1 quit (Ping timeout: 255 seconds) |
02:41:42 | * | yglukhov quit (Ping timeout: 255 seconds) |
02:41:42 | * | endes[m] quit (Ping timeout: 255 seconds) |
02:41:42 | * | sroecker[m] quit (Ping timeout: 260 seconds) |
02:41:42 | * | narimiran[m] quit (Ping timeout: 260 seconds) |
02:41:46 | * | mgdelacroix[m] quit (Ping timeout: 260 seconds) |
02:41:46 | * | Miguelngel[m] quit (Ping timeout: 260 seconds) |
02:41:46 | * | pqflx3[m] quit (Ping timeout: 260 seconds) |
02:41:47 | * | sendell[m] quit (Ping timeout: 255 seconds) |
02:41:48 | * | petersjt014[m] quit (Ping timeout: 255 seconds) |
02:41:49 | * | solitudesf quit (Ping timeout: 255 seconds) |
02:41:50 | * | Sentreen quit (*.net *.split) |
02:41:50 | * | vivus quit (*.net *.split) |
02:41:51 | * | libman[m] quit (Ping timeout: 260 seconds) |
02:41:51 | * | metaden92[m] quit (Ping timeout: 260 seconds) |
02:41:58 | * | marszym[m] quit (Ping timeout: 256 seconds) |
02:41:59 | * | notdekka[m] quit (Ping timeout: 256 seconds) |
02:41:59 | * | unclechu quit (Ping timeout: 256 seconds) |
02:41:59 | * | hitchhooker[m] quit (Ping timeout: 256 seconds) |
02:42:02 | * | planetis[m] quit (Ping timeout: 277 seconds) |
02:42:05 | * | amp907[m] quit (Ping timeout: 277 seconds) |
02:42:05 | * | byteflame quit (Ping timeout: 277 seconds) |
02:42:09 | * | Demos[m] quit (Ping timeout: 277 seconds) |
02:42:09 | * | Sentreen joined #nim |
02:42:09 | * | vivus joined #nim |
02:42:36 | * | vivus quit (Quit: Leaving) |
02:44:50 | * | sz0 quit (*.net *.split) |
02:44:51 | * | pwntus quit (*.net *.split) |
02:44:51 | * | Notkea quit (*.net *.split) |
02:44:51 | * | qwertfisch quit (*.net *.split) |
02:44:51 | * | JStoker quit (*.net *.split) |
02:44:52 | * | skrzyp quit (*.net *.split) |
02:44:52 | * | crem quit (*.net *.split) |
02:44:53 | * | Cthalupa joined #nim |
02:44:56 | * | Snircle quit (*.net *.split) |
02:44:56 | * | gmpreussner quit (*.net *.split) |
02:44:56 | * | SunDwarf quit (*.net *.split) |
02:44:57 | * | zszf6cefj5iz quit (*.net *.split) |
02:45:12 | * | Snircle joined #nim |
02:45:12 | * | gmpreussner joined #nim |
02:45:12 | * | SunDwarf joined #nim |
02:45:12 | * | zszf6cefj5iz joined #nim |
02:45:17 | * | sz0 joined #nim |
02:45:17 | * | pwntus joined #nim |
02:45:17 | * | Notkea joined #nim |
02:45:17 | * | qwertfisch joined #nim |
02:45:17 | * | JStoker joined #nim |
02:45:17 | * | skrzyp joined #nim |
02:45:17 | * | crem joined #nim |
02:45:34 | * | skrzyp quit (Max SendQ exceeded) |
02:45:34 | * | sz0 quit (Max SendQ exceeded) |
02:46:50 | * | oprypin quit (*.net *.split) |
02:46:51 | * | mwbrown quit (*.net *.split) |
02:46:51 | * | riidom quit (*.net *.split) |
02:46:51 | * | shashlick quit (*.net *.split) |
02:46:54 | * | der quit (*.net *.split) |
02:46:54 | * | couven92 quit (*.net *.split) |
02:46:54 | * | pydsigner quit (*.net *.split) |
02:46:55 | * | Calinou quit (*.net *.split) |
02:46:55 | * | Sargun quit (*.net *.split) |
02:46:55 | * | Lord_Nightmare quit (*.net *.split) |
02:46:56 | * | GaveUp quit (*.net *.split) |
02:46:56 | * | craigger quit (*.net *.split) |
02:46:56 | * | ofelas quit (*.net *.split) |
02:46:56 | * | mostly-harmless quit (*.net *.split) |
02:46:56 | * | Tanger quit (*.net *.split) |
02:46:56 | * | jsn- quit (*.net *.split) |
02:46:57 | * | edcragg quit (*.net *.split) |
02:46:57 | * | copygirl quit (*.net *.split) |
02:46:57 | * | tersec quit (*.net *.split) |
02:46:58 | * | hogeland quit (*.net *.split) |
02:46:59 | * | pwntus quit (*.net *.split) |
02:46:59 | * | Notkea quit (*.net *.split) |
02:46:59 | * | qwertfisch quit (*.net *.split) |
02:46:59 | * | JStoker quit (*.net *.split) |
02:47:00 | * | crem quit (*.net *.split) |
02:47:00 | * | Snircle quit (*.net *.split) |
02:47:00 | * | gmpreussner quit (*.net *.split) |
02:47:00 | * | SunDwarf quit (*.net *.split) |
02:47:01 | * | zszf6cefj5iz quit (*.net *.split) |
02:47:01 | * | Sentreen quit (*.net *.split) |
02:47:03 | * | surma quit (*.net *.split) |
02:47:03 | * | zielmicha_ quit (*.net *.split) |
02:47:03 | * | zama quit (*.net *.split) |
02:47:04 | * | jxy quit (*.net *.split) |
02:47:04 | * | literal quit (*.net *.split) |
02:47:04 | * | def- quit (*.net *.split) |
02:47:04 | * | regtools quit (*.net *.split) |
02:47:04 | * | EastByte quit (*.net *.split) |
02:47:05 | * | FromDiscord quit (*.net *.split) |
02:47:05 | * | WA9ACE quit (*.net *.split) |
02:47:05 | * | dada78641 quit (*.net *.split) |
02:47:05 | * | joshbaptiste quit (*.net *.split) |
02:47:06 | * | enigmeta quit (*.net *.split) |
02:47:06 | * | avsej quit (*.net *.split) |
02:47:06 | * | byte512 quit (*.net *.split) |
02:47:06 | * | FromGitter quit (*.net *.split) |
02:47:07 | * | skelett quit (*.net *.split) |
02:47:08 | * | skrylar quit (*.net *.split) |
02:47:08 | * | onionhammer quit (*.net *.split) |
02:47:08 | * | rauss quit (*.net *.split) |
02:47:08 | * | gb00s quit (*.net *.split) |
02:47:08 | * | Widdershins quit (*.net *.split) |
02:47:08 | * | d10n quit (*.net *.split) |
02:47:09 | * | awal quit (*.net *.split) |
02:47:09 | * | mr_yogurt quit (*.net *.split) |
02:47:09 | * | Electrux quit (*.net *.split) |
02:47:09 | * | ldlework quit (*.net *.split) |
02:47:09 | * | gangstacat quit (*.net *.split) |
02:47:10 | * | euantor quit (*.net *.split) |
02:47:10 | * | odc quit (*.net *.split) |
02:47:10 | * | r4vi quit (*.net *.split) |
02:47:10 | * | ehmry quit (*.net *.split) |
02:47:11 | * | CcxWrk quit (*.net *.split) |
02:47:11 | * | Cthalupa quit (*.net *.split) |
02:47:11 | * | thor77 quit (*.net *.split) |
02:47:11 | * | Araq quit (*.net *.split) |
02:47:11 | * | jonafato quit (*.net *.split) |
02:47:11 | * | subsetpark quit (*.net *.split) |
02:47:12 | * | Yardanico quit (*.net *.split) |
02:47:12 | * | shodan45 quit (*.net *.split) |
02:47:12 | * | federico3 quit (*.net *.split) |
02:47:12 | * | xkapastel quit (*.net *.split) |
02:47:12 | * | zahary quit (*.net *.split) |
02:47:13 | * | m712 quit (*.net *.split) |
02:47:13 | * | mgdelacroix quit (*.net *.split) |
02:47:13 | * | msmorgan quit (*.net *.split) |
02:47:13 | * | dashed quit (*.net *.split) |
02:47:13 | * | dzho quit (*.net *.split) |
02:47:13 | * | JacobEdelman quit (*.net *.split) |
02:47:13 | * | Guest40451 quit (*.net *.split) |
02:47:14 | * | abeaumont quit (*.net *.split) |
02:47:14 | * | cornfeedhobo quit (*.net *.split) |
02:47:14 | * | beatmox quit (*.net *.split) |
02:47:15 | * | mal`` quit (*.net *.split) |
02:47:15 | * | dom96 quit (*.net *.split) |
02:47:16 | * | mrshu quit (*.net *.split) |
02:47:16 | * | Elronnd\srn quit (*.net *.split) |
02:47:16 | * | vegax87 quit (*.net *.split) |
02:47:16 | * | livcd quit (*.net *.split) |
02:47:17 | * | vqrs quit (*.net *.split) |
02:47:17 | * | smt quit (*.net *.split) |
02:47:17 | * | ketralnis quit (*.net *.split) |
02:47:18 | * | flyx quit (*.net *.split) |
02:47:18 | * | cmk_zzz quit (*.net *.split) |
02:47:18 | * | acidx quit (*.net *.split) |
02:47:18 | * | Amun_Ra quit (*.net *.split) |
02:47:18 | * | heinrich5991 quit (*.net *.split) |
02:47:53 | * | crem joined #nim |
02:47:53 | * | JStoker joined #nim |
02:47:53 | * | qwertfisch joined #nim |
02:47:53 | * | Notkea joined #nim |
02:47:53 | * | pwntus joined #nim |
02:47:53 | * | zszf6cefj5iz joined #nim |
02:47:53 | * | SunDwarf joined #nim |
02:47:53 | * | gmpreussner joined #nim |
02:47:53 | * | Snircle joined #nim |
02:47:53 | * | Cthalupa joined #nim |
02:47:53 | * | Sentreen joined #nim |
02:47:53 | * | skrylar joined #nim |
02:47:53 | * | Electrux joined #nim |
02:47:53 | * | cornfeedhobo joined #nim |
02:47:53 | * | xkapastel joined #nim |
02:47:53 | * | Lord_Nightmare joined #nim |
02:47:53 | * | smt joined #nim |
02:47:53 | * | onionhammer joined #nim |
02:47:53 | * | zahary joined #nim |
02:47:53 | * | GaveUp joined #nim |
02:47:53 | * | der joined #nim |
02:47:53 | * | couven92 joined #nim |
02:47:53 | * | craigger joined #nim |
02:47:53 | * | beatmox joined #nim |
02:47:53 | * | ldlework joined #nim |
02:47:53 | * | edcragg joined #nim |
02:47:53 | * | rauss joined #nim |
02:47:53 | * | gangstacat joined #nim |
02:47:53 | * | ofelas joined #nim |
02:47:53 | * | Elronnd\srn joined #nim |
02:47:53 | * | mostly-harmless joined #nim |
02:47:53 | * | gb00s joined #nim |
02:47:53 | * | pydsigner joined #nim |
02:47:53 | * | Calinou joined #nim |
02:47:53 | * | copygirl joined #nim |
02:47:53 | * | jxy joined #nim |
02:47:53 | * | dzho joined #nim |
02:47:53 | * | literal joined #nim |
02:47:53 | * | Tanger joined #nim |
02:47:53 | * | jsn- joined #nim |
02:47:53 | * | Sargun joined #nim |
02:47:53 | * | WA9ACE joined #nim |
02:47:53 | * | tersec joined #nim |
02:47:53 | * | ketralnis joined #nim |
02:47:53 | * | def- joined #nim |
02:47:53 | * | m712 joined #nim |
02:47:53 | * | mgdelacroix joined #nim |
02:47:53 | * | msmorgan joined #nim |
02:47:53 | * | dashed joined #nim |
02:47:53 | * | enigmeta joined #nim |
02:47:53 | * | surma joined #nim |
02:47:53 | * | zielmicha_ joined #nim |
02:47:53 | * | avsej joined #nim |
02:47:53 | * | Yardanico joined #nim |
02:47:53 | * | regtools joined #nim |
02:47:53 | * | shodan45 joined #nim |
02:47:53 | * | mal`` joined #nim |
02:47:53 | * | thor77 joined #nim |
02:47:53 | * | vegax87 joined #nim |
02:47:53 | * | EastByte joined #nim |
02:47:53 | * | byte512 joined #nim |
02:47:53 | * | FromGitter joined #nim |
02:47:53 | * | euantor joined #nim |
02:47:53 | * | cmk_zzz joined #nim |
02:47:53 | * | federico3 joined #nim |
02:47:53 | * | Widdershins joined #nim |
02:47:53 | * | odc joined #nim |
02:47:53 | * | Araq joined #nim |
02:47:53 | * | hogeland joined #nim |
02:47:53 | * | zama joined #nim |
02:47:53 | * | r4vi joined #nim |
02:47:53 | * | JacobEdelman joined #nim |
02:47:53 | * | Guest40451 joined #nim |
02:47:53 | * | FromDiscord joined #nim |
02:47:53 | * | skelett joined #nim |
02:47:53 | * | d10n joined #nim |
02:47:53 | * | flyx joined #nim |
02:47:53 | * | ehmry joined #nim |
02:47:53 | * | abeaumont joined #nim |
02:47:53 | * | dada78641 joined #nim |
02:47:53 | * | jonafato joined #nim |
02:47:53 | * | acidx joined #nim |
02:47:53 | * | joshbaptiste joined #nim |
02:47:53 | * | Amun_Ra joined #nim |
02:47:53 | * | awal joined #nim |
02:47:53 | * | mr_yogurt joined #nim |
02:47:53 | * | dom96 joined #nim |
02:47:53 | * | mrshu joined #nim |
02:47:53 | * | livcd joined #nim |
02:47:53 | * | subsetpark joined #nim |
02:47:53 | * | CcxWrk joined #nim |
02:47:53 | * | heinrich5991 joined #nim |
02:47:53 | * | vqrs joined #nim |
02:48:01 | * | arecaceae quit (Max SendQ exceeded) |
02:48:04 | * | oprypin joined #nim |
02:48:04 | * | mwbrown joined #nim |
02:48:04 | * | riidom joined #nim |
02:48:04 | * | shashlick joined #nim |
02:48:25 | * | arecaceae joined #nim |
02:48:26 | * | skrzyp joined #nim |
02:48:38 | * | sz0 joined #nim |
02:50:03 | * | der quit (*.net *.split) |
02:50:03 | * | couven92 quit (*.net *.split) |
02:50:04 | * | pydsigner quit (*.net *.split) |
02:50:04 | * | Calinou quit (*.net *.split) |
02:50:04 | * | Sargun quit (*.net *.split) |
02:50:07 | * | Lord_Nightmare quit (*.net *.split) |
02:50:08 | * | GaveUp quit (*.net *.split) |
02:50:08 | * | craigger quit (*.net *.split) |
02:50:08 | * | ofelas quit (*.net *.split) |
02:50:08 | * | mostly-harmless quit (*.net *.split) |
02:50:09 | * | Tanger quit (*.net *.split) |
02:50:09 | * | jsn- quit (*.net *.split) |
02:50:11 | * | edcragg quit (*.net *.split) |
02:50:11 | * | copygirl quit (*.net *.split) |
02:50:11 | * | tersec quit (*.net *.split) |
02:50:12 | * | hogeland quit (*.net *.split) |
02:50:29 | * | der joined #nim |
02:50:30 | * | couven92 joined #nim |
02:50:30 | * | pydsigner joined #nim |
02:50:30 | * | Calinou joined #nim |
02:50:30 | * | Sargun joined #nim |
02:51:01 | * | GaveUp joined #nim |
02:51:01 | * | craigger joined #nim |
02:51:01 | * | ofelas joined #nim |
02:51:01 | * | mostly-harmless joined #nim |
02:51:01 | * | Tanger joined #nim |
02:51:01 | * | jsn- joined #nim |
02:51:06 | * | edcragg joined #nim |
02:51:07 | * | copygirl joined #nim |
02:51:07 | * | tersec joined #nim |
02:51:07 | * | hogeland joined #nim |
02:52:43 | * | Lord_Nightmare joined #nim |
02:55:21 | * | skrzyp quit (Ping timeout: 240 seconds) |
02:56:45 | * | skrzyp joined #nim |
03:08:28 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
03:13:22 | * | pqflx3[m] joined #nim |
03:18:53 | FromDiscord | <citycide> @Varriount yes I understand the message but which file? |
03:20:12 | * | leorize joined #nim |
03:32:55 | * | hitchhooker[m] joined #nim |
03:32:55 | * | byteflame joined #nim |
03:32:56 | * | Abnegation joined #nim |
03:32:56 | * | yglukhov joined #nim |
03:32:56 | * | Miguelngel[m] joined #nim |
03:32:56 | * | mgdelacroix[m] joined #nim |
03:32:56 | * | dyce[m] joined #nim |
03:32:57 | * | Demos[m] joined #nim |
03:32:57 | * | solitudesf joined #nim |
03:32:57 | * | unclechu joined #nim |
03:33:02 | * | carterza[m] joined #nim |
03:33:02 | * | marszym[m] joined #nim |
03:33:02 | * | narimiran[m] joined #nim |
03:33:02 | * | endes[m] joined #nim |
03:33:02 | * | sendell[m] joined #nim |
03:33:02 | * | petersjt014[m] joined #nim |
03:33:02 | * | Jipok[m] joined #nim |
03:33:03 | * | TheManiac joined #nim |
03:33:03 | * | stisa joined #nim |
03:33:03 | * | zielmicha[m] joined #nim |
03:33:03 | * | planetis[m] joined #nim |
03:33:03 | * | metaden92[m] joined #nim |
03:33:03 | * | libman[m] joined #nim |
03:33:04 | * | macsek1911[m] joined #nim |
03:33:04 | * | amp907[m] joined #nim |
03:33:05 | * | notdekka[m] joined #nim |
03:33:05 | * | hohlerde joined #nim |
03:33:06 | * | sroecker[m] joined #nim |
03:45:22 | FromDiscord | <citycide> it'd be helpful if those error messages included the name of the file is all |
04:00:58 | * | skrylar quit (Remote host closed the connection) |
04:04:18 | * | xet7 joined #nim |
04:09:17 | * | xet7 quit (Remote host closed the connection) |
04:11:05 | * | xet7 joined #nim |
04:18:56 | FromGitter | <kayabaNerve> @citycide Try writing each of the files one by one to find out |
04:19:03 | FromGitter | <kayabaNerve> Or just clear the directory and try again |
04:19:11 | FromGitter | <kayabaNerve> Or search for an old lockfile |
04:29:57 | * | Elronnd\srn is now known as Elronnd |
04:41:03 | Electrux | lol the macros part of this language will take a while to understand... read through it... didn't understand half of it :P but now i understand at least some of the second part of the tutorial yaay :D |
04:51:35 | * | endragor joined #nim |
05:14:56 | Electrux | huh... plotly doesn't seem to run for me... i build the code of their first example, it builds correctly, but nothing on my browser... it does not even open my browser |
05:15:53 | Electrux | and outputs an empty sequence ( @[] ) on my console |
05:33:50 | * | nsf joined #nim |
06:57:42 | FromGitter | <alehander42> what is the most confsing thing about macros? have you used another macro system before? |
06:58:47 | FromGitter | <alehander42> if you haven't they can be a really strange concept, but think of them as functions on compile time, which take part of your code as argument and replace it by another code |
06:59:32 | FromGitter | <alehander42> if you have, probably you used lisp? i guess templates are closer to nim macros |
07:00:18 | FromGitter | <alehander42> but they can't express everything, so you need to half-manually build the AST of the new code sometimes and you use directly `macro` |
07:00:42 | FromGitter | <alehander42> (but usually you can still build the subblocks of your macro with quote: + placeholders) |
07:02:44 | FromGitter | <alehander42> (it's interesting for me to see what is the hardest part for a new user) |
07:39:16 | Araq | fyi I only have occasional wifi here |
07:41:22 | Araq | but I'm alive and brought you this lovely thing: https://github.com/nim-lang/Nim/blob/araq-big-refactoring/tests/compilerapi/tcompilerapi.nim |
07:47:27 | * | floppydh joined #nim |
08:02:50 | * | gmpreussner quit (Ping timeout: 260 seconds) |
08:05:13 | * | gmpreussner_ joined #nim |
08:10:18 | * | sendell joined #nim |
08:13:20 | Yardanico | interesting - https://github.com/snowlt23/Flori (programming language compiler implemented in nim) |
08:15:32 | FromGitter | <alehander42> @Araq awesome, so the compiler depends fully on conf not globals now? does it gets us closer to symbol files ? |
08:15:49 | Araq | yup |
08:17:53 | Yardanico | @PMunch hi, I have a little suggestion for binaryparse - is there a way to add something like "loop"? E.g.: I have a file which consists of a lot of entries, each of them has 4 int32 fields, but there's no thing like "size" in the file. Of course I can easily read this file with streams module, but maybe it would be good for binaryparse to have that functionality. |
08:19:34 | Yardanico | Hmm, maybe it would be better if I make this an issue |
08:20:15 | Electrux | does nim have an auto completion engine for vim? |
08:50:13 | FromGitter | <data-man> So, Unicode RFC: #7902 ⏎ The thoughts, ideas, opinions, comments, corrections, criticism, likes ~~and dislikes~~ *highly* appreciated. |
08:52:55 | * | floppydh quit (Remote host closed the connection) |
09:16:09 | * | floppydh joined #nim |
09:28:05 | * | Vladar joined #nim |
09:28:59 | FromGitter | <krux02> @data-man what is the difference between code point and rune? |
09:31:25 | FromGitter | <data-man> Rune isn't good name, IMHO. |
09:34:52 | * | xkapastel quit (Quit: Connection closed for inactivity) |
09:37:38 | * | sendell quit (Remote host closed the connection) |
09:39:01 | FromGitter | <Vindaar> @Electrux regarding plotly: if you see @[] on your console that (I assume) means plotly doesn't find a suitable browser on your system to open |
09:39:40 | Electrux | oh... crap lol ok so how do i get it to recognize my brwoser? it is safari |
09:47:52 | FromGitter | <krux02> @data-man well yea Rune isn't great for a name, but it is already established. I don't concider Nim powerful enough to make an impact here. And inventing a new name for something really should have a good reason. |
09:49:12 | FromGitter | <krux02> and that table is very hard to read |
09:49:46 | FromGitter | <krux02> it doesn't find in the github page I have to scroll horizontally. and to do that I first have to scoll all the way down scroll right and then back up again. |
09:50:09 | FromGitter | <krux02> I know it's a github fault, but you might put your table somewhere else |
09:50:27 | FromGitter | <Vindaar> @Electrux I don't have a Mac, so I'm not entirely sure. Currently plotly only looks for the following browser (see in plotly/src/plotly/browser.nim): ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5b0d2263a7abc8692ef18992] |
09:50:39 | FromGitter | <Vindaar> you could go ahead and try to add "safari" to that seq |
09:52:37 | FromGitter | <data-man> @krux02: So shows github. :( If I convert a table into a picture, would it be better? |
09:53:50 | FromGitter | <data-man> Maybe ```uchar``` instead of CodePoint. |
09:54:49 | Electrux | i installed plotly from nimble... where can i find its src? |
09:55:48 | FromGitter | <Vindaar> oh, then it should be here: ⏎ ⏎ ```~/.nimble/pkgs/plotly-0.1.0/plotly``` [https://gitter.im/nim-lang/Nim?at=5b0d23a452e35117cded30d6] |
09:59:32 | FromGitter | <alehander42> @Electrux I left some very basic hints about macros up there, sorry that I forgot to tag ya |
10:02:34 | Electrux | thanks Vindaar, and thanks alehander42 :D |
10:03:39 | FromGitter | <GULPF> @krux02 Can you post the code that reached the register limit in the VM? I think it's really hard to reach the register limit unless you have like several hundreds local variables or something, so it might be a bug |
10:05:42 | FromGitter | <Vindaar> @Electrux does it work now? If so it'd be a good idea to create a PR for plotly :) |
10:09:03 | Electrux | i haven't tried right now... gotta go for now, will try after i come back :) Vindaar |
10:09:24 | FromGitter | <Vindaar> Ah ok, no worries! |
10:11:33 | Electrux | btw, safari doesn't really have a command to open it except "open -a safari" |
10:11:54 | Electrux | or "/Applications/Safari.app/Contents/MacOS/Safari" |
10:13:27 | FromGitter | <krux02> @GULPF well it might be that I have several hundreds of local variables |
10:14:09 | FromGitter | <krux02> That is just how I write the code, everything inline |
10:14:31 | FromGitter | <krux02> and macros generating more local variables, because I use quite a compex ast pattern matching tree |
10:15:44 | FromGitter | <GULPF> then that's probably the issue. the vm isn't very smart about data flow, so it needs |
10:15:55 | FromGitter | <GULPF> so it needs one register for every local |
10:17:07 | FromGitter | <Vindaar> oh, I see. Then one probably needs to do something along the lines of. Maybe also check for `defined(MacOSX)` ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5b0d28a2e26c847ac89d15e6] |
10:18:56 | FromGitter | <GULPF> the vm could be improved to use live variable analysis to reduce the number of registers needed, but it might be hard to incorporate into vmgen |
10:19:11 | FromGitter | <krux02> @GULPF this is the line that I added to create the compilation failure: https://github.com/krux02/opengl-sandbox/blob/master/experiment/glslTranslate.nim#L263 |
10:37:57 | FromGitter | <Varriount> @data-man Why do the other languages use trie as the data structure for Unicode? |
10:41:55 | FromGitter | <data-man> @Varriount: Fast and compact. |
10:46:10 | FromGitter | <data-man> It's multi-stage tables in fact. |
10:58:21 | FromGitter | <data-man> Oh, I forgot about the ICU library for C ++. :) It also uses Trie. |
11:19:28 | Electrux | if i modify a package of nimble, how do i update that package? for myself |
11:23:26 | FromGitter | <zetashift> What do you mean? If you modified it and saved it, it should be fine |
11:24:03 | FromGitter | <zetashift> you could try `nimble build` maybe |
11:25:27 | Electrux | yes ur right... it automatically handles that and when i use nim to compile, the modified file is compiled again |
11:25:33 | Electrux | Vindaar are u there? |
11:25:59 | FromGitter | <Vindaar> yeah, still here |
11:26:03 | Electrux | thanks zetashift :) |
11:26:14 | FromGitter | <Vindaar> will be gone for ~half an hour in a couple minutes though |
11:26:16 | Electrux | Vindaar, i got how to make the safari work :D |
11:26:20 | FromGitter | <zetashift> That's all you electrux :D |
11:26:23 | FromGitter | <Vindaar> nice! |
11:26:43 | Electrux | so... where am i supposed to post a PR about it? |
11:27:11 | Electrux | brentp/plotly? |
11:27:17 | Electrux | brentp/nim-plotly? |
11:27:18 | FromGitter | <Vindaar> yup |
11:27:33 | * | athenot joined #nim |
11:28:22 | Electrux | ok thanks :D |
11:33:12 | Electrux | btw, it is not able to make the /tmp/x.html file i guess since there exists no file with that name after the program runs |
11:33:16 | Electrux | Vindaar |
11:54:08 | * | floppydh quit (Quit: WeeChat 2.1) |
12:09:40 | FromGitter | <Vindaar> @Electrux I'm not sure what you mean. plotly creates that file as a temporary file, which contains the calls to plotly incl. the data. After it runs it's deleted. |
12:10:00 | Electrux | so why is it trying to open that file on my browser? :O |
12:10:08 | * | floppydh joined #nim |
12:11:29 | FromGitter | <Vindaar> so plotly creates that file -> opens your browser with that file -> then deletes the file |
12:12:06 | FromGitter | <Vindaar> what exactly did you change to get the correct call to safari? |
12:17:06 | Electrux | just added "open" in the sequence |
12:17:23 | Electrux | and why does it open my browser with that file? my browser complains that there is no file of that name lol |
12:20:44 | FromGitter | <krux02> Electrux when I understand open correctly, open checks for a command that is associated with a file type |
12:21:00 | FromGitter | <krux02> and when a file type is configured to be opened in the browser, the browser will ope |
12:21:35 | Electrux | yes |
12:21:47 | Electrux | but that is not just for files |
12:21:51 | Electrux | it also applies to URLs |
12:23:12 | FromGitter | <Vindaar> so basically the call plotly is doing on your machine is "open /tmp/x.html" if I'm not mistaken |
12:23:35 | * | FuntDobra joined #nim |
12:23:49 | FromGitter | <Vindaar> and this does indeed open safari with a tab in which it tries to access /tmp/x.html, but that says file not found? |
12:24:04 | FromGitter | <Vindaar> because normally the file is deleted only after it was read by the browser |
12:24:40 | * | DarkArctic joined #nim |
12:26:23 | Electrux | yea... it opens safari correctly with a tab but then i find file not found |
12:26:52 | Electrux | i guess the program is closing too quickly? because as far as i know, calling open is not synchronous |
12:28:49 | FromGitter | <Vindaar> maybe opens returns immediately? so that the line `var (outp, errC) = execCmdEx(b & " " & path)`finishes and then in plotly.nim ⏎ ⏎ ``` browser.open(path) ⏎ removeFile(path)``` ⏎ ⏎ the first line is finished before safari actually has the time to open that file [https://gitter.im/nim-lang/Nim?at=5b0d47814eaffb692d64801a] |
12:29:52 | FromGitter | <Vindaar> maybe try to add an `import os` statement at the top of plotly.nim and then put a `sleep(1)` in between these two lines |
12:30:03 | FromGitter | <Vindaar> *sleep(1000) |
12:30:53 | FromGitter | <Vindaar> nvm `import os`, already imported :P |
12:38:41 | * | athenot quit (Ping timeout: 276 seconds) |
12:38:52 | * | athenot_ joined #nim |
12:46:27 | Electrux | yes, as far as i know, "open" returns immediately |
12:47:01 | FromGitter | <Vindaar> then that's probably the issue |
12:48:11 | Electrux | yea... lemme try something |
12:53:07 | Electrux | yep, commenting out the delete file function makes the site show correctly |
12:53:26 | Electrux | so yea... "open" does not block... Vindaar |
12:54:03 | FromGitter | <Vindaar> yup. But try with a sleep in between the two lines, maybe that's enough. No need to keep the file around |
13:01:04 | Electrux | won't that depend on the computer's speed? my system is fast enough, but if someone's isn't they will encounter the problem |
13:01:30 | Electrux | so it would be kind of a gamble... Vindaar |
13:02:43 | dom96 | why remove that file so quickly after opening in safari? |
13:04:20 | FromDiscord | <citycide> why doesn't plotly just use https://nim-lang.org/docs/browsers.html#openDefaultBrowser,string |
13:04:33 | Yardanico | who knows :D |
13:17:58 | Electrux | maybe because it is also non blocking call and they need it to be blocking in order to prevent file from being deleted before browser opens? |
13:20:53 | FromGitter | <krux02> hmm I have a bug |
13:21:16 | FromGitter | <krux02> when I try to do printf debugging but it seems to be total foobar |
13:22:36 | * | Vladar quit (Quit: Leaving) |
13:22:41 | FromGitter | <krux02> this code here: ``` echo "body:" ⏎ ⏎ `````` [https://gitter.im/nim-lang/Nim?at=5b0d5421361a950a66245394] |
13:23:37 | FromGitter | <krux02> produces the following output: http://ix.io/1bIH |
13:23:42 | FromGitter | <krux02> total BS |
13:27:31 | FromGitter | <zetashift> C# has this nameof function which can give you a simple name of a function/method. Is there an equivalant in Nim? |
13:27:55 | FromGitter | <zetashift> Is it name() in the typetraits module? |
13:28:06 | FromGitter | <brentp> just seeing the discussion re plotly. I didn't know about `browsers` module until recently. I guess nim-plotly should use that instead. is the removeFile causing problems for some folks? |
13:28:33 | FromGitter | <brentp> ... gotta change the path to a random file too. |
13:28:54 | FromGitter | <zetashift> I haven't checked nim-plotly out yet, but it looked really interesting, if you need any testing on a windows machine just drop it on me @brentp |
13:30:25 | FromGitter | <brentp> @zetashift that would be great. looks like windows support would be a good reason to use the browsers module from stdlib. |
13:38:35 | * | skrylar joined #nim |
13:41:32 | * | BitPuffin joined #nim |
13:42:04 | FromGitter | <krux02> @zetashift nim has macros, you can not only get the name, but the entire implementation of the names and types of of all nodes in the tree of the implementation |
13:43:54 | FromGitter | <zetashift> With great power comes great responsibility |
13:44:32 | * | SenasOzys joined #nim |
13:44:40 | * | themagician joined #nim |
13:46:07 | FromGitter | <zetashift> I just need to the name for now, google says foo().procname or a newCall() macro |
13:46:25 | FromGitter | <7sDream> can nimbot eval multiline program? |
13:46:28 | FromGitter | <krux02> newCall is kind of the opposite of what you want |
13:46:39 | FromGitter | <krux02> @7sDream no |
13:46:42 | FromGitter | <zetashift> both didn't work as procname didn't work and newCall gave a nimnode |
13:46:43 | FromGitter | <7sDream> !eval ⏎ echo "1" ⏎ echo "2" |
13:46:43 | NimBot | Compile failed: <no output> |
13:46:47 | FromGitter | <7sDream> OK |
13:46:56 | dom96 | use https://play.nim-lang.org |
13:47:17 | FromGitter | <7sDream> just want to give an simple example with macro |
13:47:20 | FromGitter | <krux02> dom96: do you know a bit how the nimvm works? |
13:47:37 | FromGitter | <krux02> maybe you can help me to work around a bug/limitation of it that I was not aware of |
13:47:53 | dom96 | probably less than you :) |
13:48:15 | FromGitter | <krux02> well maybe |
13:48:21 | FromGitter | <krux02> maybe you will be my rubber duck |
13:48:42 | FromGitter | <krux02> well the problem is that I use a lot of local variables |
13:48:59 | FromGitter | <krux02> I think most are generated by my own macro for ast pattern matching |
13:49:40 | FromGitter | <krux02> this results in nim generating too many local variables and boom, nim compilation crashes with non-informative error message |
13:49:42 | FromGitter | <alehander42> I think you can replace some of those local vars by local templates and template invocations, but that might be incredibly wrong |
13:49:56 | FromGitter | <krux02> but at least I know now that the problem is not to use too many variables |
13:50:21 | FromGitter | <alehander42> at least that was one of my ideas in my fork (but for different reason: to let one easily modify a matched value) |
13:50:30 | FromGitter | <alehander42> without overhead |
13:50:39 | FromGitter | <krux02> but I would like to know if I put things into a function, if I can then use a new set of local variables, |
13:51:26 | FromGitter | <krux02> well the overhead of creating a local variables should not be big at all |
13:52:02 | FromGitter | <krux02> and I think it is correct |
13:52:13 | FromGitter | <krux02> because I have to take a child node and then do checks on it. |
13:52:29 | FromGitter | <7sDream> @zetashift https://glot.io/snippets/f1hmmznif1 |
13:52:31 | FromGitter | <7sDream> try this |
13:52:47 | FromGitter | <alehander42> the overhead was for stuff like assigning a sequence to a local variable |
13:53:00 | FromGitter | <zetashift> thanks! I'll try it out |
13:55:00 | FromGitter | <zetashift> Didn't work, seems I have an other problem :( |
13:55:43 | FromGitter | <7sDream> Maybe you need to describe your needs in detail? |
13:56:52 | FromGitter | <zetashift> I'm gonna try and work this out a bit more since it might not be Nim related. Still thanks @7sDream :D |
13:59:06 | FromGitter | <7sDream> 👌 |
13:59:46 | skrylar | mratsim: you have to pull tensors back from openCL to run the activation functions? gross :x |
14:01:21 | FromGitter | <zetashift> whoop fixed it, I needed to add a certain pragma |
14:02:53 | FromGitter | <mratsim> @skrylar, lack of time, idem for Cuda ;) |
14:04:16 | * | xkapastel joined #nim |
14:05:43 | skrylar | i actually have no idea how to write custom opencl kernels |
14:10:05 | FromGitter | <mratsim> 37 lines, here you go: https://github.com/mratsim/Arraymancer/blob/master/src/tensor/private/p_kernels_interface_opencl.nim#L42-L79 |
14:13:27 | * | FuntDobra quit (Ping timeout: 240 seconds) |
14:13:39 | skrylar | i'll keep the tab open, thanks. |
14:14:03 | skrylar | trying to replicate VoiceLoop. if i get it working will definitely want to shove the relus and friends on to the GPU |
14:16:31 | * | Gnjurac joined #nim |
14:16:31 | * | Gnjurac quit (Changing host) |
14:16:31 | * | Gnjurac joined #nim |
14:16:33 | Gnjurac | hi |
14:23:04 | skrylar | hiyo |
14:30:19 | Gnjurac | wanted to ask something but figured it out :) |
14:30:27 | * | endragor quit (Remote host closed the connection) |
14:30:56 | * | endragor joined #nim |
14:35:27 | * | endragor quit (Ping timeout: 240 seconds) |
14:37:31 | Gnjurac | haw to make tuple seq |
14:37:36 | * | nsf quit (Quit: WeeChat 2.1) |
14:37:45 | skrylar | seq[tuple[winning]]? |
14:38:12 | Yardanico | Gnjurac seq[tuple(string, string)] will create a sequence of tuples with two strings |
14:38:18 | Gnjurac | oh i was trying var showsFolder : tuple[kind: PathComponent, path: string] |
14:38:21 | Yardanico | *it wouldn't create, it's a type |
14:45:45 | * | Snircle joined #nim |
14:51:53 | * | Gnjurac quit (Remote host closed the connection) |
15:02:36 | * | xet7 quit (Ping timeout: 256 seconds) |
15:14:38 | skrylar | hrm. i seem to be confused as to how this embedding matrix can be updated when it is used to create a longer tensor |
15:14:45 | * | SenasOzys quit (Ping timeout: 256 seconds) |
15:15:43 | * | xet7 joined #nim |
15:17:40 | Electrux | why can i not use paramStr( 0 )? shouldn't the 0th index contain program name? |
15:18:39 | FromGitter | <Vindaar> yep, it should. what doesn't work for you? |
15:19:01 | * | SenasOzys joined #nim |
15:19:55 | Electrux | oh it is given in documentation to use from 1..paramCount() |
15:20:07 | * | athenot_ quit (Read error: Connection reset by peer) |
15:20:19 | FromGitter | <7sDream> you need https://nim-lang.org/docs/os.html#getAppFilename |
15:20:19 | Electrux | and that other indices would give error |
15:21:59 | Electrux | oh... nevermind... turns out that index 0 does give program name... so what is the need of getAppFilename() then? |
15:22:11 | Electrux | both give exactly same result |
15:22:27 | * | athenot joined #nim |
15:22:34 | leorize | not all os have program name at index 0 |
15:23:05 | FromGitter | <Vindaar> yep, also mentioned here: https://nim-lang.org/docs/os.html#paramStr,int |
15:24:47 | FromGitter | <7sDream> and `getAppFilename` gives you a `string`, `paramStr` gives a system spec string or some other name(when in a spec compile mode) |
15:25:28 | Electrux | wow really? i did not know that leorize... could u please give me an example? it's fascinating :) |
15:25:49 | FromGitter | <7sDream> see https://nim-lang.org/docs/manual.html#taint-mode |
15:25:59 | Electrux | :O |
15:26:14 | * | Trustable joined #nim |
15:27:22 | Electrux | what does input validation mean? i don't get the taint mode ( string example ) i apologize :( |
15:29:26 | * | athenot quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:29:30 | FromGitter | <7sDream> He just helps the compiler(and you can) realize that this string comes from an untrusted environment, and that you do some processing before you use it (eg, format validation, escape) |
15:29:56 | FromGitter | <7sDream> Just my opinion |
15:30:35 | Electrux | oooh |
15:30:44 | Electrux | so i should use tainted string when taking input? |
15:32:26 | Electrux | and is there a code completion engine of nim for vim? |
15:32:35 | Electrux | like YouCompleteMe for C++ |
15:33:08 | FromGitter | <zetashift> the nim-mode should take care of that no? |
15:33:13 | leorize | zah/nim.vim have the function, although last time I check it uses the long gone nim idetools |
15:33:22 | FromGitter | <7sDream> I personally just a newcomer, still learning Nim, so I have not actually used this mode |
15:33:24 | leorize | zetashift: nim-mode is emacs-only |
15:33:30 | FromGitter | <zetashift> whoops |
15:34:06 | FromGitter | <zetashift> I had emacs in my mind since I saw that they just released a new version |
15:34:40 | leorize | Electrux: https://stackoverflow.com/questions/2050961/is-argv0-name-of-executable-an-accepted-standard-or-just-a-common-conventi |
15:34:49 | FromGitter | <7sDream> VSCode extension works well for me |
15:35:13 | Electrux | but i don't use VSCode... i use Vim ( neovim to be precise ) |
15:35:19 | FromGitter | <7sDream> except for parameter hint :/ |
15:35:25 | leorize | it's a bit (*cough* electron) heavy though |
15:35:55 | FromGitter | <7sDream> Aha, I agree |
15:36:23 | * | FuntDobra joined #nim |
15:37:36 | Electrux | and thanks for that link leorize :) i never knew that... guess i should read me the C standard book or something haha |
15:37:38 | Electrux | :P |
15:38:04 | FromGitter | <zetashift> @Electrux did you try this one? https://github.com/baabelfish/nvim-nim it mentions code completion |
15:38:07 | leorize | neovim completion plugin https://github.com/baabelfish/nvim-nim |
15:38:37 | leorize | it's abandoned though, last time I check the highlighting wasn't working that great |
15:41:02 | Electrux | wow it is SOOOOO laggy :O |
15:41:42 | Electrux | and it screws up the indentation... |
15:41:55 | Electrux | oh well... will keep using zah/nim for now <3 |
15:42:58 | Electrux | thanks leorize :) |
15:44:05 | * | athenot joined #nim |
15:45:43 | Yardanico | leorize VSCode is still much better than atom |
15:46:01 | FromGitter | <7sDream> +++++1 |
15:46:07 | * | floppydh quit (Quit: WeeChat 2.1) |
15:46:11 | leorize | still, that doesn't excuse it from the RAM eating habit of electron |
15:46:24 | Yardanico | leorize there are no alternatives for Nim development |
15:46:39 | leorize | or you can write your own plugin for vim |
15:46:45 | Yardanico | (I mean real alternatives with full autocompletion support) |
15:46:51 | leorize | I did, never finish it though, but good enough for me |
15:46:57 | Yardanico | I don't use any console editors except nano for quick editing :) |
15:51:05 | * | FuntDobra quit (Ping timeout: 260 seconds) |
15:51:13 | Electrux | wait... u wrote a plugin for vim? leorize can i have it too? |
15:52:48 | leorize | no, sorry, it's currently a mess over here :( I planned to tidy it up and properly integrate neovim's new socket support but haven't got anytime to do so |
15:54:48 | Electrux | lol oh well... ok guess i should attempt to understand how vim plugins and completion integrations work too :P |
15:55:52 | leorize | http://learnvimscriptthehardway.stevelosh.com/ |
15:56:19 | leorize | that book helped me a lot when I was writing the plugin |
15:56:32 | leorize | hopefully you would find it useful :) |
15:58:00 | FromGitter | <krux02> Yardanico: I will try VSCode again as soon as it supports keyboard layouts |
15:58:22 | FromGitter | <krux02> because currently VSCode is broken if you don't use US qwerty |
15:58:35 | Yardanico | how it's broken? you mean keyboard shortcuts? |
15:58:48 | FromGitter | <krux02> yes, I can't use keyboard shortcuts |
15:59:07 | Yardanico | I have two layouts - russian and US qwerty, just switched to russian and they still work for me |
15:59:14 | * | SenasOzys quit (Remote host closed the connection) |
15:59:32 | * | SenasOzys joined #nim |
15:59:44 | FromGitter | <krux02> well they have some magic in the background that fucks up keboard layout support |
16:00:05 | FromGitter | <krux02> for example I can't bind the undo key to undo my edits |
16:00:10 | FromGitter | <krux02> but that is not essential |
16:00:29 | FromGitter | <krux02> the problem is "they keyboard shortcut is not possible in your keyboard layout configuration" |
16:00:58 | * | couven92 quit (Quit: Client disconnecting) |
16:00:59 | FromGitter | <krux02> ctrl+ü is traslated to be ctrl+z and ctrl+z is also ctrl+z |
16:01:03 | * | yglukhov[i] joined #nim |
16:01:04 | FromGitter | <krux02> yay two ways of doing the same |
16:01:09 | FromGitter | <krux02> and other things I can't do at all |
16:01:43 | FromGitter | <krux02> I wonder when application programmers learn to not mess with the keyboard |
16:02:03 | FromGitter | <krux02> just take the keys as they come in, and not try to magically resolve "what you meant" |
16:02:07 | FromGitter | <krux02> it always breaks |
16:02:42 | FromGitter | <krux02> btw I have "de neo" as my layout, a but unconventional, but not so much where I live. |
16:05:34 | Electrux | oooh thanks leorize :D |
16:07:26 | FromGitter | <zetashift> @Electrux you could take a look at spacemacs+nim it uses the emacs plugin but has vim keybindings |
16:08:14 | * | athenot quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
16:08:31 | leorize | there's a plugin for vscode as well to use neovim as it's backend, which sounds cool |
16:08:39 | Electrux | oh... wait... nim has a spacemacs layer? |
16:08:42 | leorize | but afaik it's still unfinised |
16:08:52 | Electrux | that's awesome because i use spacemacs too yaay :D |
16:09:00 | leorize | nim-mode is an emacs plugin after all :P |
16:09:00 | Yardanico | @PMunch - if you're around - https://github.com/PMunch/binaryparse/issues/2 |
16:09:32 | Electrux | well... still... i'd like to try this vim thingy too :P |
16:09:57 | Electrux | cool! i'll see how well it works on emacs :D |
16:10:12 | Electrux | btw are u all contributors? it feels like u guys are |
16:10:25 | Yardanico | a lot of us are :) |
16:10:45 | Electrux | or pro nimsters |
16:10:49 | Electrux | coool :D |
16:11:09 | Electrux | i hope to learn the language enough and contribute someday too :) |
16:22:25 | FromGitter | <ephja> does every other site make the content fit on small browser windows by determining if the user is using a phone for example rather than only taking the width into account? -.- |
16:22:27 | FromGitter | <zetashift> I'm a hobby programmer instead of the usual python java learning route I took elixir nim and scala, which...isn't effective but fun! |
16:23:03 | FromGitter | <zetashift> @ephja I think they use that @media query |
16:23:38 | leorize | ephja: there's no reliable way aside from @media query |
16:25:49 | * | FuntDobra joined #nim |
16:28:52 | FromGitter | <ephja> a lot of sites still don't, apparently. yeah, this particular one uses tables. well, disabling page style to the rescue |
16:30:29 | FromGitter | <ephja> that and only highlighting comments in code makes for a nice change actually |
16:32:50 | FromGitter | <ephja> the biggest problem might be the occasional full-width svg image :p |
16:33:13 | Yardanico | @ephja some websites have a completely separate mobile version |
16:33:13 | Electrux | umm where is the documentation for sdl library? |
16:33:28 | Yardanico | Electrux use https://github.com/Vladar4/sdl2_nim :) |
16:33:46 | Electrux | why? the official one is not good? :O |
16:34:09 | * | elrood joined #nim |
16:34:13 | Yardanico | well, there's a FAQ in sdl2_nim readme |
16:34:22 | leorize | for the official one, just refer to sdl own docs |
16:35:00 | Yardanico | Electrux sdl2_nim is more nim-like |
16:35:21 | Electrux | oh... ok |
16:35:23 | leorize | the official is even more nim-like :P |
16:35:55 | Electrux | leonize, u mean that the official sdl uses same function names and parameters as the actual sdl library? |
16:36:11 | Yardanico | leorize not really :) |
16:36:13 | leorize | got overloads for destroy() so that you can just go destroy() every object possible :) |
16:36:28 | Yardanico | Electrux just try both |
16:36:44 | Yardanico | and see which is easier to use/better-looking for you |
16:36:49 | leorize | Electrux: yes, just remember that destroy() is usable for everything :), and we don't have the SDL_ prefix |
16:37:07 | leorize | and yes, try both :) |
16:37:13 | Electrux | ah... ok... thanks both of u :) |
16:40:27 | * | FuntDobra quit (Ping timeout: 240 seconds) |
16:42:43 | * | FuntDobra joined #nim |
16:44:27 | * | yglukhov[i] quit (Ping timeout: 252 seconds) |
16:45:32 | FromGitter | <Varriount> Electrux: It's essentially a reminder in the form of forcing you to do an object conversion. |
16:45:56 | Electrux | it? |
16:46:14 | FromGitter | <Varriount> Sorry, I responded to an earlier question of yours |
16:46:18 | * | yglukhov[i] joined #nim |
16:54:08 | FromGitter | <7sDream> I'm a little confused about `shadowCopy a b` and `a = b` when `a` `b` are `string` or `seq`, are they are same? |
16:55:09 | FromGitter | <7sDream> https://nim-lang.org/docs/system.html#shallowCopy,T,T ⏎ doc says they are different……but, any example? |
16:58:33 | * | FuntDobra quit (Ping timeout: 264 seconds) |
17:02:47 | FromGitter | <Varriount> @7sDream Strings and Sequences are "value" types - they are copied on assignment. |
17:03:32 | FromGitter | <Varriount> If I do `var a = @[1, 2, 3] ; var b = a`, the following occurs: |
17:04:16 | FromGitter | <Varriount> A new sequence is created and assigned to `a`. |
17:04:21 | FromGitter | <Varriount> `a` has the values `1`, `2`, and `3` added. |
17:04:47 | FromGitter | <Varriount> A new sequence is created and assigned to `b`. |
17:05:00 | FromGitter | <Varriount> The contents of `a` are copied into `b`. |
17:05:16 | FromGitter | <7sDream> yes, `a = b` copy value in a to b... how about `shallowCopy`? |
17:05:32 | FromGitter | <7sDream> > use this instead of = for a shallow copy. The shallow copy only changes the semantics for sequences and strings (and types which contain those). Be careful with the changed semantics though! There is a reason why the default assignment does a deep copy of sequences and strings. |
17:05:37 | FromGitter | <Varriount> `shallowCopy` doesn't create a new sequence. Instead, both variables share the same underlying sequence. |
17:07:15 | * | FuntDobra joined #nim |
17:07:28 | FromGitter | <7sDream> !eval var a = @[1]; var b: seq[int]; shallowCopy(b, a); a.add(1); echo a; echo b |
17:07:29 | FromGitter | <ephja> I'll have to test it again because it didn't seem to work before |
17:07:30 | NimBot | @[1, 1]↵@[1] |
17:07:45 | FromGitter | <7sDream> var a = @[1]; var b: seq[int]; b = a; a.add(1); echo a; echo b |
17:08:08 | FromGitter | <7sDream> !eval var a = @[1]; var b: seq[int]; shallowCopy(b, a); a.add(1); echo a; echo b |
17:08:10 | NimBot | @[1, 1]↵@[1] |
17:08:35 | FromGitter | <7sDream> !eval var a = @[1]; var b: seq[int]; b = a; a.add(1); echo a; echo b |
17:08:38 | NimBot | @[1, 1]↵@[1] |
17:08:54 | FromGitter | <ephja> I might have tried it when I tried to implement seq range views without introducing additional indirection |
17:11:51 | FromGitter | <7sDream> !eval echo NimVersion |
17:11:53 | NimBot | 0.18.0 |
17:12:10 | * | FuntDobra quit (Ping timeout: 260 seconds) |
17:14:50 | FromGitter | <7sDream> I notice a issue #644 |
17:15:14 | FromGitter | <7sDream> It still open for now |
17:18:24 | FromGitter | <ephja> that must have been the issue |
17:20:53 | FromGitter | <7sDream> but, It was opened in 2013...we've been waiting too long 😶 |
17:25:30 | FromGitter | <mratsim> oh, strange, shallowCopy and shallow pragma works for normal seq, I wonder why it’s ignored for strings |
17:26:48 | FromGitter | <7sDream> > works for normal seq ⏎ any example? |
17:28:37 | FromGitter | <krux02> why has nim so many bugs? |
17:28:55 | FromGitter | <tim-st> That's something I wondered too :\ |
17:29:39 | FromGitter | <ephja> lack of resources |
17:30:18 | FromGitter | <krux02> I just faced a bug where I generate a type in a macro, and in the second invocation of that marco another type is generated but for some onknown reason the C code generator generates just uses the first type again, meaning it generates C code with the wrong types |
17:30:24 | FromGitter | <krux02> and that then fails to compile |
17:30:46 | FromGitter | <tim-st> Btw regarding incremental compilation: wouldnt it be easier to build a full interpreter similar to INim but quicker start of interpretion; or in the very worst case: build a single dll for every lib? |
17:30:47 | FromGitter | <7sDream> I really like Nim, But lack for programming knowledge about compiler |
17:37:31 | FromGitter | <mratsim> @7sDream here you go: https://github.com/mratsim/Arraymancer/blob/master/src/tensor/data_structure.nim#L21 |
17:37:56 | FromGitter | <mratsim> in the past Arraymancer was also littered with shallowCopy before I decided to make it shallow by default |
17:40:58 | FromGitter | <Varriount> @mratsim How do you deal with the fact that you can't modify shallow sequences? |
17:41:13 | FromGitter | <mratsim> What do you mean I can’t? |
17:42:02 | FromGitter | <Varriount> Sorry, you can't use 'add' on shallow sequences. |
17:42:32 | * | Electrux quit (Ping timeout: 256 seconds) |
17:42:48 | FromGitter | <mratsim> Really? I didn’t know. This is not needed for tensors anyway. |
17:43:41 | FromGitter | <data-man> List of issues: 1.. 50 out of *6655* (pages) ⏎ 50*6655 == 332750 ⏎ Oldest: № 6686 - 95 months ago ⏎ ID with maximal № 1778410 - 52 months ago ⏎ Easy issues: 15450 ... [https://gitter.im/nim-lang/Nim?at=5b0d914c93dc78791c9569c4] |
17:43:49 | FromGitter | <data-man> It's Python :) |
17:44:53 | FromGitter | <mratsim> @Varriount I checked, I have no add for tensors/shallow seq |
17:44:58 | FromGitter | <Varriount> @mratsim "The shallow copy only changes the semantics for sequences and strings (and types which contain those). Be careful with the changed semantics though! There is a reason why the default assignment does a deep copy of sequences and strings" |
17:45:11 | FromGitter | <mratsim> in anycase `add` is incompatible with OpenMP. |
17:45:43 | FromGitter | <Varriount> If I have 2 variables, `a` and `b`, and both share the same sequence, what happens when I perform `a.add(...)`? |
17:46:13 | FromGitter | <Varriount> The underlying sequence may need to be resized. |
17:46:58 | FromGitter | <mratsim> I don’t have this issue in Arraymancer, I always know the start and the final size. |
17:47:32 | FromGitter | <mratsim> I always preallocate and then assign values potentially in parallel |
17:47:44 | FromGitter | <Varriount> Yeah, just wanted to point out that behavior. |
17:48:09 | FromGitter | <mratsim> and yeah OpenMP fails with add if there is a reallocation |
17:48:13 | * | Electrux joined #nim |
17:48:18 | FromGitter | <mratsim> error is super cryptic as well |
17:49:44 | * | jjido joined #nim |
17:52:51 | * | Electrux quit (Ping timeout: 256 seconds) |
17:58:35 | * | DarkArctic_ joined #nim |
18:01:13 | * | Gnjurac joined #nim |
18:01:45 | Gnjurac | how to get location or nim.exe or whatewer i call it |
18:01:54 | * | FuntDobra joined #nim |
18:02:06 | Gnjurac | i need app location |
18:02:27 | * | DarkArctic quit (Ping timeout: 240 seconds) |
18:02:55 | * | SenasOzys quit (Ping timeout: 252 seconds) |
18:04:24 | Yardanico | Gnjurac your app or compiler? |
18:04:44 | Yardanico | Gnjurac if your app - please stop trolling and start searching in docs before you ask some questions :) |
18:05:07 | Gnjurac | my app just want to put db next to it , i am allready searching docs i think i am blind |
18:05:17 | Gnjurac | i searched direcotry and os module |
18:05:17 | Yardanico | it's getAppDir() from os |
18:05:29 | Yardanico | "Returns the directory of the application's executable. " |
18:05:35 | Yardanico | !eval echo getAppDir() |
18:05:35 | Gnjurac | omg i think i am blind |
18:05:36 | NimBot | Compile failed: in.nim(1, 6) Error: undeclared identifier: 'getAppDir' |
18:05:43 | Yardanico | !eval import os; echo getAppDir() |
18:05:46 | NimBot | /usercode |
18:05:46 | Gnjurac | i like 2 times passed os from top down |
18:06:23 | Gnjurac | yep i am blind 200% |
18:06:29 | Yardanico | well, it's fine :) |
18:06:53 | * | SenasOzys joined #nim |
18:06:56 | FromGitter | <krux02> ok wrote my bug report |
18:06:57 | FromGitter | <krux02> https://github.com/nim-lang/Nim/issues/7905 |
18:07:00 | FromGitter | <krux02> if you care |
18:10:03 | FromGitter | <krux02> Gnjurac: when nim is on the path and you are on a unix terminal "which nim" should give you the path to the executable, but I am not sure if that is what you want |
18:10:17 | * | jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:11:01 | FromGitter | <krux02> yea sorry I didn't read the conversation to the end it is already solved |
18:15:16 | * | Trustable quit (Remote host closed the connection) |
18:19:22 | Gnjurac | can nim documentation be downlaoded as pdf ? |
18:22:02 | Gnjurac | foud it :) |
18:22:16 | Yardanico | Gnjurac you can use devdocs |
18:22:22 | Yardanico | (it can be used offline) |
18:23:17 | Gnjurac | ty will try that do , this online thing just added their logo to evry page |
18:38:28 | * | DarkArctic__ joined #nim |
18:40:27 | * | SenasOzys quit (Ping timeout: 256 seconds) |
18:41:11 | * | icebattle joined #nim |
18:42:09 | * | DarkArctic_ quit (Ping timeout: 248 seconds) |
18:43:16 | * | SenasOzys joined #nim |
18:43:34 | * | DarkArctic__ quit (Quit: Leaving) |
18:43:51 | * | DarkArctic joined #nim |
18:48:00 | * | mostly-h1rmless joined #nim |
18:48:15 | * | jsn-_ joined #nim |
18:51:59 | * | ^GaveUp^ joined #nim |
18:52:03 | * | craigger_ joined #nim |
18:52:32 | * | Vladar joined #nim |
18:53:00 | * | GaveUp quit (*.net *.split) |
18:53:00 | * | craigger quit (*.net *.split) |
18:53:00 | * | ofelas quit (*.net *.split) |
18:53:00 | * | mostly-harmless quit (*.net *.split) |
18:53:00 | * | Tanger quit (*.net *.split) |
18:53:01 | * | jsn- quit (*.net *.split) |
18:53:01 | * | ^GaveUp^ is now known as GaveUp |
18:55:19 | * | jjido joined #nim |
18:57:02 | * | SenasOzys quit (Ping timeout: 260 seconds) |
18:58:27 | * | jjido quit (Client Quit) |
18:59:11 | * | Tanger joined #nim |
19:00:47 | * | ofelas joined #nim |
19:01:17 | * | SenasOzys joined #nim |
19:12:21 | * | rockcavera quit (Ping timeout: 264 seconds) |
19:14:45 | * | rockcavera joined #nim |
19:21:10 | * | nsf joined #nim |
19:22:54 | * | dddddd joined #nim |
19:31:04 | * | vivus joined #nim |
19:45:42 | Gnjurac | how to catch sql exeption https://hastebin.com/urunububex.http |
19:45:57 | Gnjurac | i duno how to get error msg |
19:47:12 | * | Electrux joined #nim |
19:48:00 | * | SenasOzys__ joined #nim |
19:48:45 | * | SenasOzys quit (Read error: Connection reset by peer) |
19:49:28 | Yardanico | Gnjurac it's in the docs :( |
19:49:36 | Yardanico | Gnjurac getCurrentExceptionMsg() in "except" block |
19:50:36 | Gnjurac | https://nim-lang.org/docs/db_sqlite.html dident found it here |
19:50:47 | Gnjurac | but sorry |
19:50:50 | Gnjurac | i try :) |
19:51:44 | * | Electrux quit (Ping timeout: 255 seconds) |
19:54:50 | Yardanico | Gnjurac why did you search for it on db_sqlite? :) |
19:55:11 | Yardanico | Exception handling in Nim is built into the language, so you should search in the index or in system module :) |
19:55:32 | * | Vladar quit (Remote host closed the connection) |
19:55:51 | * | Vladar joined #nim |
19:55:57 | * | endragor joined #nim |
19:56:29 | Gnjurac | next time i will :) |
20:00:35 | * | darithorn joined #nim |
20:00:40 | * | endragor quit (Ping timeout: 256 seconds) |
20:00:40 | * | SenasOzys__ quit (Ping timeout: 256 seconds) |
20:08:06 | * | Electrux joined #nim |
20:12:50 | * | Electrux quit (Ping timeout: 265 seconds) |
20:14:17 | * | SenasOzys__ joined #nim |
20:24:26 | dom96 | Nowadays you can do: except DbError as exc: echo(exc.msg) |
20:24:55 | Gnjurac | nice |
20:25:28 | Yardanico | dom96 can you do except Exception as ex: ? |
20:25:41 | dom96 | yes |
20:26:20 | Yardanico | amazing |
20:27:15 | Gnjurac | ye ex: sounds better :) |
20:28:10 | * | Electrux joined #nim |
20:29:20 | Gnjurac | anyway i go sleep good night :) |
20:29:24 | * | Gnjurac quit (Quit: Leaving) |
20:32:39 | * | Electrux quit (Ping timeout: 256 seconds) |
20:36:39 | * | FuntDobra quit (Remote host closed the connection) |
20:37:12 | * | Electrux joined #nim |
20:43:02 | * | Electrux quit (Ping timeout: 255 seconds) |
20:44:17 | * | jjido joined #nim |
20:48:13 | * | Electrux joined #nim |
20:50:11 | FromDiscord | <emekoi> is there a way to write the contents of one stream into another? |
20:51:21 | * | Vladar quit (Quit: Leaving) |
20:53:20 | * | Electrux quit (Ping timeout: 276 seconds) |
20:55:01 | FromDiscord | <emekoi> nvm i found a way |
21:21:33 | * | Electrux joined #nim |
21:32:21 | * | Electrux quit (Ping timeout: 256 seconds) |
21:37:13 | * | Electrux joined #nim |
21:38:04 | * | nsf quit (Quit: WeeChat 2.1) |
21:41:47 | * | Electrux quit (Ping timeout: 256 seconds) |
21:58:12 | * | Electrux joined #nim |
22:02:27 | * | Electrux quit (Ping timeout: 240 seconds) |
22:08:10 | * | Electrux joined #nim |
22:10:51 | * | jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
22:12:57 | * | Electrux quit (Ping timeout: 256 seconds) |
22:13:42 | * | elrood quit (Quit: Leaving) |
22:18:10 | * | Electrux joined #nim |
22:22:35 | * | Electrux quit (Ping timeout: 256 seconds) |
22:35:02 | * | themagician quit () |
23:04:12 | * | BitPuffin quit (Remote host closed the connection) |
23:06:18 | * | darithorn1 joined #nim |
23:07:14 | * | Electrux joined #nim |
23:12:05 | * | Electrux quit (Ping timeout: 260 seconds) |
23:20:23 | * | darithorn1 left #nim (#nim) |
23:28:11 | * | Electrux joined #nim |
23:32:36 | * | Electrux quit (Ping timeout: 256 seconds) |
23:43:32 | * | yglukhov[i] quit (Read error: Connection reset by peer) |
23:44:09 | * | yglukhov[i] joined #nim |
23:58:11 | * | Electrux joined #nim |