« first day (2146 days earlier)      last day (2802 days later) » 

9:00 AM
@DaveRandom Arse of the Elephpant?
not meant to insult anyone of FIG directly.
 
@DaveRandom Check doesn't have a non-strict mode, but don't worry I'm not actually going to use detect, ever. It's just absurd to me that "it's broken so you shouldn't use it, therefore it's not a bug" seems rational to anyone. If it's more important that it be fast rather than anything approaching correct, such that in a particular set of undocumented circumstances it'll only look at a single byte of a string - why bother looking at the one byte at all?
 
@Gordon Chocolate Starphpish?
 
just return whatever is in the detect list without bothering with the string. already even faster and still just about as accurate.
 
morning all
 
@PaulCrovella I don't disagree, I just don't see a solution other than deprecation :-/
Also I'd suggest a loose mode for check() would be a good use of time, if you were going to spend time doing anything in there
 
9:08 AM
at best I could do a loose mode for utf-8, I'm not familiar enough with (or interested enough in) other encodings to make a general-purpose feature
 
Morgreens
 
@PaulCrovella does ICU not have all this stuff anyway?
 
dunno
 
I finally bothered to do this if anyone cares (people have been bugging me on github to do it for ages)
 
Requires Restart?
GET OUT
 
9:22 AM
@DaveRandom This is the best thing since sliced bread.
 
Also
 
@DaveRandom This is the best thing since my butt.
 
@PaulCrovella You're butting my judgement
 
@Jimbo o/
 
People really suck at formatting code on StackOverflow. Half my edits are just re-aligning code so that I can begin to read it in order to begin to understand what the question is.
 
9:26 AM
this is my favourite amphp issue, I keep unsubscribing and then resubscribing because the title amuses me when I see it github.com/amphp/thread/issues/14
also it starts "Hi, such problem" which makes me want to respond with "wow." every. single. time.
 
> I fulfilled my needs by using RabbitMQ/Gearman for multi-threading in PHP
 
That's an odd combination.
I mean.. neither one of them has anything to do with multi-threading in PHP, but just mentioning them in the same sentence seems odd.
 
I'm conflicted about this 3v4l.org/baqF0
 
Randomly interesting read: rugbyfootballhistory.com/scoring.htm A little page describing the scoring of Rugby over the years.
 
9:45 AM
I'm not sure if I understand rugby more or less now.
 
@DaveRandom 10/10 icon
 
Dunno, I might get sued or something, people sometimes kick off about taking images from Google
although I took two images and edited them
 
Every time a question on StackOverflow begins with the words "So I am a laravel developer..." a puppy is brutally murdered.
9
Please save the puppies people! ^
 
@Sherif you need to work on your ignored tags list
 
@PaulCrovella You can ignore tags?
 
9:52 AM
Hahah
 
I never knew!
 
@Sherif by fav tags in the sidebar hit "edit" - ignored should pop up underneath
 
TIL
 
Holy crap! This is a real thing!
 
Ignores and => "Hey, where did everyone go? Is there anyone here? Helloooo...?"
 
9:55 AM
@Sherif you can also edit them in your user preferences, including deciding whether to gray them out or hide them completely
also, wildcards are supported - e.g. you can ignore laravel* to ditch all the laravel-blah tags too
 
... being the tag for people who need help to stop throwing up because they are using Larevil?
 
you're thinking of plain old
 
Aah too many things to star
@DaveRandom Can I rob your logo and put it on twitter?
 
you guys hate laravel?
 
10:10 AM
@Jimbo well... yes, but also note that I already shamelessly plagiarised it from two random images I found on Google
@PaulCrovella ummm...
I mean it's libicu so I guess there's was originally some good reason for that decision, but still, wtf
 
@PaulCrovella PHP is magical.
 
Guys help stackoverflow.com/questions/39246267/… creating factory is the right way, right?
 
@PaulCrovella wat
 
@PaulCrovella even NAN would be preferable…
 
@NikiC @bwoebi @PaulCrovella icu-project.org/apiref/icu4c/…
 
