« first day (210 days earlier)      last day (4812 days later) » 

You ... really don't use google do you?
@DanGrossman regular-expressions.info/reference.html more specifically
 
@drachenstern Dan is a big picture kind of person, clearly.
 
I love the unanswered tab. It's my "home" on SO. Is it really going away? Well, see if I care, I have now written my first greasemonkey script and I foresee more to come :-D
 
@KlausByskovHoffmann It's not going away, but it's accessible from all sorts of other places.
 
11:01 PM
@KlausByskovHoffmann It's a subtab of questions: stackoverflow.com/questions?sort=unanswered
 
@KlausByskovHoffmann in favor of /review
 
/review is not the same source of rep as /unanswered is
 
But it can be if done properly
 
I guess so, yeah
 
nite folks
 
11:04 PM
@TheRenamedException: Are you around?
 
Great!
 
If he's not I'll thwack him for you ... oh
 
@GeorgeEdison is that your real name?
 
I have the 'almost-final' version of the script.
@KlausByskovHoffmann: Nope.
 
11:05 PM
Or is it Nathan Osman?
 
@KlausByskovHoffmann what is a name?
 
Maybe.... [looks around...]
 
I rather envy my buddy who changed his name legally to Zelig Enoch
 
@TheRenamedException: I'm looking for last minute beta testers.
 
It's just because I attributed you in my script, and I don't want to have the name wrong
 
11:06 PM
@Moshe did you figure out what you need to change on your regex so it doesn't match exactly one alphabetic character?
 
The script now updates the posts in place.
 
@GeorgeEdison Did you get my StackApps chat ping, by the way?
 
@KlausByskovHoffmann: Thanks!
That's right.
@Tim: Yup.
 
I've fixed that and a few other bugs.
 
11:06 PM
Alright, awesome :)
 
@GeorgeEdison Um, I am just about to head out for the night but I can test tomorrow if that's not too late
 
That's fine
It'll be on Meta soon.
 
/^[A-Za-z]+$/i <-- probably what you intended
 
11:08 PM
Wouldn't /^[A-Z]+$/i work?
 
That's got all of the changes, but...
be careful!
 
Thanks!
:O
 
It actually updates the post with the changes.
Just keep that in mind.
 
Oh, but only if I click save right?
 
11:09 PM
Alright, I think I can manage to keep myself out of trouble then. I'll give it a whirl.
 
Anyone who doesn't want to try it can watch a short video I made.
 
@mootinator does that match on 123ABC ?
 
@GeorgeEdison can you post that to youtube or something so I can be lazy?
or give a non-.user.js version for playing along at home?
 
Damn, maybe we should have videos for our scripts too, hahahah.
Getting all fancy. :P
 
11:11 PM
haha, idk about all that
 
@drachenstern: I can give you a Flash version...?
 
@GeorgeEdison I'm trying to avoid opening it outside of the browser, that seems like work
 
@drachenstern I guess it really helps to know what the purpose of a regex is O_o.
 
@drachenstern just add a video tag in any page with the inspector and use that as the src
 
@badpssockpuppet that works with OGV?
 
11:12 PM
@mootinator The purpose of all regexes are to capture unicorns.
 
@TimStone I thought that was the purpose of virgins
 
@drachenstern Most likely
 
@drachenstern We aren't a cult, don't be silly.
 
@TimStone says who?
 
@TimStone /^.*(unicorn).*$/g Aha, gotcha $1!
 
11:13 PM
@drachenstern I opted out of that newsletter.
@mootinator The hope is that if we can master unicorn capture, Pokemon will come next.
 
Uploading FLV...
 
@TimStone But then we'd have ALL the problems.
 
<video src="http://files.quickmediasolutions.com/userscripts/videos/circles.ogv" controls="controls" />
hey that did work easily enough ;)
interesting little script. Not sure why I wouldn't just open it in paint.net
hello chrome, I love you
I just thought you should know that Chrome. And I don't plan to leave you anytime soon.
 
11:19 PM
@GeorgeEdison oh sure now you do it :p
 
Has anyone tried it?
Does it work alright?
 
WAITASECOND
it saves the image and reuploads it?
 
@drachenstern Yeah, I take it you missed the bold warning text? :P
 
Heads to Meta to see what got messed up...
 
11:21 PM
@TimStone I didn't grok immediately what "be careful" meant
 
Oh, I see, I was trying it on an avatar yesterday, maybe that's why it wasn't working too great :-D
 
@drachenstern is causing trouble again!
 
@KlausByskovHoffmann: I fixed that.
 
I am not, I am writing code
 
@drachenstern: Did it work, though?
 
11:22 PM
trying to figure out which bit of my page is responsible for not allowing renames of blank spaces
@GeorgeEdison I didn't try it
 
