« first day (1406 days earlier)      last day (3541 days later) » 

10:00 AM
Hi @TomášAresakMalčánek
long live autocomplete :)
 
@PaulDragoonis hehe ... actually, SO normalises Unicode :)
So it would work without the accents as well
 
pffft
Stealing my thunder
 
At least that's what I understand from it .. even partials work I think.
Yeah, sorry about that .. blame it on Friday :)
 
3+ chars
 
You make me feel less special now
 
10:01 AM
Aww
 
morning
 
You want an arrow under your name like I do? =D
though, in the chatroom it looks like a piece of dust
bbl ... interested to hear more DNS cache ideas though .. it may be nice, even if PECL extension :)
 
@HamZa mprning
 
@Ja͢ck Yet more problems that would be solved by libuv...
 
10.0.1.1
 
10:07 AM
(it has a built-in async DNS resolver out of the box)
 
Y U NO RESOLVE CHAT??!!?!?!
 
@DaveRandom why is he suspended?
 
@PeeHaa 1.1.0.10.in-addr.arpa
 
Wow. That took some serious time
 
@AwalGarg I have no idea why specifically this time
 
10:09 AM
@JoeWatkins - you're optimistic! (pecl ext) ;)
 
This account is temporarily suspended for rule violations
 
@PeeHaa I'm busy processing something else, your query was low priority
 
Hi
 
that was @Jack, @PaulDragoonis ... not even sure a pecl ext is suitable ... it need to b in core I think ...
afk 20 minutes because sausages ...
 
my mistake ^_^
 
10:13 AM
MySQL still sucks.
 
@AwalGarg offensive comment(s) AFAIR
 
@HamZa Did you asked him? :P
 
@DaveRandom how? And why is that PHP sucks message so much starred, in the PHP room?
 
@YogeshSuthar there was a meta thing AFAIR
 
@DaveRandom :P
 
10:15 AM
even got a mod involved...
 
lol wtf did someone hijack the feeds account?
Oh it's just a user
Oh no it isn't
wtf
@AwalGarg because it does
Everything does
PHP is not alone
 
Maybe the dictionary makers should revise what "suck" means. It should have a positive intent attached to it, probably something like "incredibly normal".
So I can proudly say, I program in PHP, which sucks!
 
@AwalGarg rethink it
 
The thing is, everything sucks in its own way. Some things suck more than others. But PHP has one big thing going for it - it lets you get shit done, fast.
 
10:18 AM
So you're saying PHP lets you suck faster?
 
wow
 
In practice that is depressingly true
 
Programming SUCKS
 
verse sucks
 
maybe not
 
10:20 AM
I see in many rooms, specially the JS room, a lot of people keep blaming PHP, and insulting the language. I don't why they say so; JS is no better, IMO.
 
JS really is no better, it has just as many issues, they are just different issues
 
@AwalGarg Typically languages don't suck but the people who use them can. PHP just makes it easier to suck IMO.
 
There are better languages though
 
like php 7?
 
"7"
 
10:22 AM
I was thinking more C#
Maybe Python
 
What about C?
 
what's the measure for a language's "good"ness?
the number of questions on SO?
 
yeah... but seriously, if you are criticizing something, if you are criticizing "anything", ensure that you got some logic behind that.
 
But with C# you do not get the run-anywhere mass appeal (plus it's kind of harder), and Python is still quite niche
@Fabien Not if you just want to get shit done
 
@Fabien C gives you headaches :P
 
10:23 AM
C is for hardcore development and toys, not really anything in between
 
PHP AKA GSD.
 
I can't get along with C++ but it does seem to fill the middle ground somewhat
@Prasanth They is no way to put a number on it really, it is highly subjective
 
anyone there? i need a help
 
I'm reading a C++ book. They say C++ > PHP, but after each paragraph/sentence I have to memorise a lot of "exceptions" while PHP just works.
 
And the number of SO questions only really indicates how popular something is, which you would also have to offset by how lazy/stupid the users are
 
10:25 AM
@VivekPPillai Some are at work and some are somewhere on earth
 
PHP really does not do well on that particular scale
@HamZa Meh, you're just used to PHP's exceptions so you don't even think about them
PHP has weird not-so-corner cases too
The very existence of === is proof of that
 
Hmmm I guess you're right
 
