Ok so i have been usign this little tool now, and all i can say is good things about it.
It has all the tools needed for a good simulation.
The only "downpart" is what i think is at the same point its strongest point. You need the Cisco IOS for the router/ switch you are simulating.
So in more simple terms this is a VM for switches/routers, give it a try.
I will try fix a tutorial in the next ddays.
Have a blast!
http://www.gns3.net/
noodles lullabuoys
Insomnia meets the web
Apr 6, 2014
Oct 8, 2013
Complete Hacking Algorithm
void main() { for(i = 0 knowledge; i < infinite knowledge; i++) while(you don't know how something works) { Read(Your Brain, i); Experiment(Your Brain, i); Learn(Your Brain, i); } } Being a hacker is so easy.. It is all a mindset.
This is a repost.
via:/www.acm.uiuc.edu/workshops/security/hackalgo.html/
Jul 15, 2013
Win 8.1
So.. I was checking the windows 8.1 Preview product guide.
After this I cannot wait to see the full product, here are some of my impressions:
Are this guys for real? Have they ever questioned their capacity to predict time?
(try moving some folders on your c drive to understand).
I mean what's happening here? Your flight will leave in 24 minutes, sorry in 2 seconds, sorry 7 days, sorry 14 weeks…
NO THANKS
3)Yeap.. In case you had any doubt. I like to express my uniqueness by placing famous landmark pictures.
Ok so get real, its about the shutter, NOT THE SOFTWARE, I feel lied to and it makes me want to cry
This one is hard, let's start by analyzing the header "Modern engineering enables the next wave of app innovation"
…so yeah, MS thinks modern engineering is all about Nintendo64 graphs..
And last but not least… WTF is with this guy farting rainbows?
Is this intended to make me feel he had a lot of fun?
…I just think the kind of fun that makes me happily fart rainbows is not quite the kind of fun I want… maybe he has "a device that supports" vibration…
Oct 14, 2012
Sep 17, 2012
Magic Turing Machine v4: Teysa / Chancellor of the Spires
How It Works
I'm assuming you're familiar with the basic idea of what a Turing machine is. There are a few parts to building one in Magic: a tape extending in two directions storing cells of a few different colours; a processing head that can read the current cell's colour, write a new colour and change its state if necessary; and a "virtual" infinite tape extending in both directions.
The full list of all cards on the battlefield and in other zones is on the Cards page; this page won't repeat that in full, but will explain why each card is needed.
The Turing Tape
The model of the tape is as follows.
A series of Ally tokens controlled by Alex represent the tape to the right of the current head: the creature one step to the right of the head is 1 toughness away from dying, the next one over is 2 toughness from dying, etc. A similar chain of Zombie tokens, also controlled by Alex, represent the tape to the left. The colour of each token represents the contents of that space on the tape.
The operation "move one step to the left" is represented in this machine by creating a new Ally token, growing all Allies by 1, and shrinking all Zombies by 1. The details are as follows:
When the machine creates a new 2/2 Ally token under Alex's control, four things trigger: Bob's Noxious Ghoul, Cathy's Aether Flash, Denzil's Carnival of Souls, and Alex's Kazuul Warlord. They go on the stack in that order, because it's Bob's turn; so they resolve in reverse order. The Kazuul Warlord adds +1/+1 counters to all Alex's Allies, leaving them one step further away from dying, including making the new one 3/3. Then Carnival of Souls gives Denzil a white mana thanks to False Dawn (he doesn't lose life because of his Platinum Emperion). Then Aether Flash deals 2 damage to the new token, leaving it 1 toughness from dying as desired. And then the Noxious Ghoul, which has been hacked with Artificial Evolution, gives all non-Allies -1/-1, which kills the smallest Zombie. Depending on whether the smallest Zombie was red, green or blue, a different event will trigger. The machine has moved one step to the left.
If the new token had been a Zombie rather than an Ally, a different Kazuul Warlord and a different Noxious Ghoul would have triggered, as well as the same Aether Flash. So the same would have happened except it would be all the Zombies that got +1/+1 and all the Allies that got -1/-1. This would effectively take us one step to the right.
The Turing Head
I'm using the simplest Universal Turing Machine, Alex Smith's 2-state, 3-colour machine. Just for reference, Alex's machine says:
State A, Colour 0: Stay in state A, colour this space 1, move one step left.
State A, Colour 1: Stay in state A, colour this space 0, move one step left.
State A, Colour 2: Go to state B, colour this space 1, move one step right.
State B, Colour 0: Go to state A, colour this space 2, move one step right.
State B, Colour 1: Stay in state B, colour this space 0, move one step right.
State B, Colour 2: Go to state A, colour this space 0, move one step left.
Teysa, Orzhov Scion Artificial Evolution Mind Bend
The key cards to the heart of the Turing machine are Teysa, Orzhov Scion, Artificial Evolution, and Mind Bend. We use Artificial Evolution and Mind Bend to modify Teysa so that her second ability reads "Whenever another red creature you control dies, put a 1/1 green Ally creature token with flying onto the battlefield."
In fact, we use six copies of Teysa, along with a Mirror Gallery to allow her to coexist with herself. They're modified to read as follows:
Phased-In Teysa A says "Whenever a red creature dies, make a green Ally."
Phased-In Teysa B says "Whenever a green creature dies, make a red Ally."
Phased-In Teysa C says (effectively – see below) "Whenever a blue creature dies, cast Time and Tide, then make a green Zombie."
Phased-Out Teysa D says (effectively – see below) "Whenever a red creature dies, cast Time and Tide, then make a blue Zombie."
Phased-Out Teysa E says "Whenever a green creature dies, make a red Zombie."
Phased-Out Teysa F says (effectively – see below) "Whenever a blue creature dies, cast Time and Tide, then make a red Ally."
I hope you can see the correspondence with the programming of Alex's Turing machine:
"Red" means "colour 0", "green" means "colour 1", and "blue" means "colour 2"
"Make an Ally" means "move left", "make a Zombie" means "move right"
When Teysas A-C are phased in, that indicates State A; if Teysas D-F are phased in, that indicates State B; and "cast Time and Tide" means "change state".
At any time, three Teysas are in play: one watching for red deaths, one for green deaths and one for blue deaths. The other three are phased out and have no effect on the game until they phase back in. Which three are phased in corresponds to which state the Turing machine is in.
Teysa's tokens are 1/1 by default. Things work more easily if they're 2/2, which we accomplish with Serra Aviary.
Of course, we can't actually hack Teysa to say "Whenever a blue creature dies, cast Time and Tide, then make a red Ally." Casting an instant as a triggered effect is the greatest hurdle this Turing machine needs to get over.
Changing State
In order to repeatedly cast this instant, version 4 of the Turing machine uses Chancellor of the Spires. This is significantly easier than previous versions which had to use Spellbinder or Toshiro Umezawa.
Time and Tide Chancellor of the Spires
We use a hacked Skirk Drill Sergeant to cause the Chancellor of the Spires to repeatedly enter the battlefield, and Wheel of Sun and Moon to put it back into Denzil's library. No special tricks need to be done to get the Time and Tide card back where we want it, as the Chancellor lets the instant go back into Bob's graveyard when it resolves.
So the Teysas that need to change state actually create tokens that are white and a different creature type, to avoid triggering the normal Kazuul Warlord / Noxious Ghoul pair, and to trigger the state change instead.
Teysa C actually says "Whenever a blue creature dies, make a white Dryad."
Teysa D actually says "Whenever a red creature dies, make a white Drake."
Teysa F actually says "Whenever a blue creature dies, make a white Dragon."
We use Rotlung Reanimators to make other tokens when these white tokens die. To smooth out some timing details we use Gather Specimens to allow the Rotlung Reanimators to be owned by Bob so their triggers go in the right place on the stack, and Carnival of Souls and False Dawn to allow Denzil to pay for the Skirk Drill Sergeant's triggered ability.
Stack Trace of a State Change
Putting it all together, when we need to change state, this is what happens:
Teysa makes a white Dragon, Dryad, or Drake token for Alex. The assorted Crusades, Triumphs and Plagues make it an Advisor Sphinx and 1/1.
Cathy's Aether Flash triggers, as does Denzil's Carnival of Souls.
Stack: ...cAF dCoS
Carnival of Souls's ability resolves, gives Denzil a white mana thanks to False Dawn. His life total doesn't change thanks to Platinum Emperion.
Stack: ...cAF
Aether Flash's ability resolves, killing the Dragon/Dryad/Drake.
This triggers one of Bob's three Rotlung Reanimators according to whether it was an Dragon, Dryad or Drake that died. But since all Dragons, Dryads and Drakes are also Sphinxes, on top of that on the stack goes Denzil's hacked Skirk Drill Sergeant.
Stack: ...bRR dSDS
Skirk Drill Sergeant's ability resolves. Denzil pays the 2R cost with WWW thanks to False Dawn. Skirk Drill Sergeant finds the only card in Denzil's library is a Chancellor of the Spires, and because he's been hacked to like Sphinxes, the Drill Sergeant drops it onto the battlefield. Alex's Gather Specimens means it enters under Alex's control.
When Chancellor of the Spires enters the battlefield, three things trigger: Cathy's Aether Flash, Denzil's Carnival of Souls, and Alex's Chancellor itself. The only target for the Chancellor's triggered ability is Time and Tide.
Stack: ...bRR cAF dCoS aCotS
Chancellor's ability resolves and Alex casts Time and Tide (putting it on the stack).
Stack: ...bRR cAF dCoS aToT
Time and Tide resolves, returning to Bob's graveyard. All Teysas phase in or out.
Stack: ...bRR cAF dCoS
Carnival of Souls's ability gives Denzil a mana.
Stack: ...bRR cAF
Aether Flash's ability resolves, dealing 2 damage to Chancellor of the Spires. Thanks to the Engineered Plagues, this is enough to kill it. State-based actions try to put it into Denzil's graveyard, but actually send it to bottom of Denzil's library thanks to Wheel of Sun and Moon. This doesn't trigger anything, because it's not going to the graveyard.
Stack: ...bRR
Finally, Bob's Rotlung Reanimator's ability resolves, making a red, green or blue Ally or Zombie token depending on whether the white token from before was a Dragon, Dryad or Drake. Because Alex cast Gather Specimens earlier this turn, the token arrives under Alex's control (so that Kazuul Warlord can see it). This triggers a Kazuul Warlord and a Noxious Ghoul as well as Aether Flash, and the usual processing continues.
Out Of Tape
Finally, what do we do if we run out of initialised tape? If the Turing machine moves to a space that hasn't been visited before, the normal processing loop will come to an abrupt halt. The default colour of tape on the Turing machine we're using is blue, so we need a simulation of an infinite tape of empty blue spaces – that is, we need to make the machine act as if there were a blue Ally or Zombie token that just got killed.
This is where the Sentinel on the bottom of the stack comes in. Bob's other Rotlung Reanimator will make a blue Illusion (under Alex's control due to Gather Specimens). This Illusion will not trigger any Kazuul Warlords or Noxious Ghouls, so it will immediately die to Aether Flash. This triggers Teysa C or F just as if there had been a blue Ally or Zombie die. And it also triggers Bob's Rotlung Reanimator to put an ability at the bottom of the stack to make another blue Illusion, ready for the next time we exceed the bounds of the tape.
May 26, 2012
Codechef
Ultimamente me entretengo con los problemas que presenta esta pagina, soluciones en consola a problemas de teorĂa computacional, vale la prens darle una vuelta y seguro te ayuda para prepararte para codejam
May 8, 2012
"Star Trek Lost Episodes" transcript
[Picard] "Mr. LaForge, have you had any success with your attempts at
finding a weakness in the Borg? And Mr. Data, have you been able to
access their command pathways?"
[Geordi]"Yes, Captain. In fact, we found the answer by searching
through our archives on late Twentieth-century computing technology."
[Geordi presses a key, and a logo appears on the computer screen.]
[Riker looks puzzled.] "What the hell is 'Microsoft'?"
[Data turns to answer.] "Allow me to explain. We will send this
program, for some reason called 'Windows', through the Borg command
pathways. Once inside their root command unit, it will begin consuming
system resources at an unstoppable rate."
[Picard] "But the Borg have the ability to adapt. Won't they alter
their processing systems to increase their storage capacity?"
[Data] "Yes, Captain. But when 'Windows' detects this, it creates a new
version of itself known as an 'upgrade'. The use of resources increases
exponentially with each iteration. The Borg will not be able to adapt
quickly enough. Eventually all of their processing ability will be
taken over and none will be available for their normal operational
functions."
[Picard] "Excellent work. This is even better than that 'unsolvable
geometric shape' idea."
. . 15 Minutes Later . . .
[Data] "Captain, We have successfully installed the 'Windows' in the
command unit and as expected it immediately consumed 85% of all
resources. We however have not received any confirmation of the
expected 'upgrade'."
[Geordi] "Our scanners have picked up an increase in Borg storage and
CPU capacity to compensate, but we still have no indication of an
'upgrade' to compensate for their increase."
[Picard] "Data, scan the history banks again and determine if their is
something we have missed."
[Data] "Sir, I believe there is a reason for the failure in the
upgrade'. Appearently the Borg have circumvented that part of the plan
by not sending in their registration cards.
[Riker] "Captain we have no choice. Requesting permission to begin
emergency escape sequence 3F . . ."
[Geordi, excited] "Wait, Captain I just detected their CPU capacity has
suddenly dropped to 0% !"
[Picard] "Data, what does your scanners show?"
[Data] "Appearently the Borg have found the internal 'Windows' module
named 'Solitaire' and it has used up all the CPU capacity."
[Picard] "Lets wait and see how long this 'solitaire' can reduce their
functionality."
. . Two Hours Pass . . .
[Riker] "Geordi whats the status on the Borg?"
[Geordi] "As expected the Borg are attempting to re-engineer to
compensate for increased CPU and storage demands, but each time they
successfully increase resources I have setup our closest deep space
monitor beacon to transmit more 'windows' modules from something called
the 'Microsoft fun-pack'.
[Picard] "How much time will that buy us ?"
[Data] "Current Borg solution rates allow me to predicate an interest
time span of 6 more hours."
[Geordi] "Captain, another vessel has entered our sector."
[Picard] "Identify."
[Data] "It appears to have markings very similar to the 'Microsoft'
logo"
[Over the speakers] "THIS IS ADMIRAL BILL GATES OF THE MICROSOFT
FLAGSHIP MONOPOLY. WE HAVE POSITIVE CONFIRMATION OF UNREGISTERED
SOFTWARE IN THIS SECTOR. SURREDER ALL ASSETS AND WE CAN AVOID ANY
TROUBLE. YOU HAVE 10 SECONDS"
[Data] "The alien ship has just opened its forward hatches and released
thousands of humanoid shaped objects."
[Picard] "Magnify forward viewer on the alien craft"
[Riker] "Good God captain! Those are humans floating straight toward
the Borg ship with no life support suits! How can they survive the
tortures of deep space ?!"
[Data] "I don't believe that those are humans sir, if you will look
closer I believe you will see that they are carrying something
recognized by twenty-first century man as doe skin leather briefcases,
and wearing Armani suits"
[Riker and Picard together horrified] "Lawyers !!"
[Geordi] "It can't be. All the Lawyers were rounded up and sent
hurtling into the sun in 2017 during the Great Awakening."
[Data] "True, but appearently some must have survived."
[Riker] "They have surrounded the Borg ship and are covering it with
all types of papers."
[Data] "I believe that is known in ancient venacular as 'red tape' it
often proves fatal."
[Riker] "They're tearing the Borg to pieces !"
[Picard] "Turn off the monitors. I can't stand to watch, not even the
Borg deserve that."
Subscribe to:
Posts (Atom)