Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

brusimm's scratchpad

by brusimm (Pilgrim)
on Dec 21, 2006 at 18:16 UTC ( #591152=scratchpad: print w/replies, xml ) Need Help??

A big hearty Thanks out to everyone that helped me out with my Regular Expressions tutorial:
jdporter, gaal, ww, ysth, jonadab, hossman, tye, ww, Solo, Not_a_Number, muba & demerphq.
Especially jdporter for our conversations & his patience and the idea of this form of thanking everyone for taking the time to interact with my nodes.
if you're on this list, and you've suddenly found extra XP points one day, that's cause each day I'm blowing my votes on one of these members, .. my way of saying thanks.. for what that's worth. It's my morning ritual these days.



BELOW IS JUST A MIND GAME,
PAY IT NO HEED, but if you tinker and find it gives you 0 through 10, let me know! It's been noted it should not give consistent results across different OS's or computers.
$i = $i++; # #print "\n"; # This is a noop.. effectively being 0. print "Test 0 will equal: $i\n"; $i = 0; # $i = ++$i; # print "Test 1 will equal: $i\n"; # ++ adds 1, then $i is lo +oked at, and ++ added to it. $i = 0; # $i = $i++ + ++$i; # print "Test 2 will equal: $i\n"; $i = 0; $i = ++$i + $i++; # print "Test 3 will equal: $i\n"; # $i = 0; # $i = ++$i + ++$i; # print "Test 4 will equal: $i\n"; # $i = 0; # $i = ++$i + $i++ + $i++; # print "Test 5 will equal: $i\n"; # $i = 0; # $i = ++$i + $i++ + ++$i; # print "Test 6 will equal: $i\n"; # $i = 0; # $i = ++$i + ++$i + ++$i; # print "Test 7 will equal: $i\n"; # $i = 0; # $i = $i++ + $i++ + ++$i + ++$i ; # print "Test 8 will equal: $i\n"; # $i = 0; # $i = $i++ + ++$i + ++$i + ++$i ; # print "Test 9 will equal: $i\n"; # $i = 0; # $i = ++$i + ++$i + ++$i + $i++ ; # print "Test 10 will equal: $i\n"; # print "\n";
TEST ZONE: Trying to be a good user!!
/node_id=595955
Perl Editors Win32
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Discipulus]: i miss what an undocumented instructions can be, and how can be used
[zentara]: perf
[marto]: X86_instruction_li stings
[marto]: Illegal_opcode
[zentara]: marto arn't those NSA secrets? :-)
[marto]: not if you keep telling people :P
[zentara]: I had to disable hyperthreading on my machine because of that.
[Discipulus]: thanks marto but... at the moment this seems a bit beyond my faculties.. ;=)
[zentara]: a thread goes into a wait state after emitting a wait to all other threads. It locks up a machine completely.
[marto]: if you mean the recent hyperthreading bug, I don't think that's NSA related?

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2017-07-28 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (428 votes). Check out past polls.