« first day (2439 days earlier)      last day (2523 days later) » 

7:12 PM
@kelunik would messing with gc_probability/gc_divisor make them less random?
ah.. i guess it's not about sessions.. :x
 
No, it's PHP's GC. And there's already an explicit gc_collect_cycles().
 
is that the only possible interaction with it from the userland?
 
I guess my proposal might be rather unpopular. https://stackoverflow.com/a/44649439/39946 https://t.co/HlxXCfy3E5
 
7:36 PM
for the subtle differences, add one, two or three zero-width spaces... ^^
 
yesterday, by PeeHaa
Seriously are people that bored that they introduce hurdles to shake things up and make it hard for no reason whatsoever
 
> Since test methods look like sentences, we think of them as sentences and it makes all tests much clearer.
NO IT DOESN'T FUCK YOU
 
@FélixGagnon-Grenier what?
 
@FélixGagnon-Grenier given...when...then?
 
7:43 PM
:(
 
uuuuuuhhhhmmmm @brzuchal am I doing it wrong?
 
@FélixGagnon-Grenier Yes PHP allows UTF-8 quite everywhere, I guess this is b/c of the templating capabilities for webpages.
 
array(2) {
  [0]=>
  string(37) "http://www.example.com/wpstyle/?p=364"
  [1]=>
  string(50) "Malformed authority string, given: www.example.com"
}
 
@hakre justBecauseYouCanDoesntMeanYouShould.jpg ;)
 
@FélixGagnon-Grenier One perhaps should write a checker that each PHP code-block must be US-ASCII conform and errors otherwise.
 
7:44 PM
bah... they can do as they wish. if ever, this becomes mainstream and these horrible function names are forced down my throat, I will hunt them down to the ends of the earth.
 
@FélixGagnon-Grenier No worries. JS borks on it
:P
 
@PeeHaa the example domains should only be used in documentation and printed material IIRC. :)
 
@hakre I am testing URL parsers :P
 
@FélixGagnon-Grenier ahh.. wow...
 
7:46 PM
@PeeHaa Well then, it's not malformed.
 
Surely it's not that "smart" :)
 
@pmmaga indeed. wow... :P
 
@hakre I think I am doing something wrong, but it's a single line. Pretty hard to screw up I think
 
Created a website for this company in php
 
BTW @FélixGagnon-Grenier is your backend also JS?
 
7:47 PM
Now in building the mobile app in angular and ionic
 
@PeeHaa depends on the project, but yes, I turned full hipster with webpacked express/koa servers
 
kk
Sorry
 
prepares for the ban
;)
 
Neh. Just don't leave us
 
no worries
I learned one thing, from all this.
 
7:48 PM
Should I change anything as far as Ux
 
Unsurprisingly, the php ecosystem is superior to at least one other
 
I wrote some javascript a few week ago.
 
MGE
Hey, I'm having problems reading this file with php pastebin.com/W21cGWzC
 
yeah that was to be expected :P
 
MGE
using this:
 
7:49 PM
composer and stuff is much better than npm
 
MGE
$fh = fopen('dir.txt','r');
$lines = array();
while ($line = fgets($fh)) {
	$lines[] = $line;
}
print_r($lines);
 
@hakre Not you too
Heeeelp
 
It was even a static website.
 
@FélixGagnon-Grenier I am wanting for next week when yarn is starting to suck and we have jakjs
 
MGE
I'm receiving this in the php: pastebin.com/cT1MpGU7
 
7:50 PM
One of these modern single-page-apps or how it is called these days ;)
 
MGE
and I'm not able to delete the blank spaces :/
 
lol @hakre
 
spa it is. I actually like those. ReactJS is pretty cool, to be fair
 
What do you think about angular
 
it's heavy duty
 
7:51 PM
Slow as fuck from what I have seen as a user agent / client
 
bigger overhead than react to actually do stuff
but angularx (2+) is a proper thing
 
I can see a site is using angular by the way it loads
 
angularjs should die in a fire from orbit
 
lol
what about java lol
 
I have no idea.
 
7:52 PM
@MGE your file has 25 lines and php is giving you 25 lines back. what were you expecting?
 
I actually got a better understanding of OOD looking at some JAVA stuff.
 
