*** Estel_ has quit IRC | 00:22 | |
*** FIQ|n900 has quit IRC | 00:26 | |
*** jonwil has joined #maemo-ssu | 00:36 | |
jonwil | ~seen pali | 00:37 |
---|---|---|
infobot | pali <~pali@Maemo/community/contributor/Pali> was last seen on IRC in channel #maemo-ssu, 3d 11h 17m 43s ago, saying: 'freemangordon, do you know state of portrait keyboard?'. | 00:37 |
*** FIQ|n900 has joined #maemo-ssu | 01:18 | |
*** arcean has quit IRC | 01:24 | |
*** dhbiker has quit IRC | 01:47 | |
*** BCMM has quit IRC | 02:11 | |
*** FIQ|n900 has quit IRC | 02:33 | |
*** FIQ|n900 has joined #maemo-ssu | 02:50 | |
*** jon_y has quit IRC | 03:23 | |
*** NIN101 has quit IRC | 03:58 | |
*** BCMM has joined #maemo-ssu | 04:29 | |
*** jonwil has quit IRC | 04:41 | |
*** M4rtinK has quit IRC | 04:57 | |
*** amiconn_ has joined #maemo-ssu | 05:51 | |
*** amiconn has quit IRC | 05:51 | |
*** amiconn_ is now known as amiconn | 05:51 | |
*** FIQ|n900 has quit IRC | 06:00 | |
*** DocScrutinizer05 has quit IRC | 06:04 | |
*** DocScrutinizer06 has joined #maemo-ssu | 06:04 | |
*** BCMM has quit IRC | 06:04 | |
*** nox- has quit IRC | 06:09 | |
*** jade has joined #maemo-ssu | 07:18 | |
*** jade has quit IRC | 07:18 | |
*** jade has joined #maemo-ssu | 07:18 | |
*** jaded has quit IRC | 07:21 | |
*** dhbiker has joined #maemo-ssu | 09:04 | |
*** LaoLang_cool has joined #maemo-ssu | 09:31 | |
*** sourav has joined #maemo-ssu | 09:48 | |
*** sourav has left #maemo-ssu | 10:00 | |
*** LaoLang_cool has quit IRC | 10:36 | |
*** NIN101 has joined #maemo-ssu | 12:02 | |
*** Estel_ has joined #maemo-ssu | 13:18 | |
*** Estel_ has quit IRC | 13:18 | |
*** Estel_ has joined #maemo-ssu | 13:18 | |
*** jonwil has joined #maemo-ssu | 13:19 | |
jonwil | ~seen pali | 13:19 |
*** Estel_ has quit IRC | 13:19 | |
infobot | pali <~pali@Maemo/community/contributor/Pali> was last seen on IRC in channel #maemo-ssu, 3d 23h 59m 32s ago, saying: 'freemangordon, do you know state of portrait keyboard?'. | 13:19 |
*** jon_y has joined #maemo-ssu | 13:28 | |
*** freemangordon has joined #maemo-ssu | 13:29 | |
*** M4rtinK has joined #maemo-ssu | 13:56 | |
*** FIQ|n900 has joined #maemo-ssu | 14:04 | |
*** arcean has joined #maemo-ssu | 14:14 | |
*** toxaris has joined #maemo-ssu | 14:50 | |
*** DocScrutinizer06 is now known as DocScrutinizer05 | 14:57 | |
chem|st | happy armageddon2.0 | 14:57 |
FIQ|n900 | chem|st: too late, it happened 11 days ago ;) | 14:58 |
chem|st | we are 70 years ahead because some king wanted to have his birthday on a century shift... | 14:59 |
chem|st | what was 1.0 if not the maya one? | 15:00 |
freemangordon | chem|st: happy http://www.youtube.com/watch?v=iJVztkKHUW0 | 15:01 |
FIQ|n900 | lol @ birthday | 15:01 |
FIQ|n900 | chem|st: y2k | 15:01 |
chem|st | well y2k was some nerd telling that his server clock will reset... to 1970.. | 15:03 |
FIQ|n900 | 3.0 will be y2k38 | 15:03 |
FIQ|n900 | chem|st: heh | 15:03 |
chem|st | still fun :) | 15:03 |
chem|st | nvm | 15:03 |
FIQ|n900 | hmm | 15:08 |
FIQ|n900 | is there any way to, in case of a boot issue @ maemo, drop to a shell instead of simply rebooting (which wont really solve stuff)? | 15:09 |
kerio | FIQ|n900: automatically? eeeh | 15:11 |
FIQ|n900 | guess not | 15:12 |
kerio | i suppose that you could start a shell if the bootreason is a certain one | 15:12 |
*** jonwil has quit IRC | 15:31 | |
*** LaoLang_cool has joined #maemo-ssu | 15:39 | |
*** FIQ|n900 has quit IRC | 15:39 | |
*** FredrIQ|n900 has joined #maemo-ssu | 16:04 | |
*** LaoLang_cool has quit IRC | 16:13 | |
*** kolp has joined #maemo-ssu | 16:15 | |
*** dhbiker has quit IRC | 16:19 | |
*** arcean has quit IRC | 16:27 | |
*** arcean_ has joined #maemo-ssu | 16:28 | |
*** arcean_ is now known as arcean | 16:51 | |
*** FredrIQ|n900 is now known as FIQ|n900 | 17:05 | |
*** amiconn has quit IRC | 17:18 | |
*** amiconn has joined #maemo-ssu | 17:18 | |
*** FIQ|n900 has quit IRC | 17:23 | |
DocScrutinizer05 | I guess we already fixed that issue for H-D respawn triggering reboot | 17:23 |
DocScrutinizer05 | for the very reason of "won't really solve stuff" | 17:24 |
DocScrutinizer05 | I been the one pushing it | 17:24 |
DocScrutinizer05 | we should do same for other reboot-on-respawn configs as well | 17:25 |
DocScrutinizer05 | e.g friggin bme | 17:25 |
*** FIQ|n900 has joined #maemo-ssu | 17:26 | |
DocScrutinizer05 | or browserd | 17:26 |
DocScrutinizer05 | or TADAAAA we could redefine general semantics of dsmetool -t to dsmetool -f | 17:27 |
freemangordon | do we have the sources? | 17:28 |
DocScrutinizer05 | since dsmetool -t and dsmetool -r are basically brainfuck | 17:28 |
DocScrutinizer05 | wrapper script, freemangordon | 17:28 |
freemangordon | hmmm | 17:28 |
freemangordon | could work, but is hackish | 17:29 |
DocScrutinizer05 | sure, I love hackish | 17:29 |
DocScrutinizer05 | it's tasty | 17:29 |
DocScrutinizer05 | or was that haeggis | 17:29 |
freemangordon | :) | 17:29 |
freemangordon | ham and eggs? | 17:29 |
DocScrutinizer05 | ~wiki heaggis | 17:30 |
infobot | I couldn't find a matching article in wikipedia, look for yerselves: http://en.wikipedia.org/wiki/Special:Search?search=heaggis&go=Go | 17:30 |
DocScrutinizer05 | hmm | 17:30 |
DocScrutinizer05 | ~wiki haggis | 17:30 |
infobot | At http://en.wikipedia.org/wiki/Haggis (URL), Wikipedia explains: "{{about|the Scottish dish|the card game|Haggis (card game)|the tour operator|HAGGiS Adventures}} {{Infobox prepared food | name = Haggis | image = | imagesize = | caption = Haggis displayed for sale | alternate_name = | country = Unknown | creator = | type = Pudding | served = | main_ingredient = Sheep's heart, liver, lungs, and stomach (or sausage casing); onion, oatmeal, suet, spices ... | 17:30 |
* merlin1991 is back from the lands of no internet | 17:31 | |
merlin1991 | anybody miss me? :D | 17:31 |
freemangordon | who were you? | 17:31 |
DocScrutinizer05 | you bet we did | 17:31 |
freemangordon | :D | 17:31 |
freemangordon | merlin1991: seems we 'll need zlib on gitorious | 17:31 |
*** FIQ|n900 has quit IRC | 17:31 | |
freemangordon | if you don't mind | 17:31 |
merlin1991 | did you find a real adavantage? | 17:32 |
merlin1991 | or is still not clear if it's faster :D | 17:32 |
DocScrutinizer05 | >>As the 2001 English edition of the Larousse Gastronomique puts it, "Although its description is not immediately appealing, haggis has an excellent nutty texture and delicious savoury flavour".<< | 17:32 |
freemangordon | luf said there is. i'll benchmark when there are source | 17:32 |
freemangordon | *s | 17:32 |
merlin1991 | https://gitorious.org/community-ssu/zlib | 17:33 |
freemangordon | merlin1991: BTW in case you've missed it NEONized libpng is ~ 33% faster on decoding | 17:33 |
merlin1991 | that IS a speedup :) | 17:33 |
DocScrutinizer05 | yup | 17:33 |
freemangordon | yeah :) | 17:34 |
merlin1991 | how far did you have to go with the versions to get that? or did you just backport a patch? | 17:34 |
DocScrutinizer05 | any 'issues' known? like instabilities or sth? | 17:34 |
freemangordon | last 1.2 libpng with backported patch | 17:34 |
freemangordon | DocScrutinizer05: none so far | 17:34 |
freemangordon | 1.2.49 | 17:34 |
freemangordon | merlin1991: BTW microb is using 1.213 or smthng, we should upgrade that too | 17:35 |
DocScrutinizer05 | so I guess it's save to assume Nokia just didn't have that patch available when they built fremantle | 17:35 |
freemangordon | yep | 17:35 |
freemangordon | it is pretty new, a couple of months old | 17:35 |
DocScrutinizer05 | then I don't think it's a big deal to slowly and carefully introduce it to CSSU | 17:35 |
freemangordon | merlin1991: or even better - add apng suppor to libpng and compile microb with system libpng and libzlib | 17:36 |
merlin1991 | apng? | 17:36 |
freemangordon | ~wiki apng | 17:37 |
merlin1991 | freemangordon: the mircob libpng was witihn the microb-engine sources right? | 17:37 |
freemangordon | yep | 17:37 |
infobot | At http://en.wikipedia.org/wiki/Apng (URL), Wikipedia explains: "{{other uses}} {{Infobox file format | name = Animated Portable Network Graphics | screenshot = | caption = An animated PNG (displays as static image in some web browsers) | extension = .png .apng | mime = | owner = | creatorcode = | genre = animated raster image format | containerfor = | containedby = | released = {{start date|2008|08|04}} | extendedfrom = PNG | extendedto = |free = yes ... | 17:37 |
freemangordon | the same for libzlib | 17:37 |
freemangordon | apng is an extension to png made by mozilla. patches exist for every libpng version | 17:38 |
freemangordon | though luf said it is better to do the stuf step by step, i'd rather do it in one step - libpng+APNG+NEON, zlib+NEON and microb compiled with the former | 17:40 |
freemangordon | libs | 17:40 |
merlin1991 | btw is microb statically linked against the lib or is it just using a private version? | 17:41 |
freemangordon | statically linked against its private version | 17:41 |
freemangordon | aiui | 17:41 |
* merlin1991 wonders if there was another reason for that besides having a fixed library version | 17:42 | |
freemangordon | apng | 17:42 |
merlin1991 | well they could have simply added that to the system lib | 17:42 |
freemangordon | and there are some comments for zlib "don;t use system zlib because some problems with linking" | 17:43 |
freemangordon | but I was able to build it with system zlib yesterday, NP at all | 17:43 |
freemangordon | (with 4.7.2, didn;t try 4.2.1) | 17:43 |
DocScrutinizer05 | fekkin wikipedia pictores on top of HTML text | 17:45 |
freemangordon | merlin1991: maybe we should check if there is anu patch for libpng in microb | 17:45 |
merlin1991 | freemangordon: we should that for sure | 17:45 |
*** FIQ|n900 has joined #maemo-ssu | 17:46 | |
DocScrutinizer05 | I guess infobot using lynx or sth to render the wikipedia HTML, and there the URL tags like {{other uses}} show up on top for such pages. I'll pester TimRiker to filter out {{.*}} shit | 17:48 |
DocScrutinizer05 | particularly filter out {{other uses}} and {{Infobox.*}} (the latter not particularly easy for embedded other {{BS-links}}) | 17:51 |
DocScrutinizer05 | could somebody come up with a counting RE that matches anny number of nested {} pairs? | 17:53 |
freemangordon | merlin1991: can't find patches to libpng in microb | 17:55 |
DocScrutinizer05 | hmmmm s/{{(^[{{]){{^[}}]*}}(^[}})}}/{{\1\2}}/ | 17:57 |
DocScrutinizer05 | RE clearly are write-once/read-never | 17:58 |
DocScrutinizer05 | ugh | 17:58 |
DocScrutinizer05 | hmmmm s/{{(^[{{]*){{^[}}]*}}(^[}}]*)}}/{{\1\2}}/ | 17:59 |
DocScrutinizer05 | or sth like that | 17:59 |
*** arcean has quit IRC | 17:59 | |
*** toxaris has quit IRC | 18:01 | |
DocScrutinizer05 | I.E repeatedly eliminate the most inner pair of {{.*}} until nothing left over | 18:08 |
kerio | DocScrutinizer05: REs can't parse nested parentheses | 18:10 |
kerio | you need pushdown automata for that | 18:11 |
*** luf has joined #maemo-ssu | 18:15 | |
luf | merlin1991: We're glad you returned from universe :D | 18:22 |
luf | BTW I need patched libxml2 first :) Can you accept the merge request? | 18:22 |
luf | freemangordon: come on I wrote you where you can find the sources. | 18:23 |
luf | merlin1991.at/~luf/zlib/source/ | 18:23 |
DocScrutinizer05 | kerio: but you can recursively solve nested stuff from inside out | 18:23 |
luf | And I'm not sure it's using neon as no problem with tests in sb ... | 18:24 |
DocScrutinizer05 | since RE can detect a pattern inside another pattern | 18:24 |
DocScrutinizer05 | or rather, an RE can match a {} pair that does NOT contain another { inside | 18:25 |
DocScrutinizer05 | which is clearly the definition of most inner nesting level, and once you eliminate that, you get the next outer nesting level as most inner one and can eliminate it as well | 18:26 |
kerio | yeah but it's not just a RE then | 18:26 |
DocScrutinizer05 | repeat until you got a non-nested structure | 18:26 |
DocScrutinizer05 | repeated application of same RE is a known feature though | 18:27 |
DocScrutinizer05 | usually you mark those as /g | 18:28 |
kerio | it's not "applied repeatedly", is it | 18:28 |
kerio | it's "don't stop at the first match" | 18:28 |
DocScrutinizer05 | not sure | 18:28 |
kerio | so at best you can remove all the lowest layers | 18:29 |
DocScrutinizer05 | you might be right for /g, however shell expansion is recursive for example | 18:29 |
DocScrutinizer05 | if $x expands to "$y" and $y expands to A then shell expansion of $x will result in A | 18:30 |
DocScrutinizer05 | so it's a known principle to do repeated expansion/transformation until the result doesn't change anymore | 18:31 |
luf | merlin1991: are again in non-internet universe? | 18:34 |
merlin1991 | no worries, I'll do the merge request :D | 18:34 |
luf | :D | 18:36 |
*** Martix has joined #maemo-ssu | 18:48 | |
*** andre__ has quit IRC | 18:49 | |
DocScrutinizer05 | kerio: http://en.wikipedia.org/wiki/Regular_expression#Perl-derived_regular_expressions >>Other examples of functionality possible with Perl [...] and recursive patterns<< | 18:53 |
kerio | when you add backtracking you get out of the realm of REs | 18:53 |
DocScrutinizer05 | since infobot is coded in perl afaik, I'd think this issue I came from will be solvable with PERL-RE | 18:53 |
DocScrutinizer05 | and actually no, backtracking is an indispensable component of solving RE greedy RE | 18:55 |
DocScrutinizer05 | greedy is default for RE | 18:55 |
DocScrutinizer05 | in fact backtracking is what makes RE slow and resource-hungry | 18:57 |
kerio | oh sorry, the issue is that if you add backreferences | 18:58 |
kerio | then it's not really a RE anymore, in the formal sense | 18:58 |
kerio | also, REs aren't slow and resource-hungry if you know the theory: http://swtch.com/~rsc/regexp/regexp1.html | 18:59 |
DocScrutinizer05 | how does knowing the theory change runtime behaviour? ;-P | 19:00 |
kerio | because once you know the theory, you go "oh, this is a piece of crap", and use a different RE engine | 19:00 |
DocScrutinizer05 | o.O | 19:01 |
DocScrutinizer05 | lost me | 19:01 |
kerio | (yes, you also need to do some changes, you don't just have to study to magically make your existing programs run faster) | 19:03 |
*** toxaris has joined #maemo-ssu | 19:07 | |
*** arcean has joined #maemo-ssu | 19:13 | |
DocScrutinizer05 | anyway I referred to real existing RE implementations, not to the mere theory of clean RE | 19:15 |
DocScrutinizer05 | and I don't give a **** about perle RE non-clean | 19:15 |
DocScrutinizer05 | I just pondered how to remove that {{naggedinagg-shit}} from "~wiki whatever" | 19:17 |
DocScrutinizer05 | since | 19:17 |
DocScrutinizer05 | ~wiki apng | 19:17 |
infobot | At http://en.wikipedia.org/wiki/Apng (URL), Wikipedia explains: "{{other uses}} {{Infobox file format | name = Animated Portable Network Graphics | screenshot = | caption = An animated PNG (displays as static image in some web browsers) | extension = .png .apng | mime = | owner = | creatorcode = | genre = animated raster image format | containerfor = | containedby = | released = {{start date|2008|08|04}} | extendedfrom = PNG | extendedto = |free = yes ... | 19:17 |
DocScrutinizer05 | is basically useless due to {{infobox bla bla bla}} | 19:18 |
DocScrutinizer05 | and infobot *is* written in perl | 19:18 |
*** kolp has quit IRC | 19:30 | |
*** dhbiker has joined #maemo-ssu | 19:32 | |
*** FIQ|n900 has quit IRC | 19:35 | |
kerio | look for the first {{, then go from there and start counting {{ and }}s until you get back to zero | 19:42 |
DocScrutinizer05 | kerio: I'm not senile enough so I had forgotten this design pattern, but it's obviously not simple to integrate into the otherwise probably RE-based infobot wiki HTML parser | 20:00 |
*** kolp has joined #maemo-ssu | 20:04 | |
DocScrutinizer05 | while a repeated non-greedy s/{{.*{{.*}}.*}}/{{}}/ would reduce nesting to a bare "{{}}", then remove that by s/{{}}// | 20:06 |
DocScrutinizer05 | as an additional benefit it won't remove simple plain non-nested {{links}} | 20:12 |
DocScrutinizer05 | and anticipating a max nesting depth you could even unroll the recursion and get away with like 15 lines of simple RE substitutions | 20:13 |
DocScrutinizer05 | s/HTML parser/lynx plugin/ | 20:17 |
kerio | it's not a lynx plugin, that's just the wiki syntax | 20:25 |
kerio | getting the actual html page (from the mobile version of the site, for instance) would be better | 20:26 |
*** kolp has quit IRC | 20:33 | |
*** kolp has joined #maemo-ssu | 20:33 | |
*** FIQ|n900 has joined #maemo-ssu | 20:35 | |
*** kolp has quit IRC | 20:58 | |
*** Wulfe has joined #maemo-ssu | 21:09 | |
*** Wulfe has left #maemo-ssu | 21:12 | |
*** Martix has quit IRC | 21:25 | |
*** Martix has joined #maemo-ssu | 21:26 | |
*** luf has quit IRC | 21:40 | |
*** FIQ|n900 has quit IRC | 22:14 | |
*** FredrIQ|n900 has joined #maemo-ssu | 22:14 | |
*** FredrIQ|n900 is now known as FIQ|n900 | 22:15 | |
*** neilita has joined #maemo-ssu | 22:24 | |
*** neilita has left #maemo-ssu | 22:33 | |
*** toxaris has quit IRC | 23:00 | |
*** kolp has joined #maemo-ssu | 23:04 | |
DocScrutinizer05 | ooh, you say it gets the edit page? | 23:05 |
kerio | yep | 23:05 |
DocScrutinizer05 | indeed | 23:05 |
DocScrutinizer05 | meh | 23:06 |
DocScrutinizer05 | yeah, getting the rendered HTML would be much better, though probably magnitudes more demanding regarding code to add to infobot | 23:06 |
kerio | DocScrutinizer05: are you kidding me | 23:06 |
kerio | this is perl | 23:07 |
kerio | there's probably a library in cpan that does exactly what we want | 23:07 |
DocScrutinizer05 | hehe good point | 23:07 |
DocScrutinizer05 | toldya no clue about perl here | 23:07 |
kerio | WWW::Wikipedia - Automated interface to the Wikipedia | 23:07 |
DocScrutinizer05 | :-o | 23:08 |
kerio | and entries have a text() method that tries to return the summary, or returns the fulltext if there's no summary | 23:10 |
DocScrutinizer05 | so what's that? a perl library? | 23:10 |
kerio | yep | 23:10 |
kerio | in cpan | 23:11 |
DocScrutinizer05 | :-D | 23:11 |
DocScrutinizer05 | friggin smartass stuff | 23:11 |
DocScrutinizer05 | ~wiki ibm | 23:14 |
infobot | At http://en.wikipedia.org/wiki/Ibm (URL), Wikipedia explains: "{{About|the technology company sometimes referred to as "Big Blue"|other uses of these terms|IBM (disambiguation)|and|Big Blue (disambiguation)}} {{pp-move-indef}} {{Infobox company |name = International Business Machines Corporation |logo = |caption = Logo since 1972, designed by Paul Rand |type = MNC Public |traded_as = {{New York Stock Exchange|IBM}}Dow Jones ComponentS&P 500 Component ... | 23:14 |
DocScrutinizer05 | look ^^^ - useless | 23:14 |
kerio | indeed | 23:14 |
DocScrutinizer05 | seems we should simply grep "}}(.*)==History==" and echo the inner match, unless no match at all when we should display same we do now | 23:17 |
*** nox- has joined #maemo-ssu | 23:17 | |
DocScrutinizer05 | here this would result in >>'''International Business Machines Corporation''' ({{New York Stock Exchange|IBM}}), or '''IBM''', is an American [[Multinational corporation|multinational]] [[technology]] and [[Consultant|consulting]] corporation, with headquarters in [[Armonk, New York|Armonk]], New York, United States. IBM manufactures and markets com...<< | 23:17 |
DocScrutinizer05 | still friggin ugly | 23:18 |
DocScrutinizer05 | this WWW::Wikipedia thing sounds mad useful | 23:20 |
kerio | it outputs html though | 23:20 |
DocScrutinizer05 | :-/ | 23:20 |
kerio | but of course, parsing and cleaning html is easy | 23:20 |
kerio | for instance, HTML::Parser | 23:20 |
DocScrutinizer05 | mhm | 23:20 |
kerio | perl is a crappy language, if you must use it at least make use of cpan | 23:21 |
DocScrutinizer05 | don't you feel an irresistible urge to code a proof of concept perl sniplet? ;-) | 23:21 |
kerio | nah, i can't do perl | 23:21 |
kerio | the syntax is awful, the object model is ugly and counterintuitive | 23:22 |
kerio | and there's a ton of magic | 23:22 |
FIQ|n900 | and there's always 10 methods of doing things | 23:27 |
*** macmaN has quit IRC | 23:28 | |
FIQ|n900 | the good way, the decent way, the bad way, the really bad way, the ... | 23:28 |
FIQ|n900 | oh also perl is ok | 23:28 |
FIQ|n900 | as by existing it gave me a working IPS patcher on n900 :D | 23:28 |
kerio | PERL - it's good cuz it exists | 23:29 |
FIQ|n900 | kerio: well | 23:30 |
FIQ|n900 | I can't say anything good of it | 23:30 |
FIQ|n900 | or bad | 23:30 |
FIQ|n900 | because I've never looked at the syntax, etc | 23:30 |
DocScrutinizer05 | wtf IPS catcher? | 23:31 |
DocScrutinizer05 | err patcher | 23:31 |
FIQ|n900 | catcher lol | 23:31 |
FIQ|n900 | IPS is a file format | 23:31 |
DocScrutinizer05 | mhm | 23:31 |
DocScrutinizer05 | ~wtf ips | 23:32 |
infobot | Gee... I don't know what ips means... | 23:32 |
FIQ|n900 | using for patching files (only use I've seen is rom patching) | 23:32 |
FIQ|n900 | think romhacks | 23:32 |
DocScrutinizer05 | mhm | 23:32 |
kerio | a binary diff format, popular with emulators for some reason | 23:32 |
FIQ|n900 | yeah | 23:32 |
FIQ|n900 | exactly :p | 23:32 |
DocScrutinizer05 | binary diff? sounds friggin useful | 23:32 |
kerio | nah, it's crap | 23:32 |
DocScrutinizer05 | :-/ | 23:32 |
kerio | it's used for hysterical raisins | 23:33 |
FIQ|n900 | i've not looked into the format so I only care if it works or not :p | 23:33 |
* DocScrutinizer05 pretty much wants a useful binary diff/patch format. jdiff aka jojo diff might be exactly that, but... jury still out on that one | 23:33 | |
DocScrutinizer05 | the poor raisins | 23:33 |
DocScrutinizer05 | I looked into the diff, and it been.... binary :-o | 23:34 |
DocScrutinizer05 | wtf is the use of a diff when you can't read the output? | 23:35 |
DocScrutinizer05 | of course it's meant to feed it to jpatch | 23:35 |
FIQ|n900 | also IIRC ips has some kind of size limitation | 23:35 |
DocScrutinizer05 | but still I want it to be human legible | 23:35 |
FIQ|n900 | because of what I've heard, the mother 3 translation project romhack couldn't use it so they developed their own format instead | 23:36 |
FIQ|n900 | so I doubt ips is that good | 23:36 |
FIQ|n900 | but it works, so.. :p | 23:36 |
kerio | you can only patch up to 2mb or something | 23:37 |
FIQ|n900 | hmm ok | 23:37 |
kerio | i mean MB ofc | 23:37 |
FIQ|n900 | yeah | 23:37 |
FIQ|n900 | not millibits :D | 23:37 |
kerio | it's either 2MB or 16MB | 23:38 |
kerio | i'm not sure if it's in bits or bytes | 23:38 |
kerio | but the address of the data to change is 3 bytes | 23:38 |
kerio | which is fairly ridiculous | 23:38 |
FIQ|n900 | 3 bytes | 23:38 |
kerio | 24 bits of information isn't shit | 23:39 |
FIQ|n900 | so no patching >16MB stuff | 23:39 |
kerio | hahaha, and you can't patch at address 0x454f46 | 23:40 |
kerio | because that's "EOF" and it's the end of the IPS file | 23:40 |
kerio | yeah, it's 16MB | 23:40 |
kerio | well, 16M - 1 B | 23:40 |
FIQ|n900 | kerio: brilliant | 23:40 |
FIQ|n900 | @ 0x454f46 limitation | 23:41 |
* DocScrutinizer05 dreams of <0Xaddr>:DEL <0Xend-addr>; <0Xaddr>:INS<0Xlength><byte>[<byte>...]; ----:OFFSET <0Xoffsset> <0Xaddr>[,<0Xaddr>...] | 23:43 | |
DocScrutinizer05 | first cuts out bytes, 2nd inserts bytes, 3rd adds an offset to a list of absolute addr location contents | 23:44 |
DocScrutinizer05 | would make a pretty useful binary diff format | 23:44 |
DocScrutinizer05 | maybe even add <0Xaddr>:INSfrombuffer <num-of-buffer>, where buffer is a stack filled with last snippets from DEL | 23:46 |
kerio | DocScrutinizer05: how big are address and length? | 23:47 |
DocScrutinizer05 | so you could swap | 23:47 |
DocScrutinizer05 | arbitrary | 23:47 |
kerio | ok, how do i figure out when they end? | 23:47 |
kerio | unless you actually have a "<0X" then the number written in ascii then ">" | 23:47 |
FIQ|n900 | lol | 23:48 |
DocScrutinizer05 | ooh, between <0Xlength> and <byte> there's a space missing | 23:48 |
DocScrutinizer05 | otherwise there's : as delimiter | 23:48 |
DocScrutinizer05 | semantics of <byte><byte><byte> not sufficient for <0Xlength> is repeat and fill | 23:50 |
DocScrutinizer05 | obviously nothing forbids arbitrary unambiguous base for <length>, for <addr> I don't think allowing base-10 integers would meake much sense but it doesn't hurt either | 23:52 |
DocScrutinizer05 | in '<0Xaddr>:DEL <0Xend-addr>;' the both addr are first and last byte to cut | 23:53 |
DocScrutinizer05 | for INS first byte inserted is on the given addr, not after | 23:53 |
kerio | should CSSU ship the fmtxd modification? | 23:54 |
DocScrutinizer05 | writing the patch binary for that format looks quite simple, the diff binary gets a tad more tricky if it shall act smart | 23:54 |
DocScrutinizer05 | kerio: such highly philosophical questions on a day as lame as this one... | 23:55 |
kerio | a lame day? | 23:56 |
kerio | it's america's 2013th birthday! | 23:56 |
kerio | http://i.imgur.com/6bjq7.jpg | 23:56 |
DocScrutinizer05 | sure, half the world suffers from hangover | 23:56 |
kerio | well, it still fits, considering we're talking about binary diff formats | 23:56 |
DocScrutinizer05 | indeed | 23:56 |
kerio | but you're right, friends don't let friends drink and write specs for binary diffs | 23:56 |
DocScrutinizer05 | :-D | 23:57 |
DocScrutinizer05 | I kept pretty sober yesterday | 23:57 |
kerio | i don't even drink \_o_/ | 23:57 |
DocScrutinizer05 | o.O how that? | 23:58 |
kerio | i don't like the taste of alcohol | 23:58 |
FIQ|n900 | neither do I | 23:58 |
DocScrutinizer05 | geeks | 23:58 |
DocScrutinizer05 | ;-P | 23:58 |
kerio | which is fairly awesome actually, because otherwise i'm pretty sure i'd be an alcoholic | 23:58 |
FIQ|n900 | :p | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!