« first day (3759 days earlier)      last day (1188 days later) » 

1:36 AM
@IluTov single comment - replacing "// Not OK." with the actual error that would occur would be clearer.
 
 
2 hours later…
3:17 AM
Jdbxillup ・ FreeImage ・ #80688
 
3:55 AM
What's the difference between free_obj and dtor_obj? I know they aren't the same meaning as C++ dtor and free because I remember looking into using a custom deallocator for objects and it wasn't feasible, but I don't remember which handler is supposed to do what.
IIRC it has to do with two stages of freeing, or something?
 
 
1 hour later…
5:16 AM
@NikiC I am unsure about (un-)serialization for Forward/Reverse ArrayIterator. I assume I should serialize the underlying array, as well as keep an offset so I can find the right HashPosition afterwards? Seems weird to me to serialize an iterator...
Can it be forbidden or is that a no-no?
 
5:52 AM
Thanks. I hadn't heard about it

While I was studying I thought, PHP is really awful in handling the requests in comparison. I think the webserver will be blocked some seconds in heavy requests
 
The more I think about it, the more it makes sense to forbid it. Any meaningful serialization of Iterators needs to happen at a higher level.
 
 
2 hours later…
7:39 AM
Can anybody take a look at my package?

https://github.com/hamedgasemi200/php-chunk-file-upload

When I try to access my classes, I mean my only class: Hamed\ChunkFile\Upload says class not found
 
 
3 hours later…
10:10 AM
@X4748-IR: Your file holding the class is not correctly named. The file holding the Chuck class should be named "Chunk.php".
As an additional not you have an "App" namespace specified in your composer.json which you don't appear to be using (and shouldn't - you should always use your user/org prefix to avoid collisions)
 
10:27 AM
@LeviMorrison forbidding serialization is pretty much the default for internal classes
 
10:44 AM
@Danack Tried improving the error messages. Hope it's clearer now. /cc @Crell
 
11:14 AM
@AllenJB I didn't know that the name is important. Thank you
 
The filename should be the same as the class name. (This is specified in PSR-4: php-fig.org/psr/psr-4 - see the example implementations page. There's also plenty of example packages in Packagist to look at)
 
"Thanks your for feedback" Lol, my English is on another level.
 
@AllenJB I got it. Thanks again
I knew that, but I don't know why I forgot it lol
 
 
6 hours later…
4:52 PM
@IluTov Cool cool. I wasn't sure what actual error messages you were throwing, so kept it vague. :-) Fill in the actual errors/throws as appropriate.
 
@Crell I did :) I'll have to go over the error messages in general (I don't think all of them are listed in the RFC) because I think they're pretty inconsistent at this point.
 
morns
 
@IluTov OK. Let me know if you want to bounce something off me. Otherwise I trust your judgement.
 
5:15 PM
@IluTov pedantically, it doesn't say whether it's an exception or E_ERROR...like that will change any vote...
 
5:26 PM
is pecl down?
 
5:50 PM
Add support for incremental encoding conversion ・ mbstring related ・ #80689
pecl.php.net is down ・ PECL ・ #80690
 
@Danack I assume you meant this one? "Error: Cannot acquire reference to property Suit::$value" I specified that "an error is thrown" now.
 
cool.
 
6:56 PM
Pecl is down ・ PECL ・ #80691
 
 
2 hours later…
9:10 PM
whats the alternative to pecl for installing imagick in aws eb?
 
@Petah download the source and:
git clone github.com/Imagick/imagick
cd imagick
phpize && ./configure
make
make install
Or maybe.....becoming a carpenter?
 
 
1 hour later…
10:40 PM
@Petah holy crap there is a name I haven't seen in a while, how you doing?
 
10:52 PM
trucking along
fixing production issues on a sunday because our autoscaling relied on pecl :|
 
yeah............building images that you can duplicate yourself, rather than being on external services being available is....nice.
 
11:30 PM
Is PHP cheaper to host than Node.js?
 
@Bloggrammer why do you care about hosting cost? How many servers do you think you'll need?
 
@Bloggrammer calculated by what metric?
 
why........................................why do people take themselves seriously.
 
@Tiffany calculated by server cost.
@Danack, because I am not making money from the project to sustain the cost of hosting.
 

« first day (3759 days earlier)      last day (1188 days later) »