00:12:52 | * | vlad1777d quit (Ping timeout: 260 seconds) |
00:14:53 | * | geotre quit (Read error: Connection reset by peer) |
00:41:22 | * | dddddd quit (Remote host closed the connection) |
00:48:41 | * | gokr quit (Ping timeout: 240 seconds) |
00:58:19 | * | yingjun joined #nim |
01:05:12 | * | yglukhov joined #nim |
01:09:19 | * | yglukhov quit (Ping timeout: 246 seconds) |
01:11:19 | * | daaf joined #nim |
01:28:32 | * | WhiskyRyan joined #nim |
01:29:00 | * | evizaer quit (Quit: Leaving) |
01:44:36 | * | rauss joined #nim |
01:46:56 | * | pilne quit (Quit: Quitting!) |
01:47:20 | * | WhiskyRyan quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
01:51:45 | * | WhiskyRyan joined #nim |
01:51:53 | * | chemist69 quit (Disconnected by services) |
01:51:58 | * | chemist69_ joined #nim |
02:02:09 | * | WhiskyRyan quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
02:03:58 | * | WhiskyRyan joined #nim |
02:16:57 | * | WhiskyRyan quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
02:18:30 | * | daaf quit (Ping timeout: 240 seconds) |
02:19:03 | * | yingjun quit (Remote host closed the connection) |
02:19:12 | * | yingjun joined #nim |
02:20:51 | * | WhiskyRyan joined #nim |
02:22:02 | * | yingjun quit (Remote host closed the connection) |
02:22:15 | * | yingjun joined #nim |
02:23:13 | * | yingjun quit (Remote host closed the connection) |
02:23:30 | * | Trioxin quit (Ping timeout: 240 seconds) |
02:23:47 | * | yingjun joined #nim |
02:25:08 | * | yingjun quit (Remote host closed the connection) |
02:28:53 | * | yingjun joined #nim |
02:44:03 | FromGitter | <zacharycarter> hrm |
02:44:30 | FromGitter | <zacharycarter> I'm having a bit of trouble with calling a proc I've created in a shared lib |
02:45:10 | FromGitter | <zacharycarter> https://gist.github.com/zacharycarter/9c5b77de027618aafaba1ba0b60a9e60 |
02:45:28 | * | vendethiel quit (Ping timeout: 260 seconds) |
02:45:48 | FromGitter | <zacharycarter> I get a SIGBUS error here: |
02:46:01 | FromGitter | <zacharycarter> https://gist.github.com/zacharycarter/9c5b77de027618aafaba1ba0b60a9e60#file-engine-nim-L198 |
02:46:49 | * | WhiskyRyan quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
02:49:42 | FromGitter | <zacharycarter> I think the problem is I need a nimcall pragma next to update |
02:49:53 | FromGitter | <zacharycarter> but then I'm not sure how to use update as a funciton pointer |
02:56:31 | * | onionhammer1 joined #nim |
02:59:30 | * | onionhammer quit (Ping timeout: 240 seconds) |
03:03:43 | * | onionhammer joined #nim |
03:06:58 | * | onionhammer1 quit (Ping timeout: 255 seconds) |
03:18:28 | * | yglukhov joined #nim |
03:22:30 | * | yglukhov quit (Ping timeout: 240 seconds) |
03:33:54 | * | onionhammer1 joined #nim |
03:36:50 | * | onionhammer quit (Ping timeout: 240 seconds) |
04:05:25 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
04:10:22 | * | libman quit (Quit: Connection closed for inactivity) |
04:33:44 | * | yingjun quit (Remote host closed the connection) |
04:34:16 | * | yingjun joined #nim |
04:35:15 | * | yingjun quit (Remote host closed the connection) |
04:43:42 | * | yingjun joined #nim |
04:57:28 | FromGitter | <zacharycarter> okay sweet I got my plugin system working now |
05:00:38 | FromGitter | <zacharycarter> spoke too soon :( still a not working 100% correctly hmph |
05:02:48 | * | rauss quit (Read error: Connection reset by peer) |
05:04:43 | * | rauss joined #nim |
05:05:50 | * | rauss quit (Client Quit) |
05:07:26 | FromGitter | <zacharycarter> @Varriount think you can help me with a threading issue maybe? |
05:08:12 | FromGitter | <Varriount> @zacharycarter I can try. |
05:08:22 | FromGitter | <Varriount> Excellent timing by the way, I just opened my laptop. |
05:08:27 | FromGitter | <zacharycarter> :D |
05:08:40 | FromGitter | <zacharycarter> I'm trying to hotload a dynamic library |
05:08:48 | FromGitter | <zacharycarter> and for some reason the proc I'm hotloading |
05:09:05 | FromGitter | <zacharycarter> isn't hotloading :/ |
05:09:15 | FromGitter | <zacharycarter> I'll just check in the entire project - one moment please |
05:11:36 | FromGitter | <zacharycarter> @Varriount : https://github.com/zacharycarter/zengine |
05:12:01 | FromGitter | <zacharycarter> should just be able to |
05:12:02 | FromGitter | <zacharycarter> nimble install |
05:12:06 | FromGitter | <zacharycarter> then ./zengine.app |
05:12:11 | FromGitter | <zacharycarter> and it should run |
05:12:12 | FromGitter | <Varriount> Uh, you kinda uploaded the DLLs |
05:12:25 | FromGitter | <zacharycarter> yeah I know I did that purposefully so you wouldn't have to compile them initially |
05:12:56 | FromGitter | <Varriount> Ah, ok. |
05:13:15 | FromGitter | <zacharycarter> ideally you should be able to change the update method in either game.nim or renderer_3d.nim |
05:13:16 | FromGitter | <Varriount> I've installed it, and get "Error: unhandled exception: No such file or directory [OSError]" |
05:13:20 | FromGitter | <zacharycarter> oh |
05:13:38 | FromGitter | <zacharycarter> if you open up src/zengine/main.nim |
05:13:48 | FromGitter | <zacharycarter> change nimEXE to point to your nim executable |
05:13:54 | FromGitter | <zacharycarter> sorry I forgot to mention that step |
05:14:36 | FromGitter | <Varriount> You don't use `brew --HEAD` to install Nim? |
05:14:44 | FromGitter | <zacharycarter> nope |
05:15:03 | FromGitter | <Varriount> Do I need to recompile? |
05:15:11 | FromGitter | <zacharycarter> I don't think so |
05:15:33 | FromGitter | <zacharycarter> oh wait after changing that yes sory |
05:15:34 | FromGitter | <zacharycarter> sorry |
05:15:37 | FromGitter | <zacharycarter> you'll have to re nimble install |
05:16:07 | FromGitter | <Varriount> Ok, and how would I compile with debug flags off? |
05:16:14 | FromGitter | <Varriount> I mean, on |
05:16:45 | FromGitter | <zacharycarter> nim c --linedir:on --debuginfo src/zengine/main.nim |
05:17:00 | FromGitter | <zacharycarter> err |
05:17:06 | FromGitter | <zacharycarter> nim c --linedir:on --debuginfo --threads:on src/zengine/main.nim |
05:18:18 | FromGitter | <Varriount> Now it works. :/ |
05:18:33 | * | def-pri-pub quit (Quit: Lost terminal) |
05:18:53 | FromGitter | <zacharycarter> what'd you have to do? |
05:18:53 | FromGitter | <Varriount> Actually, it works when I recompile it in release mode too. |
05:19:00 | FromGitter | <zacharycarter> ah okay |
05:19:38 | FromGitter | <Varriount> So.. why are you getting segfaults, and I'm not? |
05:19:39 | FromGitter | <zacharycarter> as far as I can tell the shared library is being reloaded when a file change is detected, but the proc isn't updating |
05:19:46 | FromGitter | <zacharycarter> I'm not anymore |
05:19:51 | FromGitter | <zacharycarter> I fixed that problem |
05:20:01 | FromGitter | <zacharycarter> problem now is the hot loading isn't really working as expected |
05:20:34 | * | yglukhov joined #nim |
05:21:36 | FromGitter | <Varriount> What's not as expected? It's not reloading? |
05:22:14 | * | gokr joined #nim |
05:22:21 | FromGitter | <zacharycarter> yeah if you change the echo statement inside game.nim or renderer_3d.nim while the app is running you'll see what I mean |
05:24:57 | * | yglukhov quit (Ping timeout: 240 seconds) |
05:26:08 | FromGitter | <Varriount> Yeesh, you don't ever bring me the simple problems, do you? :D |
05:27:05 | FromGitter | <zacharycarter> hehe nope :) |
05:28:29 | * | yingjun quit (Remote host closed the connection) |
05:29:05 | FromGitter | <zacharycarter> wouldn't be any fun then :P |
05:30:08 | * | yingjun joined #nim |
05:31:37 | * | Vladar joined #nim |
05:37:33 | FromGitter | <Varriount> @zacharycarter Hm, I get a segmentation fault when I make all the sequences 'ref seq' instead |
05:38:05 | * | yingjun_ joined #nim |
05:38:53 | FromGitter | <zacharycarter> hrmm |
05:38:54 | FromGitter | <Varriount> It sometimes works, and sometimes doesn't. |
05:39:08 | FromGitter | <zacharycarter> weird |
05:40:23 | FromGitter | <Varriount> Is there a way to run this under gdb? |
05:40:36 | FromGitter | <Varriount> Or lldb? |
05:41:06 | FromGitter | <zacharycarter> should be able to in lldb |
05:41:29 | FromGitter | <Varriount> I mean, what do I run? lldb ./zengine.app ? |
05:41:43 | FromGitter | <zacharycarter> lldb src/zengine/main |
05:42:11 | FromGitter | <zacharycarter> or apparently lldb ./zengine.app works too |
05:42:19 | * | yingjun quit (Ping timeout: 246 seconds) |
05:42:30 | FromGitter | <Varriount> Is there any threading here? |
05:42:42 | FromGitter | <Varriount> I'm wondering if the compiler optimizations are doing something |
05:42:58 | FromGitter | <zacharycarter> yeah there's some threading going on |
05:43:00 | FromGitter | <Varriount> Rather, is the threading in the plugin logic |
05:43:19 | FromGitter | <zacharycarter> no there's no threading in the plugin just in the main app |
05:43:39 | FromGitter | <zacharycarter> every plugin that's loaded is supposed to have its own watcher thread which takes care of reloading the plugin when the nim file changes |
05:45:23 | FromGitter | <Varriount> How are you dealing with the fact that GC'd memory can't cross thread boundaries? |
05:46:21 | FromGitter | <zacharycarter> well the plugins are being created as pointers with create shared |
05:46:31 | FromGitter | <zacharycarter> createShared rather |
05:47:07 | FromGitter | <zacharycarter> hrm now that I think about it having a thread for each plugin might be overkill |
05:47:10 | FromGitter | <Varriount> I'm just wondering if there's a deepcopy going on somewhere |
05:47:25 | FromGitter | <Varriount> Which is duplicating the sequences storing the plugin pointers. |
05:47:35 | FromGitter | <zacharycarter> hrm maybe |
05:47:50 | FromGitter | <zacharycarter> I think I'm going to rewrite this anyway I'll try to make it simpler |
05:48:35 | FromGitter | <Varriount> Are plugins for games normally each run in their own thread? |
05:48:55 | FromGitter | <zacharycarter> no |
05:48:59 | FromGitter | <Varriount> I mean, what does unity, et al do? |
05:49:21 | FromGitter | <zacharycarter> ideally nothing has to run in any other thread besides the thing that loads the plugins / reloads them |
05:50:21 | FromGitter | <Varriount> But doesn't there have to be some sort of pause? |
05:50:37 | FromGitter | <Varriount> You have to be careful not to unload a plugin while it's running. |
05:51:08 | FromGitter | <zacharycarter> yeah that's true |
05:52:20 | FromGitter | <Varriount> Also, I'm wondering if Nim's GC needs to be told about DLLs that are being unloaded. |
05:54:58 | FromGitter | <Varriount> @zacharycarter Hrm, whatever mechanism zengine.app is using to load files, they're being incorrectly cached somehow. |
05:55:18 | FromGitter | <Varriount> I just changed main.nim, and the changes weren't reflected in the updated binary |
05:56:06 | FromGitter | <zacharycarter> hrm |
05:58:25 | FromGitter | <zacharycarter> bleh I'm going to sleep I think and tackle this tomorrow I'm probably making a lot of mistakes / not thinking about things thoroughly enough |
06:00:37 | FromGitter | <Varriount> @zacharycarter Wait |
06:00:54 | FromGitter | <Varriount> I might have soemthing |
06:02:41 | FromGitter | <zacharycarter> okay |
06:02:41 | FromGitter | <Varriount> So, printing out the contents of the plugin object in both the main thread and the plugin updater shows that they are both the same, and remain the same through updates. |
06:03:26 | FromGitter | <zacharycarter> sounds right considering what we're seeing |
06:04:26 | FromGitter | <Varriount> But the 'update' procedure never changes |
06:05:00 | FromGitter | <Varriount> The address never changes, on both threads |
06:05:46 | FromGitter | <Varriount> So perhaps the OS is doing some sort of caching of the libraries? |
06:06:00 | FromGitter | <zacharycarter> hmmm |
06:06:03 | FromGitter | <zacharycarter> maybe |
06:07:23 | FromGitter | <Varriount> Anyway, you can go to bed. I'll investigate a little more. |
06:07:28 | FromGitter | <Varriount> Then I'll go to bed/ |
06:08:12 | FromGitter | <zacharycarter> okay thanks and don't worry too much about it - there's probably a simpler way to do what "m trying to do |
06:08:17 | FromGitter | <zacharycarter> I generally overcomplicate things |
06:10:41 | Araq | varriount: but high() returns -1 and so low..high produces 0 .. -1 which is 0 iterations |
06:10:59 | Araq | would low return -1 instead we would have 1 iteration for the empty range |
06:11:46 | Araq | if it would throw an exception it made many 'for' loops unreliable |
06:11:54 | Araq | 0 is the right value. |
06:12:00 | FromGitter | <Varriount> Araq: Or high could return -2 |
06:12:21 | Araq | but high is len-1, always |
06:12:33 | Araq | -2 would be a special case. |
06:12:33 | FromGitter | <Varriount> And low is..? |
06:13:03 | Araq | low is always 0 except for arrays starting with something else |
06:13:20 | FromGitter | <Varriount> Bleh. I dislike these corner cases/ |
06:13:51 | Araq | but there are no corner cases. you just argued for introducing new corner cases |
06:15:16 | FromGitter | <Varriount> Araq: `for i in 0..high(s)` will return no iterations if 's' is empty. `for i in 0..low(s)` will return one index, 0 |
06:16:02 | Araq | for i in 0..low(s) makes no sense anyway |
06:16:20 | FromGitter | <Varriount> I was trying to re-implement string joining |
06:16:53 | Araq | string joining doesn't use for i in 0..low(s) because it makes no sense. |
06:22:27 | FromGitter | <Varriount> Hm. I wonder why the HttpHeaders type is a reference containing a member that is a table reference, rather than a table reference directly. |
06:22:47 | Araq | yeah that's horrible :-( |
06:25:06 | FromGitter | <Varriount> Araq: Any reason `sort(sortedKeys) do (a, b: string) -> int: ...` won't work? I'm getting a compiler error about a type mismatch. |
06:26:57 | FromGitter | <Varriount> Oh, nevermind. |
06:27:02 | FromGitter | <Varriount> Anyway, goodnight Araq |
06:27:15 | Araq | sleep well |
06:34:06 | * | nsf joined #nim |
06:39:51 | * | couven92 joined #nim |
07:07:02 | * | Arrrr joined #nim |
07:07:03 | * | Arrrr quit (Changing host) |
07:07:03 | * | Arrrr joined #nim |
07:11:50 | * | chemist69_ quit (Ping timeout: 240 seconds) |
07:22:41 | * | yglukhov joined #nim |
07:25:12 | * | rokups joined #nim |
07:27:11 | * | yglukhov quit (Ping timeout: 240 seconds) |
07:29:20 | * | xet7 joined #nim |
07:30:34 | * | chemist69 joined #nim |
08:09:44 | * | couven92 quit (Ping timeout: 255 seconds) |
08:15:38 | * | MyMind joined #nim |
08:17:37 | * | Sembei quit (Ping timeout: 260 seconds) |
08:18:58 | * | Pisuke joined #nim |
08:21:06 | * | MyMind quit (Ping timeout: 255 seconds) |
08:33:45 | * | yingjun_ quit (Remote host closed the connection) |
08:34:38 | * | yingjun_ joined #nim |
09:17:11 | * | couven92 joined #nim |
09:19:51 | * | vlad1777d joined #nim |
09:22:52 | * | skrylar joined #nim |
09:24:49 | * | yglukhov joined #nim |
09:29:05 | * | yglukhov quit (Ping timeout: 240 seconds) |
09:43:27 | * | yingjun_ quit (Remote host closed the connection) |
09:43:38 | * | yingjun_ joined #nim |
10:12:47 | * | Snircle joined #nim |
10:26:49 | * | yglukhov joined #nim |
10:31:09 | * | yglukhov quit (Ping timeout: 255 seconds) |
10:36:06 | * | yingjun_ quit (Remote host closed the connection) |
10:38:00 | * | yingjun_ joined #nim |
10:42:18 | * | PMunch joined #nim |
10:52:05 | * | arnetheduck joined #nim |
10:53:25 | * | yingjun_ quit (Remote host closed the connection) |
10:53:38 | * | yingjun_ joined #nim |
10:54:58 | * | yingjun_ quit (Remote host closed the connection) |
10:58:41 | * | xet7 quit (Ping timeout: 240 seconds) |
10:58:52 | * | yingjun joined #nim |
11:07:01 | * | Neomex quit (Quit: Leaving) |
11:13:19 | * | CcxWrk quit (Read error: Connection reset by peer) |
11:31:42 | * | WhiskyRyan joined #nim |
11:39:20 | * | WhiskyRyan quit (Ping timeout: 260 seconds) |
11:42:17 | FromGitter | <Varriount> Araq: I'm looking at one of the overloads for the `new` procedure - `proc new(T: typedesc): auto` - and I'm wondering why it was decided to behave differently for ref types. Sure, it's more convenient, but it presents an odd corner case when you want things like refs of refs, or in macro usage. |
11:47:57 | FromGitter | <zacharycarter> https://gist.github.com/zacharycarter/bd3d31624b006fa4f6656bdee807388c |
11:48:07 | FromGitter | <zacharycarter> this eventually segfaults |
11:48:09 | FromGitter | <zacharycarter> no idea why |
11:48:15 | FromGitter | <zacharycarter> something with the gc |
11:48:59 | FromGitter | <zacharycarter> Traceback (most recent call last) ⏎ strfmt.nim(1248) update ⏎ strfmt.nim(995) addformat ⏎ gc.nim(618) growObj ⏎ gc.nim(565) growObj ... [https://gitter.im/nim-lang/Nim?at=593e7faa6462d8493c047d32] |
11:56:56 | FromGitter | <andreaferretti> I have a problem with the gc calling finalizers |
11:57:04 | FromGitter | <andreaferretti> Here is a more complete description |
11:57:06 | FromGitter | <andreaferretti> https://forum.nim-lang.org/t/2998 |
11:57:20 | FromGitter | <andreaferretti> Any idea what I could be doing wrong? |
12:01:59 | FromGitter | <Varriount> @zacharycarter What routines are you using from stopwatch? |
12:03:34 | FromGitter | <zacharycarter> I'm just following this example - https://16bpp.net/page/hot-loading-code-in-nim |
12:03:54 | FromGitter | <zacharycarter> looks like start and secs |
12:04:43 | FromGitter | <Varriount> strfmt.nim is a nimble library, so it would help to know where it's being used |
12:05:02 | FromGitter | <Varriount> Since your code isn't importing it, I can only assume stopwatch is using it. |
12:05:23 | FromGitter | <zacharycarter> yeah |
12:05:28 | FromGitter | <zacharycarter> I'm just going to take stopwatch out of the picture here |
12:14:33 | * | CcxWrk joined #nim |
12:15:15 | FromGitter | <Varriount> @andreaferretti What happens if you switch GCs? |
12:16:34 | FromGitter | <Varriount> @dom96 How does Nimble suggest I form imports when I have a 2-level deep hierarchy of packages? E.g. src/utils.nim and src/auth/v2.nim , and v2 needs to import utils |
12:17:25 | dom96 | utils.nim needs to be in a namespace |
12:17:29 | dom96 | src/pkgname/utils.nim |
12:17:31 | FromGitter | <andreaferretti> As I mentioned in the thread, it fails both with default gc and with gc v2 |
12:17:37 | dom96 | src/pkgname/auth/v2.nim |
12:17:45 | dom96 | then 'import pkgname/utils' |
12:17:54 | FromGitter | <andreaferretti> It doesn't seem to fail with either boehm or mark and sweep |
12:18:13 | FromGitter | <andreaferretti> but I am not sure whether they are triggered at different thresholds |
12:18:27 | FromGitter | <andreaferretti> or whether they simply do not support finalizers |
12:26:18 | * | zachcarter quit (Quit: zachcarter) |
12:28:33 | FromGitter | <Varriount> dom96: So pkgname would be the only folder in src? Why not flatten and remove src? |
12:28:49 | dom96 | 'src' is optional |
12:29:22 | * | yglukhov joined #nim |
12:33:59 | * | yglukhov quit (Ping timeout: 268 seconds) |
12:56:54 | * | Arrrr quit (Quit: Leaving.) |
12:58:57 | FromGitter | <andreaferretti> any idea? |
12:59:32 | FromGitter | <andreaferretti> I think it should be a viable strategy to wrap an unmanaged pointer (such as those returned by CUDA) into a managed one and add a finalizer |
12:59:42 | FromGitter | <andreaferretti> anything to be wary of? |
13:00:06 | * | zachcarter joined #nim |
13:07:53 | * | yingjun quit (Remote host closed the connection) |
13:10:31 | FromGitter | <Varriount> @andreaferretti Ah this point I think it's a compiler bug |
13:13:25 | * | Vladar quit (Excess Flood) |
13:13:48 | * | Vladar joined #nim |
13:18:51 | FromGitter | <andreaferretti> Ok, I will report it |
13:35:32 | * | bezzibuzz joined #nim |
13:38:41 | FromGitter | <andreaferretti> I had the pleasure of bumping the number of open issues to 1000 https://github.com/nim-lang/Nim/issues/5978 |
13:46:17 | demi- | heh |
13:52:38 | FromGitter | <matrixbot> `@CaptainKraft:matrix.org` That's quite a hefty amount of issues |
13:54:11 | * | rauss joined #nim |
13:56:34 | dom96 | matrixbot? Is there now a Matrix -> Gitter -> IRC relay now? lol |
14:08:44 | * | yingjun joined #nim |
14:11:30 | * | PMunch quit (Quit: leaving) |
14:13:05 | * | yingjun quit (Ping timeout: 240 seconds) |
14:16:23 | * | nsf quit (Quit: WeeChat 1.7.1) |
14:18:43 | shmup | lol |
14:20:22 | FromGitter | <Varriount> @andreaferretti Congratulations! I'll have to send you a prize. |
14:20:32 | FromGitter | <Varriount> What's matrix? |
14:31:55 | captainkraft | I guess so. I was testing out Riot.im |
14:31:56 | * | yglukhov joined #nim |
14:32:23 | captainkraft | Matrix supposedly makes it easy to bridge a bunch of chats. I'd like to get rid of the many chat clients I have to have open on a daily basis. |
14:32:53 | captainkraft | I know Matrix also bridges between IRC. Not sure why it would hop to Gitter first |
14:36:24 | * | yglukhov quit (Ping timeout: 255 seconds) |
14:44:47 | hohlerde | I am using matrix (riot) as well |
14:45:04 | ehmry | me too |
14:45:45 | captainkraft | Why don't you have the <matrixbot> tag |
14:46:29 | * | Trustable joined #nim |
14:58:08 | * | rauss quit (Ping timeout: 240 seconds) |
14:59:35 | * | rauss joined #nim |
15:00:21 | * | gangstacat quit (Read error: Connection reset by peer) |
15:02:58 | * | Arrrr joined #nim |
15:03:14 | * | couven92 quit (Quit: Client disconnecting) |
15:06:04 | * | ofelas joined #nim |
15:15:48 | ehmry | there is a matrix<->IRC brigde, that could be form matrix<->gitter<->IRC |
15:34:22 | * | yglukhov joined #nim |
16:01:25 | * | gangstacat joined #nim |
16:06:35 | * | yglukhov quit (Ping timeout: 240 seconds) |
16:11:01 | * | yingjun joined #nim |
16:15:22 | * | yingjun quit (Ping timeout: 260 seconds) |
16:17:51 | * | yglukhov joined #nim |
16:25:11 | * | pilne joined #nim |
16:34:00 | * | bezzibuzz left #nim (#nim) |
16:41:58 | * | nsf joined #nim |
16:55:31 | federico3 | the "main" matrix server is already federated with freenode |
17:14:08 | * | elrood joined #nim |
17:24:57 | * | rokups quit (Quit: Connection closed for inactivity) |
17:27:22 | captainkraft | On Riot, that matrixbot version of the bridge is what came up for me. Not sure how to get it to bridge through IRC instead |
17:33:37 | ehmry | try https://riot.im/app/#/room/#nim:matrix.org |
17:40:00 | * | vlad1777d quit (Ping timeout: 255 seconds) |
17:45:10 | dom96 | federico3: Where do I need to point planet.nim-lang.org to again? |
17:46:30 | * | federico3p joined #nim |
18:05:21 | dom96 | so https://planet.nim-lang.org/ is live :) |
18:05:27 | dom96 | thanks federico3 |
18:10:41 | * | Neomex joined #nim |
18:11:40 | FromGitter | <Bennyelg> what is the fastes way to upgrade nim versions? |
18:12:05 | demi- | choosenim |
18:12:42 | dom96 | yep ^ :) |
18:13:05 | dom96 | https://github.com/dom96/choosenim#installation |
18:14:07 | federico3p | look at that, riot is working :) |
18:15:21 | * | yingjun joined #nim |
18:15:36 | FromGitter | <Bennyelg> Thanks. |
18:19:35 | * | yingjun quit (Ping timeout: 240 seconds) |
18:22:09 | * | WhiskyRyan joined #nim |
18:22:46 | * | WhiskyRyan quit (Client Quit) |
18:23:55 | * | stvc joined #nim |
18:32:39 | Araq | https://channel9.msdn.com/Events/Build/2014/2-661 start at minute 30 or so |
18:46:53 | * | vlad1777d joined #nim |
18:50:02 | FromGitter | <Varriount> dom96: CSS needs to match nim-lang.org :P |
18:50:27 | dom96 | Varriount: On the planet? |
18:50:51 | FromGitter | <Varriount> Yeah |
18:51:01 | dom96 | I respectfully disagree |
18:55:54 | * | Neomex quit (Quit: Leaving) |
18:57:45 | FromGitter | <Varriount> We already have 2 CSS "looks" - documentation and main site (not counting the forum!). Adding in yet another one makes things look messy |
19:02:01 | * | nhywyll joined #nim |
19:04:35 | dom96 | Using the same look everywhere will be confusing and make our design less unique. |
19:05:50 | demi- | the documentation should have a separate look from anything else |
19:07:06 | demi- | so that shouldn't count towards any of this imo |
19:12:07 | * | nhywyll quit (Quit: nhywyll) |
19:17:48 | FromGitter | <Varriount> Yes, but the planet isn't documentation - it's another part of the site. |
19:29:12 | * | Arrrr quit (Quit: Leaving.) |
19:29:49 | dom96 | no, it's a separate website |
19:38:24 | Calinou | documentation needs a few styling changes IMO |
19:38:54 | Calinou | white background (same as site), optional dark theme, larger font by default |
19:39:04 | Calinou | but it's mostly fine to me otherwise |
19:40:22 | * | nsf quit (Quit: WeeChat 1.7.1) |
19:50:44 | dom96 | So I updated my little Snake game, probably won't be adding much more features unless there is interest. I submitted it to HN as well to see if it sparks some interest https://picheta.me/snake/ |
19:59:12 | * | Matthias247 joined #nim |
20:03:16 | shmup | dude dom96 |
20:03:43 | shmup | choose any of the 4 cga palette colors and submit to https://itch.io/jam/cga-jam |
20:03:45 | shmup | you have 2 days :P |
20:03:54 | shmup | choose any 4 of the 16 cga colors*** |
20:04:16 | shmup | "Always faster" would be the theme I guess |
20:04:26 | shmup | Unless you put a cowboy hat on the snake |
20:05:00 | gangstacat | can anyone please explain me the error here please? (value out of range) https://gist.github.com/gangsterakato/e52b35ee1becaa1183518c22006c2883 |
20:08:43 | FromGitter | <Varriount> @dom96 Wow, it even has a real-time score system |
20:09:54 | dom96 | shmup: pretty sure I started working on this before that jam started :) |
20:10:04 | dom96 | Varriount: yep :) |
20:10:27 | shmup | lol ah right yes of course |
20:10:42 | dom96 | works on mobile and desktop |
20:10:56 | dom96 | and vibrates your phone, unless you're on iOS because Apple sucks :P |
20:12:08 | FromGitter | <Varriount> gangstacat: One moment |
20:13:51 | * | Vladar quit (Quit: Leaving) |
20:17:29 | dyce[m] | Wow just noticed karax, sounds great! |
20:20:37 | FromGitter | <Varriount> gangstacat: I've no idea why that error is appearing. |
20:21:08 | gangstacat | Varriount, got that too with countdown(index+1, 0): Error: conversion from int literal(0) to range 1..3(int) is invalid |
20:22:45 | FromGitter | <Varriount> gangstacat: It seems like a bug... but I would put it past things to be "defined behavior" >_< |
20:22:55 | captainkraft | nice work dom96 |
20:23:18 | dom96 | thanks :) |
20:23:30 | captainkraft | Is planet just an aggregator? |
20:25:02 | gangstacat | Varriount, should I open an issue for that? |
20:25:42 | FromGitter | <Varriount> gangstacat: Yes.. but try looking through both opened and closed issues to see if anything similar pops up. |
20:27:16 | Araq | gangstacat: the 'auto-range' type inference is considered to be a failure and will be removed from the language :-) |
20:27:35 | gangstacat | https://github.com/nim-lang/Nim/issues/5854 I guess it's that |
20:28:51 | gangstacat | so what could be a solution, is there one actually? |
20:29:25 | dom96 | captainkraft: yep |
20:29:33 | Araq | just insert a dummy type conversion to 'int' or something |
20:30:10 | gangstacat | oh, alright, thank you |
20:30:26 | gangstacat | that works (: |
20:31:00 | captainkraft | dom96: how does it pick up new posts? |
20:31:14 | dom96 | rss I guess |
20:31:25 | dom96 | federico3 is the one operating it |
20:33:10 | captainkraft | Ahh, I see. I'm curious what one needs to do to get their blog posts picked up. For instance, if I wrote a post about Nim, how to get it into the aggregator. |
20:39:25 | * | elrood quit (Quit: Leaving) |
20:40:32 | dom96 | This might help https://github.com/FedericoCeratto/nim-planet |
20:41:39 | * | Trustable quit (Remote host closed the connection) |
20:49:57 | * | nsf joined #nim |
20:57:43 | captainkraft | Coolio, thanks dom96 |
20:59:04 | * | rauss quit (Quit: WeeChat 1.8) |
21:00:12 | * | yglukhov_ joined #nim |
21:02:07 | * | yglukhov quit (Ping timeout: 268 seconds) |
21:04:10 | * | zachcarter quit (Ping timeout: 240 seconds) |
21:17:54 | * | yingjun joined #nim |
21:22:11 | * | yingjun quit (Ping timeout: 246 seconds) |
21:28:42 | * | ofelas quit (Quit: shutdown -h now) |
21:50:04 | * | zachcarter joined #nim |
21:51:52 | * | nsf quit (Quit: WeeChat 1.7.1) |
22:12:05 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:20:54 | * | rauss joined #nim |
22:25:09 | * | yglukhov_ quit (Remote host closed the connection) |
22:28:53 | * | libman joined #nim |
22:56:53 | FromGitter | <zacharycarter> I have my hot loading plugin system working now :D |
23:16:00 | captainkraft | high five |
23:16:16 | captainkraft | Ship it! |
23:30:35 | * | yglukhov joined #nim |
23:34:40 | * | yglukhov quit (Ping timeout: 240 seconds) |
23:47:55 | zachcarter | :) |
23:51:09 | * | vlad1777d quit (Remote host closed the connection) |