Frowning after Asmodean and wondering how far he trusted the man, Rand was startled when Aviendha threw down her cup, splashing wine onto the rugs. Aiel did not waste anything that could be drunk, not only water.
Staring at the wet spot, she appeared just as surprised, but only for a moment. The next instant she had planted fists on hips where she sat and was glaring at him. “So the Car’a’carn will enter the city when he can barely sit up. I said the Car’a’carn must be more than other men, but I did not know he was more than mortal.”
“Where are my clothes, Aviendha?”
“You are only flesh!”
“My clothes?”
“Remember your toh, Rand al’Thor. If I can remember ji’e’toh, so can you.” That seemed a strange thing to say; the sun would rise at midnight before she forgot the smallest scrap of ji’e’toh.
“If you keep on like this,” he said with a smile, “I will begin thinking you care for me.”
He meant it for a jest—there were only two ways to deal with her, joke or simply override her; arguing was fatal—and a mild one considering they had spent a night in each other’s arms, but her eyes went wide in outrage, and she jerked at the ivory bracelet as if to pull it off and throw it at him. “The Car’a’carn is so far above other men that he does not need clothes,” she spat. “If he wishes to go, let him go in his skin! Must I bring Sorilea and Bair? Or perhaps Enaila, and Somara, and Lamelle?”
He stiffened. Of all the Maidens who treated him as a long-lost son of ten, she had chosen the three worst. Lamelle even brought him soup—the woman could not cook a lick, but she insisted on making him soup!  With luck, he could find his clothes before she returned. Somara was nearly as tall as he, and, at the moment, probably stronger. The One Power certainly would do him no good; he could not have embraced saidin if Sammael appeared in front of him, much less held onto it.
For a long moment she met his stare, then abruptly picked up the leopard-worked cup and refilled it from a hammered-silver pitcher. “If you can find your clothes and dress yourself without falling down,” she said calmly, “you may go. But I will accompany you, and if I think you are too weak to continue, you will return here if Somara must carry you in her arms.”
He stared as she stretched out on one elbow, carefully arranged her skirts, and began sipping at her wine. If he mentioned marriage again, no doubt she would snap his head off again, but in some ways she behaved as if they were married. The worst parts of it, at least. The parts that did not seem a pennyworth different from Enaila or Lamelle at their worst.
Muttering to himself, he gathered the blanket around him and shuffled past her and the firepit to his boots. Clean woolen stockings were folded up inside, but nothing else. He could summon gai’shain. And have the entire matter spread through the camp. Not to mention the possibility that the Maidens would get into it after all; then the question would be whether he was the Car’a’carn, who must be obeyed, or just Rand al’Thor, another man entirely in their eyes. A rolled rug at the back of the tent caught his eye; rugs were always spread out. His sword was inside, the belt with the Dragon buckle wrapped around the scabbard.
Humming to herself, eyes lidded, Aviendha looked half asleep as she watched him search. “You no longer need . . . that.” She invested the word with so much disgust that no one would have believed she had given him the sword.
“What do you mean?” There were only a few small chests in the tent, inlaid with mother-of-pearl or worked in brass, or in one case, gold leaf. The Aiel preferred putting things in bundles. None held his clothes. The gold-covered chest, all unfamiliar birds and animals, held tightly tied leather sacks and gave off a smell of spices when he raised the lid.
“Couladin is dead, Rand al’Thor.”
Startled, he stopped and stared at her. “What are you talking about?” Would Lan have told her? No one else knew. But why?
“No one told me, if that is what you are thinking. I know you now, Rand al’Thor. I learn you more every day.”
“I wasn’t thinking any such thing,” he growled. “There isn’t anything anybody could tell.” Irritably, he snatched up the scabbarded sword and carried it awkwardly under his arm as he went on searching. Aviendha continued sipping wine; he thought she might be hiding a smile.
A fine thing. The High Lords of Tear sweated when Rand al’Thor looked at them, and the Cairhienin might offer him their throne. The greatest Aiel army the world had ever seen had crossed the Dragonwall on the orders of the Car’a’carn, the chief of chiefs. Nations trembled at mention of the Dragon Reborn. Nations! And if he did not find his clothes, he would sit waiting on permission to go outside from a lot of women who thought they knew better about everything than he did.
He finally found them when he noticed the gold-embroidered cuff of a red coatsleeve sticking out from under Aviendha. She had been sitting on them all along. She grunted sourly when he asked her to move, but she did it. Finally.
As usual, she watched him shave and dress, channeling the water hot for him without comment—and without being asked—after the third time he nicked himself and muttered about cold water. In truth, this time he was bothered as much because she might see his unsteadiness as for any other cause. You can become used to anything if it goes on long enough, he thought wryly.
She misunderstood his head shaking. “Elayne will not mind if I look, Rand al’Thor.”
Pausing with the laces of his shirt half done, he stared at her. “Do you really believe that?”
“Of course. You belong to her, but she cannot own the sight of you.”
Laughing silently, he went back to the laces. It was good to be reminded that her newfound mystery hid ignorance, aside from anything else. He could not help smiling smugly as he finished dressing, buckled on his sword and took up the tasseled Seanchan spearhead. That last turned the smile a touch toward grimness. He had meant it as a reminder that the Seanchan were still in the world, but it served to recall all the things that he must juggle. Cairhienin and Tairens, Sammael and the other Forsaken, the Shaido and nations that did not know him yet, nations that would have to before Tarmon Gai’don. Dealing with Aviendha was really quite simple compared with that.
Maidens leaped to their feet when he ducked out of the tent quickly to hide the unsteadiness of his legs. He was not sure how far he succeeded. Aviendha kept to his side as though she not only intended to catch him if he fell over but fully expected him to. It did nothing for his mood when Sulin, in her cap of bandages, looked questioningly at her—not him; her!—and waited for her nod before ordering the Maidens to be ready to move.
Asmodean came riding his mule up the hill, leading Jeade’en by the reins. Somehow he had found time to don fresh clothes, all dark green silk. With spills of white lace, of course. The gilded harp hung on his back, but he had given up wearing the gleeman’s cloak, and he no longer carried the crimson banner with its ancient symbol of the Aes Sedai. That office fell to a Cairhienin refugee named Pevin, an expressionless fellow in a patched farmer’s coat of rough dark gray wool, on a brown mule that should have been put out to grass from pulling a cart some years back. A long scar, still red, ran up the side of his narrow face from jaw to thinning hair.
Pevin had lost his wife and sister to the famine, his brother and a son to the civil war. He had no idea which Houses’ men had killed them, or who they had supported for the Sun Throne. Fleeing toward Andor had cost him a second son at the hands of Andoran soldiers and a second brother to bandits, and returning had cost the last son, dead on a Shaido spear, and his daughter as well, carried off while Pevin was left for dead. The man rarely spoke, but as near as Rand could make out, his beliefs had been winnowed down to a bare three. The Dragon had been Reborn. The Last Battle was coming. And if he stayed close to Rand al’Thor, he would see his family avenged before the world was destroyed. The world would end, surely, but it did not matter, nothing did, so long as he saw that vengeance. He bowed silently to Rand from his saddle as the mare reached the crest. His face was absolutely blank, but he held the banner straight and steady.
Climbing onto Jeade’en, Rand pulled Aviendha up behind him without letting her use a stirrup, just to show her that he could, and kicked the dapple into motion before she was settled. She flung both arms around his waist, grumbling only partly under her breath; he caught a few more snippets of her current opinion of Rand al’Thor, and of the Car’a’carn, too. She made no move to let go, though, for which he was grateful. Not only was it pleasant having her pressed against his back, the support was welcome. With her halfway to the saddle, he had suddenly not been sure whether she was coming up or he down. He hoped she had not noticed. He hoped that was not why she was holding on to him so tightly.
The crimson banner with its large black-and-white disc rippled behind Pevin as they zigzagged down the hill and along the shallow valleys. As usual, the Aiel gave little attention to the party as it passed, though the banner marked his presence as surely as the encircling escort of several hundred Far Dareis Mai easily keeping pace with Jeade’en and the mules. They went on about their business among the tents covering the slopes, at most glancing up at the sound of hooves.
It had been startling to hear of nearly twenty thousand prisoners taken from Couladin’s followers—until leaving the Two Rivers, he had never really believed so many people could be in one place—but seeing them was twice the shock. In clusters of forty or fifty, they dotted the hillsides like cabbages, men and women alike sitting naked in the sun, each cluster under the eyes of one gai’shain if that. Certainly no one else paid them much mind, though now and again a cadin’sor-clad figure approached one of the groups and ordered a man or woman off on an errand. Whoever was called out went at a run, unguarded, and Rand saw several returning to slip back into their places. For the rest, they sat quietly, almost looking bored, as if they had no reason to be elsewhere, or desire to be, either.
Perhaps they would put on white robes just as calmly. Yet he could not help remembering how easily these same people had violated their own laws and customs already. Couladin might have begun the violation or ordered it, but they had followed and obeyed.
Frowning at the prisoners—twenty thousand, and more to come; he would certainly never trust one to hold to gai’shain—it took some time before he noticed an oddity among the other Aiel. Maidens and Aielmen who carried the spear never wore anything on their heads except the shoufa, and never any color that would not fade into rocks and shadows, but now he saw men with a narrow scarlet headband. Perhaps one in four or five had a strip of cloth knotted around his temples, with a disc embroidered or painted above the brows, two joined teardrops, black and white. Perhaps most strangely of all, gai’shain wore it, too; most had their cowls up, but every last bareheaded one wore it. And algai’d’siswai in their cadin’sor saw and did nothing, whether wearing the headband or not. Gai’shain were never to wear anything that those who could touch weapons did. Never.
“I do not know,” Aviendha said curtly into his back when he asked what it meant. He tried to sit up straighter; she really did seem to be holding to him more tightly than necessary. After a moment, she went on, so softly that he had to listen sharp to catch it all. “Bair threatened to strike me if I mentioned it again, and Sorilea hit me across the shoulders with a stick, but I think they are those who claim we are siswai’aman.”
Rand opened his mouth to ask the meaning—he knew a scant few words of the Old Tongue, no more—when interpretation floated to the surface in his mind. Siswai’aman. Literally, the spear of the Dragon.
“Sometimes,” Asmodean chuckled, “it is difficult to see the difference between oneself and one’s enemies. They want to own the world, but it seems you already own a people.”
Turning his head, Rand stared at him until amusement faded and, shrugging uncomfortably, he let his mule fall back beside Pevin and the banner. The trouble was that the name did imply—more than implied—ownership; that was out of Lews Therin’s memories, too. It did not seem possible to own people, but if it was, he did not want to. All I want is to use them, he thought wryly.
“I see you don’t believe it,” he said over his shoulder. None of the Maidens had donned the thing.
Aviendha hesitated before saying, “I do not know what to believe.” She spoke as quietly as before, yet she sounded angry, and unsure. “There are many beliefs, and the Wise Ones are often silent, as if they do not know the truth. Some say that in following you, we expiate the sin of our ancestors in . . . in failing the Aes Sedai.”
The catch in her voice startled him; he had never considered that she might be as worried as any other Aiel about what he had revealed of their past. Ashamed might be a better word than worried; shame was an important part of ji’e’toh. They were ashamed of what they had been—followers of the Way of the Leaf—and at the same time ashamed that they had abandoned their pledge to it.
“Too many have heard some version of part of the Prophecy of Rhuidean now,” she went on in a more controlled tone, for all the world as if she had heard a word of that prophecy herself before she began training to become a Wise One, “but it has been twisted.  ” Her control faltered for the space of one deep breath. “But many believe that you will kill us all in endless dances of the spear, a sacrifice to atone for the sin. Others believe that the bleakness itself is a testing, to wear away all but the hard core before the Last Battle. I have even heard some say that the Aiel are now your dream, and that when you wake from this life, we will be no more.”
A grim set of beliefs, that. Bad enough that he had revealed a past they saw as shaming. It was a wonder they had not all left him. Or gone mad. “What do the Wise Ones believe?” he asked, as quietly as she.
“That what must be, will be. We will save what can be saved, Rand al’Thor. We do not hope to do more.”
We. She included herself among the Wise Ones, just as Egwene and Elayne included themselves among Aes Sedai. “Well,” he said lightly, “I expect Sorilea at least believes I should have my ears boxed. Probably Bair does, too. And certainly Melaine.”
“Among other things,” she mumbled. To his disappointment, she pushed away from him, although keeping a hold on his coat. “They believe many things I could wish they did not.”
He grinned in spite of himself. So she did not believe he needed his ears boxed. That was a pleasant change since waking.
Hadnan Kadere’s wagons lay a mile or so from his tent, circled in a broad depression between two hills where Stone Dogs kept watch.  Moiraine was there as well, examining the wagon where the doorframe ter’angreal was lashed under canvas behind the driver’s seat. She did not even glance around until Kadere spoke to her. By his gestures, he was plainly suggesting that she might want to accompany Rand. In fact, he appeared eager for her to go, and small wonder. He had to be congratulating himself on keeping his being a Darkfriend hidden so long, but the more he was in company with an Aes Sedai, the more he was in danger of discovery.
Indeed, it was a surprise to Rand that the man was still there. At least half of the drivers who had entered the Waste with him had slipped away since crossing the Dragonwall, replaced by Cairhienin refugees chosen by Rand himself, to make sure they were not of Kadere’s sort. He expected every morning to find the fellow himself gone, too, especially since Isendre’s escape. The Maidens had nearly torn the wagons apart looking for the woman, while Kadere sweated his way through three handkerchiefs. Rand would not regret it if Kadere managed to sneak off in the night. The Aiel guards had orders to let him go, so long as he did not try to take Moiraine’s precious wagons.
He glanced over his shoulder, but Asmodean was staring straight ahead, ignoring the wagons altogether. He claimed to have had no contact with Kadere since Rand captured him, and Rand thought it might be true. Certainly, the merchant never left his wagons, and was never out of sight of Aiel guards except when inside his own wagon.
Opposite the wagons, Rand half drew rein without thinking. Surely Moiraine would want to accompany him into Cairhien; she might have crammed his head full, but it always seemed there was another piece she wanted to fit in, and this once in particular he could do with her presence and advice. But she merely looked at him for a long moment, then turned back to the wagon.
Frowning, he heeled the dapple on. As well to remember she had other sheep to shear than he knew about. He had become too trusting. Best to be as wary of her as of Asmodean.
Trust no one, he thought bleakly. For an instant he did not know whether it was his thought or Lews Therin’s, but in the end he decided it did not matter. Everybody had their own goals, their own desires. Much the best to trust no one completely except himself. Yet he wondered, with another man oozing through the back of his mind, how far could he trust himself?
Vultures filled the sky around Cairhien in spiraling layers of black wings. On the ground they flapped about among clouds of buzzing flies, squawking hoarsely at glossy ravens that tried to usurp their rights to the dead. Where Aiel went across the treeless hills, recovering the bodies of their slain, the birds lumbered aloft fatly, screeching protests, then settled again as soon as the living humans were a few paces gone. Vultures and ravens and flies together could not really have made the sunlight dimmer, yet it seemed so.
Stomach twisting, trying not to see, Rand heeled Jeade’en faster, until Aviendha clung to his back once more and the Maidens were running. No one protested, and he did not believe it was only because Aiel could maintain that speed for hours. Even Asmodean looked pale around the eyes. Pevin’s face never changed, though the bright banner whipping above him appeared a mockery in that place.
What lay ahead was little better.  Now it was a still, thick band of ashes surrounding the square gray walls of Cairhien on three sides. Charred timbers lay crazily atop stone foundations, and here and there a soot-black chimney yet stood, sometimes tilting precariously.
Breezes stirred some of the banners on the city’s towers and along the walls, a Dragon standing out red-and-gold on white at one place, the Crescents of Tear white on red-and-gold at another. The middle set of the Jangai Gates stood open, three tall square arches in the gray stone guarded by Tairen soldiers in rimmed helmets. Some were mounted but most afoot, and the variously colored stripes on their wide sleeves showed they were retainers of several lords.
Whatever was known in the city about the battle being won, and Aiel allies coming to the rescue, the approach of half a thousand Far Dareis Mai created some little stir. Hands went uncertainly to sword hilts, or spears and long shields, or lances. Some of the soldiers half moved as if to close the gates even while looking to their officer, with three white plumes on his helmet, who hesitated, standing in his stirrups and shading his eyes against the sun to study the crimson banner. And more particularly, Rand.
Abruptly the officer sat down, saying something that sent two of the mounted Tairens galloping back through the gates. Almost immediately, he was waving the other men aside, calling, “Make way for the Lord Dragon Rand al’Thor! The Light illumine the Lord Dragon! All glory to the Dragon Reborn!”
The soldiers still appeared uneasy about the Maidens, but they formed into lines to either side of the gates, bowing deeply as Rand rode through. Aviendha sniffed loudly at his back, and again when he laughed. She did not understand, and he had no intention of explaining. What amused him was that however hard Tairens or Cairhienin or anyone else tried to puff up his head, he could rely on her and the Maidens, at least, to take the swelling down. And Egwene. And Moiraine. And Elayne and Nynaeve, for that matter, if he ever saw either again. Come to think of it, the lot of them seemed to make that a large part of their life’s work.
The city beyond the gates stilled his laughter.
Here the streets were paved, some broad enough for a dozen or more large wagons abreast, all straight as knife cuts and crossing at right angles. The hills that rolled outside the walls were here carved and terraced, faced with stone; they looked as much made by men as the stone buildings with their severe straight lines and sharp angles, or the great towers with their unfinished tops surrounded by scaffolding. People crowded the streets and the alleys, dull-eyed and hollow-cheeked, huddling beneath makeshift lean-tos or ragged blankets rigged as tents, or simply jammed together in the open, in the dark clothes favored by Cairhienin city dwellers and the bright colors of Foregaters and the rough garb of farmers and villagers. Even the scaffolds were filled, on every level to the very top, where folk looked tiny for the height. Only the middle of the streets remained clear as Rand and the Maidens made their way along, and that only for as long as it took the people to surge out around them.
It was the people who stilled his mirth. Worn and ragged as they were, jammed together like sheep in a too-small pen, they cheered. He had no idea how they knew who he was, unless perhaps the officer’s shouts at the gates had been heard, but a roar sprang ahead of him as he circled through the streets, the Maidens forcing a way through the throng. The thunder of it overwhelmed any words except for the occasional “Lord Dragon” when enough shouted it together, but the meaning was clear in men and women holding up children to see him pass, in scarves and scraps of cloth waved from every window, in people who tried to push past the Maidens with outstretched hands.
They certainly seemed to have no fear of Aiel, not at the chance to lay a finger on Rand’s boots, and their numbers were such, the pressure of hundreds shoving them forward, that some managed to wriggle through. Actually, a good many touched Asmodean’s instead—he certainly looked a lord; in all his dripping lace, and perhaps they thought the Lord Dragon must be an older man than the youth in a red coat—but it made no difference.
Between the clamor of acclaim and the riders sent by the officer at the gate it was no surprise when Meilan appeared, a dozen lesser Tairen lords for retinue and fifty Defenders of the Stone to clear his way, laying about them with the butts of their lances. Gray-haired, hard and lean in his fine silk coat with stripes and cuffs of green satin, the High Lord sat his saddle with the stiff-backed ease of one who had been put on a horse and taught to command it almost as soon as he could walk. He ignored the sweat on his face, and equally the possibility that his escort might trample someone. Both were minor annoyances and the sweat likely the greater. Edorion, the pink-cheeked lordling who had come to Eianrod, was among the others, not quite so plump as he had been, so his red-striped coat hung on him. The only other Rand recognized was a broad-shouldered fellow in shades of green; Reimon had liked to play at cards with Mat back in the Stone, as he recalled. The others were older men for the most part. None displayed any more consideration of the crowd they plowed through than Meilan. There was not one Cairhienin in the lot.
The Maidens let Meilan ride through when Rand nodded, but closed behind him to exclude the rest, a fact the High Lord did not notice at first. When he did, his dark eyes smoldered angrily. He was often angry, Meilan was, since Rand had first come to the Stone of Tear.
The noise began to abate with the Tairen arrival, fading to a dull murmur by the time Meilan made a rigid bow to Rand from his saddle. His gaze flickered to Aviendha before he decided to ignore her, just as he was trying to ignore the Maidens. “The Light illumine you, my Lord Dragon. Be you well come to Cairhien. I must apologize for the peasants, but I was unaware you meant to enter the city now. Had I known, they would have been cleared. I meant to give you a grand entry, befitting the Dragon Reborn.”
“I have had one,” Rand said, and the other man blinked.
“As you say, my Lord Dragon.” He went on after a moment, his tone making it clear that he did not understand. “If you will accompany me to the Royal Palace, I have arranged a small greeting. Small indeed, I fear, since I had no warning of you, yet by this even I will make sure—”
“Whatever you have arranged now will do,” Rand cut in, and received another bow and a thin, oily smile for reply. The fellow was all subservience now, and in an hour he would be talking as to someone too feeble-witted to understand facts held under his nose, but beneath it all lay a contempt and hatred that he believed Rand did not see although they shone in his eyes. Contempt because Rand was not a lord—not truly, as Meilan saw it, by birth—and hatred because Meilan had had the power of life and death before Rand came, with few his equal and none his superior. To believe that the Prophecies of the Dragon would be fulfilled someday was one thing; to have them fulfilled, and his own power diminished by them, was quite another.
There was a moment of confusion before Rand made Sulin allow the other Tairen lords to bring their horses in behind Asmodean and Pevin’s banner. Meilan would have had the Defenders clear the way again, but Rand curtly ordered that they follow behind the Maidens. The soldiers obeyed, faces unchanging beneath the rims of their helmets, though their white-plumed officer shook his head, and the High Lord put on a condescending smile. That smile faded when it became clear that the crowds opened up easily ahead of the Maidens. That they did not have to club a path through, he attributed to the Aiel reputation for savagery, and frowned when Rand made no reply. One thing Rand made note of: Now that he had Tairens with him, the cheers did not rise again.
The Royal Palace of Cairhien occupied the highest hill of the city, exactly in the center, square and dark and massive. In fact, between the palace in all its levels and the stone-faced terracing, it was hard to say there was a hill there at all. Lofty colonnaded walks and tall narrow windows, high above the ground, did no more to relieve the rigidity than did gray, stepped towers precisely placed in concentric squares of increasing height. The street became a long, broad ramp leading up to tall bronze gates, and a huge square courtyard beyond lined with Tairen soldiers standing like statues, spears slanted. More stood on the overlooking stone balconies.
A ripple of murmurs ran through the ranks at the appearance of the Maidens, but it was quickly stilled in chanted shouts of “All glory to the Dragon Reborn! All glory to the Lord Dragon and Tear! All glory to the Lord Dragon and the High Lord Meilan!” From Meilan’s expression, you would have thought it all spontaneous.
Dark-garbed servants, the first Cairhienin Rand had seen in the palace, rushed out with worked golden bowls and white linen cloths as he swung a leg over the high pommel and slid from his saddle. Others came to take reins. He took the excuse of bathing his face and hands in cool water to leave Aviendha to climb down by herself. Trying to help her down might have ended with them both flat on the paving stones.
Unprompted, Sulin chose out twenty Maidens besides herself to accompany him within. On the one hand, he was glad she did not want to keep every last spear around him. On the other hand, he wished Enaila, Lamelle and Somara were not among the twenty. The considering looks they gave him—especially Lamelle, a lean, strong-jawed woman with dark red hair, nearly twenty years older than he—made him grind his teeth while trying to smile reassuringly. Somehow Aviendha must have managed to speak to them, and to Sulin, behind his back. I may not be able to do anything about the Maidens, he thought grimly as he tossed a linen towel back to one of the serving men, but burn me if there isn’t one Aiel woman who’ll learn I’m the Car’a’carn!
The other High Lords greeted him at the foot of the broad gray stairs that led up from the courtyard, all in colorful silk coats and satin stripes and silver-worked boots. It was plain that none were aware Meilan had gone to meet him until after the fact. Potato-faced Torean, oddly languid for such a lumpy man, sniffed anxiously at a scented handkerchief. Gueyam, oiled beard making his head seem even balder, clenched fists the size of small hams and glared at Meilan even as he bowed to Rand. Simaan’s sharp nose seemed to quiver in outrage; Maraconn, with blue eyes rare in Tear, compressed his thin lips until they almost disappeared; and while Hearne’s narrow face was all smiles, he tugged unconsciously at one earlobe as he did when furious. Only blade-slender Aracome showed no outward emotion, but then he almost always kept his anger well banked until ready to let it burst into flame.
It was too good an opportunity to miss. Silently thanking Moiraine for her lessons—it was easier to trip a fool than to knock him down, she said—Rand clasped Torean’s pudgy hand warmly and clapped Gueyam on the point of a thick shoulder, returned Hearne’s smile with one warm enough for a close companion and nodded silently to Aracome with a seemingly significant glance. Simaan and Maraconn he all but ignored after one look as flat and cool as a deep winter pond for each.
That was all it needed for the moment, beyond watching their eyes shift and faces tighten in thought. They had played Daes Dae’mar, the Game of Houses, their entire lives, and being among Cairhienin, who could read volumes in a raised eyebrow or a cough, had only heightened their sensitivity. Each man knew Rand had no reason to be friendly toward him, but each had to wonder if his own greeting was only to cover something real with someone else. Simaan and Maraconn appeared the most worried, yet the others eyed those two perhaps the most suspiciously of all. Perhaps his coolness had been the true cover. Or maybe that was what they were meant to think.
For himself, Rand thought that Moiraine would be proud of him, and so would Thom Merrilin. Even if none of these seven was actively plotting against him at the moment—something he did not think even Mat would bet on—men in their positions could do much to disrupt his plans without being seen to, and they would do so from habit if for no other reason. Or they would have. He had them off balance now. If he could keep them that way, they would be too busy watching each other, and too afraid of being watched in turn, to trouble him. They might even obey for once without finding a hundred reasons why things should be done differently from what he wanted. Well, that might be asking too much.
His satisfaction slipped when he saw Asmodean’s sardonic grin. Worse was Aviendha’s wondering stare. She had been in the Stone of Tear; she knew who these men were, and why he had sent them here. I do what I must, he thought sourly, and wished it did not sound as if he were trying to excuse himself.
“Inside,” he said, more sharply than he intended, and the seven High Lords jumped as if suddenly recalling who and what he was.
They wanted to crowd around him as he climbed the stairs, but except for Meilan to show the way, the Maidens simply made a solid circle around him, and the High Lords brought up the rear with Asmodean and the lesser lords. Aviendha stuck close by of course, and Sulin was on his other side, Somara and Lamelle and Enaila right behind him. They could have reached out and touched his back without stretching. He gave Aviendha an accusing look, and she arched her eyebrows at him so questioningly that he almost believed she had nothing to do with it. Almost.
The corridors of the palace were empty except for dark-liveried servants who bowed almost chest to knees or curtsied just as deeply as he passed, but when he entered the Grand Hall of the Sun he discovered that the Cairhienin nobility had not been excluded from the palace entirely.
“The Dragon Reborn comes,” intoned a white-haired man just inside the huge gilded doors worked with the Rising Sun. His red coat embroidered with six-pointed stars in blue, a little large on him after his time in Cairhien, marked him for an upper servant of Meilan’s House. “All hail the Lord Dragon Rand al’Thor. All glory to the Lord Dragon.”
A quick roar filled the chamber to its angle-vaulted ceiling, fifty paces up. “Hail the Lord Dragon Rand al’Thor! All glory to the Lord Dragon! The Light illumine the Lord Dragon!” The silence that followed seemed twice as still by comparison.
Between massive square columns of marble thick streaked with blue so deep it was almost black stood more Tairens than Rand expected, ranks of Lords and Ladies of the Land dressed in their finest, in peaked velvet hats and coats with puffy, striped sleeves, in colorful gowns and lace ruffs and close-fitting caps intricately embroidered or sewn with pearls or small gems.
To their rear were the Cairhienin, darkly garbed except for slashes of color across the breast of gown or knee-length coat. The more stripes in House colors, the higher the rank of the wearer, but men and women with color from neck to waist or lower stood behind Tairens clearly of minor Houses, with yellow embroidery instead of thread-of-gold and wool instead of silk. No few of the Cairhienin men had shaved and powdered the front of their heads; all of the younger men had.
The Tairens looked expectant, if uneasy; the Cairhienin faces could have been chiseled from ice. There was no way to say who had cheered and who not, but Rand suspected most of those cries had come from the front rows.
“A good many wished to serve you here,” Meilan murmured as they made their way up the blue-tiled floor with its great golden mosaic of the Rising Sun. A ripple of silent curtsies and bows followed.
Rand only grunted. They wished to serve him? He did not need Moiraine to know that these lesser nobles hoped to become greater on estates carved out of Cairhien. No doubt Meilan and the other six had already intimated if not promised which lands would be whose.
At the far end of the Grand Hall, the Sun Throne itself stood centered atop a wide dais of deep blue marble. Even here Cairhienin restraint held, for a throne at any rate. The great heavy-armed chair glittered with gilt and golden silk, but somehow it seemed to be all plain vertical lines, except for the wavy-rayed Rising Sun that would stand above the head of whoever sat on it.
That was meant to be him, Rand realized long before reaching the nine steps to the dais. Aviendha climbed up with him, and Asmodean, as his bard, was allowed up as well, but Sulin quickly arrayed the other Maidens around the dais, their casually held spears blocking Meilan as well as the rest of the High Lords. Frustration painted those Tairen faces. The Hall was so quiet that Rand could hear himself breathe.
“This belongs to someone else,” he said finally. “Besides, I’ve spent too long in the saddle to welcome such a hard seat. Bring me a comfortable chair.”
There was a moment of shocked silence before a murmur ran through the Hall. Meilan suddenly wore such a look of speculation, quickly suppressed, that Rand nearly laughed. Very likely Asmodean was right about the man. Asmodean himself was eyeing Rand with barely hidden surmise.
It was some minutes before the fellow in the star-embroidered coat ran up panting, followed by two dark-liveried Cairhienin carrying a high-backed chair piled with silk-covered cushions, and pointed out where to place it with a great many worried glances at Rand. Vertical lines of gilt ran up the chair’s heavy legs and back, but it seemed insignificant in front of the Sun Throne.
While the three servants were still bowing themselves away, bending double on every step, Rand tossed most of the cushions to one side and sat down gratefully, the Seanchan spearhead on his knee. He was careful not to sigh, though. Aviendha was watching him too carefully for that, and the way Somara kept glancing from her to him and back confirmed his suspicions.
But whatever his problems with Aviendha and Far Dareis Mai, most present awaited his words with equal parts eagerness and trepidation. At least they’ll jump when I say “toad,” he thought. They might not like it, but they would do it.
With Moiraine’s help he had worked out what he must do here. Some he had known was right even without her suggestions. It would have been good to have her there to whisper in his ear if needed, instead of Aviendha waiting to signal Somara, but there was no point in waiting. Surely every Tairen and Cairhienin noble in the city was in this chamber.
“Why do the Cairhienin hang back?” he said loudly, and the crowd of nobles shifted, exchanging confused glances. “Tairens came to help, but that is no reason for Cairhienin to hold themselves in the rear here. Let everyone sort themselves by rank. Everyone.”
It was difficult to say whether Tairens or Cairhienin were the most stunned, though Meilan looked ready to swallow his tongue, and the other six not far behind. Even slow-burning Aracome went white in the face. With much shuffling of boots and twitching aside of skirts, with many icy stares on both sides, it was done, until the front rows were all men and women with stripes across their chests and the second held only a few Tairens. Meilan and his fellows had been joined at the foot of the dais by twice their number of Cairhienin lords and ladies, most graying and everyone stripes from neck nearly to knees, though perhaps “joined” was not the right word. They stood in two groups, with a full three paces between, and looked away from one another so hard that they might as well have shaken fists and shouted. Every eye was on Rand, and if the Tairens were in a fury, the Cairhienin were still ice, with only hints of a thaw in the considering way they studied him.
“I have noticed the banners flying above Cairhien,” he went on once the movement stilled. “It is well that so many of the Crescents of Tear fly. Without Tairen grain, Cairhien would have no living to hoist a banner, and without Tairen swords, the people of this city who survived today, noble as well as common, would be learning to obey the Shaido. Tear has earned her honor.” That puffed up the Tairens, of course, bringing fierce nods and fiercer smiles, though it certainly seemed to confuse the High Lords, coming on the heels of the other. For that matter, the Cairhienin below the dais were eyeing one another doubtfully. “But I do not need so many banners for myself. Let one Dragon banner remain, on the highest tower of the city so all who approach can see, but let the rest be taken down and replaced with the banners of Cairhien. This is Cairhien, and the Rising Sun must and will fly proudly. Cairhien has her own honor, which she shall keep.”
The chamber erupted in a roar so suddenly that Maidens hefted their spears, a roar that reverberated from wall to wall. In an instant Sulin was flashing Maiden handtalk, but already half-raised veils were being let fall. The Cairhienin nobles were cheering every bit as loudly as the people in the streets had, capering and waving their arms like Foregaters at festival. In the pandemonium it was the Tairens’ turn to exchange silent stares. They did not look angry. Even Meilan appeared unsure more than anything else, though like Torean and the others, he watched in amazement the lords and ladies of high rank around him, so coldly dignified a moment before, now dancing and shouting for the Lord Dragon.
Rand did not know what any of them read into his words. Certainly he had expected them to hear more than he said, especially the Cairhienin, and perhaps even that some would hear what he really meant, but nothing had prepared him for this display. Cairhienin reserve was an odd thing, he well knew, mixed at times with unexpected boldness. Moiraine had been reticent on the matter, for all her insistence on trying to teach him everything; the most she had said was that if that reserve broke, it could do so to a surprising degree. Surprising, indeed.
When the cheering finally died down, the giving of oaths of fealty began. Meilan was the first to kneel, tight-faced as he pledged under the Light and by his hope of salvation and rebirth to serve faithfully and obey; it was an old form, and Rand hoped it might actually constrain some to keep the oath. Once Meilan had kissed the tip of the Seanchan spearhead, trying to hide a sour grimace by stroking his beard, he was replaced by the Lady Colavaere. A more than handsome woman in her middle years, with dark ivory lace spilling over the hands she placed between Rand’s, and horizontal slashes of color from high lace collar to her knees, she gave the oath in a clear, firm voice and the musical accent he was used to hearing from Moiraine. Her dark gaze had something of the weighing-and-measuring look of Moiraine as well, most especially when she eyed Aviendha as she curtsied her way back down the steps. Torean replaced her, sweating as he swore, and Lord Dobraine replaced Torean, deep-set eyes probing, one of the few older men to have shaved the front of his long, mostly gray hair, then Aracome, and . . .
Rand felt impatience as the procession continued, one by one up to kneel before him, Cairhienin succeeding Tairen succeeding Cairhienin, as he had decreed. This was all necessary, so Moiraine said—and so agreed a voice in his head that he knew for Lews Therin’s—but to him it was part of the delay. He must have their loyalty, if only on the surface, in order to begin making Cairhien secure, and that beginning, at least, had to be made before he could move on Sammael. And that I will do! I have too much to do yet to let him go on stabbing at my ankles from the bushes! He will find out what it means to rouse the Dragon!
He did not understand why those coming before him began to sweat and lick their lips as they knelt and stammered the words of fealty. But then, he could not see the cold light burning in his own eyes.


