« first day (2055 days earlier)      last day (2890 days later) » 

Ekn
7:03 PM
I think I did
 
@Ekn /puts upvote
 
@Ekn It reads kinda harsh. Could have said the same thing in another tone :-)
You are correct though :P
 
anyone knows yii?
 
Ekn
ugh can't even edit now, but well.. next time.
seems it kinda worked though
 
> Switzerland ... Foreigners with the following citizenship are explicitly excluded from the right to possess weapons: Serbia, Bosnia and Herzegovina, Kosovo...
:(
 
7:13 PM
@Ekn That's worth something :)
@DejanMarjanovic Can you blame them not wanting you :P
 
after posting form i am getting new id which i am setting to the hidden input variable
 
So... anyone bumped on some interesting jobs in EU and is willing to pass on?
9
 
fire bug is showing the updated input value
 
@PeeHaa no, they are totally correct, that's what hurts the most :D
 
:D
 
7:14 PM
but new value is not posted when i click again on submit
 
@DejanMarjanovic Do you want to become a pirate hunter? I heard there will be something available soonish cough @Fabor cough
 
after posting form i am getting new id which i am setting to the hidden input variable. Fire bug is showing the updated input value but new value is not posted when i click again on submit. whats the problem here?
 
Thank you for star, master PeeWee
 
np
 
...there appear to be 242k commits to pull from PHP master. Someone has been busy?
 
@Danack 242k? the repo has < 100k commits?
 
@asfandahmed1 what kind of input are you setting value into? hidden?
 
Wes
interwebs broke. like in 20th century
 
7:22 PM
@iroegbu yup
 
I had an extra digit - but still.
 
@asfandahmed1 is it within the <form> tag?
 
btw yes, just about to look at words.
 
@iroegbu yup
 
does your hidden input have a "name" attribute? what do you get when you do var_dump($_POST); after your form submission?
 
7:24 PM
@iroegbu it is showing in firebug but not when view source and form doesn't post the value
@iroegbu null
i am using $.ajax()
 
you are using ajax to submit the form?
 
@iroegbu i am using $.ajax()
@iroegbu yeah
@iroegbu getting new value back and setting it to the input
 
you need to confirm what data you are capturing and sending via js
Hmmm... Now, I don't understand
 
@iroegbu yeah i am getting the new id
 
you get id via ajax and submit form "normally"?
 
7:27 PM
All set-up for hunting @PeeHaa i.imgur.com/Ki2UF2sl.jpg, thanks
 
@iroegbu by id mean the new value from db
 
updated a few minutes ago... worked fine
@asfandahmed1 be sure the value is set and that your input has a name and that your input is within the form
 
Wes
i often have to update manually
 
@Wes Always have worked for me. It even used to add a toolbar for free!
 
7:30 PM
haha
 
@iroegbu
 
Wes
your momma
 
hehe
 
And it's still showing scary messages while updating
Like "3 billion devices run Java"
11
 
@asfandahmed1 if the input tag is dynamically created you'll need to jump some hoops... I'll assume you are using jquery
 
7:33 PM
@iroegbu i am just updating the value of input it is already created
 
@NikiC hahahaha
 
@iroegbu setting value using getElementById
 
@asfandahmed1 do console.log($("#Event_id").val()) and see if that gets the id...
@asfandahmed1 oh! You aren't using JQuery?
 
@iroegbu yes it is getting value
no, i am using javascript
@iroegbu
 
7:37 PM
@NikiC dude, there are kids around here
 
Me and the gf now finally have a couch
.. went to Ikea.. lol
 
document.getElementById('Event_id').value = id_val;
var value = document.getElementById('Event_id').value;
@asfandahmed1 if that doesn't do it, got js room
 
@iroegbu doesn't work
 
Wes
 
Ekn
7:44 PM
lol
 
@Wes awesome
 
Wes
if someone actually does that will have all my respect :B
i wonder how much time it would go unnoticed
 
@NikiC of which 2.98 billion aren't used anymore
 
40
Q: Do 3 billion devices run Java?

Alfredo OsorioI was installing Java today and this was shown in the installation. Is there anything that supports this claim?

 
Anonymous
8:08 PM
No way that is true, unless we are counting wrist watches too
 
cars?
smart televisions
 
Anonymous
Evenin
 
Anonymous
!!rebecca
 
@JayIsTooCommon Only 1 days, 3 hours and 40 minutes left until Rebeccaday, OMG!
 
Anonymous
please hurry :(
 
8:19 PM
OMG!
 
Wes
8:33 PM
what does $string[3] = null actually do internally? removes the byte and shifts up, or it just sets the offset to null? edit: lol, yeah it sets the offset to null string(7) "abfg"
 
8:46 PM
@samayo And virtual machines, and Raspberry Pi's, and on and on
And the >1bn Android phones
 
@Dereleased don't raspberry pi come empty? as in.. nothing on it unless you install it? I think java is a higher level language than interaction between pieces, is it not?
 
as far as i know, rasperry pi come with Debian
 
@AdilIlhan And Debian comes with Java. When they say "run Java", do they mean actively, or just kinda could if you really wanted it to?
 
put it back!
 
hahaha
 
8:51 PM
ehehe why you are removed it
 
Don't want someone to get offended because it mentions that intercourse exists
 
yeah
now that I've read it, you can definitely remove it
or
w/e
 
Wes
yo felix
 
is there a way to embed it as a link without it becoming an image?
 
8:52 PM
lol
 
yo We
@Dereleased yep
 
So it can be tagged and such?
 
@Dereleased lol
 
8:53 PM
is it a sexist image? o.O
 
i want to generate random color in php
 
mt_rand(0,255) four times maybe only three depending on random
 
@SajjadKhan #random
 
8:54 PM
Oh, so just the same?
 
@AdilIlhan No, it just mentions the existence of sex
 
or mt_random(1, 0xfff or watf is the max hex color
 
i want to create a tag system where the nick of each user comes with a different color
 
@Dereleased just add a dot after it
 
8:55 PM
like we have in gmail
 
instaclick
 
excellent clickbait
 
Clickbait that delivers
Found this while looking for that:
 
I'm a bit afraid^^
 
8:56 PM
class 9-A tutor Java {
    public protected private endangered static virtual final void main(String[] args) {
        System.prepareTheOutputBufferForPrintingAsTheNextStatementWillDoSo(args);
        System.up.down.in.out.println("Java is a programming language " +
            "invented by the intelligent monkeys " +
            "working at Sun Microsystems.");
        return void; // duh!
    }
 }
 
inb4 @JoeWatkins asking why are there starred posts containing the s word :p
(random pings ftw)
 
@Dereleased how do you have a picture of me from 30 years in the future?
 
Ekn
:D
 
hue hue hue
 
@Danack :D
 
9:02 PM
For reference - mild sedatives recommended. And a soundtrack
6
 
Wes
ahahahaahahahaahahahaahahahaahahahaahahahaahahahaahahahaahahahaahahahaahahahaaha‌​hahaahahahaahahahaahahaha
 
Helo
 
Ekn
LOL
 
I should make that be my CV.
 
HAHAHAHAHAHAHAHAA
 
9:03 PM
when i assign ,LXSX}o}W1.] to strng i am getting internal server error
 
