« first day (2384 days earlier)      last day (2578 days later) » 

12:00 PM
:P
 
Wes
same for me my friend, same :B
 
Ever had a client host a wordpress site on Windows ? It's freakin magical.
Client kept asking, what's the big deal, shit keeps breaking we can just fix it. And anytime anything goes wrong and he asks what happened, my answer to him is always 1. Windows 2. Wordpress.
 
lol that's bad
 
@Darius WE HAVE A WINNER!
that is the single worst idea I have heard this year, and it's been a real competitive year
 
My response, or their choice of the two? lol
Just looked up CMS's and found this. cdn.makeawebsitehub.com/wp-content/uploads/2015/06/…
Drupal download and actual live site ratios vs wordpress lmao
160m downloads = 75 mil sites for wordpress, 25 mil downloads for 1 mil sites for drupal
 
12:12 PM
That's a shitty metric, btw
@Darius dat architecture
 
+1
 
@Darius that image is weird in so many ways
not least of which is... why is it an image??
 
why would your client insist on a windows host with wordpress? how much do they pay for hosting that? let alone maintaining? did you tell them they can have wp hosting directly from automattic with their own custom url? wordpress.com/#plans
 
i understand why it's an image. There's this guy on google that's ranking #1 for SEO advice and he calls them infographics.
He's claiming people love looking at those and stay on your page a shit ton more because they're scrolling and seeing visuals like kids
 
Yeh but you could make a web page look exactly like like that
whatever, I don't understand marketing, or SEO, or people
 
12:18 PM
@Gordon without saying too much about the client, he had his "expert" overseas european "professionals" set him up on amazon's VPS , then set upload and download bandwidth to 150/kbs and ignores all recommendations because he had some successful startup in the early days of internet.
 
Wes
@Darius wat
 
exactly
i think i blinked like 10 times after i saw the setup within 5 seconds
on another note, enjoying cloudfront from amazon for another client. they had investors in dubai and business is run here in west coast of US. 30 second load time dropped to 3 seconds for dubai after implementing it.
 
which do you prefer User\UserRepository or User\Repository?
 
2nd
 
so if you use multiple repository you use lots of aliases?
 
12:29 PM
I personally do.
 
And what do you call the entity?
 
Wes
@Patrick first. namespace should be "belongs to" not "is a" imho
i hate having to alias
A\B\User\Repository as UserRepository
A\B\Foo\Repository as FooRepository
 
Ya, agreed. That way you don't have user\repository\houseA you have houseA\user\repository
 
I agree with you @Wes
Having a disagreement in the team
 
Wes
in other words, class name alone must be self describing enough
 
12:34 PM
Hey Wes, did something happen to the number of contributions you have? I could have sworn you had several thousand points, now it's at 1,xxx ?
 
Wes
you confuse me with someone else. i always sucked :B
 
:\
 
Wes
wait are you the legendary darius, the one with the opel vectra as avatar
 
@Patrick yes 2
 
No, Just the Darius, the guy with a dog and a monster bottle on my desk.
 
@PeeHaa @DaveRandom got a repro of my preg-compilation error
https://3v4l.org/2T5g2
 
Wes
i love that. the opel vectra is like the most vanilla car ever, ie a car that you would never expect to be used as avatar :D
 
Does that guy have a bad Rep or something? lol
 
not sure what the problem is though
 
Wes
nope, i just remember the vectra :P
 
12:40 PM
I had a friend of mine make fun of me. He said I'm the only person he's met in his life that gets the exact same car model for his 2nd car. so now I have 2 of the same car...
 
You really meant from . to -? @staabm
 
wow my grammar is ridiculous today.
 
As in didn't you mean to do {[0-9a-zA-Z\.\-\s]} instead?
 
@PeeHaa within a character class one dont need to escape meta characters?
 
But - is a special character inside a char class
 
12:42 PM
args.. the minus,..
 
:)
 
the dot dont need escaping there, right?
 
no
 
right,.. perfect! thx man.
 
np
 
Wes
12:43 PM
@Darius that's wise probably, cars that are produced for many years are good and they get even better as more are produced. if you don't care about the appearance and you know for sure the car is good, why not buying it again
in fact in my family (my dad sold cars) we did that for decades, we changed cars ever year and every year would be pretty much the same car :P
 