Shared Memory Managers for F-Symbol Attributes#
This module provides an implementation for shared dictionary like state attributes required by the orthogonal F-matrix solver.
Currently, the attributes only work when the base field of the
FMatrix
factory is a cyclotomic field.
- class sage.algebras.fusion_rings.shm_managers.FvarsHandler#
Bases:
object
A shared memory backed dict-like structure to manage the
_fvars
attribute of an F-matrix.This structure implements a representation of the F-symbols dictionary using a structured NumPy array backed by a contiguous shared memory object.
The monomial data is stored in the
exp_data
structure. Monomial exponent data is stored contiguously andticks
are used to indicate different monomials.Coefficient data is stored in the
coeff_nums
andcoeff_denom
arrays. Thecoeff_denom
array stores the valued = coeff.denominator()
for each cyclotomic coefficient. Thecoeff_nums
array stores the valuesc.numerator() * d for c in coeff._coefficients()
, the abridged list representation of the cyclotomic coefficientcoeff
.Each entry also has a boolean
modified
attribute, indicating whether it has been modified by the parent process. Entry retrieval is cached in each process, so each process must check whether entries have been modified before attempting retrieval.The parent process should construct this object without a
name
attribute. Children processes use thename
attribute, accessed viaself.shm.name
to attach to the shared memory block.Multiprocessing requires Python 3.8+, since we must import the
multiprocessing.shared_memory
module.INPUT:
n_slots
– number of generators of the underlying polynomial ringfield
– base field for polynomial ringidx_to_sextuple
– map relating a single integer index to a sextuple ofFusionRing
elementsinit_data
– a dictionary orFvarsHandler
object containing known squares for initialization, e.g., from a solver checkpointuse_mp
– an integer indicating the number of child processes used for multiprocessing; if running serially, use 0.pids_name
– the name of aShareableList
contaning the processpid
’s for every process in the pool (including the parent process)name
– the name of a shared memory object (used by child processes for attaching)max_terms
– maximum number of terms in each entry; since we use contiguous C-style memory blocks, the size of the block must be known in advancen_bytes
– the number of bytes that should be allocated for each numerator and each denominator stored by the structure
Note
To properly dispose of shared memory resources,
self.shm.unlink()
must be called before exiting.Note
If you ever encounter an
OverflowError
when running theFMatrix.find_orthogonal_solution()
solver, consider increasing the parametern_bytes
.Warning
The current data structure supports up to \(2^16\) entries, with each monomial in each entry having at most 254 nonzero terms. On average, each of the
max_terms
monomials can have at most 30 terms.EXAMPLES:
sage: from sage.algebras.fusion_rings.shm_managers import FvarsHandler sage: # Create shared data structure sage: f = FusionRing("A2", 1).get_fmatrix(inject_variables=True, new=True) creating variables fx1..fx8 Defining fx0, fx1, fx2, fx3, fx4, fx5, fx6, fx7 sage: f.start_worker_pool() sage: n_proc = f.pool._processes sage: pids_name = f._pid_list.shm.name sage: fvars = FvarsHandler(8, f._field, f._idx_to_sextuple, use_mp=n_proc, pids_name=pids_name) sage: # In the same shell or in a different shell, attach to fvars sage: name = fvars.shm.name sage: fvars2 = FvarsHandler(8, f._field, f._idx_to_sextuple, name=name , use_mp=n_proc, pids_name=pids_name) sage: from sage.algebras.fusion_rings.poly_tup_engine import poly_to_tup sage: rhs = tuple((exp, tuple(c._coefficients())) for exp, c in poly_to_tup(fx5**5)) sage: fvars[f2, f1, f2, f2, f0, f0] = rhs sage: f._tup_to_fpoly(fvars2[f2, f1, f2, f2, f0, f0]) fx5^5 sage: fvars.shm.unlink() sage: f.shutdown_worker_pool()
- items()#
Iterates through key-value pairs in the data structure as if it were a Python dict.
As in a Python dict, the key-value pairs are yielded in no particular order.
EXAMPLES:
sage: f = FusionRing("G2", 1).get_fmatrix(inject_variables=True, new=True) creating variables fx1..fx5 Defining fx0, fx1, fx2, fx3, fx4 sage: from sage.algebras.fusion_rings.shm_managers import FvarsHandler sage: shared_fvars = FvarsHandler(5, f._field, f._idx_to_sextuple, init_data=f._fvars) sage: for sextuple, fvar in shared_fvars.items(): ....: if sextuple == (f1, f1, f1, f1, f1, f1): ....: f._tup_to_fpoly(fvar) ....: fx4
- shm#
- class sage.algebras.fusion_rings.shm_managers.KSHandler#
Bases:
object
A shared memory backed dict-like structure to manage the
_ks
attribute of an F-matrix.This structure implements a representation of the known squares dictionary using a structured NumPy array backed by a contiguous shared memory object.
The structure mimics a dictionary of
(idx, known_sq)
pairs. Each integer index corresponds to a variable and eachknown_sq
is an element of the F-matrix factory’s base cyclotomic field.Each cyclotomic coefficient is stored as a list of numerators and a list of denominators representing the rational coefficients. The structured array also maintains
known
attribute that indicates whether the structure contains an entry corresponding to the given index.The parent process should construct this object without a
name
attribute. Children processes use thename
attribute, accessed viaself.shm.name
to attach to the shared memory block.INPUT:
n_slots
– the total number of F-symbolsfield
– F-matrix’s base cyclotomic fielduse_mp
– a boolean indicating whether to construct a shared memory block to backself
. Requires Python 3.8+, since we must import themultiprocessing.shared_memory
module.init_data
– a dictionary orKSHandler
object containing known squares for initialization, e.g., from a solver checkpointname
– the name of a shared memory object (used by child processesfor attaching)
Note
To properly dispose of shared memory resources,
self.shm.unlink()
must be called before exiting.Warning
This structure cannot modify an entry that has already been set.
EXAMPLES:
sage: from sage.algebras.fusion_rings.shm_managers import KSHandler sage: # Create shared data structure sage: f = FusionRing("A1", 2).get_fmatrix(inject_variables=True, new=True) creating variables fx1..fx14 Defining fx0, fx1, fx2, fx3, fx4, fx5, fx6, fx7, fx8, fx9, fx10, fx11, fx12, fx13 sage: n = f._poly_ring.ngens() sage: f.start_worker_pool() sage: ks = KSHandler(n, f._field, use_mp=True) sage: # In the same shell or in a different shell, attach to fvars sage: name = ks.shm.name sage: ks2 = KSHandler(n, f._field, name=name, use_mp=True) sage: from sage.algebras.fusion_rings.poly_tup_engine import poly_to_tup sage: eqns = [fx1**2 - 4, fx3**2 + f._field.gen()**4 - 1/19*f._field.gen()**2] sage: ks.update([poly_to_tup(p) for p in eqns]) sage: for idx, sq in ks.items(): ....: print("Index: {}, square: {}".format(idx, sq)) ....: Index: 1, square: 4 Index: 3, square: -zeta32^4 + 1/19*zeta32^2 sage: ks.shm.unlink() sage: f.shutdown_worker_pool()
- items()#
Iterate through existing entries using Python dict-style syntax.
EXAMPLES:
sage: f = FusionRing("A3", 1).get_fmatrix() sage: f._reset_solver_state() sage: f.get_orthogonality_constraints(output=False) sage: f._ks.update(f.ideal_basis) sage: for idx, sq in f._ks.items(): ....: print("Index: {}, sq: {}".format(idx, sq)) ....: Index: 0, sq: 1 Index: 1, sq: 1 Index: 2, sq: 1 Index: 3, sq: 1 Index: 4, sq: 1 ... Index: 25, sq: 1 Index: 26, sq: 1
- shm#
- update(eqns)#
Update
`self
’sshared_memory
-backed dictionary of known squares. Keys are variable indices and corresponding values are the squares.EXAMPLES:
sage: f = FusionRing("B5", 1).get_fmatrix() sage: f._reset_solver_state() sage: for idx, sq in f._ks.items(): ....: k ....: sage: f.get_orthogonality_constraints() [fx0^2 - 1, fx1^2 - 1, fx2^2 - 1, fx3^2 - 1, fx4^2 - 1, fx5^2 - 1, fx6^2 - 1, fx7^2 - 1, fx8^2 - 1, fx9^2 - 1, fx10^2 + fx12^2 - 1, fx10*fx11 + fx12*fx13, fx10*fx11 + fx12*fx13, fx11^2 + fx13^2 - 1] sage: f.get_orthogonality_constraints(output=False) sage: f._ks.update(f.ideal_basis) sage: for idx, sq in f._ks.items(): ....: print(idx, "-->", sq) ....: 0 --> 1 1 --> 1 2 --> 1 3 --> 1 4 --> 1 5 --> 1 6 --> 1 7 --> 1 8 --> 1 9 --> 1
Warning
This method assumes every polynomial in
eqns
is monic.
- sage.algebras.fusion_rings.shm_managers.make_FvarsHandler(n, field, idx_map, init_data)#
Provide pickling / unpickling support for
FvarsHandler
.


Snookes1516.github.io
Orange county library system homework help, - Essay writers of music. Custom essay writing assumes a profound research on the given topic. Fortunately Nine library branches will serve as early voting sites for the 2018 General Election from Monday, October 22 to Sunday, November 4, 9 a.m. to 7 p.m.: Alafaya. Dads homework help short essay on self help is the best help help me with my english coursework viking houses primary homework help just ask homework Library. To customize the web page to match your library, you will need to select your library. Please enter a keyword to search for name and/or city, or select Online Writing: Orange county library system homework. Orange Coast College, located in Costa Mesa, California, was founded in 1948. It has since grown into one of the nation's largest and finest community colleges. Fresno County Public Library - All Branches.
Family Resource Center is a warm and welcoming place in the community where any family member can go not only in times of need but as a regular part of everyday. I think college-homework-help.org does a great job simply because my writing has improved. Multnomah County Library, in Oregon. Homework help high school students - High school student. Thank you for your interest in an ELEMENTARY school teaching position here in the Diocese of Orange. PLEASE NOTE: High School applicants must apply directly Libraries - Kent County Council.
Research databases - Volusia County Public Library. Free homework help available through Orange County Library. Delta County Libraries Databases. Fresno County Public Library - Your Libraries. Branch Locations - LEON COUNTY. Use the enhanced My Library Account (which offers an ezlogin option) to renew books, make fine payments, check hold status and suspend holds, save searches Dads homework help : Essay due tomorrow help, homework.
Ask a Kent Librarian. If you need help with research, homework or a library service our librarians are here to answer your questions. The Newburgh Free Library is pleased to announce its upcoming series of programs. Orange County Library Homework.
Preschool Citywide Registration Day. The Orange Public School District will host a preschool Citywide Registration Day on Wednesday, June 13, from 10:00 Learning Research Orange County Library System. Orange county library homework. Website of the Fresno County Public Library Fresno - Clovis Metro Area: Library Monday Tuesday Wednesday Thursday Friday Saturday.
Capistrano Valley Christian Schools. Toddler Time is a 15-20 minute program of short stories, fingerplays, nursery rhymes, and music to help introduce toddlers to the …read. The Orange County Library System offers free homework help, including live, online tutors to local students. Programs and Exhibits at the Newburgh Free Library. Orange Public Schools / Overview. Home - Cuyahoga County Public Library. Hot off the press! The Volusia County Public Library is now offering the digital version of The New York Times! Use this digital access to read breaking news articles. Orange county library system homework help, - Research paper writer online. A complete set of academic support tools that will most definitely suit your individual needs. Orange County Library System Homework Help - iele.au.edu.
Orange County Library Homework Help - pacorg.com.
Library Locations Collins Main Library. 200 West Park Avenue Tallahassee, Florida 32301<PHONE_NUMBER>. Located downtown on a city block bordered by Call Street Welcome to Capistrano Valley Christian Schools! Our goal is to provide our students with a distinctively Biblical worldview education. Simply stated, a worldview. Orange County Family Resource Centers - Outreach Project. That means county can help with 3rd grade homework searched, checked out, requested, or reserved just like any other book in the homework You can place
Navigation. More than new adult literacy books have been added to the regular OC Public Libraries circulating websites for research paper sources That means Library Resources - Homework Help - Resource Guides. 1000 Books Before Kindergarten Program. Join this exciting program for children ages 0 to 5. Read a book (any book) to your newborn, infant, and/or toddler. Databases A-Z. Delta County Libraries has many resources that are not on the shelves; an endless world of information can be accessed through our online resources. Library Resources; Homework Help you will need your Orange County resident library card Chat with a live tutor who can help you answer those tough homework. Cuyahoga County Public Library serving the home of Northeastern. Orange County Public Library Orange County Public Library.
Website of the Fresno County Public Library Branch Locations Hours. All Branches. Map of Fresno County Branches. Map of Metro Area Branches. CATHOLIC SCHOOL EMPLOYMENT - Orange County Catholic Schools. Research Homework Los Angeles Public Library.


Selecting a Parser Mode
Typically, you do not need to apply parser-specific information. By default, the DIScover C/C++ parser operates in Microsoft mode, which emulates the Microsoft Visual C++ version 6.0 compiler. However, your model building results can vary substantially depending on the parser mode that you use. The following section details parser mode changes should you need to make them to accommodate your build.
Select the parser mode with a model-building flag. There are three categories of parser modes. The following table shows the model-building flags that correspond to each parser mode.
|
Language |
Mode |
Flag |
|
C |
ANSI/ISO |
--c or -m |
|
K & R / pcc-compatible |
--old_c or -K |
|
|
Strict-ANSI |
--strict_warnings or -a --strict or -A |
|
|
SVR4-compatible (for ANSI C) |
--svr4 |
|
|
C++ |
C++ |
--c++ or -p |
|
cfront 2.1-compatible |
--cfront_2.1 or -b |
|
|
cfront 3.0-compatible |
--cfront_3.0 |
|
|
C & C++ |
Microsoft 16-bit |
--microsoft_16 |
|
Microsoft 32-bit (the default) |
--microsoft |
|
|
Microsoft “bugs” (supports known Microsoft bugs) |
--microsoft_bugs |
|
|
|
Sun |
--sun |
|
|
gcc |
--gcc |


I’m not quite sure how this had never occurred to me before the last week or so, but I ordered some refills for my current favorite gel pen and it only at that point occurred to me that I could put those refills in a different pen case. 😂 At some point I’ll have to try that.


I'm a front end developer who specializes in responsive web design using the best tricks that HTML5, CSS3, Bootstrap, Sass and Javascript have to offer. "Mobile first" drives every project I work on.
Contact Me
Chrome Extensions
These are two Chrome extensions I created. One plays the "Jaws" theme music every time a user visits a page with the string "Donald Trump" contained within the text. The other changes all instances of the string "Trump" to "Drumpf".
I helped redesign the site for the Working Women Community Centre to make it more user-friendly. I also took a mobile-first approach and created various breakpoints so users on various devices could see the content easily.
Project Title
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!


public interface NimiqClient
| Modifier and Type | Method and Description |
|---|---|
List<Account> |
accounts()
Returns a list of addresses owned by client.
|
int |
blockNumber()
Returns the height of most recent block.
|
ConsensusState |
consensus()
Returns information on the current consensus stat.
|
long |
constant(String name)
Gets the value of the numerical constant.
|
long |
constant(String name,
Object value)
Sets the value of the numerical constant.
|
Wallet |
createAccount()
Creates a new account and stores its private key in the client store.
|
String |
createRawTransaction(OutgoingTransaction tx)
Creates and signs a transaction without sending it.
|
Account |
getAccount(String address)
Returns details for the account of given address.
|
long |
getBalance(String address)
Returns the balance of the account of given address.
|
Block |
getBlockByHash(String hash,
boolean includeTransactions)
Returns information about a block by hash.
|
Block |
getBlockByNumber(int number,
boolean includeTransactions)
Returns information about a block by block number.
|
BlockTemplate |
getBlockTemplate(String address,
String extraData)
Returns a template to build the next block for mining.
|
Integer |
getBlockTransactionCountByHash(String hash)
Returns the number of transactions in a block from a block matching the given
block hash.
|
Integer |
getBlockTransactionCountByNumber(int number)
Returns the number of transactions in a block matching the given block
number.
|
Transaction |
getRawTransactionInfo(String txHex)
Deserializes raw bytes and returns information about a transaction.
|
Transaction |
getTransactionByBlockHashAndIndex(String hash,
int index)
Returns information about a transaction by block hash and transaction index
position.
|
Transaction |
getTransactionByBlockNumberAndIndex(int number,
int index)
Returns information about a transaction by block number and transaction index
position.
|
Transaction |
getTransactionByHash(String hash)
Returns the information about a transaction requested by transaction hash.
|
TransactionReceipt |
getTransactionReceipt(String hash)
Returns the receipt of a transaction by transaction hash.
|
List<Transaction> |
getTransactionsByAddress(String address)
Returns the latest transactions successfully performed by or for an address.
|
List<Transaction> |
getTransactionsByAddress(String address,
int limit)
Returns the latest transactions successfully performed by or for an address.
|
Work |
getWork(String address,
String extraData)
Returns instructions to mine the next block.
|
int |
hashrate()
Returns the number of hashes per second that the node is mining with.
|
boolean |
log(String tag,
String level)
Sets the log level of the node.
|
Mempool |
mempool()
Returns information on the current mempool situation.
|
List<Transaction> |
mempoolContent(boolean includeTransactions)
Returns transactions that are currently in the mempool.
|
String |
minerAddress()
Returns the user friendly miner address.
|
int |
minerThreads()
Returns the number of CPU threads the miner is using.
|
int |
minerThreads(int threads)
Sets the number of CPU threads the miner is using.
|
long |
minFeePerByte()
Gets the current minimum fee per byte.
|
long |
minFeePerByte(long minFeePerByte)
Sets the minimum fee per byte.
|
boolean |
mining()
Returns true if client is actively mining new blocks.
|
boolean |
mining(boolean enabled)
Enables or disables the miner.
|
int |
peerCount()
Returns number of peers currently connected to the client.
|
List<PeerInfo> |
peerList()
Returns a list of peers known to the node.
|
PeerInfo |
peerState(String address)
Returns the state of the peer.
|
PeerInfo |
peerState(String address,
String command)
Changes the state of the peer.
|
String |
pool()
Returns the current pool address.
|
String |
pool(String pool)
Set the new pool to switch to.
|
long |
poolConfirmedBalance()
Returns the miner balance confirmed by the pool.
|
int |
poolConnectionState()
Returns the pool connection state.
|
String |
sendRawTransaction(String txHex)
Sends a signed message call transaction or a contract creation, if the data
field contains code.
|
String |
sendTransaction(OutgoingTransaction tx)
Creates new message call transaction or a contract creation, if the data
field contains code.
|
void |
submitBlock(String blockHex)
Submits a block to the node.
|
SyncStatus |
syncing()
Returns an object with data about the sync status.
|
int peerCount()
SyncStatus syncing()
ConsensusState consensus()
List<PeerInfo> peerList()
PeerInfo peerState(String address)
address
- Address of the peerPeerInfo peerState(String address, String command)
address
- Address of the peercommand
- One of "connect", "disconnect", "ban", "unban"String sendRawTransaction(String txHex)
txHex
- The hex encoded signed transactionString createRawTransaction(OutgoingTransaction tx)
tx
- The transaction objectString sendTransaction(OutgoingTransaction tx)
tx
- The transaction objectTransaction getRawTransactionInfo(String txHex)
txHex
- Hex-encoded presentation of a transactionTransaction getTransactionByBlockHashAndIndex(String hash, int index)
hash
- Hash of the block containing the transactionindex
- Index of the transaction in the blockTransaction getTransactionByBlockNumberAndIndex(int number, int index)
number
- Height of the block containing the transactionindex
- Index of the transaction in the blockTransaction getTransactionByHash(String hash)
hash
- Hash of a transactionTransactionReceipt getTransactionReceipt(String hash)
hash
- Hash of a transactionList<Transaction> getTransactionsByAddress(String address)
address
- Address of which transactions should be gathered.List<Transaction> getTransactionsByAddress(String address, int limit)
address
- Address of which transactions should be gathered.limit
- Maximum number of transactions that shall be returned.List<Transaction> mempoolContent(boolean includeTransactions)
includeTransactions
- If true it returns the full transaction objects,
if false only the hashes of the transactions.Mempool mempool()
long minFeePerByte()
long minFeePerByte(long minFeePerByte)
minFeePerByte
- The new valueboolean mining()
boolean mining(boolean enabled)
enabled
- true to start the minerint hashrate()
int minerThreads()
int minerThreads(int threads)
threads
- number of threadsString minerAddress()
String pool()
String pool(String pool)
pool
- pool addressint poolConnectionState()
long poolConfirmedBalance()
Work getWork(String address, String extraData)
address
- The address to use as a miner for this block. This overrides
the address provided during startup or from the pool.extraData
- Hex-encoded value for the extra data field. This overrides
the address provided during startup or from the pool.BlockTemplate getBlockTemplate(String address, String extraData)
address
- The address to use as a miner for this block. This overrides
the address provided during startup or from the pool.extraData
- Hex-encoded value for the extra data field. This overrides
the address provided during startup or from the pool.void submitBlock(String blockHex)
blockHex
- Hex-encoded full block (including header, interlink and
body). When submitting work from getWork, remember to include
the suffix.List<Account> accounts()
Wallet createAccount()
long getBalance(String address)
address
- Address to check for balance.Account getAccount(String address)
address
- Address of the account.int blockNumber()
Integer getBlockTransactionCountByHash(String hash)
hash
- Hash of the block.Integer getBlockTransactionCountByNumber(int number)
number
- Height of the block.Block getBlockByHash(String hash, boolean includeTransactions)
hash
- Hash of the block to gather information on.includeTransactions
- If true it returns the full transaction objects,
if false only the hashes of the transactions.Block getBlockByNumber(int number, boolean includeTransactions)
number
- The height of the block to gather information on.includeTransactions
- If true it returns the full transaction objects,
if false only the hashes of the transactions.long constant(String name)
name
- The name of the constantlong constant(String name, Object value)
name
- The name of the constantvalue
- Either a numerical value or "reset" to set a default valueboolean log(String tag, String level)
tag
- If '*' the log level is set globally, otherwise the log level is
applied only on this tag.level
- Minimum log level to display. (Valid options: trace, verbose,
debug, info, warn, error, assert)Copyright © 2019. All rights reserved.


OFFICE OF THE PRESIDENT
FEDERAL MINISTRY OF WORKS AND HOUSING
FALOMO SQUARE IKOYI
LAGOS NIGERIA
234 2 8108124,8107735-36
E<EMAIL_ADDRESS>Our Ref:ofr/whc/0078
Your Ref:
First, I must solicit your strictest confidence in this transaction, this is by virtue of the nature as being utterly confidential and top secret.
I am the Director of project and the newly appointed chairman, contract reviewing committee(CRC) of the Federal ministry of Works and Housing (FMW&H) in Lagos, Nigeria, I am seeking your assistance to enable me transfer the sum of US $17,000,000.00 into your account for mutual benefits. This money came about as a result of a contract executed on behalf of my Ministry, the (Federal Ministry of Works and Housing). This contract was officially assigned to be awarded and executed by two foreign contractors at the tune of US$80,500,000.00, but in the course of my negotiation, I bargained with only one foreign contractor, a Bulgarian firm which now executed the contract at the cost of US $63,500,000.00. Thus leaving the remaining US$17M to my benefits unknown to the contractor and any other person in my Ministry.
This contract has been satisfactorily executed and inspected as the Bulgarian firm is presently securing his payment from my Ministry. It is however to this effect that I seek your maximum assistance and approval to present your company name alongside with the Bulgarian contractor as the second foreign contractor to enable me transfer the difference(US$17M) into your account for further investment depending on your advice. On actualization of the transaction, the funds will be shared thus: 1. 35% of the money go to you for acting as the beneficiary of the funds. 2. 10% for reimbursement to both parties for incidental expenses that may be incurred in the course of the transaction for Insurance, phone bills, documentation etc 3. 55% to me. All logistics are in place and all modalities worked out for the smooth actualization of the transaction within fourteen working days of commencement after receiving the following information by fax: Your address,phone and fax numbers. The above information will enable me make application and lodge claims to concerned Ministries in favour of your company or name and it is pertinent to state here that this deal is entirely based on trust and the fear of God. Dear Sir, if you are able to handle this deal, reach me through my official telephone number 234 2810 8124 for a perfect understanding of this transaction. After the close of work every week days I will parallel this telephone line to my official residence, which is not far from the Federal Secretariat Complex, so that you can reach me at any point in time.
Yours faithfully,
Ibrahim Ebaye Dr.
Download Yahoo! Messenger now for a chance to WIN Robbie Williams "Live At Knebworth DVD"


Variables
AESBlockLength
AESBlockLength: number = 16
AESKeyLength
AESKeyLength: number = 32
BlockSize
BlockSize: number = 16
CURVE_P_256_Size
CURVE_P_256_Size: number = 256
CURVE_P_384_Size
CURVE_P_384_Size: number = 384
ECIESKDFOutput
ECIESKDFOutput: number = 512
GCMStandardNonceSize
GCMStandardNonceSize: number = 12
GCMTagSize
GCMTagSize: number = 16
HMACKeyLength
HMACKeyLength: number = 32
IVLength
IVLength: number = 16
KEYUTIL
KEYUTIL: any = jsrsa.KEYUTIL
NonceSize
NonceSize: number = 24
SHA2
SHA2: string = "SHA2"
SHA3
SHA3: string = "SHA3"
TCertEncTCertIndex
TCertEncTCertIndex: string = "<IP_ADDRESS>.5.6.7"
_asn1js
_asn1js: any = require("asn1js")
_pkijs
_pkijs: any = require("pkijs")
_x509schema
_x509schema: any = require("pkijs/org/pkijs/x509_schema")
aesjs
aesjs: any = require('aes-js')
asn1js
asn1js: any = merge(true, _asn1js, common)
common
common: any = require("asn1js/org/pkijs/common")
crypto
crypto: any = require('crypto')
debug
debug: any = require('debug')('crypto')
elliptic
elliptic: any = require('elliptic')
hashPrimitives
hashPrimitives: any = require(__dirname+"/hash")
jsrsa
jsrsa: any = require('jsrsasign')
merge
merge: any = require("node.extend")
pkijs
pkijs: any = merge(true, pkijs_1, x509schema)
pkijs_1
pkijs_1: any = merge(true, _pkijs, asn1js)
sha3_256
sha3_256: any = require('js-sha3').sha3_256
sha3_384
sha3_384: any = require('js-sha3').sha3_384
sjcl
sjcl: any = require('sjcl')
util
util: any = require("util")
x509schema
x509schema: any = merge(true, _x509schema, asn1js)
Copyright 2016 IBM
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Prong
QA testing page
working
waveform
timeline
audio timing
filmstrip
slider
pot
omniscience
automation omniscience
transport
sequence
sequence options
mixer
mixer options
looping
looping playback
spectrogram
text track
regions
musical timeline
automation
automation playback
automation recording
sequence editing
mixer sync
drag drop editing
examples


{# "results": [
{
"description": "\"Bunny\" redirects here. For other uses, see Bunny (disambiguation). Not to be confused with Rabbet. For other uses, see Rabbit (disambiguation). Rabbit;",
"displayUrl": "en.wikipedia.org/wiki/Bunny",
"title": "Rabbit - Wikipedia, the free encyclopedia",
"url": "http://en.wikipedia.org/wiki/Bunny"
}
#}
{% endblock %}


Welcome New Employees!!!!
Total Salaries:
Input New Employees Here
First Name:
Last Name:
Employee Number:
Title:
Review Score:
Salary:
Create New Employee
Create Random Employee
First Name
Last Name
Employee Number
Title
Review Score
Salary
Remove Employee


Actions, resources, and condition keys for Amazon Route 53
Amazon Route 53 (service prefix:
route53
) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.
References:
-
Learn how to configure this service .
-
View a list of the API operations available for this service .
-
Learn how to secure this service and its resources by using IAM permission policies.
Topics
Actions defined by Amazon Route 53
You can specify the following actions in the
Action
element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.
The
Resource types
column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies in the
Resource
element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the
Resource
element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.
The
Condition keys
column of the Actions table includes keys that you can specify in a policy statement's
Condition
element. For more information on the condition keys that are associated with resources for the service, see the
Condition keys
column of the Resource types table.
For details about the columns in the following table, see Actions table .
| Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions |
|---|---|---|---|---|---|
| ActivateKeySigningKey | Grants permission to activate a key-signing key so that it can be used for signing by DNSSEC | Write | |||
| AssociateVPCWithHostedZone | Grants permission to associate an additional Amazon VPC with a private hosted zone | Write |
ec2:DescribeVpcs |
||
| ChangeCidrCollection | Grants permission to create or delete CIDR blocks within a CIDR collection | Write | |||
| ChangeResourceRecordSets | Grants permission to create, update, or delete a record, which contains authoritative DNS information for a specified domain or subdomain name | Write | |||
|
route53:ChangeResourceRecordSetsNormalizedRecordNames |
|||||
| ChangeTagsForResource | Grants permission to add, edit, or delete tags for a health check or a hosted zone | Tagging | |||
| CreateCidrCollection | Grants permission to create a new CIDR collection | Write | |||
| CreateHealthCheck | Grants permission to create a new health check, which monitors the health and performance of your web applications, web servers, and other resources | Write | |||
| CreateHostedZone | Grants permission to create a public hosted zone, which you use to specify how the Domain Name System (DNS) routes traffic on the Internet for a domain, such as example.com, and its subdomains | Write |
ec2:DescribeVpcs |
||
| CreateKeySigningKey | Grants permission to create a new key-signing key associated with a hosted zone | Write | |||
| CreateQueryLoggingConfig | Grants permission to create a configuration for DNS query logging | Write | |||
| CreateReusableDelegationSet | Grants permission to create a delegation set (a group of four name servers) that can be reused by multiple hosted zones | Write | |||
| CreateTrafficPolicy | Grants permission to create a traffic policy, which you use to create multiple DNS records for one domain name (such as example.com) or one subdomain name (such as www.example.com) | Write | |||
| CreateTrafficPolicyInstance | Grants permission to create records in a specified hosted zone based on the settings in a specified traffic policy version | Write | |||
| CreateTrafficPolicyVersion | Grants permission to create a new version of an existing traffic policy | Write | |||
| CreateVPCAssociationAuthorization | Grants permission to authorize the AWS account that created a specified VPC to submit an AssociateVPCWithHostedZone request, which associates the VPC with a specified hosted zone that was created by a different account | Write | |||
| DeactivateKeySigningKey | Grants permission to deactivate a key-signing key so that it will not be used for signing by DNSSEC | Write | |||
| DeleteCidrCollection | Grants permission to delete a CIDR collection | Write | |||
| DeleteHealthCheck | Grants permission to delete a health check | Write | |||
| DeleteHostedZone | Grants permission to delete a hosted zone | Write | |||
| DeleteKeySigningKey | Grants permission to delete a key-signing key | Write | |||
| DeleteQueryLoggingConfig | Grants permission to delete a configuration for DNS query logging | Write | |||
| DeleteReusableDelegationSet | Grants permission to delete a reusable delegation set | Write | |||
| DeleteTrafficPolicy | Grants permission to delete a traffic policy | Write | |||
| DeleteTrafficPolicyInstance | Grants permission to delete a traffic policy instance and all the records that Route 53 created when you created the instance | Write | |||
| DeleteVPCAssociationAuthorization | Grants permission to remove authorization for associating an Amazon Virtual Private Cloud with a Route 53 private hosted zone | Write | |||
| DisableHostedZoneDNSSEC | Grants permission to disable DNSSEC signing in a specific hosted zone | Write | |||
| DisassociateVPCFromHostedZone | Grants permission to disassociate an Amazon Virtual Private Cloud from a Route 53 private hosted zone | Write |
ec2:DescribeVpcs |
||
| EnableHostedZoneDNSSEC | Grants permission to enable DNSSEC signing in a specific hosted zone | Write | |||
| GetAccountLimit | Grants permission to get the specified limit for the current account, for example, the maximum number of health checks that you can create using the account | Read | |||
| GetChange | Grants permission to get the current status of a request to create, update, or delete one or more records | List | |||
| GetCheckerIpRanges | Grants permission to get a list of the IP ranges that are used by Route 53 health checkers to check the health of your resources | List | |||
| GetDNSSEC | Grants permission to get information about DNSSEC for a specific hosted zone, including the key-signing keys in the hosted zone | Read | |||
| GetGeoLocation | Grants permission to get information about whether a specified geographic location is supported for Route 53 geolocation records | List | |||
| GetHealthCheck | Grants permission to get information about a specified health check | Read | |||
| GetHealthCheckCount | Grants permission to get the number of health checks that are associated with the current AWS account | List | |||
| GetHealthCheckLastFailureReason | Grants permission to get the reason that a specified health check failed most recently | List | |||
| GetHealthCheckStatus | Grants permission to get the status of a specified health check | List | |||
| GetHostedZone | Grants permission to get information about a specified hosted zone including the four name servers that Route 53 assigned to the hosted zone | List | |||
| GetHostedZoneCount | Grants permission to get the number of hosted zones that are associated with the current AWS account | List | |||
| GetHostedZoneLimit | Grants permission to get the specified limit for a specified hosted zone | Read | |||
| GetQueryLoggingConfig | Grants permission to get information about a specified configuration for DNS query logging | Read | |||
| GetReusableDelegationSet | Grants permission to get information about a specified reusable delegation set, including the four name servers that are assigned to the delegation set | List | |||
| GetReusableDelegationSetLimit | Grants permission to get the maximum number of hosted zones that you can associate with the specified reusable delegation set | Read | |||
| GetTrafficPolicy | Grants permission to get information about a specified traffic policy version | Read | |||
| GetTrafficPolicyInstance | Grants permission to get information about a specified traffic policy instance | Read | |||
| GetTrafficPolicyInstanceCount | Grants permission to get the number of traffic policy instances that are associated with the current AWS account | Read | |||
| ListCidrBlocks | Grants permission to get a list of the CIDR blocks within a specified CIDR collection | List | |||
| ListCidrCollections | Grants permission to get a list of the CIDR collections that are associated with the current AWS account | List | |||
| ListCidrLocations | Grants permission to get a list of the CIDR locations that belong to a specified CIDR collection | List | |||
| ListGeoLocations | Grants permission to get a list of geographic locations that Route 53 supports for geolocation | Read | |||
| ListHealthChecks | Grants permission to get a list of the health checks that are associated with the current AWS account | Read | |||
| ListHostedZones | Grants permission to get a list of the public and private hosted zones that are associated with the current AWS account | List | |||
| ListHostedZonesByName | Grants permission to get a list of your hosted zones in lexicographic order. Hosted zones are sorted by name with the labels reversed, for example, com.example.www | List | |||
| ListHostedZonesByVPC | Grants permission to get a list of all the private hosted zones that a specified VPC is associated with | List |
ec2:DescribeVpcs |
||
| ListQueryLoggingConfigs | Grants permission to list the configurations for DNS query logging that are associated with the current AWS account or the configuration that is associated with a specified hosted zone | List | |||
| ListResourceRecordSets | Grants permission to list the records in a specified hosted zone | List | |||
| ListReusableDelegationSets | Grants permission to list the reusable delegation sets that are associated with the current AWS account. | Read | |||
| ListTagsForResource | Grants permission to list tags for one health check or hosted zone | Read | |||
| ListTagsForResources | Grants permission to list tags for up to 10 health checks or hosted zones | Read | |||
| ListTrafficPolicies | Grants permission to get information about the latest version for every traffic policy that is associated with the current AWS account. Policies are listed in the order in which they were created | List | |||
| ListTrafficPolicyInstances | Grants permission to get information about the traffic policy instances that you created by using the current AWS account | Read | |||
| ListTrafficPolicyInstancesByHostedZone | Grants permission to get information about the traffic policy instances that you created in a specified hosted zone | List | |||
| ListTrafficPolicyInstancesByPolicy | Grants permission to get information about the traffic policy instances that you created using a specified traffic policy version | List | |||
| ListTrafficPolicyVersions | Grants permission to get information about all the versions for a specified traffic policy | List | |||
| ListVPCAssociationAuthorizations | Grants permission to get a list of the VPCs that were created by other accounts and that can be associated with a specified hosted zone | List | |||
| TestDNSAnswer | Grants permission to get the value that Route 53 returns in response to a DNS query for a specified record name and type | Read | |||
| UpdateHealthCheck | Grants permission to update an existing health check | Write | |||
| UpdateHostedZoneComment | Grants permission to update the comment for a specified hosted zone | Write | |||
| UpdateTrafficPolicyComment | Grants permission to update the comment for a specified traffic policy version | Write | |||
| UpdateTrafficPolicyInstance | Grants permission to update the records in a specified hosted zone that were created based on the settings in a specified traffic policy version | Write |
Resource types defined by Amazon Route 53
The following resource types are defined by this service and can be used in the
Resource
element of IAM permission policy statements. Each action in the
Actions table
identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see
Resource types table
.
| Resource types | ARN | Condition keys |
|---|---|---|
| cidrcollection |
arn:$
{
Partition}:route53:::cidrcollection/$
{
Id}
|
|
| change |
arn:$
{
Partition}:route53:::change/$
{
Id}
|
|
| delegationset |
arn:$
{
Partition}:route53:::delegationset/$
{
Id}
|
|
| healthcheck |
arn:$
{
Partition}:route53:::healthcheck/$
{
Id}
|
|
| hostedzone |
arn:$
{
Partition}:route53:::hostedzone/$
{
Id}
|
|
| trafficpolicy |
arn:$
{
Partition}:route53:::trafficpolicy/$
{
Id}
|
|
| trafficpolicyinstance |
arn:$
{
Partition}:route53:::trafficpolicyinstance/$
{
Id}
|
|
| queryloggingconfig |
arn:$
{
Partition}:route53:::queryloggingconfig/$
{
Id}
|
|
| vpc |
arn:$
{
Partition}:ec2:$
{
Region}:$
{
Account}:vpc/$
{
VpcId}
|
Condition keys for Amazon Route 53
Amazon Route 53 defines the following condition keys that can be used in the
Condition
element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see
Condition keys table
.
To view the global condition keys that are available to all services, see Available global condition keys .
| Condition keys | Description | Type |
|---|---|---|
| route53:ChangeResourceRecordSetsActions | Filters access by the change actions, CREATE, UPSERT, or DELETE, in a ChangeResourceRecordSets request | ArrayOfString |
| route53:ChangeResourceRecordSetsNormalizedRecordNames | Filters access by the normalized DNS record names in a ChangeResourceRecordSets request | ArrayOfString |
| route53:ChangeResourceRecordSetsRecordTypes | Filters access by the DNS record types in a ChangeResourceRecordSets request | ArrayOfString |


Callable objects
Functions, methods, classes, callable class instances
input() vs. raw_input()
raw_input() returns user input as a string; input() returns the evaluation of the user input as a Python expression. In other words:
input() eval(raw_input())


I will make a confession. Although I am an OCA/OCP Java programmer, I just learned what native methods are.
One day, I wondered about the implementation of hashCode in the Object class and saw that it has no implementation and it uses the native keyword. The native keyword specifies that a method is implemented in another language, not Java. Platform dependent native code (compiled code) is dynamically called by Java and the result of these methods is returned to Java. This feature is called JNI (Java Native Interface). So somewhere in the JVM, there is a hashCode code written in non-Java language (probably C/C++). So I will try to write C code and run it in Java.
Writing C
I will implement stack in the sample C program. This program will includes 2 parts; stack header file which includes method definitions, stack c file which includes header implementation.
Stack.h
#ifndef STACK_H_
#define STACK_H_
void push(int data);
void pop();
void display();
#endif
Stack.c
#include <stdio.h>
#include <stdlib.h>
#include "Stack.h"
struct node {
int info;
struct node *ptr;
} *top;
void push(int data) {
struct node* temp = (struct node*) malloc(1 * sizeof(struct node));
if (top == NULL) {
top = temp;
top->ptr = NULL;
top->info = data;
}
else {
temp->ptr = top;
temp->info = data;
top = temp;
}
}
void pop() {
struct node *temp = top;
if (temp == NULL) {
return;
}
else {
temp = temp->ptr;
}
free(top);
top = temp;
}
void display() {
struct node *temp = top;
if (temp == NULL) {
printf("stack is empty\n");
return;
}
while (temp != NULL) {
printf("%d -> ", temp->info);
temp = temp->ptr;
}
printf("NULL\n");
}
Let’s test stack implementation by gcc -o stack_app Main.c Stack.c
then stack_app.exe
command.
Main.c
#include "Stack.h"
int main() {
display();
push(4);
push(1);
push(6);
display();
pop();
display();
pop();
pop();
display();
push(11);
display();
}
Writing Java and Native Methods
Let’s create native methods in our Java class. JNI will be bridge between our Java codes and C native codes. Static code block will loads native codes (we will create shared lib files later) from the file system into memory, so Stack class is able to use native methods when it needs.
Stack.java
public class Stack {
static {
System.loadLibrary("native-stack");
}
public native void push(int val);
public native void pop();
public native void display();
}
We will compile Stack class by using -h flag (javac -h . Stack.java
),
so it will create Stack.h header
file which includes all native method definitions.
Stack.h
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class Stack */
#ifndef _Included_Stack
#define _Included_Stack
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: Stack
* Method: push
* Signature: (I)V
*/
JNIEXPORT void JNICALL Java_Stack_push
(JNIEnv *, jobject, jint);
/*
* Class: Stack
* Method: pop
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_Stack_pop
(JNIEnv *, jobject);
/*
* Class: Stack
* Method: display
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_Stack_display
(JNIEnv *, jobject);
#ifdef __cplusplus
}
#endif
#endif
We will create Stack.c file for native method implementation of
Stack.h file generated by compiler. We will use the contents of the Stack.c file
we created earlier. The only difference is that we will replace
the old method definitions with new ones in the new Stack.h file.
Stack.c
#include <stdio.h>
#include <stdlib.h>
#include "Stack.h"
struct node {
int info;
struct node *ptr;
} *top;
JNIEXPORT void JNICALL Java_Stack_push
(JNIEnv* env, jobject thisObject, jint val) {
struct node* temp = (struct node*) malloc(1 * sizeof(struct node));
if (top == NULL) {
top = temp;
top->ptr = NULL;
top->info = val;
}
else {
temp->ptr = top;
temp->info = val;
top = temp;
}
}
JNIEXPORT void JNICALL Java_Stack_pop
(JNIEnv* env, jobject thisObject) {
struct node *temp = top;
if (temp == NULL) {
return;
}
else {
temp = temp->ptr;
}
free(top);
top = temp;
}
JNIEXPORT void JNICALL Java_Stack_display
(JNIEnv* env, jobject thisObject) {
struct node *temp = top;
if (temp == NULL) {
printf("stack is empty\n");
return;
}
while (temp != NULL) {
printf("%d -> ", temp->info);
temp = temp->ptr;
}
printf("NULL\n");
}
Compiling
Now, we will build our shared library (native-stack. remember static code block in java) from the C codes. The Stack.h file generated by compiler uses jni.h file. This file comes from JDK, and we will need to include this file when build shared library.
gcc -c -I%JAVA_HOME%\include -I%JAVA_HOME%\include\win32 Stack.c -o Stack.o
gcc -shared native-stack.dll Stack.o -Wl,--add-stdcall-alias
Let’s test our Stack Java class.
Main.java
public class Main {
public static void main(String[] args) {
Stack stack = new Stack();
stack.display();
stack.push(4);
stack.push(1);
stack.push(6);
stack.display();
stack.pop();
stack.display();
stack.pop();
stack.pop();
stack.display();
stack.push(11);
stack.display();
System.out.println("java program");
}
}
Run Main class
java -cp . -Djava.library.path=C:/libs/my-dll-path-dir Main.java


Support
Availability
Design
Development
Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae, animi velit maxime quo ut illum cupiditate magnam earum doloribus eaque.
March 2012
February 2012
January 2012
December 2011


Toggle navigation
Pizza Mitra Mandal
Menu
Contact
Login
Start Order
×
Login
Some text in the modal.
Previous
Next


{% extends "skeleton/_base.html" %} {% block title %}{{ site.name }}{% endblock %} {% block content %}
Hello, I'm Steve Losh.
I'm a programmer, photographer, dancer & bassist from Rochester, New York.
If you want to get in touch with me, email is best.
{% endfilter %}


2
1 I said in my heart, "Come now, I will test you with happiness. So enjoy pleasure." But look, this also was just a temporary breeze.
2 I said about laughter, "It is crazy," and about pleasure, "What use is it?"
3 I explored in my heart how to gratify my desires with wine. I let my mind guide me with wisdom although I was still holding on to folly. I wanted to find out what is good for people to do under heaven during the days of their lives.
4 I accomplished great things. I built houses for myself and planted vineyards.
5 I built for myself gardens and parks; I planted all kinds of fruit trees in them.
6 I created pools of water to water a forest where trees were grown.
7 I purchased male slaves and female slaves; I had slaves born in my palace. I also had large herds and flocks of livestock, much more than any king who ruled before me in Jerusalem.
8 I accumulated for myself silver and gold, the treasures of kings and provinces. I had male and female singers for myself; by means of numerous wives and concubines, I did things that would bring pleasure to any man on earth.
9 So I became greater and wealthier than all who were before me in Jerusalem, and my wisdom remained with me.
10 Whatever my eyes desired,
I did not withhold from them.
I did not withhold my heart from any pleasure,
because my heart rejoiced in all my labor,
and pleasure was my reward for all my work.
11 Then I looked on all the deeds that my hands had accomplished,
and on the work that I had done,
but again, everything was vapor and an attempt to shepherd the wind.
There was no profit under the sun in it.
12 Then I turned to consider wisdom,
and also madness and folly.
For what can the next king do who comes after the king,
which has not already been done?
13 Then I began to understand
that wisdom has advantages over folly,
just as light is better than darkness.
14 The wise man uses his eyes in his head to see where he is going,
but the fool walks in darkness,
although I know the same destiny is in store for everyone.
15 Then I said in my heart,
"What happens to the fool,
will also happen to me.
So what difference does it make if I am very wise?"
I concluded in my heart,
"This too is only vapor."
16 For the wise man, like the fool, is not remembered for very long.
In the days to come everything will have been long forgotten.
The wise man dies just like the fool dies.
17 So I detested life because all the work done under the sun was evil to me. This was because everything is vapor and an attempt to shepherd the wind.
18 I hated all my accomplishments for which I had worked under the sun because I must leave them behind to the man who comes after me.
19 And who knows whether he will be a wise man or a fool? Yet he will be master over everything under the sun that my work and wisdom have built. This also is vapor.
20 Therefore my heart began to despair over all the work under the sun that I did.
21 For there might be someone who works with wisdom, with knowledge, and skill, but he will leave everything he has to a man who has not made any of it. This also is vapor and a great tragedy.
22 For what profit does the person gain who works so hard and tries in his heart to complete his labors under the sun?
23 Every day his work is painful and stressful, so at night his soul does not find rest. This also is vapor.
24 There is nothing better for anyone than to simply eat and drink and be satisfied with what is good in his work. I saw that this truth comes from God's hand.
25 For who can eat or who can have any kind of pleasure apart from God?
26 For to anyone who pleases him, God gives wisdom and knowledge and joy. However, to the sinner he gives the work of gathering and storing up so that he may give it away to someone who pleases God. This also amounts to vapor and an attempt to shepherd the wind.


destroy containers on a set of hosts.
The containers on the specified hosts will be stopped or killed.
run check playbooks on a set of hosts
Bases: object
class for running ansible commands
get process status
status: - None: running - 0: done, success - 1: done, error - 2: done, killed by user
Bases: object