« first day (2321 days earlier)      last day (2630 days later) » 

9:00 PM
hehe ... "clever" bot ...
 
@Jeeves are you now, or have you ever been, a supporter of tourist activities?
 
@Dereleased No I have not, but you are.
 
Well, I do live in Florida
@JoeWatkins I got my bike back from the shop^H^H^H^H garage. It's so nice to have her back. I spent about 3 days trying to run normal errands on a naked bike with no storage.
 
yay
 
It was all fine until I spilled the red sauce all over the wife's Chinese. I don't think I'm allowed to do that on the bike again.
 
9:06 PM
next time you can just go out cruising and she can fetch her own dinner
 
That sounds like a marriage level I haven't quite attained yet
 
@Jeeves Have you heard of Tay, another famous internet bot?
 
@FélixGagnon-Grenier throws me at you.
 
I acquired a classic yamaha the other day
 
@Jeeves I'll take that as a yes
 
9:08 PM
@Dereleased Yes for what?
 
@JoeWatkins Awww yiss!
 
@Jeeves you indeed use the markdown /cc @PeeHaa
 
@Ekin No.
 
:P
 
@Dereleased 1987 XV535, black ...
bit of a project, had no time for her yet except getting new welder and finding room in the garage ...
 
9:11 PM
I was going to say that reminds me of mine, until I realized they're probably different in most major points. Looks good thought ^^. My next is unlikely to be like my current, fully electronic and whatnot. It'd be nice to fix a broken throttle by replacing a cable instead of sending her in to get wiring redone. Not throwing shade at my current bike, this is why we have warranties, but yeah, newer is not always better
I ride an HD XG750 for reference
 
very very cool
 
learning about @JoeWatkins : do you use the indefinite article "a" or "an" before a pronounced letter 'H'?
 
hmm ... both a and an sound right before HD, but "an harley" doesn't, I would say "a harley" ...
 
@Dereleased Don't ask people from the UK about English
or frontend stuff
 
@PeeHaa Trying to figure if he says "Aych" or "Haych" without asking directly
 
9:16 PM
hello i have this problem
SQLSTATE (23000) interity constraint violation : 1062
someone can help me !
plzz
 
@Dereleased Pretty sure he says "cor blimey"
:P
 
I believe that is my favourite... whatever it's called ^. not really a swear?
 
!!? mysql error 1062
 
@Dereleased I also have a triumph sprint GT 1050, which is my darling ... and I don't want to ride her in winter ... and since I live on a 26 mile wide island, a little cruiser is making sense in winter when I don't go riding around the country ... I looked at that vn900, but it just seemed like overkill for a part time bike ...
 
Search for "mysql error 1062" (https://www.google.com/search?q=mysql+error+1062&lr=lang_en)
• Mysql insert query returns ERROR 1062 (23000): Du… - 5 sep. 2013 - I've noticed an error during an insert query in my database …. 2147483647 is the larg… (http://stackoverflow.com/questions/18643648/mysql-insert-query-returns-error-1062-23000-duplicate-entry-2147483647-for)
• database - MySQL error - #1062 - Duplicate entry… - 27 mei 2011 - I'm trying to insert a huge list of users to a MySQL database but … In addition to Sa… (http://stackoverflow.com/questions/6153552/mysql-error-1062-duplicate-en
 
9:17 PM
yw @GhaithMekano ^
 
I'm very jealous that you have a harley ... want one, I'd like an older one but they hold their price so well ... will have to wait ...
also, need a bigger garage ...
 
@JoeWatkins I remember why I left that this_ptr
/home/vagrant/php-v8/src/php_v8_cached_data.cc(57) :  Freeing 0x00007f3be3c88190 (48 bytes), script=/home/vagrant/php-v8/tests/V8ScriptCompiler_Compile.php
/home/vagrant/.phpbrew/build/php-7.1.2/Zend/zend_alloc.c(2472) : Actual location (location was relayed)
Last leak repeated 1 time
 
whatever you are doing is strange @pinepain
 
@PeeHaa you can help me sir !
 
Looks like it considering I just did :P
 
9:18 PM
If I'm applying to a place, should I include a finished project that shows my level of skill, even though it may be a few years old?
 
can i send you my code !
 
@JoeWatkins you are telling this to a person who embed js into php, it's strange enough i guess
or you mean referencing?
 
@PeeHaa can i send you my code sir !
 
@GhaithMekano @PeeHaa is suggesting you google the error you're receiving first.
 
@Tiffany maybe not get it shown up front, but have it ready if they ask for it.
 
9:21 PM
@pinepain hi, I'm krakjoe, king of doing things you shouldn't with php ... why not create some threads, and override some engine opcodes in php, if that doesn't float your boat, I invite you to write a gui app in php, or generate some machine code ...
 
experience should speak of itself through your knowledge
 
@FélixGagnon-Grenier well, they've said they wanted examples of work
 
you can do crazy things without being crazy ... I don't know why you need a pointer to this in the object represented by this
 
it was php 5 before (or any other excuse), now i'm removing
 
@JoeWatkins So, I'm glad these convos happen online where I can quickly google what you're talking about. The sprint looks like a fighter jet, I can understand not wanting to cover that in winter muck. That VN900 looks beautiful as well, but given what you describe... eh, I don't know, typical American excess, not sure if I could've resisted ;)
 