@GeorgeEdison great!
 
Ok I'm off, catch you guys later
 
See you later...
...don't forget to check Meta for an announcement.
 
oh haha, I think I already fixed it earlier and didn't realize it :\
yay for fixing bugs prematurely!
 
@drachenstern: If I create an answer in the formatting sandbox, will you try the script on it?
 
11:24 PM
probably not, but thanks for the offer
 
I wonder if we will be seeing loads of suggested edits with poorly drawn unicorns all over the questions' images
 
So you won't try it? :O
@KlausByskovHoffmann: Would you like to try it?
 
sure, why not... only I wouldn't know which question to "edit"
 
@Dan: Okay.........
@KlausByskovHoffmann: I'll make an answer for you.
 
11:26 PM
@GeorgeEdison cool, just give me a link to the new script and a link to the question and I'll get drawing :-)
 
There's one for you to mess up.
^--- The script.
 
For future reference:
0
Q: basic Apache configuration

texaiIn a fresh linux instalation, apache's document root points to /var/www/html user apache group apache DocumentRoot /var/www/html <Directory /var/www/html> # ... </Directory> I want my documentRoot points to "/home/myapp/release/1.0.0/src/public", so I've made this changes: Documen...

Webmasters or serverfault?
 
I'm not sure I have privileges to edit on meta though.
 
@KlausByskovHoffmann: Oh, well that's okay.
It'll still show up with your changes.
Then if it's not too much trouble, could you please post a screenshot after?
 
It's not working unfortunately
I'm getting An invalid or illegal string was specified" code: "12
 
When I drag
 
@DanGrossman shouldn't be allowed, as NT4 and NT6 introduced completely new profiles, etc. However, just installing windows over itself repeatedly should work. Gonna watch
 
@GeorgeEdison FIFY
Hm, that's more interesting than I previously believed.
 
11:30 PM
@badp: You realize that I know where you are now :)
 
@GeorgeEdison Oh, I don't think I am the one in Richmond, Canada.
 
@KlausByskovHoffmann: Are you using FF?
 
@badp: No? That's where your IP is from.
@KlausByskovHoffmann: Does anything show up in the error console?
 
@GeorgeEdison That's not my IP.
 
11:31 PM
Yes, when I drag, I get 100+ errors, all saying the same thing: An invalid or illegal string was specified" code: "12
 
It's not mine either.
@KlausByskovHoffmann: Hmmm... does the red still show up?
 
Could it be that's imgur's IP?
 
Oh yeah...
 
11:34 PM
...no, that's not imgur's, that's my server's.
 
Nope, that's imgur's.
 
I mean the Richmond one.
 
@GeorgeEdison Yeah, I thought so and that makes your script quite more interesting than I previously believed!
...or complex, at any rate.
 
Which one?
The PHP-image or the userscript?
 
Hm, I didn't think you had a PHP-image server to begin with
just some black magic with canvas stuff or whatnot.
 
11:35 PM
"Impressively, all the colors set up during Windows 2.0 were still present 13 years later"
 
I see it isn't that simple
 
gives up
 
@badpssockpuppet: The PHP image is dynamically generated using IP geolocation data.
It highlights a slight privacy concern with external images on SE sites.
But the downvote seems to indicate that nobody cares.
 
"Of note is the Program Manager groups created in Windows 3.0 still present and functional in Windows 7. This is nearly 20 years of application compatibility."
 
@GeorgeEdison Uh, I meant the bit of software on your server that fetches the arbitrary images, the data with my freehanded circles, sticthes them together, puts on imgur and sends back the url to edit in place.
 
11:39 PM
@badp: That's even more complicated.
...since it's not even supposed to be possible.
 
@DanGrossman that was impressive
 
Well, that's what's interesting.
 
A JS script is not supposed to be able to access iframe content from another domain.
...but I figured out a very clever solution to that.
 
@GeorgeEdison you should share with us ;)
 
Maybe websockets would've been easier :)
 
11:40 PM
Okay, so first off, the HTML5 canvas data is captured.
Then it is sent to my server using an iframe.
The client JS code polls the iframe to see if it can access the content.
Meanwhile, the server stitches everything together and gets an imgur URL.
It then sends a 301 redirect to a specially crafted Meta URL that has the new image as a parameter.
2
The client code can then access the iframe since it contains data from Meta.SO.
The source of the iframe contains the parameter with the new imgur URL.
 
Yeah, JSONP would've been easier :)
 
...and that completes step one of three.
@badp: JSONP doesn't support POST.
 
@GeorgeEdison that is actually a good consideration ... I will consider this a little longer
 