Wes
i'm dying
 
kindly hel
help
 
@Andrea you may want to see this ^^
 
why is this so?
 
ahahahahahahaha
 
9:03 PM
@FélixGagnon-Grenier she made it....
 
the soundtrack part... I recalled whe made the js, not the mix with the music...
 
heh
 
sry for random pings
 
Wes
jsfiddle.net/mqdzwn6n/3 embedded the soundtrack
 
9:06 PM
@Danack ftfy
@Wes slow clap
 
Wes
@MadaraUchiha slow you
 
@Danack That. Is. Wonderful.
 
ahahaha all inclusive code snippet
 
Today, against all odds, was a good day
 
9:08 PM
 
@Dereleased you've had s...omething to brag about?
 
Wes
lol
 
Palate cleanser for those that need it:
 
my head suddenly bouncing left and right
 
Cleanse in the other direction: youtube.com/watch?v=tTLYNCGV5Qc
 
9:11 PM
Best code snippet ever! http://jsfiddle.net/mqdzwn6n/3/
i tweeted it
 
@Danack just to know where I am at … are you going to find some time this evening for looking at union types?
 
everyone should see it :D
 
@bwoebi yes.
 
okay, good. Then waiting for you :-)
 
@bwoebi just found this... ava.me
 
9:18 PM
  4012b7:   66 0f 6f 0e             movdqa (%rsi),%xmm1
  4012bb:   66 0f 6f 7e 20          movdqa 0x20(%rsi),%xmm7
  4012c0:   66 0f 6f d9             movdqa %xmm1,%xmm3
  4012c4:   66 44 0f 6f 4e 40       movdqa 0x40(%rsi),%xmm9
  4012ca:   66 0f 69 cf             punpckhwd %xmm7,%xmm1
  4012ce:   66 0f 61 df             punpcklwd %xmm7,%xmm3