9:22 PM
and for some reason i get that memeleak
 
@PeeHaa Yeah, as a comma, I'm asking about a specific letter ;)
 
:D
 
@Tiffany in resume: "Code Samples available upon request"
 
@FélixGagnon-Grenier they're asking for "proficiency in PHP and JS" which I read as, "just show us that you know how to write PHP and JS"
 
references in list, yay!
 
9:23 PM
@Tiffany A lot of my code samples are several years old because (a) I've fleshed them out really well, and it's not super necessary to keep making new ones, and (b) in recent years I've gotten less and less interested in making things that are publicly available, meaning most of my work is the IP of my company, and I can't really go around showing that off.
 
@Tiffany hmmm... that sounds like proficiency in patching stuff up with jquery
 
        zval context_zv;
        ZVAL_OBJ(&context_zv, &php_v8_context->std);
        zend_update_property(php_v8_object_class_entry, return_value, ZEND_STRL("context"), &context_zv);
 
I was working on a javascript calculator, and barring using someone else's example as a guide, I doubt I'll have it complete in the time I want to send my stuff into them
@FélixGagnon-Grenier they do specify JS/jQuery
 
send them a fully working webpack config file. so hipster it'll be insta-hire
 
lol
 
9:24 PM
@JoeWatkins after changing that part from this_ptr to ZVAL_OBJ i start getting leak report in debug build, is there sth I do wrong?
 
@Dereleased And that's why "give us code samples" suck...
 
@Dereleased I was right there ready to go for the vn900, but riding it was just super awkward, maybe I'm too small/light or something ... that's why I went for a smaller cruiser in the end ... maybe I would have got used too it ... little cruiser just felt right
 
@JoeWatkins That's the most important thing. I know my bike is a bit smol, especially by HD standards, but it's felt right since the first day I sat on it, and that's been worth everything.
I've ridden my buddy's Shadow 1100, and there are things I like, but it does feel... odd...
 
@Dereleased yeah, one of the samples I'm going to have to gut a lot of stuff out, which means it would be an incomplete example, but part of it is work-related information that I can't share
 
@Dereleased that is not what she said
 
9:26 PM
@FélixGagnon-Grenier lel
@Tiffany One of my code samples is an anonymized version of something I made at work. The company I was with knew I was looking to leave, and while they weren't thrilled, they approved my usage of the anonymized thing. I ended up doing contract work for them on the side for the next 2 years anyhow, so they couldn't have been that mad.
 
they want proficiency in git too, maybe I just send them the github link to my calculator so they can see me working on it, rofl. it's an incomplete project, but hey... it shows my knowledge of git
 
Also, I always give my code samples on paper, paper which I expect returned to me. It feels right to me that way, dunno why
@Tiffany just walk into the interview and yell "COMMIT! BRANCHES! MERGE CONFLICT REBASE!" I can't imagine anyone not hiring you after that.
 
this place is out of town, while giving it in paper is possible... I don't want to fuck with it
 
Hey guys I have a friend who's trying to learn some SQL (MySQL) and he's having lots of trouble connecting to any database.
We've tried external DB's, local, and even some shared. I gave him the same credentials I log in with; with no problems!
Any ideas?
 
@Tiffany print it out, put it on a wooden table, take a picture of that and send it to them
 
9:29 PM
@pinepain looks right, assuming you have normal handlers, and your free handler is calling properties dtor as it should
 
Also, its via MySQLi
 
@AaronBelz does the user account he's using have the right grant permissions?
 
@JoeWatkins zend_object_std_dtor(&php_v8_value->std); at the end
 
@Tiffany yes, I'm able to login with the same credentials/script as he has.
 
is he typoing?
 
9:30 PM
@Dereleased I think arses have a kind of intuition about these things ... it can look really beautiful but not feel right, don't think it smart to ride something that doesn't feel right ... what with the severe danger of death and all
 
even if he says he's not, everyone lies.
 
