« first day (1273 days earlier)      last day (3748 days later) » 

3:00 PM
@LaszloPapp check what you are sorting by
 
ah, right, thanks.
I wonder how that changed though.
 
test2
ok, I just sent that with Firebug
 
there's a sandbox, you know?
 
I know, I've been doing testing there, I just wanted to see if I could send to a different room
 
well, the above question is a duplicate
so close votes are welcome respectively.
 
3:02 PM
apparently, chat generates a different fkey for each browser... :/ because Chrome couldn't send it, but when I found the fkey used for my previous message and used it it worked.
 
s/browser/session/
 
so I think I'll have the user post one message, and then my script will inspect the POST request, extract the fkey, and then it will be ready to send.
 
you can find the fkey in the global scope
 
oh wow
that's easier than I expected, lol
$.post("http://chat.meta.stackoverflow.com/chats/89/messages/new", {text: "this is a test.", fkey: fkey().fkey})
try pasting that into your console
 
@Doorknob Work on Cinder! :P
 
3:05 PM
I think it should work
@hichris123 I'm working on my spam-notifier-thingy right now :P
 
ReferenceError: fkey is not defined
 
this is a fest.
 
@DoorknobofSnow That's basically what Cinder is. Lemme get you the repo.
 
@3ventic erm... what? it worked for me (the "I think it should work" message was sent with it)
 
3:07 PM
@hichris123 nice, but I'm going to make mine post into the Tavern
 
what to do with answers which do not provide any values to the upvoted answers? Say, there are 10 answers, and 2-3 are just a small subset of other answers with less information provided. Worth cleaning up, or just downvote?
 
this is a test.
chromium works
 
Try this: $.post("http://chat.meta.stackoverflow.com/chats/89/messages/new", {text: "this is a test.", "fkey":StackExchange.options.user.fkey})
 
ReferenceError: StackExchange is not defined
 
3:08 PM
Ah, okay. That's what works on main sites.
 
TypeError: Cannot read property 'user' of undefined
 
this is a test.
 
ok, now I need to fix the SOP
 
Okay, @Doorknob your works.
@DoorknobofSnow Thought 1: that's going to overrun the Tavern.
 
each site also has a different fkey
 
3:11 PM
@hichris123 well, manually pasting in each spam thing seems to work fine, so I don't see why it can't be automated :P
 
@DoorknobofSnow Seems to work, sure. However, think how many it will turn into.
 
greasemonkey scripts can talk cross-domain
Maybe it will be easier to connect to the hot question feed from here?
 
ok, I need to learn how to use CORS
but right now I'm going to take a break to eat waffles
 
Ooh, you can @ ping with that. :P
 
sorry, had to try ;-)
 
3:17 PM
Easy way to get chat banned: ping all of your site's mods every second.
 
there's a throttle in place
 
Okay, every 5 seconds then.
 
still throttled
also, the easiest way is still to advertise a commercial product or (say) hypnosis
 
I like the black magic spammer (or whatever that is).
 
ok, flagged
 
3:22 PM
and while we are at it, please notice how even spammers avoid SharePoint :P
 
@SPArchaeologist only this guy, and only for now
 
10
Q: Adolf Hitler user and Icon

rolflCurrently a persistent person is creating this user account in various SE sites, and then joining various chat rooms.. RegDwight has run out of moderation options for this. Can devs or other community leaders step in? There is some chat history available at the above link. Here's the user's cur...

Hitler invasion?
 
@Oded Can you have a look at this ^^^^^^
 
ok, those waffles were delicious
now trying to figure out CORS
 
@rene I've been destroying them as soon as I see them.
 
3:26 PM
Ok tnx...
 
@Oded Yay! Do you get number of accounts destroyed stats? :P
 
Nope, but personally seen at least 7
 
sometime I would really love a "mod for a day" option. The pleasure of nuking the accounts of such genius must be something worthy the time lost.
 
Guy is persistent
 
tell us when you hit 666
 
3:28 PM
I hope you get to 1945 quickly
 
