hey

K maybe I lied. After soldering up the breakout for the compass sensor I still had a little time before dinner, so I went to fix that big bug in r9k.

http://randname.pastebin.com/f4cd88808

Just some little warnings (this should be in a README...):
If you are copypastaing the code and running it just like that, remember to create directories that you may have specified. I haven't gotten round how to prevent that but just do. In the code I posted up that means you have to create [xchatdir]/r9k/logs and [xchatdir]/r9k/form ([xchatdir] is your xchat settings folder).

CHANGELOG:
1) Bugfix - Numbers now logged (number multiples are not stripped btw)
2) Logfiles now are "short" (under 10 chars), the multiples of 10 under 150 and "long" (150 and above). This will potentially be configurable. In the meantime just archive your old logs or smth
3) Toggling via PM now indicates who did it.

Hmm, since this was a bugfix I shall not think I have continued messing with xchat.

Ok...

Since school has started (though it's at home), I shall not meddle too much with other stuffs first.

Chromium Alpha has some updates again. Under the Hood options updated.


Also, search options can be tweaked. Finally I can edit keywords and delete Live Search.

oops...

Major bug found in r9k.

Logs do not include numbers.

At first I thought it a little weird, but now it's confirmed anyway.

Planning to issue major changes anyway so I'll be clearing logs.

+TODO: Hash loglines longer than a certain length.

changelog

For the lack of something that I think is better to do, I have decided to edit r9k in lieu of elearning.

1) Put announce_status() in its own sub. Done, but its called r9k_status()
2) announce_status() whenever someone joins. Not doing, will redirect to 3)
3) !r9k will include status, or PM 'status' Done, but without !r9k trigger
4) Start using variables in regex. So that i can just do "blah blah ^n blah blah" and replace ^n with the nick etc. Done. Stripped chars, pm passwords and allowed triggers moved to variables.
5) Change the mute time based on repeated offences. Like the real Robot9000.
6) Hash based one-time-use remote passwords.

Other Changes (excluding those associated with 4):
a) Everything output to the channel via the script is prepended with "Robot9000: " to avoid confusion when I'm talking instead.
b) Status change now includes reasons (via Xchat, via PM, quit, reload).
c) punishes differently for empty strings/strings with whitespace.
d) punishes for "!r9k". now the only legal r9k triggers are "form [nick]" and "help"
e) Default answer for PM when r9k is off is "r9k is off".
f) Timeout help text moved to variable.

TODO 5 and 6 will prolly come very much later. New version here : http://randname.pastebin.com/f3ed439d1

And thus...

The melting iceberg had frozen over again, albeit to just a quarter of its original size. People who were clinging on to the shrinking chunk can stand and move on it yet again.

And yes, I just happened to notice that Chromium can do http authing now. One less reason to run Epiphany. And even now I watch youtube from Liferea since there is a mozilla engine built in anyway.


And some short words on events past:
RIPMJ: Sad that I only knew him for Moonwalk, Bleach, Nose and Pedo.
ELEARNING: Saved the asses of a few people I bet. But we will have trouble rising on July 7.
COSFEST: July 11/12. wth is this going to happen with h1n1?
ENDLESS EIGHT: Kyoani settles this in the most elegant manner possible. Applause. Not helpful or clever, but elegant.

moar chromium updates

I just bothered to check today, so I dunno if they have been there earlier, but its new anyway.

The bookmarks bar just started working for me, as with the Bookmark Manager, so I loaded some useful bookmarklets rather immediately.


Also, finally the Personal Stuff options page has been updated. Not much but not too little, and I immediatley went to turn off Password remembering


somehow its beginning to feel bloatish, with that zygote process running. Hopefully I will not have to make a difficult choice between FF 3.5 and Google Chrome/Chromium. And now I have this really weird bug where i can only type in certain places.

r9k todo

In order to keep my own promise that I will not touch R9K unless a bug appears (but it seriously addictive), I shall make a todo so that I know what I would have done.

1) Put announce_status() in its own sub.
2) announce_status() whenever someone joins.
3) !r9k will include status, or PM 'status'
4) Start using variables in regex. So that i can just do "blah blah ^n blah blah" and replace ^n with the nick etc.
5) Change the mute time based on repeated offences. Like the real Robot9000.

UPDATED: 6) Hash based one-time-use remote passwords.

