« first day (2831 days earlier)      last day (2131 days later) » 
01:00 - 15:0015:00 - 22:00

3:00 PM
@Wes I'm listening
 
it would also be better to install it via composer tbh, without a package manager you still have some of those problems
 
Wes
he's still more president than trump will ever be
 
@DaveRandom So what do I do. Just install it?
Does anything need to be added to the original script?
 
Amor omnia vincit...
 
@JBis for now, I'm just working something up
 
3:01 PM
@Tiffany Give it a go. It seems to fix the issue. I just tried it on the thing I'm working on. CSP report gone.
 
@DaveRandom ok
 
@jjok I will when I'm done with a couple other projects that take priority :)
 
@Tiffany For me, the report happens with jQuery dialog popups.
 
@jjok we have other libraries that use .html, and I can't spend the time to both update them and debug any issues that may arise
 
@DaveRandom Also, is it more stressful for server to readfile vs user directly accessing file?
~1 GB of RAM per readfile is a lot
 
3:09 PM
SABC thumbs up : 10 K, thumbs down 16 K ... ?
 
@DaveRandom Done
 
@JBis no, the point of readfile() is that it doesn't do that
the reason you had that problem in the first place was the output buffering
 
@NikiC Violent agreement™ :-)
 
VIOLENCE!!!
 
@DaveRandom Idk what that exactly is. P.S. can you include that in your gist
 
3:13 PM
I did
 
(the output buffering fix)
 
Even when internals agrees, they have to argue over hard they agree.
 
ok
@DaveRandom Some code still has your stuff `\DaveRandom\Resume`
Warning: Unsupported declare 'strict_types' in /.../Resume/DefaultOutputWriter.php on line 1
Fatal error: Interface 'DaveRandom\Resume\OutputWriter' not found in /.../Resume/DefaultOutputWriter.php on line 6
 
@Tiffany I think you just stick that line of code somewhere so it always gets included and overwrites the jQuery function. And it just magically fixes everything
 
3:27 PM
@DaveRandom Any ideas?
 
@jjok but the article says that .html uses .globalEval, and there are several instances of .html usage
I'm not yet ready to open that can of worms.
 
4:05 PM
how can I rewrite this so that it doesn't use eval? $this->write_."$name".($value); doesn't seem to work exactly? I'm not sure if that's the right way to do it.
 
@Tiffany $this->{'write_'.$name}($value)
 
@NikiC thanks :D
that was the last eval I think in the code, the others I was able to refactor, but wasn't sure how to go about that one
 
4:59 PM
@bwoebi Zeev and @kelunik are asking for one more week before we start voting
Fine by me, fine by you?
 
5:21 PM
evenin
 
5:39 PM
@NikiC Fine by me, I don't expect much discussion happening - but okay.
 
Who's here for work ?
Good.
 
> Version warning: Imagick was compiled against Image Magick version 1683 but version 26896 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
 
6:00 PM
is it worth considering adding the php-src to this? codetriage.com/?language=PHP
lol wat, WHY... why would you write games in PL/SQL
 
github.com/concurrent-php/ext-async/issues/35 < @bwoebi Any idea what causes that? Am I blind?
 
> Your scientists were so preoccupied with whether they could, they didn't stop to think if they should
 
@Trowski EXACTLY!
My office is adorned with an Amp sticker finally
 
@Tiffany Woot!
 
user image
4
Amp sticker was centered in the picture before I cropped it, but had to crop out cork board cause it has some PII.
 
6:25 PM
@NikiC What's the reason for the hard deadline now if it anyway targets 7.4?
 
I found this code where the stdClass object was augmented to behave like mixins... but before I throw it away I was wondering if anybody has a suggestion for a use case?
 
@kelunik It's not necessarily a hard deadline. If we get active discussion for the entire following week -- sure, we can wait longer.
If we get more silence and on Monday someone brings up their point and says they "need more time" to consider it -- well fuck off
 
please mind your language, there are childish people present
 
The RFC has been there for a month and apart from Macro and Nicolas there has been no feedback that I consider to be of value -- but lots and lots of meta-discussions
 
