« first day (1786 days earlier)      last day (3177 days later) » 

11:00 PM
I don't think "Dan" is that bad
 
How can I determine how many online users a server can handle? I've just made a test with loadimpact.com
DATA RECEIVED - 74.44 MB
REQUESTS MADE - 2848 reqs for 25 virtual users
That's all I can see from there
 
I've been having trouble getting my receiving page to retrieve a "intval($id)" (a value from a hidden input type) from another page containing a looping form. The trouble, of course, is that nothing is being retrieved from the receiving page.
 
11:06 PM
@Paul Crovella I would assume session users containing a record in a "users" table
Or perhaps the number of session users the server can handle at a time.
 
^ right
2nd is what I'm trying to examine
In about 2 weeks the site will need to be able to handle >400 users online at a time
 
your definition of "user" is a "session user" - so what's a user?
 
@Ekin That's still a meaningless phrase....does an online user mean they are making one request per second, or does it mean they make one request every twenty seconds?
 
around 20 requests per one login, not really sure how many per x time interval though
How should I test this?
 
you first need to figure out exactly what it is you're measuring
and a "user" ain't it
 
11:15 PM
you're right
 
@Andrea sigh… I'd liked to discuss the symbol choice off-list…
 
@bwoebi did you ever get the official HHVM response regarding compatibility?
 
10 hours ago, by NikiC
@bwoebi So Hack's not saying "don't use it", so much as "It's no big deal if you don't, and here's some problems it'd avoid." With "problems" referring to potential future divergence.
\cc @Andrea ^
 
I've been having trouble getting my receiving page to retrieve a "intval($id)" (a value from a hidden input type) from another page containing a looping form.
is it possible, on the receiving page, to set "isset()" conditionals from the sending page?
 
11:35 PM
Also @Andrea generally, ~> has the advantage of generally being surrounded with whitespaces, while -> isn't. That's a big distinction, honestly. Unlike => being surrounded with whitespaces too.
 
@bwoebi I did mention that, I think
 
@Andrea no, you didn't.
 
> Here, the unusual spacing might give it away (a variable property access would usually be $b->$a), but not everyone is going to put spaces around their squiggle arrows.
 
$b->$a vs $b ~> $a is still almost identical to me, 'despite' the spaces.
 
@Andrea Honestly, your example is a bit weird… I've not really ever seen $b -> $a with spaces in code
and btw, how often do you have dynamic properties?
 
11:41 PM
Also uncommon
Still, if you didn't know of ~> at all and didn't spot the tilde, how would you know it wasn't a dynamic property access?
 
IMHO, $a => $b is much more common than $a->$b
 
And who says it won't be written $a~>$b
 
@Andrea same reason why you don't write [$a=>$b]
We now also could argue that you easily might take the ==> as => if you don't know the ==> operator.
that discussion is honestly now going ad absurdum I think.
 
@bwoebi No, it's got a different number of characters in it.
And no, you're just dismissing people's feedback.
 
@Danack Sure, but when reading code and not knowing about ==>, I'll just not trust my eyes and pretend there was a => unconsciously.
@Danack not trying to dismiss… but I'm definitely not convinced.
 
11:47 PM
@bwoebi What would convince you when people say they find it hard to distinguish between -> and ~> ?
 
@Danack The issue is that I don't really believe them that it'll be an issue.
 
Exactly, you're just dismissing their view.
 
I'm not complaining all the time that negation and bitwise not are hard to distinguish…
I never felt that to be an issue to me.
@Danack True for some part… mainly because I know they never have had to read real code with short Closures…
Mhm… I wish I had someone unbiased here to tell me whether I'm really doing it wrong or if it's just both sides having subjective arguments and presenting them like they were objective and it's just as absurd as discussing tabs vs. spaces…
Because I feel like that's what we're really doing … discussing the pros and cons of tab and space indention…
 
The difference in the symbols is probably less of an IDE than it is in a browser, where the font choice is not a great one for making the difference in symbols clear:
 
Hmm… pinging @ircmaxell … maybe he's wise and can tell if I'm handling things wrongly...
 
11:58 PM
If my eyes are out of focus at all (and they usually are after a few hours in front of a computer) it is incredibly difficult to see the difference in them.
 
@Danack It's quite a bad example when you're looking for it, and again, you're putting spaces before and after the -> … hence, I'd like to not discuss that now before we turn in circles…
 

« first day (1786 days earlier)      last day (3177 days later) »