I actually got a better OCD looking at some java stuff
/me works
 
OCD?
 
Object Compulsive Disorder
 
lol
 
MGE
7:54 PM
@pmmaga the problem is that I want to clean the blank spaces and I don't know how to do
I used while ($line = fgets($fh)) {
if (!empty($line)) {
$lines[] = $line;
}
}
and strlen but I'm not able to clean the blank lines
 
What does strlen give you?
 
MGE
1
 
There you go
 
MGE
sorry, 2
2
2
2
2
37
2
2
2
2
2
81
2
81
2
81
2
81
2
68
2
81
2
81
2
81
 
still not empty :P
 
7:56 PM
I can give you the answer, but I rather just tell you to find out what characters they are in some way
Spoon feeding is no education
 
MGE
and I can't replace " " with "" because in this case I will replace some "valid" spaces
 
You have all the information you need
 
MGE
and I think that replace lines with 2 chars is not the best way, because if in a line I have 2 characters valid line it will be removed
 
Up to you now what you do with it
 
MGE
and if I split each line, something weird happens, instead of receive d,i,r,e,c,t,o,r,i,o I'm receiving d, ,i, ,r, ,...
I tried all my thoughs before asking here :/
 
8:03 PM
@PeeHaa I can check that parser in the morning. It's too late for me now
 
@MGE what function are you using to split the string?
 
@brzuchal No worries and no pressure :-)
 
MGE
@Dereleased str_split
 
@MGE That doesn't do what you think. Read The Friendly Manual
!!docs str_split
 
[ str_split() ] Convert a string to an array
 
8:10 PM
I wonder, is Jeeves a teapot?
 
I'm a little teapot
 
@Jeeves is that like being the little spoon?
 
@Danack No.
 
@Jeeves So it's like being the big spoon?
 
@Danack If we were alone wat would you do to me?
12
 
8:14 PM
@Jeeves I think the question should be what wouldn't I do to you.
 
@Danack The turing test is for computers.
 
SICK BURN
 
8:28 PM
@Dereleased pfff. dat edit made me think Jeeves was now scanning room messaes
 
8:45 PM
Falha ao executar ldap_connect passando uma lista de servidores – #74788
 
Hi, can anyone help me with this question stackoverflow.com/questions/44662123/…
 
@FélixGagnon-Grenier Anything to make you smile (out of fear that they're watching you)
 
it's appreciated
that angular1 codebase really is removing all my joy of living these days
 
9:26 PM
> https://github.com/amphp/file/commit/6d2ca5e2b26b2e190424aae9207646d7d2f89ec0#diff-eae10778ed9def0246961ea83df5821dR53

This also ensures a clean shutdown for these if PHP exists.
… if PHP exists?!
\cc @kelunik :-D
 
:P
 
@bwoebi Well if PHP doesn't exist you clearly can't do a clean shutdown using PHP...
It makes perfect sense
 
@NikiC yeah, nice tautology…
 
@bwoebi PHP exists => This ensures a clean shutdown.
Note: It's an if, not a when. :P
 
… you imply… if it hasn't crashed?!
 
9:42 PM
@bwoebi Does UV have something similar to continue all pending file ops?
 
@kelunik well, you need to uv_run() … if you don't want all the other handles, cancel them.
 
@bwoebi As long as all tests work as expected, it doesn't matter anyway.
 
@kelunik note that it'll be problematic if you call Loop::stop() explicitly…
and the callbacks in destruct sequence will try to use the loop being destructed
 
Shouldn't be a problem for the eio case.
 
talking about uv
 
9:46 PM
But IO ops leaking into other tests were a problem, I just don't know why they are a problem.
 
@bwoebi If you need anything, my name is Zachary
...and nobody's biting... "It's Hezekiah if you don't"
 
 
2 hours later…
Wes
11:31 PM
shhhh
 
> Zagreus sits inside your head,
Zagreus lives among the dead,
Zagreus sees you in your bed,
And eats you when you're sleeping.
 
Wes
11:52 PM
zagreus needs some salt and pepper
guess who's spent months on a logo that will be mostly shown at 50*50 px
this guy
 

« first day (2439 days earlier)      last day (2523 days later) »