« first day (171 days earlier)      last day (4841 days later) » 

12:00 PM
I guess node.js doesn't do DOM, right?
 
you can run jquery in node.js
it sure does
 
It does, just not very well
Totally unfamiliar with it though, let me see...
 
why offer a cache anyway
 
@DanGrossman Because some people complain that the call to the YQL service, which is used to do X-domain ajax to retrieve the elections page, is erroring out
 
12:01 PM
Without that, they get the 'blank page' error which you see in the comments
And anyway, it's not very nice of me to pound the API for data that probably won't go stale for several hours
The page does collect quite an amount of data
 
if you do make the superhero effort to write a node.js server just to run your javascript and write this out as static HTML, i can host that as well
I already have a linode vps dedicated to running node.js 24/7
probably not worth that work though :p
 
The other alternative is simply to stick with the current system - see that link at the bottom of the page? That will produce a plain text file containing the static information needed by the page. Right now I'm saving that into the static cached file
I don't understand why Firefox is getting garbled version of the file through ajax'
 
maybe the wget when I downloaded the file from dropbox was messed up
 
Both Opera and Chrome seem to resolve it fine
 
it looks odd in a text editor as well
if I can get dropbox to respond I'll copy/paste the source by hand
 
12:10 PM
Okay, hand on - trying to load the file through dropbox just gave me the same result
Doing it locally seems to be fine though
 
I copied and pasted all the cached file sources, and that seems to have fixed the firefox issue
moved to a subdomain so I can give you FTP access so you can change the files whenever you want
 
> Failed to load resource: the server responded with a status of 502 (Bad Gateway)
Maybe Dropbox did started blocking because of bandwidth
 
wish there was a private message function here
 
Let's see... combined the four files - two js + 1 css + 1 html is only 32kb, let's round it up to 50
 
can you copy this so I can delete the message?
 
12:17 PM
Done
Okay, time to rewrite all links to that Dropbox link to that URL
:466634 It's sporadic, I don;t know why
The Dropbox status page says the service is fine
 
okay, I can load, but clicking on the site buttons doesn't do anything
 
@badp The JavaScript didn't load, lemme guess
 
a ctrl.-f5 fixed
I blame the cache
 
No, I still can't connect myself
 
12:22 PM
I've seen it do that when other people host webpages on dropbox, maybe they even do it on purpose to discourage it
 
btw, should you port this awesome thing to a more serious platform, it'd be interesting to see whether or not a candidate has already ran in the past and where/when :)
 
@badp I definitely should, but since client-side JavaScript is what I'm most familiar with, and the only hosting for a server-side project I have is PHP, which I'm not particularly good at, I choose this
In hindsight even producing something like a local python script that you run yourself would be better
 
@YiJiang if I didn't have exams, I'd be considering starting the port with you this moment
sure, pyStackExchange isn't a joy to work with
 
We're now officially 7 hours into "tomorrow" where I live, so I should get to sleep
feel free to upload whatever you need to the site, there's plenty of space and bandwidth
 
 
1 hour later…
1:45 PM
does this link give you a 404 as well?
 
@badp Nope
 
weird, I got three 404s and only after that I could reinstall it
 
2:01 PM
@YiJiang I'll fix it, shh :P
 
2:13 PM
Hmm... Jin bought a commercial license for the Fugue icons
 
:o
 
hm.
 
It's the WebApps badge icons!
 
function hide(selector) {
  targets = document.querySelectorAll(selector);
  for(i = 0; i < targets.length; i++){
    targets[i].style.setProperty("display", "none");
  }
}
function unhide(selector) {
  targets = document.querySelectorAll(selector);
  for(i = 0; i < targets.length; i++){
    targets[i].style.removeProperty("display");
  }
}
hide(".forum table.topics tr");
unhide(".forum table.topics tr.separator");
unhide(".forum table.topics tr.highlightedAdmin");
Any idea why the unhide calls do nothing here?
I know tables and CSS don't mix well together, but setting display to none works well enough.
 
@badp Use style.display = 'none' and style.display = 'block'?
 
