« first day (1415 days earlier)      last day (3524 days later) » 

12:00 AM
I also sometimes waste hours on such hidden things :-/
 
Yeah, really sucks.
It also sucks that the codebase isn't warning free.
We have some decently large codebases we work with and they are warning free. It's not unattainable.
 
@bwoebi kay :)
 
@LeviMorrison yup. Just removing warnings is a boring work nobody likes to do ;-)
 
@LeviMorrison I have that on my todo list
Surprisingly, even the configure helper scripts have warnings lol
I started with warnings removal a few weeks ago, but ereg had a lot of them .. so i decided to kill it first before continuing >D
Many warnings aren't very sexy though .. typically those unsigned <-> signed issues
 
12:16 AM
as said, boring.
 
yup =(
bbiab, family time!
 
how do you run tests for a single phpt file?
 
@FlorianMargaine pass the path to the test as argument to the runner
it also allows passing in multiple arguments
 
"the runner"?
 
12:31 AM
that's my issue, I don't know what's the runner.
 
@CSᵠ :P
 
@PeeHaa on some actual word !
been trying for so long
finally found one occurence
unattainable !!!
damn!!!!!!!!!
 
nope, nope, nope and... nope !
 
;)
 
12:35 AM
37% + 22% + 14% (but Fabien has 15%) +9% (but Fabien has 15%)
@PeeHaa DAMN COCK <--- you have to work more on those
 
Apparently I don't like cock as much as @Fabien does
TIL :D
 
@PeeHaa good thing you're on top of Cunt Fuck (/roflmao
 
@LeviMorrison decodingweb.com/room11.php?word=php and @FlorianMargaine
Nice and on topic :)
 
& jack & joe & halfer recently
 
I'll stop pinging people now :P
 
@Ja͢ck And after that we can turn on -pedantic.
 
remove
 
Ow damnit
Doesn't do the word boudary thing, but just a contains thing :(
 
12:40 AM
@PeeHaa I'm like the 3rd php contributor :P
 
@PeeHaa i forgot how i wrote that regex? (maybe it does, maybe it doesn't)
...
 
:)
@CSᵠ Is the data scraped once or does it stay up2date?
 
@PeeHaa it's almost live
 
@CSᵠ I literally just did that 5 seconds ago :)
@CSᵠ Is all data stored in a local database?
 
12:44 AM
it's different now :))) drunk minds think alike?
@PeeHaa noDB
@PeeHaa it's a recent evaluation only, see how it changes as i ping you more...
 
aha
 
this could help @crypticツ with the recap A LOT
:P
 
:D
 
@PeeHaa I say php-src and php core a lot, is my guess.
 
@LeviMorrison php yes, php-src impossible to find out :)
 
12:49 AM
@LeviMorrison you talk/discuss about, it must be spread in your words
@PeeHaa not a bug, it's a feature... you want to be in there? $5k easy :))))
everybody in there already paid the fee
 
:P
 
nvm, joking... it's only $1k
 
1:18 AM
They're probably Jews, they can afford it.
Wait, that's not racism.
 
perdir and system inis have different handling…
 
Dafuq did I just watch.
Good night folks.
 
1:55 AM
 
2:21 AM
@PeeHaa you're the biggest help vampire in Room 11, and also an alcoholic. The two may be related.
 
heheheheh seems like I do what I do best :P
 
 
3 hours later…
5:24 AM
@Ja͢ck nice, ereg, burn! BURN!
 
6:02 AM
hehe
 
6:53 AM
@Danack Ya, sure it's not ... but then again, why have strstr() work that way, but not strrchr() ...
 
does any one want to help make a game engine, i asked the people in the c++ lounge, they said they were too lazy the other day so im not asking them again.
....
.....
......
.....
...
....
......
☺☺☺
 
7:16 AM
mornings
0
A: Synchronize and pause Thread in PHP

