02:26:20 | * | Trix[a]r_za is now known as Trixar_za |
03:36:26 | * | Trixar_za is now known as Trix[a]r_za |
04:06:27 | * | OrionPK quit (Quit: Leaving) |
07:59:27 | NimBot | Araq/Nimrod 68ba997 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Improves tutorial tuples example. |
07:59:27 | NimBot | Araq/Nimrod 3dc99ec Araq [+0 ±1 -0]: Merge pull request #388 from gradha/pr_improves_tutorial_tuples_example... 3 more lines |
10:39:36 | * | fowl quit (Ping timeout: 258 seconds) |
10:41:22 | * | fowl joined #nimrod |
11:28:28 | * | xcombelle joined #nimrod |
12:27:59 | * | botton joined #nimrod |
12:27:59 | * | botton left #nimrod (#nimrod) |
12:52:58 | * | xcombelle quit (Remote host closed the connection) |
13:28:01 | * | fowl quit (Read error: Connection timed out) |
13:32:39 | * | q66 joined #nimrod |
13:54:27 | * | fowl joined #nimrod |
15:36:08 | * | Trix[a]r_za is now known as Trixar_za |
16:22:28 | * | fowl quit (Ping timeout: 272 seconds) |
16:34:49 | * | fowl joined #nimrod |
16:43:31 | * | fowl_ joined #nimrod |
16:46:48 | * | fowl quit (Ping timeout: 245 seconds) |
17:43:50 | apotheon | Araq: nimrod-words.org? |
17:45:40 | Araq | best-practice-is-pretty-poor.org ;-) |
17:45:51 | apotheon | betterpractices.org? |
17:46:09 | Araq | nice. you make it sound positive |
17:46:14 | Araq | :-) |
17:46:15 | apotheon | Oh, it's taken. |
17:46:34 | apotheon | notbadpractices.org |
17:46:51 | apotheon | nimrod-code.com |
17:47:36 | apotheon | Just don't call it something like xapatos.org, please. |
18:02:53 | Araq | what's wrong with xapatos? |
18:08:57 | Araq | ugh ... so the Google Mirror API allows you to choose between Java and Python ... |
18:09:17 | reactormonk | Araq, no C api :-/ |
18:09:39 | reactormonk | scala it is >:) |
18:09:58 | Araq | dunno ... I suppose it's all HTTP anyway |
18:10:48 | apotheon | Araq: A name like "xapatos" seems like a ludicrous cop-out from where I'm sitting. |
18:11:25 | Araq | apotheon: no idea what you're referring to |
18:12:03 | apotheon | "I need to change the name of a thing. I'll change it to some word in another language, but alter the first letter to make it more 'unique'. It really doesn't matter what the word means." |
18:12:11 | apotheon | It's basically giving up on picking a name. |
18:13:27 | * | Trixar_za is now known as Trix[a]r_za |
18:18:01 | Araq | looking closer at it; it's indeed all HTTP, HTML, JS and JSON |
18:18:19 | reactormonk | ^^ |
18:19:17 | * | Araq wonders why it uses Android as its OS then |
18:19:32 | Araq | well 'wonders' is a bit of a stretch :P |
18:24:31 | apotheon | s/wonders/momentarily, idly wonders/ |
18:29:34 | fowl_ | Araq: get a .co.ck addy |
18:29:55 | Araq | ugh, no |
18:30:22 | Araq | interesting how nobody bothers with xml anymore; even the big companies |
18:30:45 | Araq | of course only after Microsoft XML'ized everything ... |
18:32:02 | Araq | it's as if they finally figured out that using a format designed for documents is fundamentally wrong for data ;-) |
18:39:24 | reactormonk | Araq, #347 >:) |
18:40:36 | Araq | how much is a bitcoin now? |
18:40:42 | reactormonk | 90$ |
18:40:51 | Araq | huh? |
18:41:00 | Araq | it used to be much more, right? |
18:41:00 | reactormonk | yep, it crashed |
18:41:37 | reactormonk | killed me some money even though people told me to sell :-/ |
18:42:50 | fowl_ | im sure it will go back up |
18:43:30 | reactormonk | same here |
18:46:23 | apotheon | It "crashed" by going (in less than a month) from about 30 USD to about 90 USD. |
18:53:11 | reactormonk | ^^ |
20:33:29 | Araq | I'm thinking about the details of the shared memory GC and would like some feedback: |
20:34:41 | Araq | if a thread makes use of the shared memory heap, the createThread needs to register the thread in some global list |
20:35:01 | Araq | so that its stack can be scanned etc. |
20:36:28 | Araq | however it's not necessary for threads that don't use the shared heap; so we could add a flag to createThread |
20:39:44 | Araq | but it's hard to make it safe :P |
20:40:41 | Araq | threads which are not registered but access the shared memory are a time bomb ... |
20:44:01 | Araq | but then scanning stacks that cannot contain pointers to shared memory is inefficient |
20:49:41 | Araq | meh now that I wrote it down, I know the solution, never mind |
20:50:29 | * | Madison joined #nimrod |
20:50:45 | Araq | hi Madison, welcome |
20:50:50 | Madison | Hello |
21:03:59 | reactormonk | hey Madison |
21:04:14 | Madison | Ohai |
21:13:00 | * | gradha joined #nimrod |
21:35:33 | * | fowl_ quit (Ping timeout: 245 seconds) |
21:54:50 | * | Trix[a]r_za is now known as Trixar_za |
21:56:15 | gradha | Araq: for your blog use animated gif of waterfal extracted from https://www.youtube.com/watch?v=AUleDEFkUtE |
21:58:30 | Araq | the thing about videos is ... you don't have to compute them :P |
21:58:36 | Araq | you can simply film reality :P |
22:13:15 | * | fowl joined #nimrod |
22:34:22 | gradha | Araq: is there any known problem with iterators and try/except blocks? https://github.com/Araq/Nimrod/issues/391 forgot to search the opened issues |
22:36:02 | Araq | gradha: are you sure it's the iterator and not the nested try .. except? |
22:36:14 | Araq | oh ... right |
22:37:21 | Araq | try putting it the 'for' in a (not nested) proc please |
22:38:55 | gradha | moving the for iterator to a separate proc makes it not crash |
22:39:45 | Araq | that's really strange |
22:40:19 | Araq | will be fun to debug :P |
22:40:30 | gradha | updated the issue with link to https://gist.github.com/gradha/5408365 |
22:41:48 | Araq | tried with -d:release? it may disappear for that too ... |
22:42:33 | gradha | nope, release crashes like debug (after changing the assert to doAssert) |
22:42:51 | Araq | ok... |
22:46:59 | * | OrionPK joined #nimrod |
22:48:31 | Araq | damn you gradha ;-) |
22:48:38 | Araq | you're faster than me ... |
22:48:46 | gradha | well, you are too busy sorting bugs |
22:50:09 | Araq | actually I'm not fixing bugs |
22:50:28 | Araq | I'm working on an improved parser in a branch |
22:51:46 | Araq | btw is 'while if a: b else: c: echo "ha" ' really reasonable to allow? ;-) |
22:52:14 | Araq | I feel like requiring () for the if expression here |
22:52:38 | gradha | can you nest another while inside the if? |
22:52:51 | Araq | soon you can I think |
22:53:41 | gradha | if you require () there wouldn't you require it for everything? |
22:54:02 | Araq | nah, grammars are more flexible than that ;-) |
22:54:48 | gradha | I'm fine with it, though I would kill anybody working with me who wrote code like that |
22:55:06 | gradha | but if it's not for work it's ok |
22:55:42 | Araq | you don't write it directly |
22:55:49 | Araq | but it could be the result of a macro expansion |
22:56:09 | Araq | so that's why I'm redesigning the grammar for more flexibility |
22:56:22 | gradha | hmm... so you would need to put brackets depending on the output of the macro? |
22:56:39 | Araq | nah |
22:57:02 | Araq | the 'while' is a pretty bad example here |
22:57:06 | gradha | I'm glad I don't understand any of this |
22:57:21 | Araq | but what if you want to do: |
22:57:31 | Araq | m(object |
22:57:36 | Araq | x, y: int) |
22:57:58 | Araq | currently this doesn't parse |
22:58:13 | Araq | and so you can't pass anonymous objects to a macro m |
22:58:39 | gradha | maybe it's irc but I can't parse that either |
22:59:23 | Araq | m(tuple[x,y: int] ) # better? ;-) |
22:59:52 | gradha | yes |
23:04:13 | Araq | anyway I'm trying to make it more flexible and the grammar smaller |
23:13:39 | * | gradha quit (Quit: bbl, have youtube videos to watch) |
23:31:11 | * | q66 quit (Read error: Connection reset by peer) |