00:03:42 | * | jakesyl joined #nim |
00:08:50 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:46:27 | * | Ven_ joined #nim |
00:53:35 | * | Ven_ quit (Ping timeout: 264 seconds) |
01:07:27 | * | Kingsquee joined #nim |
01:49:23 | * | desophos quit (Ping timeout: 264 seconds) |
01:50:27 | * | Ven_ joined #nim |
01:57:39 | * | Ven_ quit (Ping timeout: 240 seconds) |
02:17:08 | Varriount | Araq: And what about reference changes when resizing the string? |
02:21:22 | Varriount | Araq: Also, some searching about C++'s std::string reveals that it used to be COW, however this was abandoned due to multithreading issues. |
02:29:35 | * | Varriount quit (Ping timeout: 265 seconds) |
02:36:12 | * | Varriount joined #nim |
02:36:50 | * | brson quit (Ping timeout: 265 seconds) |
02:42:43 | * | desophos joined #nim |
02:55:45 | * | Ven_ joined #nim |
03:02:09 | * | Ven_ quit (Ping timeout: 244 seconds) |
03:37:58 | * | ephja quit (Ping timeout: 260 seconds) |
03:59:10 | * | brson joined #nim |
03:59:12 | * | Ven_ joined #nim |
04:05:38 | * | Ven_ quit (Ping timeout: 246 seconds) |
04:18:30 | * | vqrs quit (Ping timeout: 240 seconds) |
04:19:02 | * | brson quit (Quit: leaving) |
04:20:52 | * | vqrs joined #nim |
04:42:35 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
04:51:34 | * | vendethiel joined #nim |
04:59:54 | * | Jesin quit (Ping timeout: 265 seconds) |
05:02:33 | * | darkf joined #nim |
05:02:48 | * | Ven_ joined #nim |
05:07:12 | * | Ven_ quit (Ping timeout: 250 seconds) |
05:07:59 | * | KajiMaster joined #nim |
05:13:41 | * | vqrs quit (Ping timeout: 252 seconds) |
05:16:26 | * | vqrs joined #nim |
05:17:07 | * | solidsnack joined #nim |
05:19:10 | * | vendethiel quit (Ping timeout: 240 seconds) |
05:22:22 | * | zemm quit (Ping timeout: 260 seconds) |
05:23:51 | * | KajiMaster quit (Disconnected by services) |
05:23:56 | * | zemm joined #nim |
05:24:18 | * | kaji_ joined #nim |
05:25:17 | * | Jesin joined #nim |
05:35:50 | * | n0xff quit (Ping timeout: 240 seconds) |
05:37:51 | * | n0xff joined #nim |
05:42:59 | * | Varriount_ joined #nim |
05:46:18 | * | Varriount quit (Ping timeout: 265 seconds) |
05:47:34 | * | drs quit (Quit: leaving) |
05:48:42 | * | Varriount__ joined #nim |
05:49:43 | * | kaji_ quit (Quit: Leaving) |
05:50:48 | * | Varriount joined #nim |
05:51:16 | * | Varriount_ quit (Ping timeout: 240 seconds) |
05:53:10 | * | Varriount__ quit (Ping timeout: 244 seconds) |
06:00:12 | * | desophos quit (Read error: Connection reset by peer) |
06:21:59 | * | gokr joined #nim |
06:30:25 | * | gokr quit (Quit: Leaving.) |
06:42:17 | * | gour joined #nim |
06:51:02 | * | zepolen quit (Remote host closed the connection) |
07:07:13 | * | Gonzih joined #nim |
07:09:15 | * | Ven_ joined #nim |
07:13:57 | * | Ven_ quit (Ping timeout: 252 seconds) |
07:15:44 | * | Matthias247 joined #nim |
07:16:50 | * | solidsnack quit (Read error: Connection reset by peer) |
07:16:53 | * | Matthias247 quit (Read error: Connection reset by peer) |
07:17:38 | * | solidsnack joined #nim |
08:12:20 | * | gokr joined #nim |
08:17:24 | * | Trustable joined #nim |
08:17:55 | * | RobNewb joined #nim |
08:18:27 | RobNewb | :hi |
08:18:35 | Araq | hi |
08:19:09 | RobNewb | Araq did you miss me?, i did .. |
08:19:54 | RobNewb | every thing thanks to @zah is allmost perfect |
08:21:04 | RobNewb | the main isssue was x86 vs x64 compilation and now data stracture is alligned |
08:22:52 | RobNewb | the problem is i see ??? instead of char & 0-9 is printing fine in a nim string when marshaled |
08:25:38 | RobNewb | do you know how hard he tried to help me... as much as you did but double the time |
08:31:59 | * | jaco60 quit (Ping timeout: 246 seconds) |
08:37:50 | RobNewb | x: 99, y: 198, s: 扡摣晥桧㥩9 <---chcp 65001-- chcp 1252 --> x: 99, y: 198, s: ?????9 |
08:41:42 | RobNewb | sorry for the truble , i will try to discover it some more |
09:13:34 | * | mindriot101 joined #nim |
09:23:13 | Araq | RobNewb: you are too shy. without question marks I have no idea if I |
09:23:18 | Araq | am actually supposed to answer |
09:24:48 | * | haulfield joined #nim |
09:25:22 | haulfield | hi, i'm facing a problem with macro |
09:25:52 | haulfield | it is problem with parseExpr() |
09:26:50 | haulfield | I use parseExpr and then output treeRepr, and i see that my expression had been parsed properly |
09:27:15 | haulfield | but what I see in console is error in macros.nim(293,7) |
09:27:19 | * | yglukhov joined #nim |
09:27:27 | haulfield | let x = internatErrorFlag() |
09:27:51 | haulfield | type mismatch, got (int literal(1),bool) |
09:28:00 | haulfield | but expected smth of system.== |
09:28:07 | haulfield | what should I do to fix it? |
09:29:14 | haulfield | hah, I'm from Ukraine too :) |
09:29:21 | Araq | bindSym"true" ? |
09:32:13 | haulfield | i am to replace all ident("blablabla") with bindSym"blablabla"? |
09:32:35 | Araq | that depends on what your macro should do, but yes |
09:32:55 | Araq | I don't think it will solve your type error problem though |
09:33:46 | haulfield | i even don't understand, what is this problem caused by |
09:33:59 | Araq | pastebin/gist your problem please |
09:39:31 | haulfield | https://gist.github.com/haulfield/fa2775690b7c5d162d88 |
09:43:41 | * | dbushenko joined #nim |
09:43:47 | RobNewb | i am not shy, as i am trying to be polite, i am not a contributer (yet) as i lack the experience and i don't wish to consume more of your time & @ zah is also one of nims resources as he also contributes i have seen how much i wish i could too , so i don't want to wast your time any more than i already did, so i feel a bit uncomfortable asking more help |
09:43:51 | * | haulfield quit (Ping timeout: 246 seconds) |
09:44:23 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
09:44:43 | RobNewb | the point is i am this close to complete the task in hand and if i do solve the encoding / stings issue i am done with the major issue of transforming most of my work to be done with nim |
09:45:44 | RobNewb | by now all is set all is working except for this issue : x: 99, y: 198, s: 扡摣晥桧㥩9 <---chcp 65001-- chcp 1252 --> x: 99, y: 198, s: ?????9 |
09:46:44 | RobNewb | when you can address it i would like to know : why is this printing the alphabet like that? |
09:48:24 | RobNewb | is this a known issue, i am asking if it's known issue cause at first we're dealing with english chars |
09:50:20 | * | dbushenko left #nim ("Ухожу я от вас") |
09:50:50 | * | CcxCZ quit (Ping timeout: 240 seconds) |
09:52:55 | * | zepolen joined #nim |
09:53:19 | Araq | RobNewb: write to a file rather than the console please and see what happens |
09:53:37 | Araq | windows console is pretty weird when it comes to character encodings, so I never trust it |
09:55:15 | RobNewb | kidoki i was thinking of reading one(with nim) and show to console but it will take longer, i now gonna quickly right one . |
09:57:46 | RobNewb | write* |
09:58:07 | * | zepolen quit (Ping timeout: 265 seconds) |
10:01:04 | * | haulfield joined #nim |
10:01:31 | haulfield | i've lost connection with server and can't see previous answers to my problem |
10:01:34 | haulfield | there were some? |
10:01:48 | haulfield | https://gist.github.com/haulfield/fa2775690b7c5d162d88 |
10:03:13 | Araq | haulfield: solved your problem |
10:03:25 | Araq | btw echo repr(result) is way more useful |
10:03:42 | Araq | that way you can just copy and paste the Nim code and see what happens |
10:07:54 | haulfield | thnx |
10:08:00 | haulfield | i got it |
10:08:18 | * | mindriot101 quit () |
10:08:52 | * | mindriot101 joined #nim |
10:18:51 | * | haulfield quit (Quit: Page closed) |
10:32:07 | * | allan0 quit (Quit: WeeChat 1.3) |
10:39:06 | RobNewb | ok here is the cs and nim part togther as zah sees it |
10:39:08 | RobNewb | https://gist.github.com/anonymous/6018f7b4ee6a81a03fcc |
10:49:09 | RobNewb | Araq i assume you don't have visual studio & c# so if you want to just edit the structure and i will test it |
10:49:53 | RobNewb | writing to a file did not change the issue , i have tried via encoding specified all options it same |
10:58:09 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
11:02:43 | Araq | new string(&(currentItem->s->Text)) |
11:05:40 | Araq | in other words |
11:05:53 | Araq | public char Text; in your mistyped NimString is wrong |
11:06:08 | Araq | c#`s char is 16 bits, nims is 8 bits |
11:06:25 | Araq | so you invoke the wrong string constructor that interprets it as utf-16 |
11:06:51 | * | Pishtiko joined #nim |
11:08:17 | RobNewb | i am now trying nim, working on other models (type different, and proc accordingly) should i concentrate on cs and it's struct members ? i read what you say |
11:09:22 | RobNewb | i just don't understand what does it mean 16 vs 8 bits and how to attack this issue with a solution |
11:12:16 | RobNewb | and if in c / c++ i pass char* (this is a Cstring guess in modern languages ) i collect with either a Intptr / char* in c /c++ i transfer like that and it is perfectly fine when member is built like that |
11:17:03 | Araq | nims char is c's char, so the same solution should work |
11:22:47 | * | lyro quit (Quit: WeeChat 1.1.1) |
11:27:46 | RobNewb | this is what i should try then and if it does work , (i remember you said it's wrong to work it like that but if it will work then we can make a point about why this and not that... |
11:27:47 | RobNewb | type Exported = object len: uint data: ptr char # this has to be freed with Nim's `dealloc` proc |
11:28:12 | RobNewb | by zah |
11:28:17 | Araq | ok ... |
11:45:25 | * | makoLine quit (Ping timeout: 240 seconds) |
11:47:04 | RobNewb | dummyNs ="abcdefghi" & $i -->string |
11:47:40 | RobNewb | bufTmp.data --> char ptr is it =dummyNs.addr ? |
11:47:50 | * | zepolen joined #nim |
11:48:14 | * | elrood joined #nim |
11:50:48 | * | antoniomo joined #nim |
12:11:27 | * | CcxCZ joined #nim |
12:39:33 | reactormonk | Whut? https://github.com/nim-lang/Nim/pull/3537 |
12:41:00 | * | BitPuffin joined #nim |
12:49:10 | * | ephja joined #nim |
12:58:51 | * | zepolen quit (Remote host closed the connection) |
13:08:03 | * | zepolen joined #nim |
13:11:07 | * | zepolen quit (Remote host closed the connection) |
13:15:41 | * | zepolen joined #nim |
13:17:33 | * | strcmp1 joined #nim |
13:18:30 | * | allan0 joined #nim |
13:19:52 | * | zepolen quit (Remote host closed the connection) |
13:22:30 | * | zepolen joined #nim |
13:23:27 | * | zepolen quit (Remote host closed the connection) |
13:35:51 | * | zepolen joined #nim |
14:12:38 | * | gokr quit (Ping timeout: 260 seconds) |
14:22:11 | * | desophos joined #nim |
14:57:41 | * | pregressive joined #nim |
15:02:05 | * | antoniomo quit (Quit: WeeChat 1.3) |
15:08:16 | NimBot | nim-lang/Nim devel e8bc19f jyelon [+0 ±1 -0]: Add 'auto-decoration' to nimGetProcAddr... 12 more lines |
15:08:16 | NimBot | nim-lang/Nim devel 0f7fdd8 Andreas Rumpf [+0 ±1 -0]: Merge pull request #3536 from jyelon/proc-addr... 2 more lines |
15:08:19 | * | gokr joined #nim |
15:22:42 | * | gokr left #nim (#nim) |
15:26:25 | * | Demon_Fox quit (Quit: Leaving) |
15:30:34 | * | jaco60 joined #nim |
15:38:39 | * | yglukhov quit (Remote host closed the connection) |
15:55:29 | * | pregressive quit () |
15:56:57 | * | pregressive joined #nim |
16:02:46 | * | mindriot101 quit (Remote host closed the connection) |
16:03:16 | * | mindriot101 joined #nim |
16:23:49 | * | mindriot101 quit (Ping timeout: 265 seconds) |
16:23:50 | * | BitPuffin quit (Ping timeout: 276 seconds) |
16:26:00 | * | desophos quit (Read error: Connection reset by peer) |
16:26:09 | * | yglukhov joined #nim |
16:30:16 | * | Jesin quit (Quit: Leaving) |
16:33:05 | * | Jesin joined #nim |
16:46:28 | * | mindriot101 joined #nim |
16:57:30 | * | Pishtiko quit (Ping timeout: 246 seconds) |
17:00:43 | * | desophos_ joined #nim |
17:06:14 | * | BitPuffin joined #nim |
17:17:46 | * | darkf quit (Quit: Leaving) |
17:18:24 | * | strcmp1 quit (Remote host closed the connection) |
17:20:54 | * | gokr joined #nim |
17:26:03 | * | desophos_ is now known as desophos |
17:26:58 | * | strcmp1 joined #nim |
17:30:54 | desophos | someone here linked their game a while back but i didn't get a chance to look at it |
17:30:59 | desophos | they linked an "engine" and a game |
17:31:05 | desophos | but i don't remember who it was |
17:31:26 | desophos | please relink :) |
17:38:22 | * | xet7 quit (Quit: Leaving) |
17:38:44 | * | brson joined #nim |
17:43:34 | * | yglukhov quit (Ping timeout: 260 seconds) |
17:52:16 | * | nande joined #nim |
18:03:11 | * | ten_i_see joined #nim |
18:03:56 | nchambers | desophos: you can just grep the logs |
18:04:12 | desophos | nchambers, i don't know which computer i was on :/ |
18:04:21 | nchambers | (use a bouncer) |
18:04:28 | desophos | oh the logs are online anyway |
18:04:32 | desophos | neat |
18:06:25 | * | ten_i_see left #nim (#nim) |
18:09:35 | desophos | found it, it was yglukhov |
18:13:06 | * | askatasuna joined #nim |
18:13:31 | * | mindriot101 quit (Remote host closed the connection) |
18:23:28 | * | Matthias247 joined #nim |
18:33:33 | * | yglukhov joined #nim |
18:35:00 | * | Matthias247_ joined #nim |
18:37:04 | * | Matthias247 quit (Ping timeout: 276 seconds) |
18:38:14 | * | yglukhov quit (Ping timeout: 272 seconds) |
18:44:01 | * | yglukhov joined #nim |
18:44:40 | * | yglukhov quit (Remote host closed the connection) |
18:46:39 | * | Ven joined #nim |
18:46:55 | * | zepolen quit (Remote host closed the connection) |
18:49:41 | * | zepolen joined #nim |
18:54:42 | * | zepolen quit (Ping timeout: 272 seconds) |
19:01:21 | * | Guest48911isaway is now known as Guest48911 |
19:09:45 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
19:10:09 | * | xet7 joined #nim |
19:12:06 | * | BitPuffin quit (Ping timeout: 255 seconds) |
19:28:26 | * | niv joined #nim |
19:33:38 | * | Matthias247_ quit (Ping timeout: 276 seconds) |
19:33:52 | * | Matthias247 joined #nim |
19:41:46 | * | yglukhov joined #nim |
19:44:27 | * | brson_ joined #nim |
19:47:04 | * | brson quit (Ping timeout: 244 seconds) |
19:50:22 | * | silven quit (Read error: Connection reset by peer) |
19:51:37 | * | silven joined #nim |
20:01:59 | * | zepolen joined #nim |
20:05:43 | * | vendethiel joined #nim |
20:07:24 | * | Grumpy joined #nim |
20:22:20 | * | yglukhov quit (Remote host closed the connection) |
20:30:06 | * | mindriot101 joined #nim |
20:31:12 | * | mindriot101 quit (Remote host closed the connection) |
20:31:31 | * | mindriot101 joined #nim |
20:37:23 | * | renesac quit (Ping timeout: 264 seconds) |
20:50:07 | * | renesac joined #nim |
20:53:21 | * | nande quit (Remote host closed the connection) |
20:56:43 | * | makoLine joined #nim |
21:02:42 | * | askatasuna quit (Ping timeout: 260 seconds) |
21:10:48 | * | Jesin quit (Quit: Leaving) |
21:19:45 | * | yglukhov joined #nim |
21:33:04 | * | Mat4 joined #nim |
21:33:09 | Mat4 | hello |
21:34:26 | * | Gonzih quit (Ping timeout: 260 seconds) |
21:47:00 | * | Mat4 quit (Read error: Connection reset by peer) |
21:49:34 | * | Mat4 joined #nim |
21:53:23 | Mat4 | how is garbage collection implemented in case of compilation with --os:standalone ? |
21:53:52 | * | Mat4 nice smily |
21:55:09 | * | Kingsquee joined #nim |
21:57:07 | desophos | how hard would it be to write a wrapper for https://github.com/libRocket/libRocket ? |
21:59:06 | * | brson_ quit (Ping timeout: 240 seconds) |
22:09:54 | Mat4 | probably you can find it out be writing one |
22:10:18 | Mat4 | good luck |
22:13:53 | * | gour_ joined #nim |
22:14:20 | Mat4 | (I don't know which criterions are important for you to decide if it would be hard or not) |
22:15:44 | Mat4 | I think it is doable so far but better ask Araq or some with more experience in binding C++ code |
22:16:15 | * | gour quit (Ping timeout: 240 seconds) |
22:16:54 | * | Jesin joined #nim |
22:17:25 | * | tdc joined #nim |
22:18:26 | * | Jesin quit (Remote host closed the connection) |
22:19:28 | * | tdc quit (Client Quit) |
22:19:55 | * | pregressive quit (Remote host closed the connection) |
22:20:10 | * | pregressive joined #nim |
22:20:23 | * | pregressive quit (Remote host closed the connection) |
22:27:30 | * | distortedsignal joined #nim |
22:28:29 | * | Mat4 quit (Ping timeout: 246 seconds) |
22:30:25 | * | shodan45 joined #nim |
22:30:57 | * | Ven joined #nim |
22:32:06 | * | brson joined #nim |
22:32:54 | * | Trustable quit (Remote host closed the connection) |
22:33:25 | * | Jesin joined #nim |
22:42:20 | * | Mat4 joined #nim |
22:44:29 | * | Guest48911 is now known as Guest48911isaway |
22:45:32 | * | Ven quit (Read error: Connection reset by peer) |
22:46:05 | * | Ven joined #nim |
22:46:20 | * | vendethiel quit (Read error: Connection reset by peer) |
22:47:34 | * | gour_ quit (Quit: WeeChat 1.3) |
22:49:26 | * | Ven quit (Read error: Connection reset by peer) |
22:49:53 | * | Ven joined #nim |
22:54:30 | * | Demon_Fox joined #nim |
23:03:48 | * | nande joined #nim |
23:08:18 | * | yglukhov quit (Remote host closed the connection) |
23:10:19 | * | haulfield joined #nim |
23:18:18 | * | Mat4 left #nim (#nim) |
23:23:02 | * | BitPuffin|osx joined #nim |
23:25:40 | * | haulfield quit (Quit: Page closed) |
23:28:55 | * | lyro joined #nim |
23:30:32 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:34:00 | * | Ven quit (Read error: Connection reset by peer) |
23:34:36 | * | Ven joined #nim |
23:39:38 | * | mindriot101 quit () |
23:45:26 | * | Ven quit (Read error: Connection reset by peer) |
23:46:02 | * | Ven joined #nim |
23:52:50 | * | someplace quit (Ping timeout: 246 seconds) |
23:53:11 | * | flyx quit (Ping timeout: 246 seconds) |
23:53:32 | * | jaco60 quit (Ping timeout: 246 seconds) |
23:55:28 | * | flyx joined #nim |
23:55:47 | * | someplace joined #nim |
23:56:12 | * | jaco60 joined #nim |