2:23 PM
I'm not sure I see the difference...
also I did try using .setProperty("display", "block") instead of .removeProperty("display")
...also, no such luck.
 
Hang on, lemme search
 
oh, I see the problem now
 
somehow I also set the entire table to display:none with that
 
Should be okay, going by your code
 
2:25 PM
...but why?!
 
Although set/removeProperty doesn't work at all with IE
 
meh at IE's general direction, this is mostly for personal use
 
Check your selectiors, and if you have any hide calls from before that
 
yeah, adding an explicit unhide(".forum table.topics") fixed it
I guess that if I hide all the rows of a table, the browser went the extra mile to hide the entire table while it was at that.
 
If all you're doing is hiding some stuff, then maybe a userstyle would be better
@badp Hmmm... weird
You can use the :not selector to combine the whole thing into one
 
2:28 PM
oh. wtf.
 
@badp Are you sure you provided us with the complete code sample? :P
 
I did have a line that hid the entire table; it just never did actually anything for some reasons until I put some more code after it
er, not even that, I just added it while coding the feature
oh well.
 
Like I said, you can use the :not selector
 
@YiJiang I'll look into it
I was almost asking here if there was such a thing
 
Oh, and , comma to combine multiple selectors into one
 
2:30 PM
Now you know, and knowledge is power!
 
I think food -> fix autocomplete is in order.
 
@YiJiang That doesn't work on Chromium 10, but I can do without separators.
 
@badp Yeah, you can't use :not(x, y) but you can use :not(x):not(y)
 
2:45 PM
@badp So that doesn't work?
Also, if you just want to alias $$ with querySelectorAll then shouldn't var $$ = document.querySelectorAll do?
No wait, that doesn't do, sorry
 
@YiJiang I don't use $$ anyway
 
I think we've all been spoilt by jQuery :(
 