10:14 AM
@DaveRandom wat.
 
> Note: This is different from the Unicode Standard which specifies NaN as the default value. (NaN is not available on all platforms.) source
PHP should probably return false though
I guess that horse has bolted though :-(
At least PHP should define IntlChar::NO_NUMERIC_VALUE though, instead of comparing with a magic float literal
holy crap that class already has a lot of constants :-/
 
@DaveRandom It does, maybe just not documented?
 
see bugs.php.net/70455 (it's been added, just not documented as Nikita says)
 
@NikiC Grumble
 
<3 PHPStorm
 
10:23 AM
forgive me if this is a stupid question, but which platforms is NaN not available on?
 
none which PHP targets…
 
speaking of documentation... dem return types
 
@PaulCrovella :P
 
@PaulCrovella Hahaha, nice.
 
yo dawg, I heard you like return types
 
10:31 AM
we do!
 
@NikiC @bwoebi @PaulCrovella @salathe fixed
 
@DaveRandom :-)
 
@DaveRandom There needs to be a changelog too
 
@DaveRandom then you can close bugs.php.net/bug.php?id=72989 :)
@DaveRandom Your <function> tags should be <methodname> too (sorry!)
 
10:37 AM
yeah, @DaveRandom, you suck.
 
Gotta love debugging sometimes.

translate(19);
"nineteen"
translate(20);
"twenty"
translate(25);
"fivety"
translate(150);
"fifty hundred"
2
That'll do, function, that'll do.
 
I always love it when I it works on fivetyieth time.
 
@Sean have you tried NumberFormatter? 3v4l.org/MUU2e
I mean fivety is cool too though.
 
@DaveRandom Thanks ;-)
"New PHP-FIG logo" #php https://t.co/tE3dj6Lrbv
 
@Jimbo context?
 
10:49 AM
@bwoebi Context is PHP :-P
 
@PaulCrovella Dirty JS I'm afraid, but that's cool though, never knew about that.
 
@Sean there are also variations available, depending on the locale
the intl extension is super cool, but man these docs need some love
 
11:07 AM
@salathe just lifted it from php.net/manual/en/pdo.constants.php#pdo.constants.fetch-lazy basically :-/
@salathe damn it
 
Yeah that's wrong too :P
 
@Gordon Doesn't appear in my view.
Wait for the reversal script, and if it stays, ping me.
 
@salathe Changelog on class page, method page or both?
Seems like the method page is where it belongs really, since it's a return value that only applies to that function
 
@DaveRandom The method didn't change
 
no but if the method docs mention it and it didn't exist before... I guess it could just say that in the description?
 
11:16 AM
Mornings
 
mornin PeeHaa
 
mooriinnss
 
@DaveRandom Sure if you want, but not in a changelog section. Perhaps a note in the return values section.
 
@DaveRandom Hey, look. Someone figured out governments have lost all touch with reality in this world!
 
11:30 AM
@DaveRandom Don't suits serve the same purpose as those orange jumpsuits for inmates?
 
hi to all
i want to ask any one have guide for develop a personal version controller
 
You mean you want to rewrite git?
 
good luck!
 
Whatever you do, you should use git to keep track of it. gitception.
 
11:36 AM
not as big as git
but yes
 
why?
I mean seriously, that's a massive job
and git works pretty well
 
I want to my project being in my server
can I do that
 
Then just install git on your server?
git != github
 
oh thanks
let me search about git
 
Checkout gitlab if you want bells and whistles
it's pretty resource hungry but it works well
 
11:38 AM
excuse me just an other question can I control any type of applications on that
 
@DaveRandom The solution is simple. We should all be naked all the time.
 
as like android app
php app
 
yes, you can put MS word documents in git if you want to
it's just a VCS
 
@Leigh that's... what I wanted all along...
 
thank you
 
11:40 AM
@Leigh Sold.
I'm starting now
 
@Leigh OK, you get naked first. Everyone else will follow you.
I don't know about you, but there are certainly some people I don't want to see naked, like ever. especially at php conferences
 
