00:01:35 | EXetoC | an emitted Qt hello world is not very useful, but it's a start |
00:03:14 | EXetoC | a little bit of fun spanning 500 hours is all that's needed really |
00:06:24 | * | j3rky is now known as j3rky|afk |
00:11:04 | Joe_knock | EXetoC: Share the link to the code? I will attempt to contrib there |
00:12:25 | EXetoC | Joe_knock: it's just code in an emit string, but ok |
00:15:15 | Joe_knock | aah, was hoping this was a start to something :P |
00:17:15 | EXetoC | maybe |
00:19:06 | * | Joe_knock quit (Quit: Leaving) |
00:30:16 | bouliiii | Are macros always evaluated with pre-order traversal? |
00:30:34 | bouliiii | My first experiment says yes. But is it something that is ensured? |
00:31:36 | bouliiii | stmt macro inside a stmt macro has a weird AST. This is a call actually |
00:33:41 | bouliiii | Oh sorry actually. my question is confusing. When a macro A is used inside a macro B, macro A is always expended after macro B expansion? |
00:34:26 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:34:39 | bouliiii | (here macro A and B are both stmt macros) |
00:35:43 | * | Trustable quit (Remote host closed the connection) |
00:40:57 | * | saml_ joined #nimrod |
00:57:18 | * | Hakaslak quit (Quit: TODO: Generate 'Computer Sleep Quit Message') |
00:58:05 | * | AMorpork is now known as AFKMorpork |
00:58:13 | * | BitPuffi1 joined #nimrod |
00:59:16 | * | BitPuffin quit (Ping timeout: 258 seconds) |
01:07:06 | * | kniteli joined #nimrod |
01:14:38 | * | will quit (Read error: Connection reset by peer) |
01:23:37 | * | Demos joined #nimrod |
01:38:05 | * | bobryan joined #nimrod |
01:38:45 | * | kniteli quit (Ping timeout: 258 seconds) |
01:38:57 | * | bobryan left #nimrod (#nimrod) |
01:43:49 | * | darkf joined #nimrod |
01:44:06 | * | steaksandwich joined #nimrod |
01:44:44 | steaksandwich | hello |
01:45:38 | * | steaksandwich left #nimrod (#nimrod) |
01:51:17 | * | kniteli joined #nimrod |
01:55:50 | * | BitPuffi1 quit (Ping timeout: 255 seconds) |
02:14:54 | * | q66 quit (Quit: Leaving) |
02:27:18 | * | j3rky|afk quit (Quit: Konversation terminated!) |
02:34:47 | * | AFKMorpork is now known as AMorpork |
02:47:53 | * | flaviu quit (Read error: Connection reset by peer) |
02:50:21 | * | flaviu joined #nimrod |
03:02:53 | * | brson quit (Quit: leaving) |
03:04:32 | * | brson joined #nimrod |
03:08:04 | * | Hakaslak joined #nimrod |
03:08:27 | * | kniteli quit (Ping timeout: 258 seconds) |
03:12:56 | * | Hakaslak quit (Client Quit) |
03:17:01 | * | Hakaslak joined #nimrod |
03:17:38 | * | onionhammer quit (Quit: WeeChat 1.0.1) |
03:20:41 | * | kniteli joined #nimrod |
03:21:39 | * | Hakaslak quit (Ping timeout: 264 seconds) |
03:21:54 | * | onionhammer joined #nimrod |
03:24:08 | * | brson quit (Quit: leaving) |
03:26:10 | * | q66[lap] quit (Read error: Connection reset by peer) |
03:28:33 | * | q66[lap] joined #nimrod |
04:24:21 | * | kniteli quit (Ping timeout: 258 seconds) |
04:36:24 | * | kniteli joined #nimrod |
04:45:39 | * | flaviu quit (Ping timeout: 264 seconds) |
04:46:15 | * | saml_ quit (Quit: Leaving) |
04:48:07 | * | kniteli quit (Ping timeout: 258 seconds) |
05:00:28 | * | kniteli joined #nimrod |
05:17:38 | * | kniteli quit (Ping timeout: 258 seconds) |
05:29:43 | * | kniteli joined #nimrod |
05:51:04 | * | untitaker quit (Ping timeout: 256 seconds) |
05:56:33 | * | untitaker joined #nimrod |
06:18:50 | * | johnsoft quit (Ping timeout: 256 seconds) |
06:20:09 | * | johnsoft joined #nimrod |
06:43:58 | * | BlaXpirit joined #nimrod |
06:55:09 | * | kemet joined #nimrod |
06:59:36 | * | kniteli quit (Ping timeout: 258 seconds) |
07:08:06 | * | q66[lap] quit (Read error: Connection reset by peer) |
07:09:50 | * | q66[lap] joined #nimrod |
07:11:43 | * | kniteli joined #nimrod |
07:18:54 | * | bjz joined #nimrod |
07:20:32 | * | gokr_ joined #nimrod |
07:24:26 | * | dapz joined #nimrod |
07:29:30 | * | gokr_ quit (Read error: Connection reset by peer) |
07:29:35 | * | gokr joined #nimrod |
07:30:07 | * | darkf quit (Ping timeout: 255 seconds) |
07:33:02 | * | gour joined #nimrod |
07:39:34 | * | khmm joined #nimrod |
07:44:47 | * | darkf joined #nimrod |
07:44:57 | * | darkf quit (Changing host) |
07:44:57 | * | darkf joined #nimrod |
07:49:26 | * | kniteli quit (Ping timeout: 258 seconds) |
07:50:15 | * | gokr quit (Quit: IRC for Sailfish 0.8) |
07:51:55 | * | darkf quit (Quit: Leaving) |
07:52:22 | * | darkf joined #nimrod |
08:07:34 | * | dapz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
08:07:57 | * | fowlmouth joined #nimrod |
08:13:31 | * | kemet quit (Quit: Instantbird 1.5 -- http://www.instantbird.com) |
08:22:05 | * | khmm quit (Ping timeout: 265 seconds) |
08:23:51 | * | q66[lap] quit (Read error: Connection reset by peer) |
08:24:35 | * | q66[lap] joined #nimrod |
08:27:31 | * | khmm joined #nimrod |
08:37:37 | * | BitPuffi1 joined #nimrod |
08:39:25 | * | BitPuffi1 is now known as BitPuffin |
08:42:34 | * | Trustable joined #nimrod |
08:42:47 | * | Trustable quit (Client Quit) |
08:46:02 | * | kniteli joined #nimrod |
08:46:32 | * | Trustable joined #nimrod |
08:52:58 | * | bjz quit (Ping timeout: 256 seconds) |
08:54:44 | * | bjz joined #nimrod |
09:03:16 | * | [CBR]Unspoken quit (Ping timeout: 255 seconds) |
09:03:26 | * | [CBR]Unspoken joined #nimrod |
09:07:44 | * | BlaXpirit-UA joined #nimrod |
09:08:24 | * | kniteli quit (Ping timeout: 258 seconds) |
09:10:28 | * | BlaXpirit quit (Ping timeout: 255 seconds) |
09:20:46 | * | kniteli joined #nimrod |
09:29:16 | gokr1 | Would be cool to see how a port of PetitParser would look in Nim |
09:29:55 | gokr1 | PetitParser is a really slick parser construction library originating from Smalltalk by Lukas Renggli. |
09:30:15 | gokr1 | He works at Google now and has ported it to both Java and Dart. And js I think. |
09:51:51 | gour | morning |
09:56:17 | gour | i know that nim is using reST for docs, I've decided to use AsciiDoc(tor) which i finf more suitable. however, it's interesting to note that AsciiDoctor implementation is (here) 20-25x quicker than the default/original implementation in Python, so it would be an interesting project for someone coming from Ruby to try Asciidoc in Nim? there is also one in Go...however, ruby implementation is used by Github |
09:56:19 | gour | (http://asciidoctor.org/news/tag/github/) something to advertise Nim further |
10:01:18 | kokozedman | hey guys |
10:01:45 | kokozedman | how do I use Tables with array[0..11, char] ? |
10:02:21 | kokozedman | seems to only add 1 entry, and the rest of the key is ignored, and it just keeps updating what's already in the hash table |
10:10:31 | kokozedman | sorry... there was a mistake I made |
10:38:01 | * | kemet joined #nimrod |
10:38:12 | * | Etheco joined #nimrod |
10:42:48 | * | kemet quit (Client Quit) |
11:08:35 | * | Boscop quit (Read error: Connection reset by peer) |
11:08:58 | * | Boscop joined #nimrod |
11:08:58 | * | Boscop quit (Changing host) |
11:08:58 | * | Boscop joined #nimrod |
11:22:57 | * | kniteli quit (Ping timeout: 258 seconds) |
11:23:04 | * | q66[lap] quit (Ping timeout: 250 seconds) |
11:35:23 | * | kniteli joined #nimrod |
11:52:05 | * | kniteli quit (Ping timeout: 258 seconds) |
12:04:38 | * | kniteli joined #nimrod |
12:18:40 | EXetoC | can case sensitivity be queried at compile time? that would be useful for dealing with the collisions in the opengl module |
12:21:58 | reactormonk | EXetoC, you could export it from the compiler I'd say |
12:30:17 | EXetoC | the var seems to have been introduced just 2 months ago |
12:30:47 | EXetoC | I'll deprecate the symbols in 1.0 or something |
12:33:36 | EXetoC | but it shouldn't be hard to add a conditional symbol, assuming there isn't one |
12:42:04 | * | Araq0 joined #nimrod |
12:42:26 | Araq0 | EXetoC: you can use when declared(NimVersion) |
12:42:47 | * | EastByte_ joined #nimrod |
12:42:51 | * | EastByte quit (Read error: Connection reset by peer) |
12:43:06 | Araq0 | since Nim defaults to --cs:partial, nimrod to --cs:none |
12:43:41 | * | wan quit (Quit: WeeChat 1.0.1) |
12:44:47 | Araq0 | note that version checking of NimMajor, NimMinor etc is not a good idea, especially since verything < 0.9.6 returns 0 for all of these (NICE bug ... :-/ ) |
13:02:39 | * | Stefan_Salewski joined #nimrod |
13:03:48 | Stefan_Salewski | Hello -- trying to finish latest glib 2.40.2 ... |
13:06:28 | Stefan_Salewski | As Araq suggested I wrote a script for replacing leading/trailing underscores with nothing -- seems to have no name conflicts. Revoved the export markers * for that symbols, _ indicates privat I think. |
13:07:52 | Stefan_Salewski | Next issue: glib.h uses type gsize. see http://developer.gimp.org/api/2.0/glib/glib-Basic-Types.html#gsize |
13:07:57 | EXetoC | with #private I assume |
13:09:06 | Araq0 | so what just use int for gsize |
13:09:23 | EXetoC | you mean cuint? |
13:09:41 | EXetoC | Stefan_Salewski: the C types are available in the system module |
13:09:44 | Araq0 | no, I mean "int" |
13:09:55 | * | khmm quit (Ping timeout: 244 seconds) |
13:10:25 | Stefan_Salewski | Current old glib.nim has gsize* = int32 -- I am not really happy with that? guint64* = int64 from current old glib may be fine, bit size is fixed and ok, but gsize? |
13:11:12 | * | BlaXpirit-UA quit (Quit: Quit Konversation) |
13:11:31 | * | BlaXpirit joined #nimrod |
13:11:52 | EXetoC | I don't know how it can be int because of the size difference in most cases |
13:12:39 | Araq0 | EXetoC: well I read the spec of gsize and concluded Nim's int is what you want for it |
13:13:28 | Araq0 | Stefan_Salewski: old glib.nim is perhaps wrong for this, but I guess we should really check glib's C code |
13:13:57 | EXetoC | confusing |
13:15:27 | Stefan_Salewski | Thanks, have to leave now, will scan the irclogs tonight. |
13:15:33 | * | Stefan_Salewski quit () |
13:17:26 | * | khmm joined #nimrod |
13:23:16 | * | BitPuffin quit (Ping timeout: 256 seconds) |
13:24:20 | * | c74d is now known as Guest13071 |
13:24:36 | * | TylerE quit (Read error: Connection reset by peer) |
13:24:47 | * | endou_____ quit (Read error: Connection reset by peer) |
13:24:48 | * | hguux_ quit (Read error: Connection reset by peer) |
13:24:50 | * | CARAM_ quit (Read error: Connection reset by peer) |
13:25:08 | * | Guest13071 quit (Ping timeout: 265 seconds) |
13:25:08 | * | biscarch quit (Ping timeout: 265 seconds) |
13:25:37 | * | clone1018 quit (Ping timeout: 265 seconds) |
13:25:38 | * | Trixar_za quit (Ping timeout: 265 seconds) |
13:25:46 | * | TylerE joined #nimrod |
13:25:51 | * | clone1018__ joined #nimrod |
13:26:08 | * | biscarch joined #nimrod |
13:26:22 | * | endou_____ joined #nimrod |
13:26:24 | * | hguux_ joined #nimrod |
13:26:48 | * | Trixar_za joined #nimrod |
13:28:28 | * | CARAM_ joined #nimrod |
13:33:31 | * | c74d joined #nimrod |
13:34:41 | EXetoC | as always I can't find |
13:34:45 | EXetoC | it |
13:35:55 | * | AMorpork is now known as AFKMorpork |
13:37:47 | EXetoC | right, build scripts |
13:39:34 | * | khmm quit (Ping timeout: 255 seconds) |
13:43:21 | * | clone1018__ is now known as clone1018 |
13:44:13 | EXetoC | I think it should be an alias of csize, except it's unsigned according to cplusplus.com, and in nim it's signed |
13:47:23 | EXetoC | but we did discuss the improbability of having such large byte buffers |
14:00:17 | Araq0 | yes. |
14:01:57 | * | bjz quit (Read error: Connection reset by peer) |
14:02:17 | * | bjz joined #nimrod |
14:10:19 | * | bjz quit (Read error: Connection reset by peer) |
14:10:36 | * | bjz joined #nimrod |
14:11:28 | EXetoC | so alias it to csize (size_t), Stefan_Salewski |
14:14:23 | Araq0 | csize is just int too |
14:14:27 | Araq0 | iirc |
14:15:01 | Araq0 | I should have rejected the PR that introduced "csize" |
14:18:42 | EXetoC | you don't think it's worth having an alias in case it won't be 'int' some time in the future? and sometimes you don't have an alias like gsize |
14:23:53 | Araq0 | these aliases cause more harm than anything |
14:26:24 | * | BitPuffin joined #nimrod |
14:33:02 | Araq0 | somebody with a hacker news account should reply to https://news.ycombinator.com/item?id=8652071 that his comment has nothing to do with reality |
14:40:17 | * | darkf quit (Quit: Leaving) |
14:43:14 | kokozedman | I'm getting a lot of Warning: not GC-safe: on my project ... what's all these about, and should I be worried? |
14:46:20 | Araq0 | kokozedman: do you use --threads:on ? |
14:48:27 | * | Demos quit (Read error: Connection reset by peer) |
14:50:56 | Araq0 | but yes, in general you should be worried |
14:51:35 | * | dom96_ quit (Ping timeout: 272 seconds) |
14:51:59 | kokozedman | Araq0: yes, I do |
14:52:33 | kokozedman | I spawn a thread that I pass data to via TChannel |
14:52:47 | Araq0 | you should treat it like an error then |
14:52:50 | kokozedman | and that's the only path I communicate to that thread |
14:53:19 | Araq0 | well you need to annotate your code then with .gcsafe or .noSideEffect at strategic places |
14:53:34 | Araq0 | usually forward declarations |
14:53:43 | Araq0 | and proc types |
14:55:32 | kokozedman | Araq0: in terms of safety and correctness, there doesn't seem to be any race in the program and I completely adhere to the data separation between threads, no GCed data shared between threads and comms done via TChannel ... so, the warnings are not obvious to me. But I'll try .gcsafe. |
14:56:43 | Araq0 | kokozedman: well the compiler tells you what it considers GC unsafe |
14:57:00 | Araq0 | but unfortunately not really *why* |
14:57:14 | Araq0 | also these warnings currently cascade |
14:57:28 | Araq0 | so the first warning is likely the most insightful |
14:59:06 | kokozedman | yeah, I see so many of them |
15:00:06 | Araq0 | --warning[gcUnsafe]:off can help |
15:00:27 | Araq0 | or maybe it's warning[gcSafety]:off I can never remember |
15:01:30 | kokozedman | they are mostly on closures |
15:02:03 | kokozedman | Araq0: I'm not sure of how do I approach that, because I have no understanding how the GC handles them |
15:02:43 | * | flaviu joined #nimrod |
15:02:54 | Araq0 | kokozedman: so mark your callback types .closure, gcsafe |
15:02:56 | kokozedman | I have a object, and one of its member is a closure .. use of that closure causes the warning |
15:06:17 | kokozedman | Araq0: now ... Error: ':anonymous' is not GC-safe |
15:06:29 | kokozedman | that's when I try to feed a closure to it |
15:07:12 | Araq0 | well your anon proc is not gcsafe then |
15:07:52 | kokozedman | that's the problem .. it is guaranteed to be used in a single thread |
15:09:46 | kokozedman | Araq0: I mean, I designed it so that only the main thread is using it, main thread also generating it |
15:10:48 | Araq0 | why is it called then in some client thread context? |
15:11:40 | kokozedman | I'm not following you... |
15:12:12 | kokozedman | there is a section of the code that only the main thread is concerned |
15:12:37 | kokozedman | and I use a thread, which covers only a very small section of the whole program |
15:13:30 | Araq0 | ok, well, at this point, please create a bug report or at least gist it |
15:13:51 | kokozedman | ok, so, let me try to reproduce it |
15:14:42 | Araq0 | do not waste too much time to reduce the bug to some tiny program |
15:14:48 | * | khmm joined #nimrod |
15:14:49 | * | saml joined #nimrod |
15:35:06 | * | Sembei quit (Read error: Connection reset by peer) |
15:35:22 | * | MyMind joined #nimrod |
15:42:56 | kokozedman | Araq0: here you go, may be there is some bad practice with what I'm doing and I get the warnings ... https://gist.github.com/eliezedeck/112d92ae108f06c4ebc6 |
15:45:00 | Araq0 | kokozedman: well you need to declare onCalled as gcsafe |
15:45:21 | Araq0 | otherwise the compiler assumes the worst since it's an indirect call |
15:46:40 | Araq0 | also your global 't' itself is not gcsafe |
15:46:53 | Araq0 | since it contains a closure |
15:47:13 | Araq0 | when you use that in a different thread, it's not gcsafe |
15:48:05 | kokozedman | Araq0: so, generally speaking, closures are not gcsafe, right? |
15:48:20 | kokozedman | (even adding gcsafe doesn't suppress the warning) |
15:48:43 | Araq0 | no, globals that contain GC'ed memory are not gcsafe |
15:48:58 | Araq0 | closures are not the problem here really |
15:49:12 | Araq0 | give your 't' instead a string field and you get the same problem |
15:50:05 | kokozedman | I see |
15:50:17 | * | mko joined #nimrod |
15:50:18 | kokozedman | that's something to think about |
15:50:31 | kokozedman | so, it's not a bug then |
15:51:11 | Araq0 | no, but we need more user friendliness |
15:52:25 | kokozedman | user friendlines, like? |
15:53:35 | Araq0 | "run with --explain to make the compiler explain its reasonings wrt the effect system" |
16:15:29 | * | khmm quit (Ping timeout: 264 seconds) |
16:58:15 | * | johnsoft quit (Ping timeout: 272 seconds) |
16:58:29 | * | johnsoft joined #nimrod |
17:26:09 | * | dom96_ joined #nimrod |
17:34:24 | * | Matthias247 joined #nimrod |
17:43:24 | * | q66 joined #nimrod |
17:52:53 | * | Araq0 quit (Quit: Page closed) |
18:02:46 | * | brson joined #nimrod |
18:32:03 | * | Hakaslak joined #nimrod |
18:46:07 | * | Joe_knock joined #nimrod |
18:46:07 | * | Joe_knock quit (Changing host) |
18:46:07 | * | Joe_knock joined #nimrod |
18:51:13 | * | gour quit (Disconnected by services) |
18:51:14 | * | gour_ joined #nimrod |
18:55:10 | * | superfunc joined #nimrod |
18:56:09 | * | Puffin joined #nimrod |
18:56:35 | * | Puffin quit (Client Quit) |
18:56:44 | * | perturbation joined #nimrod |
19:05:33 | Varriount | gokr1: It would also be neat for a nim port of codetalker (https://pypi.python.org/pypi/CodeTalker/0.5 ) |
19:06:33 | Varriount | Araq: Under what circumstances would you *not* want explanatory errors? |
19:09:53 | EXetoC | fowl: so you haven't used EFL? Windows is supported, so I might actually port it |
19:14:49 | * | superfunc quit (Ping timeout: 255 seconds) |
19:19:03 | * | flaviu quit (Read error: Connection reset by peer) |
19:24:16 | * | Mat4 joined #nimrod |
19:24:23 | Mat4 | hello |
19:30:05 | Araq | hi Mat4 |
19:30:24 | Mat4 | hi Araq |
19:31:00 | Araq | Varriount: verbose error messages can get annoying for the people who have a deep experience with the language |
19:32:23 | Varriount | Araq: So perhaps explanatory messages should be the default, with terse messages being enabled with '--terse', or something. |
19:32:33 | Araq | "unknown identifier: foo" is already quite technical, depending on the audience something like "I do not know what 'foo' means here. Did you mean 'fox'?" is more appropriate |
19:33:37 | Araq | Varriount: yes but the idea is that --explain would trigger a much more expensive semantic checking pass |
19:33:59 | Araq | that breaks the modularity of the analysis |
19:35:26 | Varriount | We have modular analysis? I was under the impression that the entire semantic pass was one big mechanism. |
19:36:15 | perturbation | am I confused about how memory allocation works (https://github.com/fowlmouth/nimrod-sfml/pull/5) here? Trying to update the sfml library post-bigbreak and I noticed that the -=/+= operators call an external library function which returns a new object |
19:36:47 | perturbation | so I think that there would be leaked memory when doing something like a -= b or similar |
19:40:49 | * | gour_ is now known as gour |
19:43:05 | Araq | Varriount: firstly, the entire semantic pass is actually 2-4 passes depending on how you count them |
19:43:23 | Araq | secondly that is not what I mean when I say "modular" |
19:43:53 | Araq | "modular" here means that you can type-check every module on its own |
19:47:47 | Araq | perturbation: no because SFML's Time class is a pure value type allocated on the stack |
19:47:58 | Araq | it simply wraps an int64 afaict |
19:49:44 | perturbation | I guess what I'm wondering about is that the TTime objects in Nim are pure so they're fine |
19:50:17 | * | vendethiel- quit (Ping timeout: 240 seconds) |
19:51:00 | perturbation | but when you assign a value from a function from the SFML lib, that should alloc something new behind-the-scenes (leaving the old version still unfreed) |
19:51:12 | gour | does this http://www.greghendershott.com/2014/11/github-dropped-pygments.html affect nim? |
19:51:34 | gour | (reddit linK http://www.reddit.com/r/programming/comments/2n8e9o/github_dropped_pygments/) |
19:52:18 | * | vendethiel joined #nimrod |
19:53:45 | Araq | gour: I don't know |
19:55:12 | Mat4 | Araq: http://vimeo.com/108094559 |
19:55:42 | Araq | Mat4: lol, I wanted to send you the same link ... ;-) |
19:56:21 | Mat4 | *g* :) |
19:57:23 | perturbation | agh, sorry, missed what you were saying (yes, should be fine since SFML doesn't heap allocate) no worries |
19:59:14 | perturbation | thanks Araq |
20:00:21 | Araq | he he, perturbation ... maybe we should add "read twice what Araq says" to the topic :P |
20:01:31 | Araq | Varriount: how's the test result rendering progressing? |
20:13:06 | * | kniteli quit (Ping timeout: 258 seconds) |
20:25:18 | * | kniteli joined #nimrod |
20:37:00 | * | bjz_ joined #nimrod |
20:37:00 | * | bjz quit (Read error: Connection reset by peer) |
20:37:57 | bouliiii | Are macros always expanded with a pre-order traversal when they are nested? |
20:38:49 | Araq | bouliiii: that's hard to say |
20:39:26 | bouliiii | I have simd: bla... (then nested->) unmasked:.... |
20:39:47 | bouliiii | Right now, I see unmasked when parsing expanding simd |
20:40:39 | Araq | yes, that's how it should be |
20:40:57 | bouliiii | Araq: I can take this behaviour as guaranteed? |
20:41:23 | Araq | if your simd is immediate, then yes |
20:41:29 | bouliiii | Great! Thanks! |
20:49:17 | * | Boscop_ joined #nimrod |
20:52:41 | * | Boscop quit (Ping timeout: 264 seconds) |
21:02:33 | * | gour quit (Disconnected by services) |
21:02:33 | * | gour_ joined #nimrod |
21:05:19 | * | gour_ is now known as gour |
21:05:21 | gour | evening |
21:07:40 | gour | i would like to move to root-under-subvolume setup and created new subvolume of the original install (suse-13.2) by snapshotting original ones including root. here is the list of my subvolumes: http://pastebin.com/fpkHwGZ2 - the new ones are denoted with '@' in front, but now have problem rm-ing the old ones. is there some way to delete snapshot by its id? |
21:08:35 | gour | oops wrong channel. excuse me |
21:10:59 | * | kniteli quit (Ping timeout: 258 seconds) |
21:23:33 | * | kniteli joined #nimrod |
21:27:46 | Joe_knock | Is there a very detailed Introduction to Nimrod written by anyone? |
21:28:23 | Araq | Joe_knock: there is flaviu's introduction |
21:28:37 | Araq | and there is the tutorials |
21:30:21 | Joe_knock | I'd like to introduce Nim to a small group of individuals, looking for a detailed tutorial to follow |
21:31:56 | Mat4 | Take a look at Araq's talk slides |
21:32:21 | Araq | er ... that's not introductionary stuff |
21:33:58 | Mat4 | no ? |
21:37:59 | Joe_knock | I found doms stuff on his blog. I can use that too (hopefully) |
21:38:10 | Araq | "how can I learn about Nim? -- Here listen to this dude who shows how to do partial evaluation at compile-time" |
21:38:21 | Araq | nah, I don't think so |
21:44:06 | Mat4 | ok, than some basic introduction is obviously needed |
21:45:05 | Mat4 | I would write one, if I found free time for it (the compiler need to be finished first anyhow) |
21:45:19 | Araq | Mat4: well the tutorial exists and is not that bad |
21:45:44 | Mat4 | Joe_knock: Is it sufficient for you ? |
21:45:59 | Araq | also the manual is quite good IMHO |
21:46:34 | gour | tutorials are up-to-date? |
21:47:02 | Araq | we're trying, gour |
21:47:50 | Joe_knock | Mat4: Araq: I am going to use these 2: http://picheta.me/articles/2013/10/about-nimrods-features.html && http://web.mit.edu/nimrod-lang/arch/amd64_ubuntu1204/doc/tutorial.html |
21:48:04 | gour | Araq: what is the final stanza in regard to case-(in)sensitivity? |
21:48:33 | * | kniteli quit (Ping timeout: 258 seconds) |
21:49:43 | Araq | gour: Nim now uses the eccentric "partial case sensitivity" rules which means first letter is sensitive and the rest is not |
21:50:30 | * | AFKMorpork is now known as AMorpork |
21:50:30 | gour | Araq: interesting. bte, Go also has sensitivity at the first letter :-) |
21:50:50 | Araq | IMO it works out quite well but we'll see how people react when we finally release Nim |
21:51:42 | Araq | gour: Go uses it for visibility, we use it for types vs anything else |
21:52:18 | gour | Araq: i know, just joking about 'coincidence' of 1st letter for different purposes |
21:53:17 | gour | i bet you know Dmitry from Ada-world. he seems to alway has a point about something...and never happy in his search for Holy Grail. maybe i should tell him about Nim ;) |
21:59:08 | Araq | maybe |
21:59:23 | Araq | and no, I don't know him |
22:00:55 | * | kniteli joined #nimrod |
22:04:05 | gour | "Dmitry A. Kazakov"...maybe you left earlier, although it seems he is long time with Ada... |
22:04:41 | Araq | what's his nick? |
22:04:47 | Mat4 | reads he is a well educated personality |
22:05:41 | gour | Araq: i'm no longer in #ada, but, iirc, he is only on c.l.a, not on irc |
22:06:34 | gokr1 | Joe_knock: You might find some stuff in my articles too, perhaps the OO articles. |
22:07:02 | gokr1 | But they are... not tutorials per se. |
22:07:23 | Joe_knock | gokr1: Link? |
22:07:36 | gokr1 | http://goran.krampe.se/category/nim |
22:08:12 | Joe_knock | thanks gokr1 . Looks like there is a lot of relevant stuff there too |
22:08:34 | gokr1 | Well, they are all fresh. :) |
22:08:42 | * | Stefan_Salewski joined #nimrod |
22:08:44 | gokr1 | Feel free to pillage. |
22:08:58 | Stefan_Salewski | OK, so I will use csize for glib's gsize -- thanks. |
22:09:08 | Stefan_Salewski | And I will disable (remove) these few procs with va_list arguments. |
22:09:18 | Stefan_Salewski | I think we do not need them, they seems to be missing in current old glib too. |
22:09:28 | Stefan_Salewski | For old glib we have guint32* = int32 |
22:09:43 | Stefan_Salewski | Should be not too bad, guint is not used much in glib, and of course bitsize is ok. |
22:09:51 | Stefan_Salewski | There are very few glib functions like |
22:10:00 | Stefan_Salewski | guint32 g_date_get_julian (const GDate *date); |
22:10:11 | Stefan_Salewski | which returns an guint. Maybe it is not the best solution to regard the result |
22:10:21 | Stefan_Salewski | as int32 and maybe do wrong arithmetic. So my current intension is to use now |
22:10:32 | Stefan_Salewski | guint32* = uint32 -- I think uintxx is available now for Nim, and so we can avoid wrong arithmetics? |
22:11:05 | Stefan_Salewski | If arithmetics are required, user has to import a module, guess that is fine. Do you agree? |
22:15:37 | Araq | "wrong arithmetics" is relative |
22:16:06 | Araq | but sure use uint32 I stopped caring years ago |
22:17:49 | Stefan_Salewski | OK thanks -- I do not care much about this issue too, but it's good to use the best solution which is available. Bye. |
22:17:58 | * | Stefan_Salewski quit () |
22:20:58 | Araq | the best solution is not to use a type where arithmetic is fundamentally broken |
22:22:20 | Araq | no matter if C programmers disagree, C programmers caring about correctness is a staircase wit anyway |
22:29:56 | * | BlaXpirit quit (Quit: Quit Konversation) |
22:30:19 | * | gour quit (Quit: WeeChat 1.0.1) |
22:30:45 | Varriount | Araq: I'm fighting off globs of sql with the help of a Very Large Stick (tm) |
22:36:21 | Araq | Varriount: need some help? |
22:41:04 | * | kniteli quit (Ping timeout: 258 seconds) |
22:41:25 | Varriount | Araq: I think I'm fine. The main problem is combining multiple databases and altering the machine and commit ID's |
22:41:44 | Varriount | Araq: If you have a simpler way, that would make me happy. |
22:49:12 | Araq | attach database database1.db as a; |
22:49:14 | Araq | attach database database2.db as b; |
22:49:15 | Araq | insert into a.Commit ac from b.Commit bc |
22:49:17 | Araq | where bc.hash not in (select hash from ac) |
22:53:26 | * | kniteli joined #nimrod |
22:54:58 | * | Mat4 left #nimrod (#nimrod) |
22:56:36 | Araq | insert into a.TestResult at from b.TestResult bt where (bt.name || bt.category || bt.commit || (select name from Machine where bt.machine = Machine.id)) ) not in (select ... ) |
22:56:44 | Araq | admittedly that's rather ugly |
22:56:54 | Araq | || is string concatenation here |
23:04:50 | * | kniteli quit (Ping timeout: 258 seconds) |
23:16:58 | * | kniteli joined #nimrod |
23:24:23 | * | kniteli quit (Ping timeout: 258 seconds) |
23:31:23 | * | Trustable quit (Quit: Leaving) |
23:36:29 | * | kniteli joined #nimrod |
23:41:27 | * | EXetoC quit (Remote host closed the connection) |