« first day (20 days earlier)      last day (4097 days later) » 

11:53
-5
Q: PHP - what's wrong with my singleton?

kapsulawhat's wrong with my singleton? way it echo's me twice (11)? it should echo's me just one (1) even if it is invoked more than once? class A { private static $instance; private function __construct(){ echo 1; } public static function getInstance(){ return !self::$...

 
4 hours later…
16:10
0
Q: Singleton on weblogic 10.3

Pavel Rozenblioumwe are trying to find a good solution for creating a singleton on weblogic. Right now we have an ear that is deployed both in a clustered environment and single server. Within the ear is a singleton that holds some state. Duplicating that state over 2 servers would lead to incorrect behavior. C...

 
2 hours later…
17:43
- (void) adjustViewsForOrientation:(UIInterfaceOrientation) orientation
{
if (orientation == UIInterfaceOrientationPortrait)
{
self.viewForSync.transform = CGAffineTransformMakeRotation(M_PI*1.5);
}
else if (orientation == UIInterfaceOrientationPortraitUpsideDown)
{
self.viewForSync.transform = CGAffineTransformMakeRotation(M_PI_2);
}
else if (orientation == UIInterfaceOrientationLandscapeLeft)
{
self.viewForSync.transform = CGAffineTransformMakeRotation(M_PI*1.5);
}
else if (orientation == UIInterfaceOrientationLandscapeRight)
18:31
room topic changed to Trash can: Like the recycle bin, but trashier. [disposal] [garbage] [nsfw] [spam] [trash]
 
2 hours later…
20:59
word
word
<word/>
word?
!?!word!?!
echo "word";
21:04
double word
[[:<:]]word[[:>:]]
hello
float word;
pce
pce
long word ;
\bword\b
21:05
string int
:P
$userId = 'Null';
> word
<php? delete(internet*);?>
word varchar(64) not null
19 messages moved from PHP
hey
21:36
← 1 message moved from PHP

« first day (20 days earlier)      last day (4097 days later) »