« first day (3326 days earlier)      last day (1613 days later) » 

Wes
1:14 AM
mornen
@Shafizadeh a lid
what you called door is called lid
 
 
3 hours later…
3:57 AM
o/
 
Wes
\o
 
4:56 AM
@cmb I think I've just realised that I can't use ZPP to check that the object passed implements Countable ... because it doesn't check for the count_handler >_>
But what's the benefit of using the object handler instead of declaring that the object implements count?
 
5:43 AM
it doesn't matter, extensions are allowed to do that and so do @Girgias
 
 
2 hours later…
8:00 AM
copacetic fine; completely satisfactory; OK.
 
Off the top of their head, does anyone know if strings in array keys stored by PHP from Mysqli's fetch_assoc are shared?
Must be, I'm getting lots of refcounts when dumping the zval.
 
 
2 hours later…
Wes
10:15 AM
@JoeWatkins that brand einhell is scrap
bought a circular saw, an angle grinder and the table saw........... all 3 have noisy bearings
they rattle
of course is not matter of noise but more a matter of them exploding in my face
the circular saw is especially scary, because it doesn't soft start, it kicks to 15000rpm instantly
 
11:10 AM
Send them back o.O
 
 
1 hour later…
12:20 PM
hello
 
Hello
 
i am trying to use redoc with my already written api documentation on postman
 
Yes so...?
 
how do i do this? any ideas? maybe a nice article somewhere
redoc documentation doesn't really say a lot :(
 
I have no experience with redoc maybe someone here will help you soon 😊
 
12:26 PM
okay
i think there isn't really any cross platform compatibility
but this suggests otherwise github.com/Redocly/redoc/issues/90
 
 
3 hours later…
3:24 PM
@JoeWatkins This doesn't really answer my question however, I'm not asking to remove it I'm asking if there is any actual benefit to using the object handler instead of implementing countable or are they functionally the same
 
cmb
3:50 PM
I guess they're functionally equivalent, but the count handler is faster (doesn't have to call a PHP function).
 
Ah, okay so it has some pretty good value
Good to know :)
 
 
3 hours later…
7:20 PM
Barbarabet – #78867
 
 
2 hours later…
9:11 PM
My English is so worse. Is there a noun which represents both encode and decode?
or both, must not be as "one" - e.g. would an "encoder" would be suitable for both encode and decode? (from my guess it would be only encode, not decode which would be "decoder").
Or is that a "codec" ?
"Codec is a portmanteau of coder-decoder." just found it on Wikipedia.
^^
 
 
2 hours later…
10:46 PM
@hakre serialization
 
11:04 PM
Well, TIL there are stackoverflow chatoroms
IS this accessible from a normal protocol like IRC? .. Or is it only this web chat?
Anyway, ... Have been trying to find an answer for quite some time. Is there a well known PHP ->transformation<- library?
I don't really mean to serialize or deserialize. Some of the libraries (Like the JMS one), I guess, technically could pull this off somewhat. But I'm not even so sure. I have dozens of different formats (that are serialized via JSON, XML, some are coming from databases and thus are just a plain 2D array by the time I get them) .... that need to be normalized into a single format and then converted into an object.
Most of it is just renaming the field names, ... Some is doing renames + simple string manipulation (strtolower, strtoupper, ucwords, substr, trim,etc) ... Some of it is very simple conditionals (if a is not empty, then output X should be the value of input Y, .. or output Z should use the first non-empty value of inputs A,B,C)
Some of it is fairly, but not impossibly, complex as well: Parsing really non-standard formats (like the conversion of a string >62 1/3"< , interpreting it as sixty two and one third inches, and converting it to 5.192 ...
(that being 62.3333 'inches' to 5.192 ft) ... so it's ETL stuff I guess, but the existing ETL libraries I've found are generally just really pipeline libraries. If i'm going to use a pipeline lib I might as well use one I'm familiar with
 
ThW
11:44 PM
@A.B.Carroll PHP itself.
 
Well, I certainly don't disagree. I am not a fan of "metalanguages" (or annotations, really) .. Was just curious if there was a good library to save a little time
 
ThW
@A.B.Carroll for specific formats sure - but what you're describing needs more flexibility.
 

« first day (3326 days earlier)      last day (1613 days later) »