@HamZa can you help me.. i have a small issue
 
@VivekPPillai Please do not ask to ask questions, just ask your question
 
@VivekPPillai please read the chat guidelines room-11.github.io
 
10:27 AM
You cannot get people to agree to help you before you tell them what they will be helping you with
 
@HamZa well, fak
 
sorry..
$resort[] = "<div id='".$iiiddd."'><input id='hotel_day".$child_post->ID.$dyid."' name='hotel_day".$dyid."' type='radio' value='".$child_post->ID."' onclick='AddHotel(''".$p."'','".$s."','".$psid."','".$dyid."','".$child_post->ID."',".$child_post->fields['price'].")' />
<input id='".$s."' name='expsel".$dyid."[]' type='hidden' value='' />".$child_post->post_title."<span>Rs:- ".$child_post->fields['price']."</span></div>";
 
yummmy
 
Good lord
 
@tereško haha indeed, I was getting so excited last week but nothing showed up. I found this thread this morning :/
 
10:29 AM
in this code the variables are not properly appearing
in onclick='AddHotel(''".$p."'','".$s."','".$psid."','".$dyid."','".$child_post->ID‌​."',".$child_post->fields['price'].")'
 
@VivekPPillai You have too many single quotes
around the first var
 
$iiiddd -> seems legit...
 
@DaveRandom oh, I assumed $p would be a comma ;-P
 
lol
 
i need it like onclick="AddHotel('divid','cid','56','45','123',200)"
 
10:31 AM
@VivekPPillai you might consider using templating for that line, the stringly typed approach is kinda unreadable...
srsly, you are in quoting hell there, use a template of some description rather than a string literal
 
does anyone know the skype handle danger246 or sherie.heins ?
 
nope
I don't do skype
 
how can i fix this
i need to assign this to a php variable
 
2 mins ago, by DaveRandom
@VivekPPillai you might consider using templating for that line, the stringly typed approach is kinda unreadable...
 
"Who's ever been to javascript dot com slash docs? No one. Because it doesn't exist." @benhowdle #redev14
 