that function is one of the two that the Chromium inspector puts on all pages for you (unless there's a name conflict I guess)
 
Ah, of course, because Firebug also does that
Aliasing getElementById to $ too
 
yep.
JS developers are all very greedy.
 
2:49 PM
lol
 
@badp You've not seen underscore.js then :P
 
$_$
 
Yeaaah.
 
@JeffAtwood sounds like a good new policy to me.
 
3:00 PM
@TimStone Sounds viable? I'm erring on the side of declining, since it would create a inconsistancy between users of the userscript and normal users, though I agree that the current /me command is rather lame
What does IRC /me messages look like, btw?
 
@YiJiang I'm thinking decline too.
@YiJiang Like italicized messages. :P
 
> We could, in theory, insert a invisible unicode symbol into each /me message and have the userscript pick this up and do something special with it, but it feels rather hackish. I will take this up with others on the team to see what they feel about it.
 
No, there's generally some colouring and the user name is displayed differently too.
 
I was going to suggest that @YiJiang
You guys could roll the other /me userscript into the chat userscript
 
@YiJiang The example given to me was to do:
> **does something
 
3:01 PM
But that's teh lamez.
 
Prepending ** is easy enough, just meh.
 
@Josh The other /me userscript detects with /me, ours doesn't
@RebeccaChernoff Quite, since it would degrade the experience for non-script using users
The invisible unicode idea doesn't
 
@YiJiang right. Have yours insert a unicode char, and when it detects that, call my userscript
 
@YiJiang err, how does that degrade the experience for non-script using users?
 
@RebeccaChernoff Seeing random messages starting with **? Isn't it confusing and strange?
 
3:03 PM
Well that's just overall meh, it has nothing to do with userscript vs non-userscript users though?
 
Well, that's the way I think about it
 
I guess the better question for you there is how doesn't it degrade for userscript users? (;
 
because for userscript users it detects it and displays differently. (Right?)
IE like:
 
No, we don't do that.
 
@RebeccaChernoff Well, that's clearly what he wants
 
3:05 PM
@RebeccaChernoff Not currently, but the idea is, you could
 
@YiJiang The example with ** prepended is what HedgeMadge used when explaining before I said to create an issue shrugs
 
@RebeccaChernoff Oh, is it? Can you link here please.
 
tis from the mod room q:
 
@RebeccaChernoff You teachers and your exclusive lounge, tosh
 
Public service announcement
ATTN: Committers for the Game Recommendations Area51 proposal.
1. I hate you
2. Read this:
0
Q: The Game Recommendation area51 proposal and the Gamerec reddit.

badpIn a case of what I guess is "commit and forget" (yes, I'm blaming you people who commited to the Area51 proposal for gaming recommendations), I see that you failed to make me notice that my little Reddit experiment, mostly abandoned due to lack of activity, received such an high profile endorsem...

 
3:07 PM
LOL
 
3. Thank you, whoever person wrote that message, for not making me notice.
Now I see why Jeff tweeted my question asking for reddit help
 
Can anyone recommend a place to find someone well versed in python for hire? (for a single 3 - 4 hour project)
 
@RebeccaChernoff Anyway, is ** a commonly used command in IRC or any other chat formats?
 
@TimPost SO careers hides
 
@badp It wasn't added eons ago.
 
3:10 PM
@TimPost perhaps in chat..?
 
@RebeccaChernoff Dec 17th 2010 maybe? ;)
 
though lol at people still committing with the notice there
@badp cold! heh.
 
@YiJiang I don't think so
Not by me anyway
 
@Josh Was thinking about that, but chat.stackoverflow.com is rather vacant at the moment and I'm hoping to at least get some prices from people tonight
I'm hacking at Webshell (python/ajax) terminal emulator that can (with the help of something like minicom) connect to a tty / psuedo tty
 
09:11:34 <@rchern> hello
09:11:35 * @rchern tests
@YiJiang looks like this for me
 
3:12 PM
and it's not going very well :)
 
@TimPost hmmm... I don't know offhand any other good places. I know the usual job boards but the candidates there are often onsavory
@Rebecca and @YiJiang, I love the hidden unicode char idea and am not sure why we're not just doing that right now :-)
I'll help in any way I can
do you have a beef with it @Rebecca or @Tim?
 
Oh, and @RebeccaChernoff can you edit the pinned message to point to the correct URL? We moved the elections page here: se.awio.com/election.html
 
I don't care enough not to care that it's a hack. :P
 
it's an elegant hack though :-)
 
I think all three of us are going for the 'meh' vote
 
3:16 PM
Oh, I thought you were in favor @YiJiang
 
@Josh Not really, no:
17 mins ago, by Yi Jiang
@TimStone Sounds viable? I'm erring on the side of declining, since it would create a inconsistancy between users of the userscript and normal users, though I agree that the current /me command is rather lame
 
Doesn't displaying message IDs create an inconsistency?
 
It doesn't, because normal users wouldn't have any use for this, and it is an addition
I this case, what we see would be different from what everyone else sees
 
You could make a way for it to be turned on/off, and have it off by default...
 
If all of the commands you have access to by using ids are available via @TimStone's navigation, I wouldn't be completely against removing them.
 
3:20 PM
Different as in totally different, and not different as in we add a bit of information here
 
Timestamps stay. >_<
 
@RebeccaChernoff Oy.
 
@RebeccaChernoff no, no, I love timestamps, you misunderstood
 
@RebeccaChernoff Seconded. :P
 
@Josh I didn't. Just something I had thought of the other day is that it'd probably be ok to remove the ids at this point. Your comment made me think of that.
 
3:21 PM
Hello
 
oh, yeah no I like the IDs, even if they're getting freaking long
 
@Josh I don't like the timestamps... because they are freaking long.
 
ok well @YiJiang how about, add a hidden unicode char but the only response to it is to add a CSS class
That enables a second userscript to detect that CSS class and restyle / reformat
which means your userscript doesn't change the appearance of chat, but, the functionality is there
 
@Josh Hmm... okay, I'll give it a go when I have some time later. This could be an interesting experiment to embed hidden metadata into the messages
 
Cool, and I'll work on the second userscript to detect and reformat /me messages, because I miss that!
 
3:24 PM
In this manner, we could actually implement /rimshot :P
Joking, of course.
 
@RebeccaChernoff Hmm, do you know what commands I forgot, by the way?
 
I dunno if there are any.
 
Oh, and can we please update the README for keyboard navigation? I just installed it the other day and was stumped at even how to bring up the help dialog
 
I can update that today while I'm working on userscripts, unless @RebeccaChernoff wants to.
 
@YiJiang not joking! I think we should!
but in a different way @YiJiang
the script should detect plain ol links to instantrimshot.com and if it finds then auto-open in a hidden iframe or something
 
3:26 PM
@Josh Open to too much abuse :P What if I modify my copy to instarimshot every message?
 
@YiJiang then I ignore you :-)
 
