<< 12-12-2013 >>

00:00:22joelmoI 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:01BitPuffndom96: study!! D:<
00:13:02BitPuffn:P
00:13:03Araq!lag
00:13:03NimBotUnknown.
00:13:05dom96tada
00:13:08Araq!lag
00:13:08NimBotUnknown.
00:13:09gradhait 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:12Araq!lag
00:13:12NimBot1ms between me and the server.
00:13:25dom96BitPuffn: I already gave up, i'm just going to sleep hah
00:13:33BitPuffndom96: haha yeah
00:13:41dom96'night guys
00:13:48gradhagood night
00:13:54joelmonight
00:14:03joelmo!echo foo
00:14:08joelmo:>
00:14:15gradhabar?
00:14:48Araqgradha: make a feature request please
00:14:56AraqI think I know what you mean, but still
00:15:42Araq!quote
00:15:44gradhaawesome, a statement macro invoked with less parameters still works, kinda
00:16:07gradhaI get a stack trace as the missing param
00:18:31BitPuffnyeah i should sleep too now
00:18:33gradhagood night, honey badgers
00:18:38BitPuffndamn 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:49BitPuffnnice 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:13NimBotAraq/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:59webskipperCan I use somethink like abstract classes / interfaces in nimrod ? Declaration without implementation... ?
07:39:14webskippersomething, sry
08:11:09*boydgreenfield quit (Quit: boydgreenfield)
08:39:14Araqwebskipper: 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:01BitPuffinthis is weeeird
10:29:11BitPuffinI try the exact same sql on the command line on command line
10:29:16BitPuffinyet in nimrod it doesn't work
10:30:27BitPuffinresult = db.getRow(sql"select 1 from ? where ? = ?", table, row, id)
10:30:47BitPuffinif result[0] == "":
10:30:56BitPuffin(throw exception)
10:31:06BitPuffinon command line:
10:31:32BitPuffinselect * from users where id = 1;
10:31:34BitPuffin1|[email protected]|debug|BitPuffin|Isak|Andersson
10:31:59BitPuffinand that select statement is copy pasted from debug output
10:32:13BitPuffinwith an added semicolon
10:32:19BitPuffinonly modification
10:32:21BitPuffinsigh
10:37:45BitPuffinbtw it's changed to result = db.getRow(sql"select 1 from ? where ? = ?", table, row, id)
10:37:50BitPuffinuh
10:37:53BitPuffinselect *
10:42:01fowlsince when do you use prepared thing for the column name
10:47:50BitPuffinfowl: is that not allowed?
10:48:00BitPuffinguess that could be it then hehe
10:49:35fowldoesnt it end up as select 1 from "users" where "id" = "1"
10:50:02*Kooda joined #nimrod
10:53:58fowlBitPuffin, 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:33BitPuffinfowl: 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:56Araqhi DAddYE
14:05:16fowlBitPuffin, does it work now or what
14:07:29*DAddYE quit (Ping timeout: 272 seconds)
14:49:53*io2 joined #nimrod
15:01:42OrionPKMaraq
15:01:53OrionPKMoutput for jsondoc example: http://pastebin.com/7pvYYNuB
15:04:15*DAddYE joined #nimrod
15:06:29fowldid you hack the compiler?
15:06:52OrionPKMindeed. i added another command to docgen.nim
15:08:38*DAddYE quit (Ping timeout: 240 seconds)
15:09:00AraqOrionPKM: impressive. how did you manage? I use 2 letter abbrevs ...
15:09:16fowl:D
15:09:21OrionPKMhumm???
15:09:35OrionPKMjsdoc?
15:10:44Araqyeah. I thought the compiler is a work from devil himself using abbrevs everywhere instead of typing "context" 10000 times
15:11:07OrionPKMoh ha
15:11:19OrionPKMit was pretty tricky, but I'll heal
15:12:01Araqwhat did you patch? doc or doc2?
15:12:07OrionPKMdocgen.nim
15:13:22OrionPKMif that output is fine, I'll submit a PR after a bit of cleanup
15:13:43AraqI don't know. idetools supports json output already iirc
15:14:53Araqbut ok. expect me to moan "lack of efficiency" on your PR
15:15:05OrionPKMlol
15:15:37OrionPKMi dont see anything about json in the idetools doc
15:17:50Araqseems like it was only in my dreams
15:18:06Araqindeed compiler/suggest.nim doesn't support json output
15:18:09OrionPKMmust have been a nice dream
15:18:41AraqI had better ones ;-)
15:23:13Araqso ... just for your information: when you design a VM
15:23:43Araqyou better keep the case in mind that globals can be passed byref too
15:24:12Araqotherwise you need to hack it into your design later like I have to do now
15:24:16OrionPKMwell duh
15:24:19OrionPKM:P
15:24:39OrionPKMaraq can I buy you a spa treatment?
15:24:41*Araq 's VM is too efficient for globals :P
15:26:09AraqOrionPKM: sure, well you know I accept money
15:26:20OrionPKMnah, not the same
15:26:45fowlasian spa ;)
15:26:57OrionPKMVIP Asian Massage :D
15:27:35OrionPKMaraq remind me to turn off "trim whitespace from line endings" when Im editing the compiler :@
15:28:29Araqmeh what's wrong with the good old brothel?
15:28:55AraqOrionPKM: just trim the ws, I don't care
15:29:02OrionPKMok
15:37:24*gradha joined #nimrod
15:37:36Araqgradha!
15:37:40gradhaAraq!
15:38:22OrionPKMaraq know what effect the -o switch has on docgen?
15:38:43Araqthat's #nimrod for you. Everybody is welcome. Especially if you're a core dev.
15:39:17AraqOrionPKM: no
15:40:48gradhaOrionPKM: I believe it kills puppies
15:40:58OrionPKMi berlieve you may be right
15:41:24Araqall I know that the --compileOnly has rather strange semantics for the docgen
15:42:05Araqwe might want to rename this :P
15:42:35Araqbut naming things properly kills innovation and creativity
15:43:12OrionPKMi just want to be able to not spew json files all over the project :0
15:43:53AraqI just want a Pony
15:44:08gradhaOrionPKM: one of doc or doc2 does that, the other processes a single file
15:44:24Araqno
15:44:34Araqboth doc and doc2 don't do that anymore
15:44:37Araqbut doc2 used to
15:44:45Araqunless it's buggy :P
15:45:18Araqthere is --project iirc to do the whole project documentation thingie
15:45:55gradhaAraq: you are right, doc processes htmlparser and generates a single html, doc2 crashes
15:46:35Araqso fix it
15:46:49gradhaok
15:46:52Araqextra points if you find out who broke it
15:47:01fowllol
15:47:08OrionPKMand break their legs
15:47:19gradhaOrionPKM: it was a good time knowing you
15:47:42OrionPKM:S
15:48:18OrionPKMaraq docgen is using this getOutFile
15:48:25OrionPKMwhich looks at options.outFile
15:51:45OrionPKMso -o does work
15:55:54gradhadoes rstgen.rstToHtml, exported for nimforum, generate the syntax highlighting for nimrod code blocks?
15:56:12AraqI think so
15:56:57gradhawant me to add a nim2html command which wraps the input .nim file and generates it's prettified html version then?
15:57:35Araqif you can keep the implementation under 20 lines of code ...
15:57:48OrionPKMdamn it's quick
15:57:50Araq*below ?
15:57:55gradhawithout semicolons?
15:58:27Araqdon'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:00gradhawas 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:04BitPuffinfowl: seems so
16:09:35gradhaLet'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:47Araqgradha: you can only let a finalizer deal with the malloc'ed chunk
16:11:15fowlyou mean like std::unique_ptr ?
16:12:17Araqthe resulting double indirection surely is annoying but I think it's technically impossible to do better than this
16:12:49dom96hi
16:12:59gradhadom96: hey, thanks for coming
16:13:14Araqdom96!
16:13:31dom96gradha: No problem at all
16:13:39gradhadom96: good, now, please explain finalizers to me
16:13:55gradhaso far I've found zero docs and three forum threads
16:14:03dom96They finalize things?
16:15:39gradhaAraq: 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:48Araqexactly
16:16:46gradhait seems that I could forget to pass the finalizer in the new call, can that be prevented? (I guess templates FTW)
16:17:10Araqwell as I already told you
16:17:17Araqthe finalizer gets attached to the *type*
16:17:33gradhaoh, right, had forgotten that awesome conversation
16:18:22gradhadid you get the inherited finalizer feature request from http://forum.nimrod-lang.org/t/95 ?
16:18:44Araqyes. I got it. I'm not impleementing it any time soon.
16:18:57Araqthere are much more important things to do
16:20:32gradhadouble indirection could be avoided if you could attach finalizers to distinct int types, so you effectively have finalizers for pointers
16:20:44gradhaI imagine that's not possible at all, or soon
16:32:07OrionPKMrecursive dependency?
16:33:26OrionPKMiterators cant call themselves?
16:34:21gradhahttps://github.com/Araq/Nimrod/issues/555
16:34:38gradhadom96: what are you doing about that showstopper?
16:35:44dom96I 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:58fowlOrionPKM, stop trying to breakings things
16:37:09OrionPKMcant help myself
16:38:40fowlassign to dom96 since he broke ssl https://github.com/Araq/Nimrod/issues/735
16:42:04dom96I did?
16:43:04fowli dunno
16:43:08fowlyou're the ssl guy right
16:44:28dom96I suppose
16:44:36dom96I could have broken it
16:44:38dom96Can't remember though
16:44:43dom96But yeah, i'm the ssl guy
16:45:50gradhaif only you had some sort of automated factory to detect these things being broken
16:46:18dom96if only... oh wait
16:53:14*olahol left #nimrod (#nimrod)
17:00:22OrionPKMok, PR submitted
17:12:46gradhathe build farm says smtp compiles
17:13:22Araqonly the powerpc builder runs these days afaik
17:13:24gradhathe module compiles fine under macosx too
17:13:44Araqwith -d:ssl ?
17:14:06gradhayes
17:14:18gradhanimrod c -d:ssl smtp
17:14:20Araqmaybe it only fails on linux
17:14:49gradhathen I run the program and fails because a username/pass was not accepted
17:17:07gradhalinux testers died?
17:17:34AraqI think so, will fix it once my vm is ready
17:17:48Araqwhich will be tonight or hell freezes over
17:18:24gradhahas to be before the end of the year, the aztecs couldn't be wrong with 2013 being our last year on earth
17:18:43gradhaor was that the mayans?
17:18:57Araqit was the mythbusters
17:19:43fowli think that codes might be wrong too
17:20:00fowlit uses when defined(ssl): in a function which takes `ssl` as a parameter
17:20:21Araqah lol
17:20:31fowlbtw i'd like to be able to do ssl.defined.when:
17:20:39fowlhow about that araq
17:20:48AraqI knew dom96 should have used 'useSSL' instead
17:21:05Araqwhich would be consistent with our use/no convention
17:21:31Araqfowl: overdose of factor?
17:21:33fowli 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:57AraqI think everybody uses smtp with -d:ssl
17:22:14Araqso nobody noticed
17:22:41Araqthe forum uses smtp, I think
17:24:19Araqbbl
17:26:12Varriount I stall haven't had my forum account password reset :(
17:26:16Varriount*still
17:27:06*ics joined #nimrod
17:30:16Varriountgradha, 'when defined(Apocalypse): danceTillDawn()'
17:31:31*DAddYE joined #nimrod
17:32:16gradhaVarriount: haven't asked BitPuffin to crack your hash? Maybe faster than dom96 resetting the password
17:33:16Varriountgradha, probably should. Or we could use an xml/json bomb to bring the forum to dom96's attention.
17:33:46VarriountI don't think the xml parser libs have any security against expansions and the like.
17:38:21Varriountgradha, is filwit really designing a honey badger logo for nimrod?
17:41:49gradhafilwit has not been seen for a long time, so I don't think he received the TPS report yet
17:42:15gradhaNimBot: please tell me when was the last time you saw filwit around
17:42:23gradhaNimBot: high five bro!
17:42:27Varriount!lastSeen filwit
17:42:34Varriount!lastseen filwit
17:42:35gradhaNimBot: how many hone badgers do you need to change a bulb?
17:42:50gradhaNimBot: why does the farm not update the builders?
17:43:18gradhaNimBot: when do you think Nimrod will release 1.0?
17:43:27VarriountNimBot, why do my bots keep timing out, when they really aren't
17:44:57gradhaNimBot: when will Apple finish building their UFO so they can finally leave earth?
17:46:07dom96Araq: Could've told me to use 'useSSL' then
17:46:47dom96You know what would be better? If we had something which didn't clash with defined variables/procs/consts etc.
17:47:02gradhaNimBot: why does Araq not travel back in time to tell dom96 better?
17:47:34dom96It's !seen btw
17:47:53gradhaman, you know how to ruin a party
17:48:43dom96yep, it's revenge because you didn't join VNUG yesterday!
17:48:52VarriountAnyone know if you need to reset an error code after handling it?
17:49:08gradhaVarriount: most likely, as you are dealing with global variables
17:49:29dom96Varriount: You mean what you get from OSLastError()?
17:49:34Varriountdom96, sorta
17:49:41VarriountI'm editing code in os.nim
17:49:58dom96I don't think so
17:50:00Varriountsome of which uses errno, the OS's error number
17:50:26dom96You only check errno when an OS call fails.
17:50:37dom96So you can be sure that it was set to something new.
17:50:49VarriountI made a mistake whith my removeFile fix, and now it errors if the file it tries to remove doesn't exist
17:51:42OrionPKMdangit varriount, what do we pay you for?
17:51:44Varriount(On that subject, I find the inconsistancy of when nimrod's os module's functions error a pain)
17:52:02VarriountOrionPKM, you pay me with praise and attention.
17:52:10VarriountOr at least, attention.
17:53:34OrionPKMwell, I'm almost ready to add in doc lookup to the st plugin
17:54:06VarriountOrionPKM, I'm probably not going to be able to contribute much to the ST plugin till Wednesday next week.
17:54:13OrionPKMhopefully I'll never have to go to Nimrod/documentation site anymore
17:54:26OrionPKMmmk
17:54:27VarriountI have an essay due Monday night, and a research paper due Tuesday
17:56:19OrionPKMfun
17:57:09VarriountIt could be worse.
17:59:18gradhaVarriount: you could be working on a new vm for nimrod
18:00:03VarriountGod no. Not without some major time for research and learning.
18:00:21gradhaI was giving an example of what could be worse
18:01:04VarriountWhy is it that we have error codes in the posix module, but not in the winlean module?
18:01:22gradhawindows never fails?
18:02:12VarriountI wish.
18:02:22fowlwindows is good
18:02:33fowlVarriount, have you played starbound
18:02:50Varriountfowl, no, But I've played Earthbound
18:03:22VarriountThough, 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:36Varriountfowl or gradha, you run linux distros, right?
18:08:44gradhanope
18:09:20Varriountfowl, 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:57fowlk
18:14:29*Varriount|Mobile joined #nimrod
18:14:47fowlVarriount, it removes the file
18:15:00Varriount|MobileNo error?
18:15:25fowlno.. you can remove files that you can't write (if you own it)
18:15:38Varriount|MobileGr
18:16:13Varriount|MobileOn windows, you can neither delete nor write
18:17:01fowlthats because windows is broken
18:17:09fowlattributes were an afterthought
18:17:22Varriount|MobileErm, no?
18:17:41Varriount|MobileFile attributes date back to the days of Dos
18:18:02fowloh right
18:18:06fowli meant multiple users
18:18:16Varriount|MobileWindows just has a stricter interpretation of read only
18:18:16BitPuffinlol gradha :)
18:18:18BitPuffingtg!
18:18:32fowlVarriount, its because windows is archaic
18:18:57*CarpNet quit (Quit: Leaving)
18:19:06*BitPuffin quit (Quit: WeeChat 0.4.2)
18:19:23Varriount|MobileIf you say so.
18:22:19fowlyessssss
18:23:15*tylere joined #nimrod
18:23:26tylereSo compiler is making me wtf again
18:23:29tylereline of code in question
18:23:34tylerevar sieve = newseq[bool](sz)
18:23:41tyleresieve.nim(6, 26) Error: expression '(newSeq|newSeq)[bool](sz)' cannot be called
18:24:10fowltylere, oh there is some problem with newseq i think
18:24:25tylereoh, I got bit by HEAD?
18:24:30tylereI did update yesterday
18:24:31fowltylere, see if var sieve: seq[bool]; sieve.newseq(sz) works
18:25:45tylereno, but it did reveal the actual error
18:25:51tylereso apparently ceil in nim returns a float?
18:26:28fowlidk
18:26:33fowlid have to look at the docs
18:31:00Varriounttylere, is that expression within a template or generic?
18:31:59VarriountI 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:01OrionPKMVarriount I just checked in a biggun
18:44:03OrionPKMgot 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:22tyleresorry, busy at work now, was hacking in some downtime
18:47:25tylereno, 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:43Araqdom96: defined vs declared perhaps?
19:18:01Araqthat requires lots of changes though
19:18:09dom96perhaps
19:21:00gradhachanges are good
19:21:14Araqyeah we should embrace the change
19:21:25VarriountWhats the difference?
19:22:09Araqdefined is about --define'd vars, declared checks things in nimrod source code
19:23:20dom96Although those two names might be confusing
19:23:34dom96would be nice to use something which starts with a different letter
19:23:37VarriountAraq, does os.errno need to be reset?
19:23:43dom96so that there is no confusion about what -d refers to
19:24:03Varriountdom96, 'implemented' maybe?
19:24:34Araqdom96: -d is a shortcut for --define
19:24:53dom96Araq: Yes, that's the point.
19:24:53AraqVarriount: no, it doesn't need to be reset
19:25:47AraqVarriount: also the error handling *is* consistent. os raises an EOS exception
19:26:51VarriountAraq, I meant that, though removeFile doesn't raise an error if the file in question doesn't exist, setFilePermissions does
19:27:12Araquh yeah? that's called a *feature*
19:27:28Varriount*grumble*
19:27:38AraqremoveFile "doesn't exist" shouldn't fail IMO
19:29:41BitPuffindom96: why the hell is the VNUG empty? :(
19:29:51BitPuffindom96: probably because it's not in the topic
19:30:03VarriountVNUG?
19:30:16BitPuffinVarriount: the virtual nimrod user's group
19:30:58gradhaVarriont's Nimrod User Group
19:31:03gradhaVarriount: exercise your rank
19:31:14VarriountWhat rank?
19:31:23BitPuffinVarriount: you are not even a nugget yet
19:31:26BitPuffinI mean come on
19:31:34*Varriount slaps BitPuffin around a bit with a giant minnow.
19:31:38BitPuffingotta keep up maaan
19:31:46gradhaVarriount: yeah, now go into the vnug and do that verbally
19:32:01VarriountIt would be nice if I had a link.
19:32:15BitPuffinVarriount: nimrod-lang.org
19:32:20BitPuffinVarriount: in teamspeak
19:32:41VarriountYou assume I *have* teamspeak
19:32:49BitPuffinVarriount: pacman -S teamspeak3
19:33:17BitPuffindom96: get in theee
19:33:25gradhapacman?
19:33:39EXetoCpackage manager
19:33:46VarriountC:\64\Nimrod>pacman -S teamspeak3 -> 'pacman' is not recognized as an internal or external command, operable program or batch file.
19:34:02gradhaEXetoC: man, these people still using DOS crack me up
19:34:16BitPuffinVarriount: then download it, you don't need to register an account
19:34:18EXetoCwut
19:34:25BitPuffingradha: well you are using almost-unix
19:34:48gradhaBitPuffin: if you look at my repos you will find the_hyperlink_vs_nimrod, not thvn
19:35:02BitPuffingradha: woot
19:35:04VarriountWhy 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:13Varriount*nearly all
19:35:29BitPuffinNot sure what you mean
19:35:39BitPuffindom96: !!!!!!!
19:35:44BitPuffindom96: you are not in the vnug!!
19:35:47BitPuffindidn't you know? xD
19:35:58VarriountBitPuffin, I am in a library, without a headset
19:36:10dom96i'm busyyy
19:36:15BitPuffindom96: nein!
19:36:18BitPuffinwith what?
19:36:18AraqBitPuffin: stop poking my core devs
19:36:47BitPuffinAraq: join the VNUG! lol :P
19:47:33VarriountHow does one do conditional dll loading?
19:47:50BitPuffinVarriount: if bla: ld(bla) ?
19:48:21VarriountAs 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:24OrionPKMcompile time condition?
19:49:49VarriountHm.
19:49:58VarriountI'd rather it be a run time condition.
19:52:01gradhaVarriount: why don't you remove the caasdriver import?
19:52:27Varriountgradha, because I'd rather fix something than ignore it?
19:52:43gradhaVarriount: the thing is, everybody ignores the caas tests
19:52:51VarriountAlso, I can't do that with the build bot - it rebuilds the tester, from freshly downloaded source
19:55:10AraqVarriount: remove the caasdriver please
19:55:27Araqloading of DLLs on demand is a misfeature
19:55:45Araq.NET does it all the time, gives me the creeps
19:55:46VarriountAraq, should I push the removed version and send a pull request then?
19:56:12Araqsure but if you go on like this, you'll get write access soon
19:56:30Varriount*Gasp* The horror!
20:08:38VarriountAraq, pull request sent
20:09:14NimBotAraq/Nimrod master c5e09f6 Clay Sweetser [+0 ±1 -0]: Commented out CAAS testing code.
20:09:14NimBotAraq/Nimrod master ac66784 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Merge pull request #743 from Varriount/tests/comment-caas... 2 more lines
20:10:02VarriountHow do you pronouce "Grzegorz" and "Hankiewicz"?
20:10:16gradhawith great care
20:10:25OrionPKMgruhzegorz is how i think of it
20:10:40fowlgrizzegorz mah neggorz
20:12:03Varriountgradha, 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:09Varriount*USA
20:12:28gradhani kidding
20:12:34gradhahah, no kidding
20:20:30fowlyou could just go by "mr. hankie"
20:20:35BitPuffinAraq: http://youtu.be/tLPZmPaHme0 the .net song
20:21:37BitPuffinhow do you pronounce Adam?
20:21:47Varriountgradha, 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:09BitPuffinfowl: or simply "hank"
20:22:16gradhaI used to be gah in the beginnings of the internet until I had too many collisions
20:22:47gradha"Look who's there! Gah!"
20:22:56Varriount:3
20:23:04BitPuffingradha: you should have switched to golang while you could
20:23:08BitPuffinas the nick I mean
20:23:27gradhaI had an awesome rust avatar in the forums but the correctness and politeness police got me
20:23:57BitPuffingradha: now join the VNUG
20:24:04BitPuffinonly cool people are in the VNUG
20:24:19gradhaBitPuffin: sorry, I can't escape my past as rust http://dl.dropbox.com/u/145894/amazing_rust_avatar.jpg
20:24:21fowlBitPuffin, https://www.youtube.com/watch?v=86qIdmg14No
20:24:52BitPuffingradha: lol
20:26:00BitPuffinaraq spent a lot of time writing this song http://youtu.be/b-Cr0EWwaTk
20:29:06gradhaamazing, didn't know that horrible thingy is named duke
20:31:41VarriountDesign 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:17fowlwhen does anybody use hard links ever
20:32:45gradhaI use hard links a lot
20:32:57Varriountfowl, linux uses them when mounting partitions as parts of the file system.
20:33:22VarriountAlthough, in linux, that's done with the mount command, conceptually, it's the same thing
20:42:23AraqVarriount: do what the OSes do if they agree
20:42:36VarriountOk.
20:43:02VarriountI guess if anyone dislikes it, they can either change it, or ask me to change it.
20:48:16fowlthought there was a symlink function already
20:48:33Varriountfowl, in posix, yes.
20:48:59VarriountBut 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:11fowlwindows has a shell command for it
20:49:29Varriountfowl, yes, but the shell command is not a mirror for the api
20:49:53Varriountwindows has 2 seperate link functions. CreateSymbolicLink, and CreateHardLink
20:50:19VarriountWhich, you might notice, are not named "symlink" and "link"
20:51:02AraqVarriount: follow the winapi then. it looks like a bad idea that we get dependencies on both when using only one of them
20:51:46fowlVarriount, because i meant a function named symlink, right
20:54:24VarriountThats 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:13gradhaI thought root could hardlink directories, at least you can on macosx
20:57:38Varriountgradha, that's why I said usually
20:58:13Varriounthttp://www.linuxforums.org/forum/newbie/149236-creating-hard-link-directory.html
21:01:57AraqVarriount: 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:03Araq*in one way
21:04:00VarriountWoah, you're actually saying that linux/unix is less than perfect? I've never seen a programmer do that before.
21:04:13VarriountReally, I'm surprised.
21:04:18Araqunix is the UNoperating system
21:06:48gradhaVarriount: the amazing clusterfuck of both text and graphical output on unix is not even fun
21:07:11VarriountYou mean, X11?
21:07:47VarriountAnd, howso? (I'm curious, not debating)
21:08:42gradhaVarriount: 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:10gradhathere are things like ncurses and such, but they end up being part of the problem, like autoconf and friends
21:09:36gradhawith regards to graphical output, I remember numerous output options, framebuffer, DRI, GLsomethings and stuff like that
21:09:48gradhaall incompatible, all different feature sets, none good enough
21:10:35gradhaI 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:49VarriountI've.. not had fun with autoconf. And I've heard how.. complicated ncurses is.
21:11:26gradhawhich 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:27BitPuffinVarriount: well there are replacements like termbox
21:24:33BitPuffinhaven't tried it yet though
21:24:47BitPuffinbut I believe fowl made a binding for it after I told him about it
21:33:40BitPuffinyou guys are the worst nuggets btw
21:33:49BitPuffinI'm a real trooper here all by myself
21:35:32gradhaBitPuffin: so this is you http://dl.dropbox.com/u/145894/gifs/trooper_hammer_time.gif after all
21:36:02BitPuffinobviously :
21:36:04BitPuffinP
21:56:43*radsoc joined #nimrod
21:57:42radsocHi 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:17NimBotnimrod-code/packages master bb9d83a Grzegorz Adam Hankiewicz [+0 ±1 -0]: Adds objcbridge package.
22:07:17NimBotnimrod-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:11gradhagood night, honey badgers
22:19:17*gradha quit (Quit: bbl, need to watch http://www.youtube.com/watch?v=hcDEWiH-ciw again)
22:22:17BitPuffinAraq: that was brief lol
22:22:34dom96BitPuffin: Still in VNUG?
22:22:39BitPuffindom96: of course
22:23:16VarriountOh, fine.
22:23:29VarriountI'll join your little teamspeak thing.
22:23:30BitPuffindom96: high five!
22:23:37BitPuffinVarriount: woho!
22:23:43VarriountThough, I would prefer google Hangout.
22:23:57BitPuffinVarriount: totally different
22:24:09BitPuffinhangouts are not suitable for stopping by and leaving and dropping in and out or whatever
22:24:18BitPuffinteamspeak or mumble are much better for that
22:24:27BitPuffinplus google? eek
22:25:38VarriountIf only we had something like IRC, but with text, video, and sound.
22:30:39dom96BitPuffin: \o
22:31:11BitPuffindom96: 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:39Varriounthttp://xkcd.com/927/
23:38:28*boydgreenfield joined #nimrod
23:45:42*io2 quit ()