Ok, I'm going to start planning for a new conference I'll be hosting next year... Naked PHP
 
does a blindfold count as clothes?
 
yes
does that count as you're interested?
 
@arashrahimi yw :-)
 
11:44 AM
@Leigh I mean yeah, of course, but some sort of options would be nice. shoes at least? i'm not sure I want to walk around in that without shoes.
 
It will be in a field
 
@PaulCrovella horse-shoes are permitted
 
Instead of conference rooms we'll have stages
 
and instead of talks we'll just wave our dangley bits around
 
@Leigh How about "In The BuPHP"?
you can have that for free
 
11:46 AM
Nice!
You get to do the keynote on the main stage for that
I'll help you get a mosh pit going, it'll be awesome
 
...now I have a mental image of a naked mosh pit and it's hard to ignore
mosh pits are definitely things that require clothes, if only to reign in the jiggling
 
@Sherif mhhhm… why?
 
@bwoebi There are some images you never want stuck in your head.
 
@Sherif meh
 
@DaveRandom 👍
 
11:57 AM
winner
 
This is for you, Bob
 
Hi guys I'm having issue with regards to dates in php. My problem is when I tried to get the first date and last date of the next month, it tends to skip that month and get the next next month instead like for example "date('Y-m-01',strtotime( '+1 month' , strtotime ( date('Y-m-d') )));" the result of this is October 1 2016 instead of september 1. Anyone knows how?
 
@Pretorian months are variable length so the math gets screwy, try a more explicit relative time format like 3v4l.org/broel
 
@Pretorian Today = 2016-08-31. Add a month = 2016-09-31. There is no 31st September, so it rolls over to October 1st. Y-m-01 then prints 2016-10-01.
 
nice thanks but how will I get the first and last date of the month after the next?
 
12:10 PM
@Pretorian e.g. first day of +2 month
 
wow it worked!
thank you very much
wait is this only applicable in the latest php version?
 
Shouldn't be
 
goes all the way back to 5.3
 
oh i see. anyways thanks again
 
moargan
 
12:18 PM
$_POST not working in windows 2012R2 server machine. Any idea what can cause this. As working fine on localhost
 
@NikiC Ah, thus it's very clear that the majority does it wrong, except for Go?
 
@AkifHazarvi "not working" is neither a description of a problem nor an error message
 
12:37 PM
Number of problems solved today at work: 11.
Number of support tickets closed: 0.
Does anyone know how ticketing systems work? You can have a job.
 
D.Gray Man - one chapter every three months...
Much wow, such time.
 
@DaveRandom emails or walk-ups?
 
both
 
Woop woop. translate(154367); => "one hundred and fifty four thousand, three hundred and sixty seven"
Stupid english language grumble grumble
 
12:49 PM
[first day on the job as a drug dealer] *giggles* "We don't have coke, is Pepsi ok?" *gets stabbed*
 
@DaveRandom my solution was to use a ticket system that could ingest email (rt).. cutting down on the friction for users helped a lot
 
Anybody able to give advice on why Git is downloading so slowly? From the link git-scm.com/downloads/win
 
@PaulCrovella oh we have that (zendesk) the problem is that people still email me directly
@AlanTan Your internet is shit or their server is getting hammered, either way it doesn't seem like it's going to be that much of a problem? How slow is slow?
I mean it's not like you need to download it very often
 
@DaveRandom Internet speed is going about 30mbps, and it's taking more than an hour to download 31.4MB. Guess you're right about the part where I don't have to download it very often.
 
@AlanTan well I assume that either their server is getting hammered or your ISP has a crappy bridge to whatever network their server is on... either way, just go get some lunch and don't worry about it
or
!!xkcd compiling
 
12:54 PM
 
@DaveRandom Thanks a lot buddy. Have a great day!
 
:-P
yeh sorry I can't be more helpful there but literally nothing useful I can suggest
Have a sword fight
 
@DaveRandom Thats the issue it doesn't given any error, But when i print $_POST it gives any empty array while running on localhost it works fine.
 
