« first day (813 days earlier)      last day (4138 days later) » 

3:00 PM
@shiplu.mokadd.im, more on
53
A: How does deleting work? What can cause a post to be deleted, and what does that actually mean?

jjnguyHow can a post be deleted? You can typically delete your own posts at will; for exceptions, see "When can't I delete my own post?" below. To delete a post, just use the "delete" link below it. Moderators can delete any post. Users with reputation >= 10k (more precisely, the “moderator tools” pr...

What to do when a question is fucked up like this one? There are actually two parts of the question and the most voted answer address the easiest one of course
0
Q: Is $() and jQuery() the same thing?

user1721135I am a bit new to jQuery but have done some things with it. however i have never used jQuery() function and am curious what the purpose of it is. Is jQuery("body") the same as $("body") Also, i read the api documentation and there are two functions called data jQuery.data() .data() ...

I know it is not a question though
 
@PeeHaa Sorry for not correct posting format. I thought the code shorttags doen'st work for me..
 
np. just saying.
 
Do you have a solution for my problem? @PeeHaa
 
I don't do WP sorry
 
3:13 PM
@PeeHaa Haha it's ok. Thanks.
Anyone else who understand WordPress?
 
nice reply @NikiC
 
@igorw absolutely agreed ...
 
Up to $14.60 earned from youtube... :-X
 
@Casper No, it's too complicated for us.
 
@ircmaxell In how long?
 
3:25 PM
since I launched it the 3rd week in Nov
 
@ircmaxell than it seems to be good ...
 
@ircmaxell, any idea about the referers?
 
i have got 85$ in godaddy but havent paid yet (~3months)
 
@Alexander Yeah, same as my blog
 
hmm I never check how much I have from youtube
 
3:27 PM
@NullPointer I'm happy with it so far
took me like 9 months of blogging to get to that point (building up traffic levels, etc)
 
oh wow, $451.39 I got me some cash in there
 
@GoogleGuy its really awesome ...
 
@GoogleGuy what kinda youtube vids do you make?
 
I never knew youtube could me that kinda money
 
@ircmaxell, so, all come directly from your blog? Sounds good
 
3:28 PM
what you guys do ... to get money by youtube
 
@Alexander no, not at all
@NullPointer You've seen my series, right?
youtube.com/ircmaxell
 
@igorw Not much really. I think I have all of 12 videos on there. Just some PHP tutorials I started last year and never finished and some other random stuff. I didn't actually turn on youtube monetization until a few months ago.
I didn't even know you could monetize your videos on there.
 
@ircmaxell yup...all of them ,,,,,and always waiting for new ...
 
@Casper yes, I would do that. I use xdebug together with Phpstorm.
 
:-D
 
3:31 PM
If I put adsense on my blog I'd probably be making 10 times that.
I just really hate ads.
 
@GoogleGuy How many pageviews do you get?
 
@GoogleGuy Nobody sees them either so meh ;)
 
@NikiC Not much. Usually between 250K to 300K a month. But it's enough for me.
I average around 10K visitors a week now sheriframadan.com/sitetraffic.html
No
I get a lot of visitors. They just don't usually stick around for very long. Average visitor is about 2.3 page views.
or 3.2 I forget
 
hi all who came online later ;)
 
@hakre yo..ho
 
3:34 PM
that's quite many though
 
hello @hakre
 
@GoogleGuy That's quite a lot actually ;) A lot more than @ircmaxell or I are getting for example ;)
 
@igorw yes, maybe, well, okay: good morning @igorw, @ircmaxell, @NikiC, @GoogleGuy, @PeeHaa, @NullPointer (hey, we've seen earlier!), @webarto and all those I have forgotten.
 
Had I tell you all that in the source code also have the same error as my own code. So they also have never declared there variables. Just not to good code if you ask me! @hakre
 
@hakre that is super super ping ... :P
 
3:36 PM
@NikiC Yup, you get about 6 times my traffic (on average)
 
@GoogleGuy I average about 500 :D
 
@Casper code might not be perfect, but always remember that you might do the one or other error, too. But you are right, some code is hard to work with if it is fragile. Using extract without further checks for example is such a thing that can go wrong easily.
 
@NikiC Really? I didn't think it was much, but when I started this blog about 3 years ago I was getting around 500 pageviews a month. Now Google alone brings me that much in a few hours.
@hakre morning
 
@hakre guten morgen :) (abend)
 
@NullPointer Depending on the volume of the sound cards, this has consumed quite some electrical power.
@webarto Ah, einen angenehmen Abend Herr Student ;)
 
3:38 PM
haii
 
@GoogleGuy after the tail-off from a post, I get about 1000 per day from google and random linkbacks
 