In fact, the main differences between my script and the real Robot9000 is that mine can only be on when I run Xchat, and that I use a (actually a few) flat file database instead of a real database with SQL. But hey, its just for entertaining friends.

I wonder when I will think it enough to put it up in official script repositories.

r9k updates

After breaking my own silent promise not to touch r9k for the last week of 'holidays', I believe I have reached the point where I feel it ok not to edit the code now and then.

In fact so much that I shared it: http://randname.pastebin.com/f280b7151
(Sorry for bad formatting and weird obfuscation, it's one of my very bad habits)
Feel free to edit it as much as possible. If you can get it to be more like Moderator on #xkcd-signal, why not?

Changes include:
1) No more debug mode.
2) Sets channel to +m on activation, -m on leaving. Also announces to the chan
3) Mutes for configurable (default 5 seconds) time by -o pplz
4) either say "!r9k" or pm the bot "timeout" to get the current mute time
5) either say "!r9k form [nick]" or pm the bot "form [nick]" to find out how many times you have angered the bot. If nick is left out it defaults to you.
6) Password for remote toggling. Look for "password" in the code and change that.
7) Nick list accessible from @users and also $num_users after calling load_users();
8) Xchat::EAT_NONE; instead of printing again.
9) Order of stripping: Case, Multi-letters (>3), punctuation, Multi-whitespace.

Finally, a well deserved rest away from perl. But this means I need to rush the remaining homework. Kuso.

15498

zzz. After reading "Endless Eight" off Baka-tsuki, I can't help but think its rather fitting for them to have put things as such. But seriously, what was that snakey thing that Nagato had? It appeared to be just coming out in an endless stream from the ground. and her 1-2-3-4-5-4-3-2-1-2-3-4 was epic lol, with Mikuru's many gutterballs.

zzz. new OP is ok, animation feels like that "Skittles" MAD (with Candy Pop), especially the part where the name comes out with the stars behind the person. And what's with the quantum terminology in the chorus? I see neutrinos, the different quarks, gluons, tauons, muons and electrons. wth. Then the street signs, "tomare" and infinity lol. My favorite is the last part where everyone does the retarded moves, incl. the minor chars + the computer society. And even the final running sequence has many references, I think I saw Planck's constant, Riemann Hypothesis and telekinesis. Oh, and kyon's ccc-combo breaker.

zzz. and with what coincidence that it was also the last 2 weeks of our "summer break"? (when it aired) Lets all hope it repeats 15498 times with some variations and we can all do homework together on the last day to break the loop. Of course pardon me if any IDEs are around, hopefully you can help us vary our activities a little so that it ain't that boring for you.

heavyheaded

Been nose-deep in Perl for the past few days. No doubt still messing with R9K.

Tried to add nick-stripping - Epic failded at getting the nicklist properly
Tried to add kick-logging - Epic failded at writing to the files

Tried to save time looping through huge logs by splitting according to line length
- Still ok. By analyzing what was the most frequent number of characters in a line (since I had logs already), I decided to split the files into x<20, x<50, x<100, x<150 and everything else. Currently as expected the x<50 file is the largest with the most number of lines.

Also, been draining my brain coming up with thrust vectoring for the Arduino. Secret project desu. All I can say is "arrgh, I do not want to see a Servo library again".

Seriously, I have not been able to clear a single backlogged ep these "holidays". Was even too busy to watch the other half of "Endless Eight" (which btw, I was late in getting) after I paused to reboot my comp after updating the kernel. And I just thought about the day I need to regex sentences like the previous one. ARRGH.

Yet another half of the remaining half of the iceberg has sunk into the icy waters, clinging on to the remainder is futile.

Robot9000

UPDATE: Nao it strips multiple whitespace instead. and I just exhausted my brainjuice for the day by regex matching a url...

on #miko @ irc.rizon.net we usually have quite a bit of problem with spamzorage.

Inspired by the Moderator from xkcd-signal, I decided to write up a small xchat script to do that. I was already editing Uberscript for dunno since when, and I think I have the basic perl + regex foundations.

And I think I have most of the stuff done. Robot9000 on #miko (the bot is named, well, MikoBot) does these:

