« first day (1102 days earlier)      last day (4214 days later) » 

15:00
someone quickly set me up on ssh tunneling
i see a bug
@Bob no i do not, i'd have to manually rebuild it, but it's not difficult
Bob
Bob
@jokerdino That VPS is geolocated to Florida. Should work for US services.
>_>
(user.name >= 20 && user.name <= 10000)
that's supposed to be user.reputation not user.name
Bob
Bob
lol
@somequixotic: you forget, I can't code much ;p
Bob
Bob
15:01
@somequixotic Don't worry, it's Javascript.
@JourneymanGeek you should learn! all good super users should be coders to some extent
like the Fremen of Dune
everyone should have glowy eyes
Bob
Bob
I'd just say, JS isn't the best to learn on.
Too many ways to shoot yourself in the foot.
also the fact that the "spec" for JS/EcmaScript is, in practice, interpreted as if it were written the following way:
@purefanatic Hey there! You're pretty special, aren't you? :)
SECTION 1.0: IMPLEMENTATION DEFINED
Bob
Bob
15:02
@jokerdino Sorry, I only know how to do it with PuTTY on Windows :P
mm :/
I had to paste about 10 kilobytes of minified JS to work out compatibility issues to get SO-ChatBot working on a WebKit-based JavaScript engine from 2011, which is pretty damn recent, relatively speaking
don't know of any other language besides JS where that kind of hackery is necessary
@somequixotic: working on python ;p
Bob
Bob
I think I'll just ignore nginx and go back to apache
but I'm really happier with hardware and obscure OSes
Bob
Bob
15:05
@somequixotic PHP
@Bob: eh, lighttpd seems ok to me ;p
@Bob apache isn't the fastest, but it's VERY user-friendly and sysadmin-friendly, flexible, can do almost anything you can imagine, and with mpm-worker or one of the other newer mpms, it's quite fast too
as long as you aren't stuck with prefork. prefork is not particularly fast
I'm running fpm
actually, practically this setup howtoforge.com/…
i think unless i were trying to set up an architecture for hosting Wikipedia or Facebook or some other top 10 internet site, I probably would use Apache instead of worrying about the headache of configuring nginx or one of the others
regis
15:07
apache is scalable enough even for a top 100 site as long as it isn't in the top 10 or 20
Bob
Bob
@somequixotic I want to use the Event MPM
But it's too new for Ubuntu repos
@Bob ooh, that one's nice
Bob
Bob
now is not the time to fiddle
I replaced apache by lighttpd on my rasppberry to increase available RAM
Bob
Bob
@somequixotic mod_php.
I really should switch to php-fpm.
15:08
@Bob TRWTF is php
Bob
Bob
@somequixotic TRWTF is how common it is
@somequixotic: lots of stuff uses it ;p
I need it for wordpress
which everyone hates but recommends anyway!
Bob
Bob
Normally, shitty languages die.
Actually, no.
@JourneymanGeek which means that lots of stuff needs to be thrown in a junkyard of burning tires
15:09
lol
i use perl-cgi 8-)
Bob
Bob
Statistically, the shittier the language, the more it's used.
5
@Bob you know, that's surprisingly correct, and baffling at the same time
I mean, look at how common VBScript is
it's used almost everywhere
hell I bet the ATM that spits out your money is running thousands of lines of VBScript
@Bob Maybe the more it's use, the more people look for reasons to consider it shit ? idk
Bob
Bob
@somequixotic Our local sysadmin asked me to help him with a vbscript copied off some site to set a registry entry
15:10
lol
you mean, hipsterism?
Bob
Bob
Told him to use reg instead.
@Kwaio Look for reasons?
@Bob ohh I could have helped him with that :D
Hey there! I have a little question for you, maybe I am just overlooking the obvious solution. Using a program in Windows 7 or 8, if I want to open or save a file, the location which is opened by default usually is the "Documents" library. How can I change that default location system-wide?
Bob
Bob
There's no need to look for reasons to think PHP is shit.
It's shoving it in you face the whole time.
15:11
    'Make the MSComDlg.CommonDialog class available for use. Required for filedialog function.
    'If the class is already registered in HKCU or HKLM, making these registry modifications has no effect in practice.
    'HKCU is modified instead of HKLM because admin rights are not required to modify HKCU.
    'The constant hex value referring to HKCU is &H80000001 which is used below.
    function registerComDlg
    	Set objRegistry = GetObject("winmgmts:\\.\root\default:StdRegProv")
    	objRegistry.CreateKey &H80000001, "Software\CLASSES\Licenses\4D553650-6ABE-11cf-8ADB-00AA00C00905"
