00:05:27 | * | thomasross quit (Remote host closed the connection) |
00:06:53 | * | thomasross joined #nim |
00:17:28 | * | yglukhov_ quit (Remote host closed the connection) |
00:18:02 | * | yglukhov[i] joined #nim |
00:21:03 | * | anthonyf0 joined #nim |
00:22:56 | * | anthonyf0 quit (Remote host closed the connection) |
00:23:00 | * | yglukhov[i] quit (Ping timeout: 268 seconds) |
00:33:53 | * | EastByte quit (Ping timeout: 255 seconds) |
00:43:15 | * | APLU15 joined #nim |
00:46:09 | * | Jesin quit (Read error: Connection reset by peer) |
00:46:58 | * | APLU15 quit (Remote host closed the connection) |
00:47:38 | * | EastByte joined #nim |
00:51:12 | * | Jesin joined #nim |
01:01:54 | * | RoBz28 joined #nim |
01:03:23 | * | RoBz28 quit (Remote host closed the connection) |
01:05:12 | * | Xe joined #nim |
01:08:52 | * | Bkid9 joined #nim |
01:10:06 | * | Bkid9 quit (Remote host closed the connection) |
01:13:01 | * | genera joined #nim |
01:17:38 | * | Caraway10 joined #nim |
01:18:47 | * | Caraway10 quit (Remote host closed the connection) |
01:19:44 | * | genera quit (Ping timeout: 268 seconds) |
01:36:30 | * | TroniQ89 joined #nim |
01:37:09 | * | TroniQ89 quit (Killed (Sigyn (Spam is off topic on freenode.))) |
01:48:19 | * | craigger quit (Quit: bye) |
01:49:36 | * | Tanger joined #nim |
01:50:44 | * | craigger joined #nim |
02:04:22 | * | nug700 joined #nim |
02:04:48 | * | nug700 quit (Killed (Sigyn (Spam is off topic on freenode.))) |
02:18:29 | * | abm quit (Ping timeout: 260 seconds) |
02:18:44 | * | yglukhov[i] joined #nim |
02:23:57 | * | yglukhov[i] quit (Ping timeout: 240 seconds) |
02:43:48 | * | dddddd quit (Remote host closed the connection) |
03:22:59 | * | ksft23 joined #nim |
03:24:31 | * | ksft23 quit (Remote host closed the connection) |
03:38:04 | * | endragor joined #nim |
04:04:34 | * | CeBe5 joined #nim |
04:09:36 | * | CeBe5 quit (Ping timeout: 256 seconds) |
04:28:46 | * | nsf joined #nim |
04:35:47 | FromDiscord | <treeform> i report bugs I don't fix them, does this mean I delay nim 1.0? |
04:39:09 | leorize | treeform: that means you're helping Nim to have less bugs before 1.0 :) |
04:48:30 | * | yglukhov[i] joined #nim |
04:51:33 | * | miran joined #nim |
04:52:35 | * | yglukhov[i] quit (Ping timeout: 240 seconds) |
05:35:02 | * | BlueShark25 joined #nim |
05:36:13 | * | BlueShark25 quit (Remote host closed the connection) |
05:36:55 | * | NimBot joined #nim |
06:06:36 | * | pwillard6 joined #nim |
06:07:12 | * | pwillard6 quit (Remote host closed the connection) |
06:11:50 | * | yglukhov[i] joined #nim |
06:36:19 | * | Vladar joined #nim |
06:52:42 | * | Kirito joined #nim |
06:54:10 | * | NamPNQ joined #nim |
06:54:33 | * | Kirito quit (Remote host closed the connection) |
06:54:48 | * | hipp joined #nim |
06:56:35 | * | hipp quit (Read error: Connection reset by peer) |
07:02:19 | Araq | zacharycarter[m], busy day, |
07:02:54 | Araq | you can use 'if n.info ?? "temp.nim": echo typeToString(n.typ)' to get conditional output |
07:12:57 | * | miran quit (Ping timeout: 240 seconds) |
07:14:50 | * | dave24 quit (Ping timeout: 255 seconds) |
07:18:28 | * | dave24 joined #nim |
07:27:47 | * | PMunch joined #nim |
07:56:06 | federico3 | useful for karax? https://blog.acolyer.org/2018/08/07/bleak-automatically-debugging-memory-leaks-in-web-applications/ |
08:03:44 | * | gmpreussner_ joined #nim |
08:04:35 | * | gmpreussner quit (Ping timeout: 265 seconds) |
08:43:38 | * | def- quit (Quit: -) |
08:46:11 | Xe | h |
08:46:22 | * | def- joined #nim |
09:04:22 | * | abm joined #nim |
09:12:27 | * | dddddd joined #nim |
09:24:10 | * | Vladar quit (Remote host closed the connection) |
09:24:15 | * | NamPNQ quit (Remote host closed the connection) |
09:29:31 | * | Vladar joined #nim |
09:36:35 | * | banzaikitten13 joined #nim |
09:37:37 | * | banzaikitten13 quit (Remote host closed the connection) |
09:40:27 | * | CcxWrk quit (Ping timeout: 240 seconds) |
09:40:34 | * | girvo quit (Ping timeout: 264 seconds) |
09:41:10 | * | girvo joined #nim |
09:45:46 | * | CcxWrk joined #nim |
09:49:59 | * | CcxWrk quit (Excess Flood) |
09:51:45 | * | CcxWrk joined #nim |
10:25:24 | leorize | does nim support some kind of system-wide nimblepath? |
10:27:16 | Araq | federico3, seems useful. |
10:32:33 | PMunch | leorize, what do you mean? |
10:33:36 | leorize | PMunch: I mean a nimble directory that's shared by all users |
10:34:21 | PMunch | Aah |
10:34:25 | PMunch | Hmm, not sure |
10:45:22 | dom96 | leorize: yes: https://github.com/nim-lang/Nim/blob/devel/config/nim.cfg#L49 |
10:45:26 | dom96 | Nimble doesn't support it yet |
11:01:15 | * | OwenBarfield joined #nim |
11:02:37 | * | OwenBarfield quit (Read error: Connection reset by peer) |
11:12:00 | * | Kraps22 joined #nim |
11:12:20 | * | Kraps22 quit (Remote host closed the connection) |
11:24:03 | federico3 | dom96: it doesn't? |
11:24:27 | dom96 | indeed |
11:37:02 | * | yar2 joined #nim |
11:37:14 | * | yar2 quit (Remote host closed the connection) |
11:42:21 | * | DarkArctic joined #nim |
11:44:43 | * | ng0 joined #nim |
11:45:12 | * | DarkArctic_ joined #nim |
11:48:44 | * | DarkArctic quit (Ping timeout: 256 seconds) |
12:01:12 | * | yglukhov[i] quit (Remote host closed the connection) |
12:03:51 | * | yglukhov[i] joined #nim |
12:28:54 | * | FrozenFox20 joined #nim |
12:29:38 | * | FrozenFox20 quit (Remote host closed the connection) |
12:29:42 | * | DarkArctic_ quit (Quit: Leaving) |
12:30:03 | * | DarkArctic joined #nim |
12:37:13 | * | wildlander joined #nim |
12:42:41 | * | DarkArctic_ joined #nim |
12:46:24 | * | DarkArctic quit (Ping timeout: 256 seconds) |
12:46:55 | * | DarkArctic__ joined #nim |
12:47:28 | * | PMunch_ joined #nim |
12:50:45 | * | DarkArctic_ quit (Read error: Connection reset by peer) |
12:50:45 | * | PMunch quit (Remote host closed the connection) |
12:50:46 | * | mwbrown quit (Ping timeout: 244 seconds) |
12:50:46 | * | DarkArctic__ is now known as 21WAAS193 |
12:50:46 | * | DarkArctic__ joined #nim |
12:50:47 | * | abeaumont quit (Ping timeout: 244 seconds) |
12:50:47 | * | stefanos82 quit (Ping timeout: 244 seconds) |
12:50:47 | * | jxy quit (Ping timeout: 244 seconds) |
12:51:51 | * | 21WAAS193 quit (Ping timeout: 240 seconds) |
12:52:09 | * | stefanos82 joined #nim |
12:54:16 | * | mwbrown joined #nim |
12:54:19 | * | dave24 quit (Ping timeout: 260 seconds) |
12:55:31 | * | dave24 joined #nim |
12:56:35 | * | jxy joined #nim |
13:00:56 | * | PMunch_ quit (Quit: Leaving) |
13:01:06 | * | PMunch joined #nim |
13:02:56 | * | Vladar quit (Remote host closed the connection) |
13:04:23 | * | luisoliv joined #nim |
13:06:53 | * | DarkArctic__ quit (Quit: Leaving) |
13:07:10 | * | DarkArctic joined #nim |
13:07:46 | * | Vladar joined #nim |
13:09:21 | * | luisoliv quit (Ping timeout: 240 seconds) |
13:23:58 | * | endragor quit (Remote host closed the connection) |
13:30:52 | * | Grimnir16 joined #nim |
13:35:57 | * | Grimnir16 quit (Ping timeout: 240 seconds) |
13:40:24 | * | BitPuffin joined #nim |
13:41:30 | * | nsf quit (Quit: WeeChat 2.2) |
13:41:52 | * | miran joined #nim |
13:42:17 | * | endragor joined #nim |
13:47:10 | * | endragor quit (Ping timeout: 256 seconds) |
13:49:43 | * | ^v joined #nim |
13:50:50 | * | ^v quit (Remote host closed the connection) |
13:58:20 | * | arecaceae quit (Remote host closed the connection) |
13:58:38 | * | arecaceae joined #nim |
14:01:09 | * | abeaumont joined #nim |
14:01:55 | * | noonien joined #nim |
14:04:05 | * | ng0 quit (Remote host closed the connection) |
14:04:34 | * | ng0 joined #nim |
14:30:02 | * | stefanos82 quit (Quit: Quitting for now...) |
14:30:30 | * | stefanos82 joined #nim |
14:32:43 | * | PMunch quit (Quit: Leaving) |
14:36:29 | dom96 | :/ |
14:36:32 | dom96 | oprypin: |
14:37:52 | * | shashlick quit (Remote host closed the connection) |
14:38:16 | * | shashlick joined #nim |
14:40:51 | * | ng0 quit (Quit: Alexa, when is the end of world?) |
14:41:19 | * | ng0 joined #nim |
14:45:02 | * | Vladar quit (Remote host closed the connection) |
14:54:52 | * | epictek[m] quit (Quit: removing from IRC because user idle on matrix for 30+ days) |
14:55:57 | * | bleepy27 joined #nim |
14:57:18 | * | bleepy27 quit (Remote host closed the connection) |
15:05:41 | * | rayman22201 joined #nim |
15:08:15 | dom96 | Big news: https://nim-lang.org/blog/2018/08/07/nim-partners-with-status.html 🎉 |
15:09:56 | miran | great news! congrats!! |
15:10:21 | * | PMunch joined #nim |
15:11:55 | * | nope__ joined #nim |
15:12:12 | * | nope__ quit (Killed (Sigyn (Spam is off topic on freenode.))) |
15:12:45 | miran | btw dom96, what was the conclusion - what is the best way to donate to nim? (the least amount of fees) |
15:13:30 | dom96 | Depends on where your bank account lives. |
15:13:52 | dom96 | If EU then Araq can probably give you his account number for a transfer |
15:14:13 | miran | it lives in croatia, so it is EU but we don't use euro. |
15:16:14 | miran | i see there are some options to donate X-per-month, but i would like to make a one-time donation, if that makes any difference |
15:16:31 | Araq | one-time donations are fine too |
15:17:27 | rayman22201 | awesome news about status! you guys will still take my monthly PayPal donation right? |
15:18:20 | rayman22201 | also, the gitter bridge is down. just FYI. |
15:18:38 | Araq | of course, we still collect money like we used to. |
15:19:05 | rayman22201 | cool |
15:19:57 | dom96 | Status is effectively a (big) contributor now |
15:21:03 | rayman22201 | awesome |
15:21:10 | * | rayman22201 quit (Quit: -a- IRC for Android 2.1.40) |
15:21:47 | * | rayman22201 joined #nim |
15:28:15 | * | GULPF joined #nim |
15:29:30 | * | Vladar joined #nim |
15:37:23 | PMunch | Great news with Status! |
15:40:56 | * | nsf joined #nim |
15:50:30 | * | rayman256 joined #nim |
15:51:35 | stefanos82 | this is incredible news! well done Nim team! ^_^ |
15:52:18 | stefanos82 | how about HN? |
15:52:24 | * | rayman22201 quit (Ping timeout: 256 seconds) |
15:59:54 | federico3 | "We will now be able to stay focused ..." is not very clear: how many of the existing core contributors are going to work full-time on Nim? |
15:59:56 | * | rayman22201 joined #nim |
16:02:35 | * | rayman256 quit (Ping timeout: 240 seconds) |
16:05:54 | * | rayman292 joined #nim |
16:07:54 | * | stisa[m] joined #nim |
16:08:08 | * | rayman22201 quit (Ping timeout: 256 seconds) |
16:14:03 | * | GULPF quit (Quit: Page closed) |
16:15:56 | * | GULPF joined #nim |
16:20:33 | euantor | Awesome news, nice one! |
16:21:20 | * | Vladar quit (Remote host closed the connection) |
16:27:35 | * | rayman22201 joined #nim |
16:29:42 | * | krux02 joined #nim |
16:30:12 | krux02 | Araq: I have a question regarding tsize.nim |
16:30:33 | * | rayman292 quit (Ping timeout: 268 seconds) |
16:30:45 | * | Vladar joined #nim |
16:31:12 | krux02 | when you look at the current implementation of that test, it checks that the size of TMyRecord is 40 bytes, even though TMyRecord uses both int and float as members. |
16:31:57 | krux02 | int has a size that depends on the target, meaning the size of TMyRecord depends on the target |
16:32:00 | krux02 | that test is wrong |
16:34:12 | Araq | krux02 quite possible |
16:38:36 | * | Trustable joined #nim |
16:41:35 | * | dorelix quit (Ping timeout: 240 seconds) |
16:53:56 | * | dorelix joined #nim |
16:58:06 | * | hpt joined #nim |
16:59:44 | * | hpt quit (Remote host closed the connection) |
17:09:44 | dom96 | federico3: AFAIK it'll be Araq + two (or so) people he hires |
17:14:28 | krux02 | I just compiled with nim_temp and I can't find the generated C file in the nimcache folder |
17:14:36 | krux02 | Is that on purpose, or am I just blind |
17:20:47 | krux02 | Araq: I am in the tests folder, and I can't find the generated c file for the test |
17:20:54 | krux02 | I compile on the command line with nim test |
17:23:17 | leorize | krux02: they're in the nimcache at the top level of the source |
17:23:22 | leorize | nimcache/tests/... |
17:24:22 | krux02 | I found them, they are in /tests/misc/tests/misc/nimcache/compiler_tsizeof.c (WTF) |
17:26:28 | stefanos82 | dom96: the most logical thing Araq would or should do is to look the most active contributors on github and if they are interested, he will hire them. |
17:27:21 | krux02 | stefanos82, most active is not necessarily the most important thing. |
17:27:58 | stefanos82 | krux02: it can be if their contributions have to do with bug fixes and language implementations |
17:28:47 | krux02 | stefanos82, All I want to say is that "most active" is not necessarily the best metric. |
17:28:57 | * | echotangoecho joined #nim |
17:29:11 | krux02 | I have seen people very active and interested with PR to Nim. |
17:29:14 | stefanos82 | I didn't make it clear that "the most active contributor" will consist of multiple parameters |
17:30:26 | krux02 | The problem is, some people contribute and want something in the standard library, because stuff in the standardlibrary is magically maintained and they don't need to do it anymore. |
17:31:12 | krux02 | some people also just want to add a ton of features that do not match the idea of core Nim. |
17:31:25 | * | FromGitter joined #nim |
17:32:51 | * | SebastianFlyte24 joined #nim |
17:33:26 | oprypin | Sorry, people, the Gitter<->IRC bridge was down today :( |
17:33:54 | stefanos82 | krux02: personally, what I wanted from a language is to have a solid core with a huge set of standard modules. |
17:36:39 | krux02 | stefanos82, How do you think small development team and huge set of standard modules works together? |
17:37:21 | * | jxy quit (Quit: leaving) |
17:37:45 | krux02 | I believe in rock solid but small core and standard library and package manager so that the community is enabled to deliver this huge set of other features. |
17:38:21 | * | SebastianFlyte24 quit (Ping timeout: 240 seconds) |
17:38:53 | FromGitter | <brentp> i've been building some nim command-line apps using holy build-box (centos 5). when I update to nim 0.18.0 from 0.17.2, I get an error about missing `sys/eventfd.h`. has anyone else encountered and solved this? or have any ideas about fixing it? |
17:40:39 | krux02 | sorry, no idea |
17:40:51 | * | rayman275 joined #nim |
17:41:32 | FromGitter | <kaushalmodi> @brentp I use this script to build on RHEL 6.8 (which I believe would be close to centOS 5?): https://ptpb.pw/w34h/bash |
17:42:06 | FromGitter | <kaushalmodi> You should need to update only the `nim_install_dir` var on line 104 |
17:42:24 | FromGitter | <kayabaNerve> Nimble manages dependencies for libraries you install. Is there a way to manage dependencies for apps? NodeJS allows you to use the same package.json, but Nimble will install the app as a library when it gets the dependencies no matter what. |
17:43:09 | FromGitter | <kayabaNerve> Or for now do I just have to include a README covering the versions/saying to run `numble install`? |
17:43:17 | FromGitter | <kaushalmodi> @brentp To run the script: clone the Nim repo, cd to it, copy the script in that dir, `./mybuild.sh` (to install Nim devel) |
17:43:56 | FromGitter | <brentp> @kaushalmodi I have a script that works to build, just not on CentOS 5 with nim 0.18.0 or newer. |
17:43:58 | * | rayman22201 quit (Ping timeout: 244 seconds) |
17:44:41 | * | jxy joined #nim |
17:50:29 | FromGitter | <Varriount> @brentp I dare you to target RHEL 6 >:D |
17:52:45 | FromGitter | <kayabaNerve> @Varriount Ubuntu 8 or you don't support legacy computers at all. |
17:53:48 | stefanos82 | krux02: that's what I meant. I don't like how C++ and Python are being expanded nowadays. They have become very bloated, feature-wise speaking |
17:54:24 | stefanos82 | whereas with Nim, I have a feeling I can express myself better thanks to its metaprogramming with macros |
17:54:38 | FromGitter | <kayabaNerve> And kernel 2.2 ofc. |
17:55:33 | krux02 | Araq: where is the size of int32 int64 initially set? |
17:56:01 | krux02 | I implemented logic the checks the target to set the alignment correctly. |
17:56:07 | krux02 | that logic is never triggered |
17:56:21 | krux02 | because that that time the size is already set. |
17:58:21 | FromGitter | <kayabaNerve> *2.6 |
17:58:26 | krux02 | I found it |
17:58:47 | * | echotangoecho quit (Quit: Lost terminal) |
17:59:14 | FromGitter | <kayabaNerve> I'm not an archaic monster; just a reasonable LTS person. |
17:59:39 | * | rockcavera quit (Remote host closed the connection) |
18:02:57 | * | cryptocat1094 joined #nim |
18:05:29 | zacharycarter[m] | Having trouble calling - 'if n.info ?? "temp.nim": echo typeToString(n.typ)' |
18:06:07 | zacharycarter[m] | I get an error about incorrect parameters, it wants a ConfigRef as the first argument passed |
18:06:27 | zacharycarter[m] | but I'm not sure how to do - |
18:06:27 | zacharycarter[m] | `if c.graph.config ?? n.info, "test.nim":` |
18:07:32 | krux02 | zacharycarter[m], what is ?? |
18:08:49 | krux02 | zacharycarter[m], normally when you are in the compiler you are in an environment where a lot of config ref is passed to fucntion, |
18:09:15 | krux02 | just look up and down a bit and see if there is somedthing like foobar(n.config, ...) |
18:09:21 | krux02 | for foobar(conf, ...) |
18:09:30 | krux02 | when that is the case use that config ref |
18:14:59 | * | TheLemonMan joined #nim |
18:15:30 | TheLemonMan | zacharycarter[m], use `??`(arg1, arg2, arg3) |
18:21:25 | * | kungtotte joined #nim |
18:24:17 | zacharycarter[m] | Thanks TheLemonMan and krux02 |
18:24:23 | krux02 | kayabaNerve: I was once on LTS, too, I hated upgrades. Then I switched to Arch. |
18:26:15 | krux02 | I am a different person Now. Being on edge is simple now. |
18:26:21 | krux02 | anyway I have to go, bye |
18:27:28 | * | krux02 quit (Remote host closed the connection) |
18:28:21 | FromGitter | <kayabaNerve> I dislike forced upgrades |
18:28:42 | FromGitter | <kayabaNerve> I generally get latest on my Desktop, but all my servers are LTS |
18:29:32 | FromGitter | <kayabaNerve> And Ubuntu Mate FTW |
18:32:51 | * | rayman275 quit (Ping timeout: 240 seconds) |
18:36:33 | * | timotheecour joined #nim |
18:36:58 | * | rayman22201 joined #nim |
18:37:57 | * | kungtotte quit (Quit: leaving) |
18:38:59 | FromGitter | <timotheecour> I'm trying to install nim from source on windows to test a PR that's failing on windows; what's the easiest way to get gcc on windows? do i have to use cygwin? instructions here (https://github.com/nim-lang/Nim) mention gcc but not how to get it |
18:39:57 | * | stefanos82 quit (Quit: Quitting for now...) |
18:41:03 | FromDiscord | <treeform> `startProcess("foo", args = ["-c=", line])` |
18:41:03 | FromDiscord | <treeform> the problem is that `-c=` gets a space: |
18:41:03 | FromDiscord | <treeform> `-c= "foo"` |
18:41:03 | FromDiscord | <treeform> nim's parseopt2 does not parse spaces items. |
18:41:04 | FromDiscord | <treeform> How do you guys call processes compiled with nim from nim with arguments? |
18:43:07 | FromGitter | <kungtotte> @timotheecour I think the fastest way to get gcc is http://mingw.org/ but the fastest way to get *Nim* is https://github.com/dom96/choosenim |
18:45:30 | * | hogeo quit (Quit: Page closed) |
18:51:56 | * | GULPF quit (Quit: Page closed) |
18:59:24 | Araq | run finish.exe |
18:59:31 | Araq | it installs GCC for you. |
19:03:37 | TheLemonMan | zacharycarter[m], need some pointers for that TLS issue? |
19:04:46 | * | shashlick quit (Remote host closed the connection) |
19:05:06 | * | shashlick joined #nim |
19:05:38 | TheLemonMan | Araq, I have a fix for that closure issue but I have no idea why it works heh |
19:06:52 | FromGitter | <kayabaNerve> TDM GCC FTW |
19:08:35 | * | miran quit (Ping timeout: 240 seconds) |
19:11:01 | * | rockcavera joined #nim |
19:12:23 | Araq | TheLemonMan, are the tests green? |
19:16:44 | TheLemonMan | Araq, yes, but I'm afraid it's gonna break down sooner or later if nobody knows why the code works :) |
19:19:10 | Araq | create a PR please |
19:25:26 | * | dgwana joined #nim |
19:27:20 | * | Jesin quit (Remote host closed the connection) |
19:28:21 | TheLemonMan | done |
19:30:25 | Araq | one problem to keep in mind is that closure iterator creation can only be done once the environment has been computed completely, otherwise the codegen might produce incomplete struct definitions and GC tracing procs |
19:31:04 | Araq | and c.tooEarly tried to do something about that problem |
19:31:20 | Araq | but the closure iteration tranformation has been rewritten since then |
19:33:05 | FromGitter | <tim-st> @dom96 I created a forum account ~3 weeks ago now I tried the confirmation link on my mobile mail app but it doesnt seem to work :\ |
19:33:30 | dom96 | What's your username? |
19:33:39 | * | Jesin joined #nim |
19:33:52 | FromGitter | <tim-st> "Tim" (not "tim" who exists too^^) |
19:34:00 | FromGitter | <tim-st> (I found out later) |
19:34:16 | Araq | huh I doubt that's allowed, isn't this comparison case-insensitive? |
19:34:25 | FromGitter | <tim-st> nope |
19:34:34 | FromGitter | <tim-st> but the old user is from 2015 |
19:34:44 | dom96 | lol what |
19:34:47 | dom96 | This should be disallowed |
19:35:01 | Araq | Sqlite usually does some case insensitive comparisons by default |
19:35:12 | FromGitter | <tim-st> should I pick an other name? |
19:35:19 | dom96 | yeah, please create a new account |
19:35:33 | FromGitter | <tim-st> ok, do you delete the account? |
19:35:43 | dom96 | https://github.com/nim-lang/nimforum/blob/master/src/forum.nim#L609 |
19:36:17 | dom96 | So SQLite isn't performing a case insensitive check |
19:36:42 | Araq | surprising |
19:36:53 | FromGitter | <Varriount> Isn't that what you want? |
19:37:16 | Araq | https://stackoverflow.com/questions/973541/how-to-set-sqlite3-to-be-case-insensitive-when-string-comparing |
19:38:08 | * | Trustable quit (Remote host closed the connection) |
19:40:34 | dom96 | bah, that's annoying |
19:40:43 | Araq | indeed |
19:40:51 | dom96 | I guess I'll just use toLower |
19:41:04 | dom96 | But that sucks :( |
19:41:11 | FromGitter | <tim-st> no `-` allowed in name? |
19:41:21 | dom96 | indeed |
19:41:59 | Araq | dom96, why not add " COLLATE NOCASE" to the query? |
19:42:09 | dom96 | Yeah... I'd have to test this |
19:43:23 | Araq | nah, trust Stack overflow :P |
19:44:39 | FromGitter | <kayabaNerve> Isn't there a program which will automatically fix program errors with the top SO answer? |
19:44:40 | FromGitter | <tim-st> I get a blank page on my mobile phone, is javascript involved in confirmation? |
19:45:48 | Araq | nah, you only need a browser that supports wasm |
19:45:56 | * | nsf quit (Quit: WeeChat 2.2) |
19:46:10 | Araq | sorry, just kidding |
19:46:15 | FromGitter | <tim-st> I have android firefox and android chrome |
19:47:11 | FromGitter | <kayabaNerve> I found this but I can't find what I'm referring to https://github.com/MilesCranmer/gso |
19:47:21 | FromGitter | <kayabaNerve> That's useful. What I'm thinking of is roulette... |
19:47:35 | * | Vladar quit (Remote host closed the connection) |
19:51:33 | FromGitter | <timotheecour> @kungtotte , @araq thanks for the answers on gcc; will try mingw first since from my understanding finish.exe tries to installs gcc from mingw; we probably should mention these in README>md |
19:53:20 | TheLemonMan | yeah, the closure iterator transform has a lot of edge cases |
19:53:40 | FromGitter | <tim-st> ok, my guess was correct, the activation only works with javascript on |
19:54:53 | Araq | readme.txt tells you to read install.txt which has "Installation on Windows" which tells you how to install it |
19:54:56 | TheLemonMan | Araq, wrt #8410 I stopped changing the Windows types because I don't develop on Windows, I've relaxed the checks in #8095 so that those adjustments aren't necessary |
19:55:46 | Araq | TheLemonMan, yeah I need to review it, what's the link? |
19:56:15 | TheLemonMan | Araq, https://github.com/nim-lang/Nim/pull/8095 |
19:58:41 | FromGitter | <timotheecour> @araq gotcha. but these (install.txt, readme.txt etc) are not mentioned in readme.md ; PR accepted to clean this a bit and make doc more DRY? |
19:59:42 | Araq | dunno. the problem is that readme.md is for github users and github users are thought to use 'git' for building the compiler from source |
20:00:45 | Araq | whereas all the others got to https://nim-lang.org/install.html |
20:00:52 | Araq | and find appropriate instructions too |
20:00:56 | FromGitter | <timotheecour> having both readme.txt and readme.md with partially overallping info is confusing; how about: option 1: rm readme.txt; (I mean, readme.md are super common those days); option 2: make readme.txt an file with just 1 line: see readme.md |
20:01:23 | Araq | readme.txt is for the double-click Windows losers though |
20:01:30 | Araq | they can't open a readme.md |
20:02:22 | Araq | but readme.md can link to https://nim-lang.org/install.html for a non-source-based installation |
20:08:37 | dom96 | oooh https://twitter.com/TheRegister/status/1026908664962068480 |
20:08:58 | * | krux02 joined #nim |
20:10:12 | * | dorelix quit (Quit: Leaving) |
20:10:41 | krux02 | Araq: I have seen how the alignment of an uint/float is initialized. But the alignment also needs to be set for enums where the size is manually set. |
20:10:51 | krux02 | How can I do that without copy pastin the code? |
20:11:02 | krux02 | I haven't found a nice way. |
20:11:32 | dom96 | We're in The Register :O |
20:12:30 | krux02 | the most normalized way I can think of is to put a field in the ConfigRef that says the int64 float64 align, next to intsize and floatsize. |
20:12:35 | krux02 | dom96, what register? |
20:12:44 | TheLemonMan | RAX |
20:12:58 | dom96 | krux02: https://twitter.com/TheRegister/status/1026908664962068480 |
20:23:38 | Araq | krux02, enums always have an alignment that's equal to their size |
20:24:00 | krux02 | Araq: enums compile to integer types |
20:24:08 | krux02 | uint32 uint64 |
20:24:17 | krux02 | therefore it aligns to that type alignment |
20:24:40 | Araq | ...so? |
20:25:20 | krux02 | it means it aligns to whatever the int64/int32 etc type aligns |
20:25:27 | krux02 | that is not necessarily itself |
20:28:26 | Araq | no? I thought only float64 is affected by this nonsense |
20:28:52 | krux02 | nope |
20:29:02 | krux02 | Araq: https://stackoverflow.com/questions/611123/long-long-alignment-problem-msvc-vs-gcc |
20:30:17 | krux02 | this nonsens is what makes the implementation of sizeof/alignof so hard |
20:31:19 | krux02 | Araq: for your understanding, the alignment padding bytes in that example are appended at the end of the struct, not before the ``long long``. |
20:33:43 | * | paperManu joined #nim |
20:36:32 | Araq | krux02, well just use a template to avoid the copy&paste |
20:37:55 | krux02 | I don't need a template to avoid a copy paste, the problem is, the implementation is not visible via imports because it was an implementation detail and to be honest I like it keep it as an implementation detail. |
20:38:24 | krux02 | I just don't know where to put the logic, so that both integers get the right alignment value for initialization and enums. |
20:38:45 | krux02 | the problem is that the size for enums is set via a pragma. |
20:38:55 | Araq | you write a new module and import it in semtypes.nim? |
20:38:58 | krux02 | it is not that semtypes knows already the size of the enum |
20:39:21 | krux02 | the size of the enum is set in pragmas.nim |
20:40:44 | Araq | so import it in pragmas.nim. I dunno, create a PR, I will tell you how to refactor it |
20:40:49 | Araq | if necessary. |
20:42:07 | * | xet7 joined #nim |
20:42:13 | krux02 | is it ok if it will just be part of my bigger sizeof-alignof branch? |
20:42:24 | krux02 | I recently resolved all merged conflics with it. |
20:42:52 | krux02 | it is almost done, I think this is the last tiny but that still needs to be implemented. |
20:44:05 | Araq | that branch was completely wrong for OSX |
20:44:33 | Araq | have you fixed that? .import'ed objects do not have reliable sizes. |
20:44:41 | Araq | they can and do lack fields. |
20:47:58 | FromGitter | <timotheecour> the joys of windows.... after running finish.exe stable nim runs fine, but I want to build nim from source: .\build64.bat says gcc is not found; If I edit build64.bat to "SET CC=vccexe" instead of "SET CC=gcc" it fails with "exception: The system cannot find the file spe ⏎ Requested command not found: 'cl.exe'. OS error" ; I could only find https://forum.nim-lang.org/t/2770 but it only mentions using visual |
20:47:58 | FromGitter | ... studio, not mingw (installed via finish.exe)... happy to clarify that in docs in a PR if someone helps |
20:48:51 | Araq | finish.exe offers to add gcc to your path |
20:51:14 | FromGitter | <cooldome> Hi Araq, what is the correct order of passes in your opinion. lamdalifting then transf or the opposite? |
20:52:12 | FromGitter | <timotheecour> bin/nim.exe is already in your PATH [Skipping] Found a MingW directory that is not in your PATH. \\Mac\Home\Downloads\nim-0.18.0_x64\nim-0.18.0\dist\mingw64\bin Should it be added to your PATH permanently? (y/n) => I cliked y ; but when I open a fresh new powershell window, typing gcc says: "cc : The term 'gcc' is not recognized as the name of a cmdle" |
20:52:40 | Araq | transf and then LL, LL needs to lift the temporaries introduced by iterator inlining |
20:53:54 | Araq | timotheecour: no idea, I don't use powershell, it's bad |
20:54:35 | FromGitter | <timotheecour> same on command prompt |
20:55:56 | Araq | download this https://www.rapidee.com/en/download and inspect your PATHs |
20:56:03 | * | dgwana quit (Quit: Leaving) |
20:56:16 | * | dgwana joined #nim |
20:56:41 | Araq | (yes, you can inspect these via Windows's UI too, but you don't want to do that) |
20:56:44 | * | captainkraft quit (Ping timeout: 260 seconds) |
20:57:42 | * | dgwana quit (Client Quit) |
20:57:53 | Calinou | the PATH explorer in Windows 10 isn't too bad |
20:58:01 | Calinou | it displays a list rather than a single semicolon-separated value |
20:58:01 | * | dgwana joined #nim |
20:58:21 | Calinou | https://www.rapidee.com/en/license too :( |
20:59:08 | Araq | and use "cmder.exe" as the console |
20:59:42 | Araq | makes it bearable for me, but there are plenty of other console emulators too |
20:59:54 | FromGitter | <cooldome> thanks, having fun delaying the transf to codegen stage |
21:00:05 | * | cryptocat1094 quit (Quit: later) |
21:00:20 | TheLemonMan | for some definition of "fun" heh |
21:00:29 | Araq | Calinou, PATH explorer? never heard of it |
21:00:48 | Calinou | it's in Windows 10 as of the November update (2015, that is) |
21:03:09 | * | gildarts9 joined #nim |
21:04:40 | * | xet7_ joined #nim |
21:04:42 | * | gildarts9 quit (Remote host closed the connection) |
21:06:09 | Araq | cooldome: LL can change the calling convention and influence the type checking process but this is likely a bit broken already |
21:06:40 | Araq | semcheck tries to figure out the .closure on its own already. |
21:06:40 | * | dgwana quit (Quit: Leaving) |
21:07:01 | * | dgwana joined #nim |
21:08:35 | * | xet7 quit (Ping timeout: 240 seconds) |
21:08:46 | * | xet7_ is now known as xet7 |
21:08:54 | * | xet7 quit (Client Quit) |
21:09:11 | * | xet7 joined #nim |
21:10:19 | * | dgwana quit (Client Quit) |
21:10:40 | * | dgwana joined #nim |
21:12:55 | * | dgwana_ joined #nim |
21:12:57 | * | brainproxy quit (Ping timeout: 264 seconds) |
21:14:13 | * | brainproxy joined #nim |
21:14:45 | * | timotheecour quit (Ping timeout: 252 seconds) |
21:16:34 | * | dgwana quit (Quit: Leaving) |
21:36:13 | FromGitter | <NOP0> Hi all, does nim support higher kinded types? Thanks |
21:37:55 | * | TheLemonMan quit (Quit: "It's now safe to turn off your computer.") |
21:40:21 | * | rayman22201 quit (Ping timeout: 240 seconds) |
21:40:35 | * | captainkraft joined #nim |
21:45:26 | zacharycarter[m] | NOP0: what do you mean? |
21:45:26 | zacharycarter[m] | tangent - so I'm guessing that my problem lies in: semStmtAndGenerateGenerics - if a threadvar isn't being accessed correctly? |
21:45:27 | zacharycarter[m] | at least at a high level? |
21:45:37 | zacharycarter[m] | I'm basically doing - https://gist.github.com/zacharycarter/acf73914095d062e2b98a76facd19556#file-transf-nim-L10-L12 |
21:46:25 | zacharycarter[m] | and getting back - https://gist.github.com/zacharycarter/ad1a77d52283d51a5366649948ad582f |
21:47:04 | zacharycarter[m] | with the code - https://gist.github.com/zacharycarter/e44274861f211bb2345d4fb2a1bd87a6 |
21:49:13 | * | Compu joined #nim |
21:50:27 | * | Compu quit (Remote host closed the connection) |
21:52:09 | * | rayman22201 joined #nim |
21:52:13 | zacharycarter[m] | we need a US based core Nim dev |
21:52:28 | zacharycarter[m] | I nominate Varriount 😎 |
21:52:53 | zacharycarter[m] | and I' |
21:53:54 | zacharycarter[m] | m totally assuming that this is going to be a democratic appointment 😆 |
21:58:11 | * | dgwana_ quit (Quit: Leaving) |
22:05:55 | * | PMunch quit (Quit: leaving) |
22:06:29 | FromGitter | <rayman22201> Lol. I'll vote for @Varriount. He might not want it though 😝 |
22:07:58 | zacharycarter[m] | Well our totally asinine voting process is sure to get him the role 😀 |
22:08:24 | zacharycarter[m] | seriously though - I think Nim would benefit from a core dev that is based somewhere in the US |
22:08:35 | FromGitter | <rayman22201> I agree |
22:08:36 | zacharycarter[m] | preferably west coast |
22:09:26 | FromGitter | <rayman22201> I don't care about which coast, but us based would be nice |
22:10:01 | FromGitter | <rayman22201> Nim does seem to be a very European centric community |
22:10:15 | zacharycarter[m] | well the reason I say west coast is because the hour overlap is less trivial |
22:10:23 | zacharycarter[m] | like if someone is on the west coast they may cut off work hours at 5pm which is 8pm eastern |
22:10:48 | zacharycarter[m] | but if someone is on the east coast they're cutting of at 2pm west coast time |
22:10:51 | FromGitter | <kaushalmodi> @Varriount is most likely on east coast |
22:10:55 | FromGitter | <kaushalmodi> .. he'd need to move :P |
22:10:59 | zacharycarter[m] | so I think spreading out the time zones as much as possible makes sense |
22:11:03 | zacharycarter[m] | he is for sure |
22:11:14 | zacharycarter[m] | he lives near me - we've met up / hung out before |
22:11:26 | FromGitter | <kaushalmodi> ah cool, so where are you? |
22:11:29 | FromGitter | <kaushalmodi> I am in NC |
22:11:46 | zacharycarter[m] | oh cool! we're both in northern VA |
22:12:24 | FromGitter | <kaushalmodi> Cool! I was there last weekend, on my way to Hershey's |
22:12:36 | FromGitter | <rayman22201> I'm the only west coast nim person lol |
22:12:42 | zacharycarter[m] | are you in Raliegh? I know most of the tech stuff is down there |
22:12:49 | FromGitter | <kaushalmodi> Yes, close |
22:13:14 | zacharycarter[m] | nice! my parents moved down to OBX to retire - they are in Southern Shores |
22:13:29 | zacharycarter[m] | I guess you get the job @rayman22201 :P |
22:13:33 | copygirl | Hey all! Long time no see <3 |
22:14:02 | zacharycarter[m] | Hi copygirl :smile: |
22:14:13 | FromGitter | <rayman22201> Hahaha. I'll just have to get @Varriount to sleep on my couch! |
22:14:29 | FromGitter | <kaushalmodi> Pleasure chatting, signing out |
22:14:33 | zacharycarter[m] | :P |
22:14:36 | FromGitter | <rayman22201> What's up copygirl |
22:14:42 | FromGitter | <kaushalmodi> Driving home now |
22:14:43 | copygirl | I have a little question. I'm writing an iterator that will return the last X frame timings (calling cpuTime), but I want to make sure the argument doesn't exceed the maximum number of frames I'm recording this information of. |
22:14:48 | zacharycarter[m] | have a good evening @kaushalmodi ! |
22:14:51 | * | xet7 quit (Quit: Leaving) |
22:15:03 | copygirl | Is there some way to verify this at compile time? |
22:15:05 | FromGitter | <kaushalmodi> zacharycarter: You too |
22:15:24 | FromGitter | <rayman22201> Good night @kaushalmodi |
22:15:24 | copygirl | Or, enforce, rather. |
22:15:27 | zacharycarter[m] | copygirl: I think you can limit a distinct type to a range |
22:15:34 | copygirl | I was thinking of using a subrange but not sure if that's overkill? |
22:16:11 | zacharycarter[m] | `type IndexRange = distinct range[-1 .. 1000]` |
22:16:50 | copygirl | (Also I'm picking up Nim for gamedev again. Wish me luck. I'll need lots of it, considering how many attempts I've launched already. :p) |
22:16:59 | copygirl | Is the distinct keyword necessary? |
22:17:38 | zacharycarter[m] | yes |
22:17:44 | * | RyZum joined #nim |
22:17:55 | zacharycarter[m] | it's what lets the compiler knows that the type needs to be checked |
22:18:03 | * | ng0 quit (Quit: Alexa, when is the end of world?) |
22:18:13 | zacharycarter[m] | https://nim-lang.org/docs/manual.html#types-distinct-type |
22:18:49 | zacharycarter[m] | I don't think you can do what you're describing without such some sort of extra distinction for the compiler |
22:19:27 | copygirl | https://nim-lang.org/docs/tut1.html#advanced-types-subranges |
22:19:30 | * | RyZum quit (Read error: Connection reset by peer) |
22:19:50 | zacharycarter[m] | but please pay attention to the borrow pragma section |
22:19:58 | copygirl | Just to make sure, it appears that the compile time check (where possible, I assume) seems to already be a property of subranges..? |
22:20:22 | zacharycarter[m] | yes - sorry I guess subranges are the shortcut to doing what you're describing |
22:20:39 | zacharycarter[m] | so i think it's probably a distinct type behind the scenes - I don't know for sure though |
22:20:47 | zacharycarter[m] | but yeah - I think it would get you the same result |
22:21:06 | zacharycarter[m] | unsure of semanticxs |
22:21:06 | FromGitter | <rayman22201> I think you just need subrange |
22:21:12 | copygirl | Although thinking of it... I don't think I need to pass a parameter. |
22:21:35 | copygirl | It's an iterator so I can take up to a number of values from it and then stop! |
22:21:41 | copygirl | Derp. |
22:22:05 | FromGitter | <rayman22201> Lol. Cool |
22:25:23 | copygirl | Thankfully I got a kickstart with this project by just reusing the code of my old one. |
22:26:04 | copygirl | And I'm not even disgusted by the choices I made then! |
22:26:49 | FromGitter | <rayman22201> That's the impressive part lol |
22:35:24 | * | yglukhov[i] quit (Remote host closed the connection) |
22:41:57 | * | deepend joined #nim |
22:42:24 | dom96 | hah, seems someone in HN decided that my submission shouldn't have been demoted by the HN algorithm |
22:43:18 | dom96 | dvn: Thanks! :) |
22:43:37 | deepend | hey, new to nim just checking it out a bit and reading some code. Can anyone tell me what `magic` does here and where it came from? https://github.com/ba0f3/telebot.nim/blob/master/telebot/api.nim#L3 |
22:44:22 | dom96 | https://github.com/ba0f3/telebot.nim/blob/master/telebot/utils.nim#L212 |
22:44:41 | zacharycarter[m] | deepend: magic = compiler intrinsics / builtins |
22:44:42 | dom96 | deepend: It's defined inside the `utils` module |
22:44:49 | dom96 | zacharycarter[m]: Not in this case |
22:44:59 | deepend | ahh, thanks |
22:45:01 | zacharycarter[m] | oh |
22:45:11 | dom96 | The author of this package probably should have used a different name for this |
22:45:33 | zacharycarter[m] | dom96: any chance you have an answer to my compiler debugging question? |
22:45:34 | dom96 | It does make the api module pretty though |
22:45:51 | dom96 | zacharycarter[m]: link me to where you've asked it |
22:45:56 | zacharycarter[m] | sure |
22:46:04 | copygirl | Idk looks pretty magic to me. |
22:46:06 | deepend | it's a bit confusing to me when the example is using newMessage command and I grep for newMessage and don't find it in the library? |
22:46:58 | copygirl | It's confusing, but on the other hand, that's the nice thing about macros. Autogenerating code so you don't have to. |
22:47:17 | dom96 | deepend: Which example? |
22:47:18 | deepend | that's pretty cool |
22:47:24 | deepend | dom96: it's defined in the magic macro |
22:47:34 | copygirl | https://github.com/ba0f3/telebot.nim/blob/master/telebot/utils.nim#L231 This is where the newXYZ is created, I suppose. |
22:47:52 | dom96 | deepend: can't find it :( |
22:47:58 | deepend | copygirl linked it |
22:48:01 | zacharycarter[m] | dom96: https://irclogs.nim-lang.org/07-08-2018.html#21:45:26 |
22:48:23 | dom96 | copygirl: ahh |
22:48:49 | deepend | this is wild haha |
22:48:55 | dom96 | Indeed, that does make grepping difficult |
22:49:26 | dom96 | Thankfully it's pretty easy to spot macro invokations though |
22:49:59 | deepend | i've not had a chance to read the entire language spec yet |
22:50:17 | zacharycarter[m] | https://flenniken.net/blog/nim-macros/ |
22:50:24 | copygirl | If you just see "newMessage" with seemingly no definition, would you call it easy to spot / find where it's defined? |
22:50:43 | zacharycarter[m] | that's metaprogramming though... |
22:51:01 | zacharycarter[m] | you can't document an user-defined extension of something |
22:51:05 | copygirl | (Meant as a response to dom96's "easy to spot") |
22:51:05 | zacharycarter[m] | it's up to the end-user to document it |
22:51:28 | zacharycarter[m] | yeah - but it's easy to spot in the sense that it's one of three shapes of macros you can create in Nim |
22:51:39 | zacharycarter[m] | not that it's easy to spot in the sense that the user named it something you'd recognize |
22:51:55 | zacharycarter[m] | it's analogous to preprocessor directives in C |
22:52:28 | copygirl | Haven't used them but I have an okay understanding of macros. |
22:52:41 | copygirl | (preprocessor directives that is) |
22:52:57 | zacharycarter[m] | okay so like if you define your own preprocessor directive in C |
22:53:03 | zacharycarter[m] | it's up to you to document it / make it known |
22:53:18 | zacharycarter[m] | you can't expect the language to make it known for you, as it's an extension |
22:53:58 | dom96 | copygirl: Fair point. But you're likely to end up looking for Message then and notice that it's defined using this weird `magic` thing :) |
22:54:04 | copygirl | Meanwhile I'm dreaming up a language where somehow, you code directly using AST nodes which evaluate to their proper value only when compiling starts. So you could write macros by just writing code and modifying AST nodes on the fly. |
22:54:23 | copygirl | [0, 1, 2].add(4) == [0, 1, 2, 4] |
22:54:27 | zacharycarter[m] | Nim has such features |
22:54:27 | dom96 | Ideally Nim's nimsuggest should step in here |
22:54:31 | zacharycarter[m] | quote do |
22:54:32 | zacharycarter[m] | etc |
22:54:39 | zacharycarter[m] | templates |
22:54:42 | copygirl | Whether that ends up being a list or sequence or array depends on context. |
22:54:44 | dom96 | And allow you to click on the newMessage identifier and take you to the macro definition |
22:54:52 | dom96 | (or even better the line that creates the newMessage ident) |
22:55:15 | * | copygirl nods! |
22:55:29 | zacharycarter[m] | well arrays and sequences are easy to distinguish between in terms of necessity |
22:55:37 | zacharycarter[m] | you know at compile time |
22:55:45 | zacharycarter[m] | why do you need another semantic check? |
22:55:49 | dom96 | But as with many things, with great power comes great responsibility |
22:57:27 | copygirl | Yeah I think Nim already does a lot in that direction, just seems a little all over the place. |
22:57:45 | dom96 | zacharycarter[m]: Regarding compiler debugging, I'm not really sure what your goal is |
22:58:37 | copygirl | Like it brings the right ideas to the table but for the sake of actually making something that runs, it ran with what it got..? If that makes sense. Definitely not talking down on Nim. I don't have the knowledge or experience to, anyway. |
22:58:41 | zacharycarter[m] | dom96: I'm trying to figure out how to start debugging - https://github.com/nim-lang/Nim/issues/8535 |
22:58:42 | dom96 | copygirl: We've still got time to sort that out, we just need people like you to give us feedback like this |
22:58:46 | copygirl | Just gut feelings, really. |
22:59:03 | zacharycarter[m] | dom96: apparently someone has already started doing this for me - but I'd like to learn how to debug compilation issues |
22:59:05 | * | stefanos82 joined #nim |
22:59:12 | copygirl | Gotta look into quote do some more. |
22:59:28 | copygirl | Speaking of, is there a way to "unpack" varargs? |
22:59:54 | dom96 | copygirl: you mean like Python's *? |
22:59:56 | copygirl | Like can you write a macro that takes varargs and pass it to another without working with AST directly? |
22:59:57 | stefanos82 | woot! Nim is #4 in HN :D |
23:00:22 | dom96 | you can pass varargs to another proc/template that takes varargs |
23:00:39 | copygirl | What if you want to append/prepend something? |
23:00:53 | copygirl | (...args, value) or (value, ...args) ? |
23:01:00 | dom96 | zacharycarter[m]: hrm, I don't think I can help much there |
23:01:18 | copygirl | I'm familiar with this from some JS dialects (long time ago tho). |
23:01:35 | dom96 | don't think that's possible |
23:01:36 | zacharycarter[m] | btw - congrats araq, dom96, mratsim, zahary, arnetheduck etc... |
23:01:54 | zacharycarter[m] | I don't know all of you, but I <3 all of you |
23:02:07 | FromGitter | <kayabaNerve> Love Nim, love the devs, love the people. |
23:02:09 | zacharycarter[m] | dom96: roger, thanks for looking at it |
23:02:11 | copygirl | What's HN? |
23:02:18 | FromGitter | <kayabaNerve> HackerNews |
23:02:18 | zacharycarter[m] | hackernews |
23:02:24 | FromDiscord | <libman> Hacker News - https://news.ycombinator.com |
23:02:25 | zacharycarter[m] | news.ycombinator.com |
23:02:26 | copygirl | You guys do deserve it. |
23:02:41 | zacharycarter[m] | oh I also <3 libman |
23:02:48 | FromGitter | <kayabaNerve> stefanos82: But are we No. 4 on HN and trashing Rust along the way? :thinking: |
23:02:51 | zacharycarter[m] | probably the most underrated nim community member ever |
23:02:53 | FromDiscord | <libman> Bah, humbug. |
23:02:57 | FromGitter | <kayabaNerve> Gitter needs :thinking::( |
23:03:10 | FromGitter | <kayabaNerve> I've never seen @libman before. |
23:03:19 | FromGitter | <kayabaNerve> From Discord though? Hello there, my friend. |
23:03:46 | stefanos82 | @kayabaNerve: I didn't read any Rust trashing in the comments. Have I missed something while I was away? |
23:03:48 | FromGitter | <kayabaNerve> I left Discord just because I was on twelve servers already... too much to handle. |
23:04:03 | FromGitter | <kayabaNerve> No. I just like joking about declaring war on Rust people. |
23:04:14 | FromDiscord | <libman> Yeah, occasionally I crawl out of my self-imposed exile in a swamp and see if the Internet is as I remember it... |
23:04:32 | FromGitter | <kayabaNerve> One guy joined IRC asking to play GTA Online. I have no idea why he came here. I joked we should've sent him to #rust to play games... |
23:04:43 | FromDiscord | <libman> Trying Discord because listening to FreeTalkLive.com 😉 |
23:05:01 | stefanos82 | @kayabaNerve: that's quite immature I have to say...why bother starting such unnecessary thing? Use the right tool for the right job. |
23:05:27 | FromGitter | <kayabaNerve> stefanos82: I only do it in joking and have never actually acted out. |
23:05:42 | zacharycarter[m] | hahaha |
23:05:44 | stefanos82 | bad taste mate, bad taste. |
23:05:54 | FromGitter | <kayabaNerve> I joked about it after he left. Even dom96 made a joke earlier.... |
23:06:05 | copygirl | "internet is as I remember it" - uses Discord instead of IRC. |
23:06:22 | zacharycarter[m] | actually - there is one rust dev who I think really deserves some appreciation for his game dev talents |
23:06:27 | FromGitter | <kayabaNerve> @dom96 `"Nim partners with Status.im (Up yours Rust, j/k)"` |
23:06:41 | FromGitter | <kayabaNerve> It's harmless humor. |
23:07:04 | FromGitter | <kayabaNerve> Anyways. |
23:07:16 | * | yglukhov[i] joined #nim |
23:07:16 | FromDiscord | <libman> Did I explain the "why not Rust" point correctly on https://old.reddit.com/r/statusim/comments/95cgcj/status_partners_with_the_nim_team/ ? |
23:07:37 | dom96 | On HN tomorrow: "Nim community HATES Rust, three shocking jokes that made Mozilla MAD" |
23:07:42 | * | eggy joined #nim |
23:07:42 | zacharycarter[m] | https://github.com/ozkriff/zemeroth |
23:07:55 | stefanos82 | Rust has Mozilla behind it, Golang has Google, Swift has Apple...so, you get the idea. |
23:08:24 | zacharycarter[m] | libman: all you need to explain is that Java had memory safety |
23:08:34 | FromDiscord | <libman> (FreeTalkLive is at this very moment ranting about how MS Skype went eeevil so they're using Discord to take calls.) |
23:08:42 | zacharycarter[m] | all Rust adds is a huge learning curve to defeat NPE |
23:09:02 | zacharycarter[m] | and you might as well be writing C++ |
23:09:13 | dom96 | zacharycarter[m]: welll..... |
23:09:16 | FromDiscord | <libman> I can shoot myself in the foot in any language. |
23:09:29 | copygirl | From what I've seen, Rust has a very clear, valid goal. |
23:09:52 | copygirl | Some people are probably not using Rust as "intended", but then again, we have NodeJS. |
23:10:02 | dom96 | Yeah, Rust is all about memory (and thread) safety with no runtime overhead |
23:10:03 | zacharycarter[m] | NodeJS sucks |
23:10:20 | copygirl | Rust's standard library is quite nice. I found maybe types and all that pretty neat to work with. |
23:10:25 | dom96 | It's a valid goal and props to them for achieving it so well |
23:10:41 | zacharycarter[m] | it's definitely not at a zero cost though |
23:10:49 | zacharycarter[m] | that's a fabrication / hype term |
23:10:58 | * | eggy quit (Remote host closed the connection) |
23:11:00 | dom96 | It's at a zero runtime cost |
23:11:05 | dom96 | There are other costs |
23:11:07 | zacharycarter[m] | yeah |
23:11:11 | zacharycarter[m] | they should refer to it as that |
23:11:12 | dom96 | The learning curve being a big one |
23:11:29 | zacharycarter[m] | +1 |
23:11:35 | * | yglukhov[i] quit (Ping timeout: 240 seconds) |
23:11:50 | copygirl | From what I heard they're making it easier to get into by hiding all the lifetime and ownership checking - making it less explicit. But I haven't checked in a while. |
23:11:59 | zacharycarter[m] | theres a quote somewhere in the nim docs I love about abstractions |
23:12:15 | copygirl | (And then there's other people complaining that Rust is going the wrong way.) |
23:12:24 | zacharycarter[m] | an abstraction is an abstraction is an abstraction... |
23:13:05 | zacharycarter[m] | looks a lot like C++ to me |
23:13:06 | zacharycarter[m] | Rust2015 |
23:13:08 | zacharycarter[m] | Rust2018 |
23:13:16 | copygirl | I can't wait to make my own language which nobody will understand. |
23:13:22 | stefanos82 | personally I like the newest C++, especially C++17 |
23:13:31 | stefanos82 | much cleaner and simpler to use |
23:13:32 | zacharycarter[m] | oh and we've gained webassembly and rust! so a standardized macromedia flash! |
23:13:54 | zacharycarter[m] | you'll like c++17 until you can't port it anywhere |
23:13:58 | copygirl | How are you comparing those two to Flash? |
23:14:19 | zacharycarter[m] | wasm = flash |
23:14:21 | zacharycarter[m] | with a standardized spec |
23:14:29 | dom96 | I feel like webassembly is something that will be used everywhere within a few years |
23:14:32 | FromDiscord | <libman> More like Java Applets. |
23:14:41 | dom96 | And I wish I knew how to take advantage of this prediction |
23:14:45 | zacharycarter[m] | or that |
23:15:04 | zacharycarter[m] | dom96: llvm |
23:15:06 | dom96 | Sorry but I disagree with that. WebAsm is nowhere close to flash |
23:15:22 | zacharycarter[m] | binaries on the web - how is it not? |
23:15:37 | zacharycarter[m] | it's just not run by adobe |
23:16:11 | dom96 | The key difference is that it's not proprietary |
23:16:15 | zacharycarter[m] | but like libman said: it's closer to Java applets than anything |
23:16:26 | dom96 | Another difference is that it doesn't reinvent the web in a non-standard manner |
23:16:32 | zacharycarter[m] | yeah - I get that - but the point is, we've been here before |
23:16:38 | dom96 | It's just a way to speed up JS |
23:16:44 | zacharycarter[m] | maybe |
23:16:51 | stefanos82 | zacharycarter[m]: more and more companies are adapting to the latest C++ standards, especially those companies that sell IoT devices |
23:16:53 | zacharycarter[m] | wasm doesn't always = faster |
23:17:00 | FromDiscord | <libman> If Java was freely licensed, we'd have wasm in 1995. |
23:17:20 | zacharycarter[m] | stefanos82: and game devs are still writing in C89 . C++11 |
23:17:37 | stefanos82 | you mean C99 and C++11 |
23:17:41 | zacharycarter[m] | yes |
23:17:57 | stefanos82 | well, I know people who use C# for game development as well |
23:18:02 | zacharycarter[m] | portability is meaningful |
23:18:20 | zacharycarter[m] | and they are dealing with large runtimes |
23:18:27 | zacharycarter[m] | like mono |
23:18:29 | FromGitter | <rayman22201> Up to 3 on HN! Woo-hoo! |
23:18:45 | zacharycarter[m] | :tada: |
23:19:32 | zacharycarter[m] | dom96: native JS is often faster than asm.js or wasm |
23:19:47 | zacharycarter[m] | it's one of those - optimize when warrants it - things |
23:20:24 | dom96 | Citation needed |
23:20:31 | zacharycarter[m] | sec |
23:21:45 | * | Warbucks joined #nim |
23:21:56 | zacharycarter[m] | https://medium.com/samsung-internet-dev/performance-testing-web-assembly-vs-javascript-e07506fd5875 |
23:22:19 | zacharycarter[m] | analysis section is most relevant |
23:23:20 | dom96 | Interesting |
23:23:52 | dom96 | I wonder what the reasoning for this is |
23:23:59 | zacharycarter[m] | yeah - I think the thing with wasm is - offload cpu intensive tasks to it |
23:24:10 | zacharycarter[m] | things you wouldn't normally do in JS |
23:24:22 | zacharycarter[m] | or you wouldn't do in JS if you had a choice not to |
23:24:51 | zacharycarter[m] | but JS may very well outperform wasm currently, because of all the FFI |
23:27:42 | Warbucks | Anyone tried: Make mapIt work on openArray's (#8543) ? |
23:30:07 | * | phuzion9 joined #nim |
23:31:16 | * | phuzion9 quit (Remote host closed the connection) |
23:32:01 | stefanos82 | folks, #2! :D |
23:33:14 | * | Warbucks left #nim (#nim) |
23:33:31 | dom96 | 70 active users on nim-lang.org right now :) |
23:35:24 | FromGitter | <rayman22201> 💥🎉 |
23:36:11 | stefanos82 | I see 150 as total |
23:39:03 | dom96 | IRC isn't nim-lang.org |
23:40:22 | dom96 | 'night |
23:40:32 | FromDiscord | <libman> http://irc.netsplit.de/channels/?net=freenode&chat=nim is behind? |
23:42:27 | stefanos82 | dom96: oops, I thought it was about IRC lol. |
23:42:31 | stefanos82 | sleep well mate |
23:43:03 | FromDiscord | <libman> https://NIMiq.com (JS) might cause confusion... |
23:44:00 | * | noonien quit (Quit: Connection closed for inactivity) |
23:54:49 | zacharycarter[m] | also - is there a reason nim is used in all the status projects as a prefix (or something similar) |
23:56:01 | zacharycarter[m] | https://github.com/status-im?utf8=%E2%9C%93&q=nim&type=&language= |
23:56:10 | zacharycarter[m] | seems like it might distract from Nim related search results |