- ignores case, more than 3 repeated chars, punctuation (except some) and spaces
- Keeps its own abridged logs with the above output.
- Lets triggers (!slap, !quote etc) pass.
- Special triggers for !hello and !url to share the love.
- Commands for Toggling and Debug mode (with debug log and debug log clearing)
- And of course, Kicks when "you said something said before" (cuz a mute ain't fun)

It is working rather well, except that it can only work when my Xchat is running. dang.

*note : in that order. Think about how it actually affects the output

nuance

I have the perfect opportunity to finish as much of my backlog as possible in this hols. Back to back 12 eps at a time ain't a big problem now. But I am not doing so.

For the lack of a better way to put it, I shall just say I don't want my family to say that I am doing something unconstructive. I prefer to be reprimanded for not doing anything constructive.

And that's my holidays wasted away. I wonder why.

http://xkcd.com/597/

vanity urls

I got kwokshungit. others had better plans.

WTH:
http://www.facebook.com/retard
http://www.facebook.com/slashdot
http://www.facebook.com/parody
http://www.facebook.com/rickroll

http://www.facebook.com/touhou
http://www.facebook.com/reimu
http://www.facebook.com/sakuya
http://www.facebook.com/patchouli
http://www.facebook.com/cirno

http://www.facebook.com/toradora
http://www.facebook.com/shana
http://www.facebook.com/index
http://www.facebook.com/mikuru
http://www.facebook.com/suzumiyaharuhi
http://www.facebook.com/caramelldansen
http://www.facebook.com/evangelion
http://www.facebook.com/kanaria
http://www.facebook.com/suiseiseki
http://www.facebook.com/souseiseki

Some Sense:
http://www.facebook.com/Portal
http://www.facebook.com/fakku
http://www.facebook.com/Microsoft
http://www.facebook.com/windows
http://www.facebook.com/haruhi
http://www.facebook.com/hatsunemiku
http://www.facebook.com/fatetestarossa
http://www.facebook.com/photoshop
http://www.facebook.com/suigintou

not taken? (as of 20090613 1900h):
http://www.facebook.com/kyon
http://www.facebook.com/tsuruya
http://www.facebook.com/nagatoyuki
http://www.facebook.com/asahinamikuru
http://www.facebook.com/izumikonata
http://www.facebook.com/gundam
http://www.facebook.com/4chan
http://www.facebook.com/google
http://www.facebook.com/yahoo
http://www.facebook.com/error
http://www.facebook.com/darthvader
//anyone after shinku

redirects to home for some strange reason
http://www.facebook.com/flandre
http://www.facebook.com/pidgin

popup blocker for the lulz

I just noticed that...and why it shows that it blocked 6 when there were supposed to be 10...I have no idea. They definitely did not slip through.

Oh, and options dialog upgraded! Nao you can selects your default search engine (for the omnibar). For some reason I still can't set my homepage, but you can set what pages open at startup (I use the chrome://newtab)


UPDATE: This is most likely lagged, but I read about it in ubuntuforums and some guy was asking it 2 days ago

nice looking but I disabled them again.

Action vs Inaction

Sometimes, I feel that when I make a decision it basically means one willpower was stronger than another. If I wake up to read the papers, it means that my willpower to get updated in the meatspace was stronger than my willpower to stay in bed just before the sun rises. And I don't think it has anything to do with desire.

Somehow this holidays I have been sweating a lot. Was it Beijing or is it simply that the weather is getting hot, I dunno. I feel ok, but my body tells me otherwise. But then again I don't like sweating in clean clothes so I am using the ceiling fan a lot more than usual.

Also, I think I do stuff very much better when I actually want to do it, or I myself have somehow put it into my agenda. It is no use trying to get me "in the mood"; you have to hope for the best. The greatest problem however, is that most tasks are set within a timeframe; and if I don't feel like doing it within that timeframe then either I or someone else is screwed.

Travesing wikipedia

One of my much less enjoyed things (though I do it rather often and that it is rather beneficial) is going to Wikipedia to read up on something that popped up, and finding myself reading all the related articles for the next half to one hour.

Final Theory (by Mark Alpert) -> Da Vinci Code (yes, I did not know anything much about it till now) -> Angels and Demons (this too)

And from A&D, it split into many things
Quibble (Oh great now I know what it is)
Ambigrams (Oh so now I reinforce what I already knew)
Lara Croft (via Illuminati)
All those society thingys
All those controversy thingys

Thanks a whole lot.

pc show 09

Nothing much this year, except for a finding a printer that uses waterproof ink AND can print on CDs. If you thought this is nothing, then show me some older (before this year) models (regardless of brand) that can do the above...

Oh, and before going in, I stopped by the BlueMax somewhere in the Tropics part and saw DVDs of Makoto Shinkai's Voices of a Distant Star and The Place Promised in Our Early Days. If not for the fact that they were Code 3 (I prefer Code 1, but then again I don't think they were released in that format) I would have grabbed them.

