« first day (2581 days earlier)      last day (2367 days later) » 

9:00 AM
@Tomm no the HTML
just the script output, i..e view source
 
Ohh where can i find that
 
@JoeWatkins Any particular reason why?
 
right click on the page -> view source
 
it is a very ugly long thing
is that it
 
probably
 
9:01 AM
@LeviMorrison was asked to fix a bug
 
Ah. Fun.
 
possible
error: ‘UChar’ was not declared in this scope
that makes no sense
 
9:04 AM
@DaveRandom i found it
i had a error
it shows slider values now
 
thanks, I may (probably will) forget, can you ping me when there's some action please
 
@DaveRandom it is weird though we call the slider value as first value but shows as last value
 
@JoeWatkins Just subscribe to the issue. ;-)
 
user4328677
I cant find the bug
 
email is not a useful form of communication anymore, there's so much of it ...
 
user4328677
9:06 AM
I'm getting:
`Fatal error: Uncaught Error: Call to a member function bind_param() on boolean in /home/user/code/mtgheirloom/web/search.php:64 Stack trace: #0 /home/user/code/mtgheirloom/web/index.php(41): include() #1 {main} thrown in /home/user/code/mtgheirloom/web/search.php on line 64`
 
user4328677
Only happens when selecting multiple options of the checkbox
 
user4328677
maybe has to do with the OR
 
$boolean = $call->thatFailedAndReturnedFalse();

$boolean->bind_param(...);
you're doing that ...
check return values
 
Anonymous
9:08 AM
@Gordon unbelievable
 
Anonymous
syntactic sugar no more.
 
Anonymous
syntactic salt would be more fitting
 
don't star stupid shit
@kelunik I'll probably see the gh notification, maybe ... a ping would be nice whatever ;)
 
@JoeWatkins I can only ping you if I don't forget. :P
 
so ... we need a third person ...
wait ... we need all the people on earth ... and other possible earths ...
 
9:11 AM
@JoeWatkins Try adding curl -s -o archive.tar.bz2 https://s3.amazonaws.com/travis-php-archives/binaries/ubuntu/14.04/x86_64/php-7.‌​0snapshot.tar.bz2 && tar xjf archive.tar.bz2 --directory / to your build in the meantime.
 
was that the last build that worked ?
isn't that the same as the one it's running ?
 
I'm not sure. It's been uploaded 16 hours ago, can't see the https://s3.amazonaws.com/travis-php-archives/binaries/ubuntu/14.04/x86_64/php-n‌​ightly.tar.bz2 being uploaded somewhere currently.
 
@Tomm how do you mean sorry?
 
I guess a 7.0 snapshot would be .... 7.0 anyway ... I think I'll just wait for action ...
 
ohayou v2 o/
 
9:17 AM
I actually have vague memories of seeing intl breaking the build before
 
@DaveRandom did i say sorry ?
 
Anonymous
morignts
 
but I might just be remembering what happened 15 minutes ago, in my normal cloudy way ...
 
Anonymous
@Tomm **how do you mean, sorry
 
I think I am or 1 retarted or 2 have a huge ass language barrier
Im sorry for not understanding you guys
 
9:18 AM
no he's speaking in tongues ...
he's asking you to explain yourself further, and apologizing for needing further explanation ...
 
Anonymous
@Tomm I think it's more like #1
 
Anonymous
Because he's a manc and therefore rightly assumes it's his fault
 
"sorry, what do you mean ?"
 
mornin
 
No its my fault not daves
 
9:19 AM
o/
 
i kept tagging him so he wouldnt continiue since i found the mistake
 
Anonymous
@JoeWatkins I mean, he's a manc and therefore rightly assumed it's his fault.
 
@DaveRandom I demand you return and clean up the mess you made ...
 
I am confused
@DaveRandom helped me good dont take it out on him
 
9:22 AM
!!blame @DaveRandom
 
user4328677
Do I have to use a prepared statement if I replace every non alphabetical from the input?
 
yes
 
