This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
3886
Features / Re: timeformat annoys me...
« on April 5th, 2012, 03:02 PM »
I'm now thoroughly confused. You wanted to deal with the left spacing on the number, and suggested using trim(), I just suggested a variation on that which didn't use %e, nothing more.
For cases where there's an extra space in the middle of the string, you're still stuffed either way, whether you use ltrim() or trim(), aren't you?
For cases where there's an extra space in the middle of the string, you're still stuffed either way, whether you use ltrim() or trim(), aren't you?
3887
Features / Re: timeformat annoys me...
« on April 5th, 2012, 01:52 PM »
Same way you were going to call trim() on it...?
3888
Plugins / [Plugin Screenshots] Re: Invitation Only Topics
« on April 5th, 2012, 10:45 AM »Finally! :D
This is really useful, groups are ok but really limited. :)
3889
Features / Re: timeformat annoys me...
« on April 5th, 2012, 10:44 AM »
%e doesn't work om Windows anyway, I doubt %-e would either, and I've never heard of - to strip padding.
trim isn't expensive, and AFAIK it isn't that expensive if you substitute another character, in this case I'm thinking ltrim() on %d rather than %e and pass in '0' as the second parameter so it left-trims leading zeros. It's likely to be as fast as using trim() would be with the bonus that it'll work consistently on all platforms, something that doesn't occur with %e (there are people out there who do use Windows hosting in production!)
trim isn't expensive, and AFAIK it isn't that expensive if you substitute another character, in this case I'm thinking ltrim() on %d rather than %e and pass in '0' as the second parameter so it left-trims leading zeros. It's likely to be as fast as using trim() would be with the bonus that it'll work consistently on all platforms, something that doesn't occur with %e (there are people out there who do use Windows hosting in production!)
3890
Plugins / Re: Which next? [Poll]
« on April 5th, 2012, 02:48 AM »Scratch that.
Could be done through a post-group permission... (Easiest example.)
When showing a post, if they don't have permission to get rid of nofollow, go through the anchor tags in the post and add a nofollow.
I'm not sure it's the best option (especially, where do we determine the permission for the *author* rather than the current user...?), but it's better than a nofollow tag which itself is unlikely to be used by anyone... (If you don't want to give PR juice to someone, then just don't link to them. Or use a code tag around the link...)
Now, the question would be: is there a point in offering contextual tabs in the media area...? I think there is, but OTOH, perhaps it takes space in the upper area that would be better used by something else... (And if I start adding a 'description' for each entry, they'll take even more space I guess. But a description would be nice for some areas like Add Album...)
But that's not to say the tabs have to be used. Whatever makes the most sense UI-wise; considering that the post layout for example has contextual UI.
Well, I suppose it's all automated even in the current SVN version...?
You're right that the tab code is a mess generally, and it would be nice to properly harmonise things, since the profile and admin menus are set up differently (as there's pre-processing to handle permissions, as opposed to passing them to the menu handler)
No, but using it in an input box could lead Wedge to open a list of boards in a select box to a section that says "===> Board"... Although I don't think there should be any case of this happening.
3891
Archived fixes / Re: Changing password in profile > account settings
« on April 4th, 2012, 09:37 PM »
Hrm, I thought I'd fix that.
Thanks for letting me know, I'll look into it :)
Thanks for letting me know, I'll look into it :)
3892
Off-topic / Re: Another reason to dislike reCaptcha
« on April 4th, 2012, 05:42 PM »
They're a complex beast. I wouldn't say I've mastered them, but I do know how to wield them for general cases (Nao's the regexpert around here), so I'm not fearful of using them, though I can readily see how others might be.
3893
Off-topic / Re: Another reason to dislike reCaptcha
« on April 4th, 2012, 05:12 PM »
Sadly the concept of allowing multiple answers to a single question is not a new idea and it isn't mine, but the approach I have in mind is more what I described than what already exists.
Specifically, there's a mod that allows you to define a regex to match against rather than anything else, so that you can declare multiple variations through a regex rather than multiple discrete answers. Effective? Certainly. Intuitive? Not so much.
Specifically, there's a mod that allows you to define a regex to match against rather than anything else, so that you can declare multiple variations through a regex rather than multiple discrete answers. Effective? Certainly. Intuitive? Not so much.
3894
Off-topic / Re: Another reason to dislike reCaptcha
« on April 4th, 2012, 04:42 PM »
Except that KeyCaptcha, like several of the other CAPTCHA solutions is also going to limit those with visual or motor impairments, or various browsers such as certain mobile browsers.
As opposed to writing a question for your forum which has no such limitations.
As opposed to writing a question for your forum which has no such limitations.
3895
Off-topic / Re: Another reason to dislike reCaptcha
« on April 4th, 2012, 03:31 PM »
For single language sites, which is most of them to be fair, it's just not an issue.
But for multiple language sites, sure, we can look at extending that in some fashion. I might even be persuaded to allow admins to define multiple answers that are acceptable, e.g. variant spellings. Which would also allow you to write the same question in - say - two languages, and define both answers as allowed.
But for multiple language sites, sure, we can look at extending that in some fashion. I might even be persuaded to allow admins to define multiple answers that are acceptable, e.g. variant spellings. Which would also allow you to write the same question in - say - two languages, and define both answers as allowed.
3896
Off-topic / Re: Another reason to dislike reCaptcha
« on April 4th, 2012, 03:25 PM »
weQ&A is even better though, heh ;)
3897
Off-topic / Re: Another reason to dislike reCaptcha
« on April 4th, 2012, 02:54 PM »
That's the thing, it's long been possible to figure out which is the known word and which is the control word. Either way it's a fuck-up.
If the street number is the control word, you have a maximum of something like 10000 permutations to cope with and even then it's possible to drastically cut that back with a bit of imagination in the code.
If the street number is not the control word, nothing changes and you break the control word much as you do now with convention OCR.
This is the thing people don't realise, I can tell you *at a GLANCE* which is the control word in a normal reCaptcha. I will likely be able to tell you with the same glance which is which with the new setup, but on top of that it is more likely they will use the street numbers as the 'unknown' rather than the control value anyway.
This is the fundamental thing with reCaptcha: you get two words and you only have to get one mostly right, the other can be failed without any ill effects. So you actually spend more computational effect figuring out which is which, and now that just got a lot easier.
If the street number is the control word, you have a maximum of something like 10000 permutations to cope with and even then it's possible to drastically cut that back with a bit of imagination in the code.
If the street number is not the control word, nothing changes and you break the control word much as you do now with convention OCR.
This is the thing people don't realise, I can tell you *at a GLANCE* which is the control word in a normal reCaptcha. I will likely be able to tell you with the same glance which is which with the new setup, but on top of that it is more likely they will use the street numbers as the 'unknown' rather than the control value anyway.
This is the fundamental thing with reCaptcha: you get two words and you only have to get one mostly right, the other can be failed without any ill effects. So you actually spend more computational effect figuring out which is which, and now that just got a lot easier.
3898
Off-topic / Another reason to dislike reCaptcha
« on April 4th, 2012, 01:49 PM »
Regular readers here will know that I dislike reCaptcha, a lot.[1]
Putting aside the fact that it is worryingly flawed,[2] we have an interesting new vector for it.
I give you: http://www.theregister.co.uk/2012/04/04/google_recaptcha_street_view/
Specifically, it's using street numbers, and possibly street names, off Street View as things it's expecting you to decipher, to improve their database. Very effective crowdsourcing, potentially, but also it makes a mockery of any anti-spam considerations it may once have had.
Putting aside the fact that it is worryingly flawed,[2] we have an interesting new vector for it.
I give you: http://www.theregister.co.uk/2012/04/04/google_recaptcha_street_view/
Specifically, it's using street numbers, and possibly street names, off Street View as things it's expecting you to decipher, to improve their database. Very effective crowdsourcing, potentially, but also it makes a mockery of any anti-spam considerations it may once have had.
| 1. | And that I only wrote a reCaptcha plugin to prove the viability of the CAPTCHA hooks, and to avoid people whining about not having it, not because *I* wanted it. |
| 2. | It shows you two words, one of which it actually doesn't know itself, and has been known to display numbers, and even mathematical equations and Hebrew writing, as the second 'word', in an attempt to crowdsource their meaning, which doesn't work as well as you might think, because people including bots just put nonsense in. In any case, even the word it does know, it accepts one letter being wrong, making it even less reliable than an actual regular CAPTCHA that displays a word. Small wonder it's been broken by bots. |
3899
Other software / Re: Connection error
« on April 4th, 2012, 12:13 PM »
That's why they ask people to have separate support topics, because there are tools for checking whether they have been dealt with or not.
3900
Other software / Re: Connection error
« on April 4th, 2012, 11:36 AM »
It does actually disturb me that people can actually get better support, faster, here than on the official SMF forum, too.