@bwoebi Am I stupid or is GCC stupid?
 
@FlorianMargaine What exactly is that? text-to-speech with origins on phone conferences?
 
Isn't that movdqa %xmm1,%xmm3 a trivial dead store to xmm1?
 
@bwoebi speech-to-text, rather
 
@FlorianMargaine woops, mistyped… but what's the application? i.e. which contexts?
 
@bwoebi bars, restaurants, offices, etc
 
9:19 PM
@NikiC not sure if GCC is stupid … maybe this allows the CPU to parallelize two the two pupck* ops
 
"group discussions", generally speaking
looks very interesting. I signed up for an invitation, we'll see
 
@bwoebi wait, I think I confused myself because punpck is a 2-op instruction
@bwoebi yeah, you're right, that's probably the reason
it needs two times the same input register, but different output registers
Confirmed: I am stupid!
 
^ nobody star this! (it's not true)
 
/me flags for moderation
 
@JoeWatkins ta, and I think it's done now. As to Dmitry's suggestion, this is my total understanding of it:
 
9:35 PM
@Danack Every time I read that word, this.
 
If I have a table called "users" and a table called "user_groups" is there a standard naming convention to use for a table that contains the relationship between these two tables?
 
@NikiC My head hurts when looking at the punpck thing… What exactly does the combination of these two achieve?
 
@joshhunt I think I would've assumed users, groups, and users_groups, but if you don't want to do that, maybe user_groups_rel ?
 
@Wes I'm way further than 106 miles from Chicago....other than that perfect.
 
9:38 PM
@bwoebi Part of matrix transpose
 
Wes
:P
cc @Andrea
 
> Elwood: It's 106 miles to Chicago, we got a full tank of gas, half a pack of cigarettes, it's dark... and we're wearing sunglasses.
Jake: Hit it.
 
A 16bit 8x8 matrix transpose in sse is basically unpacking 24 times with different unpack widths (unless I'm missing a smarter way)
 
@Dereleased yeah I ideally I would name it your way but it is possible that there will be more groups so I didn't want to use just "groups".
 
@joshhunt They can't possibly live in their own db?
 
Wes
9:41 PM
@Danack gotta watch that movie in english :P
 
Sometimes things can't, I understand. That's usually when I bust out the *_rel
 
@NikiC okay…
 
@Dereleased hmmm thats actually an interesting point, I've never really thought of using multiple database. I'm not a very experienced backend developer, is it common to use multiple databases?
 
When you're playing with large things, yeah, as long as they're all on the same server/instance it should be fine, you can still join and such
 
I feel trolled by the code … I'm clearly doing PDO::execute() and it reports success, but doesn't appear in db … the hell is happening………
 
9:52 PM
@bwoebi now you know the importance of error :D
 
hahaha
 
@Dereleased probably out of my scope for now but still good to keep in mind. Thanks for your help!
 
@joshhunt No worries, good luck! But I'd advise that, if there's even the remotest chance of it ever being in scope, do it now. Easier to pay up front than try to pay off technical debt.
users.accounts, users.groups, users.account_groups...
 
other than easier naming conventions what is the advantage of using multiple databases? Feel free to link me to a good resource to read up on the subject if you know of one.
 
I just realized how tricky that advice is. The constant battle to do just the right amount of optimization and feature/scope addition, without it being too little, or premature/scope-creep
@joshhunt Can I safely assume you're using MySQL?
 
9:58 PM
yup (via Google Cloud SQL)
 
\cDbAccess::singleton()->commit();
this was missing…
 
@Wes wow
 
I hate stupid database abstractions…
When I do save() I want the stupid code to actually do a save and not wait for a commit whose transaction I've never manually initiated…
 
I don't have any articles in front of me, but I'll suffice to say that most larger products I've worked on have eventually used this to separate concerns at an organizational level. Even though it's the same machine, it does make it much easier on humans to separate out these kinds of concerns, rather than to jam them all under one roof. Basically, would you rather have 1 DB with 500 tables, or 20 DBs with 45 tables? Some might even say that is too many, but I am not them.
@bwoebi Then why keep using thing?
 
@Dereleased because I'm not the only one working on that codebase, which is a giant monolith started about 15 years ago…
 
10:06 PM
Thanks for the advice, I'll definitely look into it further. I'm doing a minor database cleanup (early days in the project) so if I was going to take this approach now is a good time to switch.
 
10:37 PM
Regarding Dmitry's Too Few Args RFC: isn't that behavior different for internal functions and user-land?
Internals already fatals, yes?
 
Wes
wow, i didn't know that was a warning only. scary
 
@bwoebi "a proof-of-concept patch that also has some other experimental features:" - I can't conceive of any benefit in having tangential stuff in the patch. It can only distract people and make the conversation be more confusing.
 
@Danack The initial patch contains basic support for intersections too as they overlap a lot, that's all
 
I'm working on the words - but unless there is a clear benefit for them being there......things that distract people like those words probably ought to be removed. A conversation about whether those bits of the patch can/should be committed if the RFC were successful can be done as part of an IRC (etc) discussion...
 
10:53 PM
@Danack Yeah, I should just state that the patch is there and put the part about the intersections in the PR desc
 
> strpos - If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.
Most of the time, I don't criticise the crazy nature of PHP's apis....
@bwoebi just to check is it only true|false, that can be used as specific values? Or are there others?
 
@Danack what do you mean?
 
interface Foo {
    function pos(string $baz): int | false;
}
 
There's bool, there's true and there's false. And the combination of true|false is disallowed (use bool then)
@Danack and, null. But yes.
you cannot write 0 | false
 
k.
 
11:06 PM
or similar
 
@LeviMorrison No, I believe that is the same.
The difference lies in providing too many arguments to internal functions issuing a warning, whereas user-defined functions they are ignored.
^ Which I'd like to see removed.
 
wow. YCS is on fire.
 
@samayo but the setName is vuln to directory traversel, the filter_var offers no protection.. I even set a local test with success
setName('/../../wow.jpg');
 
11:45 PM
guys, how do you debug Wordpress plugin and themes? I have an issue in my plugin or theme but no errors are thrown nor warnings
I've spent good amount time on tweaking settings
I need to try out debugging now
 
Wes
can someone answer this?
@WesNetmo do we have any idea when the merge window for 7.1 is likely to close?
 

« first day (2055 days earlier)      last day (2890 days later) »