01:40:00 | ccssnet | hey Trix[a]r_za :) |
01:40:07 | ccssnet | o gnight |
07:12:31 | * | shevy quit (Ping timeout: 327 seconds) |
07:36:43 | * | Tasser quit (*.net *.split) |
08:09:57 | * | Tasser joined #nimrod |
08:59:44 | * | Tasser quit (*.net *.split) |
09:00:32 | * | Tasser joined #nimrod |
11:10:21 | * | silven quit (Ping timeout: 246 seconds) |
11:22:44 | * | Trix[a]r_za is now known as Trixar_za |
12:19:03 | * | silven joined #nimrod |
13:27:27 | * | Trixar_za is now known as Trix[a]r_za |
13:36:18 | * | zahary quit (Remote host closed the connection) |
14:43:27 | * | Trix[a]r_za is now known as Trixar_za |
15:42:08 | * | shevy2 joined #nimrod |
16:04:37 | * | zahary joined #nimrod |
16:08:03 | * | zahary quit (Client Quit) |
16:57:58 | * | fowl quit (Ping timeout: 248 seconds) |
17:54:39 | * | Trixar_za is now known as Trix[a]r_za |
18:00:47 | * | fowl joined #nimrod |
19:45:27 | * | shevy2 is now known as shevy |
20:24:32 | * | Trix[a]r_za is now known as Trixar_za |
20:25:12 | * | shevy quit (Ping timeout: 272 seconds) |
20:39:36 | * | shevy joined #nimrod |
20:46:44 | Araq | so shevy ... any tutorials for me to proofread? ;-) |
20:50:38 | shevy | heya Araq |
20:51:32 | shevy | sorry, university is killing me right now :( this week there is daily phytochemistry lab work, and I have an oral exam in biochemistry in two days too, I haven't written much really computer-related the last some days ;( |
20:51:57 | Araq | hehe, no problem |
20:52:15 | Araq | but don't complain about the state of nimrod's docs then :P |
20:52:33 | Trixar_za | But they're bad |
20:52:35 | * | Trixar_za hides |
20:52:41 | Araq | Trixar_za: why? |
20:53:59 | shevy | Araq oh, I don't think this is something that can be solved in a few weeks anyway |
20:54:07 | shevy | ruby had bad docu for about 15 years |
20:54:09 | shevy | :D |
20:54:15 | Trixar_za | Lack of practical examples and most of them only have a basic explanation of what a function in a library does (instead of say showing a example of it's use). |
20:54:18 | shevy | python had higher quality docu IMHO though |
20:54:26 | shevy | (than ruby) |
20:54:46 | Araq | python's docs are verbose and unhelpful IMHO |
20:54:46 | shevy | nowadays python still has the edge, but the ruby docu is "ok" mostly... perhaps at quality level... 75% |
20:55:55 | Trixar_za | shevy: Yeah and python 3 breaks that |
20:56:46 | Trixar_za | print("{} for {} in {}").format(string, number, string2) anyone? :P |
20:58:00 | Trixar_za | Mind you, I could use use the numbering system to arrange the insertions like I want regardless of the order they are in format() |
20:58:24 | Trixar_za | And yes, I only know that because I had to look it up a few minutes ago |
20:58:49 | Araq | Trixar_za: just checked |
20:58:55 | Araq | the collections need examples |
20:59:25 | Trixar_za | Also Araq, if you ever implement that, I will slap you. I like the % method :( |
20:59:43 | Araq | me too |
20:59:51 | Araq | % will definitely stay |
21:00:13 | Araq | btw Nimrod is a systems programming language ... |
21:00:23 | Araq | which means you can write libraries in it |
21:00:32 | Araq | that are a fast as anything else |
21:00:46 | shevy | Trixar_za that transition from python 2 to python 3 is really terrible |
21:00:51 | Araq | you could easily implement % yourself |
21:01:34 | shevy | some projects, like compile scripts in modular xorg, require python 2. the same .py script wont work with python 3, so I need to have python 2 installed in order to compile some of these from source :( |
21:01:42 | Trixar_za | I know shevy. All the changes are painful. Yes the reduction and redirection of Python is great. But why break how print worked and why remove % replacements? |
21:02:27 | shevy | I filed a bug report, told them that what sucks is that they do not provide a python 3 version, but their configure script also does not allow an option to disable python altogether, thus forcing me to have python 2 installed if I want to continue compiling from source. they said they will add a configure-switch to disable python because of that report |
21:02:40 | shevy | I have really no idea why they did it :) |
21:02:53 | shevy | in ruby, I usually use "e" to output anything |
21:02:56 | shevy | alias e puts |
21:03:06 | Araq | personally I think python's "unicode properly everywhere" and the resulting bytestring disease |
21:03:06 | Trixar_za | lol |
21:03:09 | shevy | or e becomes its own method, where I hook it up to ansi-escape colours |
21:03:22 | Araq | is python 3's biggest wart |
21:03:28 | Trixar_za | Yeah, I added print to my Nimrod compiler too |
21:03:38 | Trixar_za | Mostly to annoy Araq |
21:03:41 | Trixar_za | Funny enough |
21:03:57 | Trixar_za | I now finally remember to use echo instead of print |
21:04:26 | Araq | Trixar_za: you can inject the compiler to use another module implicitely |
21:04:37 | Araq | aka "user defined system module" |
21:04:48 | Araq | put your 'print' in there and change your config |
21:04:51 | Araq | done ... |
21:05:59 | Araq | --import:PATH add an automatically imported module |
21:06:13 | shevy | that reminds me. when you want to display "ansi-coloured" code, like |
21:06:17 | Araq | --include:PATH add an automatically included module |
21:06:21 | shevy | warning("Removing /home now") |
21:06:34 | shevy | which shall just print that out with red colour |
21:06:48 | shevy | you'll just add the \E escape in the warning proc? |
21:07:00 | shevy | I dont remember the code offhand :-) |
21:08:33 | Araq | shevy: http://nimrod-code.org/terminal.html |
21:08:45 | shevy | ah cool |
21:09:16 | Trixar_za | Oh and guess what |
21:09:54 | Trixar_za | I somehow talked myself into the responsibility of rewriting SliTaz's package management (tazpkg) script into Nimrod. |
21:10:17 | Trixar_za | This is why I should stop advertising Nimrod :P |
21:11:38 | Araq | why? tazpkg looks nice :P |
21:12:11 | Trixar_za | It could be faster. For example, the upgrade check for packages takes ages |
21:12:37 | Araq | no I mean |
21:12:47 | Araq | it looks like a nice project to rewrite in nimrod |
21:13:01 | Trixar_za | True |
21:13:35 | Trixar_za | bash scripts are only so fast - even with some creative greps and sed replacements |
21:13:37 | Trixar_za | :P |
21:14:40 | shevy | ack |
21:14:43 | shevy | a bash script it is? |
21:15:11 | Trixar_za | Yeah |
21:15:19 | Trixar_za | It's a micro-linux distro |
21:15:22 | Trixar_za | What do you expect? |
21:15:32 | Trixar_za | It doesn't come with Python or Perl installed by default |
21:15:40 | shevy | hmm |
21:15:42 | Trixar_za | and it uses busybox by default |
21:15:51 | shevy | kinda cool, sounds very minimal |
21:15:58 | Trixar_za | so you're stuck with ash (like debian's dash) scripts |
21:16:11 | shevy | I gave up writing shell code years ago though |
21:16:20 | Trixar_za | The better alternative is to write them as binaries |
21:16:24 | Trixar_za | Would be faster too |
21:16:32 | shevy | yeah. busybox I always have around, it is awesome |
21:20:23 | Araq | what does python cache again? -5..100, right? |
21:20:40 | Araq | (python caches some integer objects) |
21:20:54 | fowl | slitaz is dope its easy to mix your own livecd |
21:23:34 | Trixar_za | It could be better though fowl |
21:24:01 | Trixar_za | I wish I had the funds to actually seriously develop on it, but eh, I don't :/ |
21:25:20 | Araq | it's -5..256 |
21:56:55 | fowl | is there no mod() for floats? |
21:58:05 | Trixar_za | Anyway, goodnite all. I'm out :P |
21:58:38 | * | Trixar_za is now known as Trix[a]r_za |
22:16:39 | Araq | fowl: I think there is a 'math.fmod' |
22:31:48 | fowl | Araq, nope :/ |
22:32:13 | Araq | add it then and make a pull request |
23:41:22 | fowl | i cant get it to build without passing -l:-lm |
23:41:46 | fowl | proc fmod*(x, y: float): float {.importc: "fmod", header: "<math.h>".} |
23:41:56 | fowl | did i forget something ._. |