00:00:36 | * | SchalaZeal quit (Quit: Konversation terminated!) |
01:22:36 | * | CodeBlock quit (Excess Flood) |
01:28:13 | * | CodeBlock joined #nimrod |
06:11:34 | * | SchalaZeal joined #nimrod |
06:11:51 | SchalaZeal | well I did a pull request on PCRE updates |
06:12:00 | SchalaZeal | supports JIT now |
08:15:58 | * | Trix[a]r_za is now known as Trixar_za |
08:49:41 | * | SchalaZeal quit () |
10:41:58 | * | Trixar_za is now known as Trix[a]r_za |
17:21:13 | dom96 | hello |
17:27:05 | fowl | morning |
17:27:22 | dom96 | Where do you live!? |
17:27:28 | dom96 | It's 6pm here |
17:28:14 | fowl | noon here |
17:28:43 | fowl | (Usa) |
17:29:11 | dom96 | I see. |
17:29:16 | dom96 | UK here |
17:30:55 | dom96 | Rate of new issue being submitted on the Nimrod issue tracker is rising. |
17:30:58 | dom96 | *issues |
17:31:04 | dom96 | 5 today already :O |
17:33:09 | dom96 | Araq: Is it just me or are most of these related to the fact that your new changes usually break examples/some of the stlib? |
17:33:19 | dom96 | Looks like we really do need to start branching. |
17:33:43 | fowl | git gets extra complicated when you start branching |
17:34:27 | dom96 | How so? |
17:36:47 | fowl | you have to know what rebasing is, hard resets, merging |
17:36:50 | fowl | it makes my head hurt |
17:37:04 | fowl | when i get to that point i usually recreate the repo >_> |
17:37:10 | dom96 | As long as you know how to merge you should be able to survive I think :P |
17:38:56 | fowl | i miss svn's linear revision numbers too, what does a8e82d8b tell you about a commit? nothing >:( |
17:47:15 | Araq | hey, people want other integer promotion rules |
17:47:26 | Araq | but when they get them they moan it breaks stuff :P |
17:48:00 | dom96 | Yes, the classic cycle of feature requests. |
17:48:17 | Araq | but I think I am done now and the new rules work |
17:48:25 | Araq | and everything compiles again |
17:48:38 | Araq | would be nice if the tester would run on windows though :P |
17:49:27 | dom96 | Yeah... would be nice if I had more time D: |
17:49:37 | dom96 | I'll probably be off on Thursday though |
18:20:39 | dom96 | Araq: btw I have an idea. I'll plug in my usb stick and use that as the swap for my Pi :P |
18:21:34 | Araq | I'd prefer if you activated the windows tester instead |
18:21:49 | Araq | arm works, bootstrapping in release mode worked :p |
18:21:49 | dom96 | ... fine. |
18:22:00 | dom96 | Yeah, but we don't know the test results ;) |
18:24:24 | Araq | well test the threading on ARM too |
18:24:41 | Araq | but apart from that the tests are likely not very interesting in the first place |
18:24:58 | Araq | booho the regex test fails .... yeah, who cares ... |
18:29:03 | Araq | speaking of which |
18:29:20 | Araq | nimbuild needs to improve the test results rendering |
18:29:27 | Araq | I don't want scroll that much |
18:29:38 | Araq | it should only show the tests that fail/are still ignored |
18:30:07 | Araq | obviously we don't care about green tests ... though I must admit that I spotted a bug there too once |
18:32:02 | dom96 | hrm. |
18:32:12 | dom96 | I don't have enough time D: |
18:32:20 | Araq | ok np |
18:32:40 | dom96 | I will do it. |
18:32:47 | dom96 | It might take a while though :( |
18:32:48 | Araq | priority is to port all your code to the new version ;-) |
18:33:04 | Araq | otherwise we'd have lots of broken code on github ... |
18:33:07 | dom96 | But I want to change a few things on the nimbuild site anyway. |
18:33:20 | Araq | no need to hurry |
18:33:36 | dom96 | I actually wish I had a free summer now. |
18:33:46 | Araq | though I want to release 0.9.0 this summer ... |
20:36:56 | dom96 | I really need to finish babel. |
20:37:05 | dom96 | I want to be able to do `babel install jester` on my Pi :( |
20:37:41 | Araq | well jester should compile with the latest compiler for that for a start :P |
20:37:54 | Araq | which I bet it doesn't |
20:37:55 | dom96 | Damn. You broke everything didn't you? |
20:37:59 | Araq | yep. |
20:38:21 | Araq | but nobody moaned yet |
20:38:37 | Araq | I could easily make it not break that much code :P |
20:41:11 | dom96 | Lets see how hard it is to fix Aporia |
20:43:50 | Araq | I've been telling you that for *days* :P |
20:44:26 | dom96 | yes, I know. |
20:44:44 | dom96 | oh god. |
20:44:59 | dom96 | Am I going to have to cast each int into an int32 because cint == int32? |
20:46:21 | dom96 | I guess I should make the field type int32 in the first place |
20:46:47 | dom96 | Araq: ^ |
20:47:10 | Araq | well yes |
20:52:51 | dom96 | wait, if I was using 32bit would this just compile? |
20:53:03 | Araq | no |
20:53:19 | dom96 | on 32 bit, int = int32, no? |
20:53:24 | Araq | the compiler doesn't use the current CPU setting for type compatibility |
20:53:44 | dom96 | Yeah, I figured. It would be weird. |
20:53:48 | dom96 | How does it do it though>? |
20:53:51 | Araq | so sizeof(int) == sizeof(int32) on 32 bit, but they are still different types |
20:54:00 | dom96 | ahh, right |
20:54:13 | Araq | you simply get the same error messages on 32 bit ;-) |
21:00:14 | dom96 | hrm, i guess cint has to always be int32 :( |
21:00:34 | Araq | unless it is int64 ... yes |
21:00:39 | dom96 | And C libraries use cint everywhere ... so I have to cast everything to int32 |
21:00:51 | Araq | 'cint' is supposed to be 'C's int' |
21:01:06 | Araq | on some platforms it's 64bit though |
21:01:22 | Araq | but on no platform that nimrod has yet been ported to |
21:01:30 | dom96 | So er, what's the benefit of this change? |
21:01:39 | dom96 | All I currently feel is irritation |
21:02:04 | Araq | 'int' is 64bits on a 64bit cpu |
21:02:17 | Araq | so conversion to int32 loses information |
21:02:30 | Araq | and nimrod doesn't do that anymore implicitely |
21:02:54 | Araq | most conversions to int32 are *bugs* ;-) |
21:03:40 | Araq | but I agree it's annoying |
21:04:40 | dom96 | Maybe this should be like the taint mode? |
21:05:20 | Araq | how many lines of code is aporia? |
21:05:41 | dom96 | Dunno, why? |
21:06:02 | Araq | well it's interesting how many lines of code I broke :-) |
21:06:25 | dom96 | Answer my question ^^ |
21:06:46 | Araq | taint-like mode is not a bad idea |
21:08:17 | dom96 | I guess I would have to see how annoying this is when I am just coding. |
21:08:30 | dom96 | Because obviously it's annoying when all you're doing is fixing this particular thing |
21:10:23 | dom96 | If you know what I mean? |
21:10:30 | Araq | of course |
21:10:46 | Araq | I had to change 200K loc ;-) |
21:11:50 | Araq | and I'm suprised adrianv hasn't raged already |
21:12:10 | Araq | he has some amount of nimrod code too I think |
21:13:10 | dom96 | Well I must say. Nice job. Now Nimrod is even stricter on the types which is at least safer :P |
21:13:46 | Araq | personally I just love that the compiler is finally as smart as me with (x and 3) + 7 |
21:14:05 | dom96 | I doubt I will ever even use that feature :P |
21:14:28 | Araq | in fact, I plan to change 'random's interface so that the compiler sees the modulo operation :D |
21:14:38 | Araq | so that: |
21:14:42 | Araq | case random(2) |
21:14:47 | Araq | of 0: .. |
21:14:49 | Araq | of 1: ... |
21:14:52 | Araq | compiles :-) |
21:15:36 | dom96 | cool |
21:17:27 | dom96 | Something tells me that: |
21:17:33 | dom96 | int32(s.parseInt()) |
21:17:35 | dom96 | is quite unsafe |
21:18:41 | dom96 | What happens if the number does not fit in an int32? |
21:19:05 | Araq | exception in debug mode |
21:19:18 | Araq | strange things in release mode |
21:19:28 | Araq | and yeah it's indeed quite unsafe |
21:19:42 | Araq | use parseutils.parseInt with an explicit range |
21:20:00 | dom96 | meh, it should be alright |
21:20:11 | Araq | config file reading? |
21:21:13 | dom96 | yeah |
21:21:30 | dom96 | Oh look: Error: internal error: analysis not implemented for: nkForStmt |
21:21:45 | Araq | argh |
21:21:52 | Araq | wtf |
21:22:03 | Araq | that's new, right? |
21:22:13 | dom96 | That's when I did nimrod check aporia.nim |
21:22:23 | Araq | but it compiles? |
21:23:40 | dom96 | Not yet... |
21:23:45 | dom96 | I'm still fixing the int issues |
21:23:55 | dom96 | I just thought I might as well get all the errors |
21:24:04 | dom96 | Instead of recompiling each time |
21:24:13 | Araq | well turn thread analysis off |
21:24:21 | Araq | then 'check' should work |
21:24:47 | Araq | but yeah that's a bug, but I know the cause already |
21:24:51 | Araq | --threadanalysis:off |
21:30:27 | dom96 | mmm. You should switch off thread analysis when doing `check` :) |
21:31:24 | * | Amrykid is now known as Amrykid2 |
21:31:41 | * | Amrykid2 is now known as Amrykid |
21:32:18 | Araq | no, I should fix the bug instead |
21:32:20 | Araq | it isn't as trivial as I thought though |
21:32:22 | Araq | :-/ |
21:34:10 | Araq | oh btw |
21:34:33 | Araq | I finally implemented inheritance depth checking for overload resolution |
21:35:01 | Araq | this means you don't need to convert to a subtype in GTK as often |
21:35:17 | dom96 | Brilliant. |
21:35:32 | dom96 | How come you're implementing so much stuff when I have so little time to test it? |
21:36:02 | Araq | perhaps it's because I get distracted less as you have no time to talk with me :P |
21:37:43 | dom96 | I should really implement being able to run `check` in aporia. |
21:37:53 | dom96 | ^^ haha |
21:38:11 | dom96 | That is true. |
21:38:41 | Araq | what about: |
21:38:43 | Araq | deprecate ``var x, y = 0`` as it's confusing for tuple consistency |
21:38:48 | Araq | it's in my todo? |
21:38:53 | Araq | fine with you? |
21:39:23 | Araq | well especially 'var x, y = (0, 0)' is weird |
21:39:36 | Araq | as both x and y then are the tuple (0,0) |
21:39:45 | Araq | newcomers stumbled upon this ... |
21:40:02 | dom96 | No tuple unpacking then? |
21:40:06 | dom96 | I think I use this feature a lot. |
21:40:31 | Araq | 'var (x, y) = (0, 0)' is fine and will remain untouched |
21:40:36 | dom96 | ahh. |
21:40:39 | dom96 | That's fine then. |
21:41:08 | dom96 | Also this would be cool: `var z@(x, y) = (0, 0)` |
21:41:18 | dom96 | z is the whole tuple :P |
21:41:22 | dom96 | Something like that. |
21:41:31 | Araq | pointless and arbitrary :P |
21:41:39 | dom96 | I guess :P |
21:41:44 | Araq | better implement real pattern matching instead :P |
21:41:51 | dom96 | yep! |
21:42:01 | Araq | but it can be easily done with a macro :-) |
21:42:15 | Araq | and the compiler itself wouldn't benefit much from it |
21:42:38 | Araq | as an AST node uses a variable number of children |
21:43:00 | Araq | so it's very low priority for me |
21:44:41 | dom96 | There :P |
21:44:56 | Araq | the effort seems to be reasonable |
22:09:26 | * | KarmaScript joined #nimrod |
22:09:36 | Araq | hi KarmaScript |
22:09:43 | KarmaScript | Hello world |
22:10:01 | dom96 | hello KarmaScript |
22:10:11 | KarmaScript | Hi dudes |
22:12:32 | KarmaScript | What a brave language! |
22:13:30 | Araq | why 'brave'? |
22:14:17 | KarmaScript | Just kidding |
22:15:10 | KarmaScript | I don't know anything about programming, but I would spreed the word |
22:17:36 | Araq | which word? |
22:17:46 | Araq | sorry btw my connection today is really *bad* |
22:19:23 | Araq | so KarmaScript, if you don't know anything about programming, how did you find the way to here? |
22:20:18 | * | pinchila joined #nimrod |
22:20:36 | KarmaScript | By pure chance |
22:20:58 | dom96 | and who might this be? |
22:21:09 | Araq | hi pinchila, welcome to nimrod |
22:21:55 | KarmaScript | The first time that I was in Freenode, I did try some random #words |
22:22:20 | Araq | ha I do that too |
22:22:28 | Araq | but no luck, no porn channel ... |
22:22:30 | KarmaScript | (Sorry about my EN) |
22:22:39 | Araq | (just kidding) |
22:23:07 | KarmaScript | :D |
22:23:54 | KarmaScript | I just wanted to know if this Chan was still available |
22:24:17 | Araq | hey it's more alive than ever |
22:24:41 | KarmaScript | That's all, I don't want to trolling |
22:24:57 | Araq | ah so you dislike nimrod? :-) |
22:26:34 | dom96 | KarmaScript: Where are you from? |
22:27:15 | KarmaScript | Argentina |
22:27:25 | KarmaScript | My Ip is visible |
22:27:36 | dom96 | ahh, yeah. Can't tell much from an IP address. |
22:28:07 | dom96 | Anyway, I should be heading to bed. |
22:28:09 | dom96 | Good night |
22:32:47 | pinchila | hai |
22:32:50 | pinchila | umm |
22:33:07 | Araq | hi pinchila |
22:33:10 | pinchila | this programming language is web or app |
22:33:25 | Araq | mostly app |
22:33:32 | Araq | can be used for web too though |
22:33:51 | pinchila | like java? |
22:33:52 | Araq | and you can even translate a subset of it to JS |
22:34:16 | Araq | well it translates to C |
22:34:24 | dom96 | pinchila: I made a sinatra-like framework for it, which you can use to write server-side stuff in. |
22:34:24 | Araq | so no VM involved |
22:34:48 | pinchila | what have this laguage |
22:34:56 | pinchila | something "special"? |
22:35:41 | Araq | *cough* IMHO it's "D done right" ;-) |
22:36:22 | Araq | we use it for everything; scripting, web apps, GTK apps |
22:36:26 | Araq | games |
22:36:41 | Araq | and you can also write an OS in it |
22:36:51 | pinchila | seriously, is another language in the web |
22:37:00 | Araq | or program your AVR microcontroller |
22:37:08 | pinchila | C > nimrod |
22:37:18 | Araq | how so? |
22:37:34 | Araq | there is not a single thing that Nimrod does worse than C ... |
22:38:05 | Araq | which isn't hard as C is not a very good programming language to begin with ... |
22:38:18 | pinchila | yes there is |
22:38:29 | Araq | and that would be? |
22:39:06 | pinchila | C have a lot of support |
22:39:26 | pinchila | nimrod have no famous |
22:40:01 | dom96 | I think you are forgetting though: Nimrod compiles to C. |
22:40:09 | Araq | *shrug* just write your scripts in C then ... oh |
22:40:15 | Araq | somehow nobody does that? |
22:40:22 | Araq | strange ... |
22:40:39 | Araq | support is no inherent language quality |
22:40:49 | pinchila | >Nimrod compiles to C |
22:41:04 | Araq | and C compiles to assembler |
22:41:11 | Araq | assembler is much better obviously |
22:41:42 | pinchila | are you saying nimod is a software to compile code? |
22:41:45 | pinchila | like |
22:42:02 | Araq | Nimrod is a programming language |
22:42:02 | pinchila | monodevelop' |
22:42:14 | dom96 | I was referring to the Nimrod compiler. |
22:42:15 | Araq | and one that is still in heavy development |
22:42:31 | Araq | and yet it's way more useful than C already |
22:42:34 | dom96 | The Nimrod compiler compiles Nimrod code to C. |
22:42:47 | Araq | depending on what your needs are obviously |
22:43:11 | dom96 | Which means you can obviously use every C library in existence. |
22:43:23 | dom96 | From Nimrod. |
22:43:32 | dom96 | Very easily :P |
22:43:46 | pinchila | meh |
22:44:05 | pinchila | the libraries can be finded in the web |
22:44:36 | pinchila | yu can't find easily support on internet |
22:44:39 | * | Trix[a]r_za is now known as Trixar_za |
22:45:24 | pinchila | >support is no inherent language quality |
22:45:39 | pinchila | yea? |
22:45:45 | pinchila | oh really? |
22:46:09 | pinchila | when soomething is pretty good have support from they users |
22:46:35 | pinchila | look the P2P programs |
22:46:44 | pinchila | look the GNU |
22:46:58 | dom96 | pinchila: What OS do you use? |
22:47:00 | Trixar_za | lol |
22:47:07 | Trixar_za | GNU? Good? lol |
22:47:23 | pinchila | i use fedora |
22:47:37 | dom96 | haha |
22:47:54 | Trixar_za | Speaking of GNU, I find most people don't get the GPL |
22:48:06 | dom96 | Well, Windows has a lot more users than Linux. |
22:48:12 | dom96 | That doesn't make Windows good. |
22:48:20 | Trixar_za | Just familiar |
22:48:55 | pinchila | windows is mostly used in pirated versions |
22:48:58 | Trixar_za | There is actually a nice article on it |
22:49:53 | dom96 | Meh. Well I actually do need to sleep. |
22:49:54 | Trixar_za | http://linux.oneandoneis2.org/LNW.htm |
22:50:00 | Trixar_za | Best article ever written on the topic |
22:50:50 | Trixar_za | It explains what User-friendly really means, which is basically familiarity and not simplicity as some believe |
22:50:51 | dom96 | pinchila: If you're going to miss out on a great language just because it's not popular (yet) then you are going to make a big mistake :P |
22:51:21 | pinchila | do96: you are wrng, i never say that |
22:51:34 | pinchila | i am talking about support |
22:52:02 | * | SchalaZeal joined #nimrod |
22:52:06 | Trixar_za | Well, I'm pretty sure Python and Perl only had like 2 people that knew it when it started out. |
22:52:29 | dom96 | "Support" is basically the community. |
22:52:31 | Trixar_za | Python's support still sucks, but Perl has grown to be pretty nice |
22:52:37 | dom96 | i.e. how popular the language is. |
22:52:45 | dom96 | But anyways. Good night for real. |
22:52:51 | Trixar_za | Night dom96 |
22:52:58 | Araq | SchalaZeal: have you actually tested the pull request? |
22:53:33 | Araq | I fear it'll break code :P |
22:53:55 | Trixar_za | Like you're changes doesn't do that sometimes ^^ |
22:53:59 | Trixar_za | your* |
22:54:01 | * | Trixar_za hides |
22:54:15 | Araq | Trixar_za: hey I do it on purpose |
22:54:36 | pinchila | python is ore simply than nimrod |
22:55:03 | Trixar_za | Speaking from a Python coder, Nimrod's syntax is easier |
22:55:10 | Trixar_za | as a* |
22:56:21 | Trixar_za | Oh and we have case statements. Python 2.x doesn't. And have you SEEN Python 3's syntax? Omg. |
22:56:57 | * | Trixar_za rubs his % for string insertions |
22:57:08 | Trixar_za | My precious... |
22:57:50 | pinchila | it's easy |
22:59:06 | Trixar_za | It's annoyingly complicated. Yes, the new insertion method is WAY more flexible, but it adds an unneeded level of complexity to the language. So you can now arrange the variables like you want and have the insertion place them correctly. Doesn't really add to the readability of it. |
22:59:50 | Trixar_za | Anyway, a binary still runs faster than any scripting language could |
23:01:09 | * | pinchila quit (Quit: Ex-Chat) |
23:01:38 | Trixar_za | lol |
23:01:56 | Trixar_za | I didn't even get to talk about inheritance |
23:02:23 | Araq | first troll here |
23:02:27 | Araq | a good sign :-) |
23:08:10 | ccssnet | troll! where? |
23:08:56 | * | ccssnet reads backlog |
23:09:16 | ccssnet | Trixar_za: yea your right, most people dont understand the GPL's at all |
23:10:25 | Trixar_za | I think most people get stuck at the "You can sell it" part |
23:10:43 | ccssnet | yea, you can actually sell it if you read the damn license :) |
23:11:17 | Trixar_za | Only two things that are required are "Credit where credit is due", "Include this license with the original and changed code" and "Provide source code at request" |
23:11:23 | Trixar_za | Ok, so it's three things |
23:11:23 | Trixar_za | :P |
23:11:32 | ccssnet | well i met a linux geek today |
23:11:51 | ccssnet | his car broke down and he pulled in my drive way. i was wearing my libreplanet tshirt |
23:12:30 | ccssnet | said he works at green host |
23:12:34 | Araq | good night guys |
23:12:35 | ccssnet | looking them up now |
23:12:39 | ccssnet | ttyl Araq |
23:12:43 | Trixar_za | Night Araq |
23:13:32 | ccssnet | or maybe it was greengeeks? |
23:13:35 | ccssnet | not sure |
23:13:40 | Trixar_za | lol |
23:14:17 | SchalaZeal | oopsy |
23:14:24 | SchalaZeal | I zoned out |
23:17:02 | ccssnet | speaking of zoning out |
23:17:09 | * | ccssnet lights a fat joint |
23:24:46 | * | SchalaZeal quit () |