« first day (731 days earlier)      last day (4221 days later) » 

12:02 AM
@marfarma Too much for my brain for today. :P
 
 
2 hours later…
1:39 AM
Is it a bad idea to two way sync a pair of taxonomies?
 
 
2 hours later…
3:12 AM
Ah, just had to remove the actions, and readd them to avoid infinite looping.
 
 
1 hour later…
4:23 AM
Is that a real question?
0
Q: documentation on arguements?

JamieI have seen many different parameters or arguments that can be passed to a query. For example, category_in, category_and term_id to name a few. Some of these can be found by using print_r to print out the object. ( If I have that right ). Others like the category__in I have been unable to find in...

 
 
6 hours later…
10:00 AM
Looking for some Ruby hackers for 1-2 months of work, drop me a line at m@mullenweg.com with [RUBYMATTIC] in subject.
WP better not be ported to Ruby... :)
 
If you had a wish list where you freely could choose which PHP modules (5.3.3) you were able to choose for your server: Which one would you absolutely want & take?
 
10:22 AM
Hi all
 
hey
 
@toscho It's not a particular good one - but I see no harm in leaving it...
@kaiser How do you version GitHub forks? Start from where the forked version left off?
 
@StephenHarris Depends on how the repo goes. With some it makes no sense to add pull requests, so the nr doesnt matter. But normally - after a talk with toscho a half year ago (or something like that) - I use yyyy-mm-dd.hhii.
If I want to send pull requests, then with what the original author uses. For the official repo (only 1 plugin), I use main.sub.patch.-nr.
 
@kaiser Cool, I'm making some alterations to fullCalendar for Event Organiser. Will probably be sending pull requests, and will almost certainly be merging changes of the original repo into it - makes the version-ing potentially confusing :)
 
@StephenHarris Is it a submodule?
 
10:37 AM
@kaiser no... I'm just reading about them now... :)
 