it's easier to fix too, 1st one was first car ever, fixed and broke a lot of things, 2nd one can easily fix without thinking twice.
i work on them myself rather than mechanic, saves huge $$$
good way to get away from the computer too
 
Wes
eheh
 
@Darius I wish I could do stuff like that
Tried to install a new radio and speakers once
Was terrible
I mean I can take stuff apart no problem
 
Wes
i tried that too, despite i've seen people do that for years. couldn't find screws and gave up halfway
 
but when putting stuff back you find yourself with parts being able to do stuff they shouldn't right? like glove compartment turns on the headlights and stuff ?
 
Wes
12:48 PM
you need to take the whole dashboard apart to install the radio, or something
 
@Wes That
 
Wes
yeah it's crazy
 
@DaveRandom everything appears to work acceptably now, I think ...
 
And cables from doors -> body used some weird connector
 
DUDE, radios on old Hondas are ridiculous. My gf needed the radio code and only way to get that for a 90's honda is to take the radio out. I had to take apart the whole dashboard to get it.
 
12:48 PM
can you re-engineer children to make them quieter ?
 
Yes, but it's not a reversible operation
 
lol
 
hehe
 
Wes
lol
 
@JoeWatkins I heard spankings help, but it's illegal in the US
 
12:52 PM
that's ... a really strange thing to say
 
like I said, "I heard" lol.
anyway, sun's coming up, time to sleep. take care all.
 
later
 
Wes
is it actually illegal "symbolically" beating your children? as in, hurting them just slightly as punishment
 
… why is that even a question we need to ask?
 
Wes
it's normal here, and we are not monsters
i was a bad child, they should've beaten me more :B
 
12:56 PM
It did wonders on me, I know I would've done too much shit and get away with it if I didn't get the punishments I did lol.
k night
 
Wes
just wondering what's the worlds view on the matter @bwoebi
 
1 hour ago, by little pootis
Arse is giving everyone a free copy of Witcher 1 Extended Edition.
paste*
whatever
Ars*
 
Yeh "arse" is something different :-P
 
Question of the day:
You do actually pronounce it the same right?
I know I do
 
nope
 
1:06 PM
Really?
 
and since it's our language, our way is right ...
the American pronunciation is the name for an oxen
 
an oxen?
I'm even more confused now :P
/me goes back to school
 
sorry, my fault ... oxen ...
an ox ...
 
Isn't that a different thing?
 
See! Just use simplified English and everybody would be fine
 
1:08 PM
I thought an ox was a sort of cow-like thing and an ass was a donkey
could be wrong though
 
Wait wat
Yes
 
yeah you're right ...
 
"ass" definitely a milder cuss than "arse"
 
Wes
am i still in the php room?
 
Pretty sure you can say ass on TV at 3pm if you want, not arse though
 
Wes
1:09 PM
anuses, arses,,, yes yes it is
 
@DaveRandom WAT
 
I don't make the rules
 
Luckily
 
I agree
out of context hasty agreements are the way to go rite?
 
agree
 
1:11 PM
Rule #1: There are no rules.
Rule #2: Failure to obey rule #1 is punishable by death.
Rule #3: No smoking, unless required by rule #4.
Rule #4: Same as rule #3, only better.
 
