« first day (2499 days earlier)      last day (2674 days later) » 

23:00
lol
> Note: This function is binary-safe.
I don't have an easy way to test it right now
what the fuck does that even mean
what isn't binary safe?
that the string doesn't terminate at the first null byte
ah right
but isn't that true of all PHP str* functions?
23:01
@DaveRandom password_hash
OK fine, that makes sense
strings are just a really bad idea, I always forget this until I think about how they work
Also I've heard @Jimbo's mom is totally not binary safe
no it's non-binary
lol that edit
23:06
> and returns it in various ways.
lol!
What the actual mother fucking waht
0 - an array with the byte-value as key and the frequency of every byte as value.
1 - same as 0 but only byte-values with a frequency greater than zero are listed.
2 - same as 0 but only byte-values with a frequency equal to zero are listed.
3 - a string containing all unique characters is returned.
4 - a string containing all not used characters is returned.
there are so many functions in the sidebar that I have no idea what they do or what they are for
what's the use case for that?
I mean I'm sure there are use cases but how is that in the standard library?
I am wondering what it stands for
@DaveRandom as part of a scanner/tokenizer
I still don't see it
... I mean whistles innocently
room owners can look at that >.>
23:12
I'm sure there's a bunch of stuff in the manual that I would have found useful at some point in the past had I know about it
I just don't understand going through EVERYTHING in the manual piece by piece
just... why
@DaveRandom the current token ends when you hit any of the bytes x y or z, how many do you grab from the string buffer before moving on to the next token
I'm not going to fault him if that's how he learns, cause everyone learns in different ways, but surely there's gotta be a better way...
@PaulCrovella OK gotcha
mmm, I never tried to write anything like that I don't think, I might do that at some point
sounds like the sort of thing that would be v. frustrating though
I never tried to fuck with bison either, for the same reason
I've got an update planned for jsonreader to do it that way, which should speed it up considerably.. at the moment it's just handling things byte by byte, which was easy and sufficient for what I needed it for
23:17
@Tiffany you know those teachers at school who were entirely disconnected from the real world and just lived in a bubble of their subject within the education system? That how I imagine they work
@DaveRandom I work at a college... I see it all the time...
It's funny to work with the teachers that I used to learn from... I see a completely different side of them.
I read the entire php manual back in the php 4 days. I wasn't sitting down doing just that, but doing so helped me get familiar with the standard lib
@PaulCrovella fair enough
didn't try to memorize it or anything, just went over it to get a feel for what was there when I was first learning it
23:21
yep, that was one of those "you're fucking kidding me" moments... there were more
I mean I know that must date back to the very very early days of Zeev and Andi, both what it does and what it's called are dead givaways
> The date of Easter Day was defined by the Council of Nicaea in AD325 as the Sunday after the first full moon which falls on or after the Spring Equinox. The Equinox is assumed to always fall on 21st March, so the calculation reduces to determining the date of the full moon and the date of the following Sunday.
> The algorithm used here was introduced around the year 532 by Dionysius Exiguus. Under the Julian Calendar (for years before 1753) a simple 19-year cycle is used to track the phases of the Moon. Under the Gregorian Calendar (for years after 1753 - devised by Clavius and Lilius, and introduced by Pope Gregory XIII in October 1582, and into Britain and its then colonies in September 1752) two correction factors are added to make the cycle more accurate.
I mean that is semi-interesting but probably doesn't belong in the manual
history lesson
I start sentences with "I mean" too often
there are worse things in the manual
23:25
like a comic
that someone took great offense to
deviating to play wikipedia a bit ain't all that bad
the offensive thing is that the alt text isn't included
!!xkcd goto
23:29
apparently the php manual can't have jokes
all serious all the time
it tells you how to use php - how serious can it be really
how is php.net/friday not yet a thing, btw?
@PaulCrovella The available "sunglasses" styles are variable depending on the day of the week
23:35
don't care, php.net/friday should be a thing
> friday doesn't exist. Closest matches:
tidy
... no
ah well, that's calendar
huh, never heard of tidy till now
dammit youtube, why do you have to suggest me an SC2 match that looks really good
oh well, I'm done learning for now

« first day (2499 days earlier)      last day (2674 days later) »