from production code :(
well, kinda. not really production in the strong sense
@DarthAndroid Hey there! You're pretty special, aren't you? :)
it's more like an internal tool
@purefanatic you can't
at least, not in the general sense of a program
when a program displays a file dialog, it gets to choose where it defaults to
@Bob I know PHP is, I was commenting the general statement.
there is no general purpose solution that will set the default directory for all file dialogs on all programs
uhh, that's a shame :/ but thanks for your help anyways!
15:13
because as soon as you find a solution that works for 10% of the programs, I can write a new file dialog class that doesn't read whatever registry entry or ini file config or whatever that you depend on
I could draw on a blank canvas window using the Windows API and make a file open/save dialog, and hard-code a particular directory to default to into my EXE
there'd be nothing you could do except to hack the EXE
having said that, for specific programs it may be possible to change the default open/save dir
Bob
Bob
@somequixotic cough Java cough
but it would only work for that particular program or set of programs
Bob
Bob
The default Java file browser dialog pisses me off.
@somequixotic Can you disable the "Hey there! You're pretty special, aren't you? :)" thing?
@OliverSalzburg there's a bug in github.com/allquixotic/SO-ChatBot/blob/master/source/plugins/… where it's supposed to be supplying different greetings, and I wasn't in the most serious frame of mind when I wrote that string, it's supposed to only display for non-room-owners having >= 10k rep
I can disable the welcome entirely or just make it so it doesn't suck
15:16
@bob got a minute?
Bob
Bob
@jokerdino Hm?
@somequixotic Sounds good. Right now it's a bit confusing and high-frequency :D
@OliverSalzburg the patch to fix the bug would be trivial, and to eliminate the "you're pretty special" it's only a few more lines (eliminate one of the if statements in the welcome function), but I'm at work now; I could technically ssh into my box and do it from my server, but I don't have my private key on there so I couldn't commit to the repo
@JohnCavil I... uh... sure? (Are you referring to something in specific?)
@somequixotic Well, you got 24 hours!!! ;D
15:18
I could give someone else access to the box if you send me your OpenSSH RSA public key, though, and you could do it ;p
@DarthAndroid JohnCavil is my bot, so don't take it seriously
8
@somequixotic Noted.
!!help tell
@somequixotic Command i'm does not exist.
@somequixotic tell: Redirect command result to user/message. /tell msg_id|usr_name cmdName [cmdArgs]
!!tell 10753608 cowsay I wish I were sentient...
@somequixotic Command cowsay does not exist.
15:19
!!cowsay I wish I were sentient...
 __________________________
< I wish I were sentient... >
 --------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