i'll rebuild project to make sure the problem is really in that single change
 
in which case, I'd have him type it out in notepad to verify it's correct
 
> it can look really beautiful but not feel right, don't think it smart to ride something that doesn't feel right
such wisdom
 
hm... looks like the problem already was in code
not at that place
 
9:33 PM
@Dereleased I was redesigning a department's website. I asked them to give me examples of what they wanted. They printed out their website, cut out portions off content, and taped it to a piece of paper. I had it on my bulletin board for a long time as "old school cut and paste"
 
@FélixGagnon-Grenier giggity
 
@Trowski @kelunik @PeeHaa in Aerys, how can I switch to an extension based event loop backend? Should I just install php-uv or libevent or ev and Aerys will magically understand what to do?
 
no but, let's be grown up .. we were being grown up
 
@marcio Yep.
 
@marcio yes install libuv and bob's uv ext
 
9:34 PM
@JoeWatkins yeah sorry. I don't still quite qualify for grown up
 
@marcio What PHP version?
 
@Tiffany That's mega excellent. How excellent? Hella.
 
@Trowski there is only one usable PHP version ;)
 
@marcio Heh, yeah, then go with libuv.
 
two
 
9:36 PM
And then I have the occasional PDF of a scanned piece of paper that was originally printed...
 
@JoeWatkins I meant usable major version
@Trowski nice, thanks!
 
@Tiffany any ideas?
 
scroll up, I offered a couple suggestions
 
@PeeHaa thanks!
 
np
 
9:37 PM
if it works for you but doesn't work for him, it sounds like there's some typoing going on
for people that need to look at the keyboard, and their keys are mismatched, that could be an issue
 
He is using the same script I wrote (and can connect with) and he is running it on a local webserver - again, like me
 
they think they're typing it in right because that's what their keys say, but they actually aren't
 
*I copy and pasted
 
firewall maybe?
 
I'll try to snoop some more for that :)
 
9:39 PM
firewall, maybe porting issues are only ohter ideas I have
or something just isn't configured right on his end
 
user image
7
@marcio I hope you feel suitably sorry ...
 
@JoeWatkins I love minor versions and patch versions too <3
 
good
 
especially when there's this cat in the story :)
 
also, if you don't use the latest version of PHP, I might come into your house at night and wreck up the place
"We now support version PHP 7.0.10-1+0~20160829102714.10+jessie~1.gbpd58428" *Sigh*
@philsturgeon Parse error: unexpected nonsense (T_NONSENSE) in version number on line 0
 