@TimStone I'll be offline here in a bit for the rest of the day. Unless I'm not driving and even then, 3g.
 
I feel like anything that brings the userscript too close to Jeff's perception of IRC is a definite no ;)
 
@RebeccaChernoff I'll take care of it, then. :)
 
3:29 PM
LOL
 
Well, seriously. Anything that would be immediately [status-declined] on Meta is a step in the wrong direction. Most of what we've done is [status-that's-cool-but-we-don't-have-a-pressing-need-to-implement-it] so far, I think. :P
Exception for the notifications, which obviously did get implemented ;)
 
I looked to see if AT&T had a 1-day mobile broadband thingadongdong. They don't, and holy crap the plans they have are expensive.
 
Ayup. You mean you didn't pay the extra first born child to tether your iPhone to your laptop?
4
 
Still on the grandfathered in unlimited plan.
 
Oh @YiJiang... hidden metadata... I see it now! I SEE THE LIGHT!
We can use hidden metadata to build @Rebecca's requested "Oy" flag so the way she can star she can now "Oy" messages!
2
MWAHAHAHAHA!
 
3:36 PM
@badp, are you not familiar with the game of Hot and Cold?
 
@RebeccaChernoff No, I didn't think about that
rolling back the edit
 
k, well fyi: hot means near, cold means far away (:
Eons is wrong too, but gotta run. Adios.
 
@RebeccaChernoff I kind of guessed it wasn't millions of years ago
 
When does the tag badge cycle take place? overnight?
 
@badp Just a few millenniums.
 
3:46 PM
@ircmaxell Think so, it definitely isn't instantaneous
 
I'll take a guess and say it happens at 02:00 UTC.
Though having not gotten a tag badge before, I'm not sure. :P
 
Fair enough
thanks
I'm getting a bronze regex on the next cycle...
 
@ircmaxell You sure you have the reqd number of answers?
 
101 score from 48 non-wiki answers
well, 101 upvotes
 
@ircmaxell 101 score, because it could be more than 101 upvotes taking into account downvotes
 
3:53 PM
true
It says "101 total score"
 
I have a bronze in each of the three front-end web dev language tags, plus jQuery
 
I know I needed 177 upvotes to get my minecraft badge because the tag didn't have enough questions ._.
 
nice
 
also... goddamn! My meta rep went again above my Gaming rep!
 
I've got I think 9 score in JQuery and JS
 
3:55 PM
Why must I keep making good posts!
 
@badp Downvote squad activate!
 
@badp I told you you should just copy+paste me whatever you plan to write!
 
lol
 
@TimStone Wouldn't that mean I get upvotes from your posts too?
 
In an indirect way, but your reps would never know.
 
3:57 PM
@badp Really? hrm... Interesting
 
@ircmaxell 100 questions reqd
 
in the tag, not that you answered, right?
 
in the tag
so you should be fine :)
 
yeah, so no tag for code-bowling yet...
 
4:08 PM
Did you put your entry in this weeks?
4
Q: Make an application that adds two inputted numbers together

ircmaxellWell, here's another installment of our weekly code-bowling game. As a refresher: Code-Bowling is a challenge for writing the most obscure, unoptimized, horrific and bastardized code possible. Basically, the exact opposite of Code-Golf. The Challenge: Create a program using the langauge o...

The front-runner, or at least the one that blows me away:
3
A: Make an application that adds two inputted numbers together