sounds like a regular meeting...
especially psychologists are good at that :)
So nobody knows a use case for on the fly for mixins and dynamic objects? Then I'll put the code away
What is an Amp sticker and what is it for ?
(I'm not a guitar player)
 
6:44 PM
it's a save the manatees thing
 
@NikiC Hold on there slow down slow down. There's no need to rush this. You see I'm amazingly patient so it might take a while for me to get around to doing anything of value read it.
 
yay, it looks like something I've seen before ... amfphp
(but that is only on first sight)
Amp looks promising.
 
@pmmaga it was dropped in favor of awaitables
 
6:58 PM
I know, it was intended as a (poor) joke
 
doh, I see now, context
woosh
 
Interesting approach.. NikiC seems part of it... I read they rewrote mysqli through userland PHP?
 
@Tiffany you just had to wait a moment
 
:D
 
@Code4R7 there's about a dozen or so people who've worked on the php source in here... NikiC implemented generators in one of the PHP versions
@PaulCrovella which is typical for me
 
7:00 PM
Can it be used by developers that learn everything the hard way, like .. me? The site looks like I can't wait to try it.. (although I should be doing other work first as usual)
 
I suppose it depends on if you have a project that would benefit from async programming
 
At first sight it looks like Amp is inspired by Node.js
Owh well.. I don't know.. I'm already making async calls to my web app
I don't have multiple sockets opened at the same time yet
Which would be benificial because you don't have to rewrite anything
But I'm impressed ... I though I was stubborn trying to rewrite a bunch of code myself to learn and do a better job than most articles.. and here you are rewriting mysqli in plain PHP.. that's way cool! (if it's fast as well)
In my case, I'd love to try... but Amp would need to be production ready and mature and most importantly, safe as in security.
Is Amp all that?
It sure is lovable.. github.com/amphp/amp/issues/213
 
Summoning @kelunik to sell some amp to @Code4R7
 
7:15 PM
LOL
 
!!poop
 
💩
 
^ BEHOLD
 
yeah, you're nerds alright :)
 
it also does other stuff too but I forget what
 
7:17 PM
You're such nerds that compared to you, I look normal :)
 
that piece of poop was brought to you by an amp powered bot ^^
 
It'll turn into fertile soil after a few years...
"to effectively design for concurrent processing in our code we have a couple of options:
1. Get smarter (not feasible);" LOL
Okay.. promises are were the building blocks of Amp.. so now what...?
Found some answers.. (I found the FAQ :)
And it seems I've insulted you by comparing Amp with Node.js.. sorry for that.
It looks like Amp is not for me. I think I'm too stupid to be able to use it.
And this concludes my chat for today. Have a nice evening.
 
7:37 PM
The twitter account seems to be having fun with puns about the RFCs. Who controls that anyway?
 
@Code4R7 They still are in the latest released version. :)
 
@Code4R7 steam250.com uses Amp
so yes, it's production ready
 
@Code4R7 It's similar, but with less callbacks. :)
 
@pmmaga I'm guessing @salathe? maybe?
seems like his kind of humor
 
@pmmaga There aren't any GIFs, so it's probably not @Sara
 
7:42 PM
haha :P
@Tiffany could very well be
 
it's annoying that I can critique code, but hell if I can write something worth a damn compared to the code I'm critiquing
 
Hey
 
@pmmaga Pretty sure that's Sara
 
I have come to some thought, from what I remember when I used to work with PHP, the user has saved session ID in the cookies, so PHP uses that key to retrieve his session file.
What if I bruteforce that session ID until i get someone's session ?
possible exploit?
E.g manually change the cookie session id until i catch something
 
@NikiC this makes me think it isn't
 
8:06 PM
@pmmaga That makes me think it is. :D
 
that's another way to see it :D
 
@Jony if anything else, there's a strong chance that Paragon's Security Guide for 2018 will answer any other security related questions with PHP you might have.
not saying it'll answer all of them, cause there are some questions I've seen that haven't been addressed by it, but it does answer a lot
 
8:26 PM
@DaveRandom Ever find solution?
If anyone else wants to help: Create a PHP script that can readfile an MP4 video and have it successfully play in Safari.
 
@JBis You don't want readfile for that.
@JBis Because it doesn't allow range requests, which requires the user to always buffer the full video.
 
@JBis nginx can do that, and still have authentication in PHP - nginx.com/resources/wiki/start/topics/examples/x-accel
 
8:45 PM
@Danack I am running apache.
@kelunik You should be able to with header.
 
Question for people who work with OSS: what environment do you use to work in? A VM/docker container/etc on your local machine, or a VPS hosted through something like Digital Ocean?
 
Oof. Found a good company with good practices...but they don't let you use the internet while you're there. #Wat?
 
How is that in any way shape or form "a good company with good practices"?
 
On the programming side at least.
 
8:56 PM
so... no google?
what
 
At least in the prelim interview it seems like they're doing all the things I want to be doing.
I don't know. I'll ask in the next interview. Was worried about asking about it in the first interview.
Had a few interviews where they were asking for Python. Not really sure I would like Python.
 
@Wes lmao, when he says 사랑해 (I love you), it reminds me of a Korean drama where the male lead says 사랑해요 to the female lead, but doesn't mean it
it's just funny how much they're similar
 
Wes
conan cracks me up youtube.com/…
 
lmfao... "Stop liking it!"
\o/ I guessed the Korean spelling of his name right
 
Wes
damn i can't even distinguish the single characters in korean
they look like a bunch of random lines to me
 
9:06 PM
it took me a while
there's like... 40 or something letters in the Korean alphabet
there are more vowels in Korean than consonants, BUT the vowels cover a range of different sounds, and they will always sound the same, unlike English
@Wes ryanestrada.com/learntoreadkoreanin15minutes if you're curious, and if you're truly interested howtostudykorean.com
 
@Wes How often do you fast?
I've been eating 1200 calories a day for like two weeks. Already lost 6 pounds.
 
Wes
every single gram i lose while fasting i get it back when i start eating normally
beer is one of the culprits
i am sure of that
 
Yeah. The key is not drinking.
There have been several days where most of my caloric intake was alcohol.
 
you probably also have to get over the hump where the body goes into "OMG I'M STARVING" mode and tries to retain all of your body weight, and when as soon as you eat something, it goes into conservation mode because "FOOD"
friend explained it to me years ago
I think it takes maybe two or three weeks, then the body adjusts
 
Wes
i wonder if there exist some gatorade energade thing that is zero carbs
 
9:22 PM
\o going home
 
o/
 
Wes
ah coke zero is zero sugar. i thought it was 0 calories
 
@Wes have you tried water?
 
@Danack Have you tried adding stuff to water?
 
I drink flavored sparkling water as my soda replacement. Now really going home.
 
9:24 PM
yeah, like freeze the water first then add gin and tonic. Tastes great.
then throw away any unmelted water.
 
@Wes Yesterday in the shop I saw somebody paying for coke coffee which was 0 caleries according to the can
 
Were two things I have never seen in my life
 
Wes
@Danack i do. i actually enjoy it more than you guys. i have this lemon flavored one that is amazing
but i get bored
this playlist is gold for me youtube.com/… cc @PeeHaa
 
lol
 
01:00 - 15:0015:00 - 22:00

« first day (2831 days earlier)      last day (2131 days later) »