« first day (865 days earlier)      last day (4098 days later) » 

6:28 AM
anyone have left side filtration tutorial ?
 
user652649
@NullPointer wut?
 
@wes i want to do in better way now ... now i am abusing array .. so want to read properly how to do
so data according to that
 
user652649
gimme the code
 
@wes which ?
@Jack morning
 
user652649
don't know... which one... php? html? or explain yourself better :P
 
user652649
you want to program a filtering interface?
 
@wes yes exactly
 
user652649
gimme the current php code
 
Morning folks
 
user652649
morning captain
 
6:36 AM
Morning folks
 
user652649
morning Madara
 
@wes i can show you last code
 
user652649
@NullPointer i'm supposing that you want to alter the actual SQL according to these filters
 
its bad like anything ..
@wes yes but without array
 
user652649
holysheet!
 
6:38 AM
guys, where can i find out about i18n validations. Like i want to validate a name, but it might be Chinese or slovakian
 
@wes it's always best to query for what you need
no more no less
 
@wes i fetch all table and make array to reduce load on server
 
user652649
@NullPointer wtf?
 
@wes @NullPointer was bitten by a help vamp
 
@null will you use all of the data in the table?
 
6:40 AM
@MadaraUchiha yes ...
 
user652649
$allitems is the fetched table?
 
@wes yes but not completely its contain some part now i added 5 more part which are big now its really looks bad ..
 
A cat which never sleeps ...
 
6:42 AM
you're threatening to overtake gordon as the most prolific cv-pls guy in here
 
user652649
@Rikesh she never sleeps... she is a bot
 
user652649
@NullPointer why don't you use a dbms for that array?
 
user652649
i don't think using an array will reduce load of server
 
@wes agreed i have changed now .. pastebin.com/JgdSEEtc
but now i feel pain to do filter interface
 
user652649
not really
 
user652649
6:48 AM
create "abstract class SomeFilter" as a base implementation for your filters
 
user652649
this class should provide the "SQL piece" to add to the actual query... after the "WHERE" part
 
@wes i am really ready to read 300page book to learn that exactly .. just need to know which book i should read
 
user652649
for example function getSQL(){ return " minroom = 1 "; }
 
user652649
then create a class that puts all filters together joining them with AND
 
user652649
so you will have "SELECT * FROM blah WHERE " . implode(" AND ", $this->filters); or something
 
6:51 AM
@wes that would be good idea ... i will try this
 
user652649
of course you could do a lot better than this... but this would be a good start
 
user652649
@NullPointer i don't think there are books about this, just think with your mind, improve your code again and again...
 
user652649
going to office... later
 
@wes agreed that what i am doing for last 6 month (just wrote my first hello world program before 6 month)..
@wes later
 
7:06 AM
morning everyone
looks that this could be interesting: Profiling CSS for fun and profit. Optimization notes.
 
@tereško morning ...:)
 
7:37 AM
hi , paypal in open cart will support Indian cards?
please help me?
paypal payment gateway in opencart is not supporting Indian Debit Cards what to do?
 
Anonymous
morning
 
@jeevankumar hope this forum helps you ..getsatisfaction.com/paypal/topics/…
 
@jeevankumar yes
 
user652649
morning
 
@NullPointer can you please help me how it works
@Rikesh ya ofcourse thanq for great tutorial. Can you please explain me in detail i am integrated paypal payment in opencart template while entering the visa card details i am getting error "Merchant country is not valid".. how to solve this pleas help me?
 
7:49 AM
@jeevankumar just need to have paypal account and than use paypal api
what are you trying to do exactly
if you are trying to implement donation button it wont work
 
8:23 AM
Mornings
 
@DaveRandom ...:)
 
good morning :)
 
@MihaiIorga morning :)
 
user652649
php.net/http_build_url Y U NOT CORE?????????
 
user652649
8:29 AM
morning @DaveRandom
 
@wes it could be like morning@DaveRandom.com :P
 
user652649
@NullPointer STOP GETTING DRUNK
 
user652649
:P
 
@wes ohh ... i am got stuck in learning process ...so literally DRUNKED without even touch alcohol
 
user652649
learning process of getting drunk? :P
 
user652649
8:33 AM
there is a tutorial for that somewhere?
 
user652649
:P
 
Morning all
 
@wes Because the HTTP extension is awful. Just... it's just awful. It's like wat. And wat. Although I agree the core could do with some URL management stuff, http_build_url() is not it. I'm sure @rdlowrey agrees with me as well.
 