If i were you I'd do something like:
`<button cid="<?php echo $cid ?>" another-attr="56" la="45" le="123" li="200">New Hotel</button>` and then with jquery `$('[cid]').on('click',function() { var cid = $(this).attr('cid'), la=$(this).attr('la'); //awesome create hotel code in here });
 
You can use ^this approach with output buffering in PHP to get it into strings
Also Heredocs would work well here
^ this may be the best way actually, if you need a string
 
Heredocs always FTW! I love heredocs :D
 
I hate those heredoc/nowdoc/laterdoc things
 
10:38 AM
Good morning, slackers (:
 
@PeeHaa :( why?
 
afternoon @AlmaDo... :)
 
@PeeHaa and formerdoc?
 
@PeeHaa I like them for HTML/general code literals
 
10:38 AM
@AwalGarg Because 99% of the times if you need it you are doing something wrong
 
@DaveRandom erm.. javascript.com/docs :P
 
PHP Storm syntax highlights the data correctly as well
 
I first realized heredocs are awesome when I saw the default index file in WAMP server. Really structured and readable code...
 
hm, I need to visualize DB schema. What's a good thing for mysql? (I always used console - that was enough, but I need to write documentation .. )
I can google, but - real experience is better :p
 
@ThW hh.. was an option, but a little bit overkill for me (since I need to write docs & just leave then) :p
thanks
 
I tend to use workbench as well
 
preg_match or Matcher for PHP7 (UString) ?
 
@JoeWatkins matcher as in java matcher?
 
@DaveRandom Btw, and still on the subject, I stopped worrying about that soon as I set dgg.gg as my main search engine; Since it has !bangs for almost every language, you just !lang lalalalalala as search and it takes you to the docs of that language.
 
10:44 AM
@HamZa similar api yeah ...
 
@JoeWatkins why not just "Match" (à lá js) ?
 
@MoshMage JS has two ways :P
 
the point was more shall we have an oo api for that or not ...
 
@HamZa dat two faced language. how dare it!
@JoeWatkins If it was up to me, yes; I'd like that very much. But it's not like I'd die of a oozing wound would it not be oo
 
/usr/src/ustring/ustring.cpp:777:30: error: ‘Z_STRLEN_P’ was not declared in this scope
thanks pierre ...
I don't understand some of these changes ... what is the damn point in that ...
 
10:51 AM
@JoeWatkins :)
 
> The int64 RFC introduced a number renames for common types, macros and zpp specifiers, which are both unnecessary and confusing.
this ... this is so obvious that I am confused that they got by in the first place ...
the results of that vote did not reflect that a majority of developers were up for this change ... rfc is so broken ...
all of that is unnecessary ...
 
11:11 AM
@JoeWatkins wut
 
inorite
 
I sort of get the desire to rename things to make them more descriptive, but instantly removing them with no aliases for the old ones??
 
apparently this improves stuff ...
breaks stuff ...
 
Is there an autotool for migration?
 
@DaveRandom and STRSIZE is more descriptive ... haha
 
11:14 AM
I dunno if there's a tool ... but it wouldn't matter anyway ... these are stupid decisions to make ...
 
I don't recall seeing a discussion about this?
 
I don't recently ...
 
@NikiC please, please, please.
 
Actually was there some mention of it in the original int64 business? And something to do with changing the zpp format string as well?
 
11:16 AM
that's not enough of a majority to say that we want this ... we clearly did not want it ...
 
@bwoebi posted to list
This is totally ruining my day
5
 
Agree. I'd be happy if this could be voted on ASAP, so that I can continue develoing without name changes…
 
@bwoebi @JoeWatkins if you agree, can you drop a quick mail to internals saying so?
 
yes
 
I think that Pierre lives under the illusion that people actually wanted these changes because they voted yes on the int64 rfc (whereas I think that people voting yes only wanted the actual changes, not the shitty names)
 
11:20 AM
@DaveRandom Thoughts on Artax in production?
 
So I think it would help if that thread clearly shows that we don't want those names.
 
@Fabien Currently not yet....it's meant to be getting a stable release in the next 24-48 hours. drums fingers patiently.
 
I think that too…
 
It's a Beautiful Day!
 
@Danack wut?
like seriously?
that was not a typo for "the next 24-48 months"?
 
11:22 AM
I know. Rdlowrey is meant to be finishing something. Crazy right!?
 
> Exactly, everyone should know how MVC works when they start out, CI fits that bill well. Source
@Danack lol. :) Furry muff
 
@NikiC no, wasn't a typo. But AFAIK not stable, but 1.0.0-rc1.
 
@bwoebi 1.0.0alpha1rc1 :)
 
@NikiC He also tagged Alert 1.0.0-rc1 3 days ago.
 
Hello everyone
 
11:26 AM
do you send to lists@php.net, is that right ?
 
@JoeWatkins Reply to all on an email you received?
 
displeasure registered
 
@JoeWatkins @bwoebi thanks :)
 
@Fabien Question better directed at @rdlowrey tbh
 
11:30 AM
Furry brb
 
@NikiC no problem
 
Jun 28 '13 at 16:42, by rdlowrey
@Chris It is, but it's a private repo right now. I spent the last couple of weeks making my http client awesome so I could use it for super-legit integration testing of the aerys server. My best estimate is that the code will be public for alpha testing in ~ one month.
 
hehe
 
/actually not a friday video.
 
11:35 AM
That's the oldest one I could find quickly, pretty sure there are older ones though
 
@DaveRandom hmm is that a message from 2 months ago? :P
 
@DaveRandom no, not that one.^^
 
Point was more generally about release schedule statements
Not that I have any room to talk, of course
 
someone who needs room to talk must have a fat mouth ... funny language is funny ...
 
@DaveRandom actually, he expects to not stop working on Artax until he tags rc1…
 
11:36 AM
@JoeWatkins Or a very large chin
 
Norris needs room to talk ....
 
Graphic design for dummies: Step 1: Hire a professional.
 
Step 2: Punch the hired hipster in the face
 
@PeeHaa Step 3: Underpay him and tell him that it's going to build character
 
:)
 
11:38 AM
Step 4: profit
 
Step 5: short-term profitability declines, go bust
Step 6: goto Step 1
 
he used goto ... get him !!!
en.reddit.com/r/PHP/comments/2e7hva/… to seek to mitigate cache stampedes in userland doesn't actually make sense ...
 
@DaveRandom Step 6: if (cannotFindScapeGoat) goto Step 2
 
10: HOME
20: SWEET
30: GOTO 10
 
^ there is a bug
 
11:42 AM
E_SOO_MUCH_INFINITE_RECURSION
@DaveRandom you got everyone stuck in a loop ... "well" done ...
 
It's a picture on the wall of Bender's apartment in Futurama
 
is it really ...
 
The internet has everything
 
i need the solution of this problem
 
11:50 AM
all hail the internet ...
 
@DaveRandom s/internet/futurama/
 
I said hail it ...
 
HAIL http://internet.com HTTP/1.1
2
 
yeah, I think that's how you do it ... never done it myself ...
lol
 
@akhilesh Use a database, anything else is impractical
 
11:52 AM
@DaveRandom is there any other option without storing the file in databse
 
hahahahahaha
> And I'm thinking that since it's free, maybe they will just give me a few bandwidth
 
@PeeHaa lulz
 
You can always use [`scandir()`](http://pt2.php.net/manual/en/function.scandir.php) and check if file exists in there. OR you could add a entry to the database saying something like "/path/to/file.ext" and then search database by "*file.ext" (i'm not sure you can use wildcards, but you surely got the drift)

I mean, add an entry to the database *with* the file path, and filename, and then query the database for that filename and retrieve the file path then deliver the filepath which would certainly work and not get into "storing files in database";
 
morning
 
hi guys
 
11:57 AM
morning new ppl
 
@akhilesh Not a practical one. It is possible, but it will not be useful for any form of production application, mostly because of speed
 
Man. I miss IRC. Are there any networks still active? (meaning: not full with botnets)
 
freenode
 
I might start irc'in again. I'm not suited for social networks or the likes, SN are turning into a "serious convos only" sites and I dislike that - Always used the net to be as unserious as possible (I try to limit that in this chat, obviously not enough)
 
@MoshMage see for that i need to store the file name along with the whole content and for the matched string i will fetch the file name and after that i will provide the full path to the user but my question is how can i do it without storing the file in database only by uploading it into the root directory
 
12:02 PM
@akhilesh Well the simple way is just read trough ALL your text files :)
 
@Naruto by using scandir() can matched the string
@Naruto what i have read scandir() list of file name inside the directory i need to match the string inside the file
 
You don't need to store the content of the files into the database; You just need to store the *filename* and *filepath* then show your user the matched filenames/filepaths;

imagine this table:
| filename | filepath |
--------------------------
| mosh.txt | /home/mosh/mosh.txt |
---------------------------------------------

If i search for mosh.txt I'd have return "your search mnatched /home/mosh/mosh.txt and the contents are: <?php get_file_contents($pathtofile) ?>
Or, like people are saying, you can use scandir() and then make a foor loop, checking if search query matches the file; if true put that file path inside an array and when loop-ends show the array of found files
 
@akhilesh what did I jsut say? :O
 
OOOH! INSIDE THE FILE
Nevermind then, from your question on the link I understood that you wanted to find a file in a directory tree; Not finding a value inside a file.
 
lol @MoshMage your reaction was priceless :D
 
12:09 PM
You'll have to scandir(); then for-loop; then $s = file_get_contents(); then preg_match (or strstr()) against the $s; if true then set that file inside an array;
When for-loop ends, return the array with the match-files
 
@MoshMage user will not search for mosh.text user will search for some text that may be written in the mosh.txt
@MoshMage then i will return the path of mosh.txt that your matched string found on this link
 
@NikiC agree on most points re: naming. However I would not appreciate having to wait three weeks to have a workable codebase again. is a bit over-dramatic, don't you think? I'm not saying not to rush it, I'm not saying it shouldn't be voted on quickly. Just "workable codebase" is a bit blown out of proportion, no?
 
@Naruto can it be possible
 
everything is possible!
 
@akhilesh 3v4l.org/qEYgZ something like this would suffice, I gather
 
12:20 PM
@MoshMage let me check it
 
@ircmaxell It is a bit over-dramatic ;)
However, not by much
Any large patch that wants to land now has to either wait before this is resolved, or do the adjustments for int64 just to revert them again later, which is a major waste of time
 
@akhilesh I just don't know how fast that would be if you have a ***load of files
 
> And I'd to remember that we suffer from double standards while you
guys do whatever you want with ng, and certainly with ast as well. I
wonder what you would say if we begin to be as picky and keep asking
to change things for months :/
 
yeah, it has to wait a bit, but you can work on the codebase which existed before the merge of int64 patch, until it's reverted.
 
Plus, I'm 99% sure you can't grep_match a .pdf (I never tried it, hence the %1)
 
12:25 PM
SHUT UP
I'm tired of it ...
 
Joe, mind your health; Don't get nervous :P
 
we get it, ng was done behind closed doors ... nobody actually cares, everybody voted it in ... and AST !? why is that being mentioned, I hope we don't have to listen to this same crap everytime an rfc passes that pierre isn't involved with somehow ...
 
@akhilesh Also, now I'm curious to know if that worked :x
 
@JoeWatkins better: /ignore Pierre
 
in other words: fuck double standards #php @nikita_ppv @krakjoe
 
12:31 PM
@ircmaxell do you know anything about Google Maps being slow in China due to the Great Firwall?
 
What double standards?
 
I have no clue ...
@Gordon isn't everything slow in china because of that ? (I don't know anything about it)
 
@JoeWatkins I dont care. I need to solve the problem of a slow Google Maps in China.
 
best wait for anthony to respond ... I wouldn't expect it to work like it does everywhere else, but I know nothing ...
 
@JoeWatkins John Snow! I FOUND YOU :x
 
12:41 PM
I get absolutely nothing but a headache from Z_STRLEN => Z_STRSIZE ... nothing at all ...
@bwoebi I guess that ng was allowed to change apis and nobody requested they were changed back ... but I'm clutching at straws and it took me 5 minutes to think up what the double standard might be ...
 
Good morning
 
user895378
@Fabien Here is the current state:
 
void func(zval ******with_indirection_till_the_end_of_time)
 
user895378
1. The API is not changing. It's frozen.
2. There is one known issue: streaming files as part of a multipart form body is wonky
3. Currently it's impossible to do non-blocking filesystem IO, so if you're dealing with large responses or sending files from disk your non-blocking can get gummed-up.
 
void func(zval *the_thing)
I get something from that ...
 
12:43 PM
@rdlowrey Furry
 
a painkiller in comparison to the things this patch is doing ...
 
user895378
I'm working feverishly to try and address all those so I can tag v1.0.0-rc1.
 
@JoeWatkins I do that quite often, what's wrong with that?
 
user895378
So I would say it's really close to being production ready, but not quite. Of course, "finishing" it is my top priority. If you encounter bugs I can/will fix them immediately.
 
user895378
@Danack Should I just tag rc1 with the known minor issues above to make your life easier?
 
user895378
12:45 PM
I wanted to try to resolve those before tagging, but I know I'm holding you up.
 
@rdlowrey I can wait. It's forcing me to write documentation for the 4(?) projects that i need to write documentation for.
 
user895378
oh man, don't remind me of all the documentation I've been procrastinating on.
 
Oh @rdlowrey I wondered what's the simplest/correct way to set the request method using this syntax. $this->client->request($url)->when() ?
 
Friday can only be used for refactoring ... and kittens ...
 
user895378
$request = (new Artax\Request)->setUri($uri)->setMethod('GET');
$this->client->request($request);
 
user895378
12:47 PM
@Fabien ^
 
Cool thanks. I thought as much but wondered if there was a one liner.
 
$this->client->request((new Artax\Request)->setUri($uri)->setMethod('GET'));
@Fabien there is your one liner :P
 
@JoeWatkins No, if you are supposed to: learn new socket framework (something similar to CI in terms of awfulness), write encryption module for that, write authentication module for that, create several games on that, learn flash and help intern to develop flash application, maintain codebase written in Pascal around 20 years ago.
 
@FlorianMargaine lol thanks.
 
Guys, Guys, Guys: I HAD MY FIRST VAMPING DONE TO ME am I cool now? :)
 
12:55 PM
Why do Java developers wear glasses? Because they don’t C#!
3
#friday
 
lol.
 
Actually, C# has two advantages for developer:

1. expressions (not valid argument since Java 8)
2. Events.
Well, and generics are slightly better with C#
 
@NikiC Oh, as long as it was intended, then that's great :-D
 

« first day (1406 days earlier)      last day (3541 days later) »