Me? You mean him.
 
@JanDvorak you will notice when the chat font turns Zalgo
 
Yeah probably
 
I'm on this. I'll write a proper answer in a bit. He's definitely using proxies / tor / mobile networks. Coincidentally, it's Holocaust memorial day so ... how wonderful of him to spend it with us. — Tim Post 2 mins ago
 
maybe we could just send him back in time?
 
3:31 PM
There is a specific bunker I would send him to. A specific moment in time too.
 
I wanted to suggest 100 years back, but that's a nice place, too
 
gah! SE chat y u no Access-Control-Allow-Origin
:/
 
So no auto spam report, @DoorknobofSnow?
 
some old dups:
83
Q: How do I restore files to previous states in git?

Aaron MaenpaaGiven the following interaction: $ git add foo $ git commit -m "Initial import of 'foo'" $ rm foo # This could be any destructive action on foo, like editing it. How do I restore 'foo' in my working copy? I'm looking for something like: $ git <magic> foo Restored foo to revision <blah>.

 
@ShadowWizard I must somehow find another way :O
 
3:37 PM
@DoorknobofSnow hack!
 
Only on meta do we get into a long winded discussion on how to properly report stuff such as the Hitler accounts... :P
 
RSS feed
 
201
Q: Rollback file to much earlier version using Git

jdeeIs there a way in Git to rollback to a much earlier version of a file? I can roll back to the previous version with REVERT, but what if I want to go back to earlier versions? What's the best workflow for managing waypoints in your code? Should you branch each time so that you have a full copy o...

 
@3ventic takes too long. I need it to be instant so spamflaggers can flag it quickly
 
@hichris123 by the way, do you prefer Linux or Windows?
 
3:38 PM
I was going to suggest one month back, but keeping the same exact position as now. Position relative to the sun
 
66
Q: Reverting a single file to a previous version in git

georgeliquorIs there a way to go through different commits on a file. Say I modified a file 5 times and I want to go back to change 2, after I already committed and pushed to a repository. In my understanding the only way is to keep many branches, have I got that right? If I'm right I'm gonna have hundreds...

same question :-)
 
@JanDvorak Why? I use Windows all day, though I do have a Ubuntu VM & EC2 Instance.
 
earth should have moved enough in a month... enough to end up in space.
 
@hichris123 so, it's true
 
What's true @Jan?
 
3:40 PM
@hichris123 that only on XKCD you can start a discussion about Hitler and end up arguing which OS is better.
 
Heh. Find that XKCD for me. :P
 
@LaszloPapp oh god, did you check all those "possible duplicated" comments?
 
@JanDvorak - now we just need to test if the old story "no day will pass on meta without at least one user referencing MLP" is true
 
...and I fear I just checked that for today.
 
3:44 PM
@ThiefMaster Thank you. :P
 
@Braiam: yes, of course.
 
hoping nobody thinks of posting that Hello Kitty parody.
 
We need in the rooms's tags! (not)
 
@ThiefMaster Add it to the AU general room, where he has been. ;)
 
3:54 PM
this is a test
 
we had the [cthulhu] tag on meta until some Grinch removed it
 
this is a test
whoops, sorry, script misbehaving
 
... tempted to follow that with a "this is a flag"
 
