Show Posts

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.

Messages - Arantor
3706
Off-topic / Re: QapTcha
« on April 19th, 2012, 01:13 PM »
You're actually relying totally on the bot not spotting this particular CAPTCHA because it is exceptionally to beat programmatically.

See, more fundamentally flawed than the requirement of JS on the client is the way it's implemented. The server portion generates a session value (which it's expecting to find later), and a hidden input is dropped into the page with that in it, and a randomised value to it.

When you drag the thing across, the input is left as it is - but the value is removed. The author is either reasonably clued up, or very lucky at this point, because spam bot behaviour in that case is to smush through forms with values for each field item and see what happens. So, relying on that field being empty is a smart move (and indirectly something Wedge already does, not that you'd know it without looking, heheh)

Consequently you'll have a big-ass input in the code:
Code: [Select]
<input name="FE4MfmzcGpGngehKeNC9TBqSHgNxrnzb" type="hidden" value="ku@3Msb">

Glancing back over the implementation notes, this is actually intentional behaviour, so the author is smart enough to know that bots just often hamfistedly fill in everything. But it's possible to detect use of this in a single line of code, and not a lot more effort to exclude it going forwards.


Maybe I'm being a bit harsh but I'm thinking: 9 out of 10 for imagination, 4 out of 10 for implementation.
3707
Features / Re: New suffixes for skin files...
« on April 19th, 2012, 01:02 PM »
So, what would go into index.admin.css that wouldn't be in admin.css?

index.local.css I can see making sense though.
3708
Off-topic / Re: Extract images with a certain tag from Instagram
« on April 19th, 2012, 01:00 PM »
Well it WILL output everything, since you have the var_dump in there...
3709
Off-topic / Re: Extract images with a certain tag from Instagram
« on April 18th, 2012, 10:14 PM »
Quote
I want to extract data from the JSON file (the one in file_get_contents). It "outputs" new stuff every time that users post images with the "snow" tag (in this case), always with the same structure, for example:
Without being funny, am I not making myself clear? I know what you're doing. I know what you're trying to do. You want me to help you with your code. The code is not acting as it should. What it is doing that is different to what you want?

Right now, we're at the equivalent of you going to the doctor, and explaining your life history and goals. You haven't yet described your problem or its symptoms, merely that you're ill.
Quote
P.S.: Posts preview is broken..
Define broken.
3710
Off-topic / Re: Extract images with a certain tag from Instagram
« on April 18th, 2012, 09:51 PM »
If you visit the file_get_contents URL, you should expect to get some JSON. The code you get is some JSON.

So, again, what is it supposed to do that it is not doing? Or what is it doing that it is not supposed to?

Showing me a bunch of code, showing me another bunch of code, I have no idea what you're supposed to be getting, but hey, I'm sure we'll figure it out when you tell me these things...
3711
Off-topic / Re: Extract images with a certain tag from Instagram
« on April 18th, 2012, 09:03 PM »
First of all, what do you mean by 'it doesn't work'. Secondly, where is their API documentation, what's the structure of the API that this is supposed to interact with?
3712
Off-topic / Re: Post count fever
« on April 18th, 2012, 07:52 PM »


:D
Posted: April 18th, 2012, 07:49 PM

Also, we're about 35 posts away from 30k posts for wedge.org :)
3713
Plugins / Re: Light URL Plugin Maybe?
« on April 18th, 2012, 07:48 PM »
Except that Twitter will automatically shove its own shortener in there anyway for almost every URL, so in any case you're going via t.co/ to get to your site.

I'm not disputing that it has *some* use, but I'm disputing its use when alongside shortish URLs and pretty URLs.
3714
Quote
Why the hell do programmers like to fuck with us every once in a while?
Apache is... interesting.
Quote
That's where php bytecode cache (or whatever it's called) probably helps the most...
Oh hell yes. Mind you if you're using that, you almost certainly get a proper memory cache anyway.
3715
Features / Re: gallery from the admin pov
« on April 18th, 2012, 07:45 PM »
You realise that it isn't exactly fair to compare Gallery and Aeva, right? Aeva is designed to handle a lot of flexibility in per-user per-album permissions so that I myself can decide who can see my content, and not just pictures. I can, as I have on one site, set it up so pictures in my albums are visible to all but downloads are only for limited users. I doubt you can as readily do the same in Gallery, if it's even possible.

Here's the thing, you can have the idiot proofing you think you need[1] or you can have the flexibility that Aeva and Wedge currently offer.

Most of the users I know would rather have the functionality than the idiot proofing because it makes them feel like they're not incompetent fools.
 1. I'm well known for considering users stupid until they demonstrate otherwise, but you consider them even more incompetent than I do, which is quite impressive.
3716
Quote
And if htaccess works -- it's only needed in the parent folder anyway.
That's not strictly true. There are configurations of Apache that do not allow cascading. And not all servers run Apache (I'm looking at moving to nginx, for example)
Quote
include() can be (relatively) slow. Heck, simply loading SMF/Wedge's basic files (load, subs...) easily takes a few tenths of a second!
Yeah, I know. Part of that is the pure I/O and part of that is the parsing stage.
3717
Test board / Re : Re: Test topic.
« on April 18th, 2012, 07:38 PM »
http://www.youtube.com/watch?v=OBGOQ7SsJrw
3718
Archived fixes / Re: SMorg
« on April 18th, 2012, 07:38 PM »
Looking at it, it appears to work :)

My test case: (i.e. bare URL, url tagged, url tagged with separate caption, then all three repeated for a YT URL)

Code: [Select]
http://example.com/

[url]http://example.com/[/url]

[url=http://example.com/]example.com[/url]

http://www.youtube.com/watch?v=OBGOQ7SsJrw

[url]http://www.youtube.com/watch?v=OBGOQ7SsJrw[/url]

[url=http://www.youtube.com/watch?v=OBGOQ7SsJrw]Conan The Barbarian: The Musical[/url]

Notice that in the latter two cases, it's made widescreen while the bare URL case is not.
3720
The Pub / Re: How do you view your thoughts?
« on April 18th, 2012, 07:34 PM »
The entire profile area needs rethinking, but I'm inclined to agree with the contributions menu idea, and I'm also inclined to agree with the block on the profile page idea :)