00:22:54 | * | themagician quit () |
00:23:53 | * | chemist69 quit (Ping timeout: 246 seconds) |
00:26:30 | * | chemist69 joined #nim |
00:44:11 | * | Snircle joined #nim |
01:05:09 | * | dddddd quit (Remote host closed the connection) |
01:06:51 | * | vlad1777d quit (Quit: Leaving) |
01:12:45 | * | chemist69 quit (Ping timeout: 260 seconds) |
01:21:59 | * | pregressive joined #nim |
01:26:35 | * | yglukhov joined #nim |
01:30:45 | * | yglukhov quit (Ping timeout: 248 seconds) |
01:37:16 | * | chemist69 joined #nim |
01:43:03 | * | PMunch quit (Quit: leaving) |
01:56:37 | * | chemist69 quit (Ping timeout: 260 seconds) |
02:16:51 | * | chemist69 joined #nim |
02:18:58 | * | gokr quit (Ping timeout: 268 seconds) |
02:34:28 | * | space-wizard joined #nim |
03:12:22 | * | chemist69 quit (Ping timeout: 250 seconds) |
03:12:36 | * | djellemah_ quit (Ping timeout: 240 seconds) |
03:12:55 | * | djellemah_ joined #nim |
03:22:24 | * | NimBot joined #nim |
03:24:49 | * | chemist69 joined #nim |
03:28:33 | * | yglukhov joined #nim |
03:32:57 | * | yglukhov quit (Ping timeout: 265 seconds) |
04:00:11 | * | Moxx_13 joined #nim |
04:10:53 | * | chemist69 quit (Ping timeout: 245 seconds) |
04:17:21 | * | Moxx_13 quit (Quit: Leaving.) |
04:35:26 | * | chemist69 joined #nim |
05:22:35 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
05:36:12 | * | pregressive quit (Remote host closed the connection) |
05:36:46 | * | pregressive joined #nim |
05:37:53 | * | pregressive quit (Read error: Connection reset by peer) |
05:38:24 | * | pregressive joined #nim |
05:59:47 | * | pregressive quit (Remote host closed the connection) |
06:00:19 | * | pregressive joined #nim |
06:04:47 | * | pregressive quit (Ping timeout: 246 seconds) |
06:12:47 | * | chemist69 quit (Ping timeout: 258 seconds) |
06:20:19 | * | arnetheduck quit (Ping timeout: 252 seconds) |
06:30:36 | * | yglukhov joined #nim |
06:30:49 | * | nsf joined #nim |
06:33:02 | * | gokr joined #nim |
06:33:06 | * | chemist69 joined #nim |
06:35:00 | * | yglukhov quit (Ping timeout: 258 seconds) |
06:45:00 | * | sarlalian quit (Ping timeout: 250 seconds) |
06:47:21 | * | djellemah_ is now known as djellemah |
06:48:23 | * | sarlalian joined #nim |
06:59:33 | * | bjz joined #nim |
07:04:22 | * | ftsf_ quit (Quit: :q!) |
07:09:21 | * | rokups joined #nim |
07:16:43 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:28:40 | * | bjz joined #nim |
07:36:46 | * | yglukhov joined #nim |
07:41:08 | * | yglukhov quit (Remote host closed the connection) |
07:54:57 | * | chemist69 quit (Ping timeout: 241 seconds) |
08:21:37 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
08:23:54 | * | chemist69 joined #nim |
08:31:22 | * | Andris_zbx joined #nim |
08:33:19 | * | flyx quit (Quit: ZNC - http://znc.in) |
08:33:51 | * | flyx joined #nim |
08:35:42 | * | flyx quit (Client Quit) |
08:36:13 | * | flyx joined #nim |
08:36:46 | * | flyx quit (Client Quit) |
08:37:17 | * | flyx joined #nim |
08:45:50 | * | yglukhov joined #nim |
08:45:57 | * | yglukhov quit (Remote host closed the connection) |
08:46:52 | * | gokr quit (Ping timeout: 258 seconds) |
08:46:55 | * | yglukhov joined #nim |
08:51:05 | * | gokr joined #nim |
08:55:01 | FromGitter | <andreaferretti> @perturbation I haven't made experiments with using the linalg library multithreaded, but if you come up with something useful, I'd be happy to try to integrate it (I'm the author) |
09:01:41 | * | pregressive joined #nim |
09:06:37 | * | pregressive quit (Ping timeout: 240 seconds) |
09:11:04 | * | PMunch joined #nim |
09:51:27 | * | gangstacat quit (Quit: Ĝis) |
09:52:28 | * | bjz_ joined #nim |
09:53:27 | * | bjz quit (Ping timeout: 268 seconds) |
09:58:14 | * | yeeve quit (Remote host closed the connection) |
10:14:22 | * | yeeve joined #nim |
10:19:30 | yglukhov | Araq: hi |
10:21:19 | yglukhov | recent getType changes still causing problems. but now its a bit harder to create a reduced sample :( |
10:25:07 | * | Arrrr joined #nim |
10:40:56 | yglukhov | i think its somehow related with `.` proc. btw, why is it deprecated? it looks like a powerful feature if used properly... =) |
10:47:26 | * | bjz_ quit (Ping timeout: 264 seconds) |
10:47:30 | * | bjz joined #nim |
10:57:47 | yglukhov | ok, could reduce the sample a bit, `.` is not involved. https://github.com/nim-lang/Nim/issues/5131 |
11:21:43 | * | byte512 joined #nim |
11:28:00 | FromGitter | <zetashift> anyone got first few days of Advent of Code in Nim? I always feel lost with these kinds of challenges :( |
11:28:13 | * | abruanese joined #nim |
11:28:37 | * | PMunch quit (Quit: leaving) |
11:30:21 | FromGitter | <zetashift> like the first 3 days is more than enough |
11:55:16 | * | vlad1777d joined #nim |
12:02:05 | * | Snircle joined #nim |
12:14:24 | * | MyMind joined #nim |
12:16:08 | * | Sembei quit (Ping timeout: 246 seconds) |
12:42:02 | * | byte512 quit (Ping timeout: 246 seconds) |
13:02:22 | yglukhov | Araq: what do you think of a new "HeaderSearchPath" pragma to better support "compile" pragma? |
13:03:55 | yglukhov | basically it would do what cincludes cmdline argument does |
13:41:03 | * | Jesin quit (Ping timeout: 252 seconds) |
13:43:07 | * | Jesin joined #nim |
13:53:46 | * | bjz quit (Max SendQ exceeded) |
13:59:58 | * | bjz joined #nim |
14:17:11 | vlad1777d | Hello to all. |
14:18:03 | * | nsf quit (Quit: WeeChat 1.6) |
14:19:39 | vlad1777d | To devs/moderators of manual. There is no info about converting int to cint neither in manual, nor in tutorial. Library reference (system module) also has not description of this. As I understood, int type has proc cint for converting to cint. """var x = 5; x.cint()""" |
14:20:01 | vlad1777d | cint, as I understood, is in system module. |
14:21:26 | flyx | vlad1777d: no, that's just a type conversion. `x.cint()` is equivalent to `cint(x)` and you could also write `cint(5)` |
14:21:45 | flyx | vlad1777d: type conversion are covered in the manual |
14:22:06 | vlad1777d | flyx, but is cint() a method procedure for int? |
14:22:20 | flyx | vlad1777d: no, cint is a type |
14:22:31 | flyx | vlad1777d: type conversion work as if the type was a proc |
14:23:19 | vlad1777d | flyx, thank you, I thought that procedures make this. |
14:44:31 | * | Jesin quit (Ping timeout: 268 seconds) |
14:47:31 | * | gangstacat joined #nim |
14:49:45 | vlad1777d | Maybe someone knows, how to get in runtime the folder, where the program binary is present? Something like """import sys; sys.path[0]""" in Python. |
14:50:40 | renesac_ | vlad1777d: take a look at the os module |
14:50:43 | * | Jesin joined #nim |
14:51:05 | renesac_ | there should be something like getCurrentDir() |
14:51:06 | FromGitter | <nigredo-tori> ```type F[A] = object ⏎ echo F[int] is F[string] # true``` ⏎ ⏎ Is this the expected behavior? [https://gitter.im/nim-lang/Nim?at=5857f3da0730ce6937e436d3] |
14:52:22 | vlad1777d | renesac_, but current directory, as I know, is the directory from where the program was runned. And I need the directory, where the program binary is present. |
14:54:18 | FromGitter | <nigredo-tori> @vlad1777d, http://nim-lang.org/docs/os.html#getAppDir, |
14:55:35 | renesac_ | oh, sorry |
14:55:39 | renesac_ | then I don't know |
14:56:11 | vlad1777d | FromGitter, thanks |
14:56:12 | FromGitter | vlad1777d, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/nim-lang/Nim |
14:56:21 | vlad1777d | nigredo-tori, thanks |
14:57:13 | vlad1777d | renesac_, Its getAppDir, I have not found it, even don't know why =) I read module's reference several times =) |
14:57:26 | vlad1777d | renesac_, thank you anyway |
14:58:57 | FromGitter | <andreaferretti> @nigredo-tori seems at least unexpected to me |
14:59:08 | FromGitter | <andreaferretti> this would prevent the use of phantom types |
15:05:28 | FromGitter | <nigredo-tori> @andreaferretti , That's my impression as well. Found this while trying to figure out how to reconstruct a generic type instantiation expression from `getType(|Inst|Impl)` - only to find out that it's probably not possible. |
15:09:35 | FromGitter | <nigredo-tori> I mean my naive `getTypeInst` approach works surprisingly well for normal generics, but with generic aliases it crumbles. |
15:11:11 | * | nsf joined #nim |
15:19:26 | FromGitter | <nigredo-tori> As far as I can see, this was implemented deliberately. It's difficult to say for sure, though, since the only documentation on this is a section in the manual on type equality, which doesn't mention generics at all. |
15:26:57 | FromGitter | <andreaferretti> otoh, they are certainly specialized to the same type |
15:27:36 | FromGitter | <andreaferretti> I guess doing otherwise would also cause problems in a language with specialized (instead of erased) generics, but I am not sure |
15:53:11 | FromGitter | <nigredo-tori> Overloading on `F` instantiations works as expected, though - both on typedescs and on parameters. So I'm not sure those are considered the same type. Also, it seems that overloading handles aliases correctly somehow - I guess I'll have to take a closer look at it. |
15:55:20 | FromGitter | <nigredo-tori> Ah, nevermind, was experimenting and didn't clean up `F` body. My bad - without the body instantiations are really treated as the same type. |
16:03:06 | * | pregressive joined #nim |
16:08:37 | * | askatasuna quit (Ping timeout: 248 seconds) |
16:09:35 | * | askatasuna joined #nim |
16:17:18 | * | byte512 joined #nim |
16:43:13 | derlafff | guys, how can I allocate arpreq C struct and get ptr of it? |
16:43:23 | derlafff | it's in net/if_arp.h |
16:44:28 | * | Jesin quit (Ping timeout: 250 seconds) |
16:46:26 | * | yglukhov_ joined #nim |
16:48:25 | * | yglukhov_ quit (Read error: Connection reset by peer) |
16:48:59 | * | yglukhov_ joined #nim |
16:49:11 | * | Jesin joined #nim |
16:49:30 | * | yglukhov quit (Ping timeout: 258 seconds) |
16:50:56 | * | yglukhov_ quit (Read error: Connection reset by peer) |
16:51:03 | * | yglukhov joined #nim |
16:54:35 | * | Andris_zbx quit (Remote host closed the connection) |
16:55:25 | * | yglukhov quit (Ping timeout: 260 seconds) |
17:05:21 | * | jholland__ joined #nim |
17:05:42 | * | jholland__ quit (Client Quit) |
17:18:04 | * | space-wizard joined #nim |
17:21:37 | * | space-wizard quit (Client Quit) |
17:35:29 | * | Arrrr quit (Quit: WeeChat 1.5) |
17:36:21 | * | Matthias247 joined #nim |
17:44:36 | * | yglukhov joined #nim |
17:49:31 | * | yglukhov quit (Ping timeout: 268 seconds) |
17:53:35 | * | abeaumont quit (Remote host closed the connection) |
18:02:16 | * | Trustable joined #nim |
18:22:57 | * | Jesin quit (Quit: Leaving) |
18:23:02 | * | brson joined #nim |
18:25:12 | * | Jesin joined #nim |
18:37:57 | dom96 | hey guys, how are things? |
18:38:53 | Xe | are there any needs for a nim engineer in the US / remote? |
18:44:56 | * | yglukhov joined #nim |
18:46:23 | * | byte512 quit (Ping timeout: 246 seconds) |
18:54:01 | * | Trustable quit (Remote host closed the connection) |
18:58:36 | FromGitter | <Varriount> @Xe Howso? |
18:59:25 | Xe | Varriount: as in someone who needs another person to perform nim coding in exchange for fiat currency |
19:02:24 | * | yglukhov quit (Remote host closed the connection) |
19:02:39 | * | yglukhov joined #nim |
19:10:14 | dom96 | There are a few companies/people using Nim at work (some are in this channel). I'm not sure whether they are looking for Nim engineers, if they are then hopefully they will get in touch with you when they see your message :) |
19:11:01 | dom96 | So somebody posted this in crystal's channel: http://www.timqian.com/star-history/#crystal-lang/crystal&nim-lang/Nim |
19:11:13 | dom96 | I think we need to improve our marketing game |
19:11:34 | dom96 | Maybe it's time to advertise Nim as a better Python? |
19:14:39 | FromGitter | <Varriount> @dom96 Possibly. Just be aware that, as far as the Python community is concerned, performance isn't usually paramount. |
19:14:59 | FromGitter | <Varriount> And in any case, various tools (Cython, PyPy) exist which already speed up things. |
19:15:04 | dom96 | Varriount: Is the Ruby community different in this respect? |
19:15:39 | FromGitter | <Varriount> @dom96 As far as I know, there aren't nearly as many Ruby VM implementations. |
19:17:12 | dom96 | The amount of stargazers probably doesn't mean much anyway. |
19:18:13 | FromGitter | <Varriount> @dom96 The best thing that could happen to Nim (in terms of marketing) would be for it to be 'adopted' by a well-known (or even moderately large) company/business. |
19:18:20 | dom96 | Varriount: true |
19:18:36 | FromGitter | <Varriount> See: Google and Go, Apple and Swift, Mozilla and Rust |
19:18:49 | dom96 | Varriount: what are you up to these days? Still studying? |
19:19:10 | FromGitter | <Varriount> I'm both a full-time student and full-time programmer. |
19:20:22 | dom96 | what does that mean? |
19:20:55 | FromGitter | <Varriount> I take 12 credit hours worth of classes each semester, and have a full-time position as a junior developer at a local company. |
19:23:30 | dom96 | Does that mean you work 8 hours a day Monday to Friday? How can you do that and be a full-time student as well? |
19:27:53 | * | yglukhov quit (Remote host closed the connection) |
19:29:09 | FromGitter | <Varriount> I work 6 hours every day, including saturday and sunday. |
19:31:13 | dom96 | Damn. That sounds rough. |
19:31:38 | FromGitter | <Varriount> Honestly, I don't know if I'll be able to keep up at this pace. But I'll do the best I can. |
19:32:17 | FromGitter | <Varriount> It helps that I know most of the CS curriculum already. |
19:35:12 | renesac_ | ugh, I stumbled uppon a codegen error... gcc failed with undeclared variable |
19:35:30 | renesac_ | hello dom96 |
19:35:39 | FromGitter | <Varriount> @renesac_ Ouch. Those are always tricky |
19:36:02 | renesac_ | and varriount |
19:36:05 | dom96 | hey renesac_ |
19:36:11 | dom96 | create an issue on github |
19:37:01 | renesac_ | if I can make a minimal example... because I'm not ready to share all my project |
19:38:39 | * | yglukhov joined #nim |
19:39:45 | * | space-wizard joined #nim |
19:41:39 | dom96 | renesac_: sure, in some cases it might even be helpful if you report just the error that you got. |
19:42:02 | dom96 | Also, you could probably send your project privately to Araq, if you would be alright with that. |
19:44:51 | derlafff | ур |
19:46:30 | * | nsf quit (Quit: WeeChat 1.6) |
19:51:28 | * | Calinou quit (Remote host closed the connection) |
19:59:16 | * | Calinou joined #nim |
20:19:54 | renesac_ | yay, finally got a minimal example |
20:37:58 | * | chemist69 quit (Ping timeout: 258 seconds) |
20:42:35 | * | chemist69 joined #nim |
20:45:14 | * | nsf joined #nim |
20:45:43 | renesac_ | done: https://github.com/nim-lang/Nim/issues/5132 |
20:45:54 | renesac_ | now I will think if I can forgo that global pragma |
20:46:01 | renesac_ | to workaround it for now |
20:47:01 | renesac_ | (it took so long because I initially thought that it had to do with my use of concepts) |
20:48:31 | * | pregressive quit (Remote host closed the connection) |
20:49:07 | * | pregressive joined #nim |
20:51:27 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
20:51:57 | * | rokups quit (Quit: Connection closed for inactivity) |
20:53:41 | * | pregressive quit (Ping timeout: 258 seconds) |
20:57:58 | dom96 | renesac_: thanks for taking the time to get a minimal test case :) |
21:05:37 | * | Pisuke joined #nim |
21:06:37 | * | MyMind quit (Ping timeout: 265 seconds) |
21:29:57 | * | EastByte_ is now known as EastByte |
21:32:02 | * | trinarybee joined #nim |
21:33:40 | * | pregressive joined #nim |
21:37:59 | * | irrequietus joined #nim |
21:44:27 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:04:58 | * | bjz joined #nim |
22:10:39 | * | nsf quit (Quit: WeeChat 1.6) |
22:17:15 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
23:01:01 | * | irrequietus quit () |
23:04:57 | * | Matthias247 quit (Quit: Matthias247) |
23:05:55 | * | chemist69 quit (Ping timeout: 258 seconds) |
23:08:51 | federico3 | that timquian chart :( |
23:15:29 | trinarybee | people care enough to plot guthub stars on a graph?! I guess I'll star it, then |
23:17:10 | * | yglukhov quit (Remote host closed the connection) |
23:22:21 | * | ftsf_ joined #nim |
23:32:47 | * | chemist69 joined #nim |
23:34:13 | * | abeaumont joined #nim |