Options:
- # Session Start: Tue Jan 19 00:00:00 2010
- # Session Ident: #whatwg
- # [00:03] * Joins: JonathanNeal_oww (n=Jonathan@rrcs-76-79-114-213.west.biz.rr.com)
- # [00:04] <zcorpan__> ok i've checked in prev/next links to web-apps-tracker
- # [00:05] <zcorpan__> but not tested it
- # [00:06] * Quits: nattokirai (n=nattokir@y224241.dynamic.ppp.asahi-net.or.jp)
- # [00:10] * Joins: erlehmann (n=erlehman@82.113.121.7)
- # [00:10] * Joins: nattokirai (n=nattokir@y224241.dynamic.ppp.asahi-net.or.jp)
- # [00:11] * Quits: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com) ("ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [00:12] <zcorpan__> http://rebuildingtheweb.com/en/irresponsible-to-advocate-html5/
- # [00:12] * Quits: nattokirai (n=nattokir@y224241.dynamic.ppp.asahi-net.or.jp) (Client Quit)
- # [00:12] * Joins: erikvold (n=erikvold@S01060024012860e9.gv.shawcable.net)
- # [00:13] <Hixie> zcorpan__: i think that's what we call a "single-issue voter" (http://rebuildingtheweb.com/en/)
- # [00:14] <TabAtkins> Bwuh? Advocating HTML5 is irresponsible because HTMLTidy doesn't yet recognize it?
- # [00:15] <Hixie> he's an xhtml tool vendor
- # [00:15] <Lachy> his first mistake is using HTML Tidy. That has never been a good tool to encourage developers to use for general development.
- # [00:15] <Hixie> so pretty much anything we do in text/html is going to give him issues
- # [00:15] <zcorpan__> i guess those authoring tools also mangle general web content since clearly they're not parsing html in a way compatible with browsers
- # [00:15] <Hixie> not much we can do about that given the constraints we're working with
- # [00:15] <daedb> Hasn't that guy given up yet? He should just stick to XHTML and be done with it.
- # [00:16] <Lachy> HTML Tidy has limited utility in cleaning up markup from some other source, which is a complete mess when obtained. In that case, running through tidy as an initial clean up step us acceptable
- # [00:16] <foolip> oh, new blog post?
- # [00:17] <zcorpan__> i wonder how the authoring tools handle perfectly valid xhtml
- # [00:17] <zcorpan__> i guess xstandard manages
- # [00:17] <AryehGregor> Wikipedia uses Tidy.
- # [00:18] <zcorpan__> can't tidy be run with a set of parameters to make it aware of the new tags?
- # [00:18] <AryehGregor> If html5lib becomes more mature and adds a "kill invalid stuff through any means necessary" feature, it would be nice to switch to that, but that doesn't seem likely in the immediate future.
- # [00:18] <zcorpan__> not that it'll fix the doctype or <a><div> problems though
- # [00:18] <zcorpan__> or other general compat problems tidy has
- # [00:18] * Quits: nessy1 (n=Adium@131.203.140.239) ("Leaving.")
- # [00:19] <foolip> haha, he put a lot of effort into that blog post anyway
- # [00:19] <zcorpan__> i wonder why he doesn't put the effort into making an html5 aware editor
- # [00:21] * Quits: JonathanNeal (n=Jonathan@rrcs-76-79-114-213.west.biz.rr.com) (Read error: 110 (Connection timed out))
- # [00:21] <foolip> perhaps he doesn't like HTML
- # [00:21] <zcorpan__> i wonder why he doesn't put the effort into making an xhtml5 aware editor
- # [00:21] <Hixie> foolip: neither do i, but i recognise a lost cause when i see one :-)
- # [00:22] <foolip> hehe
- # [00:22] * Quits: martiin (n=kmartiin@p57AC6785.dip.t-dialin.net) (Remote closed the connection)
- # [00:23] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 54 (Connection reset by peer))
- # [00:23] <zcorpan__> where's annevk?
- # [00:24] <foolip> I think he's on vacation with arjan or something
- # [00:24] <zcorpan__> ok
- # [00:24] <Lachy> if there are any plans to add an HTML-Tidy-like feature to html5lib, or to base such a tool on it, then there are some things in the parsing algorithm that should be avoided, or at least be careful about them
- # [00:25] <Lachy> in particular, the adoption agency algorithm, that can end up creating unwanted duplicate elements just by the accidental omission of an end tag
- # [00:25] <foolip> hmmm, what should be done instead then?
- # [00:25] <Lachy> e.g. given a case like this:
- # [00:26] <Lachy> <p>Some paragraph containing <b>an unclosed b element.</p><p>Another paragraph...</p>
- # [00:27] <Lachy> The parsing algorithm says to insert a new b element into the second paragraph. But it's more likely that the actual intention is to have the b element closed somewhere before the first paragraph
- # [00:27] <Lachy> I've seen the problem occur many times in forums that allow markup, but which don't sanitise it well. An unclosed link or b element, or something, can screw up the rest of the page
- # [00:28] <zcorpan__> inducing intention and moving away from the parsing algorithm seems like moving into Tidy land of incompatibility
- # [00:28] <zcorpan__> <p>foo<b>bar<b>baz</p> - there the second b tag is probably intended to be an end tag
- # [00:29] <foolip> perhaps sanitize comments/posts one-by-one rather than sanitizing as the last step before output?
- # [00:29] <zcorpan__> and in <p>foo/p> there's probably a < missing
- # [00:29] * Quits: ttepasse (n=ttepas--@dslb-088-077-082-095.pools.arcor-ip.net) ("404")
- # [00:30] * Joins: starjive (i=beos@81-233-16-19-no30.tbcn.telia.com)
- # [00:30] <zcorpan__> the second example is even valid html
- # [00:30] <Lachy> zcorpan__, yeah, that's true too. That case might also be detectable, but I'm sure there are limits to what can reasonbly be done. But the goal of a tidy program should be to make a best effort at giving a reasonble result, and not give something that is wildly unexpected and/or require significant cleanup afterwards
- # [00:32] <Lachy> in the case of an unclosed inline element, choosing not to reopen it again is the least detrimental choice that won't require too much author intervention to clean up again. But inserting a bunch of new elements into subsequent paragraphs will take more time for the author to then go and strip them
- # [00:32] * Quits: erikvold (n=erikvold@S01060024012860e9.gv.shawcable.net) ("me so sleepy")
- # [00:32] <AryehGregor> Lachy, as long as the output is parsed by browsers the same as the input would have been, is it really the sanitizer's problem?
- # [00:32] * JonathanNeal_oww is now known as JonathanNeal
- # [00:33] <Lachy> AryehGregor, if the sanitizer is supposed to help developers, then it should give a better result than what browsers are forced to do for compatibility reasons
- # [00:33] <AryehGregor> Lachy, not if it's being automatically run on every page save or whatever. If you're planning on editing the output manually, that's different.
- # [00:33] <Lachy> huh? I think you might be considering a different use case from what I am.
- # [00:34] * Quits: workmad3 (n=workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote closed the connection)
- # [00:34] <AryehGregor> Possibly.
- # [00:34] * Quits: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at) (Client Quit)
- # [00:34] <AryehGregor> Wikipedia runs Tidy on the user-submitted content in every page before serving it.
- # [00:34] <AryehGregor> It's run as part of the wikitext parsing, toward the end.
- # [00:35] <AryehGregor> Basically just for the sake of validating.
- # [00:35] <Lachy> my use case is an author writing some content in a CMS, and submits it. The CMS then checks the input and finds unclosed elements. It could either point out the error and return the markup unchanged for the user to continue editing, or ...
- # [00:35] <AryehGregor> Or just silently fix it and publish.
- # [00:35] <Lachy> it could offer to clean it up in a sensible way
- # [00:35] <AryehGregor> "Offer" is bad UI, most authors don't care, just do it.
- # [00:36] <Lachy> yeah, whatever
- # [00:36] <Lachy> whether it does it automatically or as a user pref or whatever is irrelevant here.
- # [00:36] <zcorpan__> use wysiwyg and hide the markup from the user
- # [00:36] <AryehGregor> If only wikitext were simple enough to do sane WYSIWYG. :(
- # [00:37] <Lachy> not even HTML is simple enough in all cases to do sane wysiwig
- # [00:37] <AryehGregor> At least it's more likely to round-trip without massive changes throughout the source code.
- # [00:40] <Lachy> damn, wikipedia gets the clean up wrong :-( http://en.wikipedia.org/wiki/Wikipedia:Sandbox
- # [00:41] <Lachy> wow. It also leaves the source text unaltered, rather than fixing the error
- # [00:41] <zcorpan__> <p>Some paragraph containing <b>an unclosed b element.</b></p>
- # [00:41] <zcorpan__> <p><b>Another paragraph...</b></p>
- # [00:42] <zcorpan__> ?
- # [00:42] <Lachy> yeah, that's the wrong way to clean it up. It should be nice to the author and not put the b in the second paragraph
- # [00:42] <zcorpan__> what if the author wanted the second paragraph to be bold?
- # [00:42] <Lachy> but I mean, click the edit link and see the source wiki text. I didn't mean in the generated page source
- # [00:43] <zcorpan__> it would be annoying to fix mistakes if the source was tampered with
- # [00:43] <Lachy> then they can put a b in the second paragraph manually. An accidentally unclosed element is more likeliy than an intentional mis-nested element
- # [00:44] <AryehGregor> Lachy, users mostly use wikitext for bold, which behaves as you describe.
- # [00:44] <AryehGregor> '''Bold text\n\nNo longer bold
- # [00:44] <Lachy> yeah, that's the sensible approach
- # [00:44] <AryehGregor> becomes: <p><b>Bold text</b></p><p>No longer bold</p>
- # [00:44] <AryehGregor> We don't want to tamper with the source text.
- # [00:44] <AryehGregor> That way madness lies.
- # [00:45] <AryehGregor> Because we'd have to parse it reliably, and wikitext is so complicated that we can't really parse it, we just apply a bunch of magical transformations that turn it into HTML.
- # [00:45] <Lachy> sure, with wikitext being as haphazardly designed as it is, I'm sure trying to automate cleaning of it would be a total nightmare
- # [00:46] <AryehGregor> Anything related to wikitext is a total nightmare.
- # [00:46] <AryehGregor> It sounded like a great idea, but it was one of the worst mistakes wikis made.
- # [00:46] <Lachy> I hate wikitext. I wish it was never invented.
- # [00:46] <AryehGregor> The idea was reasonable in the era before WYSIWYG editors were reliably available for the web.
- # [00:46] <AryehGregor> It's a lot easier to edit than raw HTML.
- # [00:46] <Lachy> surely, there would be a way to migrate away from it
- # [00:46] <AryehGregor> But now it's become counterproductive.
- # [00:47] <AryehGregor> Do you have any idea how many times this has been discussed? :)
- # [00:47] <Lachy> probably many times :-)
- # [00:47] <AryehGregor> It would require an enormous amount of work to migrate away.
- # [00:47] <AryehGregor> First of all, we'd need to invent some new language with all the same features, and be able to convert wikitext to that.
- # [00:47] <TabAtkins> I think very simple forms of wikitext, such as Markdown, are still a great idea. Going beyond should just be normal HTML, though.
- # [00:47] <Lachy> but generating HTML markup from the wikitext is the easy part. That's already done. You would just need to have a system that spends a lot of time generating and storing the HTML markup
- # [00:48] <AryehGregor> No, because wikitext contains tons of info beyond the raw HTML.
- # [00:48] <AryehGregor> Like template calls, for instance.
- # [00:48] <AryehGregor> The templates are substituted into the wikitext before parsing.
- # [00:48] <AryehGregor> We'd have to make up our own syntax one way or another, it can't be pure HTML.
- # [00:48] <Lachy> yeah, those have to be dealt with in a special way
- # [00:48] <AryehGregor> Also other features like that, categories and such.
- # [00:49] <AryehGregor> Which, by the way, can be added via template, so it's not enough to just edit them separately like most software does.
- # [00:49] <Lachy> but it could be based more on HTML markup, rather than crazy random wikitext syntax
- # [00:49] <AryehGregor> Yes, we'd probably have to do something HTML-ish. Except that would probably mean using XML, which would be seriously painful to manually edit.
- # [00:50] <AryehGregor> And not everyone would want to use WYSIWYG
- # [00:50] <AryehGregor> .
- # [00:50] <Lachy> editing HTML in a browser is only a pain because it lacks any kind of useful editing features, like syntax highlighting, autocompletion, etc.
- # [00:51] * Joins: aboodman_ (n=aboodman@216.239.45.130)
- # [00:51] <AryehGregor> I said XML, not HTML. :)
- # [00:51] <AryehGregor> SYNTAX ERROR!
- # [00:51] <AryehGregor> (on line 479)
- # [00:52] <AryehGregor> But anyway, it does lack those features, so . . .
- # [00:52] <AryehGregor> (well, syntax errors aren't so bad with syntax highlighting, I guess)
- # [00:53] <AryehGregor> Man, more open-source projects need cute mascots: http://www.bugzilla.org/img/buggie.png
- # [00:53] <AryehGregor> Also: http://llvm.org/img/DragonMedium.png
- # [00:53] * Joins: erikvold (n=erikvold@S01060024012860e9.gv.shawcable.net)
- # [00:54] <AryehGregor> MediaWiki just has a stupid flower with square brackets around it. :(
- # [00:55] * Quits: aboodman_ (n=aboodman@216.239.45.130) (Client Quit)
- # [01:01] * Joins: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [01:02] * Quits: Lachy (n=Lachlan@85.196.122.246) ("Leaving")
- # [01:02] * Joins: Lachy (n=Lachlan@london.perfect-privacy.com)
- # [01:05] <AryehGregor> Argh, I've accomplished nothing today except arguing with people.
- # [01:06] <Hixie> you say that like that's a bad thing!
- # [01:07] <Hixie> that's my life you're dismissing like that there! :-P
- # [01:07] <AryehGregor> You also edit specs from time to time, I've heard?
- # [01:07] <Hixie> yeah but that's just the output of arguments :-P
- # [01:08] * Joins: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
- # [01:12] <AryehGregor> I wouldn't mind if I had *gotten* anywhere in the arguments.
- # [01:13] <foolip> AryehGregor: do you understand the RDFa validation points?
- # [01:13] <AryehGregor> foolip, what
- # [01:13] <AryehGregor> ?
- # [01:13] <foolip> that Manu is making
- # [01:13] <AryehGregor> Possibly not.
- # [01:13] <foolip> me neither, will ask for clarification so that we can steal any good ideas
- # [01:13] <AryehGregor> I'm assuming that RDFa has some automatic validation mechanism like DTDs are to XML, except maybe more powerful.
- # [01:14] <AryehGregor> So you have some language where you can see "this attribute must have only these values" or whatnot.
- # [01:14] <foolip> perhaps it's just RDFS
- # [01:14] <foolip> that would make sense I guess
- # [01:15] <AryehGregor> On a random note: who decided that GNOME Mines should be classified under "Games > Logic"? Someone who never played Minesweeper in their life?
- # [01:15] <Philip`> Makes sense to me, since it's almost entirely logic
- # [01:15] <Philip`> other than random guessing at the start
- # [01:16] <GarethAdams|Home> it's not random guessing at the start really
- # [01:16] <AryehGregor> Except for the fact that if you actually play it, you see the right spots by reflex and never have to apply logic?
- # [01:16] <GarethAdams|Home> the first click should be guaranteed not to be a mine
- # [01:16] <GarethAdams|Home> by reflex?
- # [01:16] <Lachy> AryehGregor, Minesweeper is entirely logic based.
- # [01:16] <AryehGregor> More or less.
- # [01:16] <Philip`> The second click often has to be a random guess :-)
- # [01:17] <AryehGregor> Philip`, not in the GNOME version. The first click is always guaranteed to have no adjacent mines, so it reveals a whole area.
- # [01:17] <GarethAdams|Home> AryehGregor: you just mean, you can work it out by using the visible information?
- # [01:17] <GarethAdams|Home> AryehGregor: sounds logical to me
- # [01:17] <Philip`> AryehGregor: That's just applying pattern-recognition to determine the logical solution without having to recompute the logic every time
- # [01:18] <Lachy> the windows version is not guaranteed to have no adjacent minds. Often, you'll click a square that just gives a 1, making the next click a random guess. Other times, you'll get a large area cleared
- # [01:18] <AryehGregor> a) On many/most large boards, you end up having to guess at some point late in the game.
- # [01:18] <Lachy> I normally hit the four corners first and then proceed
- # [01:18] <TabAtkins> AryehGregor: With a sufficiently high density of mines, logic *is* requires at some points.
- # [01:18] <TabAtkins> And yes, at least one guess becomes required in many boards.
- # [01:18] <AryehGregor> b) It ends up being mostly pattern-recognition, with only a few small spots of logic required now and again.
- # [01:18] <Philip`> I normally just edit C:\WINDOWS\WINMINE.INI to get the top score
- # [01:18] * Lachy wonders if there's a Minesweeper for Mac
- # [01:18] <TabAtkins> True.
- # [01:19] <Philip`> (This was quite a while ago, though)
- # [01:19] <GarethAdams|Home> pattern recognition isn't logical?
- # [01:19] <AryehGregor> c) Any decent player will win every board unless forced to guess. The only challenge is getting the fastest time.
- # [01:19] <GarethAdams|Home> it might be simple, but it's still logical
- # [01:19] <AryehGregor> GarethAdams|Home, by that interpretation, every game could be put into "Logic".
- # [01:19] <GarethAdams|Home> AryehGregor: poker isn't
- # [01:19] <TabAtkins> I'm not sure how (c) is a point against it being in the Logic category.
- # [01:19] <Philip`> AryehGregor: Pinball couldn't
- # [01:20] <AryehGregor> TabAtkins, because the challenge in the game has nothing to do with logic. It's a twitch-based game.
- # [01:20] <GarethAdams|Home> snakes and ladders isn't
- # [01:20] * Joins: nessy (n=Adium@239.140.LCA2010.fx.net.nz)
- # [01:20] * foolip feels sorry for readers of Wikitech
- # [01:20] * Quits: danja__ (n=danja@host193-252-static.12-87-b.business.telecomitalia.it) (Read error: 104 (Connection reset by peer))
- # [01:20] <AryehGregor> GarethAdams|Home, sure poker is, you have to logically evaluate your opponent's reaction to various possible options of facial expression.
- # [01:20] <TabAtkins> Until you build your pattern recognition skills, logic is certainly required to deduce some locations.
- # [01:21] <Philip`> foolip: I'd assume people who live in proximity to wikis are quite used to loud arguments by now
- # [01:21] <AryehGregor> Philip`, sure it is, you have to logically compute the physical trajectory of the pinball given your timing in hitting the flipper.
- # [01:21] <TabAtkins> And even then, there are some configurations that I know I've run into that aren't pattern-recognizable without an absurdly large (for a human) pattern database.
- # [01:21] <foolip> Philip`: hehe, possibly
- # [01:21] <Philip`> AryehGregor: You appear to be using "logical" as a completely meaningless term
- # [01:22] <AryehGregor> GarethAdams|Home, snakes and ladders . . . you have to . . . logically . . . figure out how to rig the die appropriately.
- # [01:22] <GarethAdams|Home> AryehGregor: there's no mapping of facial expression to poker hand
- # [01:22] <Philip`> or at least I can't work out a meaning that would apply in that situation
- # [01:22] <GarethAdams|Home> AryehGregor: so it;s not something you can logically deduce
- # [01:22] <AryehGregor> Philip`, well, yes, that's my point, practically anything is logical if "pattern recognition" counts as logical.
- # [01:22] <AryehGregor> Anyway, the point is, the game is reflex-based, it's not a puzzle game.
- # [01:23] <Philip`> It's recognising logical patterns
- # [01:23] <GarethAdams|Home> AryehGregor: getting a high score is reflex based. the game itself is logical
- # [01:23] <TabAtkins> I've had situations where I've had to sit down and say "Okay, that 3 implies that there are at least two mines in this area, which is covered by a 5, which already has a mine marked, and also partially overlaps the area of this 2…"
- # [01:23] <Philip`> and not e.g. recognising cats vs dogs
- # [01:26] <AryehGregor> TabAtkins, yes, once in a while. But it does not belong in the same category as, say, sudoku.
- # [01:26] <AryehGregor> (not that I play sudoku)
- # [01:26] <AryehGregor> Philip`, define "logical pattern".
- # [01:26] <TabAtkins> Pfah. Sudoku is nothing more than pattern-recognition.
- # [01:26] <Philip`> AryehGregor: A pattern a compute can easily deduce
- # [01:26] <TabAtkins> There are a handful of very simple patterns to apply to the board to solve it.
- # [01:27] <Philip`> AryehGregor: Sudoku is reflex-based pattern recognition if you're good at it :-p
- # [01:27] <GarethAdams|Home> sudoku is a reflex game
- # [01:27] <AryehGregor> Okay, so let's just agree that "Logic" is a stupid category and be done with it.
- # [01:28] <TabAtkins> I'd rather agree that your use of "logic" is wrong and bad. ^_^
- # [01:28] <TabAtkins> Anyway, off to play video games! Wee!
- # [01:28] <Philip`> I'll happily agree that Logic is a useful category that normal people would understand as being a sensible way to distinguish minesweeper and pinball
- # [01:28] <AryehGregor> Feh.
- # [01:29] * Philip` notes that AryehGregor is continuing his theme of arguing with people and getting nowhere ;-)
- # [01:29] <AryehGregor> On a different note, I commend the GNOME developers for managing to make a Minesweeper implementation that's visibly slow and unresponsive.
- # [01:29] <AryehGregor> Philip`, :(
- # [01:29] <GarethAdams|Home> putting games into categories is just pattern recognition
- # [01:29] <Philip`> AryehGregor: Maybe you need a faster GPU
- # [01:30] <Philip`> It's quite a graphically intensive game, particularly with large grids
- # [01:30] <AryehGregor> Also, GNOME Calculator takes about as long to start up as Chrome.
- # [01:30] <AryehGregor> That's with my tabs from last time remembered.
- # [01:30] <AryehGregor> srsly wtf.
- # [01:30] <Philip`> Are these all Mono applications?
- # [01:30] <AryehGregor> I doubt it.
- # [01:31] <Philip`> It's impressive if they make it slow without pulling in a giant framework like that
- # [01:32] <AryehGregor> I read in a Chromium developer discussion that it's because it checks tons of paths for icons or something.
- # [01:33] * Joins: wakaba_ (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [01:34] <AryehGregor> $ strace gcalctool 2>&1 | grep ENOENT | wc -l
- # [01:34] <AryehGregor> 1260
- # [01:35] <AryehGregor> That's not it, though: $ strace /opt/google/chrome/google-chrome --disable-plugins 2>&1 | grep ENOENT | wc -l
- # [01:35] <AryehGregor> 1791
- # [01:35] <AryehGregor> Oh well.
- # [01:35] * AryehGregor goes to play Baldur's Gate 2
- # [01:42] * Quits: archtech (i=stanv@83.228.56.37) (Client Quit)
- # [01:44] * Philip` saved a couple of seconds from his game's startup time by moving some code (FAM directory watches) into a separate thread
- # [01:44] <Philip`> Synchronous IO is really painful :-(
- # [01:44] * cardona507 digs into projecteuler.net
- # [01:53] * Hixie is in a customer support "chat" with t-mobile when the support person just wrote "I can really appreciate the concern in needing to get this taken care of for you. I would feel the same way if this were to happen to me,Customer Name."
- # [01:53] <AryehGregor> Haha.
- # [01:53] <Lachy> haha
- # [01:54] <cardona507> no freakin way - haha
- # [01:54] <Hixie> and apparently she can only add $35 to my account per day
- # [01:54] <Hixie> (!)
- # [01:54] <Hixie> so since the error they made was $67, it'll take two days
- # [01:54] <Hixie> (!)
- # [01:54] <Hixie> hate to know what happens if they lose a $3500 payment
- # [01:56] <AryehGregor> That's what you get when there are so few sellers and such high transaction costs to switching.
- # [01:57] <AryehGregor> (switching providers, I mean)
- # [01:58] <Hixie> google voice ftw
- # [01:58] * Joins: mikekelly (i=mikek@s3x0r.biz)
- # [01:58] <Hixie> though to be fair the high transaction cost in switching appears to be because becoming a customer is SO DAMN HARD
- # [01:58] <Hixie> and not so much the phone number issue
- # [01:59] <AryehGregor> Don't people usually buy a phone with a plan and automatically become a customer?
- # [01:59] <mikekelly> annevk's open ID page includes a stylesheet with the Link header - could javascript be included the same way?
- # [02:00] <zcorpan__> mikekelly: no
- # [02:00] <mikekelly> is that something that's been rejecteed?
- # [02:01] <zcorpan__> <link rel=script> has been proposed and rejected; i don't think anyone has proposed including script from http headers
- # [02:01] <zcorpan__> that seems like a security nightmare
- # [02:01] <mikekelly> why is that?
- # [02:02] <mikekelly> just curious
- # [02:02] <mikekelly> why does that seem like it woul dbe asecurity nightmare I mean :)
- # [02:02] <Philip`> (By "just curious" I assume you mean you'll spend the next two hours arguing for the feature? :-) )
- # [02:02] <mikekelly> ppppretty much.
- # [02:03] <zcorpan__> injecting http headers somehow (maybe using a linebreak in x-forwards-for)
- # [02:04] <Hixie> AryehGregor: i bought a sim card with a plan and they told me it had an error, then tried to buy a sim card with a plan again and they didn't credit my account with the amount i paid
- # [02:04] <zcorpan__> nn
- # [02:04] <AryehGregor> Ah.
- # [02:04] <Hixie> nn
- # [02:04] <mikekelly> if you're injecting headers could you not just modify the body?
- # [02:04] <zcorpan__> mikekelly: maybe
- # [02:04] * Quits: zcorpan__ (n=zcorpan@91-103-36-81.dynamic.thecloud.net)
- # [02:05] <mikekelly> lol.
- # [02:05] <mikekelly> :D
- # [02:19] * Quits: hoodow (n=hoodow@2001:41d0:1:f5e5:0:0:0:666) (Read error: 60 (Operation timed out))
- # [02:20] * GPH-Laptop is now known as GPHemsley
- # [02:25] <Lachy> Hixie, seriously, what is wrong with the telco's on the US?! They seem to have so many crazy ways of operating
- # [02:26] <Hixie> yeah apparently being a bandwidth provider in the US requires you to be incompetent
- # [02:26] <Hixie> it's probably an FCC regulation or something
- # [02:28] <Lachy> I suppose I can't really laugh. I've had enough trouble with Apple support recently, and the guy on the phone today seemed totally uninformed about the issues.
- # [02:29] <foolip> Lachy: Manu says hi to your arm
- # [02:30] <foolip> not really, he says "PS: Tell Lachy that I hope his arm feels better soon. :)"
- # [02:30] <Lachy> my Time Capsule died, and the result of the conversation ended up being that I have a choice: 1. Get a new Time Capsule and lose all the data on it; or 2. Open it up, pull out the disk and put it into a new enclosure, but lose the warranty
- # [02:30] <Lachy> oh, that's nice of him, I guess.
- # [02:30] <Lachy> was this in an e-mail discussion, or some private chat between you two?
- # [02:30] <foolip> in the Wikitech thread
- # [02:33] <Lachy> ok, I'll find it later as I read through it.
- # [02:33] <foolip> yep
- # [02:36] <Hixie> Lachy: it's a backup, why does it matter what's on it?
- # [02:36] <Hixie> (also, dude, get a drobo. anything relying on a single disk is just silly at this point.)
- # [02:36] * Quits: ap (n=ap@17.246.19.5)
- # [02:37] <AryehGregor> Drobo?
- # [02:38] * Joins: hoodow (n=hoodow@2001:41d0:1:f5e5:0:0:0:666)
- # [02:39] <Hixie> it's a hardware enclosure for 4 hard disks that uses a proprietary raid-like solution for redundancy, in which you can hot-swap drives and expand capacity by adding more drives or increasing the size of any of the drives.
- # [02:39] <Lachy> Hixie, because I haven't been using it just for time machine backups
- # [02:39] <Hixie> oh.
- # [02:40] <Hixie> well then you're not using it per apple's recommendations. :-P
- # [02:40] <foolip> then it truly is a time machine, it brings you back to the state of your last full backup!
- # [02:40] <Hixie> apple's stuff only has great tech support so long as you follow steve's vision
- # [02:40] <Lachy> yeah, well. it doesn't matter. I'll just get a cheap drive enclosure, and I still have a usable 1TB disk
- # [02:40] <Hixie> (if you deviate from the Path, things go poorly)
- # [02:40] <Lachy> so i didn't lose much, since I wasn't really using the Time Capsule for its airport functions
- # [02:41] <Hixie> ah
- # [02:41] <Lachy> also, I might be able to get the power supply fixed
- # [02:41] <AryehGregor> Hixie, why not just use software RAID?
- # [02:42] <Hixie> AryehGregor: well, it requires software support, and it doesn't let you mix-and-match drives or hot-swap them while the machine is running
- # [02:42] <Lachy> AryehGregor, because the Drobo is so much better
- # [02:42] <Hixie> (indeed, while the disk is in use)
- # [02:42] <Lachy> I have one too
- # [02:42] <AryehGregor> Hixie, software RAID lets you mix-and-match drives and hot-swap them while the machine is running.
- # [02:43] <AryehGregor> At least, good software RAID (by which I mean Linux).
- # [02:43] <Lachy> AryehGregor, having a dedicated hardware raid handle it is useful since it doesn't waste CPU resources on managing the disks
- # [02:44] <AryehGregor> I have one RAID10 partition on two 500G disks, and one RAID1 on an 80G SSD and a 160G normal hard drive, set to read only from the SSD and delay writes to the hard drive.
- # [02:44] <AryehGregor> Lachy, CPU overhead for RAID is typically trivial, especially if it's not RAID5 or 6.
- # [02:44] <AryehGregor> I can hot-swap drives using regular old SATA hotplug.
- # [02:44] <Lachy> Raid 5 or 6 are the better alternatives though
- # [02:44] <AryehGregor> Only if you really need the space.
- # [02:45] <Lachy> I do need the space
- # [02:45] <AryehGregor> Also, only useful if you have three or more drives.
- # [02:45] <AryehGregor> Well, for RAID5/6 the CPU usage is still typically not much at all.
- # [02:45] <Lachy> I have so many terrabytes of DVD rips and downloaded shows, I can't waste any of it
- # [02:46] <AryehGregor> Can you put your root filesystem on this Drobo thing? What interface does it use, eSATA or something?
- # [02:46] <Lachy> it also depends what you're using it for. I have a RAID 1 and a RAID 0 setup on in PC, with 2 disks each, which. One for the system, one for other user data.
- # [02:47] <Lachy> s/on in/in my/
- # [02:48] <AryehGregor> RAID0 is lame. I hate the thought of downtime just because some stupid disk failed.
- # [02:48] <AryehGregor> (even for my desktop, yes)
- # [02:48] <Lachy> but I can't possibly have a RAID within my MacBook Pro or iMac, since their hardware just doesn't support it
- # [02:49] <AryehGregor> What? You can use software RAID on any hardware.
- # [02:49] <AryehGregor> At least, if you use a decent OS.
- # [02:49] <AryehGregor> Er, unless you only have one disk, I guess.
- # [02:49] <Lachy> RAID0 is good if you just care about the performance, rather than worrying about drive failure
- # [02:50] <AryehGregor> Wikipedia uses/used RAID0 for all its database servers!
- # [02:51] <AryehGregor> But they're all replicas, so . . . worst that happens is the site goes read-only for a while until a sysadmin promotes a slave to master, if the master fails.
- # [02:51] <Hixie> AryehGregor: i guess you do the software raid with some sort of external disk enclosure?
- # [02:51] <Hixie> AryehGregor: or...?
- # [02:51] <AryehGregor> Hixie, no, I just open up my computer and replace the drives.
- # [02:51] <AryehGregor> SATA hotplug works fine for internal drives.
- # [02:51] <Lachy> I'd still need some external enclosure to hold all the disks, so I may as well pick an external enclosure that handles all the raid stuff transparently for me, regardless of which machine I'm accessing it from
- # [02:51] <AryehGregor> Just don't brush against the fans, they can sting.
- # [02:51] <Hixie> AryehGregor: my two drobos are connected to a mac mini. The mac mini is about the size of one of the 7 disks.
- # [02:51] <Hixie> so they ain't gonna fit
- # [02:52] <AryehGregor> Mac Minis are laptops, the size of a disk?
- # [02:52] * AryehGregor only uses a desktop, currently. Would probably not put anything on a laptop that he cared about.
- # [02:52] <Lachy> no, Mac Mini's about about 20cm, about the size of an Airport Extreme square Macs
- # [02:53] <Lachy> ah, I messed that sentence up
- # [02:53] <Lachy> no, Mac Mini's about about 20cm square Macs, about the size of an Airport Extreme
- # [02:53] <AryehGregor> 20 cm is 8 in, so that's . . . small. But more than twice as wide as a disk.
- # [02:53] <Hixie> AryehGregor: i was exaggerating a bit :-)
- # [02:53] <Lachy> http://www.apple.com/macmini/
- # [02:54] * Joins: othermaciej (n=mjs@17.246.19.196)
- # [02:54] <AryehGregor> Okay, just checking.
- # [02:54] <Lachy> Height:
- # [02:54] <Lachy> 2 inches (5.08 cm)
- # [02:54] <Lachy> Width:
- # [02:54] <Lachy> 6.5 inches (16.51 cm)
- # [02:54] <Lachy> Depth:
- # [02:54] <Lachy> 6.5 inches (16.51 cm)
- # [02:54] <Lachy> Weight:
- # [02:54] <Lachy> 2.9 pounds (1.31 kg)1
- # [02:54] <othermaciej> good evening
- # [02:54] * AryehGregor doesn't know anything about Mac, except they're shiny and have bash and OpenSSH preinstalled these days.
- # [02:54] <othermaciej> very shiny!
- # [02:55] <AryehGregor> Give me an Internet-connected computer with SSH, and it'll do, at worst I can SSH into my desktop to do any real work.
- # [02:55] <AryehGregor> Or one of my servers.
- # [02:55] * AryehGregor hates using Windows on public computers somewhat more than Mac for this reason: no real command line.
- # [02:57] <Lachy> windows machines have DOS and telnet. What more would you need?
- # [02:57] * Lachy ducks
- # [02:59] <AryehGregor> They don't have DOS. Do you mean cmd.exe?
- # [02:59] <Hixie> AryehGregor: that's what i always do. The only apps I have running on this mac right now are Terminal with SSH sessions, Chrome for the Web, and a VNC client.
- # [02:59] <Hixie> (i use vnc to control itunes running on the aforementioned mac mini which acts as my tv)
- # [03:00] <AryehGregor> Hixie, hah. So you do all your work on servers, or you have a desktop somewhere you're SSHd to?
- # [03:00] <Hixie> most of my work is done in emacs and pine on hixie.ch (aka whatwg.org)
- # [03:00] <AryehGregor> When I'm at school I generally do assignments with vim and pdflatex remotely.
- # [03:00] <AryehGregor> (so actually on my desktop)
- # [03:00] <Lachy> AryehGregor, yes, of course. It's still supports the same old DOS commands
- # [03:00] <AryehGregor> Lachy, DOS is the name of an OS, not a command line.
- # [03:01] <Lachy> well, I was using the term loosely
- # [03:02] <AryehGregor> That's like calling an elephant a hippopotamus because they're both big and gray.
- # [03:03] <foolip> what is the name of the shell used in DOS?
- # [03:03] <JonathanNeal> That's like calling a hippopotamus a Dorian.
- # [03:03] <Lachy> geez. No need to make such a big deal out of the terminology.
- # [03:04] <AryehGregor> cmd.exe.
- # [03:04] <AryehGregor> I think.
- # [03:04] * Joins: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp)
- # [03:04] <AryehGregor> Assuming it had a name, back in the day.
- # [03:04] <Lachy> foolip, I don't think it has a separate name. It's easiest to just call it the dos shell. AryehGregor, that's just the name of the executable
- # [03:04] <AryehGregor> "DOS shell" is probably right, yeah.
- # [03:05] <AryehGregor> Lachy, c'mon, this is a software standards channel, you expect to get away with conflating a shell with an OS?
- # [03:05] <Lachy> yes, I do
- # [03:06] <AryehGregor> Rats. Foiled.
- # [03:06] <Lachy> I think I still have a copy of DOS 5 lying around, though probably back in Aus. I wonder if it still works, or if the floppy has given up.
- # [03:12] * Quits: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [03:12] * Joins: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp)
- # [03:15] <AryehGregor> I would hate Windows so much less if it had bash and all the standard GNU utilities installed by default.
- # [03:15] <AryehGregor> And if it had some equivalent to apt-get.
- # [03:15] <AryehGregor> . . . and if it were Linux, I guess.
- # [03:16] <NickYoung> the windows equivalent to apt-get would require a credit card number as a cmd line argument ;)
- # [03:16] * Joins: archtech (i=stanv@83.228.56.37)
- # [03:17] <AryehGregor> :/
- # [03:17] * Quits: archtech (i=stanv@83.228.56.37) (Remote closed the connection)
- # [03:17] <AryehGregor> I read the FAQ for Intel's SSD cleaner program thing recently.
- # [03:18] <AryehGregor> Last question: "Q: Will there be a Linux version available? A: No, we're just going to get this functionality built into the stock kernel."
- # [03:18] <AryehGregor> That's so totally representative of Windows vs. Linux. Windows: install some dubious third-party program to do anything, probably containing malware or at least nagware, unless it costs money. Linux: works out of the box (if at all, admittedly).
- # [03:19] <AryehGregor> My father was impressed when he plugged in his iPod to a Linux laptop and it popped up an iTunes imitation, preinstalled.
- # [03:24] * Quits: nessy (n=Adium@239.140.LCA2010.fx.net.nz) ("Leaving.")
- # [03:24] <Lachy> apt-get has such an aweful UI
- # [03:24] <Lachy> *awful
- # [03:25] <AryehGregor> In what way?
- # [03:25] <Lachy> well, it's a command line, for starters. And the GUIs I've seen for it have not been designed for user friendliness
- # [03:26] <Lachy> I think the iTunes AppStore model should be adopted for computer software, except without the DRM
- # [03:27] <AryehGregor> The Ubuntu Software Center is fairly user-friendly.
- # [03:27] <AryehGregor> So was their old one, Add/Remove Applications.
- # [03:27] <AryehGregor> Of course you can't add/remove arbitrary packages with those, you have to use Synaptic for that, which is pretty awful.
- # [03:27] <Lachy> maybe they've improved it since I last tried ubuntu a couple of years ago
- # [03:28] <Lachy> but I still hate ubuntu, since it's so ugly and gets even the most basic UI things wrong
- # [03:28] <AryehGregor> The Software Center is new in 9.10. They plan to improve and expand it in the future to be a single central well-designed package management GUI.
- # [03:28] <AryehGregor> You mean compared to other Linux distros, or compared to Mac/Windows?
- # [03:29] <Lachy> well, compared to other linux distros, it's not so bad. But compared with Mac and Windows, it's horrible to use
- # [03:30] <AryehGregor> I don't use Mac much, but it seems only slightly worse than Windows if you stick to very common tasks. If you stray off the beaten path, though, you very quickly end up at a command line.
- # [03:31] <AryehGregor> I'm curious to know what particular things you had in mind, though.
- # [03:31] <Lachy> it's equivaelent to Windows Explorer or Finder (whatever it's called in Linux) was really bad, since it had no simple tree view pane (I even have this complaint about Mac, but at least column view is acceptable)
- # [03:31] <AryehGregor> This is where I start saying "Oh, I dunno, I always use the command line for that."
- # [03:32] <Lachy> right. Being forced to use the command line for even simple file system navigation is a pain
- # [03:32] <AryehGregor> I'm not even sure what a tree view is. I can't recall ever using that on Explorer.
- # [03:32] <AryehGregor> In Explorer. Windows. You know.
- # [03:32] <AryehGregor> (BTW, the GNOME file manager is Nautilus, KDE's is Konqueror, Xfce's is Thunar, . . .)
- # [03:32] * JohnResi1 is now known as JOhnResig
- # [03:32] <Lachy> Tree View is the left column http://www.enriva.com/images/screenshots/windows_explorer.gif
- # [03:32] * JOhnResig is now known as JohnREsig
- # [03:32] <AryehGregor> Oh, that.
- # [03:33] <AryehGregor> I'm not sure I ever used that in my life on Windows.
- # [03:33] * JohnREsig is now known as JohnResig
- # [03:33] <Lachy> that's the most efficient way to navigate around in Windows Explorer.
- # [03:33] <AryehGregor> Konqueror has a column-view thingie that seems to look vaguely like I remember Finder looking like.
- # [03:34] <AryehGregor> Although I don't know, since I rarely use Mac.
- # [03:34] <AryehGregor> Aha, thunar has what you want.
- # [03:35] <Lachy> another thing I hated was the mouse drivers sucked. No matter how I adjusted the speed, it was never right. It was always either too slow or too fast. It seemed to lack the intelligence that the Windows drivers have
- # [03:35] <AryehGregor> GNOME usually avoids giving you options like tree view vs. normal view.
- # [03:35] <AryehGregor> Really? Odd. Never noticed that.
- # [03:35] <AryehGregor> http://thunar.xfce.org/images/filewindow-6.png
- # [03:36] <Lachy> perhaps your used to the inferior mouse driving. Most people don't adjust their mice speed anyway and put up with the RSI-inducing defaults.
- # [03:36] <AryehGregor> It seems the same as Windows, anyway.
- # [03:36] <Lachy> well, that's an improvent. But still ugly as hell
- # [03:36] <Lachy> *improvement
- # [03:37] * karlcow using keyboard to navigate most of the time in Mac OS X finder.
- # [03:37] <Lachy> the font is terribly large and the letter spacing is too much.
- # [03:37] <AryehGregor> Heh, I guess everyone has different preferences. I don't care much about aesthetics, and am happy with command lines.
- # [03:38] <Lachy> I don't mind command lines to do some things. But i can't possibly handle doing everything in command lines
- # [03:39] <AryehGregor> I use GUIs for IRC and web browsing, that's it. I do basically everything else by command line.
- # [03:39] <AryehGregor> Well, a few other random things I also use GUIs for, like FTP.
- # [03:40] <karlcow> a lot about the UI prefs depends on habits.
- # [03:40] <Lachy> I used to use a GUI for FTP stuff. But since there are no good FTP clients for Mac, I mostly just use scp and ssh
- # [03:40] <AryehGregor> I do that too, except when I have to deal with web hosts where I only have FTP access.
- # [03:41] <Lachy> I don't deal with web hosts that don't offer shell access any more
- # [03:42] <karlcow> Lachy: did you try the finder for ftp?
- # [03:42] <AryehGregor> I don't except for my synagogue's website, which I manage.
- # [03:42] <AryehGregor> I tried Nautilus for FTP, but it didn't work well, can't remember the details.
- # [03:43] <AryehGregor> I could probably just find a command that syncs files over FTP, like scp for FTP, with some kind of login caching. Then I wouldn't have a use for Filezilla.
- # [03:44] <othermaciej> I wonder if any of my old code is still in Nautilus
- # [03:45] <AryehGregor> Probably, if you submitted any noticeable amount. It's amazing how old code sticks around forever.
- # [03:45] <AryehGregor> Until you want to burn it with fire.
- # [03:45] * AryehGregor just ran across a JS file in MediaWiki that had UA checks for IE4 and NN4, srsly
- # [03:46] <othermaciej> I was one of the main developers of Nautilus in the early days
- # [03:46] <othermaciej> but I have no idea how much it's been rewritten since then
- # [03:47] <AryehGregor> Neat.
- # [04:09] * Joins: wakaba_0 (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [04:14] * Quits: drunknbass_work (n=aaron@71.107.253.243) (Client Quit)
- # [04:16] * Quits: JonathanNeal (n=Jonathan@rrcs-76-79-114-213.west.biz.rr.com) (Read error: 113 (No route to host))
- # [04:17] * Joins: nessy (n=Adium@239.140.LCA2010.fx.net.nz)
- # [04:26] * Joins: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [04:28] * Quits: wakaba_ (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Read error: 110 (Connection timed out))
- # [04:32] * Quits: inimino (n=inimino@atekomi.inimino.org) (Excess Flood)
- # [04:32] * Joins: inimino (n=inimino@atekomi.inimino.org)
- # [04:34] * Quits: inimino (n=inimino@atekomi.inimino.org) (Excess Flood)
- # [04:34] * Joins: inimino (n=inimino@atekomi.inimino.org)
- # [04:43] * Joins: nessy1 (n=Adium@239.140.LCA2010.fx.net.nz)
- # [04:44] * Quits: nessy (n=Adium@239.140.LCA2010.fx.net.nz) (Read error: 54 (Connection reset by peer))
- # [04:48] * Quits: weinig (n=weinig@17.246.18.80)
- # [04:54] * Quits: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net) (Client Quit)
- # [05:08] * Quits: othermaciej (n=mjs@17.246.19.196)
- # [05:12] * Joins: nessy (n=Adium@239.140.LCA2010.fx.net.nz)
- # [05:13] * Quits: nessy1 (n=Adium@239.140.LCA2010.fx.net.nz) (Read error: 113 (No route to host))
- # [05:14] * Quits: nessy (n=Adium@239.140.LCA2010.fx.net.nz) (Client Quit)
- # [05:15] * Joins: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [05:19] * Quits: Breakmau5 (n=breakz@erft-5d80b32f.pool.mediaWays.net) (Remote closed the connection)
- # [05:19] * Joins: Breakmau5 (n=breakz@erft-5d80b32f.pool.mediaWays.net)
- # [05:21] * Joins: drunknbass_work (n=aaron@cpe-76-173-195-145.socal.res.rr.com)
- # [05:22] * Joins: weinig (n=weinig@c-71-198-185-234.hsd1.ca.comcast.net)
- # [05:31] * Joins: nessy (n=Adium@239.140.LCA2010.fx.net.nz)
- # [05:31] * Quits: jwalden (n=waldo@STRATTON-THREE-FIFTY-EIGHT.MIT.EDU) ("g'night")
- # [05:32] * Quits: Breakmau5 (n=breakz@erft-5d80b32f.pool.mediaWays.net) (Read error: 60 (Operation timed out))
- # [05:44] * Joins: eli__ (n=chatzill@i60-46-142-204.s10.a027.ap.plala.or.jp)
- # [05:45] <eli__> hello
- # [05:45] <eli__> html5 can play streaming?
- # [05:46] <Hixie> video?
- # [05:46] <Hixie> in theory
- # [05:46] * Quits: JoePeck (n=JoePeck@cpe-74-69-85-249.rochester.res.rr.com) (Read error: 104 (Connection reset by peer))
- # [05:46] <eli__> Hixie, thank you
- # [05:46] <eli__> well...
- # [05:46] * Joins: JoePeck (n=JoePeck@cpe-74-69-85-249.rochester.res.rr.com)
- # [05:46] <eli__> I want look to html5 streaming sample site
- # [05:47] <Hixie> http://www.youtube.com/html5
- # [05:48] <eli__> thanks, but it is not streaming
- # [05:48] <Hixie> what do you mean by "streaming"_?
- # [05:48] <eli__> on demand video play
- # [05:49] <Hixie> how is that not on-demand video playback?
- # [05:49] <eli__> example, use Flash media server or windows media server
- # [05:49] * Quits: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [05:49] <Hixie> oh
- # [05:49] <Hixie> that's purely a server-side issue
- # [05:49] <eli__> :)
- # [05:50] <Hixie> html5 doesn't define the server-side aspect of video playback
- # [05:50] * Quits: nessy (n=Adium@239.140.LCA2010.fx.net.nz) ("Leaving.")
- # [06:01] * Quits: Utkarsh (n=admin@117.201.87.154) (Read error: 60 (Operation timed out))
- # [06:11] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 110 (Connection timed out))
- # [06:13] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [06:14] * Quits: drunknbass_work (n=aaron@cpe-76-173-195-145.socal.res.rr.com) (Client Quit)
- # [06:18] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [06:50] * Joins: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp)
- # [06:52] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
- # [06:53] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [06:53] * Quits: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp) (Client Quit)
- # [06:54] * Joins: JonathanNeal (n=Jonathan@99-59-124-67.lightspeed.irvnca.sbcglobal.net)
- # [06:57] * Joins: shepazutoo (n=schepers@adsl-221-113-149.rmo.bellsouth.net)
- # [06:57] * Quits: TabAtkins (n=chatzill@70-139-15-246.lightspeed.rsbgtx.sbcglobal.net) (Read error: 110 (Connection timed out))
- # [07:01] * Quits: shepazu (n=schepers@adsl-150-130-175.rmo.bellsouth.net) (Read error: 60 (Operation timed out))
- # [07:02] * Joins: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp)
- # [07:05] * Joins: drunknbass_work (n=aaron@cpe-76-173-195-145.socal.res.rr.com)
- # [07:12] * Quits: weinig (n=weinig@c-71-198-185-234.hsd1.ca.comcast.net) (Read error: 60 (Operation timed out))
- # [07:28] * Quits: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net) (Client Quit)
- # [07:30] * Quits: JonathanNeal (n=Jonathan@99-59-124-67.lightspeed.irvnca.sbcglobal.net) (Read error: 60 (Operation timed out))
- # [07:31] * Joins: wakaba_ (n=wakaba_@119-228-219-41.eonet.ne.jp)
- # [07:32] <erlehmann> eli__, what exactly do you want ?
- # [07:34] <eli__> I want streaming boardcasting by use html5's video tag.
- # [07:36] <NickYoung> eli__: as Hixie says, that's already theoretically possible. You set the video source to a network resource and there's a chance the backend will attempt to stream it.
- # [07:37] <eli__> thank you everybody.
- # [07:37] <eli__> I don't know about video tag.
- # [07:38] <eli__> for example in youtube/html5
- # [07:38] <eli__> it use <video src="http <- http protocol
- # [07:38] <eli__> I knew that streaming protocol is not http
- # [07:38] <Hixie> you can use whatever protocol you want (assuming the browser supports it) -- the spec doesn't require any particular protocol
- # [07:39] <Hixie> HTTP can be used for streaming, actually
- # [07:39] <Hixie> though it's not especially pretty
- # [07:39] <eli__> really?
- # [07:40] <eli__> oh, thank you very much
- # [07:40] <NickYoung> eli__: It is up to the browser (or more specifically, the multimedia backend) to determine if it can start playback before it has downloaded the entire media file
- # [07:41] * Joins: weinig (n=weinig@c-71-198-185-234.hsd1.ca.comcast.net)
- # [07:42] <eli__> http://www.youtube.com/html5
- # [07:43] <eli__> is this site streaming? or just download and play?
- # [07:43] <Hixie> streaming
- # [07:44] <eli__> and use http protocol?
- # [07:44] <Hixie> yes
- # [07:45] <eli__> be not progressive downloading, it is on demand streaming, right?
- # [07:47] <NickYoung> eli__: This depends on the browser
- # [07:47] <eli__> :)
- # [07:47] * Quits: wakaba_0 (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Read error: 113 (No route to host))
- # [07:47] <eli__> everybody so kind
- # [07:47] <eli__> thank you
- # [07:47] <NickYoung> eli__: But for example, I have an experimental webkit build which supports RTP streamed media
- # [07:48] <NickYoung> (well, theoretically anyway, I haven't tested it)
- # [07:49] <NickYoung> but you could have <video src="rtp://...">
- # [07:58] * Quits: drunknbass_work (n=aaron@cpe-76-173-195-145.socal.res.rr.com) (Client Quit)
- # [07:59] <eli__> sorry to little question, nickyoung
- # [08:00] <eli__> I check youtube.com/html5 web page
- # [08:00] <eli__> it has "<video width="640" height="360" src="/demo/google_main.mp4?2" autobuffer> " in source
- # [08:00] <NickYoung> yep
- # [08:01] <eli__> and the link can download movie
- # [08:01] <NickYoung> this is probably a progressive download, not on demand
- # [08:02] <NickYoung> you would need to use something like a rtsp:// uri for on demon
- # [08:02] <NickYoung> on demand*
- # [08:02] <Hixie> foolip: what do you think of making the spec explicitly drop hidden="" subtrees from the microdata processing?
- # [08:03] <eli__> rtsp is window media server's protocol, right?
- # [08:04] <Hixie> RTSP is a standard protocol: http://tools.ietf.org/html/rfc2326
- # [08:04] <NickYoung> eli__: I don't think window's media server uses it by default
- # [08:04] <NickYoung> eli__: but I am no expert on window's media server :)
- # [08:06] <eli__> oh, I had remember miss information. thank you hixie
- # [08:08] <eli__> nickyoung : :)
- # [08:10] <NickYoung> eli__: Some googling suggests Window Media Services uses MMS - a proprietary streaming protocol
- # [08:11] <eli__> :) thank you
- # [08:12] <NickYoung> I am curious now to try rtsp streaming on my webkit build
- # [08:16] <eli__> why do you want rtsp protocol?
- # [08:17] <eli__> another protocol? for example, rtmp?
- # [08:17] * Joins: Breakmau5 (n=breakz@erft-5d8082cb.pool.mediaWays.net)
- # [08:18] <eli__> is html5's base?
- # [08:18] <Dashiva> Oh boy, more poetry
- # [08:18] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
- # [08:19] <NickYoung> rtsp is an open protocol, plus, it's the only one which supports proper on demand streaming, I think
- # [08:19] <eli__> :)
- # [08:26] <hsivonen> Hixie: as I understand it, the Mac OS X kernel participates in managing the file system on a Drobo
- # [08:26] <Hixie> i don't see how it could
- # [08:26] <hsivonen> Hixie: I got a ReadyNAS instead in order to have a distinct kernel for the filesystem
- # [08:27] <Hixie> the only thing you need software for with the drobo is reformatting it to greater than the 2TB default partition size
- # [08:27] <hsivonen> Hixie: how does Mac OS X access it?
- # [08:27] <hsivonen> I thought it showed up as a local volume
- # [08:27] <Hixie> USB storage or firewire storage
- # [08:28] <hsivonen> Hixie: but USB and Firewire give you a block device and the OS manages the filesystem, right?
- # [08:29] <Hixie> no idea
- # [08:29] <Hixie> but my drobos worked fine before i installed the software
- # [08:29] <hsivonen> my assumption was that the OS default file system implementation was used
- # [08:29] <hsivonen> hence no installation required
- # [08:30] <hsivonen> my point is that Mac OS X *will* crash
- # [08:30] <hsivonen> and HFS+ *will* get mangled
- # [08:30] <hsivonen> so I prefer to have ext3 under a distinct kernel on the ReadyNAS and have the Mac talk to it over the network
- # [08:31] <Hixie> a pure block device wouldn't know how much space is free, surely
- # [08:31] <Hixie> the OS thinks it's a 16TB external disk, with about 14TB free
- # [08:31] <Hixie> yet the drobo has LEDs showing how much is really free
- # [08:31] <hsivonen> I don't know how the Drobo works
- # [08:32] * Joins: tiglionabbit (n=nick@67-207-136-95.slicehost.net)
- # [08:32] <Hixie> so i don't know how they did it, but it doesn't seem like the kernel has that much say on what is going on
- # [08:32] <hsivonen> but if it shows up as a USB/Firewire disk, it seems to me that the kernel of the host computer has to be participating in file system access
- # [08:32] <tiglionabbit> is full text search going to be in the database spec?
- # [08:32] <tiglionabbit> it's in gears, and it's helpful
- # [08:33] <Hixie> tiglionabbit: database spec is pretty much stalled since microsoft and mozilla refuse to implement it (assuming you mean the sql one)
- # [08:33] <hsivonen> they could have the device know about a few file systems to read the device for free space (and to re-RAID it when needed)
- # [08:33] <Hixie> hsivonen: dunno
- # [08:33] <Hixie> hsivonen: so far i've had plenty of hard disk issues, but none relating to Mac OS X screwing over the disk
- # [08:33] <Hixie> hsivonen: only hardware issues
- # [08:34] <Hixie> though one of my damaged disks is in a state where if i plug it into a mac computer the mac hangs because the kernel goes mad trying to do something with the journal
- # [08:34] <Hixie> (which it can't since the disk is dead)
- # [08:35] <Hixie> and i can't get a mac to reformat the disk
- # [08:35] <Hixie> since it immediately tries to fix the disk, thus hanging until i unplug the disk...
- # [08:35] * Joins: GarethAdams_ (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [08:36] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:37] <tiglionabbit> Hixie: sure, but it's in webkit already -- does it have any full text search extensions though?
- # [08:38] <Hixie> dunno what the status of implementations is
- # [08:38] * Quits: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams) (Nick collision from services.)
- # [08:38] * GarethAdams_ is now known as GarethAdams|Home
- # [08:47] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [08:47] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net) ("zzzzz")
- # [08:48] <Dashiva> It's nice to see that the new formal process is being properly taken advatnage of
- # [08:51] * Joins: ttepasse (n=ttepas--@dslb-084-060-057-182.pools.arcor-ip.net)
- # [08:59] <tiglionabbit> are there any plans to make tablet pressure and sub-pixel positioning a javascript event property?
- # [08:59] <Hixie> not concrete plans
- # [08:59] <Hixie> every few months someone says we should, but they never actually stick around long enough to write a spec :-)
- # [08:59] <tiglionabbit> heh
- # [08:59] <Hixie> part of the problem is we don't actually have a spec for 'click' and 'mousemove' currently
- # [08:59] <tiglionabbit> well what do you need in the spec?
- # [09:00] <tiglionabbit> oh really
- # [09:00] <Hixie> or 'keydown' and 'keypress'
- # [09:00] <tiglionabbit> that's all non-standard?
- # [09:00] <Hixie> non-standard or very vaguely specified
- # [09:00] <tiglionabbit> worst part is the mouse button numbers
- # [09:00] <tiglionabbit> which are different between browsers
- # [09:01] <tiglionabbit> guess that should be pinned down first
- # [09:01] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 60 (Operation timed out))
- # [09:01] * Joins: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
- # [09:02] <pesla> Hixie: Would you recommend people to start using the html5 doctype and the current spec?
- # [09:03] <Hixie> the doctype certainly
- # [09:03] <Hixie> and the spec, for features that were in html4, also certainly -- the html5 spec is far better at describing those features than html4 was, even in its current draft form
- # [09:03] <Hixie> i would be careful with the new features though
- # [09:03] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [09:03] <pesla> Yea, exactly my opinion.
- # [09:03] <pesla> Thanks :)
- # [09:03] <Hixie> e.g. i wouldn't use <article> yet (though many people are doing so, so what do i know)
- # [09:04] <Hixie> if IE supports a feature (e.g. onhashchange), it's pretty stable
- # [09:04] <tiglionabbit> I'm curious -- is there anything stopping web browsers from implementing <script type="text/python"> ?
- # [09:05] <tiglionabbit> I guess a spec for how the dom should work in other languages perhaps
- # [09:06] <Hixie> a spec, a reason, time, and money :-)
- # [09:09] <tiglionabbit> is there any reason why <article> or <arbitrary-tag> wouldn't work already? They have been style-able in gecko and webkit for some time now, and I think there's some way to get IE to do it too
- # [09:10] <tiglionabbit> does html5 have instructions for what should happen when unknown tags are encountered?
- # [09:10] <Hixie> you have to use hacks and styles and stuff to use things like <article>
- # [09:10] <Hixie> html5 defines everything like that, yes
- # [09:10] <Hixie> should make it easier to introduce new elements later
- # [09:11] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [09:11] * Joins: Utkarsh (n=admin@117.201.87.29)
- # [09:12] * Joins: zcorpan__ (n=zcorpan@static-88.131.66.111.addr.tdcsong.se)
- # [09:15] * Joins: FireFly (n=firefly@unaffiliated/firefly)
- # [09:16] * Quits: FireFly (n=firefly@unaffiliated/firefly) ("Leaving")
- # [09:17] * Joins: JonathanNeal (n=Jonathan@99-59-124-67.lightspeed.irvnca.sbcglobal.net)
- # [09:19] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [09:19] * Joins: mhausenblas (n=mhausenb@wg1-nat.fwgal01.deri.ie)
- # [09:24] * Joins: workmad3 (n=workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [09:30] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [09:31] * Joins: boblet (n=boblet@p1072-ipbf36osakakita.osaka.ocn.ne.jp)
- # [09:31] * Quits: Breakmau5 (n=breakz@erft-5d8082cb.pool.mediaWays.net) (Read error: 113 (No route to host))
- # [09:40] * Quits: JonathanNeal (n=Jonathan@99-59-124-67.lightspeed.irvnca.sbcglobal.net) ("Leaving")
- # [09:41] * Parts: zcorpan__ (n=zcorpan@static-88.131.66.111.addr.tdcsong.se)
- # [09:46] * Quits: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [09:56] * Joins: JonathanNeal (n=Jonathan@76-219-69-134.lightspeed.breaca.sbcglobal.net)
- # [09:59] <hsivonen> Hixie: do you have a preliminary guess of where the about:blank stuff might be going?
- # [09:59] <Hixie> no, but i have scheduled friday to fix it
- # [09:59] <hsivonen> great
- # [10:00] * Joins: archtech (i=stanv@83.228.56.37)
- # [10:04] * Quits: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
- # [10:11] <MikeSmith> hsivonen: so I notice that a year or so ago George submitted a jing patch that improves reporting for missing-attribute and missing-element cases
- # [10:11] <MikeSmith> http://code.google.com/p/jing-trang/issues/detail?id=35
- # [10:12] <hsivonen> MikeSmith: yeah. I had hoped to see the patch on trunk by now
- # [10:13] * Joins: danbri (n=danbri@unaffiliated/danbri)
- # [10:13] <MikeSmith> hsivonen: James seemed to not want to land it until some revisions to PatternValidator get made
- # [10:14] <MikeSmith> http://code.google.com/p/jing-trang/issues/detail?id=35#c1
- # [10:14] <MikeSmith> (James' comment)
- # [10:15] <MikeSmith> hsivonen: but there are a couple of problems with that patch as implemented
- # [10:15] <MikeSmith> one is the format of the error messages it emits
- # [10:15] <hsivonen> ideally, the expection objects would carry enough data for formatting the message on the application side
- # [10:15] <MikeSmith> for example, for <link> it will give you: "[href, rel] required attributes missing from element link"
- # [10:16] <MikeSmith> yeah
- # [10:17] <MikeSmith> so the other problem is that it does not provide enough information for at least one case I can think of
- # [10:17] * Quits: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [10:17] <MikeSmith> which is the case of <object>
- # [10:18] <MikeSmith> where the requirement is basically an OR case
- # [10:18] <MikeSmith> a data attribute OR a type attribute
- # [10:19] <hsivonen> what does it provide in that case?
- # [10:20] <MikeSmith> same as for the link case -- it just emits, "[data, type] required attributes missing from element object"
- # [10:20] <MikeSmith> his implementation just adds the attributes to a Set
- # [10:20] <MikeSmith> on then it calls toString to dump that
- # [10:21] <foolip> Hixie: it wouldn't really add to complexity since we're already cutting subtrees based on the precense of itemscope
- # [10:21] <hsivonen> ah. I wonder how hard it would be to distinguish "all of these" and "one of these"
- # [10:21] <hsivonen> HTML5 doesn't have "one of these groups", IIRC
- # [10:21] <MikeSmith> hsivonen: maybe not so hard. I'll take a look at it a bit more and see
- # [10:22] <Hixie> foolip: i have no idea what you're responding to :-)
- # [10:22] <MikeSmith> hsivonen: or I guess maybe I should ping George about it first
- # [10:22] <foolip> Hixie: 'what do you think of making the spec explicitly drop hidden="" subtrees from the microdata processing?'
- # [10:22] <hsivonen> MikeSmith: or maybe ping James and George both in the bug report
- # [10:24] <MikeSmith> hsivonen: OK
- # [10:24] <foolip> however, I'm not quite sure what good it would do, it would most certainly cause surprise to some people
- # [10:25] <Hixie> ah
- # [10:26] <Hixie> brb
- # [10:26] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [10:27] <foolip> since CSS selectors, getElementById, etc won't ignore that which is hidden="", my vote would be no
- # [10:28] <foolip> but I admit to not entirely understanding the purpose of hidden="" to begin with
- # [10:33] <Lachy> Hixie, maybe I'm misunderstanding something, but your response here about nested vocabularies seems confusing http://lists.w3.org/Archives/Public/public-html/2010Jan/0905.html
- # [10:35] <Lachy> You wrote: "I think it's better to just use itemtype="" everywhere you want to start a new vocabulary" - but in the vCard example foolip gave, the nested adr stuff isn't a new vocabulary. I thought foolip's idea was that it should default to inhereting the itemtype
- # [10:35] <Lachy> But in the somewhat contrived example you gave, where they are different, it does make sense to require an explicit itemtype
- # [10:38] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [10:38] * Quits: JonathanNeal (n=Jonathan@76-219-69-134.lightspeed.breaca.sbcglobal.net) ("Leaving")
- # [10:38] * Joins: JonathanNeal (n=Jonathan@76-219-69-134.lightspeed.breaca.sbcglobal.net)
- # [10:40] * Joins: kmartiin (n=kmartiin@dslb-094-222-152-190.pools.arcor-ip.net)
- # [10:41] * Quits: ttepasse (n=ttepas--@dslb-084-060-057-182.pools.arcor-ip.net) ("404")
- # [10:42] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:42] * Joins: myakura (n=myakura@p3213-ipbf4202marunouchi.tokyo.ocn.ne.jp)
- # [10:46] * Quits: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [10:47] * workmad3 is now known as wm3|doin_stuff
- # [10:48] <Hixie> Lachy: adr is a "new vocabulary" for the purposes of that sentence
- # [10:48] <Hixie> sorry for being ambiguous
- # [10:48] <Hixie> i really meant a new set of name-value pair names
- # [10:49] <Lachy> well, it shouldn't be. That seems very unintuitive to require the author to repeat the same itemtype again, and I don't expect most authors using the vCard vocabulary will remember that
- # [10:49] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [10:50] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
- # [10:51] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [10:51] <Hixie> Lachy: no what i'm saying is that md-vcard, if it wants to work with rdf, should require that the adr types have their own types
- # [10:51] <Hixie> different than the vcard type
- # [10:51] <Hixie> since they're not vcards but addresses
- # [10:52] * Quits: Utkarsh (n=admin@117.201.87.29) (Read error: 110 (Connection timed out))
- # [10:52] <Lachy> but they're part of the same vcard vocabulary
- # [10:53] <Hixie> only to the same extent that the "reload()" method on the Location object is part of the Window object
- # [10:53] <Lachy> so, if an author doesn't care about the RDF conversion, can they get away without using an explicit itemtype, and still express the semantics they want?
- # [10:53] <Hixie> sure, that's what md-vcard does
- # [10:54] <Lachy> ok. It still seems weird that the semantics that are expressable through md-vcard, can't be mapped to RDF in a sane way by default
- # [10:56] <Hixie> they could, just not using the vocabulary-agnostic rdf conversion algorithm
- # [10:56] * Joins: Phae (n=phaeness@gateb.thls.bbc.co.uk)
- # [10:56] <Hixie> even the work vocabulary can't really be converted naively -- you have to apply extra rules to get it into its "proper" RDF form
- # [10:57] <Hixie> (those rules are actually provided, though)
- # [10:57] <Hixie> a lot of this is a result of RDF's complexity
- # [10:57] <Hixie> e.g. using URLs everywhere
- # [10:58] <Hixie> i suppose we _could_ automatically map the adr properties to URLs by concatenating the "path" to the property
- # [10:59] <Hixie> hm, no, that wouldn't work
- # [10:59] <Hixie> there'd be no way to guarantee uniqueness
- # [11:00] * Quits: mikekelly (i=mikek@s3x0r.biz) ("Lost terminal")
- # [11:01] <Hixie> (if the above doesn't make much sense to people reading archives, it's because i wasn't very eloquent.)
- # [11:05] * Joins: MikeSmith (n=MikeSmit@EM114-48-190-161.pool.e-mobile.ne.jp)
- # [11:10] * Joins: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at)
- # [11:13] * wm3|doin_stuff is now known as workmad3
- # [11:18] * Quits: MikeSmith (n=MikeSmit@EM114-48-190-161.pool.e-mobile.ne.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [11:22] * Joins: primal1 (n=primal1@pool-72-67-53-59.lsanca.fios.verizon.net)
- # [11:22] <Philip`> "a proprietary raid-like solution for redundancy" - can you still get read access to your data without relying on a proprietary solution, e.g. if your Drobo hardware dies and nobody manufactures them any more?
- # [11:25] * Quits: primal1 (n=primal1@pool-72-67-53-59.lsanca.fios.verizon.net) (Remote closed the connection)
- # [11:26] * Joins: primal1 (n=primal1@pool-72-67-53-59.lsanca.fios.verizon.net)
- # [11:28] <Hixie> Philip`: no
- # [11:28] <Hixie> Philip`: but i have two, so if one dies i'm ok
- # [11:28] <Hixie> if both die i'm screwed
- # [11:28] <Hixie> (if both die after drobo stop making them, that is)
- # [11:31] * Quits: seventh (i=seventh@189.59.166.43) ("...")
- # [11:36] <danbri> WHATWG: HTML5: Mention that you shouldn't dereference an item type URL. http://html5.org/tools/web-apps-tracker?from=4613&to=4614
- # [11:37] <danbri> are those microdata item times, or more general?
- # [11:37] <Hixie> it refers to the value of the microdata itemtype="" property
- # [11:39] <danbri> is that an attribute where i might put things like foaf:Person, if my item was describing a person?
- # [11:39] <Hixie> more or less, yes
- # [11:39] <danbri> i think it's fine to say the design doesn't *require* derferencing, ... but to forbid it seems rather strong
- # [11:40] <Hixie> the exact text doesn't forbid it
- # [11:40] <Hixie> it is more subtle than the checkin comment
- # [11:40] * danbri was reading the link
- # [11:40] <danbri> it has an '...in order to determine how to process'
- # [11:40] <Hixie> right
- # [11:41] <Hixie> it's just an opaque string, unless you know it isn't
- # [11:41] <danbri> but one way of knowing more about it is to read a document from the Web
- # [11:41] <Hixie> sure, a human is allowed to do whatever
- # [11:41] <Hixie> humans aren't one of the spec's conformance classes
- # [11:41] <danbri> and software that human has installed?
- # [11:42] <danbri> can it not have a mode that includes lookups?
- # [11:42] <Hixie> can you give a more concrete example?
- # [11:42] <Hixie> i'm not sure what you mean by "includes lookups"
- # [11:42] <danbri> again, it should be optional rather than mandatory ... not requiring schema downloads was one of the original rdf requirements
- # [11:42] * Joins: adactio (n=adactio@host213-123-197-180.in-addr.btopenworld.com)
- # [11:43] <danbri> ok, you load the class definition, and realise it's a subclass of one you have some built-in UI widget to display ... so the user gets a slightly prettier ui
- # [11:43] <danbri> eg. doap:Project says it is subclass of foaf:Project, and you had a layout hardcoded for projects, keyed off the foaf:Project uri
- # [11:44] * Quits: eli__ (n=chatzill@i60-46-142-204.s10.a027.ap.plala.or.jp) (Read error: 104 (Connection reset by peer))
- # [11:45] <Hixie> class definition?
- # [11:46] <Hixie> microdata doesn't have class definitions
- # [11:46] <Hixie> microdata isn't really intended for the use cases than need RDF and all the schemas and reasoning and all that, to be honest
- # [11:46] <Hixie> for that people should just use RDF
- # [11:47] <danbri> it's not fancypants reasoning
- # [11:47] <danbri> just matching some triples from a different doc
- # [11:47] <danbri> but microdata is the syntax; what user apps do with it isn't your concern
- # [11:47] <Hixie> sounds pretty fancy to me if it's applying UIs to subclassed vocabularies through some sort of automated definition mechanism :-)
- # [11:47] <Hixie> what user apps do with it is my only concern, the syntax is just a means to that end
- # [11:48] <Hixie> actually i'd go even further
- # [11:48] <Hixie> what _users_ do with it is my only concern
- # [11:48] <danbri> well, i'm not too worried about that rule in the spec; folk will just ignore it if they want to
- # [11:48] <Hixie> the user apps and syntax are _both_ just a means to that end
- # [11:48] <Hixie> they can ignore anything they like if they don't want to follow the spec :-)
- # [11:48] <Hixie> not much i can do about people who don't want to follow the spec
- # [11:48] <danbri> wouldn't be the first time!
- # [11:49] <Hixie> anyway, time for bed
- # [11:49] <Hixie> nn
- # [11:49] <danbri> gnite!
- # [11:49] * danbri time for elevensies
- # [11:49] * Joins: BeholdMyGlory (n=behold@unaffiliated/beholdmyglory)
- # [11:50] * Parts: BeholdMyGlory (n=behold@unaffiliated/beholdmyglory) ("Leaving")
- # [11:52] * Joins: smaug_ (n=chatzill@cs181150024.pp.htv.fi)
- # [12:00] * Quits: Lachy (n=Lachlan@london.perfect-privacy.com) ("This computer has gone to sleep")
- # [12:04] * Quits: primal1 (n=primal1@pool-72-67-53-59.lsanca.fios.verizon.net)
- # [12:08] * Joins: wakaba_0 (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [12:12] * Joins: Lachy (n=Lachlan@london.perfect-privacy.com)
- # [12:13] * Quits: Lachy (n=Lachlan@london.perfect-privacy.com) (Client Quit)
- # [12:14] * Joins: Lachy (n=Lachlan@london.perfect-privacy.com)
- # [12:14] * Joins: Lachy_ (n=Lachlan@pat-tdc.opera.com)
- # [12:16] * Joins: berny- (i=berny@666.syx.sk)
- # [12:18] * Quits: Lachy (n=Lachlan@london.perfect-privacy.com) (Read error: 54 (Connection reset by peer))
- # [12:20] * Quits: kmartiin (n=kmartiin@dslb-094-222-152-190.pools.arcor-ip.net) (Remote closed the connection)
- # [12:25] * Quits: wakaba_ (n=wakaba_@119-228-219-41.eonet.ne.jp) (Read error: 110 (Connection timed out))
- # [12:33] * Joins: Utkarsh (n=admin@117.201.87.75)
- # [12:33] * Joins: nattokirai (n=nattokir@y224241.dynamic.ppp.asahi-net.or.jp)
- # [12:33] * Joins: zalan (n=zalan@catv-89-135-110-229.catv.broadband.hu)
- # [12:34] * Joins: Breakmau5 (n=breakz@erft-5d8082cb.pool.mediaWays.net)
- # [12:40] * Lachy_ is now known as Lachy
- # [13:17] * Quits: wakaba_0 (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) ("Leaving...")
- # [13:21] * Quits: erlehmann (n=erlehman@82.113.121.7) ("Ex-Chat")
- # [13:22] * Joins: erlehmann (n=erlehman@82.113.121.7)
- # [13:29] * Joins: yutak_home (n=kee@N038037.ppp.dion.ne.jp)
- # [13:42] * Joins: mpavel (n=pavel@cpc1-dund3-0-0-cust363.sgyl.cable.virginmedia.com)
- # [13:42] * Quits: mpavel (n=pavel@cpc1-dund3-0-0-cust363.sgyl.cable.virginmedia.com) (Client Quit)
- # [13:42] * Joins: pavel_ (n=pavel@cpc1-dund3-0-0-cust363.sgyl.cable.virginmedia.com)
- # [13:43] * pavel_ is now known as mpavel
- # [13:44] * Quits: mpavel (n=pavel@cpc1-dund3-0-0-cust363.sgyl.cable.virginmedia.com) (Client Quit)
- # [13:55] * Quits: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at) (Client Quit)
- # [14:15] * Quits: yutak_home (n=kee@N038037.ppp.dion.ne.jp) ("Ex-Chat")
- # [14:19] * Quits: Breakmau5 (n=breakz@erft-5d8082cb.pool.mediaWays.net) (Read error: 113 (No route to host))
- # [14:19] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
- # [14:21] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [14:25] * Joins: pmuellr (n=pmuellr@nat/ibm/x-tuubtiiizoiwxzzi)
- # [14:39] * Quits: nattokirai (n=nattokir@y224241.dynamic.ppp.asahi-net.or.jp)
- # [14:41] * Joins: kmartiin (n=kmartiin@dslb-094-223-148-193.pools.arcor-ip.net)
- # [14:54] * Joins: MikeSmith (n=MikeSmit@EM114-48-140-241.pool.e-mobile.ne.jp)
- # [14:58] * Joins: BlurstOfTimes (n=blurstof@168.203.117.66)
- # [15:03] * Joins: cyberix (i=twruottu@melkki.cs.helsinki.fi)
- # [15:04] <cyberix> Could html5 help this guy?
- # [15:04] <cyberix> http://benfirshman.com/projects/jsnes/
- # [15:04] <cyberix> he did some programming in js
- # [15:05] <cyberix> and figured out he needed a small flash application to read the sound from his js and forward it to the speakers
- # [15:05] <Philip`> It ought to be possible with <audio> and data: URLs
- # [15:05] <cyberix> he mentions that at the bottom of the screen
- # [15:06] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [15:07] <cyberix> so he should generate 1 second of sound and add it to the site with an audio tag
- # [15:07] <cyberix> then generate another 1 second of sound and then add that exactly when the first one stops playing
- # [15:08] <Philip`> It's not very elegant or good but it might roughly work
- # [15:09] <cyberix> You do realize that if there is even a tiny gap, you will then hear it once a second
- # [15:10] <Philip`> Yes
- # [15:10] <Philip`> which is why it's not very good
- # [15:10] <hsivonen> soo... what happened to ⟨ and ⟩?
- # [15:10] * Joins: TabAtkins (n=chatzill@70-139-15-246.lightspeed.rsbgtx.sbcglobal.net)
- # [15:10] <Philip`> There have been discussions about making some kind of audio equivalent to <canvas>, but they haven't got very far yet
- # [15:10] <hsivonen> did both MathML and HTML5 change what those mean?
- # [15:12] * Quits: archtech (i=stanv@83.228.56.37) (Client Quit)
- # [15:13] <cyberix> Would it be possible to add a <audio generator="soundgen"> to the spec, where soundgen would be a js function returning a tiny chunk of sound, and would be called in a loop by the browser?
- # [15:14] <cyberix> also, what is the best way of contacting the folks who discus the audio element?
- # [15:15] <hsivonen> cyberix: hi
- # [15:15] <cyberix> hsivonen: hello
- # [15:16] <hsivonen> Hixie: are we sure this rang/lang stuff is solving Real Problems?
- # [15:17] <Lachy> cyberix, that doesn't seem like a very optimal design
- # [15:17] <cyberix> Lachy: Why?
- # [15:18] <Lachy> well, for starters, it's not clear what exactly the file pointed to by soundgen would actually do to make the sound.
- # [15:18] <cyberix> no file
- # [15:18] <hsivonen> cyberix: so the sound needs to be continuous to an arbitrary length?
- # [15:19] <cyberix> yes
- # [15:19] <Lachy> s/file/function/
- # [15:19] <hsivonen> cyberix: can't do that with HTML5
- # [15:19] <hsivonen> cyberix: we don't have an audio canvas or "WebAL" yet :-(
- # [15:19] <cyberix> bugger
- # [15:19] <hsivonen> cyberix: you aren't the first one to ask for it
- # [15:19] <Philip`> We don't even have a way of storing binary data
- # [15:20] * Joins: sbublava (n=stephan@77.116.116.81.wireless.dyn.drei.com)
- # [15:20] <Philip`> (in JS)
- # [15:20] <cyberix> Philip`: I understood you could use a latin-1 string, list of integers, or data url
- # [15:20] <cyberix> Philip`: Any of those seems ok to me
- # [15:21] <cyberix> Lachy: the function should be able to do anything to produce the sound. That is the point of it
- # [15:22] <Lachy> cyberix, you haven't given any indication about what the API itself would look like
- # [15:22] <Lachy> or would it just create the sound from the function's return value or something?
- # [15:23] <Lachy> Iif so, that seems very limiting)
- # [15:23] <cyberix> Lachy: the functions return value would be sound
- # [15:23] <cyberix> Lachy: it is the opposite of limiting
- # [15:23] * Philip` doesn't know if push or pull APIs would be better
- # [15:23] <Philip`> Pull seems harder for browsers to handle nicely, since they don't know how long the function is going to take or how much sound it's going to return, so they don't know how early to call it
- # [15:24] <Lachy> so then it would have to generate the entire sound all at once, and return it as a single value in some undefined format?
- # [15:24] <cyberix> Lachy: no, it would return a chunk of sound
- # [15:24] <Philip`> whereas the script running in the page should have a better idea of those things, and of how much latency is acceptable
- # [15:24] <Lachy> push seems like a much more reasonable approach, and is more in line with how canvas works
- # [15:24] <hsivonen> argh. the rang/lang stuff is in http://www.w3.org/TR/xml-entity-names/#diff-xhtml1
- # [15:24] <cyberix> Lachy: and the browser would call it again to retrieve more
- # [15:25] <hsivonen> changing rang/lang sucks for roundtripping
- # [15:25] <Lachy> ok, but what format would it be requried to return? Would script authors be required to generate binary PCM data or something?
- # [15:25] <cyberix> Lachy: PCM would probably be good
- # [15:25] <hsivonen> if you serialize to ⟨ ⟩, the result is round-trip-incompatible with old HTML parsers
- # [15:25] <Lachy> that would be very complicated. I wouldn't expect most authors to be able to write a script that can generate sound and output PCM data.
- # [15:26] <Philip`> If they can't write a script to generate sound then they're just not going to use this scripted-sound-generating feature
- # [15:26] <hsivonen> if you serialize the new characters to ⟩ and ⟨, you are incompatible with old MathML stuff
- # [15:26] <cyberix> Lachy: Currently the authors create PCM, store it in some variable, set flash to read that variable and play the sound
- # [15:27] <Philip`> If they can, I don't know what alternatives to PCM data would be better
- # [15:27] <Lachy> cyberix, the pull approach you're suggesting also seems to be unable to handle cases where sonds are generated in response to user interaction. It would be much simpler if, say, a click handler could invoke some sound generating methods when they want the sound
- # [15:27] <Philip`> hsivonen: Serialise to ⟨ then?
- # [15:27] <Lachy> and then the browser can then asynchrounosly produce that sound
- # [15:27] * Joins: miketaylr (n=miketayl@38.117.156.163)
- # [15:28] <TabAtkins> Dammit, Philip`, beat me to it.
- # [15:29] <cyberix> Lachy: you would have a click handler mix the sound of click to the buffer that gets returned on next call to the sound generator
- # [15:30] <cyberix> But push might be easier, I agree
- # [15:30] <Lachy> cyberix, so would the browser be constantly polling the function to check for new sound?
- # [15:30] <Lachy> That seems very inefficient
- # [15:30] <cyberix> yes
- # [15:30] <cyberix> it is not inefficent
- # [15:30] <cyberix> because
- # [15:31] <Lachy> the browser is wasting many cycles checking for new sound, running that function over and over again. How is that not inefficient?
- # [15:31] <cyberix> it makes sure you are only polling one sound at all times
- # [15:31] <cyberix> with push you might end up pushing multiple sounds at the same time
- # [15:32] <cyberix> ofcourse you don't do polling when the function has not been defined
- # [15:32] <Philip`> If you're dynamically generating sound, you're probably making a game and it's doing setInterval(updateFrame, 0) so you're already using up as many CPU cycles as you can, and it doesn't matter if a few more are spent on sound
- # [15:32] <hsivonen> Philip`: well, this ⟩/⟨ stuff is going to take way more of my time than I'd like
- # [15:32] * Quits: erlehmann (n=erlehman@82.113.121.7) ("Ex-Chat")
- # [15:32] <cyberix> I guess Lachy is worried about generating silence eating up lots of resources
- # [15:33] <cyberix> however most of the time you would not be using this callback to generate silence
- # [15:33] <cyberix> you'd rather not use sound output at all
- # [15:33] <Lachy> why does it matter if multiple sounds are pushed to it? Depending on how the API is defined to work, they can either play sequentially, or be multiplexed and output together.
- # [15:34] <cyberix> anyway
- # [15:34] <cyberix> We have been looking at different APIs on desktop side
- # [15:35] <cyberix> it seems everyone uses push
- # [15:35] <Lachy> all I'm saying is that it makes much more sense for the API to be something like audio.synthesizeSound(...); and have it play immediately, rather than having the polling method just waiting for something to be returned
- # [15:35] <cyberix> except for JACK
- # [15:35] <cyberix> whose developers say push is not a good idea because at the bottom you always have the sound device that is pull
- # [15:36] <cyberix> and you can implement push on top of pull easier than the other way around
- # [15:36] <cyberix> however JACK is really realtime critical
- # [15:36] <cyberix> if some process doesn't return the sound to it in time, it will kick the process out
- # [15:36] <cyberix> "no more sound for you"
- # [15:37] <Philip`> JACK seems to have different requirements to most normal audio systems, where it doesn't matter so much if there's a glitch and you lose a few milliseconds
- # [15:37] * Quits: myakura (n=myakura@p3213-ipbf4202marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [15:37] <hsivonen> aaargh. the difference in length between lang and LeftAngleBracket changes line wrapping, too
- # [15:37] <Philip`> Doing anything real-time based on JavaScript seems like a futile idea :-)
- # [15:38] <cyberix> so push is probably the way to go then
- # [15:38] <cyberix> and there should probably be just one channel out
- # [15:38] <cyberix> stereo
- # [15:38] <cyberix> if you want mixing, do it yourself
- # [15:39] <Lachy> but stereo is 2 channels
- # [15:39] <cyberix> one stereo channel
- # [15:39] <Philip`> I suppose it'd be nice to be extensible so we can do surround-sound output in the far future
- # [15:39] <cyberix> We also looked at this
- # [15:39] <cyberix> the conclusion was
- # [15:39] <Philip`> (rather than hard-coding the stereo assumption)
- # [15:39] <cyberix> there is no way to extend stereo into being surround
- # [15:40] <Lachy> and we'd probably want to design the API to be flexible enough to handle multiple channels, even if the first version of the API only supports L and R
- # [15:40] <cyberix> surround is something completely different
- # [15:40] <cyberix> it doesn't need to be part of the same API
- # [15:40] <cyberix> if you do that in future, you may as well define a new API
- # [15:40] * Quits: kmartiin (n=kmartiin@dslb-094-223-148-193.pools.arcor-ip.net) (Remote closed the connection)
- # [15:40] <Philip`> I suppose it'd be nice to support mono for e.g. iPhone applications where you don't care much about audio quality and do care about processing time
- # [15:40] <cyberix> We also thought about that
- # [15:41] <cyberix> a function returning sound returns a pair of channels
- # [15:41] <cyberix> so ([3,5,3,7],[3,7,3,1])
- # [15:41] <cyberix> (left,right)
- # [15:41] <cyberix> if you want to save cpu and do mono
- # [15:41] <cyberix> just have the same reference on both sides
- # [15:42] <cyberix> the API can still be stereo
- # [15:42] <Lachy> do the numbers in those arrays just represent frequencies or something?
- # [15:42] <Philip`> That sounds quite sensible
- # [15:42] <cyberix> Lachy: yes, in no particular format
- # [15:42] <cyberix> so that would be four frames of stereo sound
- # [15:43] <Philip`> though I expect it'd be hard for browsers to optimise that case, so they'd still treat it as two independent channels and decode each number twice
- # [15:43] <cyberix> the reason why we want to have only one stereo channel going out is
- # [15:43] <cyberix> that otherwise people will expect us to implement ways of synchronising mixing
- # [15:44] <Philip`> Perhaps you'd want something similar to the canvas ImageData / WebGL typed arrays so it's much faster to transfer lists of numbers from JS to native code
- # [15:45] <cyberix> what does native code mean?
- # [15:45] <Philip`> C++
- # [15:45] <Philip`> (or C or whatever)
- # [15:46] <Philip`> where the browser converts the JS data into a format suitable for the platform's audio API
- # [15:46] * Lachy is reminded of the sound function in Logo, which, IIRC, accepted a frequency in Hz and outputt the tone.
- # [15:46] <cyberix> I'm not sure I understand, but I think this is implementation specific
- # [15:47] <cyberix> I've been working with a sound generator library called libkunquat
- # [15:47] <Philip`> It's not just implementation specific - if I can write playAudioData([1,2,1,-1]) then I could also make an array object with a getter function for the '3' property that does something crazy, and implementations will have to be slow to cope with that situation
- # [15:47] <cyberix> the api for reading sound is
- # [15:48] <Philip`> whereas it's easier if they take a more restricted type of array object than the plain JS Array
- # [15:48] <cyberix> mix(int frames,int resolution) -> ([float],[float])
- # [15:49] <AryehGregor> What are the use-cases for <datalist> being an actual element rather than just a JS API? The only use-case I can think of for it is auto-suggest features, and a JS-only API would be much more convenient for that.
- # [15:49] <hsivonen> http://24ways.org/2009/real-fonts-and-rendering
- # [15:49] <AryehGregor> Is the idea that you might want to have some fixed list of auto-suggestions decided at page serve time? Why?
- # [15:49] <hsivonen> Apparently using the OS font renderer now counts as doing its own thing
- # [15:49] <cyberix> so what I would do is while(True){var buffer=mix(5,44100); jsplay(buffer);}
- # [15:50] <Philip`> hsivonen: That page scrolls really very slowly in Opera :-(
- # [15:50] <adactio> AryehGregor: the way I see it, datalist is an example of a common scripted solution that is moving to being declarative ...just like most of the new input types.
- # [15:50] <hsivonen> Philip`: probably thanks to the translucent border along the view port edges
- # [15:51] <AryehGregor> adactio, but what's it a solution *to*? Usually you want to provide autosuggest dynamically based on what the user has typed so far.
- # [15:51] <AryehGregor> Why would you want non-scripted autosuggest?
- # [15:51] <hsivonen> AryehGregor: for the same reason the combobox widget exists on desktop
- # [15:51] <AryehGregor> What's a combobox widget?
- # [15:52] <AryehGregor> (Wow, loading http://about.validator.nu/ in WebKit is a pretty good argument against using web fonts right now.)
- # [15:53] <zcorpan> AryehGregor: or a good argument against using webkit :P
- # [15:54] <cyberix> Philip`: So what you mean with soundcanvas is a special datatype for storing wavs, and editing them?
- # [15:54] <AryehGregor> zcorpan, authors don't get to make those arguments very effectively. :)
- # [15:55] <hsivonen> AryehGregor: yeah, I'm failing so far at convincing the WebKit team to fix this
- # [15:56] <AryehGregor> Oh, Opera has some support for datalist now?
- # [15:56] <gsnedders> Have had for ages
- # [15:56] <AryehGregor> Interesting, I'll have to try it.
- # [15:56] <Philip`> cyberix: I mean something kind of like https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/doc/spec/WebGL-spec.html#5.14.3.10 as just a more efficient alternative to Arrays (since I assume efficiency is important here)
- # [15:57] <gsnedders> AryehGregor: I think the support is limited to the parser though, I don't think we support any more.
- # [15:57] <Philip`> cyberix: (Ideally those types wouldn't be WebGL-specific - I think the current vague plan is to make them more universal)
- # [15:57] <AryehGregor> gsnedders, oh, so it's not supported practically speaking?
- # [15:58] <AryehGregor> No, it seems to work.
- # [15:58] <AryehGregor> Neat.
- # [15:59] * gsnedders doesn't know
- # [15:59] <AryehGregor> I'm still not sure why you'd want it static.
- # [15:59] <cyberix> Philip`: Does the API for 2d-picture canvas take only WebGL structures, or does it take simple inefficient js as well?
- # [16:00] <gsnedders> AryehGregor: Ah, it doesn't exist in 10.50
- # [16:00] <gsnedders> AryehGregor: Apart from in the parser.
- # [16:00] <AryehGregor> gsnedders, works for me in 10.10 . . .
- # [16:00] <gsnedders> Yeah, removed in 2.4
- # [16:00] <AryehGregor> data:text/html,<!doctype html><form><input list="mylist"></form><datalist id="mylist"><option value="foo"><option value="bar"></datalist>
- # [16:00] <AryehGregor> Why removed?
- # [16:00] <cyberix> Philip`: also, there is no such thing as sound accelerator cards.
- # [16:01] <gsnedders> AryehGregor: Dropped from spec
- # [16:01] <AryehGregor> . . .
- # [16:01] <AryehGregor> http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-datalist-element
- # [16:01] * Quits: boblet (n=boblet@p1072-ipbf36osakakita.osaka.ocn.ne.jp)
- # [16:01] <cyberix> Philip`: And operating with the regular java-script should be efficient
- # [16:01] <AryehGregor> http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-list
- # [16:01] <cyberix> Philip`: If it is not, we should improve that instead of making a special data type
- # [16:03] <Philip`> cyberix: The 2D canvas API has the same kind of thing, for putImageData - you can't pass in arbitrary JS objects, you have to construct one with createImageData and fill in the array (which is defined to clamp values that you insert, so it can be implemented as an 8-bit buffer)
- # [16:04] <gsnedders> AryehGregor: Oh, I'm thionking of datagrid
- # [16:04] <cyberix> that might make sense for the time being
- # [16:05] <gsnedders> AryehGregor: And if I actually read the bug, we removed support for external @data providers on datalist, form, and select.
- # [16:05] <cyberix> however I do not consider it important
- # [16:05] <cyberix> it would be more important to get an API in first place
- # [16:05] <AryehGregor> gsnedders, does the data URL I gave above work in 10.50 or not?
- # [16:05] <AryehGregor> It works in 10.10.
- # [16:05] <cyberix> so people could thell us what is wrong with thwm
- # [16:05] <cyberix> them
- # [16:05] <Philip`> cyberix: Yeah, it's probably not the biggest concern
- # [16:05] <cyberix> instead of writing hacks in flash
- # [16:06] <gsnedders> AryehGregor: yes
- # [16:06] <cyberix> However
- # [16:06] <AryehGregor> gsnedders, okay, great.
- # [16:06] <AryehGregor> Maybe I'll implement that for MW search suggest.
- # [16:06] <cyberix> if it is going to be push
- # [16:06] <cyberix> it requires no support from the html document
- # [16:06] <cyberix> does html5 specify such things at all?
- # [16:07] <cyberix> global js functions that you can call from anywhere
- # [16:08] <TabAtkins> Sure, any function in the global namespace.
- # [16:08] <TabAtkins> <script>function foo(){}</script>
- # [16:08] <cyberix> Give me an example, so I can look it up in the spec
- # [16:09] <Philip`> cyberix: I assume you mean functions that the spec defines, which can be called from anywhere?
- # [16:09] <Philip`> See e.g. http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#the-window-object for lots
- # [16:10] * Joins: joe__ (n=joe@199.199.210.66)
- # [16:12] <cyberix> I just realized we should probably have one player for each frame
- # [16:13] * Quits: joe__ (n=joe@199.199.210.66) (Client Quit)
- # [16:13] <cyberix> which means that, eventually one guy is going to code a drum machine, and another guy is going to code a synth
- # [16:13] <cyberix> and they will come to us asking how they can synchronize them
- # [16:13] * Joins: joe__ (n=joe@199.199.210.66)
- # [16:13] <cyberix> even though they run in different frames
- # [16:13] * Quits: joe__ (n=joe@199.199.210.66) (Client Quit)
- # [16:14] * Joins: Breakmau5 (n=breakz@erft-5d8082cb.pool.mediaWays.net)
- # [16:15] * Joins: jgornick (n=joe@199.199.210.66)
- # [16:16] <cyberix> Philip`: Should probably think this trough
- # [16:17] <cyberix> Philip`: However now I'm off to write my thesis
- # [16:17] <cyberix> have fun
- # [16:17] * Philip` should probably do the same, eventually
- # [16:17] <cyberix> :-)
- # [16:18] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [16:19] <TabAtkins> Hrm. I'm wondering if it's worth it to figure out how to use Strawberry Perl on my desktop, or if I should just throw the perl up on my server and run it there instead.
- # [16:23] <AryehGregor> What's Strawberry Perl?
- # [16:24] <TabAtkins> apparently a good windows distribution of perl?
- # [16:24] <AryehGregor> Hmm. How about you just use a non-broken OS for your desktop? :)
- # [16:24] <TabAtkins> Company policy.
- # [16:25] * Quits: danbri (n=danbri@unaffiliated/danbri) (Read error: 110 (Connection timed out))
- # [16:26] <TabAtkins> However, I also can't get this running on my linux server.
- # [16:26] <TabAtkins> Philip`: How I run teh codez? (for font-optimizer)
- # [16:28] * Joins: Hish_____ (n=chatzill@p57B7FAFE.dip.t-dialin.net)
- # [16:28] <Philip`> TabAtkins: First, you download it
- # [16:28] <Philip`> TabAtkins: Then, you run it
- # [16:28] <TabAtkins> These instructions are useless lies.
- # [16:28] <Philip`> Couldn't be simpler :-)
- # [16:31] <Philip`> Do you have a specific problem with it?
- # [16:32] <TabAtkins> Yes. It keeps claiming that it can't find Font/TTF/Font.pm
- # [16:33] <TabAtkins> Which would probably be because there is no Font/TTF in the archive i downloaded.
- # [16:33] <Philip`> It should be in the ext directory
- # [16:33] <TabAtkins> Indeed, I have found it buried deep within.
- # [16:34] <Philip`> ext/Font-TTF/lib
- # [16:34] <Philip`> and subset.pl says: use lib 'ext/Font-TTF/lib';
- # [16:34] <Philip`> so it should find that file
- # [16:36] <TabAtkins> It did not. I was able to drop TTF into the Font folder in one of the spots in my @INC path, though, and it worked.
- # [16:37] <Philip`> You shouldn't have to do that
- # [16:38] <Philip`> and you shouldn't do that because you'll forget to update it if the code's ever updated
- # [16:38] <TabAtkins> Shrug. I dunno what to tell you. I r noobz at perl.
- # [16:44] * Quits: Hish____ (n=chatzill@p57B7EB2F.dip.t-dialin.net) (Read error: 110 (Connection timed out))
- # [16:44] <AryehGregor> How do I delete an element from a document using DOM methods?
- # [16:45] <peol> elem.removeChild(child)
- # [16:45] <AryehGregor> So elem.parentNode.removeChild( elem )?
- # [16:45] <AryehGregor> That seems roundabout.
- # [16:45] * Quits: paul_irish (n=paul_iri@c-71-192-163-128.hsd1.nh.comcast.net) (Read error: 113 (No route to host))
- # [16:46] <peol> https://developer.mozilla.org/En/DOM/Node.removeChild
- # [16:46] <peol> also, ##javascript
- # [16:48] <jgraham> AryehGregor: Yeah, somewhat. Although having elem.removeFromParent seems somewhat unnecessary
- # [16:48] <AryehGregor> Why not just elem.remove()?
- # [16:48] <jgraham> I would expect that to remove a child
- # [16:48] <AryehGregor> Weird.
- # [16:48] <Dashiva> Not if it had zero arguments
- # [16:49] <jgraham> (in the absence of other clues, like a removeChild method)
- # [16:49] * aroben is now known as aroben|testing
- # [16:49] <Dashiva> How about document.removeNode(node) then?
- # [16:49] <Dashiva> Hum, no, wouldn't work outside documents
- # [16:49] <gsnedders> Dashiva: Only works on children of that node
- # [16:49] * gsnedders realizes that was dumb, and that he should pasy attention
- # [16:50] <Dashiva> A dumb comment to a dumb suggestions seems par for the course :)
- # [16:50] <jgraham> Yes you do look pasty
- # [16:50] * gsnedders looks blankly at jgraham over his monitor
- # [16:50] * jgraham assumes that was a freudian slip
- # [16:50] * gsnedders slouches back below his monitor
- # [16:50] <jgraham> For some loose definiton of "freudian"
- # [16:51] <jgraham> That doesn't necessarially imply horses, penis envy, or wanting to sleep with your mother
- # [16:51] <Dashiva> The "white male with strong opinions" definition? :)
- # [16:51] * gsnedders shakes head at James...
- # [16:52] <gsnedders> You would just mention _those_ bits of Freud's work.
- # [16:52] <jgraham> What, the famous bits?
- # [16:52] <gsnedders> Well, yes.
- # [16:52] <Dashiva> I wasn't aware of the horses
- # [16:53] * jgraham gets his education from pop songs
- # [16:53] * gsnedders gets his education from Wikipedia
- # [16:53] <jgraham> (in this case "Judy and the Dream of Horses")
- # [16:54] <Dashiva> I wonder ponies have horse envy
- # [16:54] * Philip` gets his education from IRC
- # [16:55] * Quits: JoePeck (n=JoePeck@cpe-74-69-85-249.rochester.res.rr.com)
- # [16:56] <Dashiva> Philip`: How did you learn about IRC?
- # [16:56] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Remote closed the connection)
- # [16:56] <workmad3> ah, freud, probably the most prolific and influential case of experimental bias ever :)
- # [16:57] * Quits: mat_t (n=mattomas@91.189.88.12) (Remote closed the connection)
- # [16:57] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [16:58] * Joins: FireFly (n=firefly@unaffiliated/firefly)
- # [16:59] <Philip`> Dashiva: I don't remember
- # [16:59] <Philip`> That experience is lost in the mists of time
- # [16:59] <Dashiva> Maybe you were born here
- # [16:59] <Philip`> For all I know, I could have learnt it from IRC
- # [17:00] <jgraham> Maybe his future self will learn about time travel from IRC and teach his past self about IRC
- # [17:05] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
- # [17:10] * aroben|testing is now known as aroben
- # [17:11] * Quits: Breakmau5 (n=breakz@erft-5d8082cb.pool.mediaWays.net) (No route to host)
- # [17:13] <hsivonen> whoa! Since when has Apple been shipping a DejaVu derivative font called Menlo?
- # [17:13] <hsivonen> new in Snow Leopard?
- # [17:16] * Joins: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at)
- # [17:17] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Remote closed the connection)
- # [17:17] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [17:19] <daedb> hsivonen: http://arstechnica.com/apple/news/2009/06/font-changes-coming-to-mac-os-x-snow-leopard.ars
- # [17:21] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [17:22] <hsivonen> daedb: thanks
- # [17:24] <hsivonen> daedb: thanks
- # [17:25] <hsivonen> Hixie: the new characters for ⟨ and ⟩ have a much worse real-world font situation than the old ones
- # [17:26] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [17:40] * Joins: ttepasse (n=ttepas--@dslb-088-077-084-131.pools.arcor-ip.net)
- # [17:42] * Quits: peroo (n=peroo@peroo.xen.prgmr.com) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: hsivonen (n=hsivonen@130.233.41.50) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: takkaria (n=takkaria@isparp.co.uk) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: Ruetobas (i=Ruetobas@114-32-107-228.HINET-IP.hinet.net) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: ciaran_lee (i=leecn@spoon.netsoc.tcd.ie) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: Hixie (i=ianh@trivini.no) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: broquaint (i=62cb5519@81.102.240.104) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: jianli (n=jianli@74.125.59.65) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: kinetik (n=kinetik@121.98.132.55) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Quits: mitsuhiko (n=mitsuhik@ubuntu/member/mitsuhiko) (lindbohm.freenode.net irc.freenode.net)
- # [17:42] * Joins: peroo_ (n=peroo@peroo.xen.prgmr.com)
- # [17:43] * Joins: kinetik (n=kinetik@121.98.132.55)
- # [17:43] * Joins: ciaran_lee (i=leecn@134.226.83.42)
- # [17:43] * Joins: hsivonen (n=hsivonen@130.233.41.50)
- # [17:43] * Joins: giroro_ (i=Ruetobas@114-32-107-228.HINET-IP.hinet.net)
- # [17:43] * Joins: broquaint (i=09ea70f4@spc2-brig11-0-0-cust103.asfd.cable.virginmedia.com)
- # [17:43] * Joins: takkaria (n=takkaria@208.75.87.166)
- # [17:43] * Joins: Hixie (i=ianh@129.241.93.37)
- # [17:43] * Joins: jianli (n=jianli@74.125.59.65)
- # [17:44] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
- # [17:44] * Joins: mitsuhiko (n=mitsuhik@ubuntu/member/mitsuhiko)
- # [17:46] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [17:50] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [17:53] * Quits: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at) (Client Quit)
- # [17:58] * Quits: JonathanNeal (n=Jonathan@76-219-69-134.lightspeed.breaca.sbcglobal.net) (Read error: 110 (Connection timed out))
- # [18:05] * Joins: archtech (i=stanv@83.228.56.37)
- # [18:06] * Joins: ap (n=ap@17.246.19.5)
- # [18:07] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [18:09] * Joins: JonathanNeal (n=Jonathan@rrcs-76-79-114-213.west.biz.rr.com)
- # [18:15] * Joins: guardian (n=guardian@92.103.229.106)
- # [18:19] * Joins: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at)
- # [18:20] * Quits: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at) (Remote closed the connection)
- # [18:26] * Quits: ATAN (n=Matt@unaffiliated/atan) ("Leaving")
- # [18:26] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
- # [18:29] * Quits: Phae (n=phaeness@gateb.thls.bbc.co.uk)
- # [18:29] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [18:41] * Joins: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at)
- # [18:43] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
- # [18:44] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [18:44] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [18:52] * Joins: dave_levin (n=dave_lev@74.125.59.73)
- # [18:56] * Quits: foolip (n=philip@h-63-95.A163.priv.bahnhof.se) (Client Quit)
- # [18:58] * Quits: guardian (n=guardian@92.103.229.106)
- # [19:07] * Quits: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at) (Client Quit)
- # [19:07] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
- # [19:15] * Quits: archtech (i=stanv@83.228.56.37) (Client Quit)
- # [19:18] * Joins: erlehmann (n=erlehman@82.113.106.4)
- # [19:21] * Joins: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no)
- # [19:21] * virtuelv is now known as arve
- # [19:21] * arve is now known as virtuelv
- # [19:24] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 60 (Operation timed out))
- # [19:26] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [19:28] * Parts: adactio (n=adactio@host213-123-197-180.in-addr.btopenworld.com)
- # [19:30] * Quits: weinig (n=weinig@c-71-198-185-234.hsd1.ca.comcast.net)
- # [19:32] * Joins: maikmerten (n=maikmert@port-92-201-73-1.dynamic.qsc.de)
- # [19:35] * Joins: guardian (n=guardian@ANantes-252-1-25-10.w82-126.abo.wanadoo.fr)
- # [19:54] * Joins: daedb_ (n=daed@h11n1fls34o986.telia.com)
- # [19:55] * Joins: archtech (i=stanv@83.228.56.37)
- # [19:56] * aroben is now known as aroben|lunch
- # [19:57] * erlehmann is now known as erschlafmann
- # [19:58] * Quits: mhausenblas (n=mhausenb@wg1-nat.fwgal01.deri.ie)
- # [20:00] * Joins: daedb__ (n=daed@h11n1fls34o986.telia.com)
- # [20:12] * Quits: shepazutoo (n=schepers@adsl-221-113-149.rmo.bellsouth.net) ("Core Breach")
- # [20:13] * Joins: gratz|home (n=gratz@cpc3-brig15-2-0-cust237.3-3.cable.virginmedia.com)
- # [20:15] * Quits: daedb (n=daed@h11n1fls34o986.telia.com) (Read error: 110 (Connection timed out))
- # [20:20] * daedb__ is now known as daedb
- # [20:20] * Joins: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [20:24] * Quits: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams) (Client Quit)
- # [20:24] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [20:25] * Quits: daedb_ (n=daed@h11n1fls34o986.telia.com) (Read error: 110 (Connection timed out))
- # [20:28] * Joins: shepazu (n=schepers@adsl-221-113-149.rmo.bellsouth.net)
- # [20:29] * Joins: weinig (n=weinig@17.246.18.80)
- # [20:31] * Joins: alienfactory (n=alien@c-76-126-36-194.hsd1.ca.comcast.net)
- # [20:47] * Joins: dbaron (n=dbaron@nat/mozilla/x-ibhwkaptwnyssfxv)
- # [20:59] * Joins: Breakmau5 (n=breakz@erft-5d8082cb.pool.mediaWays.net)
- # [21:04] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [21:09] * Joins: MikeSmithX (n=MikeSmit@EM114-48-133-94.pool.e-mobile.ne.jp)
- # [21:10] * Quits: MikeSmith (n=MikeSmit@EM114-48-140-241.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [21:13] * aroben|lunch is now known as aroben
- # [21:16] * Joins: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi)
- # [21:17] * Quits: maikmerten (n=maikmert@port-92-201-73-1.dynamic.qsc.de) (Remote closed the connection)
- # [21:35] * Joins: jorlow (n=jorlow@nat/google/x-luwocxhiwraorili)
- # [21:45] * Joins: ojan (n=ojan@72.14.229.81)
- # [21:52] <cyberix> Philip`: I don't think we need binary buffers for sound
- # [21:52] * Quits: webben (n=benjamin@173-45-238-110.slicehost.net) ("WeeChat 0.3.0")
- # [21:53] <cyberix> Philip`: I just ate lunch with the main Kunquat developer, and we discussed the matter
- # [21:53] <cyberix> Even while coding C it is just typical to use float arrays to represent sound
- # [21:55] <Philip`> cyberix: I think the problem is that in JS (in some (all?) implementations), a float is a garbage-collected heap-allocated object
- # [21:56] <Philip`> which is a lot of overhead, when you have a hundred thousand of them per second
- # [21:57] <Philip`> (compared to a specialised array with a 4-byte-per-element backing store)
- # [22:03] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:04] <cyberix> Philip`: It'd the be job for the js engine writers to improve it
- # [22:05] <cyberix> then
- # [22:05] <cyberix> I don't think it is going to block anything
- # [22:05] <cyberix> it is just going to consume lots of resources
- # [22:05] <cyberix> that is ok
- # [22:05] <cyberix> there is always two options for that kind of problem
- # [22:05] <cyberix> one is to buy a more expensive computer
- # [22:06] <cyberix> and the other is to improve js
- # [22:06] <cyberix> :-)
- # [22:06] <cyberix> I think canvas uses this funny type because it can then access graphics acceleration
- # [22:06] <cyberix> standards like opengl define operations on graphics
- # [22:07] <cyberix> it is then easy to take that set of operations and reveal it to the use
- # [22:07] <cyberix> user
- # [22:07] <cyberix> in sound such a standard set of operations has not been defined
- # [22:07] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [22:07] * Quits: miketaylr (n=miketayl@38.117.156.163) (Remote closed the connection)
- # [22:08] <cyberix> and trying to do it on demand would probably not lead to very good results
- # [22:09] * Joins: webben (n=benjamin@173-45-238-110.slicehost.net)
- # [22:09] * Quits: berny- (i=berny@666.syx.sk) (Remote closed the connection)
- # [22:11] <Philip`> cyberix: Yeah, this probably isn't an important point
- # [22:11] * Joins: berny- (i=berny@666.syx.sk)
- # [22:12] <Philip`> The best approach is likely to be to list and describe use cases, and come up with an initial design, and get interest from implementors, and then iterate on the design
- # [22:16] <cyberix> If a page has frames
- # [22:16] <cyberix> do those frames have a Windows object?
- # [22:16] <cyberix> -s
- # [22:17] <Philip`> Every browsing context has its own Window object, and every page and frame and <iframe> and <object> etc has its own browsing context, if I remember correctly
- # [22:17] * Quits: weinig (n=weinig@17.246.18.80)
- # [22:17] <cyberix> ok
- # [22:19] <cyberix> in that case we are talking about a function Window.outputSound([[float],[float]])
- # [22:19] <Philip`> I guess it'd be better to add new API onto a new object, rather than cluttering up the existing ones, like how HTML5 originally had no <audio> element (I think) and you did "new Audio()" then called methods on it
- # [22:19] <Philip`> since it's likely to end up with lots of methods and properties
- # [22:20] <cyberix> I couldn't come up with any other method, but I'm still a wee bit unsure about, if the amplitude should be fixed to 48KHz
- # [22:20] <karlushi> hmm funny bug, a javascript program with a line like "//@boo = foo;" is interpreted in IE6, 7, and 8. wonder what's happening
- # [22:20] <Philip`> karlushi: Conditional comments, probably
- # [22:21] <cyberix> in any case there is probably not going to be an html element for this thing
- # [22:22] <Philip`> karlushi: http://en.wikipedia.org/wiki/Conditional_comment#Conditional_Comment_in_JScript etc
- # [22:22] <cyberix> unless someone thinks this belongs to the audio element
- # [22:22] <karlushi> Philip`, thanks !!!
- # [22:24] * aroben is now known as aroben|away
- # [22:26] * Quits: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi) (Remote closed the connection)
- # [22:26] <cyberix> Philip`: Do you have any ideas regarding internal buffer size
- # [22:27] <Philip`> cyberix: I'd imagine different pages might want to make their own tradeoffs of latency vs skip-prevention
- # [22:27] <Philip`> so they'd prefer widely varying buffer sizes
- # [22:27] <cyberix> Well do you have any idea on maximum hen
- # [22:27] <cyberix> then
- # [22:27] <cyberix> should probably not allow 1GB buffers
- # [22:27] <Philip`> but it largely depends on the use cases and I don't really know what they are
- # [22:28] * Quits: webben (n=benjamin@173-45-238-110.slicehost.net) (Client Quit)
- # [22:28] <Philip`> I don't know enough about audio to have any specific suggestions for things like buffer sizes :-)
- # [22:29] <cyberix> it is ofcourse always better for the software to have a bigger buffer
- # [22:29] * Joins: webben (n=benjamin@173-45-238-110.slicehost.net)
- # [22:29] <cyberix> but it might not be good for users to have 1GB web pages
- # [22:31] * Quits: alienfactory (n=alien@c-76-126-36-194.hsd1.ca.comcast.net) (Client Quit)
- # [22:36] * Quits: sbublava (n=stephan@77.116.116.81.wireless.dyn.drei.com)
- # [22:39] <jgraham> cyberix: Using js arrays seems problematic; what happens if I do a = new Array(100); a[0]= 1.7; a[1]=2.0; a.__defineGetter__(3, function() {return 1}); a[4] = {"valueOf":function() {return 1.3}}; a[99] = "A"
- # [22:41] <jgraham> Possibly it is possible to make the common case performant
- # [22:42] * Joins: cpearce (n=cpearce@203-97-204-82.dsl.clear.net.nz)
- # [22:43] * Joins: cying (n=cying@70.90.171.153)
- # [22:43] <jgraham> (but something like a bytearray might be much simpler)
- # [22:44] * Quits: pmuellr (n=pmuellr@nat/ibm/x-tuubtiiizoiwxzzi)
- # [22:45] * Quits: Breakmau5 (n=breakz@erft-5d8082cb.pool.mediaWays.net) (Read error: 60 (Operation timed out))
- # [22:47] * Joins: Heimidal (n=heimidal@c-98-238-192-98.hsd1.ca.comcast.net)
- # [22:47] * Quits: Heimidal (n=heimidal@unaffiliated/heimidal) (Remote closed the connection)
- # [22:47] * Joins: Heimidal (n=heimidal@c-98-238-192-98.hsd1.ca.comcast.net)
- # [22:54] * Quits: ojan (n=ojan@72.14.229.81)
- # [22:54] * Joins: dimich (n=dimich@74.125.59.65)
- # [22:57] <cyberix> jgraham: I don't get your example. You are accessing a uninitialized value 99?
- # [23:09] * Quits: dave_levin (n=dave_lev@74.125.59.73)
- # [23:09] * Quits: zalan (n=zalan@catv-89-135-110-229.catv.broadband.hu) (Read error: 110 (Connection timed out))
- # [23:10] * Joins: othermaciej (n=mjs@17.246.16.53)
- # [23:10] * Joins: ojan (n=ojan@72.14.229.81)
- # [23:11] <jgraham> cyberix: Arrays in javascript are just normal objects, more or less
- # [23:11] <jgraham> In particular they can be sparse; not every index need be defined
- # [23:12] * Quits: BlurstOfTimes (n=blurstof@168.203.117.66) (Client Quit)
- # [23:12] * Joins: dave_levin (n=dave_lev@74.125.59.73)
- # [23:12] <jgraham> So in the example I create an arry with length 100, populate the first few index properties with things-that-might-evaluate-to-floats
- # [23:12] <jgraham> Then leave a bunch of undefined properties ("holes") and populate the last index with a string
- # [23:17] <cyberix> okay
- # [23:17] <cyberix> I see now
- # [23:18] <cyberix> jgraham: So an evil user could try attacking the browser by giving perverted parameters to outputSound()
- # [23:18] <cyberix> and we need something that is much more restrictive than an array
- # [23:18] <cyberix> because there is no type signatures
- # [23:21] <Philip`> It's not about security, it's about the possibility of users doing crazy things meaning that it's hard for browser to optimise the non-crazy cases
- # [23:21] <cyberix> oh
- # [23:21] <Philip`> s/browser/browsers/
- # [23:21] <cyberix> well users doing crazy things know they are doing crazy things
- # [23:21] <cyberix> and if the kill the performance by doing so
- # [23:21] <cyberix> well
- # [23:21] <cyberix> then they do
- # [23:21] <Philip`> Browsers don't know users are doing crazy things, so in some cases they have to assume the worst
- # [23:22] <cyberix> sure
- # [23:22] * Joins: nattokirai (n=nattokir@y224241.dynamic.ppp.asahi-net.or.jp)
- # [23:22] <cyberix> Should probably measure this in some way
- # [23:22] <Philip`> (which means worse performance than if the API is restricted so users can't do crazy things)
- # [23:22] <cyberix> generating some random floats and mixing them
- # [23:22] <cyberix> and throwing the result away
- # [23:22] <cyberix> as fast as possible
- # [23:25] * Quits: nattokirai (n=nattokir@y224241.dynamic.ppp.asahi-net.or.jp) (Client Quit)
- # [23:27] * Joins: boblet (n=boblet@p1072-ipbf36osakakita.osaka.ocn.ne.jp)
- # [23:31] * Quits: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com) ("ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [23:31] * Quits: workmad3 (n=workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote closed the connection)
- # [23:32] * Joins: nessy (n=Adium@239.140.LCA2010.fx.net.nz)
- # [23:34] * Joins: Breakmau5 (n=breakz@erft-5d8082cb.pool.mediaWays.net)
- # [23:37] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [23:38] <jgraham> cyberix: (a good example of a more restricted datatype in javascript is a string; you simply can't do most weird stuff on a string object and have it affect the actual (immutable) character values)
- # [23:45] * Joins: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at)
- # [23:46] * Quits: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at) (Remote closed the connection)
- # [23:47] * Joins: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [23:48] * Joins: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at)
- # [23:49] * Quits: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at) (Client Quit)
- # [23:56] * Quits: Breakmau5 (n=breakz@erft-5d8082cb.pool.mediaWays.net) (Read error: 60 (Operation timed out))
- # Session Close: Wed Jan 20 00:00:00 2010
The end :)