@PeeHaa Boo! The message exceeds the 140 character limit. :-(
 
@PeeHaa this is not what she said.
 
@FélixGagnon-Grenier Nope it's like throwing a sausage down an alley
 
A cocktail sausage
 
1:13 PM
speaking of sausages, did united finally gave a boatload of money to that poor asian doctor?
 
@FélixGagnon-Grenier Nope
 
Last thing I heard they were going full on againts him
He was the aggresive one
 
are you serious?
cringes
 
Yes. Was on the Dutch radio so it's true
 
1:14 PM
clearly...
 
Speaking of stupid things
 
Wes
@DaveRandom you have any idea how strange it is. for us all synonyms and derivative of something "private" or offensive are equally banned in certain contexts. you instead can say "penis" freely but not "*****"
that doesn't make sense :B
 
@DaveRandom did you have slides for you async talk somewhere?
 
Wes
ass and arse is even stranger :B
 
@Wes Why can't you say asterisk asterisk asterisk asterisk asterisk ?
 
1:15 PM
pffft, it ain't news if you didn't hear it directly from the man outside the train station wearing the tin foil hat, and holding a sign that says "it's coming" ...
 
Wes
@PeeHaa censorship
 
hahaha
 
how to debug zend_mm_heap corrupted with apache and mod_php ?
does it create a coredump like a segfault would?
 
@PeeHaa yes but they are terrible, hang on I will find them
 
well ...
is it only reproducible inside apache ?
 
1:17 PM
I see it happen very often
but dont know how to repro
 
okay so attach to a worker process, set breakpoint at the panic, and wait for it to enter the debugger ...
 
how do I know where to attach the breakpoint?
could we do it together on teamviewer?
hmm "very often" was a bit optimistic... I see it several times within hours..
 
breakpoint at zend_mm_panic
if you're still struggling in a while, I'll take a look ... but about to go afk on school run, have a matter of minutes right now ...
so in case not clear ...
$ gdb -p proc_id
[CTRL+C]
break zend_mm_panic
continue
 
We're about to replace the last SQL Server in the Stack Overflow cluster (currently a replica). Hopefully this tweet is the only indication.
 
1:25 PM
then wait ...
 
will try, thx
 
Anonymous
> speaking of sausages
 
lolwat
> Software architect (f/m)
Since when do companies do the f/m thing for job postings? :P
That's weirdly weird
 
French maid. It means they want the successful candidate to be comfortable wearing a french maid's outfit around the office.
 
I can see why in that case
 
1:34 PM
@JayIsTooCommon sounds like a good position for you
 
Thought it meant something else
 
Anonymous
@DaveRandom thank you.
 
> {Companyname} is colorful, flexible, full of energy and creative ideas
wat
 
Anonymous
oh and as you were so interested, Gervais was disappointing
 
That doesn't even make sense
@JayIsTooCommon He was?
 
1:35 PM
@JayIsTooCommon shame
 
Anonymous
yes.. I think he had done too many shows at this point and you could tell he was fed up of repeating himself
 
Yeh I get that could be a problem
I saw Eddie Izzard once with a similar feel to the set, but the tour after that it was much nearer the start and much more natural feeling
 
2:04 PM
hi, I got a question if I open phpmyadmin and select a database then click on Designer I get a structure of my database. How is that structure called specifically
 
schema?
 
Anonymous
TicketController extends GeneralTicketTypeController extends GeneralItemController extends UserRestrictedController extends UnrestrictedController extends Controller extends \Controller
 
:P
 
@JayIsTooCommon Inherit ALL the Things!
 
I just love the UserRestrictedController extends UnrestrictedController part
 
2:05 PM
hahha
 
Anonymous
ikr... this is also in a Laravel app which makes it better
 
Please tell me at least one of those is an empty class that should've been an interface
 
Anonymous
nope
 
@JayIsTooCommon :trollface:
 
Well, I guess I'll descend a single level of my ivory tower, but no further
 
2:07 PM
@JayIsTooCommon that, of course, is an abuse of imagination, not code that a human willingly wrote to actually do something, rite?
 
Anonymous
if only
 
2:20 PM
yesterday, I started yet another awesome projectâ„¢ using not so hipster tools. and I am proud to say that it's the one I got the furthest. It actually does basically what I wanted it to do (capture tasks and list them). \o/
 
Anonymous
> capture tasks and list them
 
Anonymous
Is that what we're calling a TODO app?
 
@FélixGagnon-Grenier which not-so-hipster tools?
 
@samayo yes
but that one is my TODO app
@Dereleased react, webpack and some php backend
 
well don't be coy
or do you just mean "some php I wrote on the backend"?
 
2:34 PM
3 messages moved to Trash
 
@Dereleased well, it's the first time I leave the view totally to react. no templating at all server side
it's basically an api
which makes me revisit model and controller in an interesting way, being completely insulated from "view"
 
@FélixGagnon-Grenier Aerys? :P
 
Anonymous
@FélixGagnon-Grenier Mine sharing it?
 
Anonymous
If you intend to opensource it, let me know
 
@kelunik yeah, for now I just used nginx
not quite full ready for deploying aerys :)
 
2:37 PM
@FélixGagnon-Grenier honestly, I like that kind of model for a lot of things. I was working on a personal project like that a couple years ago. I came so close to finishing, too. Who knows, maybe this summer I'll finish and release it. Or reboot and release it.
 