it really isn't good when you come in and say morning and i'm still up @PeeHaa
 
@wes havent got when i search it get me ton of link of php filter_var link instead php filter interface
@PeeHaa
 
8:38 AM
@Lusitanian Yet again?
 
@PeeHaa :(
 
user652649
@DaveRandom http / url functions support in php doesn't nearly exist. i mean 5.4 to get http_response_code, finally
 
I even overslept :P
 
user652649
HttpMessage::prepend ( HttpMessage $message [, bool $top = true ] ) prepend and $top?
 
lol
 
8:39 AM
@wes Yeh but that's about SAPI hooks, what you are talking about is basically just string manipulation helpers
@PeeHaa Yo
@Lusitanian Y U NO SLEEP????
 
user652649
@DaveRandom yeah but it would simply be nice to have a builtin function instead of this (probably) crap code code.google.com/p/archivepress/source/browse/trunk/…
 
@wes Damn straight that's crap code, take a look through Artax especially github.com/rdlowrey/Artax/blob/master/src/Artax/Uri.php#L331
 
8:47 AM
@NullPointer I tried exactly like that but i'm facing issue... Error "Merchant country is not valid" how to fix this could u explain me in detail
 
@Lusitanian true
Send. Receive. Withdraw to a local bank account.
Send and receive payments in these countries. Withdraw from your PayPal account to an in-country bank account.
India
 
user652649
@DaveRandom great, i would suggest to @rdlowrey to separate the "url manipolation" code from the "http client" code (which i don't need)
 
@NullPointer So, i need to check my site code or i want to contact with paypal direclty?
 
@wes All @rdlowrey's projects start with an a because they are all alpha
 
@jeevankumar sorry ?
 
8:56 AM
@wes I think that class stands alone, except it borrows KeyException from Ardent which you can easily replace with an InvalidArgumentException or possibly an OutOfRangeException and it will still make sense.
@PeeHaa Yeh and presumably he has a private one that's really shit so he called it Anus.
 
user652649
LOL
 
Also @rdlowrey Y U NO USE new self?????
 
user652649
@DaveRandom you mean new static? :P
 
I do
 
@DaveRandom :D
 
9:04 AM
@Lusitanian really ... I like Dennis Ritchie more than Steve Jobs...
 
user652649
@prashu132 do you like Steve Jobs? GET OUT OF HERE
 
Fuck ... one of my office monitors just died ...
 
user652649
:P
 
@OctavianDamiean Denied.
 
user652649
9:10 AM
i can grasp how hard are working in my office according to the room temperature. when my colleagues have work hard they smoke a lot. so instead of going out to smoke every single moment, they simply leave the window wide open... and it is snowing outside... my hands are so frozen that i can't even write on my keyboard
 
Wait, I'm in the wrong room. I meant to go to my rant room (JavaScript room).
What am I even doing here? There is no more shit to stir up.
hops on his unipony and flies away leaving a trail of glitter
 
@PeeHaa I think we need to look at providing some stats for the . Just looking at the comments at the bottom of Gordon's nomination it's obvious that some people just don't get what it's about, also it would be good to have a metric to judge our own success. It is possible that we are closing too many questions that could be edited and saved. Not really sure how to implement useful stats off the top of my head, just something to think about.
Stuff like downvote/question ratios across questions and answers maybe
@wes Where in Italy are you?
 
user652649
north east
 
@DaveRandom Fine with that, but imho should be > 1.0 release.
 
@PeeHaa Oh yeh, I mean it would need to be part of the server-side improvements anyway I think. Not sure if the plugin could usefully contribute to those stats, maybe we could click-track but I doubt people would be happy with that idea, and it would mean we'd need a real license agreement.
 
9:19 AM
license agreement?
EULA?
 
Yeh, you can't get usage stats without telling people you are doing it, and I'm pretty sure it has to be an explicit "agree", you can't just put it on a webpage no-one will ever read
Even if they are anonymous
 
morning
 
@Gordon morning ..
anyone please suggest me source to learn filter interface
 
@NullPointer fiterInterface? you mean filteriterator?
 
Could one of you fine PHP documentation guys please review this comment? Voting is broken and it possibly needs intervention (add an admin note or just delete it) anyway because it's just completely wrong.
 
9:24 AM
@Gordon i mean i want to show result according to this i.stack.imgur.com/B2SM4.png
 
@NullPointer ah ok.
@DaveRandom afaik I cannot touch any comments
 
:-(
 
i am ready to learn no matter how long source is even ready to learn 300page book
 
@Gordon comments can be deleted
 
I really can't get my head around the logic there, in a number of ways. I'm really tempted to email the guy and call him an idiot (but I won't)
 
9:27 AM
@DaveRandom btw voting works just fine
-9
:)
 
Good monring all :)
 
Oh it works now, it wasn't working for me before, kept coming up with a red X
 
Ah I see btw. It doesn't show when accessing the page only after voting
/blame @levi?
 
@PeeHaa May be legitimate to blame @GoogleGuy
 
9:32 AM
Yeh it's coming up with a little red X instead of the tick when I click a vote button, then I refresh the page and it works but after I refresh the page again it doesn't show any different
Prototype and live
 
@PeeHaa let me checxk
 
Well that's what you get when letting people just smack some jquery together
@Gordon I just don't see where :P
If you find out tell me please :)
 
> I was going to stalk Gordon's wishlist and make a snyde (but comical) remark about one of the entries, but it only further motivated me to vote for him. Plan ruined :c – Qix 1 hour ago
snicker
 
:P
 
$("a").each(
function () {
  if ($(this).is("a:.usernotes-voteu") || $(this).is("a:.usernotes-voted")) $(this).click(
 
9:38 AM
lol
 
@DaveRandom Don't open that shit man.
I freaking warned you
Dragons are not sufficient to let people now how crap it is
 
I understand php.net using jQ for max compat and principle of least surprise for contributors but ffs, let's at least make it decent jQ
 
Ah screw it, it's too early for that
 
@DaveRandom max compat is not really the reason as I see it. More like [insert i have no idea what i'm doing dawg here]
All the JS crap is reeeeeealy terrible
 
@Jimbo I was thinking more $('a.usernotes-voteu, a.usernotes-voted').on('click', function() {}); - easier to read and considerably more efficient
 
9:43 AM
@DaveRandom Oh yeah! Much nicer!
 
@webarto / @ircmaxell can you teach uncle @Gordon and me to delete notes on phpdoc please :)
 
Maybe you need additional karmaz
 
I thought phpdoc karmaz was enough
 
@PeeHaa "USE phpdocs;" and... "DELETE FROM notes;" ;)
 
:)
 
9:44 AM
Much like the comments issues yesterday I'm not about censorship though, the guy feels he has a point to make and he should be allowed to make it, but it could do with an admin note saying "this is not authoritative and here are the reasons why this makes no sense"
 
@DaveRandom That's mostly why the voting system was introduced
But imho some notes are just sooo far off it's not funny anymore
That's not censorship. That's crap control
 
@PeeHaa Fair point, if I could just downvote it and have it actually work I'd be much happier. There should be an auto delete when it gets to -20 or sth
 
Nice point although what are you going to do when it is "threaded"?
 
@PeeHaa That's why it needs proper forum-style reply and threading
Although that could very quickly get not constructive and Youtube-y
I think at the very least it could do with binning the anonymous side of it and requiring signup to give it some kind of workable audit trail
 
Hi guys !
 
9:50 AM
I'm sure if you made it a bit more advanced it wouldn't be too hard to find people to volunteer to mod it
 
@DaveRandom Nooooooooo
anon ftw
 
Although it would need some kind of system to make sure the mods remain objective. You can't have people forcing their viewpoint on the rest of the community.
 
Hey @HamZaDzCyberDeV
 
@PeeHaa Alright, what about requiring an email confirmation link visit then? Just something to guarantee the teams can contact offenders
 
Guys, the design patterns book I wanted arrived: akamaicovers.oreilly.com/images/9780596007126/cat.gif ^^
 
9:54 AM
@DaveRandom The only thing that would be useful for is to try to prevent spam, which isn't a problem now. AFAIK
 
Also, what's with all the disputing lately? It wasn't like this before...
 
Or I am missing your point
/me still needs coffee
P.S. I just cannot find any documentation about removing notes, but I'm sure I"ve seen it at some point.
Gonna insert some coffee now, maybe everything will be clear then
 
@PeeHaa Sorry I'm probably not clear on the point that this would be if you made a proper threading system, which would devolve into useless spammy arguments if you didn't have some kind of of audit trail and retribution for offenders
 
oh, finally ze doctrine badge \o/
 
https not showing css modification
 
9:57 AM
@gowri You got something resembling a real question hidden underneath that "sentence"?
@Ocramius congratz
 
While I am using https in URL, I am not able to get any modifcation in css or markup mchanges
is this normally happen with https or not ?
 
> 6740 votes to close
This guy is getting one of my votes if he makes it through to election
 
is this hotlink problem
 
maybe @salathe or @nikic know how to delete comments from the manual
 
@gowri If anything this kind of thing should happen less with HTTPS but it's most likely a cache issue. Refresh the page with ctrl + F5 and if that doesn't work clear your browser cache
 
10:01 AM
@Ocramius gratz
 
It doesn't work. Last three days I am working on it
No I figure out problem with https
 
@gowri append some unique query string to it
And inspect tyhe request to find out whether it is cached
(proxy perhaps)
 
@Gordon interesting. I wonder where he got that figure from?
 
Also inspect the DOM to find out the changes are really not there or are overridden
Also open the CSS file separately to see whether the changes really are in there
 
10:06 AM
failed
I will show the issue
 
Also instead of referring to the document using https I would make it relative to the protocol just in case //path/to/file.css
 
in this css
bottom I added class .gowri
but its not showing while i use https
 
where is the page you are including this?
oooow wait a second
Strange. Are you sure the ssl host is the same as the non ssl host?
 
I am not sure, Any other chances ,
Do you think should i contact hosting provider
 
10:17 AM
What is your WP version?
 
@gowri i think your css is get cahced
Are you using any wp cahce plugin ?
 
Shell scripting, anyone?
 
@PeeHaa :WordPress 3.3.1.
 
Getting a path as a result and need to concatenate it with a string
without the use of variables
 
@Rikesh: I disabled W3 Total Cache plugin
 
10:21 AM
@gowri Are you using any ssl plugins?
 
this is the plugin i am using
 
how to insert on duplicate update in Codeigniter ?
 
@gowri latest version (because I know there have been issues with it in the past)?
 
10:22 AM
i'm on active records but i can't find how to do that :/
 
@gowri - still I think cache is playing game here... if you could just try cahnging the name of your css file & check again with both
 
I will update the plugin in minute
 
@AdamLynch Define "result" and why without variables?
 
@Rikesh: I did that
 
10:27 AM
I want to concatenate:
hg showconfig | grep -Poie "(?<=^bundle.mainreporoot=).+$"
With "/.hg" for example
But this an inline command in the .hgrc file so I can't use variables (I'm pretty sure)
 
@AdamLynch "$(hg showconfig | grep -P -o -i -e '(?<=^bundle.mainreporoot=).+$')/.hg" should work I think, assuming bash or ksh
 
@DaveRandom tried that
"...system cannot find the path specified"
 
@PeeHaa: oh my god, I even removed that that style, still it's showing with https
 
and if I echo what you gave, then I get what you gave
with no variables resolved
 
1 sec, let me boot up a linux box
 
10:31 AM
I am on Windows though, with cygwin
so might be some issue there but doubt it
 
eeeeeeh
:)
 
