<<13-03-2013>>

00:07:53*q66 quit (Remote host closed the connection)
00:36:23*ccssnet quit (Ping timeout: 245 seconds)
00:36:44filwitsorry gradha, was talking on the phone
00:36:48Araqreactormonk: did that NimString fix help?
00:36:57filwiti don't have a lot of time to work on Nimrod features, ATM
00:37:22filwitbut I'll stick around and try and help on minor things from time-to-time
00:37:36filwitgot to go now though
00:37:41*filwit quit (Quit: Leaving)
00:40:01Araqgood night
01:35:13*ccssnet joined #nimrod
02:09:40reactormonkAraq, jup
06:54:15*zahary joined #nimrod
06:54:16*zahary quit (Client Quit)
07:43:37*gour joined #nimrod
09:11:22*Araq_ joined #nimrod
09:25:07*Araq_ quit (Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931])
09:27:20*Trix[a]r_za is now known as Trixar_za
09:56:02*Trixar_za is now known as Trix[a]r_za
14:37:12*XAMPP quit (Read error: Connection reset by peer)
14:37:54*q66 joined #nimrod
14:57:03*Araq_ joined #nimrod
14:58:27*Araq_ quit (Client Quit)
19:51:05*avarus joined #nimrod
19:51:09avarushi
20:08:02Araqhi avarus
20:37:51*gradha joined #nimrod
20:40:37Araqhi gradha
20:40:45gradhahi
20:40:59Araqnow that your awesome world changing command line stuff is finished what are you up to?
20:41:29gradhaat the moment I'm going back through notes, then back to world changing
20:42:21Araqdo your notes include swig support?
20:42:29gradhalet me check
20:43:29gradhanope
20:44:26Araqpity
20:47:26Araqdo your notes include taking over "claro"?
20:47:56gradhanot at all, I hate GUIs
20:48:14dom96what exactly do your notes include?
20:48:25gradhaI can put them online if you want to see
20:48:51dom96hrm, sure.
20:48:53gradhahah, this one about the forum is nice: "account locking, with electric shock plugin"
20:49:03*gour wonders what kind of cli apps is gradha writing for iOS :-)
20:50:07gradhaok, my random todo at http://pastebin.com/tWtENGgM
20:50:42gradhagour: libraries for other developers
20:50:48dom96wow, very nicely formatted.
20:51:03dom96My todos are almost always all over the place.
20:52:47gradhait's more like a text file I add random stuff I later regret and discard anyway
20:52:53*dom96 tries to comprehend the spanish
20:53:54gradhayou may want to ask, it's quicker and possibly I understand better the context
20:56:58dom96I can deduce most of it.
21:00:23dom96Earlier today I was thinking that perhaps it would be a good idea to set clear goals of what babel should and should not be, what it should and should not do etc.
21:01:24gradhadoes it need any more work? to me it seems it needs minor features like being able to specify git branches and stuff like that
21:01:43gradhaoh, wait, the splash, how could I forget
21:02:19dom96IMO it needs lots of work, and I still prefer the way packages are handled by cabal rather than the way we handle them now.
21:02:35dom96(exhu mentioned that he preferred it too)
21:02:59gradhahow is it better than typing "install blah" and have blah installed?
21:03:49dom96The whole system is better if we have a central repository with different versions of each package nicely zipped up.
21:04:43gradhaso you prefer the babel json to be split?
21:04:55dom96My main gripe is that currently the packages.json file repeats a lot of information which is already present in the .babel files.
21:05:47dom96And as soon as dependencies come into play they will need to be repeated in the .json file too...
21:06:04gradhawhy is the .babel file there? couldn't it be generated from the main repo with the big json?
21:06:36gradha1) babel install blah 2) babel gets blah reading it in the github json 3) installs locally and generates the individual .babel
21:07:09dom96Well the local .babel file means that you can install a package manually with 'babel install' in its dir.
21:07:40gradhasure, you can use that for testing, but once it gets into babel you could get rid of it, only developers need to touch it
21:08:16gradhaalso, maybe babel could provide a "babel push" which would read that local babel file, validate it, and prepare a diff against the github json
21:08:59dom96I think that this information belongs with the source code.
21:09:30gradhawhat would happen if you didn't have it?
21:10:04gradhadoes something break if I delete ~/.babel/libs/argument_parser-0.1.0/argument_parser.babel ?
21:10:15dom96For example, v0.1 of your package might require two additional packages. Whereas v0.2 requires 4 packages.
21:10:24dom96Should the .json file contain this information?
21:10:35Zorhey Araq, you around?
21:10:50dom96Another problem is that this packages.json file is not publically editable.
21:11:11gradhayou don't want it publically editable
21:11:46dom96Yes, but say you are tweaking your package's dependencies, should you make multiple pull requests while developing your library?
21:12:09gradhaI would not use babel for development stuff
21:12:32gradhamy idea of packages is that they are static, done, finished
21:12:47dom96True. Perhaps that should be enforced.
21:12:55gradhapeople who want development versions will get the git version directly
21:12:57dom96Currently it's bleeding-edge.
21:13:18dom96But then without the .babel file you cannot install the development version :P
21:13:33gradhaI'm not saying you get rid of that
21:13:37gradhalet me explain
21:13:50gradhathe .babel file is something the developer who creates/mantains a package writes
21:14:02gradhait is used for local testing
21:14:33gradhathen, I have a finished version, so I "babel submit" and babel takes the .babel file, downloads the big json an figures out how to patch it
21:14:46gradhathe patch is left in a file so you can submit it to github or something
21:15:06dom96hrm, that's actually quite a nice idea.
21:15:09gradhathat's the developer pov
21:15:17gradhabut for the user, a .babel file is not useful at all
21:15:24gradhaI mean, why would I even want to look at it?
21:15:30gradhait's part of the package system
21:16:00gradhaso I don't mind if it's json, sqlite or xml, it's somewhere, and the system works, that's all a user wants
21:17:21gradhaanother thing I would like in a package manager is to point me to the documentation
21:17:45gradhamaybe I could type "babel docs packagename" and it would say paths to the docs that came with the package
21:17:55gradhaor maybe open them instantly with the OS's browser if they are html
21:18:23gradhathe opening with the browser is probably easiest, you enforce all packages come with an index.html, and users don't care about paths and weird stuff
21:18:41gradhathe developer can put in this index a quick menu like "read docs, go to website, contact, etc"
21:19:05dom96Alright. Let me move on to another problem that I see with the current system. Because each package links to a github repository a malicious developer could easily submit some package and then a while later change the content of his github repo so that malicious code is installed on the users computer.
21:22:13gradhayou have suddenly change the requirements from package manager to signed hardcore security and stuff
21:22:49gradhais that problem avoidable at all?
21:23:15gradhaI mean, I put up a zip somewhere, a hacker changes, same problem
21:23:16dom96It's avoidable if we switch to a central trusted repository ala cabal.
21:23:47gradhayou mean cabal servers can't be hacked?
21:24:57dom96They can, the point is it is much easier to edit a repo you own than to hack someone else's server.
21:24:58*gour quit (Disconnected by services)
21:24:59*gour_ joined #nimrod
21:25:52gradhaI only see that as a displacement of trust, which is not welcome. The central repo is just an app store, worse brouhahas happen when users start trusting "oh, it came from the repo"
21:27:07gradhathe only thing sensible I see is adding checksums which babel can calculate and check, other than that, even if something comes from a central repo it can be a logical bomb
21:27:38*avarus quit (Remote host closed the connection)
21:28:14gradhathat's the most download services provide, a checksum to at least know you got what you thought you wanted to get
21:28:32gradhaIMO technology doesn't solve a social issue, which is trust and evilness
21:29:46dom96A checksum would work :D
21:37:50gradhawhat else problems you want to solve with babel?
21:38:34dom96Originally I planned to allow compilation and installation of applications.
21:41:27dom96I still feel like there are many problems which I simply can't remember though. Every time I sit down to work on babel I think of something new, perhaps I am just thinking too much of what /might/ happen though.
21:41:56gradhaplay some starcraft2 instead
21:42:34dom96meh
21:49:01gradhamaybe you could try formalizing the issues on github
21:51:57gradhaI tend to have a synchronization problem: when I sit to work I want to play, when I sit to play I want to work
21:53:26dom96I barely ever bother rebooting to Windows to play anything.
21:54:06*Zerathul joined #nimrod
21:54:12gradhaI know that feeling, I barely ever bother opening dosemu to play anything
21:54:58gradhawait, didn't try it after upgrading to mountain lion
21:55:37gradhapfiu... masters of orion still works
22:14:23*gour_ quit (Quit: WeeChat 0.4.0)
22:29:00*gradha quit (Quit: bbl, have youtube videos to watch)
23:34:35*Trix[a]r_za is now known as Trixar_za
23:35:02reactormonkAraq, http://felixge.de/2013/03/11/the-pull-request-hack.html maybe interested?
23:35:30*Zerathul quit (Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931])