« first day (2466 days earlier)      last day (2707 days later) » 

00:00
it's a subtle difference, and if you don't verify interaction it gets even more subtle
if I have to verify the interaction then there might be a fragile point that could use another look
you are starting to sound like a test driven development paper :B
i don't get that?
you probably don't want to listen to me on this subject anyway, a lot of people like to mock everything... I find those tests often brittle and misguided, but that's me
i always have that feel that i cannot yet communicate politely in english and it's probably true... i'm interested into everyone's point of view actually
as i plainly suck at testing...
40 minutes
i'm so tired
i also have dentist at 10am. i'll sleep on his chair
00:29
@Wes I know your first language is Italian but I always forget that it isn't English
i like that i give the impression to be fluent with english lol
@WesStark you're doing fine
@Sara I'm seeing some of my ext test fail on php-src nightly, has there been a recent change to spl iterators? See travis-ci.org/php-ds/extension/jobs/254271941
@PaulCrovella i was probably sounding a dick :B testing driven development sounds like a mystic bible about something only elite individuals can understand, and that stupids can only accept as religion with no questioning
@rtheunissen None I know of off hand. Can dig in though.
00:36
they are all about this mystic "behavior" thing that nobody can possibly understand
@WesStark you weren't at all.. and i'm about as far as you can get from dogmatic about tdd or any other initialism
@Sara thanks. :) I couldn't find anything in the commit log that would suggest when this happened but nightly was passing for me last week and the trace seems unrelated to php-ds.
@PaulCrovella it is kinda wonderful how it reads easily. in fact it reads so easily that you don't stop questioning what the hell it's about...
with all the examples well crafted and completely detached from any kind of real world code
15 MINUTES
oh my
did you find a stream?
i have both amazon on web and on cable, sky atlantic
so pricey though hbo on amazon. 14.99/month just for one channel
that's basically what i pay for hundreds of channels...
00:47
most of those channels are shit though
yeah, but still overall better value for money than 14.99/month for hbo
you probably watch like 4 of them, and 2 of those only begrudgingly ... so really you're paying 14.99 for 2 channels and a bit of shame
the king in the north. the king in the north. the king in the north.
i basically just watch news, documentaries and formula 1
documentaries are a lot and they are ok
series are mostly terrible
7m
/me brings food
I have to wait anyway because, um... yarrr
01:08
booooooom
@WesStark GET HYPE
MBstring functions are much slower when called with encoding parameter – #74933
02:03
omgomgomgomgomgomgomgomgomg
shut. the. fuck. up.
though there would be a certain poetry in you being the first person I kick-mute in here
ahahahaha
why people always think i'm an asshole. i would hate if they did that to me
i'm just saying that twitter is exploding
twitter.com/WesNetmo/status/886771568302534658 sums up twitter right now. contains no spoilers
!!should i go running or not
02:22
You should go running.
How do you check if a value in an array is unique? I know you can remove duplicates with array_unique() and check for duplicates by combining that with count(). But sadly enough I couldn't find a way to just check a certain value. Doesn't seem like anyone ever asked on SO either
02:47
@icecub in_array()
eh. sorry that's not what you are looking for. i don't remember the standard lib anymore
@WesStark Thanks, that second one makes sense to me. I thought about in_array() myself, but that just returns true if the value is found. Not if it's unique or not.
php.net/manual/en/function.count-chars.php you are looking for this but for arrays
Yes exactly! I was kinda suprised PHP doesn't seem to have a function for this
in fact it doesn't have it
i suppose because arrays don't support objects as keys
I mean, I could easily solve it with my own function. I was just wondering
02:52
but you can easily implement it yourself
03:19
okay. watched.
lol
why south
there's one part i need reminding of, though, as I don't remember the detail from last season (i presume)
what's that?
the house, the man and child
when he was with arya heading to the vale they've offered them food
03:25
right, right
i'm not entirely sure but i might be correct
i remember one guy dying near a cart or something
but that was another one
yeah that was another one youtube.com/watch?v=5LOLw1w48Kk
it was quite disappointing this episode i must say
not the premiere i've expected
i mean, there are like 14 episodes left in total, not much happened in this one
we should not discuss it further here
i am being very careful as you can notice :P
yeah, but still
and tbh there is not much to discuss
only strange thing is that character heading south rather than north
03:34
2 mins ago, by Paul Crovella
we should not discuss it further here
ahaha
ok ok
04:04
mornings
morning!!!!!
hello guys, waht's up
*what's up
i am having problem sending cURL to another machine, says connection refused
!!? curl connection refused
Search for "curl connection refused" (https://www.google.com/search?q=curl+connection+refused&lr=lang_en)
• linux - Curl : connection refused - Stack Overflo… - 7 dec. 2016 - I got the following error while running curl: curl: (7) Failed to connect to … Are yo… (https://stackoverflow.com/questions/41027340/curl-connection-refused)
• Connection refused while using curl command for E… - 9 sep. 2016 - I guess, you did not start your service. Check your brew services list (https://stackoverflow.com/questions/39405674/connection-refused-while-using-curl-command-for-elasticsearch)
hello
@Jeeves elasticsearch service is running on server
04:32
@Saurab Are you interested in politics?
kinda
Can anyone help me? I received a complaint from my hosting saying the website i inherited sends spam. I looked into logs and it really is spamming
damn @JapanGuy who did you inherited from
a friend of mine built his car selling website on some tool called prestashop. when i first scanned it, there were 3 folders where anyone could upload files to any folder on the website
removed that, and now i see that the website sends out spam connecting to a bunch of chinese websites
well you can track the code which does the sending
04:36
the amount of files on the website is humongous, is there an easier way of tracking which file is sending it?
@JapanGuy you might want to have a read through serverfault.com/questions/218005/…
tracking a code is not easy and code to send spam is not very long
Is your website based on any framework ?
like C.I or Laravel ?
yes, i wish it was laravel or ci. it is built on prestashop, which i think is based off wordpress, unfortunately
i was offering the guy who owns the website and who hired to rewrite the website with a bettter framework, the guy is scared that he might lose his google ranking and didnt let me
..
damn
i have never used pretashop :(, i don't know it's structure
i think it is very similar to wordpress
04:44
I am not wordpress expert, i work with laravel mostly. search S.O first and if it didnot help you try creating thread, I bet there are prerashop expert on S.O
o/
\o
long time no see
Yeah. Should be around more now though.
nice... you got a job, right?
Job is US based but staying in Vietnam currently yeah
Kaori a name change?
04:48
congrats Fabor \o/
yup :P
Cheers Linus
how's vietnam tho? I've heard the economy is pretty fucked up there..
Better to see it more as behind than fucked. It's growing and getting up there, just slowly.
I see..
you watched the new gOt ep?
04:50
No it released today?
yup, definitely
!!!
literally everything in my FB feed is about gOt
heh
Considering picking up a PC from the UK, wondering what potential issues I might have, power wise and all.
no spoilers until @bwoebi's seen it
11
05:02
Paul, you build PCs?
@PaulCrovella insta star, obviously.
@Fabor I don't know how to answer that.. yeah? i mean i build my own... but i also keep them a long ass time so it's not often
More of a voltage question if you know about that stuff?
what about it
If I buy from UK, any issues potentially for using in Vietnam? Or maybe I just buy the PSU from Nam too
05:06
I don't know shit about vietnam, but I doubt anyone is making PSUs just for them - hell, they make 'em switched to sell between the UK and US standards
@bwoebi Dunno if refactoring WatcherProcess is worth it. I started it just to see where it would go. :-)
Hello i need help in php
you're probably fine picking them up from anywhere
@bwoebi I figure you're gonna be the last hold out so may as well play it safe
hehe
Seems PSU have a built in part to regulate power anyway. Just need the right cable
05:09
@Trowski well, it doesn't do any harm at that place. It's not a perf critical section, it may just as well use the socket package actually…
And it's saving a 30-40 lines of code … so :-D @Trowski
@Fabor looks like you'll have 220 or 127, but likely the former
Aye. Power here isn't the safest though. Probably need a good surge protector
or power conditioner
05:39
@Tiffany why not? all you need is a webserver that is set up for a front controller. I'm pretty sure @Jimbo uses a front controller for his apps...
o/
@kelunik can you request version and os info from the reporter, and also enabled extensions ?
morning
morning Joe
monring Joe
\o/
@Trowski Shall I merge websocket-refactor into master?
I find your lack of combo continuity disturbing
@Gordon well, somebody has to disrupt it.
05:55
no. nobody has to.
the combo must continue ... long continue the combo ...
I dunno what reactivex iterators are, but this looks interesting possibly en.reddit.com/r/PHP/comments/6np40n/…
he's very excited about amp anyway ...
AmPHP looks weird
it does
yeah, just amphp, all lowercase :-)
AmpReactor looks odd too ... but so does ampReactor
06:11
reamptor
monday morning mind blown
also it sounds like it might be the name of a dinosaur ... great logo opportunities ...
how's everyone? :P
@Patrick Excited for your book! Saw your email.
06:34
:-)
@JoeWatkins ah, yeah. we use that in the backend, too
my tiny brain can't process what you just said
what's happening?
Crypto is quite low atm if anyone is thinking of investing :P
yo fab
Hey Joe
07:03
i entered thisaddress(

Central Government Office
411, ABC Complex,
Stac Building,
Nandanam, Anna Salai

)into my html textarea box and storing it into database then i getting that from database and storing into a javascript variable and prints that output but my output displays into a single line like this(Central Government Office411, ABC Complex,Stac Building,Nandanam, Anna Salai)...please help me how to display this into a proper alignment using javascript?
Convert your newlines to line breaks
how?
String#replace
ScanDir Have Problem with UTF8 Character – #74934
mornin all
07:12
o/
\o
\o
Is there some easy was to handle in one place blog subscriptions?
I've got a few blogs which I wanna observe but wanna have one place to monitor their activity
user924016
most blogs have stuff like a rss feed
yeah, an rss reader
Ok, so which of online RSS readers is the best?
07:17
@littlepootis stored all string values into a single variable i print that variable but all values prints dynamically then how can i print as new line
@abdul with nl2br()
And what if some blog hasn't got RSSS feed?
Most blogs do, if they don't, you're out of luck.
Ok, thx
thanks @Gordon
07:55
mornis o/
@brzuchal i use feedly, dunno if it's "best" - just where I ended up after google reader shut down
@PaulCrovella Thanks, exactly the same was when I did also close google :) I'll give it a try
"Why are you always in such a foul mood?" "Experience"
totally @tereško ^
:-p
ping @kelunik
also moin
08:06
moin
@JoeWatkins I can reproduce it locally on Ubuntu 16.04. gist.github.com/kelunik/49deb3a2fd569c48eb00a194297acfcd
eli5 reproducing steps please ?
Clone amphp/parallel and run that:
<?php