3 messages moved to Trash
 
9:23 AM
that's the most out of context thing I have ever seen @Ekin
 
3 messages moved to Trash
 
Anonymous
@samayo stop.
 
Anonymous
@JoeWatkins why are you removing them?
 
I'm not
 
Anonymous
@DaveRandom ?
 
9:24 AM
and if I were, it would be because you're annoying me
 
Anonymous
oh I forgot he has me muted. Someone tell him to stop.
 
it's Jay ... why would you mute a room owner ?
 
@Tomm missing comma, what I meant is "what do you mean by shows as the last value"?
@JoeWatkins a better question is why you wouldn't mute Jay
 
@JoeWatkins indeed
 
room owner or no, he's still Jay
 
9:25 AM
whatever, he wouldn't have been wondering what was going on with his messages if he hadn't muted one of the only people that can do anything to his messages ...
 
that missing apostophe pains me somewhat
 
there was a time when it was easier to find someone who is the room owner than who isn't .. so being an owner has nothing to do with anything
 
@DaveRandom this is the print_r output [0] => Array ( [9 ] => Array ( [2017-11-03] => 7 in the order kaart ( 9 ) - date ( 2017-11-03 ) - slider value ( 7 ) whilst our command line is 'slider value' kaart date
 
it hurts my eyes when you paste preformatted text without formatting #justsayin
 
Joe how do i format it in chat ?
 
9:27 AM
paste on it's own in message and CTRL+K before send
 
ight il do that next time thanks for the heads up
 
Anonymous
I was wandering how Jay is. Yeah I muted that dude some time ago for being an ass ... why he is a room owner is beyond me.
 
Anonymous
I blame peehaa
 
@samayo it was me ...
you can question my decisions if you like, but it's pointless, I've never made a bad one in the 33 years I've been alive ...
 
hehe.. or just complain to ircmaxell :p
 
Anonymous
9:30 AM
chat.stackoverflow.com/transcript/11?m=38354686#38354686 He ignored me because I facepalmed him blaming PHP for his mistake.
 
@JoeWatkins 33? so when you did you become undead?
 
Anonymous
You are a php developer, your sins are beyond dispute
 
Anonymous
Anyway, back to work
 
@Gordon I'm pretty sure I'm 33
Four years ago to the day, #phpdbg was born ... where's our birthday cake ? #php
 
@JoeWatkins interesting. I thought you were much older.
 
Wes
9:32 AM
@JoeWatkins i need a new armchair, which fabric do you prefer? i.imgur.com/J3KoUko.jpg i.imgur.com/YI7NxxJ.jpg i.imgur.com/LDdwqBc.jpg or solid color?
 
Anonymous
ew, none of them
 
Anonymous
what are you, 60?
 
@Ekin wait wait, this is now the most out of context thing I have ever seen ...
 
Wes
shut up, you can't even grow a beard :B
 
Anonymous
@Gordon he is married and has children and php ...
 
9:34 AM
@DaveRandom the first value in name="data[]" '$row['Beoordelingnumeriek'] ( is duplicate since it is also the value of the row ) so i deleted it cause it only adds up to fill in row number which we do not need now i have 3 values in there the 3 values we needed
 
@JayIsTooCommon oh.. I figured out who was "Kaori" from that one (:
 
Wes
@Gordon i thought you were much younger.
 
no no, @Gordon is super old
 
lol
fabric for armchair
 
Anonymous
!!wotd
 
9:37 AM
earthshine Astronomy. the faint illumination of the part of the moon not illuminated by sunlight, as during a crescent phase, caused by the reflection of light from the earth.
 
@Wes yeah, that's because I surround myself with you youngsters. It keeps me young at heart…
 
geez.. add up some 30-40 years and none of this old/young talk will matter
 
And he watches animes... So, always young :B
 
Wes
:B
 
How old are you guys if i may ask
 
Anonymous
9:37 AM
they're all like 50 - 60
 
Anonymous
I'm 21
 
@SaitamaSama "2D never betrays" and stuff ?
 
lies, he's 12
 
nah, he's 12
 
0x18
 
Anonymous
9:38 AM
says the 15 year old anime basher
 
Why did i even expect a straight answer lol
 
Wes
@Ekin nerd
 
Anonymous
@Ekin nerd
 
:P
 
Wes
:B
 
9:38 AM
@Ekin nerd
@AlmaDo yeah... :D
 
Anonymous
@Tomm I'm old enough to drive, drink, vote but not run for president
 
This is so this isnt the freaking riddle forum
 
I'm older than that, but not as old as @Gordon ... nothing is ...
 
boi
 
trololo
 
9:40 AM
I'm older than @Jay but younger than... @Wes
 
@samayo do they have presidents where you are from originally?
@Ekin nerd
 
Anonymous
lol good one
 
Il probs be the youngest one here younger then gordon
 
this may be the sort of cake phpdbg needs
 
lol
 
Wes
9:43 AM
9 episodes only stranger things WHAAAAAAT?
 
Anonymous
no spoilers please.
 
Anonymous
You were an ass over GoT.
 
Wes
okay, i know
 
if you spoil il get jay to mute u
 
Wes
i didn't spoil anything.
 
Anonymous
9:43 AM
but you wanted to. I could sense it
 
Wes
yes but only to you, i'm not an ass
 
TCP Telepathy
 
@DaveRandom Did you send the stickers yet? :D
 
Also, I built some in C++ github.com/SaitamaSama/Ayozawa \o/
 
@kelunik no, related:
Nov 4 at 13:33, by DaveRandom
I am generally a terrible person
 
Anonymous
9:45 AM
> generally
 
Let's see whether the Travis t-shirt or the stickers arrive first. :P
 
@JoeWatkins I think @Danack is
 
@Tomm I'm sorry I can't help you further right now because I have to do real work, I will be around this evening if you cannot solve it though
 
@DaveRandom "real work"
 
yeh, loads of floating point arithmetic
 
9:47 AM
@Gordon @Danack is just a vehicle for his beard, it is only the age of the beard that truly matters ...
 
@DaveRandom you already helped me alot. I am trying to find out how to acces my array now and save this in variables
@DaveRandom I really appreciate the time and effort you put into helping me!
 
:-)
 
Anonymous
I miss Pieter.
 
Anonymous
where is Pieter.
 
Anonymous
@PeeHaa reveal yourself
 
9:48 AM
!!blame @Ekin
 
:-P
 
witchcraft
 
@JayIsTooCommon I think @PeeHaa is visiting @Jimbo's mom right now
don't disturb them
 
ohh and @DaveRandom i deleted the extra ' ' value=" . $row['Beoordelingnumeriek'] . " around this
 
9:50 AM
ftr @JoeWatkins I looked into actually having a phpdbg cake delivered to your house but I couldn't find anywhere that delivers to IoW for a reasonable price. I realise this doesn't count for much but I did think about it :-P
 
it made it so the values wouldnt show up and sended back null
 
@JayIsTooCommon I just read "I piss Pieter.", somehow …
 
@Tomm that's weird but OK
 
I'm so jealous that he's probably sleeping right now :P In fact, I'm jealous of everyone who is sleeping now
 
Anonymous
@PeeHaa wake up
 
Anonymous
9:51 AM
@kelunik standard
 
@DaveRandom aw ... stupid island ...
 
when you guys are coding something and it works do you guys ever think twice and sit there like that is pretty damn cool
 
I don't tend to be that surprised when code works ...
 
Anonymous
the novelty wears off after the first x times
 
Will phpdbg print asts?
 
9:53 AM
5 messages moved to Trash
 
@LeviMorrison not currently ... it could ...
someone should add it ... you, possibly ...
 
We have export functions; I assume they are used for debugging somewhere..?
 
the ast exporter is only used for assert
but it exports code that's something like the original, not the ast ...
I thought you meant a disassembly of the ast ...
 
@JoeWatkins Anything that would help visually see an AST ^_^
But yeah, a disassembly would be great.
 
yes ... maybe it could be part of a new feature set targeting the compiler in general ... because we don't do that right now ... you can't debug compiler ...
 
10:00 AM
guys
 
@JoeWatkins Which is horrible. How have we gone so long without better tooling?
 
you would want it to be a separate thing, because you wouldn't ordinarily want to hook into compile phase (because slowdown) ...
@LeviMorrison well it's not a reasonable thing to talk about pre-ng
 
if i post my form and get data back it adds a space behind my first value any reason for this or do i possibly have a coding mistake somewhere
"84 ":{"2017-10-28":"4"}
see 84 "
 
Wish I had more time to work on this stuff. Would make the tools before I make the things I need >.<
 
didn't trim form value probably, hard to guess and be right ...
@LeviMorrison yeah, me too ... maybe this isn't so much work, maybe I'll look at squeezing it in somewhere ...
how it works is I do it, and then bob comes along and makes it good, so I don't even need to do that much really ...
 
10:03 AM
@JoeWatkins I was seriously not implying someone else should do it. I know you are busy too ^_^
 
I am ... but ... I dunno if it's in my head, but when I'm not active for a while, I kinda feel pressure building to do something ...
 
how do I only get the direct children of an element in domdocument? (when the children also might have children themselves with the same name)
 
Wes
is there a way to get the next "autoincrement" integer index for an array?
pretty annoying that $arr1 === $arr2 and $arr1[] = 1; $arr2[] = 1; might produce different results
 
o/
 
@JayIsTooCommon yo
 
10:12 AM
New front-ender enters our building.
 
I can't seem to do a breakpoint on a line with ZEND_ASSERT?
 
@Fabor you should buy the t-shirt cryptoshirt.io/products/…
 
How do I know what ZEND_AST* type matches up with a ->kind? Do we have a reverse lookup for that..?
Like, when debugging 64 is not helpful.
 
Anonymous
@PeeHaa heyyyy
 
@JayIsTooCommon Yo bro
 
10:24 AM
@JayIsTooCommon yaaaaaaa!
 
Progress! I've moved from assert failing to a fatal error!
 
\o/
 
10:38 AM
@LeviMorrison I think not, I'd be looking at nikita's ast extension, I think that works most extensively with it ...
 
38 mins ago, by Levi Morrison
@JoeWatkins Which is horrible. How have we gone so long without better tooling?
To be clear Nikita's AST work is great but why should we have to use non-core stuff for things like this?
 
I am extremely new to multidimensional arrays @DaveRandom helped me get to here, but I cant seem to get any further. if i do print_r($_POST) i get the data i need in a multidimensional array but how do i acces that data and use it to send it to sql server management studio
 
if you're looking for a reason not to put stuff in core, the best one I can give is that the release cycle of php doesn't fit with extensions ...
 
What does $_POST looks like?
 
@Tomm echo $_POST["first-level"]["second-level"]["third-level"]["and-so-on"]
 
morning
 
foreach ($data as $personId => $carts) {
    foreach ($carts as $cartId => $dates) {
        foreach ($dates as $date => $value) {
             // run SQL update statement using $personId/$cartId/$date as key and $value as value
        }
    }
}
@Tomm ^
 
If you have time dave or someone else would you mind explaining that code i do not like just pasting something it that works without me understanding it
i dont learn from that
 
@DaveRandom mother of god..
 
It's a composite primary key
@Tomm It's iterating over each layer of the array, extracting the values as it goes
 
10:48 AM
and then $data $carts $dates are my 3 layers of my array
 
yes, those are the inner arrays
 
how would i make those variables
 
they are already there
ugh, I wish viper7's codepad was still a thing
 
Uhmmmm how are there already variables that i cant see
 
it was really nice having a thing where you could do single-page form submissions
@Tomm it's a multi-dimensional array, every foreach is just iterating one dimension
 
10:50 AM
yeh but the $data is for example a variable
i suppose i have to create that variable
it doesnt have any value right
 
@JoeWatkins I'm compiling a new pattern matching thing; need some help if you have a moment. For the code $result = match (1) { int => "int" }; I'll need to do a bunch of jumping like switch does, but for the moment I just want the result of the match(...) { ... } to just be the stuff between the parens.
void zend_compile_match(znode *result, zend_ast *ast) /* {{{ */
{
  zend_ast *match_subject = ast->child[0];
  znode match_subject_node;
  zend_compile_expr(&match_subject_node, match_subject);
}
What's the correct function to hook match_subject_node up to result?
 
hello people ☺
 
posted on November 09, 2017

New Cyanide and Happiness Comic

2
 
I am quite fucking confused
 
@DaveRandom what are you missing on 3v4l?
 
10:53 AM
@Feeds that's a bit depressing... :|
 
@JoeWatkins Ah, I probably pass in result instead of making a stack variable.
Yep! Sorry for the noise.
 
I only just got to "int" };
 
anyone up ?
need some help
 
@Sjon HTML rendering (I think I might have mentioned this before). With viper7, the output was rendered as HTML in an iframe, which meant you could put a form in the output and submit it back to the same script, so you could could do demos of "this is how this form can be processed". I imagine it's massive security issue though, and it's probably open to "free-hosting" abuse so I fully understand why you might not want to allow that.
@Tomm $data is for you probably $_POST['data']
 
Yeh but dave shits fucked up
il show you
 
11:03 AM
Dave's shits always fucks things up
 
this is what you showed me
<input type='range' name='data[" . $row['Beoordelingnumeriek'] . "][" . $row['Kaart'] . "][" . $row['Werkdatum']->format('Y-m-d') . "]' value=" . $row['Beoordelingnumeriek'] . "
 
any nice atom themes people use?
 
but the first one $row['Beoordelingnumeriek']
returns 0 1 2 3 4 5
the ammount of rows
it should return the value of the slider
but the value=" $row['beoordelingnumeriek'] does work
and also returns looking at the print r
 [0] => Array ( [13 ] => Array ( [2017-11-03] => 5
see the 0 should be 5 like on the end of the print r
Look if its possible to leave $row['beoordelingnumeriek'] out of the array and use the value of value=" . $row['Beoordelingnumeriek'] . " then we can do that
but other wise i dont see how
cause it shows up in the print_r in the same row just not in the array
[0] => Array ( [13 ] => Array ( [2017-11-03] => 4
If it would be possible it would be array [13] array [date] 4
 
11:18 AM
mornin
 
o/
 
I just adjusted Mathias Verraes Test Framework in a Tweet to 280 chars Tweet gist.github.com/mathiasverraes/9046427#gistcomment-2252932
Now it points every file and line failing, has some ANSI colors and short summary on script shutdown and all fits in 280 chars
 
morning
 
o/
 
@DaveRandom ah, yeah; I remember you mentioned that. Been thinking about setting up a separate domain to do that - but not done yet
 
11:35 AM
@brzuchal and now we know why extending twitter to 280 chars was a bad idea
 
When you're selecting & iterating through PDO rows, does it pull everything into memory or does it pull the row as you fetch it?
I always thought it just pulled everything down since you've gotta keep all the records somewhere.
 
@Gordon yeah, but also a nice challenge to acquire
 
Ah got it. Let's see if this works.
!!docs mysqlinfo.concepts.buffering
Neh, doesn't seem to like that (What I was going for)
 
Anonymous
11:51 AM
@SaitamaSama go with vscode
 
nah, atom is <3
 
Anonymous
at least try vscode I have tried both for me vscode is the clear winner
 
I've tried vscode quite a lot of times
 
@Sjon it wouldn't need the complexity of running against every possible version, either just one version (probably current-stable.latest) or allowing minor version selection (i.e. major.minor.latest and master)
 
and I find them both kinda the same, but the amount of customizations you can put into atom makes it a winner for me
 

« first day (2581 days earlier)      last day (2367 days later) »