00:00:22 | joelmo | I remember in one exam on programming, we had to give the execution of an expression in a MiniErlang machine, that was not fun |
00:08:05 | * | xenagi joined #nimrod |
00:12:58 | * | NimBot joined #nimrod |
00:13:01 | BitPuffn | dom96: study!! D:< |
00:13:02 | BitPuffn | :P |
00:13:03 | Araq | !lag |
00:13:03 | NimBot | Unknown. |
00:13:05 | dom96 | tada |
00:13:08 | Araq | !lag |
00:13:08 | NimBot | Unknown. |
00:13:09 | gradha | it would help if you define a macro as accepting a string (yes, I know it gets a PNimNode) and the compiler would not pass statements there |
00:13:12 | Araq | !lag |
00:13:12 | NimBot | 1ms between me and the server. |
00:13:25 | dom96 | BitPuffn: I already gave up, i'm just going to sleep hah |
00:13:33 | BitPuffn | dom96: haha yeah |
00:13:41 | dom96 | 'night guys |
00:13:48 | gradha | good night |
00:13:54 | joelmo | night |
00:14:03 | joelmo | !echo foo |
00:14:08 | joelmo | :> |
00:14:15 | gradha | bar? |
00:14:48 | Araq | gradha: make a feature request please |
00:14:56 | Araq | I think I know what you mean, but still |
00:15:42 | Araq | !quote |
00:15:44 | gradha | awesome, a statement macro invoked with less parameters still works, kinda |
00:16:07 | gradha | I get a stack trace as the missing param |
00:18:31 | BitPuffn | yeah i should sleep too now |
00:18:33 | gradha | good night, honey badgers |
00:18:38 | BitPuffn | damn it did not get done as much as I hoped to today lol |
00:18:43 | * | gradha quit (Quit: bbl, need to watch http://www.youtube.com/watch?v=hcDEWiH-ciw again) |
00:18:49 | BitPuffn | nice to get the VNUG going though :D |
00:24:14 | * | BitPuffn quit (Ping timeout: 264 seconds) |
00:33:10 | * | C0C0 quit (Remote host closed the connection) |
00:33:10 | * | leex quit (Remote host closed the connection) |
00:34:13 | NimBot | Araq/Nimrod vm2 c935f43 Araq [+0 ±7 -0]: new VM: improvements |
00:46:42 | * | ics joined #nimrod |
01:01:22 | * | boydgreenfield_ quit (Quit: boydgreenfield_) |
01:03:47 | * | Kooda quit (Read error: Connection reset by peer) |
01:18:22 | * | DAddYE quit (Remote host closed the connection) |
01:18:55 | * | DAddYE joined #nimrod |
01:23:08 | * | DAddYE quit (Ping timeout: 246 seconds) |
02:19:41 | * | DAddYE joined #nimrod |
02:24:00 | * | DAddYE quit (Ping timeout: 252 seconds) |
02:31:14 | * | brson_ joined #nimrod |
02:34:02 | * | brson quit (Ping timeout: 240 seconds) |
02:42:07 | * | DAddYE joined #nimrod |
02:42:25 | * | DAddYE quit (Remote host closed the connection) |
02:42:31 | * | DAddYE joined #nimrod |
02:54:05 | * | DAddYE quit (Remote host closed the connection) |
02:54:35 | * | DAddYE joined #nimrod |
02:58:43 | * | DAddYE quit (Ping timeout: 240 seconds) |
03:00:10 | * | brson joined #nimrod |
03:00:36 | * | DAddYE joined #nimrod |
03:02:53 | * | brson_ quit (Ping timeout: 246 seconds) |
03:15:21 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
03:19:00 | * | jimmt joined #nimrod |
03:22:30 | * | jennjimm quit (Ping timeout: 245 seconds) |
03:25:25 | * | zahary_ quit (Ping timeout: 248 seconds) |
03:56:22 | * | brson quit (Quit: leaving) |
04:07:59 | * | ics joined #nimrod |
05:20:52 | * | boydgreenfield quit (Quit: boydgreenfield) |
05:21:23 | * | boydgreenfield joined #nimrod |
05:54:45 | * | xenagi quit (Quit: Leaving) |
06:03:55 | * | boydgreenfield quit (Quit: boydgreenfield) |
06:20:42 | * | Demos joined #nimrod |
06:33:34 | * | boydgreenfield joined #nimrod |
06:52:39 | * | DAddYE quit (Remote host closed the connection) |
06:53:13 | * | DAddYE joined #nimrod |
06:57:30 | * | DAddYE quit (Ping timeout: 240 seconds) |
07:10:36 | * | Demos quit (Read error: Connection reset by peer) |
07:28:42 | * | webskipper joined #nimrod |
07:38:59 | webskipper | Can I use somethink like abstract classes / interfaces in nimrod ? Declaration without implementation... ? |
07:39:14 | webskipper | something, sry |
08:11:09 | * | boydgreenfield quit (Quit: boydgreenfield) |
08:39:14 | Araq | webskipper: you can use methods or closures to accomplish this, the forum contains details |
08:56:04 | * | DAddYE joined #nimrod |
09:00:31 | * | DAddYE quit (Ping timeout: 250 seconds) |
09:11:16 | * | BitPuffin joined #nimrod |
09:36:40 | * | webskipper quit (Read error: Connection reset by peer) |
09:37:11 | * | CarpNet joined #nimrod |
09:38:51 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:57:04 | * | DAddYE joined #nimrod |
10:01:37 | * | DAddYE quit (Ping timeout: 250 seconds) |
10:29:01 | BitPuffin | this is weeeird |
10:29:11 | BitPuffin | I try the exact same sql on the command line on command line |
10:29:16 | BitPuffin | yet in nimrod it doesn't work |
10:30:27 | BitPuffin | result = db.getRow(sql"select 1 from ? where ? = ?", table, row, id) |
10:30:47 | BitPuffin | if result[0] == "": |
10:30:56 | BitPuffin | (throw exception) |
10:31:06 | BitPuffin | on command line: |
10:31:32 | BitPuffin | select * from users where id = 1; |
10:31:34 | BitPuffin | 1|[email protected]|debug|BitPuffin|Isak|Andersson |
10:31:59 | BitPuffin | and that select statement is copy pasted from debug output |
10:32:13 | BitPuffin | with an added semicolon |
10:32:19 | BitPuffin | only modification |
10:32:21 | BitPuffin | sigh |
10:37:45 | BitPuffin | btw it's changed to result = db.getRow(sql"select 1 from ? where ? = ?", table, row, id) |
10:37:50 | BitPuffin | uh |
10:37:53 | BitPuffin | select * |
10:42:01 | fowl | since when do you use prepared thing for the column name |
10:47:50 | BitPuffin | fowl: is that not allowed? |
10:48:00 | BitPuffin | guess that could be it then hehe |
10:49:35 | fowl | doesnt it end up as select 1 from "users" where "id" = "1" |
10:50:02 | * | Kooda joined #nimrod |
10:53:58 | fowl | BitPuffin, prepared statements are for protecting against user input, its not supposed to be used like sprintf |
11:39:19 | * | vendethiel quit (Ping timeout: 246 seconds) |
11:40:00 | * | vendethiel joined #nimrod |
12:00:12 | * | DAddYE joined #nimrod |
12:04:14 | * | DAddYE quit (Ping timeout: 240 seconds) |
13:01:33 | BitPuffin | fowl: no u |
13:01:37 | * | DAddYE joined #nimrod |
13:05:50 | * | DAddYE quit (Ping timeout: 240 seconds) |
14:02:52 | * | DAddYE joined #nimrod |
14:03:56 | Araq | hi DAddYE |
14:05:16 | fowl | BitPuffin, does it work now or what |
14:07:29 | * | DAddYE quit (Ping timeout: 272 seconds) |
14:49:53 | * | io2 joined #nimrod |
15:01:42 | OrionPKM | araq |
15:01:53 | OrionPKM | output for jsondoc example: http://pastebin.com/7pvYYNuB |
15:04:15 | * | DAddYE joined #nimrod |
15:06:29 | fowl | did you hack the compiler? |
15:06:52 | OrionPKM | indeed. i added another command to docgen.nim |
15:08:38 | * | DAddYE quit (Ping timeout: 240 seconds) |
15:09:00 | Araq | OrionPKM: impressive. how did you manage? I use 2 letter abbrevs ... |
15:09:16 | fowl | :D |
15:09:21 | OrionPKM | humm??? |
15:09:35 | OrionPKM | jsdoc? |
15:10:44 | Araq | yeah. I thought the compiler is a work from devil himself using abbrevs everywhere instead of typing "context" 10000 times |
15:11:07 | OrionPKM | oh ha |
15:11:19 | OrionPKM | it was pretty tricky, but I'll heal |
15:12:01 | Araq | what did you patch? doc or doc2? |
15:12:07 | OrionPKM | docgen.nim |
15:13:22 | OrionPKM | if that output is fine, I'll submit a PR after a bit of cleanup |
15:13:43 | Araq | I don't know. idetools supports json output already iirc |
15:14:53 | Araq | but ok. expect me to moan "lack of efficiency" on your PR |
15:15:05 | OrionPKM | lol |
15:15:37 | OrionPKM | i dont see anything about json in the idetools doc |
15:17:50 | Araq | seems like it was only in my dreams |
15:18:06 | Araq | indeed compiler/suggest.nim doesn't support json output |
15:18:09 | OrionPKM | must have been a nice dream |
15:18:41 | Araq | I had better ones ;-) |
15:23:13 | Araq | so ... just for your information: when you design a VM |
15:23:43 | Araq | you better keep the case in mind that globals can be passed byref too |
15:24:12 | Araq | otherwise you need to hack it into your design later like I have to do now |
15:24:16 | OrionPKM | well duh |
15:24:19 | OrionPKM | :P |
15:24:39 | OrionPKM | araq can I buy you a spa treatment? |
15:24:41 | * | Araq 's VM is too efficient for globals :P |
15:26:09 | Araq | OrionPKM: sure, well you know I accept money |
15:26:20 | OrionPKM | nah, not the same |
15:26:45 | fowl | asian spa ;) |
15:26:57 | OrionPKM | VIP Asian Massage :D |
15:27:35 | OrionPKM | araq remind me to turn off "trim whitespace from line endings" when Im editing the compiler :@ |
15:28:29 | Araq | meh what's wrong with the good old brothel? |
15:28:55 | Araq | OrionPKM: just trim the ws, I don't care |
15:29:02 | OrionPKM | ok |
15:37:24 | * | gradha joined #nimrod |
15:37:36 | Araq | gradha! |
15:37:40 | gradha | Araq! |
15:38:22 | OrionPKM | araq know what effect the -o switch has on docgen? |
15:38:43 | Araq | that's #nimrod for you. Everybody is welcome. Especially if you're a core dev. |
15:39:17 | Araq | OrionPKM: no |
15:40:48 | gradha | OrionPKM: I believe it kills puppies |
15:40:58 | OrionPKM | i berlieve you may be right |
15:41:24 | Araq | all I know that the --compileOnly has rather strange semantics for the docgen |
15:42:05 | Araq | we might want to rename this :P |
15:42:35 | Araq | but naming things properly kills innovation and creativity |
15:43:12 | OrionPKM | i just want to be able to not spew json files all over the project :0 |
15:43:53 | Araq | I just want a Pony |
15:44:08 | gradha | OrionPKM: one of doc or doc2 does that, the other processes a single file |
15:44:24 | Araq | no |
15:44:34 | Araq | both doc and doc2 don't do that anymore |
15:44:37 | Araq | but doc2 used to |
15:44:45 | Araq | unless it's buggy :P |
15:45:18 | Araq | there is --project iirc to do the whole project documentation thingie |
15:45:55 | gradha | Araq: you are right, doc processes htmlparser and generates a single html, doc2 crashes |
15:46:35 | Araq | so fix it |
15:46:49 | gradha | ok |
15:46:52 | Araq | extra points if you find out who broke it |
15:47:01 | fowl | lol |
15:47:08 | OrionPKM | and break their legs |
15:47:19 | gradha | OrionPKM: it was a good time knowing you |
15:47:42 | OrionPKM | :S |
15:48:18 | OrionPKM | araq docgen is using this getOutFile |
15:48:25 | OrionPKM | which looks at options.outFile |
15:51:45 | OrionPKM | so -o does work |
15:55:54 | gradha | does rstgen.rstToHtml, exported for nimforum, generate the syntax highlighting for nimrod code blocks? |
15:56:12 | Araq | I think so |
15:56:57 | gradha | want me to add a nim2html command which wraps the input .nim file and generates it's prettified html version then? |
15:57:35 | Araq | if you can keep the implementation under 20 lines of code ... |
15:57:48 | OrionPKM | damn it's quick |
15:57:50 | Araq | *below ? |
15:57:55 | gradha | without semicolons? |
15:58:27 | Araq | don't comment your code for consistency with the rest of the compiler |
16:01:15 | * | gradha wonders if Araq at work rejects PRs because they have comments |
16:05:34 | * | DAddYE joined #nimrod |
16:09:00 | gradha | was going to write a long post for the forums but let's try here first, Araq, can I use Nimrod's gc to keep track of C allocated memory? |
16:09:04 | BitPuffin | fowl: seems so |
16:09:35 | gradha | Let's say I want to malloc a chunk, then assign that to nimrod, and let nimrod handle some ref to it, and call some C code (aka free) on it when nothing else points to it |
16:09:50 | * | DAddYE quit (Ping timeout: 240 seconds) |
16:10:47 | Araq | gradha: you can only let a finalizer deal with the malloc'ed chunk |
16:11:15 | fowl | you mean like std::unique_ptr ? |
16:12:17 | Araq | the resulting double indirection surely is annoying but I think it's technically impossible to do better than this |
16:12:49 | dom96 | hi |
16:12:59 | gradha | dom96: hey, thanks for coming |
16:13:14 | Araq | dom96! |
16:13:31 | dom96 | gradha: No problem at all |
16:13:39 | gradha | dom96: good, now, please explain finalizers to me |
16:13:55 | gradha | so far I've found zero docs and three forum threads |
16:14:03 | dom96 | They finalize things? |
16:15:39 | gradha | Araq: so by double indirection you mean I create a "ref thingy", assign to some of its fields the C memory, then use the finalizer to free it? |
16:15:48 | Araq | exactly |
16:16:46 | gradha | it seems that I could forget to pass the finalizer in the new call, can that be prevented? (I guess templates FTW) |
16:17:10 | Araq | well as I already told you |
16:17:17 | Araq | the finalizer gets attached to the *type* |
16:17:33 | gradha | oh, right, had forgotten that awesome conversation |
16:18:22 | gradha | did you get the inherited finalizer feature request from http://forum.nimrod-lang.org/t/95 ? |
16:18:44 | Araq | yes. I got it. I'm not impleementing it any time soon. |
16:18:57 | Araq | there are much more important things to do |
16:20:32 | gradha | double indirection could be avoided if you could attach finalizers to distinct int types, so you effectively have finalizers for pointers |
16:20:44 | gradha | I imagine that's not possible at all, or soon |
16:32:07 | OrionPKM | recursive dependency? |
16:33:26 | OrionPKM | iterators cant call themselves? |
16:34:21 | gradha | https://github.com/Araq/Nimrod/issues/555 |
16:34:38 | gradha | dom96: what are you doing about that showstopper? |
16:35:44 | dom96 | I don't think it turned out to be a showstopper, although I never finished the async await stuff and it was related to that |
16:36:08 | * | boydgreenfield joined #nimrod |
16:36:58 | fowl | OrionPKM, stop trying to breakings things |
16:37:09 | OrionPKM | cant help myself |
16:38:40 | fowl | assign to dom96 since he broke ssl https://github.com/Araq/Nimrod/issues/735 |
16:42:04 | dom96 | I did? |
16:43:04 | fowl | i dunno |
16:43:08 | fowl | you're the ssl guy right |
16:44:28 | dom96 | I suppose |
16:44:36 | dom96 | I could have broken it |
16:44:38 | dom96 | Can't remember though |
16:44:43 | dom96 | But yeah, i'm the ssl guy |
16:45:50 | gradha | if only you had some sort of automated factory to detect these things being broken |
16:46:18 | dom96 | if only... oh wait |
16:53:14 | * | olahol left #nimrod (#nimrod) |
17:00:22 | OrionPKM | ok, PR submitted |
17:12:46 | gradha | the build farm says smtp compiles |
17:13:22 | Araq | only the powerpc builder runs these days afaik |
17:13:24 | gradha | the module compiles fine under macosx too |
17:13:44 | Araq | with -d:ssl ? |
17:14:06 | gradha | yes |
17:14:18 | gradha | nimrod c -d:ssl smtp |
17:14:20 | Araq | maybe it only fails on linux |
17:14:49 | gradha | then I run the program and fails because a username/pass was not accepted |
17:17:07 | gradha | linux testers died? |
17:17:34 | Araq | I think so, will fix it once my vm is ready |
17:17:48 | Araq | which will be tonight or hell freezes over |
17:18:24 | gradha | has to be before the end of the year, the aztecs couldn't be wrong with 2013 being our last year on earth |
17:18:43 | gradha | or was that the mayans? |
17:18:57 | Araq | it was the mythbusters |
17:19:43 | fowl | i think that codes might be wrong too |
17:20:00 | fowl | it uses when defined(ssl): in a function which takes `ssl` as a parameter |
17:20:21 | Araq | ah lol |
17:20:31 | fowl | btw i'd like to be able to do ssl.defined.when: |
17:20:39 | fowl | how about that araq |
17:20:48 | Araq | I knew dom96 should have used 'useSSL' instead |
17:21:05 | Araq | which would be consistent with our use/no convention |
17:21:31 | Araq | fowl: overdose of factor? |
17:21:33 | fowl | i dont think anybody's using smtp (or it would have been reported earlier) |
17:21:52 | * | gradha looks at dom96, close to being thrown out of the pantheon of gods |
17:21:57 | Araq | I think everybody uses smtp with -d:ssl |
17:22:14 | Araq | so nobody noticed |
17:22:41 | Araq | the forum uses smtp, I think |
17:24:19 | Araq | bbl |
17:26:12 | Varriount | I stall haven't had my forum account password reset :( |
17:26:16 | Varriount | *still |
17:27:06 | * | ics joined #nimrod |
17:30:16 | Varriount | gradha, 'when defined(Apocalypse): danceTillDawn()' |
17:31:31 | * | DAddYE joined #nimrod |
17:32:16 | gradha | Varriount: haven't asked BitPuffin to crack your hash? Maybe faster than dom96 resetting the password |
17:33:16 | Varriount | gradha, probably should. Or we could use an xml/json bomb to bring the forum to dom96's attention. |
17:33:46 | Varriount | I don't think the xml parser libs have any security against expansions and the like. |
17:38:21 | Varriount | gradha, is filwit really designing a honey badger logo for nimrod? |
17:41:49 | gradha | filwit has not been seen for a long time, so I don't think he received the TPS report yet |
17:42:15 | gradha | NimBot: please tell me when was the last time you saw filwit around |
17:42:23 | gradha | NimBot: high five bro! |
17:42:27 | Varriount | !lastSeen filwit |
17:42:34 | Varriount | !lastseen filwit |
17:42:35 | gradha | NimBot: how many hone badgers do you need to change a bulb? |
17:42:50 | gradha | NimBot: why does the farm not update the builders? |
17:43:18 | gradha | NimBot: when do you think Nimrod will release 1.0? |
17:43:27 | Varriount | NimBot, why do my bots keep timing out, when they really aren't |
17:44:57 | gradha | NimBot: when will Apple finish building their UFO so they can finally leave earth? |
17:46:07 | dom96 | Araq: Could've told me to use 'useSSL' then |
17:46:47 | dom96 | You know what would be better? If we had something which didn't clash with defined variables/procs/consts etc. |
17:47:02 | gradha | NimBot: why does Araq not travel back in time to tell dom96 better? |
17:47:34 | dom96 | It's !seen btw |
17:47:53 | gradha | man, you know how to ruin a party |
17:48:43 | dom96 | yep, it's revenge because you didn't join VNUG yesterday! |
17:48:52 | Varriount | Anyone know if you need to reset an error code after handling it? |
17:49:08 | gradha | Varriount: most likely, as you are dealing with global variables |
17:49:29 | dom96 | Varriount: You mean what you get from OSLastError()? |
17:49:34 | Varriount | dom96, sorta |
17:49:41 | Varriount | I'm editing code in os.nim |
17:49:58 | dom96 | I don't think so |
17:50:00 | Varriount | some of which uses errno, the OS's error number |
17:50:26 | dom96 | You only check errno when an OS call fails. |
17:50:37 | dom96 | So you can be sure that it was set to something new. |
17:50:49 | Varriount | I made a mistake whith my removeFile fix, and now it errors if the file it tries to remove doesn't exist |
17:51:42 | OrionPKM | dangit varriount, what do we pay you for? |
17:51:44 | Varriount | (On that subject, I find the inconsistancy of when nimrod's os module's functions error a pain) |
17:52:02 | Varriount | OrionPKM, you pay me with praise and attention. |
17:52:10 | Varriount | Or at least, attention. |
17:53:34 | OrionPKM | well, I'm almost ready to add in doc lookup to the st plugin |
17:54:06 | Varriount | OrionPKM, I'm probably not going to be able to contribute much to the ST plugin till Wednesday next week. |
17:54:13 | OrionPKM | hopefully I'll never have to go to Nimrod/documentation site anymore |
17:54:26 | OrionPKM | mmk |
17:54:27 | Varriount | I have an essay due Monday night, and a research paper due Tuesday |
17:56:19 | OrionPKM | fun |
17:57:09 | Varriount | It could be worse. |
17:59:18 | gradha | Varriount: you could be working on a new vm for nimrod |
18:00:03 | Varriount | God no. Not without some major time for research and learning. |
18:00:21 | gradha | I was giving an example of what could be worse |
18:01:04 | Varriount | Why is it that we have error codes in the posix module, but not in the winlean module? |
18:01:22 | gradha | windows never fails? |
18:02:12 | Varriount | I wish. |
18:02:22 | fowl | windows is good |
18:02:33 | fowl | Varriount, have you played starbound |
18:02:50 | Varriount | fowl, no, But I've played Earthbound |
18:03:22 | Varriount | Though, I have to say, though linux's api has the elegant simplicity one often wants, the windows api has some pretty neat features. |
18:05:05 | * | brson joined #nimrod |
18:08:36 | Varriount | fowl or gradha, you run linux distros, right? |
18:08:44 | gradha | nope |
18:09:20 | Varriount | fowl, Can you tell me what happens if nimrod's os.removeFile tries to remove a file with the readOnly attribute set? |
18:10:03 | * | DAddYE quit (Remote host closed the connection) |
18:11:37 | * | DAddYE joined #nimrod |
18:11:57 | fowl | k |
18:14:29 | * | Varriount|Mobile joined #nimrod |
18:14:47 | fowl | Varriount, it removes the file |
18:15:00 | Varriount|Mobile | No error? |
18:15:25 | fowl | no.. you can remove files that you can't write (if you own it) |
18:15:38 | Varriount|Mobile | Gr |
18:16:13 | Varriount|Mobile | On windows, you can neither delete nor write |
18:17:01 | fowl | thats because windows is broken |
18:17:09 | fowl | attributes were an afterthought |
18:17:22 | Varriount|Mobile | Erm, no? |
18:17:41 | Varriount|Mobile | File attributes date back to the days of Dos |
18:18:02 | fowl | oh right |
18:18:06 | fowl | i meant multiple users |
18:18:16 | Varriount|Mobile | Windows just has a stricter interpretation of read only |
18:18:16 | BitPuffin | lol gradha :) |
18:18:18 | BitPuffin | gtg! |
18:18:32 | fowl | Varriount, its because windows is archaic |
18:18:57 | * | CarpNet quit (Quit: Leaving) |
18:19:06 | * | BitPuffin quit (Quit: WeeChat 0.4.2) |
18:19:23 | Varriount|Mobile | If you say so. |
18:22:19 | fowl | yessssss |
18:23:15 | * | tylere joined #nimrod |
18:23:26 | tylere | So compiler is making me wtf again |
18:23:29 | tylere | line of code in question |
18:23:34 | tylere | var sieve = newseq[bool](sz) |
18:23:41 | tylere | sieve.nim(6, 26) Error: expression '(newSeq|newSeq)[bool](sz)' cannot be called |
18:24:10 | fowl | tylere, oh there is some problem with newseq i think |
18:24:25 | tylere | oh, I got bit by HEAD? |
18:24:30 | tylere | I did update yesterday |
18:24:31 | fowl | tylere, see if var sieve: seq[bool]; sieve.newseq(sz) works |
18:25:45 | tylere | no, but it did reveal the actual error |
18:25:51 | tylere | so apparently ceil in nim returns a float? |
18:26:28 | fowl | idk |
18:26:33 | fowl | id have to look at the docs |
18:31:00 | Varriount | tylere, is that expression within a template or generic? |
18:31:59 | Varriount | I know that newSeq fails if the type parameter it is given is a type parameter from a generic function (I haven't been able to figure out why) |
18:36:18 | * | zielmicha joined #nimrod |
18:43:01 | OrionPKM | Varriount I just checked in a biggun |
18:44:03 | OrionPKM | got a couple bug fixes to do yet though |
18:44:03 | * | Varriount|Mobile quit (Read error: Connection reset by peer) |
18:44:34 | * | Varriount|Mobile joined #nimrod |
18:47:22 | tylere | sorry, busy at work now, was hacking in some downtime |
18:47:25 | tylere | no, not a template |
18:58:25 | * | boydgreenfield quit (Quit: boydgreenfield) |
18:59:26 | * | Varriount|Mobile quit (Read error: Connection reset by peer) |
18:59:32 | * | Varriount-Mobile joined #nimrod |
18:59:34 | * | Varriount-Mobile quit (Remote host closed the connection) |
18:59:47 | * | Varriount-Mobile joined #nimrod |
19:07:52 | * | Varriount-Mobile quit (Remote host closed the connection) |
19:16:52 | * | BitPuffin joined #nimrod |
19:17:43 | Araq | dom96: defined vs declared perhaps? |
19:18:01 | Araq | that requires lots of changes though |
19:18:09 | dom96 | perhaps |
19:21:00 | gradha | changes are good |
19:21:14 | Araq | yeah we should embrace the change |
19:21:25 | Varriount | Whats the difference? |
19:22:09 | Araq | defined is about --define'd vars, declared checks things in nimrod source code |
19:23:20 | dom96 | Although those two names might be confusing |
19:23:34 | dom96 | would be nice to use something which starts with a different letter |
19:23:37 | Varriount | Araq, does os.errno need to be reset? |
19:23:43 | dom96 | so that there is no confusion about what -d refers to |
19:24:03 | Varriount | dom96, 'implemented' maybe? |
19:24:34 | Araq | dom96: -d is a shortcut for --define |
19:24:53 | dom96 | Araq: Yes, that's the point. |
19:24:53 | Araq | Varriount: no, it doesn't need to be reset |
19:25:47 | Araq | Varriount: also the error handling *is* consistent. os raises an EOS exception |
19:26:51 | Varriount | Araq, I meant that, though removeFile doesn't raise an error if the file in question doesn't exist, setFilePermissions does |
19:27:12 | Araq | uh yeah? that's called a *feature* |
19:27:28 | Varriount | *grumble* |
19:27:38 | Araq | removeFile "doesn't exist" shouldn't fail IMO |
19:29:41 | BitPuffin | dom96: why the hell is the VNUG empty? :( |
19:29:51 | BitPuffin | dom96: probably because it's not in the topic |
19:30:03 | Varriount | VNUG? |
19:30:16 | BitPuffin | Varriount: the virtual nimrod user's group |
19:30:58 | gradha | Varriont's Nimrod User Group |
19:31:03 | gradha | Varriount: exercise your rank |
19:31:14 | Varriount | What rank? |
19:31:23 | BitPuffin | Varriount: you are not even a nugget yet |
19:31:26 | BitPuffin | I mean come on |
19:31:34 | * | Varriount slaps BitPuffin around a bit with a giant minnow. |
19:31:38 | BitPuffin | gotta keep up maaan |
19:31:46 | gradha | Varriount: yeah, now go into the vnug and do that verbally |
19:32:01 | Varriount | It would be nice if I had a link. |
19:32:15 | BitPuffin | Varriount: nimrod-lang.org |
19:32:20 | BitPuffin | Varriount: in teamspeak |
19:32:41 | Varriount | You assume I *have* teamspeak |
19:32:49 | BitPuffin | Varriount: pacman -S teamspeak3 |
19:33:17 | BitPuffin | dom96: get in theee |
19:33:25 | gradha | pacman? |
19:33:39 | EXetoC | package manager |
19:33:46 | Varriount | C:\64\Nimrod>pacman -S teamspeak3 -> 'pacman' is not recognized as an internal or external command, operable program or batch file. |
19:34:02 | gradha | EXetoC: man, these people still using DOS crack me up |
19:34:16 | BitPuffin | Varriount: then download it, you don't need to register an account |
19:34:18 | EXetoC | wut |
19:34:25 | BitPuffin | gradha: well you are using almost-unix |
19:34:48 | gradha | BitPuffin: if you look at my repos you will find the_hyperlink_vs_nimrod, not thvn |
19:35:02 | BitPuffin | gradha: woot |
19:35:04 | Varriount | Why must all linux-users assume that the group of those who are windows-users, and the group of those that are programmers, must be mutually exclusive? |
19:35:13 | Varriount | *nearly all |
19:35:29 | BitPuffin | Not sure what you mean |
19:35:39 | BitPuffin | dom96: !!!!!!! |
19:35:44 | BitPuffin | dom96: you are not in the vnug!! |
19:35:47 | BitPuffin | didn't you know? xD |
19:35:58 | Varriount | BitPuffin, I am in a library, without a headset |
19:36:10 | dom96 | i'm busyyy |
19:36:15 | BitPuffin | dom96: nein! |
19:36:18 | BitPuffin | with what? |
19:36:18 | Araq | BitPuffin: stop poking my core devs |
19:36:47 | BitPuffin | Araq: join the VNUG! lol :P |
19:47:33 | Varriount | How does one do conditional dll loading? |
19:47:50 | BitPuffin | Varriount: if bla: ld(bla) ? |
19:48:21 | Varriount | As in, I want to fix the dependancy zahary introduced by including caasdriver into the tester, which relies on perl's regular expression dll |
19:49:24 | OrionPKM | compile time condition? |
19:49:49 | Varriount | Hm. |
19:49:58 | Varriount | I'd rather it be a run time condition. |
19:52:01 | gradha | Varriount: why don't you remove the caasdriver import? |
19:52:27 | Varriount | gradha, because I'd rather fix something than ignore it? |
19:52:43 | gradha | Varriount: the thing is, everybody ignores the caas tests |
19:52:51 | Varriount | Also, I can't do that with the build bot - it rebuilds the tester, from freshly downloaded source |
19:55:10 | Araq | Varriount: remove the caasdriver please |
19:55:27 | Araq | loading of DLLs on demand is a misfeature |
19:55:45 | Araq | .NET does it all the time, gives me the creeps |
19:55:46 | Varriount | Araq, should I push the removed version and send a pull request then? |
19:56:12 | Araq | sure but if you go on like this, you'll get write access soon |
19:56:30 | Varriount | *Gasp* The horror! |
20:08:38 | Varriount | Araq, pull request sent |
20:09:14 | NimBot | Araq/Nimrod master c5e09f6 Clay Sweetser [+0 ±1 -0]: Commented out CAAS testing code. |
20:09:14 | NimBot | Araq/Nimrod master ac66784 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Merge pull request #743 from Varriount/tests/comment-caas... 2 more lines |
20:10:02 | Varriount | How do you pronouce "Grzegorz" and "Hankiewicz"? |
20:10:16 | gradha | with great care |
20:10:25 | OrionPKM | gruhzegorz is how i think of it |
20:10:40 | fowl | grizzegorz mah neggorz |
20:12:03 | Varriount | gradha, if you ever come to the US, I'd advise you to either spell your name phonetically, or simply go by "Adam", otherwise you may be the cause of many sprained jaw muscles and bitten tongues. |
20:12:09 | Varriount | *USA |
20:12:28 | gradha | ni kidding |
20:12:34 | gradha | hah, no kidding |
20:20:30 | fowl | you could just go by "mr. hankie" |
20:20:35 | BitPuffin | Araq: http://youtu.be/tLPZmPaHme0 the .net song |
20:21:37 | BitPuffin | how do you pronounce Adam? |
20:21:47 | Varriount | gradha, it's neat that your username is made up of parts of your entire name. Though, if I did that, my username would be something along the line of 'clams' |
20:22:09 | BitPuffin | fowl: or simply "hank" |
20:22:16 | gradha | I used to be gah in the beginnings of the internet until I had too many collisions |
20:22:47 | gradha | "Look who's there! Gah!" |
20:22:56 | Varriount | :3 |
20:23:04 | BitPuffin | gradha: you should have switched to golang while you could |
20:23:08 | BitPuffin | as the nick I mean |
20:23:27 | gradha | I had an awesome rust avatar in the forums but the correctness and politeness police got me |
20:23:57 | BitPuffin | gradha: now join the VNUG |
20:24:04 | BitPuffin | only cool people are in the VNUG |
20:24:19 | gradha | BitPuffin: sorry, I can't escape my past as rust http://dl.dropbox.com/u/145894/amazing_rust_avatar.jpg |
20:24:21 | fowl | BitPuffin, https://www.youtube.com/watch?v=86qIdmg14No |
20:24:52 | BitPuffin | gradha: lol |
20:26:00 | BitPuffin | araq spent a lot of time writing this song http://youtu.be/b-Cr0EWwaTk |
20:29:06 | gradha | amazing, didn't know that horrible thingy is named duke |
20:31:41 | Varriount | Design question: I'm creating file linking procedures (symlink and the like). Should I create seperate procedures for files/directories? Should I create seperate procedures for hard and soft links? |
20:32:17 | fowl | when does anybody use hard links ever |
20:32:45 | gradha | I use hard links a lot |
20:32:57 | Varriount | fowl, linux uses them when mounting partitions as parts of the file system. |
20:33:22 | Varriount | Although, in linux, that's done with the mount command, conceptually, it's the same thing |
20:42:23 | Araq | Varriount: do what the OSes do if they agree |
20:42:36 | Varriount | Ok. |
20:43:02 | Varriount | I guess if anyone dislikes it, they can either change it, or ask me to change it. |
20:48:16 | fowl | thought there was a symlink function already |
20:48:33 | Varriount | fowl, in posix, yes. |
20:48:59 | Varriount | But I don't know if it works on windows. Even if it does, it's likely to not work in the same way |
20:49:11 | fowl | windows has a shell command for it |
20:49:29 | Varriount | fowl, yes, but the shell command is not a mirror for the api |
20:49:53 | Varriount | windows has 2 seperate link functions. CreateSymbolicLink, and CreateHardLink |
20:50:19 | Varriount | Which, you might notice, are not named "symlink" and "link" |
20:51:02 | Araq | Varriount: follow the winapi then. it looks like a bad idea that we get dependencies on both when using only one of them |
20:51:46 | fowl | Varriount, because i meant a function named symlink, right |
20:54:24 | Varriount | Thats not all. On windows, directories can be both hard and sym linked. On linux, though files and directories can almost always be sym linked, ussually only files can be hard linked (with exceptions, such as mount) |
20:57:13 | gradha | I thought root could hardlink directories, at least you can on macosx |
20:57:38 | Varriount | gradha, that's why I said usually |
20:58:13 | Varriount | http://www.linuxforums.org/forum/newbie/149236-creating-hard-link-directory.html |
21:01:57 | Araq | Varriount: just don't provide hard links on unix then. nobody cares, of course it doesn't work in one or the other. It's unix. |
21:03:03 | Araq | *in one way |
21:04:00 | Varriount | Woah, you're actually saying that linux/unix is less than perfect? I've never seen a programmer do that before. |
21:04:13 | Varriount | Really, I'm surprised. |
21:04:18 | Araq | unix is the UNoperating system |
21:06:48 | gradha | Varriount: the amazing clusterfuck of both text and graphical output on unix is not even fun |
21:07:11 | Varriount | You mean, X11? |
21:07:47 | Varriount | And, howso? (I'm curious, not debating) |
21:08:42 | gradha | Varriount: if you want to know the size of a text terminal you enter the thorny path of terminal databases with their various features/bugs |
21:09:10 | gradha | there are things like ncurses and such, but they end up being part of the problem, like autoconf and friends |
21:09:36 | gradha | with regards to graphical output, I remember numerous output options, framebuffer, DRI, GLsomethings and stuff like that |
21:09:48 | gradha | all incompatible, all different feature sets, none good enough |
21:10:35 | gradha | I did like fbdev but only because I had one of the few supported cards with hardware acceleration, otherwise it plain sucks to do anything |
21:10:49 | Varriount | I've.. not had fun with autoconf. And I've heard how.. complicated ncurses is. |
21:11:26 | gradha | which is how we come to the rewriting part: everybody knows how to do unix better, so how come it is so good then? |
21:24:27 | BitPuffin | Varriount: well there are replacements like termbox |
21:24:33 | BitPuffin | haven't tried it yet though |
21:24:47 | BitPuffin | but I believe fowl made a binding for it after I told him about it |
21:33:40 | BitPuffin | you guys are the worst nuggets btw |
21:33:49 | BitPuffin | I'm a real trooper here all by myself |
21:35:32 | gradha | BitPuffin: so this is you http://dl.dropbox.com/u/145894/gifs/trooper_hammer_time.gif after all |
21:36:02 | BitPuffin | obviously : |
21:36:04 | BitPuffin | P |
21:56:43 | * | radsoc joined #nimrod |
21:57:42 | radsoc | Hi Araq, I tested a critbits tree and it seems slower than a count table (21s against 8s for inserting 1M keys from 100M rows on my test machine) but it has some nice iterators (keys/values...WithPrefix). BTW I really enjoy using Nimrod! Good night. |
22:02:45 | * | radsoc quit (Ping timeout: 272 seconds) |
22:07:17 | NimBot | nimrod-code/packages master bb9d83a Grzegorz Adam Hankiewicz [+0 ±1 -0]: Adds objcbridge package. |
22:07:17 | NimBot | nimrod-code/packages master 76a8261 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Merge pull request #42 from gradha/pr_adds_objcbridge... 2 more lines |
22:15:45 | * | NimBot joined #nimrod |
22:19:11 | gradha | good night, honey badgers |
22:19:17 | * | gradha quit (Quit: bbl, need to watch http://www.youtube.com/watch?v=hcDEWiH-ciw again) |
22:22:17 | BitPuffin | Araq: that was brief lol |
22:22:34 | dom96 | BitPuffin: Still in VNUG? |
22:22:39 | BitPuffin | dom96: of course |
22:23:16 | Varriount | Oh, fine. |
22:23:29 | Varriount | I'll join your little teamspeak thing. |
22:23:30 | BitPuffin | dom96: high five! |
22:23:37 | BitPuffin | Varriount: woho! |
22:23:43 | Varriount | Though, I would prefer google Hangout. |
22:23:57 | BitPuffin | Varriount: totally different |
22:24:09 | BitPuffin | hangouts are not suitable for stopping by and leaving and dropping in and out or whatever |
22:24:18 | BitPuffin | teamspeak or mumble are much better for that |
22:24:27 | BitPuffin | plus google? eek |
22:25:38 | Varriount | If only we had something like IRC, but with text, video, and sound. |
22:30:39 | dom96 | BitPuffin: \o |
22:31:11 | BitPuffin | dom96: o/ |
22:51:53 | * | zielmicha quit (Ping timeout: 272 seconds) |
22:52:37 | * | aftershave quit (Quit: Textual IRC Client: www.textualapp.com) |
22:53:15 | * | aftershave joined #nimrod |
23:05:44 | * | bastian_ quit (Ping timeout: 272 seconds) |
23:06:16 | * | bastian joined #nimrod |
23:30:39 | Varriount | http://xkcd.com/927/ |
23:38:28 | * | boydgreenfield joined #nimrod |
23:45:42 | * | io2 quit () |