« first day (1280 days earlier)      last day (3684 days later) » 

1:00 PM
lol
 
@DanLugg Too much of realpath :P
 
I know, I dunno why I'm calling it in the closure for $classRoot
 
By the looks of it, you shouldn't.
 
function get_autoloader($classRoot)
{
    $classRoot = realpath($classRoot);
    if (!empty($classRoot))
    {
        return function ($className) use ($classRoot) {
            $classPath = realpath($classRoot . DIRECTORY_SEPARATOR . strtr($className, '\\', DIRECTORY_SEPARATOR) . '.php');
            return !empty($classPath) && (bool) (include $classPath);
        };
    }
}
 
@DanLugg I get again This webpage is not available from Google Chrome, the code stop working here
private function page_exist(){
        $controller = method_exists($this->controller);
        $method = method_exists($this->controller, $this->action);
        if(!$controller||!$method){
            return FALSE;
        }
        return TRUE;
    }
 
1:05 PM
@Almis I have no idea; but use the second one, I just posted instead.
 
0
Q: how to move already added elements in draggable functionality of jquery?

JohnI am working on jquery draggable and droppable functionality. the functionality is on left side I have widgets which I can drop into div of right side. When all done I saved that div in database .But in edit mode I am able to drop elements but can not move already added elements. Here is my code....

 
@Almis Seriously, use the autoloader that comes with Composer....it will make your life so much easier.
 
^^ Fact. @Almis
 
@DanLugg same, @Danack will try it but I think it will give me the same result
 
Can someone help me with a parser grammar conflict if they have a moment (@JoeWatkins @bwoebi @ircmaxell)
 
1:09 PM
I think autoloader not working when you creating instance like that $c = new $this->controller();
 
@Leigh Are you working on true multidimensional arrays?
 
no, working on python style slice syntax
 
Oh nice. You're delimiting the args with comma though?
 
@Leigh that what you commented out?
 
yea the conflict is commented out
I'm probably tackling it badly from the start, everywhere a dim_offset is allowed, i've duplicated and allowed a range format
 
1:12 PM
jup, it conflicts with just the line above I think.
 
it does, but I don't know why :)
 
What is the best program to share projects? Like source codes?
Dropbox doesnt' work correctly for me, are there other programs?
 
Make an extra label for '[' dim_offset ',' dim_offset ']' and '[' dim_offset ']', that should help.
 
I don't really know what I'm doing with the grammar :/ if I make a label for it, how do I get the parameters to pass to the function?
 
@John Try your luck in the JS room, because it is about JS :)
 
1:14 PM
@Leigh oh, right.
 
@PeeHaa But.. but... the question is about jquery so that makes it more php related. /me is not drunk, swears
 
@Leigh I suggest you to remove the $2 and put it's conetnts before the array dim fetch fcall
 
@user3123545 Version control systems. There're several, find one for your needs.
 
 	|	function_call '[' dim_offset ']' { zend_do_begin_variable_parse(TSRMLS_C); $1.EA = ZEND_PARSED_FUNCTION_CALL; fetch_array_dim(&$$, &$1, &$3 TSRMLS_CC); }
	|	function_call '[' dim_offset ',' dim_offset ']' { zend_do_begin_variable_parse(TSRMLS_C); $1.EA = ZEND_PARSED_FUNCTION_CALL; fetch_array_dim_range(&$$, &$1, &$3, &$5 TSRMLS_CC); }
@Leigh ^ like this. I don't know if it will work, but the problem is the existence of $2. // EDITED above
 
I actually tried something like that
let me paste yours and see if i buggered it up
 
1:19 PM
@Leigh Out of curiosity, why not '..' to delimit the offsets?
Oh wait; breaks on concat?
 
@Leigh I doubt that it works… hmm
though, what you can do and will surely work...
 
No, that compiles at least
when I did it I was missing some expected fcall something, error lost to the scrollback
 
yes, compile, but run correctly?
 
well, I don't know about that :) I haven't got that far yet
my range function is the same as the non-range function right now
 
@Leigh why not define a new rule dim_group, which would be defined as '[' dim_offset ']' | '[' dim_offset ',' dim_offset ']'?
so you can cut down the duplication?
 
1:22 PM
@DanLugg No reason, but commas doesn't require adding a new token
 
fcall_with_variable_init:
     function_call { zend_do_begin_variable_parse(TSRMLS_C); $$.EA = ZEND_PARSED_FUNCTION_CALL; }

