00:06:59 | * | watzon joined #nim |
00:19:53 | * | def-pri-pub joined #nim |
00:29:09 | watzon | Are there any libraries available yet that wrap V8 and allow you to actually use javascript within nim? |
00:32:24 | FromGitter | <Varriount> Watzon: I believe someone here was trying to wrap libcef |
00:38:14 | * | nsf quit (Quit: WeeChat 1.7.1) |
00:43:05 | * | v17d quit (Remote host closed the connection) |
00:51:22 | * | sz0 quit (Quit: Connection closed for inactivity) |
00:55:25 | * | oprypin quit (Quit: Bye) |
00:58:06 | * | oprypin joined #nim |
00:58:33 | * | FromGitter quit (Remote host closed the connection) |
01:05:12 | * | FromGitter joined #nim |
01:07:03 | * | couven92 quit (Quit: Client Disconnecting) |
01:09:19 | * | xet7 quit (Remote host closed the connection) |
01:12:27 | * | Matthias247 quit (Read error: Connection reset by peer) |
01:20:49 | * | chemist69 quit (Disconnected by services) |
01:20:54 | * | chemist69_ joined #nim |
01:26:23 | * | skrylar joined #nim |
01:36:55 | * | gangstacat quit (Ping timeout: 276 seconds) |
02:36:10 | * | watzon quit (Ping timeout: 240 seconds) |
02:37:35 | def-pri-pub | I'm trying to work on some raylib bindings right now. |
02:39:09 | def-pri-pub | I'm trying to get all the linking stuff working first. |
02:39:27 | def-pri-pub | I'm able to compile but the program's giving me the message: |
02:39:29 | def-pri-pub | libraylib.so: cannot open shared object file: No such file or directory |
02:39:29 | def-pri-pub | could not load: libraylib.so |
02:39:34 | def-pri-pub | ---- |
02:40:03 | def-pri-pub | I do have the .so in the same directory as the executable, and have tried adding the directory to the $PATH |
02:43:31 | def-pri-pub | Does anyone know what may be wrong here? |
02:47:21 | def-pri-pub | I have `const LIB_RAYLIB* = "libraylib.so"` at the top of the file, and each proc is bound using: |
02:47:42 | def-pri-pub | `{.importc, cdecl, dynlib: LIB_RAYLIB.}` |
02:48:10 | def-pri-pub | and `{.passL: "-lraylib".}` is at the top |
02:48:51 | def-pri-pub | I also tried switching out the .so with a static archive. Still didn't work and I got the same error message. |
02:58:09 | * | skrylar quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
03:01:38 | def-pri-pub | setting LD_LIBRARY_PATH isn't helping either |
03:01:59 | def-pri-pub | running `ldd` on the executable also showed that `libraylib.so` wasn't linked |
03:25:00 | * | chemist69_ quit (Ping timeout: 255 seconds) |
03:27:50 | * | chemist69 joined #nim |
03:33:28 | * | watzon_ joined #nim |
03:33:49 | FromGitter | <Varriount> Are access rights correct? |
03:34:02 | * | pilne joined #nim |
03:34:23 | * | skrylar joined #nim |
03:38:09 | * | watzon_ quit (Ping timeout: 248 seconds) |
03:50:02 | * | handlex joined #nim |
03:53:27 | def-pri-pub | Yeah, they are. |
03:59:42 | * | Syneh_ quit (Remote host closed the connection) |
04:12:34 | skrylar | sandisk painted this usb stick red. somehow i suspect it's not high-power draw |
04:16:00 | def-pri-pub | I have to go to bed now, but if anyone could figure out what's wrong that would be appreciated |
04:16:03 | def-pri-pub | exit |
04:16:04 | def-pri-pub | dammit |
04:16:05 | * | def-pri-pub quit (Quit: leaving) |
04:21:55 | FromGitter | <zacharycarter> damn |
04:22:06 | FromGitter | <zacharycarter> I missed def-pri-pub |
04:22:13 | FromGitter | <zacharycarter> I guess he doesn't know I'm in the middle of porting raylib :P |
04:32:43 | * | watzon_ joined #nim |
04:41:01 | FromGitter | <Varriount> ? |
04:41:26 | FromGitter | <Varriount> @zacharycarter What's raylib? |
04:46:30 | * | handlex quit (Quit: handlex) |
04:46:42 | FromGitter | <zacharycarter> @Varriount http://www.raylib.com/ |
04:47:10 | FromGitter | <zacharycarter> (https://files.gitter.im/nim-lang/Nim/YFsJ/Screen-Shot-2017-07-16-at-12.46.21-AM.png) |
04:55:59 | FromGitter | <zacharycarter> http://github.com/zacharycarter/zengine is the code so far |
04:58:13 | * | skrylar quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
05:01:28 | * | pilne quit (Quit: Quitting!) |
05:02:51 | FromGitter | <zacharycarter> any thoughts @Varriount ? |
05:17:19 | * | Snircle joined #nim |
05:19:11 | * | dddddd quit (Remote host closed the connection) |
05:34:00 | Araq | hmmm the compiler depends on 'cookies.nim', wtf |
05:34:51 | FromGitter | <zacharycarter> :D |
05:35:30 | FromGitter | <zacharycarter> the compiler's making me hungry |
05:55:03 | * | watzon_ quit (Ping timeout: 260 seconds) |
06:08:36 | * | skrylar joined #nim |
06:11:13 | * | kunev quit (Ping timeout: 248 seconds) |
06:13:40 | * | kunev joined #nim |
06:23:44 | * | Trustable joined #nim |
06:37:46 | * | watzon_ joined #nim |
06:51:26 | FromGitter | <ephja> what next? graphics.nim? ;) |
06:52:05 | Araq | nativesockets.nim ... |
06:58:32 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
07:00:44 | * | tankfeeder quit (Quit: Connection closed for inactivity) |
07:05:12 | FromGitter | <Varriount> @zacharycarter Well, as long as raylib doesn't restrict low-level opengl access, it looks like a good library. |
07:05:26 | FromGitter | <Varriount> I'm surprised I haven't heard of it before |
07:05:29 | FromGitter | <zacharycarter> it does not |
07:06:47 | FromGitter | <zacharycarter> I have quite a bit ported already |
07:06:48 | FromGitter | <Varriount> @zacharycarter *gasp*, and it's written in C (or has a C front-end) |
07:06:57 | FromGitter | <zacharycarter> all C :D |
07:07:11 | FromGitter | <Varriount> It reminds me of allegro, but in 3d |
07:07:33 | FromGitter | <zacharycarter> yeah I think the author mentioned they drew some inspiration from allegro |
07:07:40 | FromGitter | <zacharycarter> I could be mistaken though |
07:09:16 | FromGitter | <Varriount> And it doesn't have the odd convention of making type names LIKE_THIS |
07:11:00 | FromGitter | <Varriount> @zacharycarter I take it you've abandoned bgfx? |
07:12:45 | FromGitter | <zacharycarter> for this project yes |
07:12:52 | FromGitter | <zacharycarter> for the moment anyway |
07:13:06 | FromGitter | <zacharycarter> I think I could still add it back into this project fairly easily |
07:13:12 | FromGitter | <Varriount> It seemed to be giving you a bunch of trouble |
07:14:44 | FromGitter | <zacharycarter> well, I think it made getting going with frag a bear for new users |
07:14:58 | FromGitter | <zacharycarter> this project only requires opengl and sdl2 |
07:15:02 | FromGitter | <zacharycarter> not even glm |
07:15:24 | FromGitter | <zacharycarter> if anyone wants to clone it / play around with it |
07:15:40 | FromGitter | <zacharycarter> left shift pans the camera and left shift + alt rotates |
07:15:43 | FromGitter | <zacharycarter> mouse wheel zooms |
07:16:28 | FromGitter | <Varriount> And it requires raylib? Or is that included? |
07:16:34 | FromGitter | <zacharycarter> it doesn't |
07:16:36 | FromGitter | <zacharycarter> it's all nim |
07:16:58 | FromGitter | <zacharycarter> https://github.com/zacharycarter/zengine |
07:17:30 | FromGitter | <Varriount> Ah, you're porting raylib? |
07:17:42 | FromGitter | <zacharycarter> portions of it |
07:17:45 | FromGitter | <Varriount> Or basing your API on it |
07:17:49 | * | tankfeeder joined #nim |
07:17:51 | FromGitter | <zacharycarter> more of the latter |
07:18:56 | tankfeeder | my sha3 implementation is ready, pass all test vectors |
07:19:06 | * | Trustable quit (Remote host closed the connection) |
07:19:42 | tankfeeder | will add KangarooTwelve next week |
07:19:44 | FromGitter | <Varriount> tankfeeder: How does it compare with the other sha3 implementations? |
07:20:01 | * | andrzejku joined #nim |
07:21:10 | tankfeeder | its on nim and i trust it |
07:21:56 | FromGitter | <Varriount> I mean, there are other sha* libraries on Nimble, but they aren't exactly easy to use |
07:22:45 | tankfeeder | i dont care libraries, i like cook cake myself |
07:26:18 | tankfeeder | https://bitbucket.org/mihailp/sha3/src/default |
07:26:29 | tankfeeder | comments are always welcome |
07:37:21 | FromGitter | <Varriount> tankfeeder: An API like https://nim-lang.org/docs/hashes.html |
07:37:31 | FromGitter | <Varriount> Might be easier for people to use |
07:38:11 | Araq | yay, sha3, I need it soon |
07:39:51 | FromGitter | <Varriount> Araq: I've been using some other libraries on Nimble for my aws wrapper |
07:44:02 | * | xet7 joined #nim |
07:53:38 | Araq | varriount: I ported the full compiler to use immutable strings ... |
07:53:48 | Araq | it doesn't crash but is unusably slow :-) |
07:54:07 | Araq | it's just some bug though |
07:54:31 | Araq | still no performance numbers :-( |
07:56:21 | * | kier joined #nim |
08:02:38 | FromGitter | <Varriount> O: |
08:03:33 | FromGitter | <Varriount> Araq: Yesterday someone at my workplace called you a genius. |
08:04:36 | Araq | I'm not a genius. I just try to not to be too stupid |
08:32:24 | * | Ven joined #nim |
08:32:47 | * | Ven is now known as Guest47238 |
08:50:03 | * | Guest47238 quit (Ping timeout: 260 seconds) |
08:54:07 | * | Matthias247 joined #nim |
08:58:02 | * | Ven_ joined #nim |
09:06:15 | * | nsf joined #nim |
09:09:36 | ftsf_ | Araq, \o/ |
09:20:54 | * | couven92 joined #nim |
09:26:00 | FromGitter | <watzon> Properties on objects aren't supposed to be immutable are they? |
09:27:04 | FromGitter | <watzon> For some reason this is giving me an error and I can't figure it out: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=596b31684bcd78af56b52b85] |
09:32:45 | FromGitter | <mratsim> on ref object they are not immutable, on stack allocated object they are I think |
09:33:47 | FromGitter | <mratsim> in any case style-wise you should require var for anything that mutates the input |
09:34:35 | FromGitter | <watzon> @mratsim would you mind giving an example? I'm still new to this |
09:34:56 | FromGitter | <watzon> What do you mean by "require var"? |
09:36:06 | * | v17d joined #nim |
09:40:04 | FromGitter | <mratsim> ```proc forward*(t: var Tokenizer) = ⏎ inc(t.index)``` [https://gitter.im/nim-lang/Nim?at=596b3473329651f46e90c4d5] |
09:41:24 | FromGitter | <watzon> @mratsim thanks! I didn't realize you could do that |
09:42:04 | * | Ven_ quit (Ping timeout: 255 seconds) |
09:45:16 | * | yglukhov joined #nim |
09:48:08 | * | yglukhov quit (Remote host closed the connection) |
09:56:26 | * | Ven joined #nim |
09:56:28 | * | Ven is now known as Guest11421 |
10:01:46 | * | Guest11421 quit (Ping timeout: 246 seconds) |
10:16:35 | * | Ven_ joined #nim |
10:26:24 | * | Ven_ quit (Ping timeout: 260 seconds) |
10:39:18 | * | Ven_ joined #nim |
10:40:02 | * | Ven_ quit (Client Quit) |
10:43:32 | * | gangstacat joined #nim |
10:59:48 | * | Tiberium joined #nim |
11:00:03 | * | andrzejku quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
11:03:54 | FromGitter | <zacharycarter> ftsf: o/ |
11:10:58 | ftsf_ | ahoy! |
11:15:42 | FromGitter | <zacharycarter> ftsf_: http://github.com/zachcarycarter/zengine |
11:15:55 | FromGitter | <zacharycarter> sorry https://github.com/zacharycarter/zengine |
11:16:19 | ftsf_ | awesome |
11:16:34 | FromGitter | <zacharycarter> thanks |
11:24:30 | * | irrequietus joined #nim |
11:33:14 | FromGitter | <watzon> How can you combine char's to make a string? |
11:33:40 | ftsf_ | $(['a','b','c']) |
11:46:28 | * | xet7 quit (Quit: Leaving) |
11:52:01 | * | xet7 joined #nim |
12:11:07 | * | pilne joined #nim |
12:27:47 | * | xet7_ joined #nim |
12:28:36 | * | dddddd joined #nim |
12:30:04 | * | watzon_ quit (Ping timeout: 260 seconds) |
12:31:45 | * | xet7 quit (Ping timeout: 258 seconds) |
12:32:03 | * | watzon_ joined #nim |
12:36:22 | FromGitter | <watzon> Here's another one for you. I am trying to use a pattern from javascript in nim and it's not working for obvious reasons. In javascript basic assignment (`t = someFunction()`) returns the returned value of the function. Therefore something like this: ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ Any ideas how I could accomplish this in nim? [https://gitter.im/nim-lang/Nim?at=596b5dc6bf7e6af22ce2d3fc] |
12:38:06 | FromGitter | <watzon> This is the full block so far: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=596b5e2e3230e14f3a63dd3e] |
12:44:16 | * | Matthias247 quit (Read error: Connection reset by peer) |
12:51:59 | * | irrequietus quit (Ping timeout: 246 seconds) |
13:00:22 | FromGitter | <indy9000_twitter> I can see intToStr but where is floatToStr ? |
13:01:17 | FromGitter | <dxe4> anyone knows why CsvParser.open segfaults when i use nim as a python extension but works fine when i use it as standalone ? |
13:01:41 | def- | indy9000_twitter: $ stringifies everything |
13:05:31 | * | andrzejku joined #nim |
13:09:14 | FromGitter | <watzon> Is there any way to use an anonymous proc inside of an if/elif? Maybe that would solve my problem? |
13:09:59 | * | skrylar quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
13:23:14 | * | xet7_ quit (Quit: Leaving) |
13:23:35 | * | xet7 joined #nim |
13:24:16 | * | irrequietus joined #nim |
13:26:40 | * | Snircle joined #nim |
13:28:01 | * | watzon_ quit (Ping timeout: 276 seconds) |
13:32:41 | FromGitter | <dxe4> never mind the problem seem to come from this STRING_LITERAL(TM_xgSOGG8fvQlwPH9bPyp9bbTg_6, "path_here", 36); if i pass it as arguement it works |
13:34:45 | * | xet7_ joined #nim |
13:35:10 | * | def- quit (Quit: -) |
13:37:33 | * | xet7 quit (Ping timeout: 240 seconds) |
13:38:05 | * | def- joined #nim |
13:48:03 | FromGitter | <mratsim> @watzon you can create a proc that is valid inside the scope of your proc. It can also capture the environment: https://github.com/mratsim/Arraymancer/blob/master/src/arraymancer/display.nim#L76 |
13:50:44 | FromGitter | <mratsim> You can do “if let” if you want to by the way, just adapt this “while let” construct: https://gist.github.com/mratsim/e0c7f2eefb8fa91fb27f0cd9a97cff00 |
13:54:09 | FromGitter | <mratsim> ```while (let cur = t.forward(cur); isNewLine(cur)):``` ⏎ ⏎ assuming `t.forward` has a return value. [https://gitter.im/nim-lang/Nim?at=596b7000bf7e6af22ce31194] |
14:10:58 | * | nsf quit (Quit: WeeChat 1.7.1) |
14:12:13 | FromGitter | <mratsim> This forum thread is broken, clicking on page 2 gives 404: https://forum.nim-lang.org/t/3046 |
14:12:48 | FromGitter | <mratsim> Maybe for @dom96 ? |
14:18:14 | * | endragor joined #nim |
14:23:49 | * | watzon_ joined #nim |
14:26:39 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
14:28:36 | * | watzon_ quit (Ping timeout: 260 seconds) |
14:29:32 | FromGitter | <Varriount> @dxe4 Could you show us your python extension code? |
14:29:49 | FromGitter | <Varriount> Are you sure you're interfacing with the CPython API correctly? |
14:31:18 | FromGitter | <Varriount> @mratsim You're on fire this morning. :D |
14:33:00 | dom96 | mratsim: fixed |
14:42:20 | FromGitter | <dxe4> @Varriount yeah the python code is preety basic i found out that there is a problem with passing a char * into nim |
14:42:50 | FromGitter | <Varriount> Anything I can help with? |
14:43:06 | FromGitter | <dxe4> static PyObject* foobar(PyObject* self, PyObject* args) ⏎ { ⏎ ⏎ ```code paste, see link``` ⏎ ... [https://gitter.im/nim-lang/Nim?at=596b7b7a89aea4761da3b714] |
14:44:16 | FromGitter | <dxe4> i do this, if the nim func receives fp: string, the first 15 chars are truncated, if i received a cstring and cast it to string i get a segfault when using the string |
14:45:34 | FromGitter | <dxe4> i think its not that much python related but mostly calling nim from c, if change it to be read_csv("/home/...") its the same issue |
14:48:48 | * | Sentreen quit (Ping timeout: 260 seconds) |
14:51:05 | FromGitter | <mratsim> @Varriount :D Recharged my batteries with hiking, it was a long weekend in France (Friday was National day) |
14:55:18 | koppeh | Hey o/ Trying to look into some Nim game development resources again. Specifically setting up basic graphics stuff at the moment. What would you guys recommend? |
15:01:03 | * | Sentreen joined #nim |
15:01:10 | * | xet7_ quit (Ping timeout: 240 seconds) |
15:06:21 | * | Tiberium quit (Remote host closed the connection) |
15:09:04 | * | nsf joined #nim |
15:14:13 | * | xet7_ joined #nim |
15:23:18 | * | mosORadi joined #nim |
15:24:26 | * | watzon joined #nim |
15:28:35 | * | watzon quit (Ping timeout: 240 seconds) |
15:29:17 | * | nsf quit (Quit: WeeChat 1.9) |
15:34:16 | * | yglukhov joined #nim |
15:35:03 | yglukhov | Araq: "deallocOsPages" - will threadpool be usable after that? |
15:35:10 | yglukhov | also what about finalizers? |
15:36:11 | * | irrequietus quit () |
15:54:57 | * | xet7_ quit (Ping timeout: 240 seconds) |
15:56:57 | * | nsf joined #nim |
15:57:32 | * | yglukhov quit (Remote host closed the connection) |
16:00:54 | FromGitter | <Varriount> koppeh: Well, @zacharycarter is working on a 3d engine. |
16:01:23 | FromGitter | <Varriount> If you don't mind creating a wrapper, http://www.raylib.com/ looks good too. |
16:01:44 | FromGitter | <Varriount> There are SDL bindings available |
16:02:04 | FromGitter | <Varriount> I mean, there are SDL bindings on Nimble |
16:08:01 | * | xet7_ joined #nim |
16:09:39 | * | xet7_ is now known as xet7 |
16:17:33 | koppeh | Thanks @Varriount, raylib seems like it would help with a bunch of overhead. |
16:17:42 | koppeh | Now.. I guess there's no Nim mappings for it..? |
16:21:29 | FromGitter | <mratsim> @zacharycarter is also writing bindings on a subset of raylib |
16:24:59 | * | def-pri-pub joined #nim |
16:25:27 | def-pri-pub | zacharycarter: So you're trying to port the entirty of RayLib over to pure Nim? |
16:25:43 | * | watzon joined #nim |
16:29:15 | koppeh | Uhmm.. is this unrelated to the questions I just asked? |
16:29:35 | koppeh | Because if so that's one funny coincidence. |
16:29:46 | koppeh | I just read your comment on raylib's issues page. |
16:30:13 | * | watzon quit (Ping timeout: 255 seconds) |
16:31:20 | def-pri-pub | Which page? Link pls? |
16:32:21 | FromGitter | <Varriount> @mratsim I was given the impression @zacharycarter was writing an engine that used raylib's api as inspiration. |
16:32:39 | def-pri-pub | Oh that. |
16:32:44 | def-pri-pub | Yeah, I was reading the logs. |
16:32:53 | def-pri-pub | I though it was something posted in RayLib's issue tracker |
16:33:30 | koppeh | def-pri-pub: https://github.com/raysan5/raylib/issues/292 |
16:33:32 | * | yglukhov joined #nim |
16:33:38 | FromGitter | <indy9000_twitter> what's the closest equivalent to this: `printf("a=%0.3f, b=%0.4f", f1,f2)` |
16:33:51 | * | Trustable joined #nim |
16:35:05 | * | yglukhov quit (Remote host closed the connection) |
16:35:36 | * | gokr joined #nim |
16:36:01 | koppeh | formatFloat? Not quite sure what that format string does. Take a look through https://nim-lang.org/docs/strutils.html ? |
16:36:32 | * | yglukhov joined #nim |
16:40:21 | * | yglukhov quit (Remote host closed the connection) |
16:40:35 | FromGitter | <ephja> https://bitbucket.org/lyro/strfmt |
16:48:42 | * | vivus joined #nim |
17:07:54 | def-pri-pub | I'm really perplexed on how my Nim binary isn't able to open the .so file. I tried installing it to `/usr/local/lib`, which should be in the .so search path, but well, it's still not working. |
17:09:10 | def-pri-pub | I ported over the source for the `core_basic_window` example. When I run `ldd` on the C binary and the Nim binary, I'm getting completely different results |
17:09:58 | def-pri-pub | http://termbin.com/i4y4 <- `ldd` on the Nim binary |
17:10:20 | def-pri-pub | (0x00007f4a148f7000) |
17:10:35 | def-pri-pub | http://termbin.com/bu7h |
17:10:42 | def-pri-pub | And that's for `ldd` on the C binary |
17:10:44 | * | tankfeeder quit (Quit: Connection closed for inactivity) |
17:12:30 | def-pri-pub | Any ideas? |
17:20:41 | * | deep-book-gk_ joined #nim |
17:21:29 | * | deep-book-gk_ left #nim (#nim) |
17:26:16 | * | tankfeeder joined #nim |
17:26:55 | tankfeeder | Sha3 library pushed to packages |
17:27:20 | tankfeeder | Sha3 library pushed to packages |
17:36:55 | * | cspar_ joined #nim |
17:38:48 | * | cspar quit (Ping timeout: 240 seconds) |
17:43:05 | * | mosORadi quit (Quit: Connection closed for inactivity) |
17:59:17 | * | nsf quit (Quit: WeeChat 1.9) |
18:05:59 | def-pri-pub | Well, if anyone wants to see what I have so far in regards to raylib bindings, here: |
18:06:02 | def-pri-pub | https://gitlab.com/define-private-public/raylib-Nim |
18:06:11 | def-pri-pub | I'm going to see if I can have some better luck binding on OS X later |
18:13:55 | * | SeVenSiXseVeN joined #nim |
18:17:09 | * | SeVenSiXseVeN quit (Read error: Connection reset by peer) |
18:30:54 | * | Jesin quit (Quit: Leaving) |
18:41:27 | * | mosORadi joined #nim |
18:42:42 | * | yglukhov joined #nim |
18:49:22 | FromGitter | <watzon> @mratsim you are my savior! Thank you! |
18:49:39 | * | watzon joined #nim |
18:51:09 | Zevv | Does C have an equivalent of C static variables inside function scope? |
18:51:31 | Zevv | aka, I want the variable to survive over function calls |
18:53:11 | def-pri-pub | Zevv: erm, I don't think so. Easiest thing to do would be to declare the variable outside of the function |
18:54:38 | FromGitter | <zacharycarter> def-pri-pub: I don't know about the entirety |
18:54:42 | FromGitter | <zacharycarter> but a lot of it yes I plan on porting |
18:54:47 | FromGitter | <zacharycarter> you can already check it out |
18:54:58 | FromGitter | <zacharycarter> http://github.com/zacharycarter/zengine |
18:55:19 | yglukhov | Zevv: {.global.} |
18:55:33 | Zevv | thanks! |
18:55:51 | def-pri-pub | zacharycarter: I've already been poking through it |
18:56:05 | FromGitter | <zacharycarter> ah cool :D |
18:56:06 | def-pri-pub | I'm still a little perplexed with what's been happening with the dynamic linking though |
18:56:32 | FromGitter | <zacharycarter> it may be some relative path nonsense on linux |
18:56:57 | FromGitter | <zacharycarter> at least from a cursory glance that's what it sounds like to me |
18:57:18 | def-pri-pub | I did try installing it to `/usr/local/lib`, still no luck |
18:57:23 | FromGitter | <zacharycarter> hrm |
18:57:31 | def-pri-pub | I'm going to try on OS X later to see if I can get it working there |
18:57:56 | FromGitter | <zacharycarter> may need that one linker argument let me try to find it |
18:58:15 | def-pri-pub | If you check the logs, I think I posted a link to the bindings so far |
18:58:33 | FromGitter | <zacharycarter> yeah I just saw them |
19:00:28 | FromGitter | <zacharycarter> @mratsim @Varriount I am indeed writing an engine from scratch for Nim, no bindings to raylib |
19:03:43 | FromGitter | <zacharycarter> def-pri-pub I can try to lend some hand with the bindings later this evening |
19:03:50 | FromGitter | <zacharycarter> have to run out to a birthday party soon |
19:03:52 | def-pri-pub | Sure, sounds good to me |
19:03:59 | def-pri-pub | Do you work primary on O |
19:04:05 | def-pri-pub | OS X, Windows, or Linux? |
19:04:55 | FromGitter | <zacharycarter> osx |
19:04:59 | def-pri-pub | gotcha |
19:05:21 | FromGitter | <zacharycarter> also if you have spare cycles and want to contribute to the port, any and all help is welcome |
19:05:28 | FromGitter | <zacharycarter> so far I have quite a bit of the underlying opengl code ported |
19:05:41 | FromGitter | <zacharycarter> I need to work on loading and rendering obj models |
19:05:58 | FromGitter | <zacharycarter> but I have a feeling one could already make a breakout clone with what I've ported |
19:06:47 | yglukhov | zacharycarter: got any opinion about https://github.com/yglukhov/rod? |
19:07:58 | * | watzon quit (Ping timeout: 276 seconds) |
19:08:13 | FromGitter | <zacharycarter> I think rod is probably going to be the best option we have, but it needs docs |
19:08:20 | FromGitter | <zacharycarter> :D |
19:08:29 | def-pri-pub | looks neat |
19:08:38 | FromGitter | <zacharycarter> also I'm not sure how all the adobe extras tie in |
19:08:41 | def-pri-pub | But I have no idea what I'm doing when I click buttons |
19:09:17 | def-pri-pub | zacharycarter: Artists like Adobe After Effects, a lot. Probably makes for easy art integration |
19:09:23 | FromGitter | <zacharycarter> when I first started with Nim I toyed with rod and you've worked on it a whole bunch since then Yuri so I'm guessing it's way more feature rich than when I toyed with it |
19:09:30 | FromGitter | <zacharycarter> gotcha, makes sense |
19:09:58 | * | jsgrant joined #nim |
19:11:18 | yglukhov | zacharycarter: adobe stuff is just an importer for after effects scenes. it is untied from the rest of the engine. |
19:12:08 | FromGitter | <zacharycarter> gotcha |
19:12:24 | FromGitter | <zacharycarter> @yglukhov I'd love to spend some time with rod and learn how to use it, it looks powerful in the right hands |
19:12:52 | FromGitter | <zacharycarter> @yglukhov mainly not my hands :P |
19:13:16 | FromGitter | <zacharycarter> is there any plans for public docs or is that still on the backburner / will get done when there's time? |
19:13:25 | yglukhov | zacharycarter: thanks for your kind words. i hope i'll get to the docs eventually |
19:13:39 | def-pri-pub | yglukov: how many Nim projects do you juggle at a time? |
19:13:53 | FromGitter | <zacharycarter> good question |
19:14:18 | yglukhov | haha, see my profile + a small bunch of proprietary =) |
19:17:21 | * | Nobabs27 joined #nim |
19:21:36 | * | nsf joined #nim |
19:24:01 | * | Nobabs27 quit (Quit: Leaving) |
19:36:04 | * | Matthias247 joined #nim |
19:54:37 | * | Trustable quit (Remote host closed the connection) |
20:28:36 | * | ketralnis joined #nim |
20:49:08 | * | yglukhov quit (Remote host closed the connection) |
20:51:08 | * | mosORadi quit (Quit: Connection closed for inactivity) |
20:54:51 | * | endragor quit (Remote host closed the connection) |
20:55:24 | * | endragor joined #nim |
20:59:27 | * | sz0 joined #nim |
20:59:49 | * | endragor quit (Ping timeout: 255 seconds) |
21:07:47 | Zevv | I have various warnings in system and table libraries, "Cannot prove that 'r' is initialized." |
21:07:50 | Zevv | lib/nim/pure/collections/tables.nim(324, 3) |
21:07:51 | Zevv | lib/nim/system.nim(212, 7) |
21:08:18 | Zevv | is that something I'm causing in my code, or is there something smelly in the libs? |
21:08:19 | * | endragor joined #nim |
21:09:08 | * | andrzejku quit (Quit: Textual IRC Client: www.textualapp.com) |
21:12:30 | * | endragor quit (Ping timeout: 240 seconds) |
21:13:30 | FromGitter | <zacharycarter> not something you |
21:13:46 | FromGitter | <zacharycarter> 're causing, I'm not sure what exactly causes the issue but it's known |
21:13:57 | Zevv | ok |
21:14:42 | FromGitter | <zacharycarter> I'm making some assumptions here, but I encounter the problem quite frequently when using SDL2 |
21:15:05 | FromGitter | <zacharycarter> and by assumptions I mean I assume you're not doing something stupid / crazy and causing the warning to be thrown |
21:15:18 | FromGitter | <zacharycarter> without seeing code I can't be 100% certain |
21:15:22 | FromGitter | <zacharycarter> but for instance thi scauses it - |
21:16:05 | FromGitter | <zacharycarter> https://play.nim-lang.org/?code=import%20sdl2%0A%0Avar%20%0A%20%20evt%20%3D%20sdl2.defaultEvent |
21:16:35 | dom96 | report these kinds of things guys |
21:16:44 | dom96 | (if you haven't already) |
21:17:03 | Zevv | Sure |
21:20:38 | * | mwbrown quit (Quit: Exiting) |
21:29:00 | FromGitter | <zacharycarter> (https://files.gitter.im/nim-lang/Nim/YtHo/test.gif) |
21:31:06 | FromGitter | <ephja> I thought gitter was glitching |
21:32:28 | * | gokr quit (Ping timeout: 260 seconds) |
21:33:58 | FromGitter | <zacharycarter> whoops |
21:34:07 | FromGitter | <zacharycarter> my bad |
21:34:15 | FromGitter | <zacharycarter> tried to cancel that, dragged the wrong file accidentally |
21:42:21 | * | gokr joined #nim |
21:54:18 | * | gokr quit (Quit: Leaving.) |
22:21:19 | * | Syneh_ joined #nim |
22:46:33 | * | dddddd quit (Ping timeout: 240 seconds) |
22:49:40 | * | def-pri-pub quit (Quit: leaving) |
22:50:44 | * | tankfeeder quit (Quit: Connection closed for inactivity) |
22:55:33 | * | watzon joined #nim |
22:59:40 | * | dddddd joined #nim |
23:00:01 | * | couven92 quit (Quit: Client Disconnecting) |
23:13:02 | * | sz0 quit (Quit: Connection closed for inactivity) |
23:33:26 | * | nsf quit (Quit: WeeChat 1.9) |
23:37:08 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:39:07 | * | mwbrown joined #nim |
23:42:17 | * | rauss joined #nim |
23:43:09 | * | rauss quit (Client Quit) |
23:44:15 | * | rauss joined #nim |
23:46:17 | * | mwbrown quit (Quit: Exiting) |
23:48:36 | * | mwbrown joined #nim |