although yaaaaay, cross-origin policy solved! (I used (Grease|Tamper)Monkey's XmlHttpRequest custom thing)
@Bart this is a reply
 
believe me, you don't want to escalate this to "this is a smiting stick" @DoorknobofSnow
 
3:59 PM
:P
 
@Bart What would happen if you were a mod? Would your smiting stick go crazy?
 
Try and see @hichris123
 
What does that mean? Nominate you to be a mod? :P
 
I used to have one of these when I managed a small team:
 
Ha, I guess it's a good thing that my team is basically just me. Though I've been tempted to fire me on occasion.
 
4:02 PM
@Duncan ^ What do you think?
 
What? ^^^
 
@Doorknob You're posting real questions.
 
okay, I made the spam detector think that every single question was spam, just to test, and I uncommented the "send to Tavern" code
 
What are you doing @DoorknobofSnow?
 
4:04 PM
sorry :O
didn't anticipate that :P
okay, so apparently it works now, yay!
 
You're going to make me have to work on Cinder. Wow, thanks @Doorknob. :P
 
Can't you have a chat box of your own?
 
Hey, we only need 6 people to actually flag it as spam for your detector to be correct @DoorknobofSnow.
 
I constantly argue with myself
 
@Bart Lol, I'll change the regex back to /<h2>[\s\S]*?(?:\d{10}|vashikaran|baba|love)[\s\S]*?<\/h2>/i and leave it on for a while, and see if it detects anything
 
4:05 PM
@DoorknobofSnow if you are targeting that astral-spammer just noticed that the phone number is always the same
 
@DoorknobofSnow failed em all...
 
We should call it for our free consultation
 
here's the code I used, by the way:
function alertTheTavern(url) {
    if (typeof GM_xmlhttpRequest === "undefined") return
    GM_xmlhttpRequest({
        method: "POST",
        url: "http://chat.meta.stackoverflow.com/chats/89/messages/new",
        data: "text=" + encodeURIComponent("SPAM: " + url) + "&fkey=" + "6be2d79ba9e6e175facf8786949d8874",
        headers: { "Content-Type": "application/x-www-form-urlencoded" }
    })
}
 
@DoorknobofSnow through that merits closing
 
I thought that fkey changes per day?
 
4:08 PM
no idea, I guess I might have a problem... you can easily get your fkey by running alert(fkey().fkey) in chat though.
ok, the spam-detector-izer is running now.
 
@DoorknobofSnow You just gave us your fkey...
 
@hichris123 ummmmm... so now you can send messages as me? :O
I'm making it prompt for fkey now, anyway
 
you can't use each others fkey...as expected
 
lol, ok good
 
This was my intended message I'll be banned for this
 
4:16 PM
:P
now I actually want spam to come so I can test my script :P
 
flagging random question...
 
no, it looks for keywords in the title
@rene
/<h2>[\s\S]*?(?:\d{10}|vashikaran|baba|love)[\s\S]*?<\/h2>/i
 
I can ask a question about love
 
lol
I'll just wait until the spammer comes again
 
@Doorknob Is that open source? I'd like to see your send-to-tavern code.
 
4:18 PM
when Relationships and Dating gets more active, that regex might be a problem though :O
11 mins ago, by Doorknob of Snow
function alertTheTavern(url) {
    if (typeof GM_xmlhttpRequest === "undefined") return
    GM_xmlhttpRequest({
        method: "POST",
        url: "http://chat.meta.stackoverflow.com/chats/89/messages/new",
        data: "text=" + encodeURIComponent("SPAM: " + url) + "&fkey=" + "6be2d79ba9e6e175facf8786949d8874",
        headers: { "Content-Type": "application/x-www-form-urlencoded" }
    })
}
 
Or ask a question about Baba O'riley on the Music SE
 
@DoorknobofSnow okay, thanks!
 
it uses GreaseMonkey's special XmlHttpRequest that allows cross-origin
 
does anyone know how long a chat fkey stays valid?
 
no idea. use this code to get your chat fkey:
 
4:19 PM
Until it no longer is @Undo. You're welcome.
 
@Undo I've heard it changes each day
 
prompt('Here is your fkey', fkey().fkey)
 
Drat. We need a chat API
 
@Undo I believe that's [status-declined]
:(
 
(Alternative: I need to get Zirak's chatbot up and running and find a way to make it post spam alerts)
 
4:20 PM
15
Q: Will chat be accessible through the API?

MicTechWill chat be accessible through the Stack Overflow/Stack Exchange API?

 
> 2010
 
Jeff @Braiam
:)
 
@Undo you actually posted this a while ago, which would make it much easier :P
 
Yeah. Somehow I apparently never got the ping for Nick's reply ;(
 
if I ran two scripts, one here in the Tavern to listen for a message event and send a chat message when it gets one, and one to use postMessage to communicate with the other chat tab, it might work
 
4:23 PM
@Undo Cinder time?
 
@hichris Once I go get some stuff done.
 
@Undo Heh, snow day!
 
Yay!
 
school is cancelled for me today and I have no idea why :O but I'm not complaining! :P
 
That's why I'm here when I'm normally not.
 
4:24 PM
me too
 
@DoorknobofSnow Same, it wasn't too cold today but all schools around me canceled. :P
 
@Bart bounty-worthy maybe
 
Could be @3ventic
 
@3ventic "contains outdated info"?
 
Improve details, perhaps
The answer is purely speculation too
"Whatever the chat does"
 
fail
 
@DoorknobofSnow wrong link, perhaps?
 
It's the right link
his script notified me too
 
so... fail
 
community bumped it up from 2012 lol
 
4:32 PM
what was the swearword, after all?
 
Haha, it triggered on failover?
 
@JanDvorak love in 'failover'
 
You can't spell failover without love
7
 
ah, the scunthorpe problem again...
 
clbuttic
 
4:35 PM
I'm going to make a gizmo that pushes new posts from AU from users under rep x containing words a,y, or z to my iPhone.
 
I am awake
 
lol
should I add \bs?
(I went away from my computer for a while)
 
perhaps you shouldn't autopost here?
 
@JanDvorak but that's the whole point I made the script
originally it didn't autopost, but I just made it do that
so people could act on it quicker
 
Make a new room for it?
 
4:37 PM
yeah, I'll add word boundary markers. :P
@3ventic but this room is pretty active, and has lots of members that like burning spam! :D
 
My new wheel of blame (jsfiddle.net/AYPpF/104) wasn't added yet... Is YiJang ever on this chat???
 
baja, vashikiran - sure, post. ten digits - maaaybe. love - umm... perhaps you shouldn't.
 
You could get all the members that like burning spam in the new room
 
ok, I'm updating my spam script
updated
now has word boundaries (\b) and shows title along with link when posting to chat
 
My old one never updated the random number - here's the new one: jsfiddle.net/AYPpF/109
It gets the number from random.org :P I couldn't trust pseudo randomness
@Joe ^Read
 
4:44 PM
SPAM: magento.stackexchange.com/questions/14019/… (vashikaran specialist +91-9636595333)
hey, it worked!
 
I'm spamming YiJang :P
 
@ManofSnow there's no such user as YiJang... there is a YiJiang...?
and who's Joe???
 
Oh yeah! :D no wonder
 
@Jan @3vent @Bart please flag that spam (yay, the script worked!)
 
@DoorknobofSnow user destroyed ;)
 
4:46 PM
Booooo @Oded. No fun... Now I can't flag
 
@Oded thanks ;)
 