// in array_function_dereference:
 	|	function_call_with_variable_init '[' dim_offset ']' { fetch_array_dim(&$$, &$1, &$3 TSRMLS_CC); }
	|	function_call_with_variable_init '[' dim_offset ',' dim_offset ']' { fetch_array_dim_range(&$$, &$1, &$3, &$5 TSRMLS_CC); }
;
that should surely work
 
@Leigh Fair enough. Once you're further along though, consider '..' for language uniformity and future-compat with possible other features (namely, true multidimensionals as I mentioned)
 
@DanLugg or more consistent with other languages: :
 
@ircmaxell his fetch_array_dim_range and fetch_array_dim need access to the function_call
 
@ircmaxell because I don't know how to reference the parameters :x - how to I get the first and second offsets? Do I have to extrat them from the znode inside the the array_fetch_dim function?
 
1:24 PM
@ircmaxell Is colon more uniform?
 
@DanLugg it's how python does it
 
Shit, what am I thinking of that does '..'?
 
pascal
 
lol, I don't think that's what I was thinking of, but okay :-)
 
@Danack when I write in git composer I get CLI has stopped working, did you ever had such error?
 
1:25 PM
@Leigh check out how variable_name works: lxr.php.net/xref/PHP_TRUNK/Zend/zend_language_parser.y#1192
 
Blah [insert-xkcd: standards]
 
@DanLugg If I remember properly you were trying to use perl and php simultaneously on the same xampp instalation. Did you succeed?
 
@Leri You remember improperly, I wasn't trying to do that ;-)
Pretty sure it works out of the box though, no?
 
@ircmaxell The thing that's confusing me is, one is one parameter, and the other is two parameters
 
@DanLugg Not sure how to configure apache to have comfortable switch between php and perl. /me needs some research
 
1:28 PM
@Leri Just mod_php and mod_perl with the correct handlers, no?
 
@Leigh well, one is one variable parameter (from the parser). You can fake the second paramter in that case...
 
@DanLugg 1 sec.
 
@Leri Full disclosure: I haven't tried.
 
@ircmaxell hmm, I haven't decided if the second parameter of the range should be relative or absolute, from memory in python it's absolute? If I mimic that I could just use the first parameter twice, and it would give the same result
 
437
Q: Python's slice notation

SimonDo you have a good reference on Python's slice notation? To me, this notation needs a bit of picking up. It looks extremely powerful, but I haven't quite got my head around it and am looking for a good guide.

@Leigh BUT, with 1:1, the return should be the array with 1 element, not a single value
 
1:33 PM
of course, single value for strings, array for arrays
 
$a[1:1][0]
 
you'd need an impossible sentinal value to identify...
 
@DanLugg Yeah, it works unless you are complete idiot and put perl code in index.php. :D
Sorry for noise.
 
@Leri lol, s'all good :-) I was getting interested to know anyway.
 
is $a[$n:$m] array_slice or array_s p lice?
 
1:38 PM
@bwoebi slice
 
Couldn't it be both? $slice = $a[$n:$m]; and $a[$n:$m] = $splice;
 
@ircmaxell hmh… I personally need splice more often
 
why?
 
I just use it more often… I can't answer the why...
 
radical idea, would it make sense that the array offset expression accept an array? such that one could $a[range(0, 42)] rather than the language syntax of $a[0:42]?
 
1:42 PM
in all the time I've been writing PHP, learly 10 years professionally, I've used it maybe half a dozen times. I've never really seen others using it often. Normally you want to extract a range (create a subset), not modify an array in place...
 
god, no...
 
^^ directed at me?
 
yes
 
lol, fair enough.
 
@ircmaxell I mainly need array_splice to remove a range from an array, not to extract the range at the same time…
 
75
A: Python's slice notation

ephemientEnumerating the possibilities allowed by the grammar: >>> seq[:] # [seq[0], seq[1], ..., seq[-1] ] >>> seq[low:] # [seq[low], seq[low+1], ..., seq[-1] ] >>> seq[:high] # [seq[0], seq[1], ..., seq[high-1]] >>> seq[low:high] ...

 
@TOOTSKI Derick <3
 
> phpdbg Felipe Pena, Joe Watkins, Bob Weinand
;D
 
@TOOTSKI hmm?
 
1:48 PM
Credits page.
 
jup
 
By the way, why is Felipe first? :P
 
D'oh!
lol
 
bool class_exists ( string $class_name [, bool $autoload = true ] )
Yup. Fail.
 
Super fail.
 
1:49 PM
Also, get_declared_classes etc.
 