2
!!listcommands
@somequixotic help, listen, eval, coffee, live, die, refresh, forget, ban, unban, info, jquery, choose, user, listcommands, norris, urban, parse, tell, mdn, awsm, color, convert, define, findcommand, fuckable, get, github, google, hang, inhistory, learn, hi, dead, o_o, stopgowtham, dino, @_@, no, taytaytay, mustache, nudge, spec, stat, timer, todo, undo, weather, welcome, wiki, xkcd, youtube, stackoverflow (page 0/0)
!!help mustache
@somequixotic mustache: Mustachifies a user. /mustache [link|usrid|username] [mustache=rand(0,5)]
15:21
!!mustache DarthAndroid
ok, back to work for me, lol
!!mustache JohnCavil
@OliverSalzburg Mustache me once, shame on you. Mustache me twice 9 times...
15:22
Curses!
!!mustache OliverSalzburg
Now, that would have been a hilarious image if both rabbits had mustaches.
!!moustache JohnCavil
15:23
!!mustache ThatBrazilianGuy
@JourneymanGeek That didn't make much sense. Maybe you meant: mustache
@JourneymanGeek That didn't make much sense. Maybe you meant: mustache
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
it does face detection and applies the mustache, so maybe it didn't detect the rabbits' faces
15:24
@Kwaio yes
@somequixotic i haven't started yet ;p
github.com/Zirak/SO-ChatBot/issues/52 is still in "open" status because @Zirak hasn't fixed a known bug/regression in this commit
Bob
Bob
@somequixotic Wait... if you can get in there to add the key, can't you just modify it directly? :P
that's why you see this
Bob
Bob
!!tell 10753765 NO
15:26
@Bob yes, but typing on a phone on-screen keyboard is slow, so pasting a public key into an authorized_keys file is a lot less work than doing actual development on the box
Bob
Bob
Ahh :P
@Gowtham I don't really use enough browser caching to store music i may listen agin one day ^^
Bob
Bob
I can try to do the changes if you want. Assuming I have any clue what I'm doing.
@jokerdino don't use tor ;p
@Bob I would greatly appreciate that!
15:26
simply run a ssh daemon in the background
you don't have to commit the changes back to git; I can do that myself after you're done
@Kwaio Spotify has a client
@Bob I assume you have no fears about pasting your public key here, since it's, you know, public; so all I need is that, and in a few minutes I'll tell you the username, IP, port to SSH to
15:28
!!mustache
Bob
Bob
@somequixotic My public key is public?! O.O
@Bob :) well what I mean is that it's not a security risk to make it public, in other words
no more of a security risk than disclosing your SE username
Bob
Bob
Yea, I just need to fi-
Oh. It was a 1024-bit one. Wait a sec, digging up one of my other certs.
aha now @bob can refresh it :)
Bob
Bob
15:29
@Gowtham Whyever would i want to do what?
because dino
@Gowtham ?
how do i tunnel dammnit?
In case you kick it again
15:30
the revsys articles are always bare minimum and very useful and simple to follow
use KiTTY if you are on windows ;p
user image
3
ssh -L 8888:serverserswer:80 [email protected]
i did that.
then what?
point spotify to port localhost:8888
it's SOCKS 5 btw
okay.
brb -- dinner
15:34
!!> =5+3
@Gowtham [object ErrorEvent]
!!> =5+3
@Gowtham [object ErrorEvent]
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
!! help
15:35
!!eval 5+3
@Psycogeek [object ErrorEvent]
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
!!c> ['hello', 'world'].join ' '
@Gowtham [object ErrorEvent]
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@somequixotic js/cs is not working !!
!!urban Borked
15:37
@Psycogeek borked To have totally fucked something up. Usually by doing something stupid. Specifically used to describe technology that is broken.
!! bitch
@Gowtham Life is just perfect
Bob
Bob
@somequixotic There we go.
deleted
!! thank you
@Gowtham You kiss-ass
15:37
@Gowtham it might be due to the older JS engine in PhantomJS, hopefully fixed when PhantomJS 2 comes out
Bob
Bob
@somequixotic "when" :P
@Bob ok, cool, i will have you authenticated in just a few moments
bbut it might take forever
Bob
Bob
Though, I would've thought an eval would work.
That's a brand-spanking-new key :P
I just realised one of my main ones was 1024-bit, and another was cloned from an older machine.
!! should I kill or summon you ?
15:38
@Gowtham You should kill
by the way, summon is disabled on the bot. the code isn't even there.
Bob
Bob
lol
I baleeted the summon code.
!! Who to kill ? bob or somequixotic
@Gowtham somequixotic
15:40
!! define somequixotic
@Gowtham My pocket dictionary just isn't good enough for you.
!! urban quixotic
@Gowtham [quixotic](http://quixotic.urbanup.com/822084) 1. Named after the classic litereary character Don Quixote, it means to pursue ideals without any thought to practicality.

2. The mood in [\[livejournal\]](http://urbandictionary.com/define.php?term=livejournal)'s mood theme list that no-one knows what the hell it means. Especially not those that make mood theme icons.
!!choose "kick Gowtham" or "knock some sense into Gowtham"
@somequixotic kick Gowtham
15:40
!! bash somequixotic or kill somequixotic ?
@Gowtham kill somequixotic
!! kill how ? with a gun or a kinfe
@Gowtham a kinfe
Bob
Bob
Ok, if you're quite done with murdering people...
!! kill bob or mute bob
15:42
@Gowtham kill bob
!! kill or mutilate or kick or ban
@Gowtham kill
lol, I think it's hard coded
OK @bob
its the paper man i tell you. Give it life and it will keel you all.
15:44
!! OK or KO
@Gowtham OK
groan
@Bob you got that msg ^^ ? can i baleet it?
@Gowtham Item(s) added.
yesss
Bob
Bob
15:45
@somequixotic Yea
Now need to purge the bot.
it's ok; password based authentication is disabled, so you won't be able to brute force anything
Bob
Bob
Just can't trust this guy :P
@Bob that sounds discusting.
Bob
Bob
(I'm kidding, in case the joking tone did not make it through)
@Bob are you logged in?
15:46
!! todo rm 1
@Gowtham Item(s) removed.
@bob happy ? :P
!! todo get 1
@Gowtham (0)5.9.171.84, (1)port, (2)222, (3)with, (4)username, (5)sean
oops
!! todo rm 0
@Gowtham * does not exist.
@Gowtham Item(s) removed.
15:46
!! todo rm 2
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@Gowtham Item(s) removed.
!! todo rm 3
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
uhm mods ....
@Gowtham Item(s) removed.
15:47
@jokerdino halp
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
Bob
Bob
@somequixotic Key refused
you broke it
!! todo rm 0
15:47
omg, i need to revert that anti-spam commit
@Gowtham Item(s) removed.
!! todo get
Bob
Bob
@Gowtham So useful, now that the bot's chat message is there
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@Gowtham (0)port, (1)with, (2)sean
15:48
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
!! /undo
Bob
Bob
This is ridiculous.
@Gowtham Now would be a good time to stop :P
Error 408 occured, I will call the maid (@Zirak)
@JohnCavil Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@Bob Damn newlines; try again
@somequixotic I needs some bot privils
Bob
Bob
15:48
Ugh. I'm clumsy with PuTTY
@Bob ok :/
Bob
Bob
@somequixotic Ya, it works.
@Bob ok cool
Bob
Bob
Now, where's the bot? :P
in ~/dev is SO-ChatBot which is this and so-chatbot-driver which is this
Bob
Bob
15:49
Does anything have to be reloaded after updates?
!!/info
@Gowtham I awoke on Sun, 11 Aug 2013 18:25:13 GMT (that's about 21 hours ago), got invoked 163 times, learned 9 commands
just 9 commends @_@
!!help timer
@Psycogeek timer: Starts/stops a timer. /timer start [name] starts a timer, /timer stop name stops a timer.
15:50
@Bob so-chatbot-driver should be fine, I don't see the need to change anything there, except that whenever you modify anything in SO-ChatBot, you need to call node build.js in SO-ChatBot directory, then cp master.min.js ../so-chatbot-driver then cd ~/dev/so-chatbot-driver; killall -9 phantomjs java; ./start.sh
Bob
Bob
Right.
so in other words, you change something in ~/dev/SO-ChatBot/source/ then you call this: cd ~/dev/SO-ChatBot; node build.js; cp master.min.js ~/dev/so-chatbot-driver; cd ~/dev/so-chatbot-driver; killall -9 phantomjs java; ./start.sh
you can make that a script if you want
@jokerdino did u get spotify to work ?
lol Gowtham calling jokerdino "sis" (sister)
2
bleh, s is near d =_=
fuck you guys
15:53
@Bob in order to get rid of the annoying "please don't spam" messages from the bot:
@Gowtham Not for me.
git revert 688330936487aa499c3e4d834d732d9030b54326; git revert 211b0f4a66cadbff01ea42b3586cd4d50b1abddb
Bob
Bob
Ok, user.name => user.reputation?
@Gowtham Must ... resist ... to ... flag!
that reverts the spam detection commits... do that in ~/dev/SO-ChatBot and do the rebuild like I said above
Bob
Bob
15:53
@somequixotic I'll do that first, then.
@Bob yes, in ~/dev/SO-ChatBot/source/plugins/welcome.js
in the if statement in the welcome function
Bob
Bob
Urgh. Local changes will be overwritten.
there shouldn't be any local changes. git diff ?
@Bob Stash them.
maybe the local changes are just the local master.js / master.min.js builds
git stash should take care of that
I honestly have no clue why @Zirak keeps master.js / master.min.js builds in the repo, because node build.js regenerates them
Bob
Bob
15:55
@somequixotic Hammers. Hammers everywhere.
@Bob yeah, in master.js / master.min.js, right? yeah. stash those, don't care about that
only significant changes worth keeping would be in source/ if any
Bob
Bob
Urgh. Unmerged files now.
Had trouble reverting the first one.
!!norris
@CanadianLuke Chuck Norris' Penis is a third degree blackbelt, and an honorable 32nd-degree mason.
if you really hose it up, you can just do git reset --hard origin master I think to restore the upstream version of everything
or just baleet the entire damn repo and clone it again: cd ..; rm -rf SO-Chatbot; git clone https://github.com/allquixotic/SO-ChatBot
Bob
Bob
15:59
Urgh. Just a sec, grabbing a network cable.
a network cable? well, okay then

« first day (1102 days earlier)      last day (4214 days later) »