@gowri - check in yout https folder is there anything inside ?
 
@AdamLynch It's about the shell binary, what are you using?
 
@DaveRandom hmm how do I know?
 
@gowri - also try clearing cahce files from your wp-total cache plugin
 
10:33 AM
@DaveRandom P.S. using single quotes for the regex doesn't work for me anyway, in the basic form without quotes, variables, concatenation
 
I don't css any https folder in the ftp
 
@AdamLynch echo $SHELL
Ugh, why the hell did I install XFCE. Go home @DaveRandom, you're drunk.
 
@DaveRandom $SHELL
haha
 
@DaveRandom envy
 
@AdamLynch fail
 
10:39 AM
@DaveRandom that's from cmd (where I can run unix commands) but in mintty.exe (command prompt that comes with cygwin) it's bin/bash
 
@AdamLynch Yeh you won't be able to use bash syntax in cmd I wouldn't have thought
Hang on, it's a while since I've messed about with any of this stuff. Give me a few mins to refresh myself
 
@DaveRandom well, I'm not really... I'm calling a hg commit -m "message" and this stuff is being called on a pre-commit hook by mercurial itself
 
@DaveRandom ctrl + F5 :)
 
@AdamLynch I'm still waiting for my stupidity to undo itself but I've just realised my dumbass mistake anyway, try echo $(hg showconfig | grep -P -o -i -e "(?<=^bundle.mainreporoot=).+$")"/.hg"
 
10:53 AM
grep: unmatched parentheses
 

« first day (865 days earlier)      last day (4098 days later) »