Step two is to get the current markdown data.
First the API is used to get the GUID of the latest revision.
Then AJAX is used to get the current markdown.
Last step consists of replacing the image in the markdown with the new one...
...replacing HTML entities, and then creating a new iframe (with a POST form) with some parameters.
That form contains all of the same data as it would if you were actually editing the post.
So, when that form is submitted, you see the changes.
Simple, no?
 
11:45 PM
A+++ would inject again
 
That's actually pretty crafty
 
@drachenstern *
 
@Moshe or +
 
@drachenstern Ah, well all the same, it works
 
I'm going to star the most interesting step as a star representative of everything else.
 
11:47 PM
@Moshe just depends on what you want
@badpssockpuppet you and I agree. See :544308
 
@badp: I made a bookmark.

Freehand Circle Code Description

7 mins ago, 4 minutes total – 20 messages, 3 users, 0 stars

Bookmarked 2 mins ago by George Edison

 

Freehanded circles HOWTO

7 mins ago, 4 minutes total – 20 messages, 3 users, 0 stars

Bookmarked 2 mins ago by badp's sockpuppet

Me too :|
 
any feedback on "new users" tab in the /users route ? also we removed all the nasty if rep = 101 hacks
 
It's good enough to deserve two bookmarks
@waffles it looks, er, randomer still? :)
 
11:49 PM
0
Q: StackExchange™ SuperCollider Freehand Circle™ Editor

George EdisonThe Greatest Thing on Meta Since Waffle Day! I humbly present to you one of the most remarkable accomplishments: a UserScript that makes drawing Freehand Circles™ as easy as... unicorns! What am I talking about? Well I'm glad you asked! I wrote a small UserScript that you can install in your b...

All done.
 
is it users registered in the last, er, 45 days?
 
@GeorgeEdison erm
 
yes 45 days = "new user"
 
@waffles I was initially confused when it went -> instead of VV
 
@RebeccaChernoff: Yes?
 
11:50 PM
(with the 'in x days' being the amount of time since they signed up, I assume)
 
@badpssockpuppet correct
 
You do realize there's a site for scripts...
 
Yes.
I will post it there too.
However, it deserved to go on Meta, since it's for Meta.
 
I seems to be giving useful lists for the smaller sites : photo.stackexchange.com/users?tab=newusers
 
@waffles my one remaining complaint still stands ;)
 
11:51 PM
...right?
 
What exactly is the point of the script? |:
 
It looks very awesome indeed, @waffles.
@RebeccaChernoff Draw mustaches on people's faces effortlessly. And freehand circles, but mostly mustaches.
 
@waffles the script shows for 45 days?
 
@badpssockpuppet Aye
 
@RebeccaChernoff: To enable freehand circles to be drawn effortlessly!
 
11:52 PM
@waffles I think that's too wide for younger sites. For instance, with dba.SE ~ 45 days is nearly everybody
 
@drachenstern ... its a lose lose situation, the old vertical then horizontal listing is not effective when stuff gets tall
 
@waffles yeah I was contemplating that
 
@waffles: Have you seen it yet?
You're pro-Freehand-circles, right?
 
@drachenstern eh, this is a much smaller corner case than those that affect the reputation tab
 
11:53 PM
@badpssockpuppet I think so
 
@GeorgeEdison explain it with a hyperlink :) ?
 
0
Q: StackExchange™ SuperCollider Freehand Circle™ Editor

George EdisonThe Greatest Thing on Meta Since Waffle Day! I humbly present to you one of the most remarkable accomplishments: a UserScript that makes drawing Freehand Circles™ as easy as... unicorns! What am I talking about? Well I'm glad you asked! I wrote a small UserScript that you can install in your b...

 
@waffles what about infinite scrolling a-la googleimages?
 
lol
 
It automatically edits the post?
 
@RebeccaChernoff only when you click save
 

Freehand Circle Code Description

14 mins ago, 4 minutes total – 20 messages, 3 users, 0 stars

Bookmarked 9 mins ago by George Edison

 
I'm having trouble seeing this being used for anything other than noise.
 
@RebeccaChernoff It only works on Meta though, so it's fine-ish.
 
11:55 PM
@RebeccaChernoff aren't all FHC just noise in general?
 
@drachenstern So the answer is to encourage it?
@badpssockpuppet eh
 
@RebeccaChernoff: Hey, I worked hard on this!
 
@RebeccaChernoff /: I see the point, but I was trying to find the one upside. I will say that it's entirely clever however.
 
It was hard to pull off - quite a technical challenge.
 
(Seriously, you can't enable it for other sites without changing the server side code, as you'll discover reading that bookmark.)
 
11:56 PM
@RebeccaChernoff he did come up with a solution I had not considered before, and which I think may be quite novel.
 
Hmm.... I just thought of something...
My imgur API key is only good for so many requests.
I better check on that.
I predict a surge in use :P
 

« first day (210 days earlier)      last day (4812 days later) »