/srv/irclogs.ubuntu.com/2012/01/19/#ubuntu-app-devel.txt

jmlhi09:19
jo-erlendhey jml. :)09:35
dpmgood morning everyone, hey jo-erlend10:03
jo-erlendhey dpm, and good morning to you too. :)10:03
dpm:)10:03
jo-erlendit's a really good morning for me, since my program seems to pass tests – finally! :)10:04
rickspencer3hey jo-erlend10:06
jo-erlendhey rickspencer3 :)10:07
jo-erlendhow are you?10:07
jo-erlendreally glad you encouraged me to write tests. It's become an addiction for me. ;)10:08
jmltests are awesome10:12
jml(says the guy who just approved a branch without tests)10:12
jo-erlendI've always seen it as a chore, but now I realise that it's actually improved my development speed radically, and that it turns things around. Instead of getting disappointed, I get confirmation that things are working all the time. I'm really happy I started doing it.10:16
jo-erlendI actually wish I could run the tests whenever I saved anything, and that I got a notification showing fail or success.10:17
jo-erlendor even auto-commit on "new success". That is, if the last saves tests failed and this saves tests succeed, then auto-commit. That would be very nice if you write tests in advance.10:19
rickspencer3hey jo-erlend good to hear!10:23
rickspencer3hey jo-erlend did you see any of my posts from over the holidays?10:24
rickspencer3I think I'm leaving Gtk as a widget toolkit, and going over to HTML5 for my front ends10:24
jo-erlendrickspencer3, no, where did you post them...10:27
jo-erlendrickspencer3, and... What's possessed you?10:27
rickspencer3http://theravingrick.blogspot.com/10:27
rickspencer3jo-erlend, it was just super fun10:28
jo-erlendI'll wait a decade more, I think.10:28
jo-erlendI jumped on the whole "DHTML is going to kill the desktop"-thing back in 1999 or so. They're still talking about it, and there's some progress, but I think it's far from being competitive.10:29
rickspencer3jo-erlend, well, I was writing desktop only apps10:30
rickspencer3just using webkit + HTML5 for my widgets10:30
rickspencer3they aren't web apps10:30
* noodles775 really enjoyed reading through http://www.cuttherope.ie/dev/ recently10:30
jo-erlendrickspencer3, oh, I see. Then you're using many webviews10:30
jo-erlend?10:31
jo-erlendor did I misunderstand that completely? :) *reading*10:32
rickspencer3jo-erlend, just one webkit view per window10:33
rickspencer3it's pretty easy, actually10:33
jmljo-erlend: are you doing TDD? (are you writing the tests first?)10:35
jmljo-erlend: because I find that heaps more fun than writing tests afterwards.10:36
jo-erlendjml, semi. I'm getting there. :)10:36
jmljo-erlend: heh. I know what you mean.10:37
jmljo-erlend: one of the nice things about writing tests first is that you tend to get code that's easier to re-use.10:38
jmljo-erlend: because "easy to test" and "reusable" are, roughly speaking, synonyms10:38
* jml stops raving10:39
jo-erlendrickspencer3, interesting project.10:40
rickspencer3jml, I find that when I do TDD, my APIs are way better, too10:41
rickspencer3because I write the code I want to write first, if that makes sense10:41
jmlrickspencer3: yeah.10:42
JanC_rickspencer3: do those HTML5 GUIs support a11y & such?  (Maybe you can use special stylesheets for that?)16:02
=== JanC_ is now known as JanC
rickspencer3JanC, hi16:03
rickspencer3I presume that webkit support a11y, yes16:03
rickspencer3but I have not tested it16:03
JanCwell, it supports a11y, but that's not the same as what normal GUI apps can provide AFAIK (I suppose webkit doesn't know whether some HTML/JS fragment is "a widget", or what its purpose is?)16:08
rickspencer3JanC, you ask a good question16:14
rickspencer3I'm really not certain16:14
rickspencer3I mean, I am confident you *can* make an accessible gui with HTML5, I'm just not certain how "built in" it is16:14
JanCit should be possible to have some sort of API for this sort of things, I suppose16:15
jo-erlendrickspencer3, do I understand correctly that you aim to provide a complete widget toolkit for html/css/js?16:16
rickspencer3jo-erlend, negative16:16
rickspencer3it's already done16:17
rickspencer3there are many toolkits to choose from16:17
rickspencer3I chose JQuery for myself16:17
JanCthere already is one...  Gtk+ ?  ;)16:17
JanCI haven't tried the "web" backend for Gtk though16:17
jo-erlendgtk uses canvas, doesn't it?16:17
JanCmaybe16:18
JanCprobably easiest for them to use that16:18
jo-erlendI got that impression from a libreoffice demo I saw. I don't really consider that html, though it obviously is. :)16:18
JanCit's mostly JavaScript, I suppose ☺16:18
jo-erlendrickspencer3, do you mean that jquery is comparable to gtk?16:19
jo-erlendI don't know much about that, really.16:19
rickspencer3jo-erlend, I mean that HTML5 + JQuery is a fun toolkit to use16:20
rickspencer3I suppose they are comparable in different ways16:20
jo-erlendhtml is fun. Always has been. From everything I've seen, it's not close to mature enough to replace desktop apps, and it sure isn't good enough to replace dtp. To me, it's still a homepage thing.16:21
jo-erlendsaw some interesting suggestions from Opera recently, though. It should become possible to columnize data. That would improve things radically, I think.16:22
JanCjo-erlend: "columnize"?16:24
jo-erlendyes, you take one article tag and split it up into several columns, and split the page into pages. The data itself is untouched.16:28
jo-erlendsplit the _article_ into pages of columns, I mean.16:28
jo-erlendheh, that's one of the most basic aspects of newspapers for the last few hundred years, and you still can't do it with web technologies :>16:30
jo-erlendI mean you have a screen with a width of 2560px, and the news sites still present the news in a single column 4-500px wide. It's reader hostile.16:31
jo-erlendthe web doesn't impress me a single bit, except for the value of RESTful APIs. But those are just as valuable to desktop apps as browser apps. The web should've been holographic by now! And where are the flying cars?! :)16:34
JanCyou know, Netscape 4 (and maybe earlier?) could already put text in columns...   ;)16:34
jo-erlendyes, and the mayas understood the stars... a long time ago. Isn't worth much when the fanatical antipathies are mightier than insightful creativity. Some things never change.16:38
JanCwell, I think it was removed because people didn't like reading in columns on web pages16:40
JanCof course that might be because of the implementation16:40
JanCanyway, CSS already has support for "paged media"16:41
jo-erlendyes, I know. Operas suggestion was still very interesting. Wish I had a reference on hand.16:41
JanCjo-erlend: I suppose you mean "Opera Reader" ?16:43
JanChttp://people.opera.com/howcome/2011/reader/16:43
jo-erlendthat looks like it, yes.16:45
jo-erlendI hate scrolling when I read. I want a foot pedal for next and previous -- that I can also use for guitar of course -- and I'll use my vertical 24" 1080x1920 to read one page at a time. That's absolutely perfect. :)16:49
jo-erlendthat fellow _always_ disappears when I need to chat with him. :)17:08
jo-erlendno exception.17:08
=== achuni_ is now known as achuni

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!