<< 07-01-2014 >>

00:01:26*Demos joined #nimrod
00:02:51*ddl_smurf quit (*.net *.split)
00:02:51*EXetoC quit (*.net *.split)
00:02:52*mal`` quit (*.net *.split)
00:02:53*zahary__ quit (*.net *.split)
00:02:57*ddl_smurf_ is now known as ddl_smurf
00:03:24*mal`` joined #nimrod
00:06:53*zahary__ joined #nimrod
00:08:22*EXetoC joined #nimrod
00:17:43*q66 quit (Read error: Connection reset by peer)
00:20:27*q66 joined #nimrod
00:23:54*q66 quit (Remote host closed the connection)
00:24:23*q66 joined #nimrod
00:29:16*q66 quit (Client Quit)
00:29:54*brson quit (Quit: Lost terminal)
00:31:07*brson joined #nimrod
00:32:20*q66 joined #nimrod
02:00:43*xenagi joined #nimrod
02:02:19Demoshm I am trying to decide between using a rootless gobolinux installation or just using stow
02:04:01fowlDemos, ahoy. i doubt anybody has done any work on rootless in 4+ years
02:04:39DemosOK than I will probably just use stow
02:09:10*DAddYE_ quit (Remote host closed the connection)
02:09:43*DAddYE joined #nimrod
02:12:30Demosthis is in an effort to get up to dat packages on a university system
02:12:34Demos*date
02:13:45*DAddYE quit (Ping timeout: 240 seconds)
02:21:44*Varriount_ joined #nimrod
02:22:40fowljust install arch on it?
02:23:00*Varriount quit (Ping timeout: 245 seconds)
02:23:28*VarriountMobile quit (Ping timeout: 245 seconds)
02:24:31Demosthat probably would work, but I would rather not use all that disk space
02:31:35Varriount_You know something isn't right when you type in the name of a software project, and google suggests adding "dead" onto the end
02:42:02*batman joined #nimrod
02:42:26*batman is now known as Guest59796
02:44:54*DAddYE joined #nimrod
02:45:14*Guest59796 is now known as xenagi|laptop
03:11:23*Mordecai joined #nimrod
03:12:35*psquid quit (Ping timeout: 245 seconds)
03:18:26*psquid joined #nimrod
03:18:27*Mordecai quit (Ping timeout: 240 seconds)
03:25:24Varriount_OrionPK: ping
03:25:38*Varriount_ is now known as Varriount
03:26:58OrionPKsup
03:28:58VarriountOrionPK: I did it. I made a docComment continuation plugin
03:29:11Varriount:D
03:29:34OrionPKfuck yeah:-)
03:29:39OrionPKhow's it work?
03:30:38Varriounthttps://gist.github.com/Varriount/8294278
03:30:47VarriountIt does a series of checks.
03:31:05VarriountIt checks that the previous line was a comment line via scopes
03:31:45VarriountIt checks that the latest command in the history buffer is an 'insert' with a value of '\n'
03:32:15VarriountAnd it checks that the current line contains only whitespace characters
03:33:40VarriountIt probably has a few bugs. The only one I know of at the moment is that it will try to 'continue' regular comments, but that's easy to fix with a change to the tmLanguage file
03:34:05OrionPKcool
03:34:09OrionPKso check it in :P
03:34:30VarriountI need to add settings. :P
03:36:28OrionPKpshh
03:36:38VarriountOrionPK: Do we have a settings file to load from?
03:39:32OrionPKdont think so
03:49:10*shodan45 joined #nimrod
03:53:11OrionPKyou know what would also be cool varriount
03:53:19OrionPKsyntax highlighting for {emit} pragmas
03:54:01VarriountHuh?
03:54:14VarriountRemind me again what emit pragmas are?
03:54:47OrionPKhttp://nimrod-lang.org/nimrodc.html#emit_579166034
03:59:08VarriountOrionPK: It's... possible
03:59:27VarriountThe only snag is the usage of backticks in the emit pragma
03:59:37VarriountOr rather, the emit pragma's c++ code
03:59:51OrionPKjust do basically what I did for tmpl
04:00:17OrionPKI highlight HTML/etc embedded, and then I highlight symbols w/in the HTML
04:00:28*xenagi|laptop quit (Quit: Leaving)
04:04:24*brson quit (Quit: leaving)
04:06:25*DAddYE quit (Read error: Connection reset by peer)
04:26:41OrionPKi'm going to experiment w/ adding it
04:26:56OrionPKim going to assume it's emitting C though
04:27:09OrionPKmaybe we can add a setting to tell it which language to emit :\
04:27:18OrionPKwhich language to highlight w/ that is
04:27:24OrionPKmight be C/C++/ObjC/JS
04:27:40VarriountOrionPK: Pushing the new code. It's not 100% finished, but I thought that you might want to have it in the official plugin
04:27:51OrionPKdefinitely
04:28:35*girvo joined #nimrod
04:30:16VarriountOrionPK: Done.
04:30:30VarriountNow I'm gonna go get food as my reqard
04:30:34Varriount*reward
04:30:45OrionPK:)
04:31:07OrionPKdoesnt work in global scope?
04:40:23OrionPKgot assembly highlighting working :0
04:41:49Demos wow, is the highlight code nimrod or python?
04:44:07OrionPKyou mean that does the highlighting?
04:44:17OrionPKneither, it's a sublime language definition
04:44:28Demosdarn
04:44:39Demosjust for x86
04:45:01OrionPKdepends what syntax highlighting you have installed w/ sublimetext
04:45:08OrionPKI just tell sublime it's "asm"
04:45:13Demosah, neat
04:45:53DemosI was gunna try and hijack your code and get VS to do the same thing, but if it is not trivial nimrod code I can call I am not gunna bother
04:46:05Demosalso, adding new project types in VS is a real chore
04:46:06OrionPKwhich?
04:46:15Demoshm
04:46:18OrionPKwhich code?
04:46:28Demosthe code that does the highlighting
04:46:38Demosthat figures out what colors to color the x86 assembly
04:46:45OrionPKthe code that does the highlighting is purely sublime text stuff
04:47:20Demosyeah see vs has a virtual method called ScanTokenAndProvideInfoAboutIt(ref TokenInfo, int status) and you lex the code there
04:48:05OrionPKmm
04:48:07OrionPKfun :P
04:48:15Demosyeah, and that is the easy part
04:49:24Demosadding build/project support requires using a virtually undocumented COM API (and implementing COM objects) or using MPFProj which is a library except that you can not actually compile it as a library, you need to import it into your VS project by manually editing the MSBuild XML files
04:50:34OrionPKvarriount do you know how to escape a damn colon in this yaml
04:50:51Demoswho maintains babel?
04:51:00OrionPKdom96
04:51:30Demoshas anyone gotten it working on windows?
04:51:57OrionPKwhy wouldnt it work?
04:52:27Demosit fails with exception EBabel for me
04:52:42Demosinvalid command line option --noBabelPath
04:52:59Demoswhen running src/babel1.exe install
04:54:04OrionPKinteresting
04:54:07OrionPKidk i havent rebuilt it in a while
04:54:36DemosI tried to get it building a month or so ago and it failed then as well
04:58:46OrionPKhttps://dl.dropboxusercontent.com/u/417554/syntax.png
04:59:13OrionPKnot valid ASM or C in the example, I know :P
05:06:52Demosnot bad
05:17:37DemosW0000 got stow working
05:17:45OrionPKcool,.
05:17:49OrionPKwhat's that
05:19:08Demosit lets you install stuff with like --prefix=/usr/local/stow/emacs and than from /usr/local/stow you execute stow emacs and it symlinks stuff into /usr/local
05:20:04OrionPKah k
05:20:26DemosI want a compiler on my school UNIX account that is not GCC 4.4
05:22:23fowlwhy not just build things into ~/local
05:22:53Demosbecause I installed emacs incorrectly once and never want to go through the experience of deleting it again
05:23:06Demosmy other thought was gobolinux rootless
05:23:07fowli'll try rootless now to see if it still works.. as i remember it butchers your configs so its best to create a new user for it
05:23:44Demosyeah, dont bother. Aside from some perl wierdness (I had to get perl set up to install stuff locally) stow seems to work
05:24:02Demosand dear god building stuff with make -j24 is amazing
05:24:37fowlthats a lot of cores
05:27:08Demosactually I am not sure I will be authorized to access this computer system next semester, that could be motivation to drop my linear algebra class and just take a crypto class or something...
05:27:41fowlyou have your own laptop dont you
05:29:40*OrionPK quit (Write error: Broken pipe)
05:30:47*Raynes quit (Ping timeout: 241 seconds)
05:30:54fowlDemos, rootless fails because my python is too new
05:31:18Demosyeah but the labs have Xenons with 4k screens
05:31:30Demoswell 1/2 4k but still
05:32:35*Raynes joined #nimrod
05:32:44*olahol_ joined #nimrod
05:32:51*Raynes quit (Changing host)
05:32:51*Raynes joined #nimrod
05:34:42*orbitz_ joined #nimrod
05:34:45*silven_ joined #nimrod
05:36:13*xenagi quit (*.net *.split)
05:36:14*aftershave quit (*.net *.split)
05:36:38*xenagi joined #nimrod
05:38:38*mal`` quit (Ping timeout: 264 seconds)
05:39:14*aftershave joined #nimrod
05:39:30*mal`` joined #nimrod
05:39:42*eigenlicht quit (*.net *.split)
05:39:43*JStoker quit (*.net *.split)
05:39:44*olahol quit (*.net *.split)
05:39:46*silven quit (*.net *.split)
05:39:46*orbitz quit (*.net *.split)
05:40:38*JStoker joined #nimrod
05:40:39*JStoker quit (Changing host)
05:40:39*JStoker joined #nimrod
05:46:01*xenagi|2 joined #nimrod
05:46:47*eigenlicht joined #nimrod
05:52:18*mal`` quit (*.net *.split)
05:52:18*xenagi quit (*.net *.split)
05:52:19*Raynes quit (*.net *.split)
05:52:19*girvo quit (*.net *.split)
05:52:20*zahary__ quit (*.net *.split)
05:53:14*mal`` joined #nimrod
05:57:09*xenagi|2 quit (Quit: Leaving)
05:57:48*Raynes joined #nimrod
05:57:48*zahary__ joined #nimrod
06:19:26*isenmann joined #nimrod
06:33:06*Demos quit (Quit: Leaving)
06:35:58*shodan45 quit (Ping timeout: 245 seconds)
07:50:35*achim joined #nimrod
08:02:29*orbitz_ quit (Quit: Reconnecting)
08:02:35*orbitz joined #nimrod
08:06:58*shodan45 joined #nimrod
08:09:46*Araq_ joined #nimrod
08:15:02*shodan45 quit (Quit: Konversation terminated!)
09:35:30*CarpNet joined #nimrod
11:11:46*radsoc joined #nimrod
11:33:57*psquid quit (Ping timeout: 248 seconds)
11:38:33*psquid joined #nimrod
11:42:06*achim quit (Quit: Computer has gone to sleep.)
11:42:19*achim joined #nimrod
12:17:18*faassen joined #nimrod
12:39:10*Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310])
13:00:01*[1]Endy joined #nimrod
13:06:31*psquid quit (Quit: work)
13:18:32*darkf quit (Quit: Leaving)
13:19:11*aftersha_ joined #nimrod
13:29:54*[2]Endy joined #nimrod
13:33:25*[1]Endy quit (Ping timeout: 248 seconds)
13:34:24*EXetoC quit (Quit: WeeChat 0.4.2)
13:49:23*OrionPK joined #nimrod
14:11:03*Araq_ joined #nimrod
14:25:00*aftersha_ quit (Quit: Computer has gone to sleep.)
14:43:16*aftersha_ joined #nimrod
14:58:43*reactormonk joined #nimrod
14:58:54Araq_hi reactormonk wb
14:58:56Araq_bbl
14:58:58*Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310])
14:59:02reactormonkback we are
15:09:11VarriountOrionPK: Good work with the syntax highlighting. Have you found any bugs in the comment continuation plugin?
15:14:40*psquid joined #nimrod
15:21:16*Amrykid quit (Excess Flood)
15:22:55*Amrykid joined #nimrod
15:30:25*Amrykid quit (Changing host)
15:30:25*Amrykid joined #nimrod
15:31:46VarriountAraq: Have you seen the latest xkcd comic?
15:33:11*ddl_smurf quit (Quit: ddl_smurf)
15:41:34*EXetoC joined #nimrod
15:42:31*aftersha_ quit (Quit: Computer has gone to sleep.)
15:46:45*io2 joined #nimrod
15:58:39*[1]Endy joined #nimrod
16:00:18*gradha joined #nimrod
16:02:38*[2]Endy quit (Ping timeout: 264 seconds)
16:15:13*[1]Endy quit (Ping timeout: 252 seconds)
16:22:23OrionPKVarriount havent had much time to use it, but it seemed to work inside of procs
16:22:31OrionPKit didn't work in the global scope
16:24:04VarriountReally? Odd.
16:26:43OrionPKyeah, can you not reproduce it?
16:26:54VarriountOh, I can.
16:27:01VarriountI know what's causing it too.
16:27:25VarriountOrionPK: Having copius amounts of debug statements can be a good thing.
16:27:53VarriountIt's the second check - to test if the current line contains only whitespace characters
16:30:02OrionPKah
16:30:16OrionPKso did you figure out how to get CTRL+R working?
16:40:59Varriountctrl+r?
16:43:37VarriountHey dom96, could you hook up nimbot to the Nimrod-Sublime repo?
16:44:59dom96sure, add http://picheta.me/github to you
16:45:09dom96*your webhooks
16:45:41dom96and give me a link to the repo
16:45:41dom96https://github.com/Varriount/Nimrod-Sublime is this it?
16:45:55dom96!addrepo Varriount Nimrod-Sublime
16:45:55NimBotDone.
16:46:00dom96!repos
16:46:00NimBotAnnounced repos: Araq/Nimrod, nimrod-code/nimbuild, nimrod-code/aporia, nimrod-code/nimforum, nimrod-code/babel, nimrod-code/packages, dom96/jester, nimrod-code/csources, Varriount/Nimrod-Sublime
16:47:07VarriountMkay, hook added
16:47:24Varriountdom96: What editor do you use with nimrod?
16:47:29VarriountOh wait, nevermind
16:55:06OrionPKVarriount go into a python file and hit ctrl+R
16:55:15OrionPKtype the name of a function
16:58:42VarriountOrionPK: Look at "Symbol List.tmPreferences"
16:58:59VarriountIn python's package directory.
16:59:03OrionPKim at work atm
16:59:18VarriountEr, Sublime Text's python package
17:00:12VarriountOrionPK: Sublime Text uses a tmPreferences file to tell it what symbols to show when you press ctrl+r
17:01:03VarriountYou give it a list of scopes, and transformations to apply to the information contained in the scopes to present to the user.
17:06:31OrionPKmmk cool
17:06:36OrionPKwe need one of those
17:07:37zahary__btw Varriount, how should one install the sublime-text plugin? merely by cloning it in Installed Packages?
17:07:58zahary__I'm not much of a sublime user, but a friend of mine asked me about it
17:09:11gradhayeah, yeah, it's always "for a friend"
17:18:59OrionPKzahary__ thats exactly how
17:19:13OrionPKuntil we get it into package control
17:19:26OrionPKin sublime, click 'browse packages', and clone the repo from that folder
17:19:29zahary__and that's all? are you using sublime-text 3?
17:19:52OrionPKst2
17:20:01OrionPKbut it should work in 3
17:20:49OrionPKthat's petty much all u need do
17:21:04*achim quit (Quit: Computer has gone to sleep.)
17:22:55gradhadom96: so basically anybody can hook to nimbot and spam this channel? Hmmmm…
17:22:59*achim joined #nimrod
17:23:25dom96gradha: no.
17:25:36*ddl_smurf joined #nimrod
17:26:06zahary__!addrepo zah nimrod.vim
17:26:06NimBotAccess denied.
17:27:12*aftersha_ joined #nimrod
17:33:25*faassen quit (Quit: Leaving.)
17:41:07*ddl_smurf quit (Quit: ddl_smurf)
17:50:56*EXetoC quit (Ping timeout: 240 seconds)
17:50:59*Icefoz quit (Ping timeout: 240 seconds)
17:53:45*DAddYE joined #nimrod
17:53:58*brson joined #nimrod
17:54:04*Icefoz joined #nimrod
17:56:30*EXetoC joined #nimrod
17:58:36*achim quit (Quit: Computer has gone to sleep.)
18:04:55Varriountzahary: The reason it isn't on package control yet is... because neither OrionPK nor I have put it up yet.
18:07:13*shodan45 joined #nimrod
18:07:45*Icefoz_ joined #nimrod
18:09:40*EXetoC quit (Ping timeout: 240 seconds)
18:09:41*Icefoz quit (Ping timeout: 240 seconds)
18:11:43*achim joined #nimrod
18:11:51*aftersha_ quit (Quit: Computer has gone to sleep.)
18:14:12*Mordecai joined #nimrod
18:14:57OrionPKwell, it's not ready yet
18:15:00OrionPK:)
18:15:29OrionPKvarriount i still think we should get rid of the _filter stuff
18:16:59*psquid quit (Ping timeout: 260 seconds)
18:17:44*Mordecai is now known as psquid
18:21:00*EXetoC joined #nimrod
18:21:40EXetoCsomeone is clogging them tubes
18:26:02OrionPKuh oh
18:32:58*zielmicha joined #nimrod
18:35:17VarriountOrionPK: Feel free to.
18:36:21VarriountOrionPK: Also, I would like it if we started working in branches. I know that most of our additions are fairly trivial, but it makes it easier to sort things out when there's a conflict.
18:37:07OrionPKi'd prefer to do branches after release
18:37:29VarriountOk.
18:38:53VarriountOrionPK: And what needs to be done for a release?
18:39:19OrionPKwe need to test it on ST3 and other platforms
18:39:28OrionPKget some other people to test it out too i think
18:40:37VarriountI think that we also need user-configurable settings. :/
18:40:45VarriountHey OrionPK, what's needed to get the completion stuff to work?
18:41:02OrionPKcompletion stuff?
18:41:14VarriountWhatever uses idetools
18:41:23OrionPKah
18:41:31OrionPKF12 on windows
18:41:49OrionPKin theory it should work if you have nimrod in your PATH
18:41:58OrionPKit's not perfect though
18:42:08VarriountEh, it tries to open os.nim up in my browser.
18:42:15OrionPKlol... what?
18:42:26VarriountThen again, by default, nimrod isn't in my PATH
18:44:26VarriountAaand even after adding nimrod to my PATH, it opens up in Chrome
18:45:24*CarpNet quit (Quit: Leaving)
18:46:03VarriountOrionPK: Do I need a project file or something?
18:47:09VarriountOk, now I get an error.
18:47:11VarriountTraceback (most recent call last):
18:47:11Varriount File ".\sublime_plugin.py", line 362, in run_
18:47:11Varriount return self.run(edit)
18:47:11Varriount File ".\Lookup.py", line 50, in run
18:47:11Varriount File ".\Lookup.py", line 30, in lookup
18:47:11VarriountTypeError: idetool() takes at least 5 arguments (4 given)
18:47:33*Varriount quit (*.net *.split)
18:50:00*achim quit (Quit: Computer has gone to sleep.)
18:52:50*achim joined #nimrod
18:53:23*Varriount joined #nimrod
18:54:08OrionPKinteresting
18:54:53OrionPKworks for me
18:56:27VarriountOk, that was odd.
18:56:47VarriountOrionPK: You aren't messing with ip settings or something using the plugin, are you?
18:57:01OrionPKlook @ the source
18:57:29VarriountMy host resolution for freenode went wonky for a couple minutes. I couldn't even ping the ip address
19:01:23*Mat3 joined #nimrod
19:01:28Mat3hi al
19:01:36Mat3ehm hi all
19:02:31OrionPKhello
19:08:47AraqVarriount: I read Peter Norvik's regex construction algorithm if that's what you mean
19:09:11Araqping zahary, zahary__
19:13:11Mat3hi OrionPK and Araq
19:13:53Araqhi Mat3
19:13:59AraqI'm waiting for your docs :-)
19:15:54*Demos joined #nimrod
19:26:37*Demos quit (Read error: Connection reset by peer)
19:28:10Mat3Araq: I'm still writing the ISA reference and assume to be finish next thursday (german only at moment)
19:28:34AraqI think I can still read German :P
19:29:37Araqping gradha
19:30:03gradhapong Araq
19:31:41Araqtried it without the immediate?
19:31:47Mat3Araq: I was told to write more lyrical than prosa so my wife edit the text beside writing ;)
19:31:58gradhano
19:32:02*Demos joined #nimrod
19:32:08Mat3hi Demos
19:32:08AraqI think the manual clearly states that immediate templates don't participate in overloading resolution
19:32:19Demosyo Mat3
19:32:35gradhaAraq: ok, I thought overloading only based on types, not on number of parameters
19:33:32gradhaAraq: yep, works, so any way to get rid of the type, or a more nimrodic way to specify it?
19:38:15gradhabrb
19:38:23Araqwhat type again?
19:44:08AraqMat3: cool. so your wife helps you to write technical documentation
19:44:56Mat3yes (fortunatly)
19:46:39*io2 quit ()
19:54:04gradhaAraq: the type of the expected returned seq
19:54:51gradhasecond line in the example "seq[typ]"
19:56:24Araqseq[type(seq1[0])]
19:56:28Araqdoesn't work?
19:57:03gradhait should get the type of pred, since you might want to change the type of the items in the seq
19:57:54Araqtype(pred(seq1[0])) then
20:00:00gradhaundeclared identifier: 'it', I guess that's why the filter template was immediate
20:03:59Araqah I see the "pred" uses the injected it
20:04:08Araqwhich doesn't exist yet
20:04:24VarriountOrionPK: Ping
20:04:54OrionPKwhat's up?
20:05:22Araqtype((let it {.inject.} = seq[0]; pred))
20:05:33Araqtry that one
20:05:38VarriountYeah. I fixed the error (old pyc file) however when I press f12, the nimrod file just opens in the browser
20:05:41*Araq prays it doesn't crash the compiler
20:06:37OrionPK*shrug*
20:06:44OrionPKit calls win.open_file(arg, flags)
20:06:54gradhaAraq: Error: type expected
20:07:03VarriountOrionPK: Eew, you're relying on file type associations?
20:07:04OrionPKhttp://www.sublimetext.com/docs/2/api_reference.html#sublime.Window
20:07:07OrionPKno
20:07:16gradhaAraq: are you sure irc debugging is more efficient than running the code yourself?
20:07:25OrionPKsublime.window open_file
20:07:43Araqgradha: yep. I'm reading some paper again
20:07:53VarriountOrionPK: And.. why would I want to open a file that I already have open?
20:08:12OrionPKif it's already open, it'll go to that tab
20:08:20OrionPKto that offset
20:08:43VarriountOk, what is f12 supposed to do?
20:08:50*gradha starts writing a paper titled: "how to release software periodically"
20:08:56OrionPKF12 is supposed to open the corresponding .nim module
20:09:00OrionPKin sublime text
20:09:04OrionPKat the line idetools found it
20:09:08OrionPKand column
20:09:28DemosOK is it prefered to use babel or the AUR for installing stuff like aporia?
20:10:20VarriountOrionPK: The corresponding nim module to.. what, the current selection?
20:11:10OrionPKyes
20:11:13OrionPKwhere your cursor is
20:11:37VarriountWell, it doesn't work. :/
20:11:46OrionPKwhats the console say
20:12:02VarriountNothing.
20:12:08VarriountI mean, nothing was printed.
20:13:23EXetoCDemos: Can't think of any reasons why that would be the case
20:14:04EXetoCI mean, why it would be preferred. babel is pretty usable imo
20:14:27Demoswell yes, except for not working
20:14:55OrionPKvarriount what OS?
20:15:27*aftersha_ joined #nimrod
20:15:48VarriountOrionPK: Wait a sec, I think I know what the problem is
20:15:57OrionPKtry going to the command pallette and using ?nimrod: go to definition"
20:15:58OrionPK"
20:16:03EXetoCDemos: yeah, it complains about the lack of a .babel file
20:16:08VarriountI think one of my other plugins is conflicting
20:16:17OrionPKah
20:16:18EXetoCfor me anyway. same for you?
20:16:26Demosmine complaains about not being able to open a directory
20:16:33VarriountOrionPK: You really need a better key combo. F12 is.. special
20:16:39OrionPKF12 is MINE
20:16:40OrionPK:p
20:16:50OrionPKF12 is what visual studio uses for lookups
20:17:08DemosError: cannot open '~/babel/pkgs/gtk2-1.0 /tmp/babel/aporia/aporia.nim'
20:18:15EXetoCI guess we should report these two issues
20:18:36VarriountOrionPK: Ok, I manually ran the command. Nothing happened except for a slight pause.
20:18:50DemosEXetoC: yeah, same thing seems to happen on windows as well
20:18:52OrionPKwhats the console say
20:18:56Demoswhat version are you using
20:18:57fowlDemos, babel install aporia#head
20:18:58VarriountOrionPK: What files does the lookup command search through?
20:19:07VarriountOrionPK: The console says nothing.
20:19:08OrionPKit doesnt
20:19:14OrionPKit calls nimrod idetools
20:19:14DemosFAILURE: package not found
20:19:38OrionPKconsole should output the command line it used
20:19:48OrionPKsomething like nimrod --verbosity:0 idetools --def --track:.....
20:19:54fowlDemos, babel update and do it agian
20:20:00Demosstill no dice
20:20:05VarriountOrionPK: Nope
20:20:15OrionPKyou'll have to debug it, then, because i cant reproduce that
20:20:31fowlDemos, babel install babel and try again
20:20:34OrionPKstick a print() in the entry point of that command in python
20:20:59VarriountOrionPK: Ok, I used it on another part of the file. And Sublime Text crashed.
20:21:01OrionPKmy guess is it's not finding nimrod maybe?
20:21:47VarriountThough, right before the crash, the correct file and line was printed out into the console.
20:21:48EXetoCDemos: the latest
20:22:19EXetoCbbl
20:22:20DemosI was using the one from the AUR
20:23:09DemosOo I ran babel install babel again and I deleted itself
20:24:05*vendethiel quit (Ping timeout: 248 seconds)
20:24:41*vendethiel joined #nimrod
20:24:44Demoscommand line(1, 1) Error: invalid command line option: '--noBabelPath'
20:24:52Demoswhen trying to install it off github
20:25:52dom96You need latest Nimrod master.
20:26:20fowlbabel install nimrod
20:26:23DemosI have the latest nimrod
20:26:30DemosI just built it!
20:26:47dom96Off the master branch?
20:26:50Demosoff devel
20:27:05dom96Well you need master.
20:27:15Demosthat is not a good thing
20:27:34VarriountOrionPK: I'm impressed. I can't remember the last time sublime text crashed.
20:27:36dom96Somebody should merge master into devel.
20:27:58VarriountAnd take care of the ~19 pull requests
20:27:59OrionPKlol
20:31:29OrionPKit works on my desktop(win), work laptop (win) and personal laptop (osx)
20:32:24Demosyeah, well I was on devel, I would be in favor of babel including a working version of the compiler within itself for these situations
20:32:41Demosbut bable is not a package manager so w/e
20:36:29gradhasince nimrod is now being optimized for popularity https://github.com/Araq/Nimrod/graphs/traffic may help
20:37:09dom96ooh yay. I've been waiting for that feature forever now.
20:37:29gradhalobste.rs?
20:37:30Mat3gradha: 404 - this is not the webpage...
20:38:18gradhaMat3: should be reachable from https://github.com/Araq/Nimrod/graphs
20:38:32gradhamaybe you hit a balanced node not yet updated
20:39:06Mat3the Anakin Skywalker animaniac is nice however
20:39:26Mat3^thanks, that link works
20:46:06*[1]Endy joined #nimrod
20:50:05*[2]Endy joined #nimrod
20:52:30*[1]Endy quit (Ping timeout: 245 seconds)
20:52:48gradhahow about an irreproducible stacktrace? http://pastebin.com/SeJqPLUT the "Invalid argument" is suspicious
20:52:59*ddl_smurf joined #nimrod
20:56:49fowlkpop blogs are not supported by the runtime
20:57:07gradhasurprisingly they are, once I rerun the command
20:57:28*[1]Endy joined #nimrod
20:57:55gradhathe code failed downloading like the eigth image
20:58:08Araqgradha: occording to OrionPK you should be glad httpclient works at all. or was that httpserver?
20:58:08*dmac joined #nimrod
20:58:18Araqhi dmac welcome
20:58:24OrionPKhttpserver
20:58:27dmacHi
20:58:30dmacThanks!
20:59:38AraqOrionPK, dom96: you should work together and get rid of the broken select asap. I changed my mind.
21:00:47*[2]Endy quit (Ping timeout: 260 seconds)
21:02:12gradhaI'm glad it will be fixed for the release date of 14th February
21:03:20OrionPK<3 nimrod valentine
21:03:38OrionPKyou mean you dont want backwards select at all anymore araq?
21:05:12Araqdeprecate it and put it into a different module, then import sockets except select
21:05:21Araqer
21:05:29Araqput the new one into a new module
21:06:09dom96Wasn't this the plan all along? How exactly did you change your mind?
21:08:39OrionPKdefinitey ew @ import sockets except select :p
21:09:00Araqwell alright. my major point is that you 2 should act together *now* and update the stdlib and everything we know that uses select
21:09:03*Demos quit (Remote host closed the connection)
21:09:31AraqI can live with a bold "select changed its semantics" in the news and no deprecation path
21:09:49dom96I can't.
21:09:52OrionPKwell, that pull request from a while ago does that
21:10:07dom96It's far TOO subtle.
21:10:25OrionPKthe subtlety is that people expect the stdlib to have select work properly
21:10:29OrionPKand it is backwards
21:10:38OrionPKthat confused me for a while
21:10:49*Demos joined #nimrod
21:10:59dom96How about I just finish https://github.com/Araq/Nimrod/blob/newasync/lib/pure/selectors.nim and merge it in?
21:11:04dom96Then deprecate select everywhere.
21:11:21dom96But then someone will complain that they don't like this high level interface
21:12:46Araqdom96: that's a different API altogether, so no
21:13:16OrionPKwhats the null checking for every call?
21:14:17OrionPKI think we have to weigh this like this.. old nimrod users vs. new nimrod users
21:14:44OrionPKare old nimrod users more likely to be confused by a sudden change in the behavior of select OR are NEW nimrod users more likely to be confused by the backward nature of select?
21:15:06OrionPK"old" nimrod users are people who are here, "new" ones are people who havent even started nimrod yet
21:15:28OrionPKold nimrod users know where to go and ask "wtf?" if something stops working, they also pay attention to patch notes
21:15:29AraqOrionPK: no, that's not really a good question to ask since we all agree it needs to be changed
21:15:38OrionPKdom doesnt
21:15:51VarriountI agree that it needs to be changed.
21:15:52OrionPKI think it should be fixed not duplicated and deprecated
21:16:44Araqwell as far as I can tell we only disagree how the migration path should look like
21:16:51OrionPKright
21:17:20VarriountIs this new selectors module based off of the new python async lib?
21:17:22OrionPKold users might have a momentary "wtf" if they're calling select directly and not through the socket library, but thats a very small # of users is my guess
21:17:37OrionPKnew users will have a very confusing time if there are multiple selects
21:17:46OrionPKand one does the opposite of the other
21:17:48*[1]Endy quit (Ping timeout: 252 seconds)
21:18:03Araqnot really if one is clarly marked deprecated
21:18:18VarriountAnd hidden in the documentation
21:18:20OrionPKif they find it in the docs and dont just inherit it from sockets
21:18:38Araqthe compiler warns about deprecated usages ...
21:18:40OrionPKwithout even knowing that they "should have" done "except select"
21:18:54Araqwell ok
21:19:03Araq"except select" is a stupid idea
21:19:20Araqas that breaks when there is no sockets.select anymore
21:19:28Araq(or maybe the compiler should allow that?)
21:19:36OrionPKheh
21:19:58OrionPKwhen the compiler picks which function to call, does it look at which are deprecated?
21:20:02OrionPKif they have the same signature
21:20:11Araqno
21:20:16Araqit warns you later
21:20:25Araqwhen it picked the deprecated one
21:20:28OrionPKah
21:20:56VarriountMaybe something could be done with "when defined(...)"?
21:21:25OrionPKgod idk.. you know what my position is. how many existing nimrod devs have actually invoked select() manually in their code?
21:22:11VarriountOrionPK: Fatal Error: Statistical Population too small to calculate requested information.
21:23:02OrionPKI would have to change my websockets stuff, which isnt even on babel yet, we'd have to change some stdlib stuff
21:29:21reactormonkdid I mention that the nimrod serve still doesn't answer the second request I send it? Only the first one works.
21:30:12*achim quit (Quit: Computer has gone to sleep.)
21:30:31VarriountOrionPK, Araq, dom96 - I have done a search on github on "select", and only found ~3 instances of where select is actually used by any external library.
21:31:16gradhareactormonk: the hyperlinker I wrote ages ago uses server mode without problems
21:31:35gradhathough I haven't used it in ages
21:31:48VarriountConsidering that two of the three results where all repositories whose users are active on this channel, it is reasonable to believe that whatever drastic change to sockets you guys are suggesting should cause relatively little fuss.
21:32:35OrionPKwhose?
21:32:47OrionPKfowl?
21:32:53VarriountOne by fowl, and one by dom96
21:34:54gradhareactormonk: just checked it now, the quality of the results hasn't improved, but at least it doesn't loop forever like you seem to experience
21:35:00*ddl_smurf quit (Quit: ddl_smurf)
21:35:09VarriountOrionPK: While we wait for the others, mind explaining to me what all this fuss is about, exactly? And what selectors.nim is modelled after?
21:36:23OrionPKselectors.nim is part of dom's new asyncio stuff afaik
21:36:43fowli use select?
21:36:46OrionPKlooks like it implements several async functions like poll/epoll/select
21:37:07VarriountAnd hopefully, once I get my hands on it, IO Completion Ports.
21:37:13reactormonkgradha, huh?
21:37:30OrionPKthe sockets.nim implementation of select inverts the results, so instead of finding out which fd's changed, you find out the ones that didn't change
21:37:41gradhareactormonk: you will need to ellaborate on that huh
21:37:52VarriountOrionPK: Yes, I know. Rather unintuative.
21:38:05OrionPKthats pretty much all the fuss :p
21:38:10Varriount-_-
21:38:40OrionPKmy websockets library actually has a different select that converts the results iirc
21:38:54OrionPKhttps://github.com/onionhammer/onion-nimrod/blob/master/websockets/websocket_utils.nim#L63
21:43:48*Mordecai joined #nimrod
21:44:25VarriountOrionPK: I skipped over your repo - I already knew that your implementation was different
21:44:42OrionPKi still use sockets.select though
21:45:24VarriountOk then, 4 repos.
21:45:35OrionPKi would have just reimported it myself if the socket's underlying fd was exposed
21:47:27*psquid quit (Read error: Operation timed out)
21:52:13VarriountOrionPK: I'm curious, why is it that select() is used, rather than poll()?
21:52:37VarriountI mean, as the underlying os api call, not the nimrod procedure.
21:53:36OrionPKdunno, ask dom96.. select is more portable iirc
21:54:48VarriountOrionPK: To that, I point you to this page, and the first sentence under "what is nimrod" -> http://nimrod-lang.org/question.html
21:55:37VarriountIt's the leading reason why os.nim has so much inlined/similar/duplicated code
21:57:06OrionPKwe should just implement all of the options and then pick whichever has the best performance on each platform for all the std lib functions
21:57:09*brson quit (Quit: Lost terminal)
21:57:42*brson joined #nimrod
21:58:27*Mordecai is now known as psquid
22:00:34gradhagood night, honey badgers
22:00:39VarriountGoodnight
22:00:39*gradha quit (Quit: bbl, need to watch http://www.youtube.com/watch?v=dEf4PJZXBxA again)
22:00:42Mat3ciao gradha
22:01:16VarriountMat3: The fun is trying to say some form of "goodnight" before he quits :P
22:01:43VarriountBonus points if you use proper capitalization, a name, and grammer.
22:02:10Mat3he understands me quite right
22:02:34EXetoCand some grammar c(:)-<
22:02:46Mat3OrionPK: Good idea
22:07:08Demoswow so microsoft's "Visual studio managed package framework project" code is designed to help create custom projects with the managed package framework. Bet nobody can guess what it conflicts with
22:07:40Mat3EXetoC: 它的費用的所有問題 [ here you have the right grammar for the new century - all other is wasted time ;) ]
22:07:41VarriountPoor Demos. I feel your pain.
22:08:07*brson quit (Ping timeout: 246 seconds)
22:08:36Demosthe documentation was like "the ProjectFactory class implements 12 shell interfaces and over 900 virtual methods"
22:08:41*Mat3 its even a language independent way of reading
22:09:12VarriountIt's like when I go through sublime text api, and think of all the useful API features that should have been added.
22:09:43fowlDemos, i added destructors and changing components to entitty, check it out
22:12:25DemosI had a revelation about how component based systems should be designed! And I gave up on destructors in my attempted implementation of components stored as value types, I wanted to be able to copy the whole gamestate around and it turns out shit hits the fan once you want to copy things that own heap memory
22:12:25Mat3ciao, get some sleep
22:12:35*Mat3 quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
22:12:47Demosso the component's destructor gets an entity parameter?
22:13:03*io2 joined #nimrod
22:13:34OrionPKit would be awesome if httpserver got fixed and the new asyncio was awesome :\
22:13:41OrionPKthen i wouldnt have to use mongoose in my next project
22:13:46OrionPK:p
22:13:47VarriountMongoos?
22:13:54Varriount*Mongoose
22:14:15OrionPKhttps://github.com/cesanta/mongoose/
22:14:55OrionPKright now it'd be super easy to crash/hang a program built with httpserver
22:15:49OrionPKalso cgi
22:15:56OrionPKunless dom fixed that
22:16:42VarriountOrionPK: I think the next thing that needs to be added to Nimrod-Sublime is pretty.nim formatting.
22:16:57OrionPKoh yeah?
22:17:49VarriountOrionPK: One of my favorite sublime text plugins for python is an auto-formatter. One keypress and I get things nice and neat.
22:18:06fowlDemos, destructors should only really be needed to free memory, or to GCUnref a ref or something
22:18:10OrionPKi always write my stuff nice and neat from the get go, so :P
22:18:38VarriountOrionPK: As do I, but it's nice to have something to catch the mistakes that fall through.
22:18:58VarriountPlus, then other's don't have an excuse for their sloppy formatting.
22:19:02Demosyeah, my problem was I wanted fast deep copies, and so having to do an indirect function call on each copy was not a good thing
22:19:23OrionPKcan you do it on subsets of code?
22:19:29OrionPKor does it have to be on a whole file
22:19:38VarriountI think only subsets
22:20:01OrionPKI think you should work on REPL next :P
22:20:32VarriountNuuu
22:20:47Demoswhat is the API for pretty.nim? I managed to skirt around C issues with highlite.nim but that was easy since internally it used cstrings
22:21:20VarriountDemos: I don't exactly know.
22:21:30*aftersha_ quit (Quit: Computer has gone to sleep.)
22:21:50*Mordecai joined #nimrod
22:21:53fowlDemos, you want to copy an entity? all that is required if you only use value types for components is copymemming the data, otherwise you'd need a copy callback
22:22:09*psquid quit (Read error: Operation timed out)
22:23:08Demosyeah, which was the problem. I think I know a better design but I am working on VS stuff now
22:25:08VarriountDemos: on the latest build of nimrod (just to be safe) use "nimrod pretty <nimrod file>"
22:25:28Demosoh, not bad at all
22:26:20VarriountUnfortunately, since nimrod has a rather... sparse style standard, the main changes are to things such as names.
22:27:14VarriountNo newlines are added to seperate procs/templates, etc
22:27:50Demosso for the nimrod visual studio project template do yall think I should set nimrod's c compiler to msvc?
22:28:15OrionPKthats a tough call
22:28:17Demosheh, I may just leave it at default
22:28:27VarriountDemos: Is there a way to check for gcc, and use msvc as a fallback?
22:28:37DemosI personally use icc since it can generate pdb files
22:28:46OrionPKyeah just let nim do its thing..
22:28:49Demosyeah
22:29:14VarriountDemos: You have enough money to buy a copy of the intel compiler?
22:29:14OrionPKso eta on integrated debugger support in VS demos? :P
22:30:27DemosVarriount, student version
22:30:29*Mordecai is now known as psquid
22:30:53Demosand Orion I was super pleased when I actually was debugging a crash and the debugger stepped into nimrod's generated C
22:31:12OrionPKnice :)
22:31:36Demosso that should be easy, I can turn on the source embedding in debug builds
22:31:36OrionPKcan you get it to use nimrod's line # injections to superimpose it onto the actual nimrod code?
22:31:48Demosgetting integration with nimrod's actual debugger is harder
22:31:49OrionPKthat would be very cool
22:32:53*brson joined #nimrod
22:33:30*icebattle joined #nimrod
22:51:52Demosalso the debugger sometimes has trouble finding pdb files, which means it can be nessassary to compile the debugging info into the executable or dll, which does not work for large projects
22:52:12Demosand ofc you are screwed if you are not using msvc or icc
22:52:20Demosor /maybe/ clang-cl
23:02:44Demosproject.SetSite((IOleServiceProvider)((IServiceProvider)this.package).GetService(typeof(IOleServiceProvider)));
23:06:39Araqolé olé
23:10:01*Demos quit (Ping timeout: 272 seconds)
23:23:43EXetoCwth
23:24:04EXetoCnot cool
23:28:20*darkf joined #nimrod
23:31:40Araqmuhaha I solved the "shared ref" problem
23:33:23*radsoc quit (Ping timeout: 260 seconds)
23:39:18Araqwell ... not really of course