<<17-03-2013>>

00:11:16ack006portably, that's the crux.
00:12:10Araqwell I can live with a linux only version for a start
00:14:55ack006then you already have a good market share. i'll see if i can find more info wrt. portability, but it doesn't look good :-(
00:18:27Araqack006: I think 'niminst csource' should continue to do what it did
00:19:17AraqI mean srcdist should call 'writeInstallScript'
00:20:07ack006was afraid you were going to say that :-) but srcdist should only be run after a succesful bootstrap, not?
00:20:22ack006and the successful bootstrap creates the install scripts...
00:20:32Araqniminst is a tool of its own
00:20:42ack006ok will add it, no prob.
00:21:22Araqand I think 'koch ' should not generate it after bootstrapping
00:21:42Araqadd some new command to koch instead
00:21:52Araqand update the build instructions
00:21:52ack006well, then users will have to use an extra command to koch
00:22:07ack006an extra command in install procedure i mean
00:22:27Araqwell 'koch install' may be a good idea to introduce
00:22:27ack006ok will add these, but tomorrow if you don't mind :-)
00:22:27Araqnp
00:22:47Araqbut keep in mind most of us never install nimrod ;-)
00:23:02ack006because it's always in flux :-)
00:23:02Araqso I don't want to slow down bootstapping
00:23:27Araqyeah and because I despise unix's file hierarchy
00:23:37reactormonkaww
00:23:47ack006ok, then a new command to koch shouldn't be a problem
00:24:42ack006why do you dislike that file hierarchy? you like plan9's better? or GNU Hurd's?
00:25:37ack006maybe consider NixOS, let's you choose your own, basically, and every app is installed into it's own dir anyway
00:25:57ack006and it's package builder uses a functional language :-))
00:25:57Araqspreading the application's files over the whole hierarchy and then to use package managers to deal with the mess is a bad design
00:26:28AraqI like gobo linux's better, dunno about NixOS
00:26:38Araqbut gobo is dead
00:26:58reactormonkotherwise you'll have to deal with adding include paths n stuff.
00:26:58ack006maybe you should check it out, you can also use nixpkg on your current distro
00:28:08Araqreactormonk: yeah that needs to be changed; maybe all these PATH things simply need better wildcards like 'apps/*/bin'
00:28:23ack006(sometimes i think people are staying away from Apple's solution, for fear of being sued off their socks...)
00:28:48ack006putting everything but system libs in an awesome.app folder is just great...
00:29:08ack006you can just move it anywhere, drop it anywhere and run it.
00:29:43Araqwindows did it better IMHO
00:29:58ack006program files/?
00:29:58ack006but what about dll hell?
00:30:43ack006seems that with shared libs there's no way to have your cake and eat it too.
00:30:43Araqno that you don't have to bundle it to some weird .app container
00:31:08AraqI never experienced the famous windows DLL hell
00:31:23ack006but windows apps still spray files all over the place
00:31:23Araqlinux is much worse in this respect anyway
00:32:03Araqack006: now it's as bad as everywhere else on windows
00:32:03ack006some go in "program files", others in "Common", some in "Microsoft Shared", some in windows/system, etc...
00:32:23Araqyeah it used to be better
00:32:43Araqwell at least you can do it properly for your own software
00:32:53ack006true, linux isn't much better, the more apps, the more name clashes, or infinite regress of subdirectories
00:33:18Araqlinux is worse because you can't puth the lib*.so next to the exe
00:33:18Araq*put
00:33:43ack006well, i think you can, by putting '.' in RPATH
00:33:58ack006but few do.
00:34:08Araqand so you can't :P
00:34:23ack006yup, sigh...
00:35:58ack006anyway, i'm going to hit the sack, was very nice talking to you all, sweet dreams about Nimrod! :-)
00:36:28Araqalright, good night
00:36:48ack006nighty :-)
00:36:58*ack006 quit (Quit: Leaving)
00:38:53*fowl quit (Ping timeout: 245 seconds)
01:58:50*Trixar_za is now known as Trix[a]r_za
03:10:46*q66 quit (Remote host closed the connection)
03:43:58*fowl joined #nimrod
03:57:51*fowl quit (Quit: Leaving)
04:50:29*XAMPP_ quit (Quit: My code has no bug's, just random features)
04:51:32*XAMPP joined #nimrod
07:04:20*gour joined #nimrod
10:22:05*q66 joined #nimrod
10:23:30*gour quit (Quit: WeeChat 0.4.0)
10:45:10*gour joined #nimrod
11:05:19*gradha joined #nimrod
11:55:34*gradha quit (Quit: bbl, have youtube videos to watch)
14:14:30dom96https://github.com/Araq/Nimrod/issues/367
14:52:58*AmatCoder joined #nimrod
14:56:57dom96hello AmatCoder
14:57:45AmatCoderhi
15:05:01Araqhi AmatCoder
15:05:57dom96hey Araq, read my RFC and tell me what you think ;)
15:05:59AmatCoderhi Araq
15:06:25Araqdom96: I'm reading
15:13:34Araqdom96: maybe the first version should simply wrap libev or libevent ...
15:14:28dom96I prefer no dependencies.
15:15:05NimBotAraq/Nimrod 671f3e2 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Fixes the dirtyness of the filterIt template. Refs #351.
15:15:05NimBotAraq/Nimrod 30906d9 Araq [+0 ±1 -0]: Merge pull request #363 from gradha/pr_fixes_filterIt_dirtyness... 3 more lines
15:15:16NimBotAraq/Nimrod 4d322fd Grzegorz Adam Hankiewicz [+0 ±1 -0]: Mentions nextPowerOfTwo proc for table initialization.
15:15:16NimBotAraq/Nimrod 4580bda Araq [+0 ±1 -0]: Merge pull request #365 from gradha/pr_adds_mention_of_nextPowerOfTwo_proc... 3 more lines
15:15:57Araqdom96: me too, but it's a nice fallback for the minor OSes
15:16:13Araqwell just go ahead and do it the way you feel like
15:17:00dom96ok
15:17:12*gradha joined #nimrod
15:19:33gradhahmm... github seems to have lost the commit previous to the re-pull, Araq did you see my comments bout immediate regarding the fold templates?
15:20:41gradhabasically I don't know why the filterIt template needs to be immediate, but if it has to, maybe https://github.com/Araq/Nimrod/pull/362 should be too?
15:23:36Araqgradha: non immediate templates are constantly changing ;-)
15:23:50Araqso that's why I suggested to play safe and make it immediate
15:27:12*ack006 joined #nimrod
15:27:25Araqhowever, non-immediate templates work in this case only because of recent changes
15:28:32ack006hi all
15:28:41gradhahi
15:29:45ack006Araq: got your patch ready, i'm just looking for a way to keep the conversation history for github pull requests
15:30:01dom96hello
15:30:10ack006normally i ask to rebase after code review but github doesn't like scr..ing with history that much
15:30:28ack006dom96: hi :-)
15:30:44ack006i'm going to ask in their channel
15:31:07gradhamaybe you are holding it wrong?
15:31:21ack006ha :-D
15:31:59ack006whenever i hold it to my crotch it starts to vibrate, should i send it back for a refund?
15:33:13gradhadepends on what you want it to do
15:33:23ack006rep: i think you're at the wrong store, we do have big shiny windows, but on the other side of town they're red. go there please.
15:34:49ack006apple: legalized hardware brothel
15:35:03ack006(sorry about that...couldn't keep it in ;-D )
15:39:32ack006anyways, i was wondering whether ./build.sh is the right name for bootstrapping nimrod. also i found there is an undocumented 'install' command for koch, that actually runs build.sh
15:40:04ack006i would think: build new compiler from scratch (i.e. no existing): -> boot.sh
15:40:15ack006build compiler from bootstrap: ./koch build
15:40:23ack006install: ./koch install
15:40:45ack006so boot -> build -> install
15:41:11ack006and build for updates
15:46:01Araqbuild.sh does not bootstrap
15:46:27Araqand hell freezes over before I write a "boot.sh" script
15:47:40Araqshell scripting languages are utterly inappropriate for scripting
15:48:14ack006it's about the naming, not the functionality :-)
15:48:43ack006i mean: booting is supposed to be the very first thing that happens
15:49:06dom96yes, but the build.sh script doesn't technically bootstrap.
15:49:20gradhadom96: I'm trying to run numrod forum on my local machine, IIRC you guided Alexsomething to make it work, did you tell the instructions on irc so I can look them up?
15:49:23ack006old compiler -> new compiler
15:49:31ack006ok you have a point
15:50:03dom96ack006: Also we are all very used to writing ./koch boot
15:50:33dom96gradha: hrm, I can't remember. But I can help you now if you'd like.
15:50:42dom96gradha: What's the problem?
15:50:52gradhanimrod c -r forum.nim :> forum.nim(637, 17) Error: undeclared identifier: 'request'
15:50:54ack006ok keep it that way
15:51:39dom96gradha: ahh, yeah. Jester is broken.
15:51:48dom96gradha: Araq is fixing it as we speak.
15:52:38gradhathe use of nimrod.cfg is not very github friendly, so far I have http://pastebin.com/BK1iKXD0
15:52:39ack006Araq: what about the undocumented 'koch install'? that runs build.sh. might be confusing to users who try it.
15:53:32gradhaI know Araq doesn't like symlinks, but on unix it's the nicest thing to use, you can .gitignore them and make them point to the local proper directory, anything like that built-in nimrod.cfg?
15:54:02gradhahmmm... jester as a babel package maybe?
15:54:14dom96it already is a babel package
15:55:36gradhado you remember a nimrod version/commit where jester worked?
15:59:12dom96no idea, try one a couple of months ago maybe.
16:00:16*gradha quit (Quit: bbl, have youtube videos to watch)
16:36:49Araqack006: it's undocumented how can it be confusing? :P
16:36:59Araqbut alright, just remove it then
16:51:48*AmatCoder quit (Ping timeout: 245 seconds)
16:59:20*Zerathul joined #nimrod
17:00:40dom96oh cool a pull request for Aporia.
17:01:04*Zerathul_ joined #nimrod
17:01:40ack006Araq: people browsing the source, but not looking at build.sh
17:02:08ack006Araq: what to do with it? leave it the way it is? document it?
17:03:06ack006anyway, i'm going to push what i have to the pull request, you can have a look at it, it won't bite :)
17:03:58*AmatCoder joined #nimrod
17:04:20*Zerathul quit (Ping timeout: 256 seconds)
17:04:29*Zerathul_ is now known as Zerathul
17:05:08dom96AmatCoder: Thanks for the pull request, I actually just fixed that Gdk-critical warning, but i'll merge your changes anyway in a while.
17:08:52*Zerathul quit (Ping timeout: 257 seconds)
17:09:07AmatCoderdom96: Thanks, I'm just playing a bit with Aporia...
17:09:56AmatCoder...to learn nimrod :-)
17:10:13dom96AmatCoder: Awesome. Feel free to ask any questions that you have. Although I can see that you are already doing very well, even reading my todo :D
17:13:28AmatCoderThanks. As a few todo items *seems* easy to make...
17:13:56dom96yeah, some of them are easier than others.
17:14:47AmatCoder...I will try those for training.
17:15:08dom96sure.
17:22:07*Zerathul joined #nimrod
17:23:36*gour quit (Disconnected by services)
17:23:37*gour_ joined #nimrod
17:29:26*gour_ is now known as gour
17:33:53*AmatCoder quit (Ping timeout: 245 seconds)
17:45:40*AmatCoder joined #nimrod
17:54:52dom96AmatCoder: btw, once you fix something you can remove it from the todo. Only use <del> if it's partially fixed.
17:56:53*AmatCoder quit (Read error: Connection reset by peer)
18:00:27NimBotnimrod-code/Aporia 32c71b3 Dominik Picheta [+0 ±2 -0]: Recent files are now populated upon tab close.
18:00:27NimBotnimrod-code/Aporia 4909c8b AmatCoder [+0 ±2 -0]: Fix 'Gdk-CRITICAL:gdk_window_invalidate_rect_full' warnigns
18:00:27NimBotnimrod-code/Aporia 60f6954 AmatCoder [+0 ±1 -0]: Fix todo
18:00:27NimBotnimrod-code/Aporia 220cd03 AmatCoder [+0 ±1 -0]: Add a 'Quit' item in menu and toolbar
18:00:27NimBotnimrod-code/Aporia f5d54b6 Dominik Picheta [+0 ±3 -0]: gtk_text_buffer_set_modified is now used to track save state.
18:03:01*AmatCoder joined #nimrod
18:03:27Araqack006: remove the feature from koch.nim
18:03:48AmatCoderOk, but you do not feel obliged to merge my changes...
18:04:00AmatCoder...I am doing to my taste and and surely I break something.
18:04:42ack006Araq: ok, but that will require users to build niminst
18:04:48dom96AmatCoder: Alright. But your changes are really helpful :)
18:05:21ack006Araq: so the installation procedure will get longer and longer
18:06:55ack006why have koch have a feature to create inno setup but not install scripts? you don't like linux, do you? ;-)
18:08:18AmatCoderdom96: Thanks ;-)
18:09:15Araqack006: I can't follow
18:09:34Araqyou said 'koch install' is confusing, so I said remove it
18:10:17ack006Araq: sorry, i thought you meant my 'instscripts' feature.
18:11:18ack006shall i remove install feature in the same pull request?
18:18:23Araqsure
18:19:16*gradha joined #nimrod
18:20:28Araqgradha: checked Go's package manager? worth copying?
18:20:54gradhadidn't see anything of interest
18:21:50Araqwell ... how does it work? "import" can get a URL and then? is that the whole package management?
18:23:03gradhaI saw people typing the equivalent of "babel install packagename", there I lost interest
18:24:25Araqok
18:34:12*dom96 needs to break Aporia's config
18:34:20dom96So backup your config before updating next time just in case
18:35:05dom96I'll make it backwards compatible, but something may go wrong :P
18:41:27gradhanimbuild started to act weird today too, just when it was doing nothing, this time sharing 50% of cpu between itself and 50% with the kernel
18:42:11dom96:\
18:42:28gradhait wasn't timing out either, the connection seemed good
18:43:39gradhaI guess I have to learn about dtrace to figure out what's happening
18:50:15*AmatCoder quit (Read error: Connection reset by peer)
19:04:20*AmatCoder joined #nimrod
19:28:48reactormonkdom96, would you mind drawing a dot for #367?
19:29:18dom96A dot?
19:29:32reactormonkgraphivz dot
19:30:05dom96I don't have any experience with that.
19:31:10reactormonkit's dead easy
19:31:32reactormonkdom96, https://github.com/Tass/tshrdlu/blob/master/graph.dot
19:32:03dom96hrm, well what do you want me to visualise exactly?
19:32:17reactormonkrun with dot graph.dot -Tpng > plotted.png
19:32:56reactormonkdom96, the dependency graph
19:33:39dom96hrm, sure. I'll try it a bit later.
19:36:12reactormonkdom96, Everyone who reads that text has to rebuild the graph as you imagined it. Errors may happen.
19:36:25dom96i see
20:11:31*gradha quit (Quit: bbl, have youtube videos to watch)
20:11:32*AmatCoder quit (Read error: Connection reset by peer)
20:21:58*ack006 quit (Quit: Leaving)
20:41:31dom963 people left at once, not good :\
21:03:52gouri'm reading about html5/css3/sass...which i'll need for my web sites, but wonder how could nimrod's JS backend could help one writing desktop-like app
21:04:40dom96well you wouldn't need to write JS, but Nimrod.
21:04:57gourwhat about 'widgets'?
21:05:09dom96you will need to wrap them.
21:05:18gourhmm
21:05:42gourdoes it really help much?
21:06:12gourinstead of using 'dedicated' framework with its own widget set
21:09:40reactormonkgour, so you want a 'portable' app based on html and JS?
21:10:54*Zerathul quit (Ping timeout: 256 seconds)
21:11:47gourreactormonk: well, just thinking loud if html/js could possible replace real desktop gui toolkit considering that there is only gtk available for Nimrod
21:12:21gourotoh, the nature of the app is not really browser-based, but it's more 'classical' desktop one
21:12:55gourhowever, almost everyone is going crazy with web as multi-platform toolkit :-/
21:20:17NimBotnimrod-code/Aporia 3a9663e Dominik Picheta [+0 ±6 -0]: Better separation of settings.
21:38:30Araqgour: nimrod also has bindings to IUP and claro :P
21:38:36Araqthat may not help you
21:39:01Araqbut that is not the same as "there is only gtk available for Nimrod"
21:40:15gourAraq: IUP is missing i18n/utf-8 support...claro is not maintained, but i stand corrected...true, it's not fair to say "only gtk..."
21:49:32Araqlast time I checked somebody had a problem with claro's build script and the maintainer fixed it for you
21:53:47gouriirc, examples do not build
21:55:02Araqthey work for me
21:55:58NimBotAraq/Nimrod 30cc9ef Alain Kalker [+0 ±3 -0]: Separate out install/uninstall script generation... 7 more lines
21:55:58NimBotAraq/Nimrod 164c9ad Araq [+0 ±3 -0]: Merge pull request #361 from ackalker/fix-bootstrap... 3 more lines
21:56:46gouri might try 'em tomorrow..
21:58:43*Trix[a]r_za is now known as Trixar_za
22:29:12*gour quit (Quit: WeeChat 0.4.0)
23:30:22NimBotAraq/Nimrod f8061af Araq [+0 ±2 -0]: fixes #332
23:30:22NimBotAraq/Nimrod f4256f5 Araq [+0 ±3 -0]: fixes #304
23:30:22NimBotAraq/Nimrod dd0d274 Araq [+0 ±3 -0]: Merge branch 'master' of github.com:Araq/Nimrod
23:30:22NimBotAraq/Nimrod aff3bdb Araq [+0 ±1 -0]: added broken 'range' types to todo