Thanks @TOOTSKI :-P
 
:P
 
I was drinking last night.
 
Good for you!
 
lol, I'm referring to the fog in my brain, that's obscuring everything.
 
1:51 PM
@TOOTSKI Pena < Watkins < Weinand
 
Ah, lastname.
 
@TOOTSKI yup, look at source… github.com/krakjoe/phpdbg/commit/…
 
I thought the lead is first at least, doesn't matter really. It's there.
 
@TOOTSKI not sure if we have a lead
 
Yeah, not literally, but the one who started it.
 
1:55 PM
@TOOTSKI well, that was felipe^^
 
Haha, then it's OK.
 
then Joe and the me, really^^
(it was Felipes idea and both started at the same time)
 
Assumed because it was his repository :)
 
hehe, he's just done the first commits
 
Uh, the Type::class magic constant... it doesn't return the FQN if you've use'd the class in the current file?
 
1:59 PM
try it?
 
Just did, hence question.
 
@DanLugg it always gives the FQN...
 
@DanLugg Can you give code?
 
Hold on, isolating.
 
@ircmaxell ah, I get what you mean now, $array[0] has to return the single value, $array[0, 0] has to return an array which is the slice
 
2:00 PM
@Leigh yup
 
dafuq is going on?
Oh, nevermind it's working properly; I didn't use the class in. Apparently, you try to deref ::class on a non-used, unqualified class, it'll just return the name of the class you applied it to.
 
curl -s eval.al | grep -o 5.6.0
If someone can check if it returns, would be nice. DNS effed up.
 
Such that var_dump(Foo::class), where Foo can't be located, it'll just dump string(3) "Foo"
 
@DanLugg that's actually not good
@DanLugg even if it doesn't exist?
 
@DanLugg I didn't even know about ::class, heh.
 
2:06 PM
Yeop, try just var_dump(Foo\Bar\Qux::class), doesn't matter where; doesn't need to exist.
 
> Foo\Bar\Qux
 
I'm running 5.5.11
 
/opt/php-5.6.0beta1# php -r 'echo Foo\Bar\Qux::class;'
Foo\Bar\Qux
 
^^
 
Ahhhh, it's being expanded at compile time
 
2:08 PM
@ircmaxell yep, need some sort of sentinel :P is there a user data property I can set on $$? I .op_type being set in various places
 
@Leigh I'm not sure off hand
 
ok, thanks for all the help so far
 
I was trying to be tricky and normalize class names by doing $className::class, but it borks a parse on me.
 
@DanLugg add support for that
 
@ircmaxell Time to clone src!
I don't have a nix VM at the moment, I'll have to try it later.
I was never particularly successful building on Windows, though, I'd probably chock that up to E_PEBKAC
 
2:13 PM
@DanLugg Glad to know that I am not alone. ;)
 
But... why would you even do that? :)
 
@TOOTSKI Because some folks use windows as dev environment and you want to be sure your modification(s) work on windows as well. Especially, if you are planning to create RFC.
triple ping! Yay!
 
Yay!
Well, yeah, sounds reasonable, but it's PITA :)
What is the dev env for C anyways?
 
@TOOTSKI On windows? VS 2012 (visual c++11).
 
2:20 PM
Yup, heard of that. Thanks :)
 
@Leri I have VC++11, but I'm running VS2010. Haven't tried building from source in awhile.
 
@Leri I'll tell you a secret: Nobody tests their modifications on windows ;)
 
^^ ...except people who use Windows. And they don't test them on *nix ;-)
 
If something doesn't work (not work usually means that you used a C99 feature which microsoft's stone age compiler doesn't recognize) then one of them windows folks will fix it
 
@NikiC That was really valuable (and time saving) information. Thanks. ;)
 
2:29 PM
Mmm, lukewarm coffee + hot coffee = drinkable coffee.
 
http://t.co/dzbmtHHO7x
 
I've just received:

> Leri, WordPress error fixing $19/ About Us or Me page $15/ whiteboard doodle animation $41/ headline/slogan development $25!
 
@ircmaxell Old :)
 
Any one using linux and Develop/Test projects on linux?
 
Well, f. you markdown. ^
 
2:36 PM
@Leri Quote on a message on its own
 
@SecondRikudo I know, just hoped it could work like that.
 
@Leri No multiline markdown in chat
Even
**bold** and stuff doesn't work.
 
^^ Is there a non-technical reason for this?
 
2:38 PM
Yeah, multiline is primarily meant for code.
They don't want people flooding the room with super formatted messages
Or something similar
 
