00:03:40 | * | BitPuffin goes back to the nimrod manual |
00:15:09 | * | EXetoC quit (Quit: WeeChat 0.4.1) |
00:15:33 | * | BitPuffin quit (Ping timeout: 248 seconds) |
00:31:14 | * | Sergio965 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
01:41:17 | * | q66 quit (Quit: Leaving) |
02:24:24 | * | zahary___ joined #nimrod |
02:24:27 | * | zahary___ is now known as zahary_ |
02:25:16 | * | Trix[a]r_za is now known as Trixar_za |
02:27:17 | * | zahary__ quit (Ping timeout: 248 seconds) |
04:34:38 | * | Trixar_za is now known as Trix[a]r_za |
05:36:37 | * | OrionPK quit (Read error: Connection reset by peer) |
06:34:24 | * | Boscop quit (Disconnected by services) |
06:34:26 | * | Boscop joined #nimrod |
06:34:27 | * | XAMPP_ joined #nimrod |
06:43:45 | * | XAMPP quit (*.net *.split) |
07:29:25 | * | EXetoC joined #nimrod |
09:16:51 | * | exhu joined #nimrod |
09:16:56 | * | Associat0r quit (Quit: Associat0r) |
09:17:43 | exhu | Hey, Araq, look at https://github.com/Araq/Nimrod/issues/516 , can't fix x11 wrappers without it |
09:19:23 | * | exhu quit (Client Quit) |
10:50:28 | * | q66 joined #nimrod |
12:03:28 | * | Associat0r joined #nimrod |
12:03:29 | * | Associat0r quit (Changing host) |
12:03:29 | * | Associat0r joined #nimrod |
12:36:05 | * | Associat0r quit (Quit: Associat0r) |
13:36:58 | * | BitPuffin joined #nimrod |
13:45:36 | * | gradha joined #nimrod |
13:58:20 | dom96 | hrm, GorillaScript seems to be dash insensitive, interesting. |
14:01:30 | gradha | but what does it mean |
14:02:28 | dom96 | myVar == my-var I think |
14:03:44 | gradha | oh joy |
14:06:42 | dom96 | Can you think of any reasons why that would be a bad idea? |
14:07:43 | gradha | most of the sf site links seem dead, and the chm I was able do download seems a placeholder, but it depends on how those dash insensitive vars are used |
14:08:22 | gradha | if put in the context of nimrod, or python, you have a problem with duplicate names because vars don't match filenames |
14:08:43 | gradha | at least in nimrod you can't import dbSqlite, so if you add more, more hilarity is predicted |
14:09:20 | gradha | this is not a bad thing per se, it's just that it seems to add one more option to the problematic 1:N mapping |
14:09:41 | dom96 | well what if it's limited to variables only? |
14:10:41 | gradha | that would create even more confusion: you can use dashes on a variable, but can't use it on a module import |
14:10:58 | gradha | suddenly my-var is ok, but db-sqlite.open is not, why? |
14:11:06 | gradha | again, this is just speculation |
14:11:39 | gradha | maybe we should turn the question around, what does the language gain by using dashes as an insensitive separator, especially when the dash is hardcoded into most people as substraction? |
14:13:07 | dom96 | ahh yeah. When considering that a dash means 'subtraction' it does seem like an issue. |
14:13:13 | * | Trix[a]r_za is now known as Trixar_za |
14:15:51 | gradha | compared to nimrod, you can't import dbSqlite, but you can use dbSqlite.open(), so I guess the previous case is fine with dashes too |
14:18:07 | * | alexandrus joined #nimrod |
14:33:58 | * | BitPuffin quit (Ping timeout: 256 seconds) |
14:34:17 | * | BitPuffin joined #nimrod |
14:40:49 | EXetoC | woot |
14:53:03 | * | OrionPK joined #nimrod |
15:21:39 | * | gradha quit (Quit: bbl, need to watch https://www.youtube.com/watch?v=1ZZC82dgJr8 again) |
17:35:21 | Araq | you can import sbSqlite of course, it's just that case matters on unix |
18:05:14 | EXetoC | "TVec2* = array[0..1, float32] ... TVec2([0.0, 0.0])" this should work, right? there's no need to specify 'f32 in other cases |
18:05:52 | Araq | I don't think so |
18:06:27 | EXetoC | right |
18:06:58 | Araq | there is a conversion from float lit to float32 but this conversion doesn't cover arrays |
18:08:12 | EXetoC | ok, will focus on the ICE then |
18:08:39 | EXetoC | I don't like bugs |
18:11:01 | * | alexandrus quit (Ping timeout: 246 seconds) |
19:22:45 | EXetoC | Araq: https://gist.github.com/EXetoC/5944580 seems like valid code. is it? |
19:23:24 | * | Mat2 joined #nimrod |
19:23:28 | Mat2 | hello |
19:24:34 | EXetoC | hi |
19:40:19 | dom96 | hi |
19:40:30 | * | exhu joined #nimrod |
19:40:40 | exhu | hi all |
19:40:48 | dom96 | hi |
19:41:13 | Mat2 | hmm, if I define a record and compile it as module, are only the members of it signaled as public known or is it only possible to declare the whole structure this way ? |
19:41:16 | Mat2 | hello |
19:41:17 | exhu | digging xlib.h and current bindings, is it ok if i write access procs like field names in XEvent union: http://pastebin.com/hwr3f20F ? |
19:43:25 | exhu | it's unsafe but its usage resembles original C code |
19:43:58 | EXetoC | Mat2: I think you need '*' on every field. it's just one extra character though so I don't mind |
19:45:07 | Mat2 | thanks |
19:45:12 | EXetoC | also, you can use a tuple if you don't want to hide anything |
19:45:54 | * | alexandrus joined #nimrod |
19:50:03 | exhu | http://pastebin.com/ZHmDfXzN to map with http://pastebin.com/hwr3f20F |
19:58:29 | exhu | In case Araq is online, i've continued here http://forum.nimrod-code.org/t/176 |
20:01:10 | * | BitPuffin quit (Ping timeout: 276 seconds) |
20:02:43 | * | BitPuffin joined #nimrod |
20:04:51 | * | exhu quit (Quit: Ex-Chat) |
20:09:53 | * | BitPuffin quit (Ping timeout: 240 seconds) |
20:11:29 | Mat2 | ok, objects are what I want; Sorry but how I define an union ? |
20:13:07 | Mat2 | (or variadic record in Pascal teminology) |
20:13:27 | dom96 | http://build.nimrod-code.org/docs/manual.html#object-variants |
20:13:45 | dom96 | I'm not sure whether it directly translates to a C union though. |
20:15:45 | Mat2 | thanks again |
20:23:30 | Araq | EXetoC: there is no TArray([x, y, z]) conversion, arrays are structural types, just use [x, y, z] instead |
20:24:13 | Araq | also array[0..1, T]|array[0..2, T]|array[0..3, T] seems like a good way to stress test/break the compiler |
20:46:29 | EXetoC | :> |
20:47:15 | EXetoC | that makes sense |
21:01:26 | Mat2 | ciao |
21:01:35 | * | Mat2 quit (Quit: Verlassend) |
22:07:27 | * | EXetoC quit (Quit: WeeChat 0.4.1) |
22:09:09 | * | EXetoC joined #nimrod |
22:28:13 | * | Trixar_za is now known as Trix[a]r_za |
22:34:42 | * | Trix[a]r_za is now known as Trixar_za |
22:50:56 | * | Trixar_za is now known as Trix[a]r_za |
23:01:10 | NimBot | Araq/Nimrod master c385110 Grzegorz Adam Hankiewicz [+0 ±3 -0]: Documents passC/passL pragmas. Refs #506. |
23:01:10 | NimBot | Araq/Nimrod master 683e3b4 Araq [+0 ±3 -0]: Merge pull request #512 from gradha/pr_documents_gorgeous_pragmas... 2 more lines |
23:01:52 | NimBot | Araq/Nimrod master 6b199f7 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Extends align proc with default padding parameter. |
23:01:52 | NimBot | Araq/Nimrod master ce24b05 Araq [+0 ±1 -0]: Merge pull request #513 from gradha/pr_extends_align... 2 more lines |
23:03:08 | NimBot | Araq/Nimrod master 4e9547e Yury Benesh [+0 ±2 -0]: Moved linker flags to the end of cmd line in build.sh and bat templates |
23:03:08 | NimBot | Araq/Nimrod master 00f78fe Araq [+0 ±2 -0]: Merge pull request #514 from exhu/fix_csource_tmpl... 2 more lines |
23:05:19 | NimBot | Araq/Nimrod master 5e73de5 Grzegorz Adam Hankiewicz [+1 ±1 -0]: Adds more idetools suggest failure cases. |
23:05:19 | NimBot | Araq/Nimrod master 0ccfc08 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Forces removal of nimcache dir for all caas runs.... 3 more lines |
23:05:19 | NimBot | Araq/Nimrod master 7f88f30 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Adds caas and idetools keywords to The One And Only Great Index. |
23:05:19 | NimBot | Araq/Nimrod master 82232a7 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Mentions expected order of idetools suggest results. |
23:05:19 | NimBot | 5 more commits. |
23:07:00 | NimBot | Araq/Nimrod master 731791d Robert Persson [+2 ±0 -0]: Added poly and numeric modules |
23:07:00 | NimBot | Araq/Nimrod master 4fc5c95 Robert Persson [+0 ±2 -0]: Cleanup of poly an numeric modules... 2 more lines |
23:07:00 | NimBot | Araq/Nimrod master 972cd49 Robert Persson [+0 ±2 -0]: Fixed a mixed bag of stuff poly and numeric |
23:07:00 | NimBot | Araq/Nimrod master 2e8adcf Robert Persson [+0 ±1 -0]: Optimized divMod in poly... 3 more lines |
23:07:00 | NimBot | 3 more commits. |
23:11:03 | * | alexandrus quit () |
23:28:22 | * | EXetoC quit (Quit: WeeChat 0.4.1) |