« first day (2284 days earlier)      last day (2889 days later) » 

14:00
One cultural question, Having a girlfriend when you are married is known a bad thing in europe?
IPv6 I'm guessing has the same problem because it doesn't know if the server's in its IPv6 neighbourhood or not
Only when the wife finds out
dunno, will need to test that one
@PeeHaa :D
@NikiC perhaps I did something wrong, but in my small tests where I tried DUMA with PHP, no chance... libgmalloc only has a very small footprint
14:01
But more serious yeah that would be pretty weird in any sane country
@DaveRandom next: caching bind9
@PeeHaa I see. thx
@DaveRandom You can thank @Ekin for finding the bug now
Is there a bounty?
Bob and I figured out a strategy for fixing it when we first discovered the issue, it just needs implementing, and I am unreliable.
I am UDP based
14:03
UDP at least sometimes work
(Unreliable DaveRandom Protocol)
:D
(Unreliable DaveRandom Protocol)
OK @Ekin if I just issue a sudo reboot that should be safe right?
14:04
@DaveRandom thanks a lot really
I think it would be safe yeah
if you want I could do it in dashboard as well
done it now
remote mgmt is for when you cannot access the machine ... do it on the machine directly if you can ... if you use remote mgmt and for some reason (network busy) it cannot do it gracefully, it will forcefully reset the machine, with obvious bad consequences ...
@DaveRandom You broke it again :P
restarted service as well?
what's going on? I literally just rebooted, nothing else :-P
dunno, I can't even ssh right now
14:07
lemme do so
might just be taking ages to power cycle I guess
@DaveRandom means it's booting
or something really fucky happened
ugh wat?
addressof machine ?
14:08
I'm in though
Here's hoping DO has a console :D
@Ekin oh \o/
okay good, no need me
lol
wait...
Yeah dave repaired it worse
10
You're in how?
14:09
slowclap
this smells of iptables
did someone forget a var dump
:D
or something
/me is going to go now
I didn't touch the code
bebye
14:10
I just fucked with the DNS that's literally it :-D
I added dumps though
Are you on the local console?
But that's not it is it?
yeah I'm in ssh
Dat tension @Ekin
14:11
I see dumps of json in journal that's all though
I'm just getting connection timeouts
@Ekin lemme check if we can all blame me or chris
similarly http no connection
I say chris
My money is on firewall
14:11
shall I look @Ekin ?
my money too
Did you ever restart before @Ekin?
@Patrick yes, you can collect events from a stack
Sounds like non persistent firewall rules
@Patrick see whitewashing.de/2013/07/24/doctrine_and_domainevents.html - which is kinda what prooph does
oh fucksicles
14:12
I cannot access ssh either anymore
gitamp.audio is not responding to ping
oh lol
k shall I rebooting it in dashboard?
maybe DO is that fucked up somehow
well that probably ain't gonna help
I feat it won't yeah
Did you make changes to the firewall rules before the last reboot?
14:13
if you have a shell already, check iptables status ?
@Ocramius isn't that the same as #3? Extend a base entity and store them there until persistence
Isn't ubuntu doing the firewalld thingy instead?
Ah, yes
misunderstood what you meant in #3
thought you were doing a one-to-many :P
But 1-3 pretty much all go against SOLID?
@Trucy move? :)
14:15
ufw
@Leigh It isn't an option for the moment, not enough cash plus the SO really like it there. We may move in a year near a bigger town with lots of IT jobs.
@Trucy So I guess you're either in the North or rural Ireland
@Patrick yes, but as said, compromises
@Leigh Better, in Cantal, right in the center of France
14:16
I disabled ufw just now @JoeWatkins and everyone
I don't get what's actually wrong
returning domain events from cmd handler is the best approach, but messy to implement atm
@Trucy I... didn't get French vibes from you
you an import? :p
Nope, France born and raised!
Still no dice :(
(and I don't sound french because I shower every morning)
14:17
lol
@Leigh dunno, the base level of disdain and apathy in this room is so high that it might be harder to detect
@Ekin get addressof interface ifconfig
(and I don't sound french because I shower every morning)
4
14:18
(but I eat baguette on a daily basis)
I think it's the lack of "brb, smoke break"
excellent plan
@Ocramius but a command is just an app service, right? So why not add a dependency on the event dispatcher there and trigger it there (where you would do repository->save() otherwise)?
> If you power-cycle your droplet, you will need to connect to the console, halt the server from the command line ('sudo shutdown -h now') and then re-power the droplet.
looks like DO doesn't like reboots
I assume that is an acual power cycle from console instead of a reboot?
14:23
I think the floating ip address is not friendly to reboot ... although I'm not sure why ekin can get a console, and I can't even ping the machine ...
I have the root console
fcking hell I get called again
@JoeWatkins addressof ? this is all ifconfig gist.github.com/ekinhbayar/3458b22ab699e8c695e097a10d6e6a78 just in case
that address does not match dns
floating ip was uhm
159.203.149.59
14:25
I can connect to that immediately
how is the DNS configured? can you dynamic updates?
power it down, and start it from DO mgmt
I did exactly that
whut
invalid user krakjoe?
can disable ufw again
wait, wrong machine
14:27
:P
nah it won't let me in
disabled
I see it blocks you indeed
> Permission denied (publickey).
/s/blocks/hates/
but I don't get how that all got effed up?
@DaveRandom are you also blocked?
dunno, I haven't logged in since that first time ... someone else done it ...
14:29
Tempted to drop key pinning, downsides are way worse than what it offers
oh wait
@Sean What are the down sides?
@JoeWatkins it's joe@
:D
@PeeHaa Accidentally your website is the worst case
14:30
/me totally needs to return that skype call now
I.e. bricking it for 60 days if you'd follow recommended practices
@Ekin I can get in on the IP from the ifconfig
Care to share? :)
@JoeWatkins I think Dmitry is slowly really on board with typed props… he wants to merge #2226 soon into master… :-)
6 mins ago, by Ekin
@JoeWatkins addressof ? this is all ifconfig https://gist.github.com/ekinhbayar/3458b22ab699e8c695e097a10d6e6a78 just in case
14:30
@Sean Wel; yes it's not convenient. But that's not the point :-)
I don't get why the public ip doesn't work anymore
@PeeHaa The risk is indeed much higher than the benefit for most sites.
> â—Ź networking.service loaded failed failed Raise network interfaces
@kelunik It all boils down to key management cc @Sean
@PeeHaa Right, and most people and organizations suck at key management.
14:32
True. I've got secondary and tertiary keys backed up in case of an emergency (also declared in the key pinning), doesn't stop me from being paranoid though :P
@Sean Nothing wrong with being paranoid
(to some degree) :P
@PeeHaa btw.. I'm happy to add key management tools to the acme-client.
@kelunik That would involve off-machine/site storage though
Or do you mean just generating the key and backup key(s)?
Sure, but that's exactly what I mean. Currently there's no easy way to replace the used keys or export them other than digging into the directories.
I think it should have commands to backup and reimport keys being used.
ah I see what you mean. yes that would be a nice utility
14:36
@PeeHaa what are you? image-store.slidesharecdn.com/…
backyard to the big cities :P
aw, I was hoping you really were a cheesehead
I think at least. either that or frat boy city
Map is weird
oh wait
that's the hague
French cheeses > any other cheese
I demand a dedicated spot on the map
14:38
(is it french vibey enough for you @Leigh ? :p)
lol
@Trucy Nope, I'm sure lots of non-frenchies love french cheese
oooooh
wait
And they would be goddamn right
why is is that people get so offended, when you point out, that their question is an "xy problem" (even when not using that term)
14:39
After checking carefully this time. Multiculti skyscraperfest is where it all happens
@tereško Because at the point of having to communicate with actual people after (hopefully) having crawled through other places looking for answers they probably tend to be a little impatient
Also age of google etc.
HTTP/1.1 200
accept-ranges: bytes
cache-control: public
etag: ea993acc12dea19c4a299739e7f930a1
last-modified: Tue, 10 Jan 2017 22:11:28 GMT
expires: Mon, 23 Jan 2017 14:41:39 GMT
content-type: text/html; charset=utf-8
keep-alive: timeout=6, max=999
date: Mon, 16 Jan 2017 14:41:40 GMT
transfer-encoding: chunked
content-encoding: gzip
it seems to work but networking is still failed state
Who fixed it and how? :P
14:42
I'm going to shutdown, you power up using DO
And sometimes telling someone that the circle doesn't fit inside a square hole when the shape and hole sometimes isn't there choice to make is also frustrating to them.
kk
DO gives you web interface to serial console ?
@JoeWatkins done amirite?
@Ekin yh
14:43
there's a web interface and also a really ugly terrible virtual console
can't copy paste and shit, never gets your key layout right
still, it's a last resort, just checkin in case we really break shit ;)
Yeah. That's how fake consoles are
the gitamp service does not autostart ?
â—Ź networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
   Active: active (exited) since Mon 2017-01-16 17:43:40 +03; 1min 36s ago
     Docs: man:interfaces(5)
 Main PID: 1058 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   Memory: 824.0K
      CPU: 243ms
   CGroup: /system.slice/networking.service

Jan 16 17:43:38 ubuntu-1gb-nyc3-01-gitamp systemd[1]: Starting Raise network interfaces...
Jan 16 17:43:40 ubuntu-1gb-nyc3-01-gitamp ifup[1058]: Waiting for DAD... Done
it seems so
I just restarted
ok ... try not to break it again, because I'm going out now :D
14:45
yay, that's also good
awesome :D thanks a lot
/me sneaks in to see what sorta black magic joe did
@JoeWatkins I've been … just discussing array typehints with Dmitry…
looks like it's possible to do these without too much overhead if we cache the type
@bwoebi You mean Type[] $foo?
yes
What's with multi-dimensional arrays?
@bwoebi weak types?
also how do you handle invalidation?
14:53
@NikiC yeah, weak types will have conversion overhead.
we're currently not going through any api when modifying array elements
This change would be all over the place, even more so than references, right?
@NikiC no. We do not manipulate user passed arrays in many places apart from VM
We do
no … we usually either consume or return fresh arrays
Though often on-stack
14:55
@NikiC yeah, I said apart from VM
It feels pretty unsafe...
@NikiC oh?
@bwoebi what's the state of typed properties?
@NikiC generally fine, we are currently discussing whether it's possible to avoid extra assign ops etc. for statics
While you are at it add error when argument count doesn't match function signature. kthx
14:59
There were a few small bugs, and forgot adding support for IS_ITERABLE
@bwoebi great
how big is the diff?
@NikiC +1900/-500 (without tests, vm_execute.h and var_unserializer.c)
so not too shabby
@Trucy That doesn't seem to wash french-canadian away...
@FĂ©lixGagnon-Grenier That's because you don't have the Paris metro
15:07
Warning: parse_str() expects parameter 2 to be array, array given … I think I have done something wrong…
I gagged the first time I had to take it
And I'll gag in a few month when I'll have to take it
> I gagged the first time I had to take it
OMG
I was speaking about the metro
Because it stinks
yes, yes
What were you thinking about you room-elevener?
15:09
I'm just being annoying, don't mind me ;-)
(-;
it is said that after a few weeks you get used to the treatment
Next conference projector game
15:10
:D
I lol'd to that when I saw you tweeted it for 'expert' review
I choked on my own laughter after watching a youtuber play it
like... can't even breathe
@Ocramius I can confirm this is a fun game
Can somebody tell what I need to put into .travis.yml to get PHPDBG? Came across github.com/travis-ci/travis-ci/issues/4593 and thought that @bwoebi or @kelunik might be able to help.
@Trucy I have to go to Paris in April, thanks for the warning.
@SebastianBergmann phpdbg should be always loaded in PHP 7+ builds
Anonymous
15:18
@Ocramius @PeeHaa @Ekin Rust alternative if we succumb to boredom
Anonymous
Also, playing tonight?
@JayIsTooCommon It's less fun when played non-local
@Leigh if you pardon me the joke, I knew you liked cock
@Leigh When exactly? I'll be in Paris from april 7th to 9th (if nothing changes)
@Leigh hangout - shouting dirty things at each other
Anonymous
15:19
@Leigh What about the LARP version?
@Trucy 21st-24th
shoot :(
dotsecurity.io, dotscale.io :)
@JayIsTooCommon The company that made it did a VR version as a hackathon project
@SebastianBergmann Yes, it's available by default starting with at least 7.0.
Anonymous
@Leigh :P
15:21
@bwoebi excellent (sorry distracted, blame @Ekin)
@bwoebi also excellent
Is my avatar still pink for you all? It's correctly displayed on the right, but not in on the left hand side of he chat messages.
@kelunik looks fine on both places
@kelunik yep, still pink
@NikiC must be cached for you
15:23
@bwoebi It's been days now for me.
And I didn't change it. Dunno why it changes to the identicon sometimes.
@kelunik Ah, thanks.
And it's not even the normal identicon, the one displayed in the avatar switch panel is purple.
@NikiC did you know that github will show you the diff/patch for comparison of branches, not just PR's ? append .diff to url for plain diff, and .patch for patches ... I just noticed this a few days ago ...
@JayIsTooCommon I tried to find it for you, it's on one of Free Lives Game Jam Island videos
Anonymous
15:33
@Leigh gee thanks :P
I couldn't remember which one, there's a couple of hours worth to go through
15:49
@DaveRandom Ready-ish. I have updates applied and a user for me and an opengrok group; still need to add users for other people. You volunteering?
@LeviMorrison he is, he can't take it back, he's going to have a go ... definitely ...
@Patrick I actually fire the events in Repository#persist($aggregate), which feels more natural in an OO-context
@JoeWatkins He's unreliable so s/definitely/indefinitely
You can probably go full functional with reactive event streams
15:58
@JoeWatkins sure ^^
damn it, I thought I knew something you didn't know ...
it's going to happen one day, and we're all going to have a party when it does ... I am anyway ...
Trying to do some de-duplication. Rows of id, ext_id, flag. I want to find min(id) grouped by ext_id, unless flag is set then I want that id instead... About to enter 3rd level of subquery, anyone got a good idea about how to do it to save me from writing a nightmare query?
I hate JS-only pages
@Leigh can you give an example set of data, and expected results. Or even an SQL fiddle.
16:06
@FélixGagnon-Grenier especially when the JS from the external cdn fails to load…
@Danack I think I might just do 2 queries - de-dupe of data with flag set, then de-dupe without. Probably easier
@Leigh Is SELECT IF(flag = 1, ext_id, MIN(id)) as id FROM table GROUP BY ext_id everything you want?
When a person talks quickly, which one is more proper as a advise for him?
- slower please
- slow down please
@bwoebi that is a strange kind of js only page. normally it'd be bundled from the initial server, should it not?
@kelunik uh, that's returning more rows than there is in the table, so I guess not
thanks though :)
@bwoebi I'll admit it sucks then though :)
@FĂ©lixGagnon-Grenier I currently fail to establish a secure connection to cdn.travis-ci.org
Oh, my bad, slightly less rows than there are in the table, but still not quite what's needed. Two queries it is
@Leigh It's hard to tell what you really need without an example.
Yea I know, but also hard to copy/paste the data without leaking stuff.
16:12
Just a few lines with dummy input and dummy output would be enough
Anonymous
@Shafizadeh both are correct, first one would probably come across more friendly
row_id, category_id, item_id, flag
1, 1, 1, 0
2, 2, 2, 1
3, 2, 2, 0
4, 2, 3, 0
5, 2, 3, 1
6, 3, 3, 1
7, 3, 3, 0
Idea being, I want to do a DELETE ... WHERE row_id != subquery.row_id
To nuke the extra entries
@Shafizadeh You might want to join an english learning related chat, like chat.stackexchange.com/rooms/24938/language-overflow :D
@Leigh What's the ext_id now? item_id?
@kelunik aye
Anonymous
16:18
@Gordon Do you know the easiest way to setup a docker container running Nginx, PHP-FPM, and mysql?
@Leigh you want some kind of SQL query ... you're welcome ...
I have quite some wtf here… behavior changes [apart from just output] depending on whether I add a var_dump or remove it…
Anonymous
3v
@Trucy and @JayIsTooCommon I see thx
SELECT * FROM (SELECT MIN(row_id) AS id FROM table GROUP BY item_id HAVING COUNT(row_id) > 2 UNION SELECT row_id FROM table WHERE flag = 1) GROUP BY id
16:22
@JayIsTooCommon lolwtf. That's amazing! @Ocramius
@JayIsTooCommon Maybe. Haven't decided just yet
Anonymous
okies
Anonymous
@PeeHaa Do you speak docker?
Nope
Sorry
Anonymous
Appology accepted
It's easy, you just have to crash randomly and take a craplot of storage space
16:25
@samayo :)
That doesn't sound like docker, that sounds like docker in a vm on a mac
does anyone know if multiplication in a PHP script uses the llmul instruction at all?
wont that depend on the compiler?
16:30
maybe
^ curve25519-donna found vulnerable to timing attacks on 32-bit hardware when complied with MSVC
not very practical ones, mind you
@ScottArciszewski it uses smull
ok, now to find out if that's affected too
I don't think we use curve25519-donna anywhere - (I do in my ext, but that's not bundled :))
curve25519-donna will probably still use long long on 32 bit hardware
um
uses the ref10 implementation, which in a few places just has integer multiplication
@bwoebi How much is the impact of a float * int vs. int * int in PHP?
16:36
@ScottArciszewski You know I already implemented Curve25519 in PHP right? :)
Might have saved you some time
did your implementation support both X25519 and Ed25519?
@kelunik I doubt you'll be able to measure any difference
I didn't bother with Ed yet, making normal scalar mult fast was hard enough on the noggin
I was following libsodium's code, which made it easy to implement both :P
I mean, it's not super fast, but it's still practical
16:37
the larger goal was sitepoint.com/…
@samayo the manual way would be three containers each and then using docker compose. But there is ready-made all in one containers at dockerhub. For instance hub.docker.com/r/richarvey/nginx-php-fpm
@ScottArciszewski what's the time difference? C being about 50 times faster?
I haven't done surgical benchmarking, but the testsuite runs 2-3 times faster with the PECL extension installed than without
@kelunik Why? it just doesn't matter
16:41
@bwoebi Because the multiplication result is a float then instead of an integer.
@ScottArciszewski yeah, you have testsuite overhead too
Psalm reported it as type mismatch.
Anonymous
@Gordon I have tried that exact image, but could not map my src/ folder to it.
fucking unhelpful static analysis…
sure, I'll get around to benchmarking the particulars eventually :)
Anonymous
16:42
Assuming I have my web files inside src
@samayo you can mount volumes with the -v option or copy them into the container by providing them as the context
Anonymous
This is where I am stuck, but when pulling nginx alpine all the options -p, -v .. work
@ScottArciszewski You know it's largely impractical to try and get code running in constant time in the PHP VM right?
You can do as much as you can, but so many external factors
as long as it can be made secure against remote attackers I'm ok with "still leaks cache-timing information everywhere"
@samayo the son is occupying my notebook right now, so can't create an example atm
Anonymous
16:48
No problems :)
@ScottArciszewski I also have implementations of Poly1305 and ChaCha20 if you need decent speed versions
Including an optimised Poly1305-AES
I don't have ChaCha20 yet, but I do have Poly1305
All MIT, help yourself
groovy :)
^ I'll probably make a fork later tonight and add it
Can AMPHP be used as a websocket client?
16:57
Sure. @Jeeves is one.
@kelunik Yes.
!!package amphp websocket
[ amphp/websocket ] An async websocket client built on the amp concurrency framework
Makes sense, cheers ^^

« first day (2284 days earlier)      last day (2889 days later) »