@webarto i have all time 42 ..:P
 
guys do me a help
{
"data": [
{
"name": "Some name",
"id": "158895214747"
},
{
"name": "Some name",
"id": "158895214747"
},
{
"name": "Some name",
"id": "158895214747"
},
{
"name": "Some name",
"id": "158895214747"
}
],
"paging": {
"next": "https://graph.facebook.com/11587878893214/friends?fields=name,id&limit=5000&offset=5000&__after_id=100004922282692"
}
}
 
@hakre Yes ok, but when I see the whole of them in my wordpress site set as indicated, it does everything fine except the repeatable fields section.
 
2 messages moved to recycle bin
 
3:39 PM
8
Q: How to decode a JSON String with several objects in PHP?

ilnur777I know how to decode a JSON string with one object with your help from this example http://stackoverflow.com/questions/2543389/how-to-decode-a-json-string But now I would like to improve decoding JSON string with several objects and I can't understand how to do it. Here is an example: { "inbox...

 
@ircmaxell Yea, if I reddit a post and it's a good one I usually hit around 10-20K fper day or a couple of days which is the spike. After that it settles down for the month, but for some reason Google has been listening me on more and more top searches month after month. When I analyzed my access logs I found a ton of blogs in Russia and India that were linking to me which apparently made Google push my results to the top of the SRPs, which was nice.
 
r/php?
 
ok thnx
:)
 
@GoogleGuy Yeah, I get a ton of traffic from russia
 
Those guys really like their PHP.
 
3:43 PM
ok, I'm off for the day, later
 
I see a definite trend
 
@GoogleGuy its snake ... not chart ... :P
 
@hakre Do you known how to setup an image upload for multiple in WP?
 
stackexchange.com/search?q=solver its really hilarious Google search result on so
 
4:03 PM
Schwerin Castle, Germany
its really amazing ..
 
@NullPointer That's pretty awesome. Why are you showing us that again? ^^
 
@Jimbo again ???... its first time
 
@NullPointer let's build that in Minecraft
 
I've come up with a concept for a really awesome blog post... Now just to find the time to write it along with the other programming with Anthony scripts
and later...
 
@NullPointer Sorry, remove "again"
I think this place is really amazing... images.fanpop.com/images/image_uploads/…
 
4:08 PM
@Jimbo for your knowledge .... :P
 
@Casper Not from top of my head.
 
@hakre It's ok. I will search for it. Thanks!
 
lol @hakre
> greez & thx, sky...
2
 
4:31 PM
 
hmm .. interesting. Got hit by serial down-voter
i wounder, which of my actions caused it
 
4:44 PM
Also flag as spam ^
my dv that is
Ah it's the same thing :)
 
@tereško No point, 1-100 apparently == 1.
 
@MadaraUchiha user will get banned :)
 
@PeeHaa Not after one strike, but let's continue monitoring for a trend.
 
@MadaraUchiha When there are enough downvotes (like OP just got) he will get auto banned
 
@PeeHaa I know
 
5:04 PM
Does anyone use any library for nice pretty collapsible var_dumps() ?
that works with Xdebug's?
 
is it safe to send password via $_GET
is it safe to send password via $_GET
 
Send via $_POST.
 
@Olli must validate at saver side ... same as post with little bit difference
 
@PeeHaa luckily that count is relative to the total votes that you get. Otherwise I would have been banned ages ago, just based on total revenge-downvotes that I get.
 
ok.
 
5:13 PM
2 messages moved from JavaScript
 
why not move all cv ... message to JavaScript room
 
@Abhishek We don't really need your crap. Last time you guys did that the user kept coming back here for a week with the same stupid question
 
@PeeHaa ^_^
 
:)
 
but guys we deal with java , javascript , typical help-vampires , dunning krugers and all :-(
share some love :3
 
5:18 PM
@tereško I haven't had lots of revenge votes lately. Not sure what the reason is
@Abhishek It's not that I don't feel your pain ;)
 
:-)
o/ we all deal with them!
 
I do beg your pardon sir(js room guys ), please accept my humblest apologies as you f*ck off back to where you belong.
 
2
 
^
 
hey guys actually i want to save php code in my database
can anybody tell me what my tables structure should be
 
5:27 PM
@MalikUsman Yeah, don't.
 
One does not simply saves PHP code in a database
 
Cthulhu will have your soul, don't.
 
@MalikUsman What structure does your data have?
Is it an array, or what?
 
1 message moved to recycle bin
Sorry @NullPointer, I had to, my eyes bled too much.
 
@PeeHaa sadly , i work on a project where "lead system architect" is saving not only php code in DB, but also a lot of javascript
 
5:29 PM
yeah my structure right now is voucher and leight is 225
but i did change that into text
 