I suppose that makes sense.
 
Ask a question on the new [metase]
 
new?
 
dupe
@SecondRikudo what is kfVsfOSbJY0‎day ?
 
lol
 
2:50 PM
@AlmaDo 5 people already figured it out. Don't be the first one I need to explain it to :D
 
That reminds me, I need to wait for someone to leave in order to recursively spam the room.
 
@DanLugg Meta SO and Meta SE got split.
 
@SecondRikudo Was not aware, thanks :-)
 
@AlmaDo NOOB!
 
2:51 PM
A random PeeHaa appears!
 
@AlmaDo hint: friday
 
@HamZa I've found it already. E_TOO_LAZY
 
> 1436 days, 1433 consecutive
 
@PeeHaa it's sad that for us it is rebecca day :p We should start celebrate with this
 
@AlmaDo huehue I didn't know PHP could count the hebrew calendar.
 
2:58 PM
@SecondRikudo :p
 
Composer is a pisser when trying to use local repo deps.
 
ok, I'm free to do any kind of nothing-to-do now :p back to manga :p
 
dafuq am I doing wrong?
"repositories": [ { "type": "vcs", "url": "git://s:/dropbox/htdocs/Yapf" } ],
"require": { "php": ">=5.4.0", "bracketworks/yapf": "dev-master" }
And S:\dropbox\htdocs\Yapf is a repo with composer.json sitting in master.
 
> git://s:/dropbox/htdocs/Yapf
 
lol, yea, I know eh?
 
3:03 PM
This, you see this? Stop it.
 
[RuntimeException]
  Failed to clone git://s:/dropbox/htdocs/Yapf, could not read packages from it
 
@SecondRikudo Long story, understand the implications, been there, got the receipt. Not really the issue at the moment.
@SecondRikudo Aside from the obvious but non-relevant issue, any idea?
 
@DanLugg Not really, unless S:/ is inaccessible or is weirdly shared (if a network drive)
 