@samayo not at all. it does nothing really at the moment, but you can laugh at me
 
Anonymous
I need to laugh
 
Dan
Any suggestions on what the safest (unambiguous) way to dual-license a piece of software is? My goal is prohibiting 3rd-party inclusion and derivative works entirely, but also create a second party-specific licence for another business to include/derive/distribute the software.
LGPL + licensee-specific secondary?
 
Anonymous
@FélixGagnon-Grenier At first glance it seems nice. I'm at work, but I definitely will give it a try.
 
Anonymous
2:47 PM
I have been trying to throw my hate on something like this, too bad it's made with react (hate that thing)
 
Anonymous
@Dan send them a picture of your beard. Nobody will mess with you.
 
Anonymous
vuejs would've sold me into it
 
heh ;)
I'm a bit used to react and I wanted to see something, so I went with the past of the tools I know and can make work in three hours
 
@kelunik ReadableStream doesn't extend Iterator because getResult doesn't make sense for a stream of bytes. advance was also called wait in my first iteration, but wait wasn't a good choice because of Amp\wait(). The interface moved to being essentially an event-emitter because it seemed to fit better with the goals of Aerys or listening for data from a socket.
 
Dan
@JayIsTooCommon My beard is licensed under CC 3.0
 
2:49 PM
@kelunik After looking at pause and resume on Reader, I'm not sure why I added those… the watcher was already being disabled until data from the socket was consumed, so the methods are pointless. I think I just forgot what I wrote in my own code. :-P
 
@Dan Put it "free for non-commercial + opensource use" and then make a license versioned available.
unrelated - calling your company "Just eat" is kind of bad. Calling your employees "Just Eaters" is worse: image-store.slidesharecdn.com/…
 
Dan
@Danack Sounds good; should I use LGPL or another out-of-the-box license to cover the first part? And would that interfere with licensing it to specific parties?
Or would the literal clause "free for non-commercial use" mostly cover that.
> Free for non-commercial use unless otherwise licensed by the author
Wait, LGPL permits commercial
 
"would that interfere with licensing" - so long as you have the phrase, "non-exclusive license" in the license somewhere, you're free to license it to other people however you want.
 
Dan
Awesome; thanks @Danack
 
There must be an example "non-commercial" license example out there....I'm trying to find one.
Also, the sqlite license is amusing: hwaci.com/cgi-bin/license-step1
 
Dan
2:59 PM
lol
tl;dr legal doesn't really yield much
 
@Trowski Yes, because getResult doesn't fit into Iterator already. ^^
 
Not really. Really the two factors are i) does it get in the way of people you want to try out the software from trying it out ii) How much can you afford to spend on lawyers to enforce the license anyway.
 
What's the real use case for Amp\Stream? @bwoebi @Trowski
 
@kelunik Because Stream shouldn't implement Promise?
 
@Trowski I think it should not, as said earlier today.
I think we should completely kill it.
 
3:04 PM
@kelunik And replace all the uses of it with what?
 
@Trowski What are all the uses?
 
I use it to wash dishes, season food, and prevent the overthrow of my government by sentient dishes made of food.
 
@kelunik Aerys uses it for request bodies and websocket messages, amphp/postgres uses it for tuple results.
 
@Trowski Request / response bodies should just be ReadableStreams.
@Trowski amphp/postgres should just use an Amp\Iterator then, not an Amp\Stream.
 
@kelunik you iterate over a stream.
 
3:09 PM
@kelunik Actually it does, the instance of Stream is kept internal.
 
Dan
> Modification and/or distribution of this software, associated documentation files, and this non-excuslive license is not permitted.
 
@bwoebi But those streams definitely don't have a result.
 
Dan
@Danack ^^ Good enough you reckon?
 
So it doesn't make sense to extend Promise.
 
@kelunik a successful end is also a result
 
3:10 PM
And at that point I see no point in Stream over Iterator.
 
@kelunik Not extending Promise would make a lot of sense, effectively killing the result, but onResolve will need to be replaced then with an almost identical method like onComplete.
 
@bwoebi If nothing threw, it's successful.
 
^ this (what Aaron said)
and at that point we can just retain the Promise
 
@Trowski Why? The advance() promise just resolves with false somewhen.
 
So in Icicle the only way to consume Observables (which are very close to Stream) was an iterator.
What if Amp\Stream only had a getIterator method that returned an instance of Amp\Iterator?
 