@tereško Sounds like your life is full of joy :)
 
@MalikUsman Seriously man, DON'T
 
yeah'
 
Whatever it is you're trying to do, whatever it is, there's a better solution.
 
I like the fact he is called lead system architect
Might as well give him a new title: "total crap moron
 
5:30 PM
i count as "junior developer"
 
lol :(
 
@tereško Nothing wrong with being a junior developer
 
@tereško I make this face:
 
:)
 
ok so what you guys sugeest me
me?
 
5:31 PM
Do you have to work with him (as in communicate)? @tereško
 
@MalikUsman Depends, what are you trying to do?
 
yes
 
What is the end purpose?
 
1 message moved to recycle bin
muahah
 
i want to save this into my database
array('Content-Type: application/atom+xml', 'Content-Length: ' . strlen($message_xml), 'Authorization: Bearer "' . $access_token . '"', 'GData-Version: 2', 'X-

GData-Key: key=' . $key);
 
5:32 PM
@MalikUsman No, what's how you're trying to do whatever it is you are trying to do.
 
i will try what i can do there till summer solstice, if i end up with not-so-promising result, i will be getting a different job
 
What are you trying to do?
=(
 
before i was trying to get 'Authorization: Bearer "' . $access_token . '"'
from my database
but its does go trough so
 
@MalikUsman You aren't getting my question.
 
@MadaraUchiha , stop talking to tiny-avatar people
2
 
5:33 PM
now i changed my mind now i'll save whole script in my database and test
@MadaraUchiha yes i am getting
i gave my answer
 
@MalikUsman No, you aren't
The correct answer for example would be "I'm trying to build a house"
You're telling me "I'm trying to use the hammer in order to pin a nail to the wall"
 
lol :D
 
One does not simply use a hammer to pin a nail to the wa.. oh wait
 
ok sorry how i am trying to save this php script in my datbase that what your question is @MadaraUchiha
 
5:35 PM
@MalikUsman I'm asking what you're trying to achieve.
 
i am trying to save youtube api header in my database and then i'll get it from database
 
You want to authenticate a user? Make something happen? Make the computer make coffee? What are you trying to do?
 
using php
i am trying to post like on youtube video using access_token
 
@MalikUsman Why are you trying to do that?
 
just
 
5:37 PM
25 secs ago, by Malik Usman
i am trying to post like on youtube video using access_token
That ^
 
because i developing something
where i need all these stuff
anyway
 
That's the answer you should have given in the first place
That's what you are trying to do
 
lol :D sorry boss but what i asked you still did not give me answer
 
Now that you know what you're trying to do, think about how to achieve that.
You need the access_token, why not save the access_token?
 
Seems like being part of this chat is a bit too complicated. Anyways, it is a lot more fun than the JS one or the empty Python one :D
 
5:39 PM
I assume that's a string of some sort that needs to be provided to the API (I actually never used YouTube API)
 
i did save
but that not working
 
@MalikUsman Okay, why did it not work?
 
i did post question here aswell
it was not getting access_token from database
 
@MalikUsman Here on chat? Or on the main site?
 
when i use like this access_token=acccess_token here
then its working
but when i do something like this
access_token=$tokens
 
5:41 PM
May I ask which of you are PHP commiters?
 
this one was not working
 
@MalikUsman The logical step would be to figure out what's in $tokens to see if it's what you were expecting.
 
i did echo the tokens to make sure i am getting data from database or not
and its was working
i got the access token
 
@MalikUsman Do you have some code to show us?
 
but when i link that to youtube api it was not working
0
Q: Youtube api getting data from MySQL database is not working

Humma ShahI have saved my account Youtube access_token in my database and now i want to get that token from my database and post it using Curl I am using AJAX to post Youtube api, in my youtubeeapi.php I have put code something like this but its not working, This one is working = 'Authorization: Bearer ...

 
5:43 PM
Also "Not Working" how?
Do you get an error message?
If you do, what error message?
If you don't, do you have error reporting enabled?
 
no i am not getting any error
but they access_token is not passing to youtube api
i dont whats wrong with youtube api
 
Also, Please, don't use mysql_* functions in new code. They are no longer maintained and are officially deprecated. See the red box? Learn about prepared statements instead, and use PDO or MySQLi - this article will help you decide which. If you choose PDO, here is a good tutorial.
 
have a look my script so you will get to know @D
 
@MalikUsman I find it hard to believe that YouTube API would return nothing, even if the token is wrong
 
kk boss let me test to save all php into my databse
then see its working or not
because i am working on it since 3 weeks
 
5:48 PM
@MalikUsman Working or not is not the issue
It's horrible to save PHP code to database
 
yeah but can you help me what structure i need to save php
sorry but i want to test it please :D
 
Another tiny-avatar to the list...
 
@MustafaMagdi lol you are not tell me what i asked boss
lol
 
@MalikUsman He told you that you should absolutely not store PHP in the DB, because it's a terrible idea. That's why he won't tell you how to do it.
 
If I would have had twitter that would have been retweeted now :)
 
5:53 PM
ok
 
night guys
 
night @NullPointer
 
@NikiC Heh, that's actually posted by an Israeli twitter, he says "Things which make certain programmers flip in their grave"
 
good [time of day]
 
good [time of day] to you too @Lusitanian
 
Anonymous
6:03 PM
why is bad idea to store php in database
 
@NikiC lol
Is that supposed to be a quotation?
 
6:29 PM
Hello
i am trying to install an open source on my test site which is in pHp
there is index.php exists but when i try to run that file
its shows
page not found error
any reason or what i am missing ?
 
The page in the correct location
 
yes
i check twice via ftp
 
@rahularyansharma Missing proper base url
or some htaccess trickery from folders above
 
You are requesting install, but the folders is named installation
 
@rahularyansharma not sure if this is contents of www or /xirak/public/
 
6:34 PM
that is separate folder
In your browser navigate to the "/public/install" URL. For example, if you uploaded the ProjectPier installation files to a subdirectory named “projectpier” in your web hosting home directory, then navigate to “domain.com/projectpier/public/install”.
this is line i get from manual to install
 
@Lusitanian (a very) [good] [time of day] to [you], (from [me],) too ;)
 
