|Comments on Sunday 29 June 2003:|
|Grarh. PHP is a stupid language with no sort of function naming or design conventions being apparent. Half the functions take parameters in "block, snippet" order, and half the reverse. But most pointedly annoying to me is the horrible application of, then deviation from set theory in function naming; "array_intersect", "array_diff" and "array_union". Oh, wait, no, not array_union at all, because that would complete the set. Instead there's array_merge, which, admittedly, doesn't actually fulfil the function of a union operator, but nor does it actually perform a merge. Its functionality would be better named array_join, or, better still, array_append.|
The lack of array_union is still irksome in that there's an incomplete set; it's an unnecessary function, in that one can easily emulate it with "array_merge(array_diff($a,$b),$b)", but unnecessariness doesn't stop PHP making all sorts of other unnecessary redundancies, does it? Inconsistency is the word of the day. [09:55]
|I'm just starting to learn PHP... sounds like I'm in for quite an adventure. *sigh* I miss AppleBASIC.|
|To add to your joy, PHP5 beta 1 includes array_combine(). No idea if it's what your union would do, mind. No way I'm installing beta software on a live server. Especially PHP, with its huge security fix releases almost daily.|
|I totally agree. But what I really came here for is your vampire game. Because you don't give your email, I have to comment here to say something. First of all I love that game. It's great. However, when my brother clicked my link and signed up, it thought we were the same people (we have similar IP addresses, we are on a network) so I didn't get blood. That was disappointing. Our names are Karin and Krote, so if you go deleting people who are the "same" please leave us alone. We do not want to be deleted. Thank you.|
|Or you could just try using Perl. Oh wait, you didn't want that advice did you. Fine, then use ASP instead, that's a /fantastic/ language..|
Karin, are they 'similar' or the same? If your IP shows as something along the lines of 192.168.xxx.xxx, it's probably just a NAT firewall, you may have only a single IP address for your network. If you both have separate connections with the same ISP, you'd have "similar" ISPs (maybe), but I think you'd still get credit. I don't know, I don't have access to the code, maybe Raven set it up to prevent people with dynamic/floating IPs from getting a new IP, then giving themselves blood, but I wouldn't think he would make it so sensitive as to ban signup bonuses from ppl on the same ISP.
That was a waste of time, but I'm bored and just got online for the first time since Sunday.
|Blog != Vampires discussion. There's a fucking email link at the top of every blog page, and there's a form for asking questions in the vampires FAQ.|