Joe WatkinsMutual Exclusion The simplest way of achieving what you want here is by the use of a single Mutex: <?php class Process extends Thread { public function __construct($url, $mutex) { $this->url = $url; $this->mutex = $mutex; } public function run() { work($this->

 
morning Joe
@JoeWatkins Are you going for gold? ^_^
 
one day I'll find an excuse to use pthreads in php
 
I duno what that means :D
 
 
1 hour later…
8:45 AM
Hai
 
9:11 AM
@Fabien I am taking car to phph, it's only £15 cheaper to take the bike, and being that it's going to be dark and possibly raining, I'll take the safe option ...
 
Wait, when were you taking a bike? :P
 
I thought I saw on the sign it was £8 each way, but that's for foot passengers ...
 
furry muff
 
not actually my bike, that's still fucked ... the misses has one too ...
 
9:25 AM
"am a newbie practicing the json"... good lord. That tops my favorite intro from earlier, "I have a code"
 
@derp It also translates to "Here are my database credentials, please hack me"
 
wait, were those "sample" strings not just poor example filler?
 
hi.. is anyone here good with nginx configuration. I have been stuck with an issue for a day now and looks like I cannot go to bed without seeing it solved. So trying in chat room :)
 
9:45 AM
Okay, I think my brain made the instinctive link between "have a doubt" and crappy questions.
 
one day someone's credentials are going to be "username:password" an no one will ever know
 
@derp The three most common passwords are, in order: 123456, 123456789 and password
 
1234567, and 12345678 have to be feeling rather left out
 
10:05 AM
morning
 
moin
 
Hope you enjoyed the weekends
 
11:07 AM
grrrr
stupid lawn mower ...
 
11:33 AM
@Jack I summon thee
I need someone to bounce thoughts off ... someone that understands the ideas ...
 
and .... go!
 
ok so, I got a strange thing in jitfu that I can't work out
 
jit or git? :)
 
jit
but don't worry if you don't know anything about that ...
it should be a simple thing
 
okay, not sure whether i'll be very helpful, but go anyway :)
 
11:35 AM
I'm going round in circles ...
an array, or a string, is stored as this php_jit_sized_t structure, which is struct {void *data; int length;}
so that we can doSize on an array or string and it will be equivalent of count/strlen respectively
 
uhhuh .. btw, your indentation sucks ;p
 
so, when I change that line 571 to assign args[narg] = &array, I can read the size at address + sizeof(void*) but I cannot read the members at address + 0 [index]
 
what do you mean by cannot read?
 
I get garbage, the addresses are wrong
 
why don't you just dereference the structure?
i.e. array->length and array->data.
 
11:44 AM
well I am doing that, but we're generating instructions so it's the long way round
for length you should be able to say length = array + sizeof(void*) and if should give you the address of array->length
 
yeah
assuming length = *(int *)(array + sizeof(void *));
is it at all possible that the arg passed is of the wrong type or corrupted somehow?
 
@NikiC what cryptopals are you up to?
 
it doesn't seem possible, no, what I don't understand is why passing an address would allow the length to be read and not the data
 
yeah, that's highly suspicious.
 
I must be missing something obvious ... thought it would become obvious if I laid out the problem ... but it hasn't :(
 
11:51 AM
@Leigh All ^^
Including those not published on cryptopals
 
@NikiC As in, you've done them all? I'm really stuck on 38 :/ stupid number theory
 
niki, fancy lending your talents to me for a few minutes, I'm totally stuck
 
@JoeWatkins well hmm, stack corruption then?
did you run any of this through valgrind?
 
I see no complaint from valgrind, there were some, because I used int where I should have used ulong, but I got rid and still behaves same
 
Ah, you did them when they were sent by email? I sent an email requesting in, but never got sets sent to me
 
11:53 AM
<?php
use JITFU\Context;
use JITFU\Type;
use JITFU\Signature;
use JITFU\Func;
use JITFu\Value;

$context = new Context();

$long  = new type(JIT_TYPE_LONG);
$longs = new Type($long, true);
$int   = new Type(JIT_TYPE_INT);

$function = new Func($context, new Signature($long, [$longs, $int]), function($args) {
        $this->doReturn(
                $this->doMul(
                        $this->doLoadElem($args[0], $args[1]), $args[1]));
});

/*
long function (long *n, long f) {
        return n[f] * f;
this test passes when I do not pass address, but when I pass address it fails (but I can read sizeof array)
 
@Leigh I seem to have a fancy implementation based on yield communication between client/server for that one
 
what does # do at the beginning of a line in a .m4 file?
is it like dnl?
nvm
 
not sure, I use dnl for comments
what does it do ?
 
my bad, it was part of a multiline statement =.=
I'm now killing ereg in a different way.
 
@Ja͢ck no no no
Don't listen to tyrael
 
11:56 AM
haha
 
It is agreed that ereg should be removed, to pecl
not just disabled
 
i see
so my patch looks good to you then? :)
 
probably ^^
 
still waiting for @rdlowrey to test the pgsql bit
 
@NikiC my protocol + mitm is fine, it's just attacking the maths I'm having trouble with. In HMAC-SHA256(SHA256(B**(a + u * SHA256(salt|password)) % N), salt) I control B, u, and salt - but I'm having trouble even with a reduced dictionary because of a - I'm sending B = N, u = 1, and salt = 1
 
11:59 AM
@NikiC :D ... wow, dunglas sure likes to comment a lot =S
 
@Leigh So, for every password you compute x,v. Then you have A,v,u,b. With those compute S according to usual server rule. From that the hmac - > compare with provided hmac, if it matches that was the pw
 
@NikiC well shit, I was doing it completely wrong - I should be trying to make the servers HMAC(K) equal to the clients, rather than trying to control the clients HMAC(K) to something reliable
 
@Leigh ^^
 
yea b=1, u=1 completely trivialises it derp
 
yeah, no need to touch salt/b/B/u really. those can stay random
Also, gmp_random sucks
 
12:11 PM
 
i'm using gmp_random, but higher limb count
 
@Danack you and i both i'm afraid ;-)
 
we should expose not mpz_random but mpz_urandomb
 
I too, am afraid.
 
That makes three ...
 
12:14 PM
@NikiC well mpz_random is obsolete anyway, and recommended not to be used in the GMP docs.
 
: Docs, Backlog | Tools: Explain, phpdbg, devdocs.io | Addons: [cv-pls], PHP Manual Linkifier | Snippets: ext/mysql | Reference: QAs
12
 
yeah, but the current gmp_random was probably implemented at a time where that was all there is ^^
 
Oh, what is your opinion on convenience constants for things like the import/export order/endianness? - And do you really think I should make the order most significant word first? - I'll make the changes this afternoon.
 
should probably add a new function for that
 
FYI, we can use the tag now, since all SO links have been put in the QA so won't be detected by the chat parser
@NikiC can you pin?
 
12:17 PM
@ircmaxell PHP needs you! github.com/php/php-src/pull/792 I think you're the one who'd understand this issue best
 
@Leigh So for example gmp_import($str, $size, $options = GMP_MOST_SIGNIFICANT_WORD_FIRST | GMP_MOST_SIGNIFICANT_BYTE_FIRST)?
if so: gotta find some shorter constant names :D
 
GMP_ORDER_MSW / LSW and GMP_NATIVE_ENDIAN (LITTLE / BIG) ?
 
I DONE IT
 
although I feel like it should be ENDIAN_NATIVE, ENDIAN_BIG so the options are grouped alphabetically, but also feels awkward
 
@Leigh GMP_ORDER_MSW_FIRST
 
12:25 PM
maybe LTR / RTL for people who don't know what most significant means? :)
 
@Leigh GMP_ORDER_LTR, GMP_ORDER_RTL?
yeah, that may be easiest to understand ^^
though less specific ^^
 
I want to read words left to right, makes sense to me
 
@JoeWatkins what was it?
 
@Leigh k
 
sloppy coding, it's code I rewrite a thousand times ...
maybe not a thousand hehe
 
12:28 PM
@JoeWatkins what was it?
 
which line?
 
did you mix up i an j ?
:P
 
many lines, I should have been copying in some places and assigning addresses in others ...
 
hmm okay
 
funny, the assembly generated was correct, the c was bad ...
I'm meant to be better at that ...
 
12:30 PM
The compile probably went "omg, such a noob, he probably meant this and that" ;-)
 
now the only thing that is left wonky is store at array offset, dunno why ... but finally sizes of arrays and strings are working properly :D
 
hmm, i wonder if i should have spaced out my internals posts ... now it seems like either a) i have too much time on my hand, or b) i have become yasuo =S
 
nah, we're not worried ...
 
:)
 
we're pretty much all filled with dread whenever yasuo posts anything ...
 
12:34 PM
jumped in to fix one of his bugs the other day
good thing i did because both tyrael as well as someone else had horrible fixes :)
 
@Ja͢ck you're no where close to pulling a yasuo
 
\o/
 
the current favorites for that are andrea and pierre
 
heh
my simmering project is to get rid of compiler warnings ...
with ereg gone, my job is somewhat easier
 
good project ...
 
12:36 PM
(The Yasuo-factor is computed by checking the mails / month stat on markmail ;)
 
is there such a thing?
 
@Ja͢ck int64 makes that pretty impossible right now
 
=(
 
@Ja͢ck you can select a time range and see number of mails. e.g. last month (meaning july) andrea sent nearly 200 mails, where the next person had less than a hundred
 
i just saw .. so cool!
 
12:41 PM
oh dear
 
@NikiC mails/month or stupid RFCs/month ?
 
someone should warn her
 
@bwoebi both are often correlated :D
 
@NikiC actually Andrea is able to withdraw stupidities while Yasuo just puts everything to vote.
 
yeah
 
andrea's activity is okay
 
she's even voted no on her own rfc before
shows open to reason, makes her look a little flaky maybe to the outside world ... but able to change your mind is a desirable attribute I think ...
 
yep
 
this is turning out to be one excessively prolonged hangover =/
 
@JoeWatkins hehe, you've copied some of my scripts? :D
 
12:47 PM
still if you're not paying attention like we do, you might be tempted to ignore anyone who makes so much noise ...
@Jack yep, stole them while you slept ... not even sorry ....
 
Wow, is it me or this chat become more like php-dev ;)
 
@JoeWatkins nor should you be ... it's there for the stealing.
 
or, alternatively, better to steal something good than to write something bad.
 
boasting, heh? :P
 
12:48 PM
they work well, but how do we have it exit with non 0 status when tests fail ?
 
@tereško have a nice greasy fry-up
 
@Robik well ... we have larger amount of core-devs per capita then in any other php-related community
assuming that mailing list does not count as "community"
 
@JoeWatkins that should happen automatically.
 
it doesn't ... it's like a 20 year argument ... not a community ...
 
@tereško Perhaps this room could use a name-change
 
12:50 PM
> Kill [ereg] with fire and throw more gasoline ontop of the fire.
hehe
 
    Re: [PHP-DEV] Kill ereg with fire

    On 31 Aug 2014, at 13:48, Sherif Ramadan <theanomaly.is@gmail.com> wrote:

    >+1

    >Kill it with fire and throw more gasoline ontop of the fire.
 
nah, you can talk about php, but when nobody is talking, we natter about internals ... also, kittens ...
 
@JoeWatkins I think you have to set a REPORT_EXIT_STATUS=1 env option
 
@JoeWatkins you're the only one talking about kittens though
 
excellent, will try that ... thanks @NikiC
 
12:51 PM
@FlorianMargaine He's saying what the rest is thinking ...
 
@AndreaFaulds you are failing at markdown ... and quite epically, if i might say
 
@FlorianMargaine not true, @LeviMorrison is a kitten
 
@tereško I'm not. I'm clicking the "fixed font" button and doing it just once isn't working.
 
@tereško failing at crappy-chat-not-quite-markdown, for that matter
 
.. there is that , granted
 
12:52 PM
If it was actual Markdown I'd have to indent myself, where it would work guaranteed.
 
It's Crapdown
 
it is now
 
@JoeWatkins Oh okay, didn't see built #6 .. that should've failed =S
Guess we should patch UString as well then.
 
yes
 
Or, just don't write any bugs.
 
12:54 PM
@Ja͢ck why? passing tests are better than failing tests...
 
eh?
how is that a reason for not fixing the text script for UString?
 
then you have always passing tests :P
 
oh okay, didn't realise trolling haha
 
hehe
 

« first day (1415 days earlier)      last day (3524 days later) »