require __DIR__ . "/vendor/autoload.php";

use Amp\Loop;
use Amp\Parallel\Threading\Thread;

for ($i = 0; $i < 1000; $i++) {
    Loop::run(function ()  {
        $threads = [];
        for ($i = 0; $i < 100; $i++) {

            $threads[] = Thread::spawn(function () {
                return rand(1,100);
            });
        }

        foreach ($threads as $thread) {
            $thread->join();
        }
    });
    echo $i . "\n";
}
Ah, eli5, don't forget the composer install. :P
So in order to support (emulate) the $cwd argument of proc_open() I am now thinking that we might need to send data about the command to run down the wrapper's stdin. If we set the cwd of the wrapper process, it might break the $cmd argument, e.g. if I run proc_open('foocmd arg1 arg2', $pipes, 'C:\other\dir'), it will look for foocmd in PHP's cwd, and set the cwd afterwards. If we set the cwd of the wrapper then it will look for foocmd in that dir instead. @kelunik
So I am now thinking it might be easier to pass all the data about the command down the wrapper's stdin (en vars, escaped arg string etc) to avoid messing about with re-escaping proxied args
thoughts?
Why stdin instead of passing as arg?
Could just base64 encode some serialization.
Mostly because of escaping
08:13
That's just the same whether we pass it via args or stdin
But I think we need two sockets per child to allow for different backpressure for stdout and stderr.
hello
i hope all is well
No it isn't. When we pass via args, any args that are to be passed along to the child need to be re-escaped.
if we do it via stdin, can just \n separate them from the command
@kelunik I'm experimenting with half-open sockets atm, might end up with 3 for simplicity so you can just fclose() the stdin socket
please can anyone help me about the ampache server for music ?
@DaveRandom Is there any possibility of unix domain like sockets, so we don't exhaust ports?
named pipes aren't pollable either :-/
that said, even with 3 sockets per process, that's over 20K child processes you can run before you are in any danger of that. If you are running 20K child processes you have other problems.
08:19
Assuming that's the only thing that runs, yes. But it's anyway just Windows, so meh.
Actually I think we can just use other IP addresses in 127.0.0.0/8 @kelunik
user924016
Really nice weather
In fact since we are letting windows automatically allocate the client ports, it may just roll over to that anyway
I am going to ignore that problem for now because it's unlikely to ever actually be a problem
> We're currently investigating similar reports regarding this issue, and I've added your report to our list.
@WesStark GitHub seems to indeed have an issue with stale avatar caches.
@DaveRandom Ports, but we have to specify the IP to be local only, no?
@RonniSkansing drizzle is nice weather?
08:24
@kelunik you are the reason I have to rebuild php on monday morning ... just letting you know ...
@kelunik only on the server end, which is controlled by amp and only needs one
at the client (wrapper) end we are just saying "give me a socket which is connected to this specific local address"
@JoeWatkins You don't have to.
@JoeWatkins by "rebuild" I assume you mean "ground-up rewrite"
@DaveRandom Ah, right.
I want to know what is occurring, so I do have too ...
08:27
anyway going to work, ttyl
mornin all
user924016
@Gordon its sunshiiiny
user924016
\o
@Gordon Im almost finished Frankenstein, Im up the part where Henry Clerval has been murdered and he's about to get married to Elizabeth
08:33
!!dad
I'm not addicated to brake fluid I can stop whenever I want
@the_velour_fog you still like it?
yes, its only just really toward the end, but I'm actually sympathising along with the characters, Frankenstein is so morose, I actually feel bad for him and his family about the things that are happening to him
08:52
mb_str*pos functions do not take into consideration mb_internal_encoding – #74935
@DaveRandom lxr :(
hello can I ask a question?
what version of phpmyadmin compatible to php 5.3.3
can't you just use Workbench instead?
hello?
which version of phpmyadmin compatible to php 5.3.3
09:07
please dont spam
You're still on 5.3?
I already asked you - is there any reason, why you can't use MySQL Workbench instead?
yes old system
@tereško i dont know about workbench
im sorry
it clearly says which version of phpmyadmin supports 5.3.3 phpmyadmin.net/downloads
09:08
You can't upgrade to 5.6 or 7?
> Older version compatible with PHP 5.2 and MySQL 5. Does not support PHP 5.5 or newer. Was supported until April 1, 2017.
so download phpMyAdmin 4.0.10.20
or don't download phpmyadmin and use a decent mysqlclient like sqlyog or at the one that comes with phpstorm
seriously, why would you put a software to manage a mysql db on the host instead of using a client?
im downloading phpMyAdmin 4.2.3 is it ok?
@littlepootis to much work
@littlepootis but i need to get the data first thats why i need to download the phpmyadmin compatible to 5.3.3
Download 4.0.10.20
ok
thanks little pootis, teresko and gordon
wait, what?
you need data?
why are you not using CLI to export it?
you do not need a graphical mysql client just to export the content of a database
09:19
@Gordon The last of the V-twins :( They're going for V4 next
@Jimbo wait. what? did I send you the wrong one? I thought I gave you the v4 link already
oh. my bad. I misread it. I thought that one already was the v4. but they apparently dont release that before 2019. still a beast that one. but not that pretty.
session_cache_expire() triggers a warning in read mode – #74936
mornings o/
@Gordon does sqlyog let you ssh into a server a create a local connection - so even if the DB server doesn't isn't listening on a TCP socket it doesnt matter? - it thinks SQLyog is a local process?
@the_velour_fog yes, sqlyog supports ssh tunnels. so does the mysqli client included with phpstorm
09:27
@Gordon No they haven't release V4 info yet. That's the last of the twins. But it's not as beast as the 1299 superleggera: 158.1 kW (215 hp) @ 11,000 rpm, dry weight 156 kg (343.9 lb)
@the_velour_fog read up about ssh tunnels
@JoeWatkins I'm going to move it to a completely different VPS provider, these ones are just too unreliable
I have a "spare" VPS that I've been paying £40/qtr for over a year and not doing anything with
although I could also just host it in our office on an old machine for free
free is good
09:31
ah it looks like sqlyog doesn't support linux though? Its a pity Ive been trying to do some editing of a mysql table by importing into a CSV but had problems @tereško yes ssh tunnels look like they can do some cool things
we have 2 leased lines that we barely make any use of, and I can find an old desktop with a core2 quad and 8GB ram knocking about somewhere
I will ask my boss
@the_velour_fog workbench support linux
and there are other SQL clients on linux too
@JoeWatkins Ive never had much success with wine
@tereško yes Ive use mysql workbench in the past (on ubuntu) and really liked it . but I would rather, nowadays use mariaDB oriented technologies, There is this mariadb workbench but it also looks like a wine deal. In the end I just have been dumping the database as a text file or bringing over specific fields into vim, editing, then pasting the new field back into mysql commandline - as a query
@the_velour_fog please stop talking out of your ass
all of mysql client are compatible with mariadb
Why would anyone wan alternative for phpMyAdmin? It's free and the best. :D
@tereško from the link I posted:

> Database Workbench is a Windows application (which works fine under Wine on Linux) for database design,

what part of that is talking out of my ass?
best
09:42
uh-oh
> but I would rather, nowadays use mariaDB oriented technologies, There is this mariadb workbench but it also looks like a wine deal.
@the_velour_fog this part
all mysql clients are compatible with mariadb
10:02
@the_velour_fog it works on wine. not officially. but it does.
@Jimbo so I have used 50ml water less now for the Plenny and put it in the fridge for a few minutes. Also, I used one of these metal ball shakers. it mixed better but it's still too watery for my taste.
and the cookie dough taste gets annoyingly chemical the more sips you take.
Morgins
mornin @PeeHaa
\o
@Jimbo have you seen eatcomplete.co yet?
10:17
configure script does check for host_alias at wrong location – #74937
abr
abr
10:32
anyone here that has used github.com/Maatwebsite/Laravel-Excel?
> An eloquent way of importing and exporting Excel and CSV files for Laravel with the power of PHPExcel
@abr my guess would be: no
abr
abr
10:46
like most sports non-millionaire clubs, ye

« first day (2466 days earlier)      last day (2707 days later) »