#qi-hardware IRC log for Monday, 2015-02-02

DocScrutinizer05note: I'm not sure how compatible maemo xchat's script API is to the genuine xchat, since it has e.g. no python support built in00:12
DocScrutinizer05note that even https://github.com/Sepero/xchat_auto_ghost/blob/master/auto_ghost.py lacks the delay between the ghost-cmd and the nick-cmd I mentioned above00:36
DocScrutinizer05you can easily solve that whole thing when you use "/msg nickserv id $accountname $password <ctrl-sh-a-u>  /msg nickserv ghost $primary_nick $password <ctrl-sh-a-u> /timer 6 nick $primary_nick" in Server's "connect command", I guess00:42
DocScrutinizer05I probably used a command like "cmd auto-login.xsh" instead00:44
DocScrutinizer05or s/cmd/source/, or script, or exec or dunno what's the right reserved word to run a script00:44
DocScrutinizer05I don't use this stuff anymore on xchat since I installed ZNC00:45
DocScrutinizer05HAHA!!! >> I changed the second command to /timer 5 nick nickname.<< ( Izzy Jun 18 '12 at 21:31 )00:49
DocScrutinizer05s@auto-login.xsh@/home/user/.xchat2/xchat-login.xsh @00:52
DocScrutinizer05wpwrak: another nice one, re >>does that wait until i have sorted out the nick situation << :    https://freenode.net/recommended/xchat/kludges/cloak-before-join.pl.txt01:07
wpwrakah yes, that looks like the level of complexity i expected02:00
DocScrutinizer05"/msg nickserv id $accountname $password <ctrl-sh-a-u>  /msg nickserv ghost $primary_nick $password <ctrl-sh-a-u> /timer 6 nick $primary_nick" doesn't sound like any level of complexity02:00
DocScrutinizer05and again, as long as you don't run into a collision (due to your login being more than 5 minutes after you left server with ping timeout), nothing at all will show up as a problem02:01
DocScrutinizer05when however you encounter the smoker issue, you will easily fix it with "/msg nickserv id $accountname $password <ctrl-sh-a-u>  /msg nickserv ghost $primary_nick $password <ctrl-sh-a-u> /timer 6 nick $primary_nick" and nobody will get hurt02:02
DocScrutinizer05when you refer to https://freenode.net/recommended/xchat/kludges/cloak-before-join.pl.txt - I don't see you using a cloak02:02
DocScrutinizer05I guess your concerns are due to incomplete understanding of the true nature of the problem02:04
DocScrutinizer05>>  Though the connection usually is re-established within seconds, due to the changed IP the "old session" is invalidated. XChat automatically joins the network(s), but then my nick gets refused as it "is already in use". I can manually solve that by "/nickserv ghost MyUser MyPass" <<02:06
DocScrutinizer05wpwrak_ is simply the alternative user nickname you configured in your xchat, which gets used when the primary one is "in use"02:07
DocScrutinizer05yes, you might join channels with nick wpwrak_ and then everybody sees when the script changes your nick to wpwrak, but what's the real problem in that, other than cosmetic?02:08
DocScrutinizer05note however that this only happens when you actually run into a nick collision02:09
DocScrutinizer05and even then I'm not sure if xchat doesn't do "the right thing" and postpones channel autojoin until any server-connect-cmd finished02:10
DocScrutinizer05which would completely avoid any nick changes visible in channels02:11
DocScrutinizer05<-- wpwrak (~werner@154-164-231-201.fibertel.com.ar) has left this server   and   --> wpwrak (~werner@154-164-231-201.fibertel.com.ar) has joined this channel.    will show up nevertheless, inevitably02:12
DocScrutinizer05anyway such is IRC, such is the problem, and those are the tools to mitigate/fix it. Nothing else you can do about it, so either you accept smoker or you do sth about it to fix the issue02:14
Action: DocScrutinizer05 should feel less annoyed when providing a oneliner solution and receiving complaints about the perceived complexity in such solution02:35
DocScrutinizer05seems it's a recurring pattern at wpwrak's side02:35
DocScrutinizer05I just fail to clearly decide if that's sarcasm, irony, or just kidding02:36
DocScrutinizer05with script it will look like:02:50
DocScrutinizer0501:52 DocScrutinizer05 has quit [Disconnected by services] 02:50
DocScrutinizer0501:52 DocScrutinizer05 has joined #qi-hardware 02:51
wpwraknaw, no reason to get excited :) i was commenting on that perl script. and it wasn't a complaint either, just me saying that the complexity of the script looked like what i'd expect, considering the complexity of the task (to be honest, i'm not entirely sure it covers all the corner cases, e.g., multiple disconnects and such. but it may still fail "nicely" even in cases it doesn't handle properly, which would be good enough in this co02:53
DocScrutinizer05I don't know how multiple disconnects look for a client that usually has only one connect per server02:55
wpwrakxiangfu: i have a fun question for you: our beloved president is visiting china these days. at the beginning of her trip, she said nice things about Mao. now i wonder if that was a good or a bad idea :)02:55
wpwrakDocScrutinizer05: i mean over time02:55
DocScrutinizer05I don't see why that's an issue02:55
DocScrutinizer05also please note that worst case(!!!) a reconnect with ghost script but without client waiting for server-reconnect-script to finish would look like:02:56
DocScrutinizer0501:43 dos11 has joined #qi-hardware 02:56
DocScrutinizer0501:43 dos11 is now known as dos1 02:56
wpwrakwell, does the script get terminated and restarted ? or does it keep on running, waiting for an event that was never scheduled in the new session ?02:56
DocScrutinizer05I don't bother checking that script02:57
DocScrutinizer05it's completely unrelated basically02:57
DocScrutinizer05it's meant to enforce a delay in joining channels until nickserv authenticated you and applied cloak, since otherwise you'd expose your IP to channels02:59
DocScrutinizer05_you_ expose your IP all the time since you don't use a cloak02:59
DocScrutinizer05so please forget about that script02:59
wpwraknaw, the script looks useful. that's a starting point. and yes, those "cosmetics" are important to me03:00
DocScrutinizer05I just linked to it to give a hint what to do when you're really concerned about that visible nick change03:01
wpwrakyup. thanks !03:01
DocScrutinizer05but again, I *think* xchat just behaves and defers chan autojoin until server connect script/cmd returns03:02
DocScrutinizer05would be quite weird when they started a concurrent child process for executing server connect command03:03
DocScrutinizer05after all such command is supposed to run in parent process' environment03:03
wpwrakdepends a bit on what you expect it to be used for03:04
wpwrakor, rather, expected at the time of implementation. it's not uncommon to find some mechanism whose function overlaps with another one added at a different time03:04
DocScrutinizer05please simply open xchat server list config, freenode network, and add >>"/msg nickserv id $accountname $password <ctrl-sh-a-u>  /msg nickserv ghost $primary_nick $password <ctrl-sh-a-u> /timer 6 nick $primary_nick"<< to server's "Connect Command"03:05
DocScrutinizer05as elaboreated upon in http://askubuntu.com/questions/151224/how-to-get-xchat-to-automatically-ghost-the-old-session-on-provider-forced-r03:05
DocScrutinizer05which funnily enough is *exactly* what I implemented a 2 or 3 years before03:06
DocScrutinizer05then when you actually encounter a03:07
DocScrutinizer0501:43 dos11 has joined #qi-hardware 03:07
DocScrutinizer0501:43 dos11 is now known as dos1 03:07
DocScrutinizer05alike problem, you can have a look into that script03:07
DocScrutinizer05again: server password is what you should use, and for freenode it's "<useraccountname>:<password>"03:10
DocScrutinizer05according to nickserv your account name is identical to your preferred nick03:11
DocScrutinizer05[Notice] -NickServ- Information on wpwrak (account wpwrak)03:11
DocScrutinizer05using nickserv password would do a second authentication, and the 1st command in my suggested connect-command is a third authentication03:13
DocScrutinizer05you probably get away with using just one, ideally server password03:14
wpwrakxchat says that i have to use a script for multiple commands03:15
DocScrutinizer05hmm, interesting. That's prolly why I actually did ;-)03:16
wpwrakand /load complains that it can't find my script. hmm.03:16
wpwrakah, was a typo :)03:16
DocScrutinizer05never really wrapped my head around that <ctrl-sh-a-u> stuff either03:17
wpwrakwhatever it is :)03:17
wpwrakokay, xchat is armed :) we'll see at the next disconnect if it also works :)03:17
DocScrutinizer05either ctrl-sh-A;U  or  ctrl-sh-alt-U03:18
DocScrutinizer05sinply kill xchat and restart it03:18
wpwrak(ctrl-shit-and-so-on) it looks like the sort of thing that's best avoided :)03:19
DocScrutinizer05particularly since it seems to depend on gtk version03:19
DocScrutinizer05OUUUUUUUCH!!!  >>You can create two UserCommands, with the same name, and then execute the UserCommand. It will be executed in the same order as it's written in the UserCommands GUI.<< took a while til I even got what they meant03:21
DocScrutinizer05note the -e parameter for /load !03:22
DocScrutinizer05otherwise I guess it expects a script to get interpreted by the shebang interpreter03:23
DocScrutinizer05btw you don't even need to kill xchat. a simple "reconnect" should do03:25
wpwrakbegin with #!/usr/bin/xchat   then wait for what happens ;-)03:25
DocScrutinizer05menu -> "server" -> "reconnect"03:25
wpwraknaw, don't want to produce all that nosie03:26
DocScrutinizer05that shall not be much noise03:26
DocScrutinizer05and when there's more noise than you expected, you at least can do sth about it when you test it under close supervision03:26
DocScrutinizer05go figure you inserted a typo that makes xchat hang in an endless loop on next reregister ;-P03:27
DocScrutinizer05THAT would create *too much* noise03:28
DocScrutinizer05for a start you can invoke the script manually (/LOAD -e <yourscript>)03:29
DocScrutinizer05you should see a few "you're already authenticated" and "you can't ghost yourself", while nobody else will notice anything03:30
xiangfuwpwrak: (nice things about Mao): It is bad for your own country. it is good for her in China public place but it is bad when people talking private like me. 03:31
DocScrutinizer05hehe, good answer03:31
DocScrutinizer05[2015-02-02 Mon 04:39:43] [Notice] -NickServ- This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>.03:40
DocScrutinizer05[2015-02-02 Mon 04:39:43] [Notice] -NickServ- You are now identified for jOERG_rw.03:40
DocScrutinizer05[2015-02-02 Mon 04:39:49] [Notice] -NickServ- You are already logged in as jOERG_rw.03:40
DocScrutinizer05[2015-02-02 Mon 04:39:49] [Notice] -NickServ- You may not ghost yourself.03:40
DocScrutinizer05[2015-02-02 Mon 04:39:50] [Notice] -NickServ- You may not ghost yourself.03:40
DocScrutinizer05^^^ been a "reconnect"03:45
wpwrakxiangfu: heh, that's about what i tought after having a look at what wikipedia has to say about how mao is perceived in china today. ah well, she also thinks that venezuela is a great example. ah well, let's just hope the chinese government has been properly briefed on what sort of president is visiting them - and how much longer that president will stay in power.04:56
xiangfuwpwrak: the chinese government changed recently.05:06
wpwrakwill that mean a significant change in policies ? i picture china as a country where successive governments maintain a fairly constant style05:07
xiangfubecause the new president of China.  https://en.wikipedia.org/wiki/Xi_Jinping05:07
xiangfuhmm... no. start from the chinese government inside first.05:10
wpwrakthe current argentine government is left-populist, basically cleptocratic, and not very competent at actually running its country05:13
wpwrakhowever, it has proven great skills at ruining it ...05:13
wpwrakunfortunately, there are lots of uneducated people who like left-populism. so it's not sure yet whether argentina will get a decent government at the next elections, which are august-november this year.05:15
wpwrak(primaries to select among candidates within parties are in august, then the main election in october and - if needed - another round between the winners of the main election in november)05:16
xiangfuhttps://www.youtube.com/watch?v=aThCr0PsyuA 06:22
DocScrutinizer05well, just another AR goggles. "holograms" is pretty misleading. BTW google glass relaunch i aiming at exactly same direction06:26
DocScrutinizer05s/ i / is /06:26
bellowI am trying to reconnect my Magnavox MBP 5120 blu-ray player to my Linksys routers wifi (which I have done before without trouble) and I am getting DHCP cannot be acquired. I have change the IP Address to manual on the blu-ray player without changing the IP address itself and no error. I have checked the routers settings and DHCP is enabled. Is the07:35
bellowre a way to fix this? I had it connected just fine so I added the ip/mac address to the DHCP Reservation think that would help it did not.07:35
eintopfwpwrak: there was some KiCAD talk at FOSDEM but I wasn't there :(07:52
eintopfwpwrak: https://lh5.googleusercontent.com/-YHwWlURyobA/VMuzjrkVteI/AAAAAAAAAOg/WJ7LLtljGko/w536-h876-no/MDP_Module_3.jpg08:03
eintopfI think that's the modular google smartphone which jamal mentioned08:03
bellowI am trying to reconnect my Magnavox MBP 5120 blu-ray player to my Linksys routers wifi (which I have done before without trouble) and I am getting DHCP cannot be acquired. I have change the IP Address to manual on the blu-ray player without changing the IP address itself and no error. I have checked the routers settings and DHCP is enabled. Is the08:29
bellowre a way to fix this? I had it connected just fine so I added the ip/mac address to the DHCP Reservation think that would help it did not.08:29
--- Tue Feb 3 201500:00

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