@YiJiang jsfiddle.net/AYPpF/110 This gets a random fraction from random.org for better randomness, and disables the button before saying 'spin again' with the text of 'Updating' before the new number from random.org is obtained, and it automatically gets every user currently in this chat, and puts them on the wheel (at the beginning).
 
@ManofSnow ...why would you use random.org? That makes no sense... there is Math.random
 
@Doorknob That's pseudo randomness
 
more randomer!
 
4:47 PM
@Undo Exactly
 
@ManofSnow ...and?
 
@DoorknobofSnow because there's random, and random
 
And it's not random enough
 
@ManofSnow So apparently you notice a difference?
 
Unless you have a million dollar computer with lots of complicated algorithms, it's not random enough.
 
4:48 PM
@ManofSnow "not random enough"??? Can you notice a pattern?
 
@DoorknobofSnow Yes.
 
@ManofSnow ok, what's your pattern?
 
@ManofSnow ...that's not a pattern
What noticable pattern do you see in the random numbers generated with Math.random()
 
@DoorknobofSnow Is it not a pattern, or is it not a pattern?
 
4:50 PM
@ManofSnow ...you're not making any sense right now
51 secs ago, by Doorknob of Snow
What noticable pattern do you see in the random numbers generated with Math.random()
 
It's because I am being random. Users who use Math.random() aren't random enough.
 