@AkifHazarvi var_dump($_SERVER); output in a gist plz
/smoke + tea
 
somehow, these seem contradictory ^
 
1:01 PM
Is there any PHP library similar to this plugin approveme.com?
 
@BasheerAhmed you're pointing an website plugin in JavaScript. How would you like it to work on PHP on server side ??
If you want place facsimile on some image or even on PDF sure it's possible, but that's not the same as your plugin does.
 
I just like to know if anything like adding signature to pdf...
 
But you're pointing plugin at frontend level and PHP works on backend
 
@brzuchal there is a button which will ask for to save as pdf?
 
1:07 PM
So...
 
@brzuchal oh sorry I need jquery for that :(
 
Glad can help you :)
 
thanks :)
 
aaahh, thanks for removing the ranty blog link and closing the issue @Patrick. I was only thinking of bad things to say in response to that.
 
what is purpose of [cv-pls] tag ?
 
1:11 PM
close-vote please
 
for now you can safely ignore them
 
weird. check these ini settings have sensible values:
http://php.net/manual/en/ini.core.php#ini.enable-post-data-reading
http://php.net/manual/en/ini.core.php#ini.variables-order
http://php.net/manual/en/ini.core.php#ini.post-max-size
 
@FélixGagnon-Grenier thx
 
hello guys
except today my database work fine in go dady server
but when i open my admin panel today it's not open and it will send me error like Unknown storage engine
please any one can know why this type of error occur
error is
Unknown storage engine 'InnoDB'
 
1:17 PM
@ShaileshLimbadiya You should contact godaddy support, this is a problem for the server admin
That error would only come up if the server is misconfigured or corrupted
> I am not so good with mysql, what should I do ? (other than smoke weed ?) [ source ]
 
but earlier day it works fine
@DaveRandom
problem is today
 
OK, but that doesn't change what I just said
The only person who can meaningfully investigate and solve this problem is the server admin
 
means problem on server side right ?
 
yes, in an area that you won't have access to (assuming this is shared/managed hosting?)
 
so after some time it work right or i contact go dady server help
 
1:37 PM
20 mins ago, by DaveRandom
@ShaileshLimbadiya You should contact godaddy support, this is a problem for the server admin
literally the first thing I said :-P
 
@DaveRandom wat … wait … I thought the issue were that they used godaddy in the first place? :-P
 
well there's that, but horse/stable door etc
 
correct horse door stable
 
evening roomies
 
1:56 PM
@bwoebi Interestingly, I changed all the % 8 in HPack to & 0x7 and it made no difference in performance. Apparently there's some compiler optimization or architecture optimization going on there.
 
@Trowski would have me surprised too. The overhead of opcodes is so much larger in comparison to the one or two cycles it saves
 
Still, mod is an expensive operation. But I'm thinking in terms of C, not PHP…
Perhaps I did improve it, but not in any significant way.
 
@Trowski my new Twitter bio
 
@Trowski right.
 
@Trowski @bwoebi btw, we currently don't have fast-path bitwise implementations
 
Wes
2:09 PM
have a coffee
 
Can I remove the ability to call non-static methods statically in 7.2? I just want to watch the world burn.
 
Shouldn't the wrong amount of parameters in a object instantiation throw an error?
 
@Schoening Only too few required parameters
 
I would still love a stricter=1 flag to make too many also error
 
Sure, in an ideal world it would, but in the PHP world, it's all fine and dandy
 
2:16 PM
Ehm.. does the php version matter? I am not supplying any parameters to a 3 argument class and with var_dump I just see a bunch of NULLs instead of getting an error.
 
The times it's actually convenient is like 2% of when it is a debugging annoyance
 
@NikiC we have a fast path inside bitwise_and_function, but it first requires a fcall, yes
 
@Wes that's the cutest coffee I've seen in a long time...
 
@Schoening Enable error reporting
 
@Leigh yes, but not for that reason
 
2:19 PM
@Leigh I would seriously like to see that in 8.
 