3:13 PM
Why even have Amp\Stream then?
 
Hello Guys! I am a beginner in PHP. Is It Good To Learn The DRY Approach?
 
Having only Amp\Iterator also solves the "give a subscriber a chance to subscribe".
 
@kelunik As they are in Amp, there would be no reason then.
 
Anonymous
@RenatoLazaro yes
 
And things like Artax emitting events during requests should just use a custom implementation.
 
3:19 PM
@JayIsTooCommon What's approach will help me in the future as a developer?
 
@kelunik Let me put together a PR with what I'm thinking and get some more feedback.
 
Anonymous
@RenatoLazaro I would concentrate on learning PHP first.
 
@RenatoLazaro constantly doubt of everything you think you know
 
Also, don't learn PHP
 
Anonymous
yeah, be a goat farmer @RenatoLazaro, you'll have a better life
 
3:22 PM
You'll have more fun with another language :)
 
@Leigh hum?
 
Anonymous
or.. another language.. sure.
 
@JayIsTooCommon kkkkkkkkkkkkkkkkkkkkkk
 
Python developers definitely smile more
 
Is PHP so complicated to learn like this?
 
3:24 PM
@RenatoLazaro no, that's the thing. it's so uncomplicated you can manage to do stuff very easily
alas, you can also manage to do stuff in very wrong ways very easily.
 
I am starting my studies and at the beginning I am half lost in the middle of so many materials and standards to be followed. I think it's natural for any beginner.
 
is this backtrace helpfull for anyone? I need to find the cause of this error

*** Error in `/usr/sbin/apache2': munmap_chunk(): invalid pointer: 0x00007fd536c54200 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fd5578d47e5]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1a8)[0x7fd5578e0ae8]
/usr/lib/apache2/modules/libphp7.0.so(+0x2ea063)[0x7fd554221063]
/usr/lib/apache2/modules/libphp7.0.so(execute_ex+0x1b)[0x7fd5541cde4b]
/usr/lib/apache2/modules/libphp7.0.so(+0x2dbf5d)[0x7fd554212f5d]
 
Anonymous
That would be my nightmare.
 
Anonymous
I don't even know what is going on
 
@staabm Would be more helpful if it was from a debug build
Line numbers > offsets :P
 
3:38 PM
@Leigh will a debug build work in production?
@Leigh I also have a memory map in case this helps ;)
 
Wes
@NikiC if i am correct the nodes api doesn't have a strict prototype, as you are adding properties on the fly even if undeclared. given that, i think the clone should be as simple as cloning everything that isn't a primitive
 
Are you not able to reproduce the issue outside of production? a repro script would be very helpful
 
@Dan yes, except you don't distribute licenses, you transfer them, so "and this non-excuslive license" could be removed. And maybe somewhere else (like where you say you grant people a license) say that the license is non-transferable.
 
Wes
i mean, that looks simple but is going to end up a huge mess probably
like, what to do with the namespacedName thing, as it's not declared currently
 
@DaveRandom Mwahaha. But seriously, we should get this
 
3:47 PM
@Leigh no repro found yet
 
@Jimbo The problem - the main reason it was rejected/would have been rejected (I forget whether it voted and cba checking) when Phil/Joe worked on it - is that it's O(n), thus there's a not-insignificant performance penalty. That is a problem that cannot be solved without the array itself carrying type information around, and that is just... not very PHP (and has other implications for "untyped" arrays).
Personally I'd rather have something generics-ish
btw @Jimbo I personally would not vote against it for that reason, that's just the main reason we don't already have it
 
Wes
$o = new (any arbitrary expression returning string)(); is there a way to make this work in 7.0 :\
 
@DaveRandom Why wasn't generics put through? Too complex?
 
@Wes Behold, the most horrible piece of code you will see today: 3v4l.org/EZo06
@Jimbo dunno if a generics proposal has ever really got off the ground
I think Sara might have written an RFC once, check the RFC index
 
Wes
@DaveRandom ahaha beautiful
@Jimbo y u no help me.
again, we can't even get proper variance yet
 
3:57 PM
gotta love code with 10 non-alphanum chars in a row
 
@Wes just assign your arbitrary expression to a var and call new $var();
 

« first day (2384 days earlier)      last day (2578 days later) »