**** BEGIN LOGGING AT Sat Jan 21 02:59:57 2012 Jan 21 03:43:59 MohammadAG, ping Jan 21 07:10:18 Pong Jan 21 07:14:14 pong indeed Jan 21 07:23:29 hi MohammadAG Jan 21 07:35:12 DocScrutinizer: so the n900's xchat chokes on that string? Jan 21 07:46:50 hi, I'm new to scratchbox. I can't ping in scratchbox, and I can preform a curl command in some c code I'm writing using curl_easy_preform ... any ideas,tips ? Jan 21 07:50:21 newbie007: why cant you ping? Jan 21 07:50:59 the error is "ping: icmp open socket: Operation not permitted" Jan 21 07:51:34 newbie007: try as root Jan 21 07:51:41 from code curl is returning couldn't resolve host Jan 21 07:51:52 newbie007: thats a seperate and different error Jan 21 07:52:04 check your resolve.conf newbie007 Jan 21 07:52:25 newbie007: only root can ping, the usual workaround for that might not be set up Jan 21 07:52:32 from the host box I can ping, only in scratchbox. I don't know if there is a root user, it's some sort of fakeroot Jan 21 07:52:49 newbie007: ok, no surprise you cant ping then Jan 21 07:53:06 newbie007: that doesnt stop curl from working though Jan 21 07:53:51 I'm trying to write a desktop widget for the n900 and getting an error code of 6 (CURLE_COULDNT_RESOLVE_HOST) Jan 21 07:54:08 hmm... Jan 21 07:54:10 newbie007, check /etc/resolv.conf inside the scrachtbox environment Jan 21 07:54:10 newbie007: yes we already know that,what beford said Jan 21 07:54:55 newbie007: -rwsr-xr-x 1 root root 36136 Apr 12 2011 /bin/ping <- see, ping has root automagically Jan 21 07:55:37 has root? Jan 21 07:55:44 sorry to bug you, I think it's the website... not sure why curl can't see it but I can get to a different site Jan 21 07:55:51 using curl Jan 21 07:55:53 MohammadAG: the suid bit is set Jan 21 07:56:08 that sounds better :p Jan 21 07:56:45 sync scratchbox and host resolv.conf Jan 21 07:56:52 I didn't think it was a security thing, because I can do a ping --help without issue Jan 21 07:56:54 also, use run-standalone.sh when starting apps Jan 21 07:57:15 ping --help shouldn't open a socket Jan 21 07:57:27 newbie007: it runs fine, it just cant do its job when for some reason it is not running as root Jan 21 07:57:28 you're just calling printf() in the end Jan 21 07:58:25 hey MohammadAG, I was searching for an example to compile kernel modules on n900, and remembered the psfreedom package Jan 21 07:58:39 but I've had serveral problems trying to compile it Jan 21 07:58:57 fire away Jan 21 08:00:27 I'm using the .dsc and .tar.gz version 0.6 and it seems like some version strings are hardcoded or just don't work with scratchbox, for example it tries to compile kernel-power-source as v46 but its supposed to be v49 Jan 21 08:03:35 anyway the problem wasn't directly with psfreedom package, more like kernel-source. always got an Error 2 and it never completed Jan 21 08:03:57 I'm following http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Kernel_and_Debugging_Guide/Maemo_Kernel_Guide to compile it and will try to link the psfreedom mod to it Jan 21 09:04:37 RST38h: please fix xchat Jan 21 09:11:20 the only semi-informative post of that lachs_ sucker been "lrn2gtk" Jan 21 09:11:54 so I gurss other gtk-based apps might be affected as well by that bug Jan 21 09:12:58 I'm not yet awake and tend to "stop the bug by removing the shit that attracts it" Jan 21 09:14:03 so maybe sb want to give some hints how to get decent coredump or other helping info from xchat, as long as it still segfaults on each start Jan 21 10:05:55 ~ping Jan 21 10:12:10 what a terrible host this sucker had BAD, BAD! Last addr : n=lachs@BADb6d7.bad.pppool.de Jan 21 10:13:38 :o Jan 21 10:13:43 anyway, lachs_ ist ~lachs@adsl-84-227-224-144.adslplus.ch (lachs) Jan 21 10:14:24 fsckng swissman abusing some .de service to hide his true location? Jan 21 10:15:34 RST38h: ping Jan 21 10:21:07 * DocScrutinizer curses maemo-launcher Jan 21 10:21:46 anybody any hints on how to strace that shit? seems I'm just not up to 100% performance yet Jan 21 10:22:34 xchat just says +++ killed by SIGSEGV (core dumped) +++ Jan 21 10:22:58 and strace +fF xchat doesn't help either, to get anything enlightening Jan 21 10:24:28 I gather xchat isn't spawning maemo-launcher realy, but rather using an already running instance? Jan 21 10:27:04 https://code.google.com/p/xchat-wdk/issues/detail?id=132&can=1 Jan 21 10:27:16 hmm, yeah Jan 21 10:27:38 strace `pidof maemo-launcher` Jan 21 10:27:47 strace -p `pidof maemo-launcher` Jan 21 10:27:48 even Jan 21 10:28:45 ooh yes, many thanks AIN2 Jan 21 10:30:35 yw Jan 21 10:31:04 particularly https://code.google.com/p/xchat-wdk/issues/detail?id=132#c15 Jan 21 12:13:57 hm Jan 21 12:14:01 what was the mount optino to remount? Jan 21 12:15:04 mount -o remount ... Jan 21 12:15:15 lol ok Jan 21 12:15:47 * Macer kicks himself in the face for that one Jan 21 12:15:50 thanks AIN2 Jan 21 12:18:44 lil hint if you remount a bindmount you need -o remount,bind otherwise things get fsckd :D Jan 21 12:39:14 for all those suffering from xchat segfaulting since last night - there's a scriptie for you fixing that: http://maemo.cloud-7.de/clean-N900xchat-scrollback-from-rogue-string.sh Jan 21 12:47:15 DocScrutinizer: heh. i didn't think people still used xchat :) Jan 21 12:50:42 there's another maemo irc client? Jan 21 12:50:53 haltdef: quassel Jan 21 12:50:54 !! Jan 21 12:50:56 :D Jan 21 12:51:07 steady Jan 21 12:52:08 I've been using quassel on my n900 as long as I had it as primary phone, and atm I can't wait to get quassel properly running on my n9 :D Jan 21 12:52:49 I'm using znc+mirc atm, irc on the n900 would only be as backup if I didn't have my win7 umpc for whatever reason Jan 21 12:54:55 * merlin1991 prefers quasselcore on server + quassel client on all devices Jan 21 12:55:59 I can script the bejesus out of mirc Jan 21 12:56:19 I need no scripts in irc :D Jan 21 12:56:35 me either Jan 21 12:56:38 they're still nice Jan 21 12:56:49 though I wouldn't say no to a script engine in the quassel client Jan 21 12:56:57 .. there isn't one? Jan 21 12:57:17 nope Jan 21 12:57:47 though the gui is complete enough that you don't need to script most of the stuff you'd script in mirc Jan 21 12:58:06 and there's the issue of no ddc :/ Jan 21 12:58:11 foobar2000, sabnzbd and mpc-hc scripts are more what I mean Jan 21 12:58:21 nickserv id too (znc does that for me now) Jan 21 12:58:52 wtf do you need to script for foobar? Jan 21 12:58:58 now playing Jan 21 12:59:05 well Jan 21 12:59:06 :D Jan 21 12:59:13 not exactly neccessary Jan 21 12:59:19 didn't say it was Jan 21 12:59:25 :D Jan 21 12:59:45 be cool running the core on a raspberry pi Jan 21 13:00:19 hehe, yep that would be fun Jan 21 13:00:52 I think the pi would make a great small hom server (not exactly file sever unless you hook up the gpio to some sata interface somehow) Jan 21 13:00:58 s/hom/home/ Jan 21 13:01:30 using a gentoo VM for znc and bitlbee atm Jan 21 13:01:56 no good during a power cut, with the pi irc and IM would stay up, networking kit and the pi on a UPS Jan 21 13:02:23 my core runs on a server in some dataserver :D Jan 21 13:02:34 err datacenter Jan 21 13:03:00 waste of money for me, I'd just lose irc when the server went down Jan 21 13:03:30 almost always attached to znc from within my network Jan 21 13:03:33 yeah, I use the server for other stuff too, but for a home solution I think the pi would be close to perfect Jan 21 13:04:07 thouth it still has to reach shipping :D Jan 21 13:04:36 * merlin1991 remembers in november -> no december -> before christmas -> before new year -> when it's done :D Jan 21 13:04:54 microsoft release schedule Jan 21 13:05:09 they've actually entered production now, not far off Jan 21 13:06:40 I still don't know which distribution I'm going to put on my pi when I get one Jan 21 13:06:56 still pondering between just getting debian or completely building my own Jan 21 13:07:09 I was going to attempt a gentoo install Jan 21 13:07:29 not for actual use, probably end up with debian for that, just to see if I can Jan 21 13:08:16 I'm probably going to crosscompile a complete solution from my desktop pc Jan 21 13:08:36 that's what I'd do with gentoo Jan 21 13:08:46 can't really compile on such a slow arm core Jan 21 13:08:50 :D Jan 21 13:09:15 I also wonder how hard it would be to get the mer core running in a way that everything hw wise from the pi works Jan 21 13:09:46 and if that works slap kde on top to get the arm running hot xD Jan 21 13:11:27 I don't think you need crosscompile for that Jan 21 13:11:33 Well, unless you want to compile libreoffice or something Jan 21 13:18:17 dang, I thought now xchat runs in an endless loop, until I noticed strace still spitting mega-lines of trace to ssh :-P --- kill %1 fixed the issue Jan 21 13:18:53 now for infobot :-/ Jan 21 14:06:16 RST38h: could you bother to implement that fix for xchat ( https://code.google.com/p/xchat-wdk/issues/detail?id=132#c7 ) and roll out a new version to extras-devel? Jan 21 14:53:23 hm Jan 21 15:19:43 DocScrutinizer: you do realize that the helpful comment on the bugtracker you posted went onto the bugtracker for xchat on windows, where there is no suc thing as head? :D Jan 21 15:20:07 or bash, or the other fancy stuff your quickfix uses :D Jan 21 15:20:50 merlin1991: eh?, a) I dunno of a bugtracker, though maybe that google-code crap actually is one. B) I don't care at all Jan 21 15:21:01 :D Jan 21 15:21:43 C) I suggested to *edit* the file, just the "how to edit it the smart way" is of course a slap in the face of winsoze lemmings Jan 21 15:21:56 yep :D Jan 21 15:22:43 btw not even messybox supports head -n -1 Jan 21 15:22:46 :-(( Jan 21 15:22:59 ~lart messybox Jan 21 15:23:07 ~lart infobot Jan 21 15:23:19 ~kickass timriker Jan 21 15:24:01 head -1 Jan 21 15:24:21 now THAT'S completely deprecated Jan 21 15:24:21 oh Jan 21 15:25:33 hm, OpenBSD's head says -n must be followed by positive integer Jan 21 15:25:39 and then claims Posix compliance Jan 21 15:25:45 pffff Jan 21 15:25:55 ~lart posix compliance Jan 21 15:26:52 anyway --lines= also not supported by messybox Jan 21 15:27:37 Just avoid the gnu extensions and you'll be fine when not on a gnu system :P Jan 21 15:28:14 and how the hell do I get "all lines of minus the last N" ? Jan 21 15:28:24 with awk??? Jan 21 15:29:10 You can unset record seperator, set field sep to newline, and then print out al but the last n fields Jan 21 15:29:21 awks other than gawk may barf on the really long 'line'. Jan 21 15:29:24 bwahahaha Jan 21 15:29:34 Otherwise, it's array time. Jan 21 15:29:51 just as busybox supports arrays :-/ Jan 21 15:31:19 or count the lines with wc first ;p Jan 21 15:32:30 head -n $(( $(wc -l $file) - 1 ) $file Jan 21 15:32:40 Oh - of course Jan 21 15:33:01 my ass hurts Jan 21 15:33:36 head -n $(( $(wc -l $file) - 1 )) $file Jan 21 15:33:39 of course Jan 21 15:33:44 'ARGIND==1{l=NR}ARGIND==2&&NR SpeedEvil: can't follow that one Jan 21 15:34:07 awk I guess Jan 21 15:34:34 alas awk on maemo is... you guessed it: messybox Jan 21 15:35:00 If the current file it's processing is the one with the index 1, then assign the current line number to l. If it's 2, then if the current line number is under l, then print it Jan 21 15:35:15 so expect to see more nifty commands fail with "not implemented" Jan 21 15:35:38 The above is quite standard, I think. Jan 21 15:35:41 No gawk features Jan 21 15:36:05 meh, it failed on such things like PRINT iirc Jan 21 15:36:26 print in uppercase will fail Jan 21 15:37:16 really I CBA to look up what I smithed on bash/true-awk for an afternoon, just to find it failing epically on maemo Jan 21 15:37:40 you might find it in this chan's logfiles Jan 21 15:38:17 can't even recall what for I came up with it Jan 21 15:40:08 anyway, time for some RL Jan 21 15:40:11 o/ Jan 21 15:40:26 Wave, Jan 21 15:42:10 * ShadowJK used to have a NetBSD and Solaris machine for testing portability Jan 21 16:35:38 a bash/messybox/whatever special mode that'd just copy the output of "set +vx" #******!plus a warning comment for each bashism******; to a logfile - that'd be cute. Maybe even with another goodie: list FQN of all executables invoked, comes in handy to weed out initscripts/optification-mess Jan 21 16:37:05 icing on top: bash/whatever looks for a special tagFILE in a (set of) defined position(s) to decide whether to enter that mode Jan 21 16:39:34 so even shellscripts that load #!/bin/sh would look for those flags and you could debug initscripts etc without having to mess with either a wrapper around /bin/sh or editing initscripts (eeew!) Jan 21 16:40:41 on a second thought, replacing /bin/sh by a debug version binary doesn't seem too hard to maintain Jan 21 16:41:38 still the posix test that doesn't fail but just spits warnings was a nice thing to have Jan 21 16:43:15 something like "set -o posix_report-only" Jan 21 16:43:45 "set -o posix_nofail" Jan 21 16:44:39 "set -o check_for_posix_and_report" Jan 21 16:57:51 haha, info head: >>... If your script must also run on hosts that support only the obsolete syntax, it is usually simpler to avoid `head', e.g., by using `sed 5q' instead of `head -5'. << Jan 21 20:13:04 Crazy people: http://gizmodo.com/5878111/lomokino-adapter-lets-your-phone-capture-35mm-movies-without-an-app Jan 21 20:13:13 (wondering how many they have sold) Jan 21 20:27:26 I have a strange problem. I can receive calls from any number but one. that number can call any number but mine! Jan 21 20:28:34 it is as if this number is blocked by my phone, which I do not remember doing so. is there a way to check? Jan 21 20:28:59 does it beep busy Jan 21 20:45:37 ShadowJK, the other phone always receives a busy tone Jan 21 20:48:39 smhar: If you swap sims over, does the block move with the SIMS? Jan 21 20:52:42 i dont think an app on n900 could make the other end beep busy Jan 21 20:53:03 atleast you'd get a normal tone first, and then busy, if n900 had rejected the call Jan 21 20:56:39 indeed Jan 21 20:56:55 SpeedEvil, if I put my sim in another mobile it works. Jan 21 20:57:10 odd Jan 21 20:58:06 I know Jan 21 21:04:40 N900 by default has no capability to block calls Jan 21 21:04:51 not sure if there are apps that can do it Jan 21 21:10:09 ShadowJK: sure this could happen. E.G when per-contact-ringtone daemon crashes and messes up rtcom-stack Jan 21 21:11:17 smhar; ^^^ Jan 21 21:11:39 ShadowJK: first there's an inbound INVITE, then ME shall answer with an OK, only then the call signal tone is played back at far end Jan 21 21:12:48 and if OK isn't sent, caller gets the "not in range" tone? Jan 21 21:13:06 if ME answers with an NAK immediately, you'll hear a busy signal at far end Jan 21 21:13:13 yep Jan 21 21:13:41 heh Jan 21 21:14:16 though, that's unclear (at least to me) as INVITE transmission is already acked on a lower layer, I gurss Jan 21 21:15:01 for VoIP it is *recommended* that OK/NAK is sent in less than iirc 200ms Jan 21 21:15:20 though usually even 10s are tolerated by exchange/server Jan 21 21:15:47 but eventually it will signal "not available" anyway, for sure Jan 21 21:15:57 until then... silence Jan 21 21:16:16 which isn't exactly an unusual thing so may go unnoticed Jan 21 22:32:31 RST38h: ping Jan 21 22:40:32 how many are going to mail nokia asking for sauce Jan 21 22:43:58 err Jan 21 22:44:20 not interested in Nokia's secret sauce Jan 21 22:44:56 oh I just saw some random thread about Nokia withholding PR1.2 kernel again Jan 21 22:45:08 maemo kernel? Jan 21 22:45:19 N9 presumably Jan 21 22:45:27 and for some reason it was on .maemo.org Jan 21 22:45:28 :nod: Jan 21 22:46:16 on #harmattan I guess your inquiry about sauce would be mor on topic, at least easier to get the context Jan 21 22:47:04 I know Nokia still thinks meego is maemo Jan 21 22:47:06 It'd be really funny if someone mailed back hand-written (with pencil, on paper) patch for bugs Jan 21 22:48:23 Quill-pen. Jan 21 22:48:28 On parchment. Jan 21 22:48:36 Or a stack of cards. Jan 21 22:48:55 Oooh. Jan 21 22:49:05 * SpeedEvil realises he has an easy way to make punchcards now. Jan 21 22:49:14 I have access to someone with a laser cutter. :) Jan 21 23:32:28 How do I purge a package from Maemo using the terminal? Jan 21 23:32:32 aptitude purge package style? Jan 21 23:34:53 apt-get remove foo Jan 21 23:34:55 isn't it Jan 21 23:35:05 yeah Jan 21 23:35:13 apt-get autoremove; purgues orphaned deps i thnk Jan 21 23:35:32 oh Jan 21 23:39:21 fredddd: dpkg --purge Jan 21 23:39:32 Or apt-get --purge remove Jan 21 23:49:16 Thank you. Jan 21 23:54:07 How to show a listo f installed packages with apt-get? Jan 22 00:04:01 NEVER use apt-get autoremove Jan 22 00:04:25 wai? Jan 22 00:06:09 I seem to be unable to remove an application by the name of the package I installed it with. Jan 22 00:06:18 Consdering name.deb I try to apt-get --purge remove name. Jan 22 00:06:22 Does not seem to work. Jan 22 00:08:17 because of http://talk.maemo.org/showthread.php?t=70875&highlight=sip Jan 22 00:11:39 docsc: so? if i remove voip support, i lose voip support? that's a silly reason... just set that package to manually installed if you consider it important... Jan 22 00:12:01 pff Jan 22 00:12:51 wil you set it to manually-installed on my device as well, eh? Jan 22 00:13:34 your comment is silly Jan 22 00:14:05 infobot: welcome Jan 22 00:14:06 It's great to be here! Jan 22 00:16:26 docsc: saying "NEVER use autoremove" just because some non-core package doent have proper dependancies set is silly Jan 22 00:16:40 yes, sure Jan 22 00:17:28 and suggesting to set all needed file to chmod -w prior to a rm -r /* is wise, of course Jan 22 00:18:02 . . . Jan 22 00:21:18 especially wise is a suggestion to set a dozen pkgs to manually-installed, to a user that just asked how to purge a single package Jan 22 00:22:14 you clearly qualify for a job at any top notch 1st level helpdesk Jan 22 00:37:59 btw what makes you think rtcom-voip-support is non-core? Jan 22 01:45:42 Year **** ENDING LOGGING AT Sun Jan 22 02:59:57 2012