« first day (975 days earlier)      last day (3964 days later) » 

10:00 PM
Can you provide exact structure of your tables and specs about what data you need to extract from them?
structure of tables related to this query i mean
 
@LeviMorrison That reminds me. Did I already sent you the credentials for feedrinse?
 
@PeeHaa埽 No -- what's this?
 
@LeviMorrison It is where the (filtered) planet php feed is coming from
 
WTF, I get the same address 4 out of 5 runs, but now that I'm setting address-based breakpoints, it decides to use different addresses... 4 of them...
 
10:04 PM
@LeviMorrison Is it levim@p.net?
 
@PeeHaa埽 indeed
 
g'night chaps :)
 
night @salathe
 
@Ivan0x32 it's pretty intense and it's not that I don't want to provide it but my issue is not that I can't get the data I want to extract out, it's that in the result set there is no representation about the fieldname alias I gave in the query. That would be very useful. I don't know if that's possible. My pain at the moment is that I have like 9 left join.
 
10:16 PM
I found the issue
to fix this, is going to be...
 
@PeeHaa埽 Super secure passwords op
25 chars da best
 
So destructing a hash table can trigger a GC collection: lxr.php.net/xref/PHP_5_5/Zend/zend_gc.c#130 (line 166)
 
@LeviMorrison :D
 
which under the right circumstances, the hash table will still be freeing buckets when the GC runs its collection cycles
 
Oh yuck.
 
10:20 PM
but the hash table is still in the GC root buffer, since that's not collected until later
so I think it may need a global GC lockout to prevent cycles from being collected until after the hash table is fully destroyed
 
@Ivan0x32 okay, i got it :) thanks for your time
 
That's a really nasty situation.
Does this affect a real-world program of yours @ircmaxell or are you just being a nice OSS guy?
 
I need some help. I'm trying to access a value inside an array from a different value in the same array, but $this is undefined. How do I do this?
 
@DJDavid98 What does $this have anything to do with arrays?
 
10:25 PM
@DJDavid98 You can't traverse an array from a value in the array.
 
$array = array(
    "val1" => "yay",
    "val2" => $this["val1"]." is available"
);
This is what I'm trying.
 
Bingo!!!
I got a fix, I think
 
@DJDavid98 Let's take one step back. What is it you are trying to do?
 
Basically this thing is creating data that will be printed to json
 
@DJDavid98 Oh... makes sense now.
 
10:27 PM
$response = array(
array(
"uploaded_by" => "djdavid98",
"audio" => array(
"mp3" => $this["uploaded_by"]."/Pon-3jay%20Longr.mp3",
//"ogg" => "uploads/songs/djdavid98/Pon-3jay%20Longr.ogg",
),
"title" => "Pon-3jay LongR",
"artist" => "DJDavid98",
"cover" => $this["uploaded_by"]."djdavid98.png",
)
);
 
@DJDavid98 Why can't you just use "djdavid98"?
 
It's dynamic data that is pulled from the database
 
@DJDavid98 You cannot access that value while defining the array. You cannot ever access the value by using this in a simlpe array context
 
So I have to first define the array and then insert these values?
 
But it shouldn't matter anyways... just retype the name, or if you're gathering it from a variable, reference the variable.
 
10:29 PM
@DJDavid98 yes
But basically what @Nile just said
 
Okay, thank you.
 
@PeeHaa埽 thx again for this morning, I finally got it :)
 
Glad you got it resolved :)
 
@NikiC: notice a problem on this line ;-) lxr.php.net/xref/PHP_5_5/ext/pcre/php_pcre.c#583 ?
/me is off to home
later
 
10:41 PM
yesterday i was playing with scandir, just for fun and i did scandir('/') on my localserver (easyphp) on windows. It displays my c: content. I tried the same on a shared hosting server and it works too. wtf?
 
what do you mean "it works too."?
 
what do you mean by "shared hosting"?
 
groan. Github didn't track my commits from sunday
160 days streak interrupted :(
 
@YotamOmer When you see a warning everything is not working fine ;)
 
10:48 PM
I'm kidding.. it's funny
found it online somewhere
 
@Nile i mean it show all the folder at the disk root
@Ocramius shared cheap hosting package
 
@Happyninja ah, those things still exist? :O
 
However warnings do not interrupt runtime so you can get a warning and still the desired result..
 
@Ocramius yea 99 uptime not much but you got what you pay for
 
11:06 PM
and the funny thing is it doesn't matter if other windows user have password, i still can list their files and folders
 
@Happyninja that's kinda normal O_o
 
@Ocramius you think?
 
well, on windows, yes
 
and on linux?
 
there's flags to protect dirs there, exactly like on linux
 
11:10 PM
i was under the impression file permissions are attached to the user and that is the reason why you put a password on an account; so others users on a same machine can't get access to your file without your permission
 
http://stackoverflow.com/questions/17153343/composer-not-intalling-new-libraries
 
@Ocramius in windows 95 yea but windows 7?
 
@Happyninja it didn't really change...
 
@Ocramius lol
another impression i had was scandir wasn't suppose to be able to go under the directory where php is installed.
 
11:39 PM
@Happyninja sort-of
file permissions are tied to a user
but the password isn't the only way into a user account
 
nn
 
@ircmaxell yea, file permission can be bypassed. but all of this happen from within a machine. what i don't understand is why php ignore windows permissions
 
11:58 PM
@ircmaxell yea, you are right, i add specifically deny myself any access to the file and try to open in from php and i can't.
 

« first day (975 days earlier)      last day (3964 days later) »