Joey AdamsHere's a short and elegant shell solution: #!/bin/sh { seq 1 "$1"; seq 1 "$2"; } | wc -l It's great for when you want to add a couple natural numbers that aren't too big. Here is a generalized version that sums all the arguments: #!/bin/sh for i in "$@" ; do seq 1 "$i" done | wc -l

 
@ircmaxell I still love that one
 
Yeah, it's evil and yet doesn't look so at first glance
 
That's the best kind of evil -- evil disguised as good!
 
4:20 PM
Most things that add two 'inputted' sources are bongs of some sort
 
lol
 
4:33 PM
and I hit the reputation cap.
Now for every upvote I receive I must downvote 10 posts!
LET THE DOWNVOTE ROULETTE SPIN!
 
I keep hitting that on programmers.se
 
LOL
0
A: Learning Python from Ruby; Differences and Similarities

ircmaxellMy suggestion: Don't try to learn the differences. Learn how to approach the problem in Python. Just like there's a Ruby approach to each problem (that works very well givin the limitations and strengths of the language), there's a Python approach to the problem. they are both different. To g...

 
Someone asked about a practical example for recursion, so I answered with a link to their question
 
LOL!
@Tim: what score did the answer get?
 
I'll find it
140
 
4:40 PM
wait, +140? wow
 
14
A: What's a nice explanation for recursion?

Tim PostThis question offers a nice example.

14 rather
That's when it started. Then I started answering licensing questions
 
Oh ok
 
From the /reputation calculator:
days represented 83
rep cap was reached via rep from upvotes *only* on 11 days
rep cap was exceeded on 9 days
It's neat, because the site has become a place where mostly inexperienced people get a bit of mentoring.
 
nice
 
Most of us have some means of contact in our profile pages, so I think it's doing a bit of good (beyond dealing with the crap that we get from SO)
Most of the e-mails / skypes I get are something in the order of "I just graduated, got a job, and I am extremely ill prepared"
 
4:50 PM
If someone wants to find me, they can
 
@ircmaxell , most people are kind of contact shy, believe it or not
 
I do believe it
it's the people who are not contact shy that I don't want to invite
 
The site served two purposes. SO users got everything they wanted to get out of their system, and now (many of us) are a pool of mentors.
Now, if SO itself could get everything out of its system, we'd be happy :)
 
lol
 
There's a ton of questions from even two years ago that should probably be moved to programmers.se, one of the reasons why I'm running as a mod candidate
 
4:53 PM
cool
 
5:27 PM
sigh
So many of the low quality posts under /review are just, well, low quality or plain bad
I don't know what I can do to improve them
 
\nothing
 
I love the idea of /review but I am having trouble using it...
example, what do I do with this crap?
do I flag as spam?
And I still don't understand what to do with low quality posts that are now closed... do I flag for removal?
 
@Josh Sure, why not
 
yes
 
Though if it's a question 10k'ers can just delete after 2 days
 
5:30 PM
@Josh Let the 10k folks handle it
 
@YiJiang why not? I am just asking when / why to use "Flag for removal" on /review
Why not could be because, yeah, they are low quality :-)
and as @TimPost said, a 10ker needs to handle, so maybe I should just leave them in /review and not flag
 
The post was super low quality, obvious spam
 
What can I do though? Besides flag it?
 
I guess what would really help me is a guideline of when to click "flag for removal"...
@ircmaxell Right.
 
Let the 10k + folks do something that leads to an end :)
 
5:33 PM
ok
 
Unless you get a mod flag, in which case, nuke it
 
I'm trying to be helpful, and I want to make sure I'm not doing it wrong. If so then I have two problems :-)
 
(well don't nuke it, but I don't want to give away mod secrets for tracking interesting IP patterns)
 
lol
 
Just have a slice of ham.
:)
 
5:35 PM
Ok for example, this is marked as low quality but it looks like it's a correct answer, do i flag for removal?
0
A: how to select only 1 row without using rowcount