@StephenHarris Only use it in one project, but planning to do that all over. Saves a lot of time (not that git wouldn't eat hours and days like "week-not-fed"-kitty) :P
I wonder why we never see the loop_start/*_end actions in use...
 
@kaiser I nearly did in an answer for a question about determining when you were in the main loop or not before I realised that I could just use in_the_loop()
 
 
1 hour later…
12:04 PM
I didn't know that the following works:
if ( 'foo' === $bar )
{
    echo 'foo';
}
{
    echo 'bar';
}
↑ see the missing else
Ah, ok. Doesn't work. Just doesn't throw an error :P
 
Brackets without a leading condition are ignored. That’s one of the arguments pro Allman style.
 
Thought that would only count for rounded brackets.
 
12:22 PM
@Rarst If WP gets ported to Ruby I will go back to blogging with pen and paper
@all is there a "best" way to set a post_type for a fake page (that does not exist in database) i.e. just via rewrite rules?
 
@userabuser use an endpoint
 
@toscho I have, such as with add_rewrite_endpoint($ep, EP_PAGES); no dice..
 
@toscho endpoints don't do pagination (as we've recently discovered)
 
yup..
 
@userabuser pre_get_posts if endpoint ->set post_type ?
 
12:28 PM
I tried that based on some answers found on stack.. but let me see again..
 
@Rarst shouldn’t be too hard to implement
 
@toscho maybe for you :)
 
@toscho I got pagination working in this answer: wordpress.stackexchange.com/questions/67732/… ..but just for personal experiments I was looking for best practice ways to give that fake page a post_type to run conditionals etc.
 
you just have to check the request url and adjust the LIMIT? What’s the problem?
 
the order you specify the rewrite rules is what was the issue for permalinks
 
12:33 PM
> ...theme is built for the latest version of WordPress 3.3.1...
 
@Rarst Maybe there's an earlier 3.3.1 version?
@userabuser Not flush on every request?
 
@kaiser just once only
 
 
2 hours later…
2:16 PM
@Rarst Did you ever get satisfactory answer for this...
8
Q: What is appropriate flow for custom data from URL in WP_Query?

RarstI have multiple stage process that integrates complex faceting into WP queries. Problem is - the deeper I get the more fuzzy I become on how it is supposed to work and I could use a guideline rather than being inventive (and digging myself a hole). General stages I have (pseudo-code, but close t...

 
@userabuser nope. Nacin commented some on twitter. I need to trace rest of it and write up answer myself...
 
@Rarst Please do when you get the chance, very interested to see more... this is like a rabbit hole... how deep does she go? (driving me nuts sometimes)
 
2:29 PM
@kaiser still working on that query?
 
@marfarma Not really. I left it as it was and did the rest via PHP.
Realized that this would be just too heavy: Summed up in an easy way:
* Get parent taxon (+count if no children)
* » Get child taxons + count
* » Get posts with title + permalink ( + maybe last update date or publish date)
Would be hard to do with SQL. Too many IF/ELSE/THEN for what I can do in SQL.
 
@kaiser I probably would have done it that way myself. I figured you had an unstated reason for wanting to do it in one query. I think I'll work out the subquery, though, purely for my own satisfaction.
@kaiser Can you confirm the data you were seeing - each post in a sub-taxon was also assigned the parent taxon, resulting in each post being included twice - which was why you added the 'distinct' condition?
 
@marfarma See result: I didn't.
@marfarma And yes, it did order by parent. Sadly also for 0, which is no parent.
 
2:52 PM
@kaiser What would you get back from a call wp_get_post_terms( $post_id, 'your_taxonomy' ) for the post 'Arbeitsrect in der Praxis', 'management' & 'mitarbeiter' or just 'mitarbeiter'?
 
@marfarma In which case?
 
@kaiser In the case of the sample screenshot - the first post in the left column
 
@marfarma In which case = with your query?
Or with what I then did with php/the default?
 
@kaiser I'm trying to determine what data is present in the table, so I just want to know if wp_get_post_terms returns one or two items in the case were the post is assigned to a subcategory.
 
@marfarma If I call get_the_terms( get_the_ID(), 'topics' ) I get all assigned "topics": Parents + Children.
 
3:19 PM
@kaiser that's what I wanted to know. -- I know you've already moved on, but can you try this: gist.github.com/3899883 in a mysql session and tell me if it fixed the 0 parent problem -- just so I can let it rest.
@kaiser just fixed the gist - if you got it already, please compare with current
@kaiser I swear I won't ask again, even if it's still not working
 
@marfarma No problem. Just trying to get something in parallel. Will try now.
@marfarma syntax error
Guess a missing bracket
> 'FROM wp_5_posts LEFT JOIN wp_5_term_relationships ON (wp_5_posts.ID = wp_5_term_'
 
@kaiser you didn't grab the full line -- here's the 'raw' url: raw.github.com/gist/3899883/…
 
@marfarma nono. was the full line - retested and same result.
 
@kaiser OK I'll work it out in my own db - this in not going to let me rest
 
3:46 PM
You should NOT ask any question about Assignment 3 here. Please see me after tmrw's class. — Kevin Wu 19 hours ago
 
@toscho omfg
 
4:08 PM
@kaiser you think we have help vampires problems now? wait till it starts hitting education as subject :)
 
@Rarst What are you trying to tell me with "starts hitting 'education' as subject"? :)
 
@kaiser as above - homework help vampires
 
@Rarst Ah, toschos link :)
 
4:24 PM
@toscho lol!
 
4:49 PM
@marfarma it wasn't me! :D
 
5:22 PM
Should scripts/styles be dequeued and then deregistered, or is simply ONLY deregistering the script/style sufficient enough (If the particualr script/style is not needed)?
I've always just used deregister, and it appears to be fine.
 
5:44 PM
I jinxed it. friend needs to build [WP] site at uni :)
3 pages, lol.
 
5:57 PM
maybe I will make like third WP dev in the city out of her yet :)
 
6:14 PM
Ok Im tearing my hair out..none of my ajax functions work for logged out users even though I'm using wp_ajax_nopriv. What in the heck is wrong with this...
add_action('wp_ajax_fetch-profile-fan-feed', 'fetch_profile_fan_feed');
add_action('wp_ajax_nopriv_fetch-profile-fan-feed', 'fetch_profile_fan_feed');
function fetch_profile_fan_feed() {
	  get_template_part( 'loop', 'fan_feed' );
}
 
comment out second hook
 
@Rarst Ok now it's fetching random parts from my homepage.
 
that made no sense whatsoever
if you don't want logged out user to access ajax action - don't add it to nopriv hook
then rephrase what you started with
 
@kaiser I've got working code up on the answer: wordpress.stackexchange.com/a/69303/4645 -- you can update your function to correspond, for completeness, if you like. Why did we never consider that it's the exact same code if the post_type is post and the taxonomy is category?
 
Don't know how else to say it. My functions arent working for logged out users even though Im using nopriv.
 
6:24 PM
ok, I read that above wrong... sleepy
don't know then
 
@Rarst okie can you edit out the link I left.
 
6:38 PM
The @userabuser made it twice in our weekly newsletter. :)
 
7:27 PM
@toscho makes me feel obsolete... one more of him next election and I can retire from WPSE or something :)
 
Heh, I handled just 50% of all the flags today. :)
Next stop: mod chat cast. Because one of us has to be there …
 
@toscho boring
 
there are sometimes important announcements, and I have two questions today.
 
I feel like I spent year burnt out and locked in the basement and got behind things on WP stuff... oh, wait
 
@toscho Well... I'll be.. we have a newsletter.. I think I have tunnel vision on the questions column didn't notice that in the sidebar
 
7:40 PM
0
Q: Embedded Twitter feed won't render nicely when loaded via Ajax

xsonicIf you paste a Tweet URL to your post, Wordpress will nicely render it. But if I load posts via Ajax, the URL gets replaced by a Blockquote, but not with the nicely rendered one. The class of the Blockquote is twitter-tweet and not, as intended twitter-tweet-rendered with all that extra stuff. ...

this wins Ajax
 
@userabuser I am monitoring it just to see what questions are selected. Much better than the Tweet bot.
 
good idea actually
 
7:53 PM
crap, I lost that tweet from Nacin on query vars and Twitter search is useless of course...
 
@Rarst I think I remember that tweet... from memory, use pre_get_post and $query->set/get - unless I've misunderstood / remembering something completely different :)
 
@StephenHarris no, it was about differences/timing of query_vars and some other crap
 
@Rarst ah... then happy searching... :S
 
@Rarst 'query' is just what came in. 'query_vars' is what 'query' got parsed to. You'll want to set 'query_vars'.
I win google-fu
 
8:01 PM
@Rarst so query->get/set... :). Maybe I'm not getting the complexity of wordpress.stackexchange.com/questions/53629/… but for custom data, I would parse it at pre_get_posts(or maybe parse_query) and then use posts_where filters to alter the (main) query...
 
@StephenHarris that was about work stuff. and it is a little nuts. and by a little I mean a lot.
 
8:52 PM
@Rarst you should really look into TL right now. This is important.
 
9:05 PM
@toscho last topic or your questions? (I was catching up)
 
@Rarst last topc
 
interesting but not very actionable right now
 
9:21 PM
yeah, there is also selected()
 
So nice. I've always manually checked in the past.
 
yo @Rarst
 
here (naturally)
 
@Rarst so i thought that users who were interested in being sponsored would respond to that meta post
but then only you three responded.
 
which was second item on agenda...
 
9:31 PM
ffffff--- okay, let's fix this
 
@Rarst You should make the text description of your functions more legible. I feel like it's just a big jumble of text.
 
@MichaelEcklund as soon as you provide me with parser of core developer minds I will be happy to
because that is not markup... that is brains poured on screen
 
@MichaelEcklund look at the source for the function, that stuff is just in the comment
 
@Aarthi like immediately right now or like some time soon?
 
@Rarst i could do this right now. what do you want/need me to do?
 
9:38 PM
@Aarthi I imagine clarify if SE wants to sponsor at all?.. if no then that's over. if yes then we probably need kick Jane Wells very fast who probably has budget long done, but hopefully not against taking late money :)
 
@Rarst i mean, what kinda money we talkin' bout here? :P
 
@Aarthi Something to be visible at the summit.
 
@Aarthi it's all in the post meta.wordpress.stackexchange.com/questions/1190/… levels go from $500 to $10K+
 
Okay -- I need to talk it over with the team. I'll have a definitive answer for you both @toscho @Rarst by this time tomorrow. Is that ok?
 
don't look at us, we are not even coming :(
sure... also Envato is paying 10K level... if SE pays less I will cry :P
 
9:42 PM
@PolluxKhafra Check every file that loads this or parts of this and take a verrrry(!!!) careful look if you ain't got ! is_admin() anywhere. I was also tearing my hair about this issue, but AJAX is served via admin-ajax.php, which is not available outside admin » conclusion: I was locking myself out.
@marfarma Hey, Thanks for all the hard work. And yes, maybe it's a -head»desk- situation. I'll try when I finished some other stuff.
 
@Rarst hahaha
 
@Rarst @Aarthi From a rep point of view, this list is hilarious! :)
 
@kaiser you mean wpcs attendees with WPSE account? yeah, tad so :)
 
@Rarst Why didn't someone ask me... thinking ... no
 
@kaiser what?
 
9:55 PM
@Rarst If I would make a WPSE people list for them ;)
 
@kaiser I don't follow
 
Just kiddin' around.
 
@MichaelEcklund Just look at ~/wp-admin/user.php... always inspect the one you see in the URl bar
 
@kaiser I don't see a ./wp-admin/user.php
 
i feel like a rep whore now. again.
 
@MichaelEcklund Just dig in core ... you'll find it :)
 
10:21 PM
@toscho I feel like I lost my edge and no one wants my answers :)
vote marathons are not rep-productive
 
Oh, I see. Too many zeros on your last answers.
 
yeah, I will get back to answering better stuff soon... spending 40 votes locks up my brain
 
Honestly, you shouldn’t answer crappy questions. That looks … bad.
 
@toscho the idea is getting them out of unanswered but if no one upvotes that isn't working
I mean those that are not bad enough to close
 
I miss the ability to set a simple close vote.
 
10:25 PM
me too
 
need more sock puppets
 
just don't get yourself impeached, I am not moderating by myself again
 
@Rarst People do upvote them. At least, that's what I'm experiencing when answering old questions. They just pop up on front page and boom upvote.
 
@kaiser I don't feeeel it... wordpress.stackexchange.com/users/847/…
 
@kaiser There are many questions no one is interested in. The answers don’t get upvotes.
Oh, I have almost six pages of zero vote answers.
 
10:30 PM
@toscho me: 11
 
and since accepts suck just as well - not working towards getting us unsung hero badges...
 
Oh @Rarst got 11 pages of 0 vote answers too :D
 
@kaiser That’s because you sometimes post comments as answers.
 
@toscho don't poke him! he'd been doing ton of answers as comments lately
 
@toscho and @Rarst seem to have discussed the kaiser issue for quite some time :)
 
10:36 PM
we don't talk in private, so whatever you see here...
 
@kaiser Well, I had to delete that crap.
 
I feel like if I'm 6 again and standing in between mum and dad ... "Do it like this!" ... "Do it like that!" ... me: "Wtf... make a decision together and tell me later."
 
we are way too chaotic for that
 
@toscho and @Rarst Do the world a favor and let me be your only child. Everything else wouldn't work out well.
@Rarst When you already are on the task of answering old questions: What the heck is this question about? Read it so often, but wasn't able to get behind it.
 
@kaiser not old, I've actually been cycling newest unanswered
 
10:41 PM
Question still in the room...
 
@kaiser basically he wants comments like this chat. no threading but can jump to parent in reply to
 
And what's the problem with this? It's like just going with default.
 
@kaiser default doesn't produce link that will send you to parent
...I think. not much into comments lately, work stuff didn't have
 
Including the form or just an anchor?
@Rarst yea, me too. never have to handle this, so it's more like from the backside of my brain.
 
not sure... I should probably go sleep. third day messing with bank tomorrow, breaking in their new office after previous closed :\
that came out bad... as in "training" not as in "robbing" :)
 
10:45 PM
hehe ...
Last thing: Could you somehow close this question or do something else with it?
 
viewed 1120 times
Too old to bother
 
I just want my moneyz... I've been paid for July+August recently
 
What's the problem? Bank doesn't give you your money?
 
@kaiser they need to sell dollars on my behalf and give me in local curency... which they been messing up for two days
 
@Rarst What? They can't just change it? Or are they fake?
Normally national bank changes everything that's not a coin on current exchange rates just the second you hand it over.
 
10:51 PM
@kaiser they can... but first they had [yet another] branch manager change so I had to re-do paperwork explaining source of funds... then they told me my electronic request was wrong and denied, when it fact it is peachy... then I couldn't get anyont to pick up the damn phone and gave up
I had previous office trained to do this stuff without even having to involve their brains... now I have to train new office all over again
 
Which bank is this?
 
UkrSibBank
and they are one of the better. most banks' staff here won't find their ass with a map.
 
Have you got Raiffeisen Bank in Ukraine?
 
13
Q: Handling Calls to Remove a Moderator

Robert CartainoStack Exchange has some of the best Moderators around — seriously — and that is due in no small part to the communities who scrutinize and vote in our Moderator elections. We have a rather formal process for electing moderators, but up until now the process for removing a moderator h...

bring out the popcorn
@kaiser yes, they bought one of the local ones some years ago
 
@Rarst I know. OMV and Raiffeisen bought nearly everything that was for sale in the east. But: consider switching there. They take notes very serious and you can in any case report to their central in Austria.
If poking with a stick doesn't work: Let others poke them with a baseball bat.
 
11:02 PM
lazy to... I am fine with mine most of the time, just stupid office got closed
 
Something to make your day: 12 upvotes on question and 1 on answer :P
 
no one was able to get Reversal badge yet...
 
There is no way to sort users by accept rate, right?
 
"A number of investigators have suggested that Raiffeisen Zentralbank is involved in laundering money for the Russian mafia."
...
nice bank :)
very customer-friendly...
 
Hehe, http://卐.com/
2
 
11:16 PM
@toscho maybe in data explorer...
 
@Rarst I guess this is what all Austrian, Swiss, Liechtenstein Banks are doing by default :)
@Rarst Background info: It's the farming/farmers (literal) bank.
 

« first day (731 days earlier)      last day (4221 days later) »