I need to hunt for a Terabyte storage drive for my stashes...arrgh...

Mashup

I got this a while ago but it took me a while to reproduce it:

And that was after I accidentally tabbombed. Related links always catch me.


I must thank gnome-screenshot for not screwing up when my comp was lagging pretty badly.

Also, I realized something. I totally needed to defrag my life, but I definitely do not have enough contiguous free space nor time to do so.

I would really like to find someone who is having the same multi-life as me. Stepmania, Juggling, Programming, DIY-ing (electronic/mechanical type), Inline-skating, Yo-yo-ing, Animu-ing, and RC flying.
Those are the key things I am looking for at least for now. If anyone knows anyone other than me who shares at least 50% of the above, tag. That is all.

Anti-neet

I consider myself to have been a hikki for most of my younger years, not going out except for schoolwork/family. It's not very much different now except that I do go and socialize a bit with my previous classmates and there are competitions and other stuffs. Also there is the ironical part of which I go out for anime stuffs like Cosfest and Latendo.

Of which speaking I just went to a while ago. I made a transit at Sunshine Plaza to check out the prices at KKnM before going to Kallang. I thought I would have learnt from my previous time on the same route that I chose; but apparently I got off at the stop which I did last time which was much further than the stop just before. Nevermind, a bit of exercise never killed anyone. Then I went to cross an overhead bridge and I soon found out that I didn't need to, as the bus stop was on the same side. Stupid mistake #2.

I wanted to get the baseball ver of Haruhi and Mikuru, but seeing that there was 3 sets of each I deduced that it was not too popular and I should wait for the price to drop first. The Tsuruya Maid ver and Mikuru Battle Waitress ver has 1 each, so I got them first.

I also preordered the Toradora Gashapon for some old friends. I said 3 sets and those guys lifted an eyebrow slightly lol.

a plan

(101th post)

I think I told some before, but I think a community effort would be better.

I don't regret not learning the piano, but sometimes I really wish I could play some pieces past "Mary Had a Little Lamb", especially OPs and EDs. Decoding by ear isn't very fun either. Rather than lament, I'm going to make use of that piano Dr. Hon left in the OTH Hall...

I want to print out the scores that I can get off http://josh.agarrado.net/music/anime/ and just "place" them there. Hopefully they don't get blown/thrown away and someone who is playing bothers to pick them up to give a try...

And by my wishful thinking people studying there would be doing their work with HHY in the background...

Also, after listening to the K-On! songs I still can hold off watching it, but most likely not for long. CoalGuys subs seem to stand out.

Planning a trip to Latendo tmr, most likely to preorder stuff and get figmas.

Move

From now on I will put animu stuffs here, where they shall rest.

Next few posts will be imports.

UPDATE : Did something stupid, imported 4 times...spent about half an hour finding my posts and deleting the others...still need to slap on tags...

UPDATE 2 : Also, it appears that with the addition of imports I have 100 posts. How stupid. And I hope I didn't miss out anything...

Wtf

I met a 知音 at YDSP today. Irony that he is from RI, but he doesn't seem like the snobbish type.

I was playing stepmania, then he came over. Quite obviously he saw my OS and the song that I was playing.

He asked if I was a geek, but I daoded him a bit first. My troll filter was set on high just in case.

Then a while later while I was choosing a song he whistled one of the songs from Shana. I carried on from where he left off, then we lolled. After that he also did Imperial March.

Then he saw my taskbar, with "Gendou's Ani...". He said something about "illegal dls" I told him my house won't have enough space to put the cds. He also saw my wallpaper with Kona and I spun it around to show him the rest.

Slightly later on when I was playing motteke! sailor fuku he asked me if I knew the typing game, the I went "oh-yeah-typingmania". That totally hit the mark.

He doesn't seem to have FB (yet), so I shall get his contact or something. It also suddenly dawned on me that I forgot to get his name.

Chromium Alpha


Now we are getting some nice progress...

Also, I never noticed this (on Chromium) before...


With current progress, FF is going to be dumped soon...

And by the way, if anyone is noticing the focus shift here, don't worry. Its just another burst pod.

Ok whatever if you want/miss the other me