@Schoening Warnings are errors :)
 
Haha Thanks. Yeah now it first warns me a bunch and then does the same stuff anyways :p
"ini_set('display_errors', 1);" was the correct line yes?
 
@Schoening I always like to go for an error_reporting(-1); just for good luck
 
Man.. since this is PHP I can't even tell if thats a joke or not :p
6
 
-1 sets all of the flags
 
Man.. since this is PHP I can't even tell if thats a joke or not :p
 
Haha :D
 
@Leigh but what about 1's complement???
 
@DaveRandom If you're affected by such plagues, you can use error_reporting(~0)
 
2:32 PM
http://comps.canstockphoto.com/can-stock-photo_csp7379870.jpg (New PHP-FIG logo)
 
I will keep repinning message #32549554 until someone tells me to stop
 
@DaveRandom chat.stackoverflow.com/transcript/message/32563597#32563597
 
That's just stupid from your side
aaaaand you kill it
 
damnit
 
2:45 PM
tnx asshole
 
!!uptime
 
@DaveRandom I have been running for 1 minute and 34 seconds, since 2016-08-31 14:43:33
 
Did you just do an "update"?
:P
 
@DaveRandom Perhaps you'd prefer this. Or this.
 
2:47 PM
yay it actually does work
 
\o/
I hope you made it generic / global? :)
 
just weirdness on the websocket, the edit message didn't actually contain the edited string :-S
!!version
 
yay
 
I tried to figure out how to use it for !!tweet but I was tired and I have never put in the effort to understand that plugin
 
2:49 PM
I still have half a rewrite of tweet which is 100000 commits behind master now :(
 
100.000?
that's... a lot
 
ikr
 
Can we not just use some kind of twitter API lib for it? Or if they are all terrible, can you generalise what you are writing into a better one?
 
@DaveRandom The thing is we need async
 
Wes
been here for just few minutes in the past days
 
2:52 PM
oh right, no-one writes API consumer libs with app logic adequately separated from transport :-(
 
Wes
still i clicked 3 links from @DaveRandom i shouldn't have clicked
 
Exactly
 
@Wes yw
 
!!github reactphp twitter
 
Organization [](github.com/react): 0 public repos
 
2:53 PM
what was that thing called?
 
Organization React: 26 public repos
 
!!google reactphp twitter
 
poop
!!google reactphp twitter
!!uptime
 
@PeeHaa I have been running for 11 minutes and 1 second, since 2016-08-31 14:43:33
 
2:54 PM
oh god damnot
!!? reactphp twitter
 
!!command map google google search
 
Search for "reactphp twitter" (https://www.google.com/search?q=reactphp+twitter&lr=lang_en)
• React (@reactphp) | Twitter - The latest Tweets from React (@reactphp): "The next post in @⁠WyriHaximus' blog series is up! "React… (https://twitter.com/reactphp)
• #reactphp hashtag on Twitter - Fun #php evening with octals, JSON, #reactphp filesystem, and chmod. 0 retweets 0 … Beware the memo… (https://twitter.com/hashtag/reactphp)
• Listening on Twitter streams with ReactPHP — Cees… - 8 aug. 2013 - But above all of those, only a twitter screen name should have to be specified. This… (https://blo
Command 'google' is now mapped to Google # search
 
@WyriHaximus is there some async twitter oauth lib we can use with amp?
 
I don't think the nsfw quite covers just how nsfw that is. Perhaps "osfp" "Only Safe For PeeHaa" is more appropriate.
 
Oh lemme check it out
 
2:56 PM
@Fabor what is, sorry?
 
@Fabor Seems pretty safe to me
 
@Fabor there's "nsfl" too (not sure if relevant)
 
Can't remember, my mind must've performed a self-format to protect me from the potential trauma.
 
Wes
@Fabor not safe for the galaxy would explain pretty well how not safe that is
 
hello
 
2:58 PM
o/
 
Anonymous
aftermorn
 
\o
 

« first day (2146 days earlier)      last day (2802 days later) »