neuron.co.in/ruith this is another which is working
 
^ should we leave a comment that with gmail users can change their addresses by adding punctuation at free will? ^^
@ypercube SIR Please can u enlightten me on this please sir.. — Mr_J 23 hours ago
 
@dev-null-dweller that is part of www
 
6:42 PM
SIR is so 2012, I hope we see more Majestic plural in 2013.
 
I believe that the Goddess of the JayQuary is generally misunderstood and will call for revenge some day. — hakre 4 mins ago
loool
 
Suggesting Vanilla JS in a Jquery tagged question is an insult ;)
 
user image
5
 
Oha:
> Message: Hey Hakre,
> Sorry to be contactinh you by email but I'm in trouble with the REGex you helped me with on Stack Overflow, and I don't think it's good to inundate that post with comments.
Now SO users are asking for mail-support.
 
@hakre that t-shirt looks familiar
 
@igorw Yes I stole it from a website I found your face on as well!
 
@hakre You think we can start some business from it? :)
 
@PeeHaa Well, maybe some Paypal link that automagically transfers money will be a good thing.
In a fashion that the payment can not be reversed.
 
7:05 PM
NO REFUNDS!
YMMV!
 
no refunds. your first investment is only to signal your interest in comparison with the other interests that may or may not exist. you will then get your first invoice to be prepaid. afterwards you will get your email answered.
 
/me likes
Jo @bababababa
 
^ he greeted for me, too, so it got longer
 
:D
Shouldn't we call 911 or something and send somebody to @rdlowrey's home btw?
 
^ I mean for some questions I wonder if those who post them even take a look afterwards.
@PeeHaa What happened?
 
7:11 PM
Just look at him at the end of the avatar list.
 
> Can anyone solve this and share some code for inspiration?
For inspiration: Yes, affirmative ;)
 
:)
 
This is getting somehow funny.
 
7:17 PM
hey hakre whats up
 
Oeh. Only need 50 rep maor for rep cap. Better drink my own piss
> You've reached the maximum of 17 Deletion votes per day; come back in 4 hours
It's urgent!!!!!!!!!!!!111111111111111111
@DaveRandom How come the above delv request is still cv?
hmmm it went away after pingng you :P
 
7:35 PM
@PeeHaa I think that alone was enough to auto-ban him :o
 
:)
Some people are just gifted
 
@PeeHaa I encountered that too
It takes it time to ping the server again and realize it's closed already.
 
@MadaraUchiha I suspect (kinda wild guess) is that the question is deleted before it checks it?
 
@PeeHaa Gifted? Hardly. Ignorant? Sure.
 
Was your request also deleted?
 
7:37 PM
@PeeHaa No
@PeeHaa But if it's deleted, shouldn't you detect the 404?
 
Don't look at me. /blame @DaveRandom. That's what I always do :)
 
@hakre Is that you?!@
 
@MadaraUchiha No my dear friend. That is somebody else: yuiblog.com/crockford
 
@MadaraUchiha how is it that you have a silver badge in but do not recognize that guy ?
 
@tereško Because I'm good at JavaScript but don't follow much blogs/articles on the subject?
 

« first day (813 days earlier)      last day (4138 days later) »