aquaSELECT * FROM TABLE WHERE name = 'jack' LIMIT 1 Enjoy!

 
0
A: Difficulty with jQuery and input keydown event

AnonymousNo jQuery needed. Just overwrite the onsubmit event of all the forms in the page. var inputs=document.all.tags('form')||document.getElementsByTagName('form'); for(x=0;x<inputs.length;x++){ inputs[x].onsubmit=function(){ return false; } }

The comment thread started okay, then someone asked this moron why he hates jQuery, and it's downhill all the way...
 
Nothing in that post requires intervention
 
Of course not, but that doesn't means we can't laugh at it
 
Well, beyond a "kawshun, you can haz downvoted to 0blivun" comment
Let the community handle what it can.
 
Ok Thanks @TimPost
 
5:38 PM
Welcome ;P
 
On all sites I am active in, they do a pretty good job :)
 
@TimStone Quiet you!
 
@Josh Now now, you don't want to sound like rchern :P
 
So just to be clear I should flag [Closed] questions for removal from /review...?
Sorry, I don't understand why I am so confused here
 
If you think it should be, yes
 
5:39 PM
@Josh Do you want to post an answer to the 'How to review' question for discussion?
 
if in doubt, don't
 
@YiJiang Do you have a link to this mythical how to review question??
 
9
Q: How to review? Can we agree on a review 'policy'?

BenjolOn the review page, there is a one-sentence guideline on reviewing. I think that as the number of reviewers increase, it is going to become increasingly necessary to come to some kind of agreement about a standard way to handle the different 'cases' that arise. I'm not sure if 'one question to r...

 
@TimStone 2 second :(
 
OK. Now thanks @TimStone
 
5:40 PM
@YiJiang Oh, shows the same timestamp on this end :o
Hahah
 
If it looks like the community is going to flag it into oblivion, (spam, etc), just let nature take its course.
If you think the community has missed something, flag it appropriately. The less flags diamond mods have to deal with, the quicker really urgent problems get resolved.
 
hehehe
 
case in point here:
10
Q: User wildly erasing all his posts continuously even after we rollback

marcogThis user clearly wants his account deleted and everything he ever posted to vanish off of SO. He's non-stop erasing the contents of his questions, even after we rollback. It's getting so silly that some of them have been made CW. Should we be stopping such cases? If so, is flagging for moderato...

That guy just went bat sh&# crazy and took it out on SO.
 
lol
 
If the mods weren't so busy cleaning up 'election related' flags, it would not have been such an issue
 
6:18 PM
@YiJiang The highlighting thing is a bug, yeah.
I'm going to raise a brow at the implementation too, heh..
 
@TimStone As far as I can tell, yes
@TimStone Hehe, why?
 
It decides what language to use based on this:
<div id="prettify-lang" style="display: none;">lang-html</div>
>_>
Seems like a...weird way to pass the information to the JavaScript, IMO.
 
@TimStone Wtf...?
 
Right?
 
You're right, that's...
shakes head
 
6:20 PM
why are you shaking heads?
$("#prettify-lang").text()
see? very nice jQuery!
 
Hahah :P
 
Hey, what can I say? It's not like they abuse HTML enough already...
 
@YiJiang it's all part of the future js-less jQuery programming language.
Why have global variables when you have the DOM?!
all the jQuery, all the time
 
@badp Well, technically speaking, window is part of the DOM, so...
 
yeah, but how do you select that??
 
6:25 PM
@YiJiang window is so outdated. $(window).data() is where it's at.
3
 
6:56 PM
can anyone help me help him?
0
A: Pass through server / proxy

JoshI'm not sure what your question is... If you set up a proxy server between your client and the application server, then it will be just that: a proxy server. So it will proxy requests to the application server, just as you've shown in your diagram. If a client POSTs data to the proxy, the proxy s...

I think I'm not understanding what he's asking maybe?
 
He wants to play China
 
LOL
 
And modify the content on the way back to the user, apparently.
 
@TimStone Hahaha
 
@TimStone maybe I should just create a contrived example since I don't know specifically what he wants to do...
 

« first day (171 days earlier)      last day (4841 days later) »