9:55 PM
@Trowski is there any way to programmatically ask Aerys which reactor is being used?
(...and I hope I'm not abusing your time :P )
 
@marcio Version 1, right? No problem, always happy to help with anything async related.
 
@Trowski yup, v1
 
@Tiffany, it was an oversight by me, I tried to have the host contain the port without the database. Thank you for your assistance.
 
@marcio Amp\reactor() returns the current reactor instance.
 
@Trowski nice, FYI it's been very productive to use Amp+Aerys. The learning curve is fine even without a deeper documentation.
 
10:12 PM
Hi! Why when in a migration I do a foreign key it is not shown in sqlitebrowser?
The variable that should be the foreign key says that is NOT NULL
 
!!voting list_reference_assignment
 
• list() Reference Assignments - Yes (17: 70%), No (7: 29%) (https://wiki.php.net/rfc/list_reference_assignment#doodle__form__list_reference_assignments)
‌ ◦ Yes: ashnazg, bishop, bwoebi, fmk, galvao, kguest, leigh, lstrojny, mariano, pollita, salathe, sammyk, stas, svpernova09, tpunt, trowski, zeev
‌ ◦ No: daverandom, dm, hywan, joey, levim, ocramius, peehaa
 
@marcio That's good to hear, though I'd wager you don't represent the average PHP programmer. ;-)
@Jeeves You still seem to be bad at math.
 
@Trowski You seem to be mad at Geometry.
 
Witty as ever though.
 
Anonymous
10:29 PM
@PeeHaa so ended up watching a ballet.. total opposite end of the spectrum for what I was expecting to do here..
 
@JayIsTooCommon :)
Did you smoke yet?
 
I read through http://php.net/manual/en/control-structures.elseif.php about `elseif` vs `else if` and I have a question.
Is using no curly braces the same as using curly braces in terms of `elseif`?
Because it says you can only use else if if you have curly braces
 
@sweg_yolo_69 yes, only if you have a single statement (i.e. a single "end of line" semicolon)
it is generally recommended to use the curly braces anyway.
 
@FlorianMargaine Thanks for that. I'm aware that you can only have 1 statement without curly braces but I prefer it without curly braces because it's more readable
 
@sweg_yolo_69 all the php standards require the curly braces on every case because it removes any ambiguity, and the possibility of forgetting them if you add a new line later on
 
10:34 PM
@FlorianMargaine True, but let's say that I write curly braces like:
if(something)
{
code here;
}
then having an if, elseif and else becomes relatively cluttered
 
if (something) {
    code here;
} else if (something else) {
    code here;
}
it's really not bad
 
@FlorianMargaine Yes but I meant to have the curly braces on a separate line from the if statement
 
@sweg_yolo_69 then put it on the same line if that bothers you?
 
@FlorianMargaine For simple statements, like changing the value of a variable, I prefer to not use curly braces at all, but if I have something more complex I'll add the curly braces
 
@sweg_yolo_69 until the day you forget to add the curly braces.
 
10:39 PM
@FlorianMargaine Well I'll take my chances
 
if ($something) return;
 
@FlorianMargaine As you can see in my name, I like to #YOLO
 
@sweg_yolo_69 anyway, you follow coding standards, right?
 
If curly braces are omitted then I strongly suggest formatting it on one line like I did above.
 
you have phpcs to validate that your code is following a coding standard, right?
(possibly PSR-2 because it's the most common one, or whatever your project is using, e.g. symfony)
 
10:40 PM
@FlorianMargaine Not really. I'm just doing some simple projects
 
@LeviMorrison that's pretty much the only way I'll do without braces personally. And it's almost always for a break, continue, or return
 
@sweg_yolo_69 you really should.
 
!!rfcs
 
Usage: !!rfc <id>
Sorry, but we can't have nice things.
 
!!rfcs
 
10:41 PM
if ( A )
  if ( B )
    thing();
  else
    thang();
 
@FlorianMargaine I'm trying to write code as best as I can but I'm sure I have something wrong
 
@sweg_yolo_69 enforcing coding standards is a start.
 
@FlorianMargaine There must be some sort of code quality checking tool in PHPStorm right?
 
@sweg_yolo_69 PHPStorm can integrate PHPCS, yes.
 
@FlorianMargaine Let me check if there's a built in one already to see how big the damage is
 
10:44 PM
!!issue When no RFCs are in voting, !!rfcs returns help for !!rfc which is confusing.
 
@Trowski Sorry, you're not cool enough to do that :(
 
Aww…
@PeeHaa How can I be cool like you?
 
Anonymous
@PeeHaa nope... just watched a ballet..
 
!!admin add 2439754
 
User added to the admin list.
 
Anonymous
10:46 PM
!!admin add 2439754
 
@JayIsTooCommon User already on admin list.
 
:p
 
wow, glad I didn't hit enter as well
 
:D
 
Anonymous
:p
 
10:47 PM
but I doubt admin will be enough
 
Heh, thanks :-D
!!issue When no RFCs are in voting, !!rfcs returns help for !!rfc which is confusing.
 
oh nice :-)
 
/me goes back to trying to start stranger things
 
@Trowski I'm not sure that's what actually happened - I pressed "up" and added the s after rfc. I didn't mean to edit the previous message; I have been using the terminal a lot and wanted to re-execute the previous command except with 's' appended.
(^_^)
 
Anonymous
10:50 PM
@PeeHaa \o/ ''tis good
 
It better or I will blame you
 
If you're using Apache and PHP, Apache created a POSIX thread for each request. Does this mean that each request generates a MySQL connection, or is there some kind of pool?
 
@LeviMorrison Oh… well hmm… I guess I'll try it myself then.
!!rfcs
 
Sorry, but we can't have nice things.
 
Ok, that makes sense then…
 
10:55 PM
Why does he say that? Is that the standard "i don't know that command" response?
 
Anonymous
@LeviMorrison means there's no rfcs found
 
@AaronBelz I actually helped someone! YAY!
and another yay: I'm getting the hang of git finally
 
11:09 PM
... I pushed to wrong place -_-
kinda annoying it references the issue when you push to the fork as well
 
11:30 PM
I've most likely written a bad piece of code:
echo '<p><a href="' . VIEW;
echo $current_params ? '?' . $current_params . "&" : '?'; // If there are $_GET parameters echo them and use the appropriate symbol (?,&)
echo 'show_all_images=true"' . '" class="search">Search</a> my older photos</p>';
Any thoughts?
If someone could format that properly, that would be great
What I'm trying to do is make a link so that if there are any GET parameters include them and add the show_all_images one, but if there aren't any, just add show_all_images to the link
 
what is VIEW;?
 
a constant that has an absolute link to a page
 

« first day (2321 days earlier)      last day (2630 days later) »