Can someone tell me why I get `-1 was inserted` when I use this script? `<?php
$name = $_POST['name'];
$email = $_POST['email'];
$password = $_POST['password'];
if($name && $email && $password){
$con = mysqli_connect("localhost","root","pass","db") or die("Error connecting to database");
$query = mysqli_query($con,"INSERT TO users(name,email,password) VALUES('$name','$email','$password')");
$registered = mysqli_affected_rows($con);
echo $registered." was inserted";
}
else{
echo "Complete the form";
 
3:16 PM
@SecondRikudo Hmm, it kinda is; VM mount.
It's accessible, but not a local dir, per-se.
 
I'm having a little issue here, I got this query working in phpMyAdmin, but it isn't working in my php script (prepared statement), any ideas?
In phpMyAdmin:
AND
CAST(
GREATEST(
IFNULL(serv.fromDate, 2000-01-01),
IFNULL(serv.toDate, 2000-01-01)
) AS DATE
) >= CAST( '2014-04-16' AS DATE )

In php script:
WHERE cl.ID = ?
AND
CAST(
GREATEST(
IFNULL(serv.fromDate, 2000-01-01),
IFNULL(serv.toDate, 2000-01-01)
)
AS DATE) >= CAST(? AS DATE)

No errors are thrown, but where phpMyAdmin returns rows, the script never returns anything.
 
dafuq? and I get spamhammered for my friday quote
 
@Colourity You should have a look at SQL injection, you shouldn't insert values directly from $_POST
@Colourity try prepared statements
 
Anyone have experience with XenForo here?
 
@Koveras not really, but is the issue about PhP or XenForo specific?
 
3:26 PM
Well, it's .htaccess
Involving XenForo and Phalcon
I was just curious if anyone had gotten them to work together
But someone who is good at mod_rewrite could probably help me out here: stackoverflow.com/questions/23145181/phalcon-and-xenforo
 
@Koveras Nope, not the case here
 
Poo
 
@DanLugg This just keeps getting better and better, isn't it?
 
@Koveras I'm not sure here, but it seems Phalcon is trying to call it's own controller while you want to use XenForo's. Why not add a Phalcon controller to access XenForo, because once you override the .htaccess you're just going to override anything that comes at that folder, unless you pinpoint an exact link you always want routed. Keep in mind i'm no expert on MVC, just thinking out loud, might give you an idea
Anyone got an idea about this... I'm still banging my head :S Btw, both colums (serv.fromDate and serv.toDate) are of type DATE so I probably don't need to cast those two chat.stackoverflow.com/transcript/message/15928801#15928801
 
3:44 PM
sup
 
I'm aware of mysql injection. I'm not using the code for development, rather a quick example @FernandoSilva
 
Can you guys see anything wrong with this query?
sqlQuery("insert into dmcstimetable (sub_id, tbl_row, tbl_col, tbl_author) values ('$sub_id', $row, $col, '$email')");
I am completely blind now x.x
 
'$sub_id' - shouldn't that be "$sub_id"
same for '$email'
 
naw that works,
it just doesnt add up the email from session
$email = $_SESSION['email'];
OMFG
OMMMMFG I can't believe I have been sitting thinking about it for a god damn hour
 
@SecondRikudo lol
 
3:46 PM
OH GOD
I missed the session variable name
 
@Colourity Not an excuse.
 
it was $_SESSION['userEmail']; not $_SESSION['email'];
........
 
Prepared statements for everything with a parameter. EVERYTHING. No exceptions.
 
That is, spectacular, @corpseRott
 
true that
 
3:51 PM
@corpseRott Also, SQL injection.
 
ah yeah, il be securing it up once im finished with everything else
 
No, you won't. Secure it now.
 
Ok, so check the "Return Values" part of this link https://dev.mysql.com/doc/refman/5.0/en/mysql-affected-rows.html

You might want to check every action you did there to output what error you have:
if(!$con = mysqli_connect("localhost","root","pass","db") or die("Error connecting to database")) echo $con->error;
if(!$query = mysqli_query($con,"INSERT TO users(name,email,password) VALUES('$name','$email','$password')")) echo $query->error;
if(!$registered = mysqli_affected_rows($con)) echo $registered->error;
 
its on localhost now
 
Doesn't matter.
 
3:52 PM
I will I promise Q_Q
besides you wouldnt believe how many of our corporate systems are injectable
 
I don't really care. I'm just telling you; security as an afterthought is stupid.
 
its funny
 
Hey fellas
I'm formatting my PC for Ubuntu 14.04
 
No dual-boot anymore?
 
are you using valgrind?
 
3:53 PM
@corpseRott Actually it's grossly irresponsible.
 
Dam, it just won't work... I bet it's one of those simple things I just can't see chat.stackoverflow.com/transcript/message/15928801#15928801
 
@SecondRikudo I greet you
 
Aside for ~/[^.].+ and ~/.ssh, anything else you think it's important to back up?
@DanLugg Not decided yet
I might
 
I was gonna dual, but VM FTW.
 
I would rm -rf from start considering thats like alpha
 
3:53 PM
@DanLugg Do you play games?
 
Not anymore, but I have Win7 as the host, so if I want to, I can.
 
what vm?
 
@DanLugg Ah, as the host?
I'm figuring I'll do the other way around
For Photoshop etc
 
@SecondRikudo Yea, PS and gaming in a Win VM is gonna be a PITA (if not regularly impossible)
 
But I'm still conflicted about games, etc.
 
3:55 PM
I don't do much shooping at home anymore either, so I have a pretty naked host OS.
 
But Ubuntu in a VM isn't 100% fast either, is it?
 
dwarven fortress works for ubuntu
thats all you will ever need
 
@corpseRott Heh, I'm more into Factorio and Gemcraft.
 
@SecondRikudo Nothing is. But *shrug*. Right now, I'm running Win7 in Win7 :-P
 
@Second I would say depends on what VM is that and what resources are available
my 8 gig arche vm on virtualbox is compiling stuff like a devil
 
3:57 PM
lol, unless you get Xen and go bare metal
Was considering, decided against because lazy
 
@corpseRott Well I'm on a 4GB laptop
 
oh, you can virtualize stuff at all?
 
@corpseRott Hardly
 
@SecondRikudo Eek. I'm running 8 and I still feel a bit cramped.
 
my samsung r560 is chocking heavily on virtualization, and its 4 gigs as well
 
3:58 PM
I think I'll go with dual boot after all
 
7 is eating something like 1,5gigs alone
 
Give Win some space, Ubuntu some space
 
I'll tell you, I was VMing Win7/Win7 on an HDD. Bought an SSD and world of difference.
 
@DanLugg If and when I get a decent funding, I'll buy me a decent machine
 
Why would u vm a win 7 on win 7, other than saving your computer from your family?
 
4:00 PM
@SecondRikudo I'm in the same boat. Looking to upgrade. I've been building a box on PC Part Picker for the last... 8 months? ;-)
 
Be it stationary or a laptop, but what I have right now isn't really high end.
 
@corpseRott I don't have a family, I came here from the moon. And because safety.
 
my girlfriend's father have like 6 VM's on his master machine
"Just in case they screw something up" he used to say
 
In any case.
Anything I should backup from Ubuntu?
 
@corpseRott Yea, that's my use-case, except s/they/I/
 
4:02 PM
Anything I should backup from Win?
Aside from what I know I need
 
2 machines for first daughter, 2 machines for second daughter, 2 for wife
 
Things like SSH keys, hidden stuff.
 
and hes working on root ;D
 
For Win? Off hand... hosts file?
 
I don't think I have anything special there.
 
4:03 PM
I typically just ISO my whole home folder.
 
I have some special stuff on my hosts file on Ubuntu, but I'm going to wipe it.
 
Sort it out after.
 
@DanLugg I sadly don't have the kind of storage available :(
Readily available that is.
 
lol, okay. Delete all the porn first (can always get it back) and then ISO your home folder.
 
4:04 PM
:-P
 
Please, I only watch porn online.
 
lol I know eh? What is this, 2004?
 
No reason to leave evidence
 
Oh pr0n incognito mode.
A friend of mine collects it religiously, I don't even think he watches it.
I don't hang out with him much anymore.
Anyway, to your question; I dunno. If you run ming/cygwin you might want ^\..* out of your profile path, but aside from that *shrug*
Everything else is pretty much re-downloadable/configurable, in my experience at least.
 
@DanLugg How 'bout win?
 
4:15 PM
Eh?
 
Anything you think is backup worthy for Windows?
 
Not off hand... $path will regenerate. You could backup your UI config, but that normally takes all of 3 minutes to set up.
So much config is install-dependent on Win, so it'll just regenerate as you reinstall shit.
Wallpaper? lol
 
Its more app specific config; I run VS, so I'd just export my entire environment and go from there.
Same with NetBeans.
 
morning room
 
4:20 PM
Morning @Jack
 
behold this beautiful answer.
 
4:33 PM
@Jack Answers that outweigh the accepted in votes by a ratio of 10:1 should be prioritized over the OP's accepted.
Because, sometimes OP doesn't know what the fuck he's doing.
 
@DanLugg suggest that, I'd upvote.
 
Off to meta I go.
 
I've voted to delete it (the answer), since it has reached -1.
 
Do I want MSO or MSE now?
 
@DanLugg What's the question?
 
4:35 PM
Non-accepted answers with more than 10:1 votes of the accepted should be prioritized first.
That's non-exclusive to SO, so I'm guessing MSE
 
I like the fact that I carry much swag in MSO now :D
 
@DanLugg MSO imo.
It is specific to programming, where some cases are
 
True, but I doubt this feature would be any less useful on SF or SU.
 
- Technology changed and the accepted answer's API was superseded by a newer better one. OP left SO since and answer wasn't updated
 
@BenjaminGruenbaum But it's not, is it? Wouldn't this make sense in English too, for example?
 
4:37 PM
^^ And that. Disclosure: I'm already writing it on MSE ;-)
 
- OP left the site immediately after accepting and a much better answer came along
 
@arkascha Ouyay ouldcay useway Ooglegay irstfay :) — Jack 7 mins ago
when do you get a chance to comment in pig latin ...
 
is it just me, or is loading review queue extremely slow?
 
0
Q: Prioritize non-accepted answers with more than 10:1 votes of the accepted

Dan LuggThe SE model works well; OP asks and accepts, the community votes. You get two answers for the price of one; the OP's and the communities. Let's face it, sometimes OP is wrong. I'm proposing that when a non-accepted answer's votes outweigh that of the accepted by at least 10:1, the non-accepted...

 
upvoted for great justice.
I was gonna suggest flagging it, but I don't feel this is a mod kind of job.
It should be driven by community, first and foremost.
 
4:45 PM
@Jack And it is, it's just that the communities void should be louder in some cases.
 
It's not entirely fair for the mod to decide on it, though.
Moderators operate within the bounds of what they're tasked to do, and the answer is valid according to the rules.
It's shite answer, of course.
Ah, someone found a dupe on it ;-)
 
Same idea, but not complete dupe; mine is based on ratio, regardless of whether accepted is negative or not.
Also, in some circumstances it might be a ratio of 7:389 for accepted to top-voted. 7 isn't negative, but relatively speaking it might as well be. — Dan Lugg 4 mins ago
 

« first day (1280 days earlier)      last day (3684 days later) »