@ManofSnow again, that implies you notice a pattern? If so, what is it? (for the fourth time)
 
I'm just saying, it's not random enough.
 
We have programmers arguing about randomness over here. Tickets $1 each.
 
Using Math.random: 9, 9, 9, 9 random.org: 1, 2, 3, 4
 
4:52 PM
Neither of them looks random to me.
 
@ManofSnow So you see a pattern of nines in Math.random()? Show me. In your console, type Math.random() * 10 | 0, and it will output nine every time?
lol you're really not making any sense
 
 
Every web browser has a different algorithm for Math.random, I don't like that
 
Yeah, that's not random enough
 
4:53 PM
WHA?!?!
 
'9, 8, 7'
:P
 
@ManofSnow So 1,2,3,4 is more random? :P
 
That's random for you
 
@ManofSnow HAHAHAHAHA thanks for the funniest thing I've seen today so far. :D
you really don't seem to understand the word "random" at all... or the whole concept of PRNGs...
 
Stop, and go watch this.
 
4:54 PM
Randomness means different things in various fields. Commonly, it means lack of pattern or predictability in events. The Oxford English Dictionary defines "random" as "Having no definite aim or purpose; not sent or guided in a particular direction; made, done, occurring, etc., without method or conscious choice; haphazard." This concept of randomness suggests a non-order or non-coherence in a sequence of symbols or steps, such that there is no intelligible pattern or combination. Applied usage in science, mathematics and statistics recognizes a lack of predictability when referring t...
 
Okay, let's think about it this way: What is more random? Math.random, or random.org?
THE ANSWER IS RANDOM.ORG
 
Sure, but it's a wheel of blame
 
Both are random.
 
We're not choosing lottery winners here :P
 
@ManofSnow So you can notice a difference?
 
4:55 PM
What's the problem? It's only a 10 millisecond wait or something :P
YES I CAN NOTICE A DIFFERENCE
 
Ugh. I can compile so much code in 10ms
 
@ManofSnow what's the difference, then?
show me?
 
random.org listens for sound waves in the universe
 
...And Math.random doesn't, but is still apparently random, which is all that really matters
 
@ManofSnow ...lol now you're just saying nonsense. If you notice a difference, show me. Otherwise I have to conclude you're just trolling us all :/
 
4:56 PM
pseudo randomness isn't real randomness
 
@ManofSnow But it works for the wheel of blame.
 
grabs popcorn
 
"Real randomness" doesn't really exist.
 
@ManofSnow So do you see a difference? (For the ... millionth time)
 
Define real randomness
 
4:57 PM
A sequence of pseudo-random numbers
1) will repeat eventually.
2) can always be predicted based on the current 'state' (i.e. seed).

True randomness cannot be predicted.
'1) will repeat eventually. '
 
I may not be able to define randomness, but I know it when I don't see it.
 
@Doorknob That's the pattern
 
@ManofSnow 1) In... say, 1000000 calls? How many times do you think we'll spin the wheel? Twice? Maybe 3?
 
@DoorknobofSnow '2) can always be predicted based on the current 'state' (i.e. seed). '
IT MUST NOT BE PREDICTED
 
@Doorknob I really would laugh if @ManofSnow was your sock. :P
 
4:58 PM
IT MUST BE UNPREDICTABLE
 
@ManofSnow 2) So what? If I gave you a random seed, would you be able to tell me the next number in your head? And you don't even know the seed. You cannot predict it.
 
IT CAN BE PREDICTED, WHAT IF WE WERE IN VEGAS DOING BETS???
 
oh, and copying information from google without understanding it doesn't really improve your credibility...
 
@ManofSnow By the time someone figured out what the next random number would be it would already be obsolete :P
 
The thing is, it's not real randomness
 
4:59 PM
@ManofSnow ...we're not? It's a little toy... not a nuclear base
 

« first day (1273 days earlier)      last day (3748 days later) »