No man was ever allowed to see her face. When she rode through the city to the public baths the Sultan commanded that all the houses should be closed and that the people should stay indoors and not look out, upon pain of death.
Now Aladdin was very curious, as well as bold. One day when the Princess was to pass through[305] the city he hid himself near the door of the baths without anyone knowing it.
The Princess came riding down the street with all her guards and ladies-in-waiting about her, and just as she reached the door near which Aladdin was hiding she dropped her veil, and he saw her face. At once he was filled with a violent love for her. It seemed to him he could not live unless he could have the Princess for a wife.
When he returned home his mother noticed that he was very thoughtful. She did not know what had happened to him. At last she asked, “My son, what ails you? Why are you so thoughtful and silent.”
“My mother,” answered Aladdin, “I have seen the Princess Buddir al Baddoor, and unless I can marry her I no longer wish to live.”
When the widow heard these words she thought her son must be crazy.
“How can you think of such a thing?” she cried.  How can a tailor’s son hope to marry a princess?”
“Nevertheless that is what I intend to do,” said[306] Aladdin. He then urged and entreated his mother to go to the palace and ask the Sultan to give the Princess to him. The widow was very loth to do this, but she loved her son so tenderly that at last she consented.
“But have you forgotten,” said she, “that no one can come before the Sultan without bringing him a present?”
“I have not forgotten,” said Aladdin, “and I mean to send the Sultan such a gift as he has never seen before.”
He then fetched from the cupboard a porcelain dish, and he also brought out the fruits he had brought from the garden. He arranged the fruits in the dish in a pyramid according to their colors, and when he had done this his mother was amazed at their beauty. They shone so brightly that it dazzled the eyes to look at them. “Now I will tell you,” said Aladdin, “that these fruits are jewels so rare and magnificent that not the greatest ruler on earth has any that can equal them.”
The widow was amazed when she heard this. She could hardly believe it, and it was with fear and trembling that she set out at length for the[307] Sultan’s palace. She carried the dish of jewels with her, covered over with a fine napkin.
When she reached the palace she went into the audience chamber with the rest of the crowd who had come to bring their cases before the Sultan. She sat down near the wall and stayed there all day, but she found no chance to speak to the Sultan or to offer her gift. And so it was day after day. Every morning she came to the audience chamber with the jewels, and every evening she returned home without having spoken to him.
But it so chanced the Sultan noticed how she came day after day with the covered dish in her hands, and he grew curious as to who she was and what she wanted. At last he spoke to his Grand Vizier about her, and commanded that she should be brought before him.
This was done, but the poor woman was so frightened by the honor done her that she stood there trembling and unable to say a word.
The Sultan saw her terror and spoke to her gently. “My good woman,” said he, “do not be afraid. Tell me why you have come here day after day. Is there something you wish to ask of me?”[308]
“There is indeed something that I wish to ask, and yet I dare not,” said the widow.
The Sultan, however, encouraged her. “Speak,” said he. “Do not be afraid. Tell me what you wish.”
“My son,” said the widow, “wishes to marry the Princess Buddir al Baddoor, and I have come here to ask you to give her to him as a wife; and my son also sends this small present, which he begs you to accept.”
When this widow, so poor and meanly dressed, said that her son wished to marry the Princess the Sultan could hardly keep from laughing; but when she uncovered the dish of jewels he was amazed. He took up one after another and examined it with admiration. He turned to the Vizier, who stood beside him: “Never in all my life before,” said he, “have I seen such beautiful jewels. Truly a man who can send me such a gift as this is worthy to have a princess for a wife. Do you not agree with me?”
When the Grand Vizier heard this he was troubled. He had indeed hoped that his own son might marry the Princess. Now he said, “Your[309] Majesty, these jewels are indeed very wonderful; but we know nothing of the man who sent them. He may be only some beggarly rogue who has stolen them.”
“That is true,” said the Sultan. He thought for a moment, still turning the jewels with his fingers. Then he said to the woman, “I am indeed very much pleased with the gift your son has sent me. Go back and tell him I am inclined to give him the Princess for a wife, but first he must send me forty basins of massy gold filled with the same sort of jewels as these. If he can do this I will gladly have him for a son-in-law.”
The widow returned home and told her son what the Sultan had said. Aladdin was overjoyed when he heard the message. He now felt sure that before long he would be married to the Princess. He took the lamp and rubbed it, and at once the genie appeared.
“What dost thou wish?” asked the genie. “I and the other slaves of the lamp are ready to serve thee in all things.”
“I wish,” said Aladdin, “for forty basins of massy gold, filled with jewels such as I gathered in the[310] garden. I also wish for forty black slaves, magnificently dressed, to carry the basins, and forty white slaves, also magnificently dressed and mounted on fine horses, to ride before them and behind.”
“To hear is to obey,” answered the genie.
At once he disappeared, but almost in a moment of time a long procession of slaves appeared in the street where Aladdin lived and gathered before his house.
When Aladdin saw these slaves and the jewels they bore his eyes sparkled with joy. He at once commanded them to march to the palace and present the jewels to the Sultan, and the widow herself hastened away, so as to reach the palace at the same time that they did.
The slaves set out through the city; a great crowd followed them, shouting and rejoicing, for never had such a sight been seen there before.[311]
The Sultan heard the sound of huzzahing and wondered what was the reason for it. But when the slaves entered the palace bearing their basins of jewels he himself was filled with wonder and admiration. He turned to his Vizier. “Surely,” said he, “anyone who can send me such a gift as this is worthy of the Princess Buddir al Baddoor;” and though the Vizier could hardly hide his envy he was obliged to agree with his master.
When Aladdin heard that the Sultan had consented to his marriage with the Princess he could hardly contain his joy. He at once rubbed the lamp, and when the genie appeared he commanded him to bring him the most magnificent clothes, such as were suitable for a Sultan’s son to wear, also a handsome horse for him to ride upon, and a troop of horsemen, handsomely dressed to ride with him.
All this the genie did, and after Aladdin had bathed in a scented bath, and had dressed himself in his magnificent garments he was so handsome and noble-looking that his old friends would not have known him.
He rode away to the palace, and there the Sultan[312] received him with the greatest respect and honor. He would have married Aladdin to his daughter at once, but this Aladdin did not wish.
“Your Majesty,” said he, “greatly as I long to see the Princess Buddir al Baddoor I wish first to provide a palace for us to live in when we are married. For this purpose I beg of your Majesty to give me a plot of ground where I can build it.”
The Sultan was surprised and disappointed when he heard this. He thought it would take years to build a palace, and he could not understand how Aladdin could want to wait that long before marrying the Princess. However, he gave him the ground he asked for.
Aladdin then returned home and rubbed the lamp. At once the genie appeared before him, and asked him what were his commands.
“I command you,” said Aladdin, “to build me immediately a castle twice as handsome as that of the Sultan. I wish it to be furnished throughout in the most magnificent manner, and I also wish for a proper number of servants and guards to take charge of it. There must also be gardens around[313] it with fountains and trees and flowers, and stables full of handsome horses, and above all there must be a treasure-house filled with gold and silver and precious stones.”
“To hear is to obey,” answered the genie; and at once he disappeared.
The next morning, when the Sultan awoke and looked from the window, he could hardly believe his eyes. He stared, and rubbed his eyes, and looked again. There, upon the bare piece of ground he had given to Aladdin, stood a great palace glittering with gold and silver and precious stones. It was far more magnificent than his own, and it had been built in one single night.
The Sultan at once sent for Aladdin, and when he came the Sultan made the tailor’s son sit beside him, and talked with him as an equal. “My dear Aladdin,” said he, “you are indeed a very wonderful man, and it is only fitting that the most beautiful princess in the world should be your wife, and you shall be as dear to me as though you were my own son.”
That very day Aladdin and the Princess were married, and went to live in the magic palace, and[314] as they loved each other dearly nothing could equal their happiness. Aladdin felt so secure in his good fortune that he never even thought of the magician or wondered whether he might some day come to claim the lamp.
The magician had indeed left China soon after his adventure with Aladdin. He journeyed back and forth over the earth in many places, and at last in his wanderings he came again to the city where he had met Aladdin. There he heard much talk of how a poor lad had married the daughter of the Sultan, and of the magnificent palace he had built. The magician never thought that Aladdin might be that poor lad, for he supposed he had perished in the hidden garden.
At last the magician became curious to see the palace that everyone was talking about, and he hired a horse and rode out to where it stood. As soon as he saw it he knew at once that it had been built by the genie of the lamp. He hastened home and got out his magic books, and from them learned that Aladdin was still alive, and that it was he who owned the palace and had become the Sultan’s son-in-law.[315]
When the magician learned this he was filled with rage and at once began to plot and plan as to how he could get the lamp for himself, and destroy Aladdin.
In order to carry out this purpose he bought a number of fine new lamps and disguised himself in poor, mean clothing. He waited until one time when Aladdin had gone hunting with the Sultan, and then he started out through the city with his tray of lamps, calling, “New lamps for old! New lamps for old!”
Many people heard his cry and came hurrying out of their houses with old broken lamps, and offered them to the magician to exchange. He took them willingly, and for all of these old lamps he gave in return fine new ones. The people thought he must be crazy. A great crowd followed him, shouting and laughing.
 The Princess was sitting in an upper room with her attendants and yawning and feeling quite dull, because Aladdin was away. When she heard the noise and hubbub in the street she became curious. She sent one of her women to find out[316] what the noise was about. She hoped it might be something amusing.
Presently the woman came back laughing. “Fancy!” cried she. “It is an old man with a tray of the most beautiful new lamps, and he is trading them for old ones.”
The Princess was much amused at this idea. “Where is that old blackened lamp that I have seen your master have?” asked she. “Look about and see if you can find it?”
Her woman began to search the palace, and at last they found the magic lamp hidden away in a corner of the treasure-room. They brought it to the Princess, and she at once caused the magician to be brought before her. “Here, old man,” said she, laughing. “Here is an old lamp. Will you give me a new one for it?”
When the magician saw the lamp he could hardly hide his joy. “Gladly, madam,” he answered. “Choose whichever of the lamps you will, and it shall be yours.”
The Princess chose one that pleased her well, and the magician took the old lamp and hurried away with it.[317]
No sooner had he reached home than he shut himself up alone in his room and rubbed the lamp. At once the genie appeared.
“What do you wish?” cried he. “I and the other slaves of the lamp stand ready to serve you.”
“I wish,” cried the magician in a terrible voice, “that the palace of Aladdin and all that are in it shall be carried away to Africa.”
“To hear is to obey,” answered the genie, and immediately disappeared.
That evening the Sultan and Aladdin came home from their hunt. They rode along together, talking pleasantly, until they came within sight of the Sultan’s palace. Suddenly the Sultan drew rein and stared with blank surprise. The castle that Aladdin had built in a single night was gone. Not a sign of it was left.
“Your palace!” cried the Sultan. “Where is your palace?”
Aladdin, too, stared thunderstruck. “I—I do not know!” he faltered.
“You do not know?” cried the Sultan. “And my daughter! Where is she?”
“I do not know,” answered Aladdin again.[318]
The Sultan was filled with rage. “You do not know!” he thundered. “Miserable wretch! was your castle only the work of enchantment? Have you carried off my daughter by your magic? Now unless you bring her back at once you shall surely die.”
Aladdin was in despair. He begged the Sultan to allow him forty days in which to search for the Princess, and to this the Sultan at last consented.
Aladdin at once set out on the search, but he did not know in which direction to go. He wandered about from one place to another, without learning anything about the fate of the Princess or his palace.
At last one day he found himself in a rocky spot beside the sea. In descending the rocks he slipped and caught his hand on a sharp point, and in so doing he rubbed the magician’s ring which he still wore, but which he had forgotten.
At once the genie of the ring appeared before him. “Master,” said he, “what wouldst thou have? I and the other slaves of the ring stand ready to serve thee.”
Aladdin was overjoyed to find that the ring still kept its magic powers. “I wish,” said he, “that[319] you would bring back my palace and the Princess, or else take me where they are.”
“I cannot bring them back,” answered the slave of the ring, “for they have been carried away by the genie of the lamp, who is mightier than I, but I can take you where they are.”
The slave of the ring then caught up Aladdin, and in less time than it takes to tell he had carried him to Africa and had set him down in the apartment in the palace where the Princess was.
When the Princess saw Aladdin thus suddenly appear before her she gave a cry of joy and threw herself into his arms.
“The lamp!” cried Aladdin. “Where is the lamp?” for he wished to protect himself against the power of the magician.
“Alas,” cried the Princess, “I do not know where it is. Already I feared that all our misfortunes had come from my trading off that lamp to a beggar.” She then told Aladdin the whole story of how one had come offering new lamps for old, and of how her women had hunted up the old blackened lamp, and she had given it away for a new one.[320]
Aladdin at once guessed that the beggar must have been the magician in disguise. “We will never be safe,” said he, “until we have that lamp in our possession again. Does the magician ever come here?”
“Oh, yes,” said the Princess; “he comes here every day and wearies me with his pretty speeches. He wishes me to marry him, but that I will never do.”
“Now, listen,” said Aladdin. “The next time the magician comes greet him pleasantly. Talk to him for awhile, and then offer him a glass of sherbet. In this sherbet you must first put a powder that I will give you. It is a sleeping-powder. After the magician drinks it he will fall into a deep sleep. You must then at once call me. Together we will search his clothing, for I feel sure he is afraid to leave the lamp anywhere, and carries it always about him. If we can once get hold of the lamp all of our troubles are at an end.”
The Princess promised to do exactly as Aladdin bade her, and then he gave her the powder, and hid himself in a room near by.
Not long after this the magician came, as usual,[321] to sit and talk with the Princess. She met him with smiling looks, and was so pleasant and friendly that the magician was delighted. He hoped the Princess was beginning to love him and that before long she would consent to be his wife.
Presently the Princess took up a glass of sherbet in which she had already dissolved the powder. “I thought you might be thirsty,” said she, “and I prepared this sherbet for you; will you not drink it?”
The magician thanked her, and taking the goblet he drank the sherbet at one draught. Almost at once his head dropped back on the cushions and he sank in a deep sleep.
The Princess did not delay a moment in calling Aladdin. He came in haste, and together they searched the garments of the magician. It did not take them long to find the lamp, which was hidden in his vest.
Aladdin rubbed it, and the genie of the lamp appeared before him.
“What dost thou wish?” he cried. “I and all the other slaves of the lamp stand ready to obey thee.”[322]
“First,” said Aladdin, “I wish this magician carried away to the uttermost parts of the earth, and I wish him never to be allowed to come within a hundred miles of the lamp again. Secondly, I wish my palace to be returned to the place from which it was taken.”
“To hear is to obey,” answered the genie.
He disappeared with the magician, and as the magician never was seen again he probably never escaped from the ends of the earth.
As for the palace it and all that was in it were returned to the place where it first stood, and the Sultan was so delighted to see his daughter again that he gladly forgave Aladdin. The tailor’s son was raised to the greatest honors in the kingdom, and upon the Sultan’s death he became Sultan, and lived happy forever after with his beautiful wife, Buddir al Baddoor.
There was once a cobbler who worked hard at his trade, and yet never seemed to get on in the world.
One evening he took his last piece of leather and cut out a pair of shoes and laid the pieces neatly on his bench, expecting to finish them in the morning.

The next morning he went to his shop early to begin work. What was his surprise to find that in[324] the night the pieces had been made up into a fine pair of shoes. He took them up and examined them, and there was not a fault to be found with them. It was indeed much better work than the cobbler could have done. Not even the king’s shoemaker could have done better.
The cobbler set the shoes out where they could be seen, and he soon had a customer for them. This customer was a very rich man. “This is a very fine pair of shoes,” said the rich man after he had examined them. “I will take them, and you may make me two more pairs.” He then paid the cobbler well, and went away, carrying the shoes with him.
The cobbler was ready to dance with joy. He hurried out and bought more leather, and by evening he had cut out two more pairs of shoes. He left the pieces lying on the bench as before.
When he came to the shop the next morning, he found both pairs finished and standing side by side on the bench, and they were just as well made as the other pair had been. The rich man was delighted with them, and he brought a friend to the shop with him, who also ordered two pairs of shoes.[325]
So it went on. Soon the cobbler had all the customers he could attend to, and they paid high prices for his shoes, for they were better than could be bought anywhere else.
But the cobbler puzzled and puzzled about who was helping him. No matter how late he sat up, nor how early he rose in the morning, he never saw anyone, and he never heard a sound.
At last he determined he would watch all night and find out who was doing the work. So when his wife went off to bed he hid himself behind some clothes that were hanging in the corner, and stayed there as still as a mouse. No one would have known there was anybody in the room. The moon shone in at the window and all the house was still.
Suddenly he saw two little brown fairy-men there in the room, but where they came from he could not tell. It was cold winter weather, but neither of them had on coats or shoes or trousers. They picked up the pieces of leather and looked at them, and then they sat down cross-legged and began to work. They fitted and sewed and hammered, so fast that in a short time all the shoes[326] were done. The two little men set them in a row on the bench, and nodded to each other as though they were well pleased, and then they went as they came, without a sound, and the cobbler could not tell what had become of them.
The next day the cobbler told his wife all that he had seen the night before. The two talked it over for a long time.
“We ought to do something to show our gratitude to the little men,” said his wife. “How would it be if I made a little shirt and a suit for each of them, and you can make them each a pair of shoes.”
To this the cobbler agreed. He went out and bought some fine cloth and cambric, and buttons and also some soft thin leather.
Then his wife set to work and made two little shirts and two little suits all complete, even to the pockets and buttonholes, and the cobbler made two tiny pairs of shoes. When all was finished, they laid the clothes out on the bench, and that night they left a light burning and hid themselves in the corner behind the clothes, to see what would happen. The clock ticked on, and suddenly[327] they saw the two little brown men there in the room, moving quietly about, though how they had come there neither the cobbler nor his wife knew.
The little men went to the bench where the leather was generally laid out, and there, instead of leather pieces were the two little suits of clothes and the two little pairs of shoes. The brownies took up the clothes piece by piece and examined them; they held them up and turned them this way and that. Last of all they put the clothes on, and they fitted exactly. Then they began to dance with glee, and to sing:
So singing they danced about over tables and chairs and benches and so on out the door into the night, and they never were seen again.
But the cobbler prospered, and in time became a very rich man.
There was once a girl named Ella who was so gentle and beautiful that everyone who knew her loved her, except those who should have loved her best, and those were her stepmother and her stepsisters.
Her own mother had died while she was quite young, and then her father had married again. This new wife had two daughters of her own, and she wished them to have everything and Ella to have nothing. The stepmother dressed her own children in fine clothes, and they sat about and did nothing all day, but Cinderella worked in the[329] kitchen and had nothing but rags to wear, and because she often sat close to the ashes to warm herself her sisters called her Cinderella.
Now the King and Queen of that country had only one son, and they were very anxious for him to marry, but he had never seen anyone whom he wished to have for a bride. At last they determined to give a great ball, and to ask to it all the fairest ladies in the land. They hoped that among them all the Prince might see someone whom he would choose. All the grand people of the city were invited, and Cinderella’s stepmother and her stepsisters were asked with all the rest.
The stepsisters were very much excited over it. They were both so handsome that they hoped one of them might be chosen by the Prince. They had often watched from the windows to see him riding by, and he was so gay and gallant that anyone might have been glad to marry him.
All sorts of fine things were bought for the sisters to wear, satins and velvets and laces and jewels, feathers for their hair, and glittering fans for them to carry, and the stepmother’s dress was no less fine than theirs.[330]
Cinderella sighed and sighed. “I wish I might go to the ball, too, and see that handsome Prince and all the lovely ladies,” she said.
“You!” cried the sisters, laughing. “A pretty sight you would be at the ball; you with your rags and your sooty hands.”
“Go scour your pots and pans,” cried the stepmother.
So Cinderella went back to her work, but as she scrubbed and rubbed the tears ran down her cheeks so fast she could hardly see.
The night of the ball the sisters dressed themselves in all their finery and came into the kitchen to show themselves to Cinderella; they hoped to make her envious. They swept up and down the room and spread their gowns and smiled and ogled while Cinderella admired them. After they tired of her admiration they and the stepmother stepped into a fine coach and rolled gayly away to the ball.
But Cinderella sat in a corner by the fire and wept and wept.
Suddenly, as she wept, a little old woman in[331] a high-pointed hat and buckled shoes appeared in the kitchen, and where she came from no one could have told. Her eyes shone and twinkled like two stars, and she carried a wand in her hand.
“Why are you so sad, my child,” she asked; “and why do you weep so bitterly?”
Cinderella looked at her with wonder. “I am weeping,” she said, “because my sisters have gone to the ball without me, and because I wished to go too.”
“Then dry your tears,” said the little old woman, “I am your fairy godmother, and if you are a good girl and do exactly as I say, there is nothing you can wish for that you shall not have. Run to the garden and fetch me a pumpkin; and let me see the mousetrap; if there are six fine fat mice in it they will be of use.”
Cinderella got out the mousetrap as she was told, and there were exactly six mice in it. She also hurried out to the garden and fetched the biggest, roundest pumpkin she could find.
“That is well,” said the godmother. “And now the rattrap.”[332]
Cinderella brought the trap and there was a rat in it.
“And now,” said the godmother, “we are ready to begin.”
She touched the pumpkin with her wand, and at once it turned into a magnificent golden coach, lined throughout with pale yellow satin; she touched the mice and they became six handsome sleek gray horses to draw the coach. She touched the rat with her wand and he was turned into a coachman in a livery of scarlet and gold lace. He mounted to the box of the coach, and gathered up the reins, and sat there, whip in hand, waiting.
“Footmen! Footmen!” cried the godmother impatiently. “Where shall we get them!” Her sharp eyes glanced this way and that, and presently, in the crack of the wall, she espied two lizards. “The very thing,” said she. A touch of her wand and they were changed to footmen with powdered wigs and cocked hats. They sprang up and took their places behind the coach. “And now,” said the fairy, “all is ready, and no one has a finer coach in which to go to the ball. Do you not agree with me?”[333]
“But, Godmother, my rags! I could not go to the ball in rags, no matter how fine my coach,” cried Cinderella.
“Wait a bit! I have not done yet.” The godmother touched Cinderella’s rags with her wand, and at once they were changed to a gown of white satin embroidered with pearls. There were diamonds in her hair, and her clumsy shoes were changed to glass slippers that exactly fitted her little feet.
Cinderella wondered, and her heart was filled with joy. The satin gleamed about her like moonshine, and the diamonds shone as bright as the tears she had shed.
“Now, my child, you can go to the ball,” said the godmother. “But remember this: My fairy charm can only last till twelve o’clock. At the last stroke of twelve these fine clothes will change into rags; the coach will again become a pumpkin, the horses mice, and the coachman and footman a rat and lizards as they were before; so by twelve you must be home again.”
Cinderella promised to obey, and then she stepped into the coach and rolled away to the ball.[334]
When she reached the palace the music was sounding and the Prince was about to choose a partner for the dance. All the ladies waited anxiously, each hoping she would be the one to be chosen. Many beauties were there, and it was hard to say which was the loveliest. But when Cinderella entered the room no one had eyes for anyone but her. She was far fairer than the fairest, as the crescent moon is lovelier than the stars.
The Prince came to her and took her by the hand. “You shall be my partner in the dance,” said he, “for never have I seen anyone as fair as you.”
From then on the Prince would dance with no one but Cinderella, and none could wonder nor blame him, for she was so beautiful that the heart melted at sight of her.
The Prince begged her to tell him her name and whence she came, but she would not, and when the castle clock struck the quarter before twelve she managed to slip away from him, and run out to her coach. She sprang into it, the rat coachman cracked his whip, and away they went, and the Prince did not know what had become of her.
When the stepsisters came home, Cinderella was[335]
[336]
again sitting in the corner beside the fire, dressed
in her rags.
“Was it a beautiful ball?” she asked.
“Yes, it was a fine ball indeed,” said the sisters, and they began to tell her about it.
“And whom did the Prince dance with?” asked Cinderella.
“Oh, he danced with a strange princess who came in just after the ball began. The Prince had bowed to us and smiled, and he might have chosen one of us as his partner, but after she came he had eyes for no one else. She must be a very great princess indeed, but no one could find out who she was, not even the Prince himself, though he begged and entreated her to tell him. She slipped away before the ball was over, and no one knew where she went. The Prince was like one distracted. To-morrow night another ball is to be given, for the Prince hopes the Princess may come again and that he may find out who she is.”
Cinderella sighed.  One of your old dresses would do for me to wear.”
But the sisters laughed and jeered. “You the[337] cinder-wench!” they cried. “No, no, the kitchen is the place for you. We would die of shame if any of those fine folk saw you.” Then they bade her unfasten their dresses and help them to bed. They must get to sleep and be fresh and handsome for the second ball.
The next night the stepsisters dressed again, and drove away to the ball, and more than ever did Cinderella long to go with them.
Scarcely had they gone, however, when the fairy godmother appeared in the kitchen.
“Well,” said she, “I suppose you would like to go to this ball, too.”
“Oh, dear Godmother, if I only could!” cried Cinderella.
The godmother bade Cinderella bring her the pumpkin, the mice, the rat, and the lizards. Again she changed them into the grand coach, the horses, driver, and footmen, all complete. She then touched Cinderella’s rags with her wand, and they were changed into a dress even more beautiful than the one she had worn the night before. She stepped into the coach and rolled away to the ball.[338]
The Prince had been watching for her impatiently, and the moment she entered the room he hurried forward and took her by the hand.
“Why did you leave me so suddenly?” he asked her. “I sought you everywhere and could not sleep all night for thinking of you.”
He then again led her to a place in the dance, and he would dance with no one else.
As it drew on toward midnight Cinderella became very uneasy. She tried to slip away without being seen, but the Prince followed her everywhere she went. At last she made some excuse and sent him away for a moment. Then she drew her cloak around her and sped down the stairs and out to where her coach was waiting. She sprang into it and rolled away. But half-way home she heard the castle clock begin to strike the hour. As the last stroke sounded the coach melted away from around her, and a yellow pumpkin lay at her feet; the horses changed into mice and ran away, squealing; the coachman became a rat, and the lizards made haste to hide in the crack of a wall. Cinderella, in her rags, had barely time to run back to the kitchen and take her place beside the fire[339] before the door opened and her stepsisters swept into the room.
“This ball was even more beautiful than the other,” they cried. “And the Princess was there again, and so lovely that it dazzled the eyes to look at her. The Prince thought of no one but her.”
“Ah, if I could only see her!” sighed Cinderella.
“You the cinder-wench!” scoffed the sisters. “Why she would not even allow you in her kitchen. But come! Unfasten our dresses. To-morrow there is to be another ball, and we must get to bed and rest, so as to look our best.”
So Cinderella helped her sisters to undress, and all the while she did so they could talk of nothing but the unknown princess, of how beautiful she was, and of how much the Prince had admired her.
The next night Cinderella helped to dress her sisters and make them ready for the ball. They rolled away in their coach, and then Cinderella waited impatiently for her godmother to come. It was not long before the old fairy appeared.
“Well,” said she, “and do you wish to go to this ball also?”
“Oh, dear Godmother!” cried Cinderella. “I[340] wish to go as I never wished for anything in all my life before.”
“Very well, then you shall go,” said the godmother. “But do not forget, you must leave before the clock strikes twelve, or your fine clothes will turn to rags before them all, and your sisters will know you as the cinder-wench.”
Cinderella promised, and the godmother then touched her with her wand, and the rags were turned into a dress even more magnificent than before. If before Cinderella had appeared like the crescent moon, now she shone like the moon in its full glory. When she entered the ballroom she appeared so beautiful that it dazzled the eyes to look at her. The Prince followed her everywhere and begged and entreated her to tell him who she was, but she would not. Again and again they danced together, and Cinderella was so happy she quite forgot to notice how fast the time was going.
Suddenly the castle clock began to strike. Cinderella gave a cry of terror. She snatched her hand from the Prince and fled away so fast that for a moment he lost sight of her. Such was her haste[341] that as she ran down the stairs she lost one of her little glass shoes, but she dared not wait to pick it up.
Just as she reached the door the last stroke of twelve sounded.
Cinderella ran all the way home, and she scarcely had time to take her place beside the fire before her sisters swept into the room.
“What! crying?” they said. “Why are you not content?  But you should have seen the ball to-night. It was more wonderful than either of the others; and as for the Princess, she was so beautiful that there never was anything like it. The Prince never looked at anyone else. But she went away as before, and no one knows where she went. However, the Prince picked up one of her slippers on the stairs, and he may find her by that.”
The next day the Prince sent out a proclamation[342] far and wide that he had found a glass slipper and whoever could wear that slipper should be his bride. He hoped in this way to find the lovely Princess who had three times escaped him.
The slipper was sent around from one house to another, and every lady was eager to try it on. All hoped to be able to wear it, but it fitted none of them. Some feet were too long, and some too broad, some too fat, and some too thin.
At last the messenger came to the house where Cinderella and her stepsisters lived. The stepsisters could hardly wait to try the slipper on. Each was sure she could wear it, and they began to quarrel as to which should try it first. At last it was given to the eldest sister. She sat down and tried to put her foot into it, but she could not. The toes went in easily enough, but her heel would not go down into it. Then the second sister tried it, but that was even worse, for she could not even get her toes into it. The stepmother stood by, begging and urging them to try again.
But the messenger shook his head. “No, no,” he said. “Neither of those two is the right one.[343] But is there no one else in the house who could try it on?”
No, there was no one except the little kitchen-maid, and it was not worth while for her to try it. If the sisters could not wear it she certainly could not. Nevertheless, the messenger said he must see her. His orders were that everyone in the city should try it on.
Very reluctantly the stepmother sent for Cinderella. She came at once, and so modest and lovely were her looks that the messenger wondered that she should be a kitchen-wench.
She sat down and took the slipper from the messenger, and put it on, and it fitted exactly. Then she drew the other slipper out from beneath her rags and put it upon her other foot, and at once the messenger knew she must be the one the Prince had been seeking.
He kneeled before her and said, “You are my mistress, for you are the one the Prince has chosen for his bride.”
The stepmother and the stepsisters were ready to burst with rage and envy. They could not believe their eyes, and would have sent Cinderella[344] back to the kitchen with harsh words and blows; but this the messenger would not allow.
Cinderella was taken away to the palace and dressed as a princess should be, and when the Prince saw her again in all her beauty he was filled with love and joy.
Soon after they were married, and though the stepsisters were invited to the wedding they were ashamed to come because their faces were so swollen with weeping. As for the stepmother she was quite ill with rage and spite, but the Prince and Cinderella lived happy together forever after.
Jack had served his master well for seven long years without having been paid a penny. At the end of that time Jack went to him and said, “Master, I have been with you seven years, and now it is time for me to go home to see my mother. But oughtn’t I to be paid something first?”
“Yes,” said his master, “you have served me well, and you shall be well paid in return.”
He then brought out a lump of gold as big as Jack’s head and gave it to the lad.
Jack thanked him and wrapped the gold up in a handkerchief and tied the corners together, so he could carry it. Then he said good-by to his master, and off he set, whistling merrily. But the way was long and the sun was hot. The further Jack went the wearier he grew, and the gold weighed as heavy as lead. He shifted it from hand to hand, but every moment it became a heavier burden.[346]
After awhile Jack met a man riding merrily along on a fine horse.
“That is a fine nag you are riding,” said Jack.
“Yes, it is,” answered the man.
 “There you ride along as light as a bird, and I have to trudge in the dust and carry a lump of gold that weighs like lead.”
“Is that gold you have tied up there?” asked the man.
“Yes, it is.”
“I would like to see a lump of gold as big as that.”
Jack untied the handkerchief and showed the gold to the man. When the man saw it his eyes glittered and his mouth worked.
“Listen,” said he to Jack, “I am a good-natured sort of a fellow. I am almost home and you have still a long way to go. Give me the gold and you shall have my horse in exchange, and then you can ride along as proud as a king, and I will do the trudging.”
That seemed to Jack a fine bargain. He thanked[347] the man and gave him the gold, and then he mounted the horse. The man put a switch in his hand and said, “If he does not go along fast enough just touch him with this and he will go faster.” Then he tied up the gold in a great hurry, and made off with it.
As for Jack he rode along holding his head high and glancing about him. “How proud mother will be to see me come riding up to the door like a nobleman,” thought he. “How much better to ride with my head in the air than to trudge along in the dust.”
After awhile Jack thought he would like to go faster, and he gave the horse a cut with the switch. But the nag was a lively one. When it felt the switch it kicked up its heels, and away it went, jolting and bumping.  Luckily a man passing by stopped the horse and brought it back to him. The man was leading a cow by a rope.
“That was a nasty fall you had,” said he.
“Yes,” answered Jack. “Now I see that a horse is a tricky animal. A man gave him to me for a[348] lump of gold I was carrying, and he seemed quiet enough then.”
“A lump of gold?” asked the man.
“Yes, a lump of gold. How lucky you are to have a nice quiet animal like the cow to give you good milk and butter and cheese, instead of a horse that runs away and throws you off.”
“Yes, I am lucky,” said the man. Then he thought a bit. “Listen,” said he. “I have had so much butter and cheese and cream that I am tired of them. If you like you shall have my cow and I will take your horse, and you will have the best of the bargain.”
“That I will,” cried Jack joyfully, “and I thank you kindly for speaking of it.” He then gave the horse to the man, and the man gave him the cow. Then the man sprang upon the horse and away he rode in haste without once turning to look behind him.
Jack led the cow along by the rope, and his heart was light if his heels were not. “Now I can live like a king,” said he. “When I am thirsty all I have to do is to milk the cow and have a drink of fine fresh milk; and when I have a piece of bread—it[349] is easy enough to get a piece of bread—I can always have some butter with it, or a tasty bit of cheese.”
The sun was high in the sky by now, and it shone so hot that Jack’s mouth grew as dry as a nutmeg grater. “Now is the time for a glass of milk,” said he. He tied the cow to a post, and then he sat down and tried to milk her; but he had never learned how to milk, and not a drop could he get. Moreover he was so awkward about it that at last the cow gave him a kick that sent him head over heels across the road. Jack got up and rubbed his head. “That is a very dangerous animal,” said he, “or else she does not like me.”
Just then a butcher came by, wheeling a fine little pig in a barrow, and he stopped to speak with Jack. “What ails you,” said he, “that you look so sad and down in the mouth?”
“Oh,” said Jack, “my cow has kicked me and will not give me a drop of milk,” and he told the butcher the whole story, how he had exchanged the gold for a horse, and the horse for a cow.
“You made a bad bargain,” said the butcher. “That cow is old and will never give milk. There[350] is nothing to do with her but to knock her on the head and use her for beef.”
“How could I do that?” asked Jack. “And besides I do not like beef. If she were only a fine little pig, now! There is nothing I love better than a tender juicy bit of pork.”
“Well, there now!” said the butcher. “I am too kind-hearted for my own good, but if you like I will take the cow and you shall have my pig in exchange.”
Jack was delighted. He thanked the butcher and took the pig in exchange for his cow, and off he set, wheeling the pig before him, and he was as happy as a lark.
After awhile he met a young man who carried a fine fat white goose under his arm. Jack had known the youth before, and they stopped to talk. Jack told him all about his adventures, and what fine bargains he had made.
“Yes, that is well,” said the youth. Then he showed Jack his goose, and made him weigh it by the wings and feel how fat it was, and how soft were its feathers.
“It is a fine fowl,” said Jack. “But after all it[351] is not as fine a creature as my fat pig, and it will not taste as good when it is eaten, either.”
 “I do not know about that pig,” said he. “A man just over there beyond the hill had his pig stolen two days ago. I misdoubt me but what this may be the very one. I only hope you may not get taken up and put in prison for having it.”
“In prison,” cried Jack in alarm. “But I cannot go to prison. My mother is looking for me home, and it would break her heart if I did not come.”
“I will tell you,” said the youth; “I know the ways about here better than you do. If you like I will take the pig and give you my goose in exchange. I may suffer for it, but if anyone is taken to prison at least it will not be you.”
Jack thanked him with tears in his eyes. He gave him the pig and took the goose and went on his way rejoicing.  Not only is it good to eat, but it may lay me a fine big egg, and its feathers will do to make a soft pillow for mother to lay her head on.”[352]
So thinking he trudged along with the goose under his arm, and after awhile he came to a village, and there was a knife-grinder turning his wheel and sharpening knives and scissors for people.
He worked so quickly and sang so merrily as he worked that Jack stopped to watch him.
“That is a fine trade of yours—that of a knife-grinder,” said Jack.
“Yes, it is,” answered the man. “People are glad to see me come, and they save their knives and scissors for me to sharpen. I always can earn a bit of money, and when I am tired of one place I take my wheel and go on to the next. But that is a fine goose you have. Where did you buy it?”
“I did not buy it, I got it in exchange for a pig.”
“And where did you get the pig?”
“Oh, I took it in exchange for a cow.”
“Where did you get the cow?”
“I got it in exchange for a horse.”
“Where did you get the horse?”
“I bought it for a lump of gold as big as my head.”[353]
“Where did you get the gold?”
“My master gave it to me in payment for seven years’ service, but the gold was too heavy, and the horse ran away, and the cow would give no milk, and the pig had been stolen, but this is a very fine goose, so you see I have been lucky in the end.”
“That you have,” said the knife-grinder. “But after all I would rather own this grindstone of mine than the very finest, fattest goose. The goose is eaten and that is the end of it, but this grindstone always earns me a bit of money to jingle in my pocket.”
“Yes, that is true,” said Jack. “I wish I had a grindstone.”
The knife-grinder looked thoughtful. “It might be managed,” said he. “I have another grindstone that is a bit damaged, but works all right. If you like you can have it in exchange for your goose, and once you have a grindstone the rest of the business is easy enough.”
“I am in luck indeed,” said Jack. “I have only to wish for a thing and I get it. Here, take the goose, and give me the grindstone.”[354]
The man gave Jack an old cracked grindstone. Then he picked up a heavy stone that lay by the roadside. “Take this with you, too,” he said. “It will be useful to you if you ever have a crooked nail to straighten. Then you will only have to lay it on the grindstone and beat it with this rock, and you can straighten it out in no time.”
“Yes, that will be a fine thing,” said Jack, and he took the grindstone and the rock and thanked the man and went on his way.
But the road was rough and the sun was hot, and before long Jack was so weary with the weight he carried that he could hardly drag one foot after another, and the sweat poured down from his forehead.
After awhile he came to a place where a well of water bubbled up clear and fresh and cool. Jack put his stones down on the edge of it and stooped over to drink, but as he rose up again he happened to give the stones a push, and plunk! they both fell into the well and sank to the bottom.
“Now thanks be to heaven!” cried Jack. “If I had had to carry those stones much farther my[355] back would surely have broken. Oh, what a lucky fellow I am! Everything I touch turns to luck.”
Then he started off with a light heart and light heels, and it did not take him long to reach his mother’s house.
A miller died, leaving three sons to divide his fortune among them. The eldest took the mill and the land around it; the second took the flocks and herds, and then there was nothing left for the third son, Jack, but three bits of silver money, and a little cat that lived in the mill.
“This is all very well,” said Jack, “and the cat is a fine little cat and can feed on the mice it catches, but I do not see how I am to live on three pieces of money.”
“Oh,” answered his brothers, “you will have to start out in the world and do the best you can for yourself.”
Jack took the little cat and started out.
“Do not be uneasy, master,” said the little cat. “You have three silver pieces.
Jack did not like to spend his money on a pair of[357] boots for a cat, but he knew he was a wise little animal, so he did as he said. He went to a tailor, and for the three pieces of silver the tailor made him the prettiest pair of little boots that ever were seen, and when Puss drew them on they fitted exactly. The tailor also gave Jack an old bag that lay in the corner, and for which he had no use.
Puss led Jack off into the country, and then he bade him sit down by the roadside and wait for his return. The little cat ran off into a wood near by, where there were a great many rabbit-holes, and there he managed to catch two fine fat rabbits. He put the rabbits in the bag and trotted away in his neat little boots until he came to the King’s palace. There he asked to see the King, and a cat in boots was such a strange sight that he was at once brought before his majesty.
The courtiers nudged each other and laughed when the cat came into court, but Puss marched up to the King and bowed low before him.
“Your Majesty, my master, the Marquis of Carrabas, has sent you a present of these two fine fat rabbits for your supper,” said he, and he took out the rabbits and presented them to the King.[358]
The King was very much pleased. He ordered a piece of money to be given to Puss, and bade the little animal thank his master for the fine present he had sent.
Puss ran back to where Jack was waiting, and gave him the piece of money. “There,” he said. “That is enough to pay for a bed and a supper at the inn.”
The next day Puss set off for the forest again, and this time it was a pair of fine fat partridges that he caught and carried to the King. “They are sent by my master, the Marquis of Carrabas,” said Puss.
Again the King sent his thanks to the Marquis, and gave Puss a piece of money, which the little cat carried back to his master, and it was enough to buy Jack food and lodging.
So it went on day after day. Every day Puss caught some fine game in the forest and took it to the King with the compliments of the Marquis of Carrabas, and every day the King thanked the cat and gave him a piece of money. The King began to wonder who the Marquis of Carrabas was and where he lived. He began to think the Marquis was a very generous fellow.[359]
One day the King went out for a pleasure ride with his daughter, and many of his court rode with him.
Puss came in haste to his master. “Come quick!” he cried. “We have done well enough so far, but the time has now come when I will make your fortune.”
The cat then led Jack to a river, where he knew the King would pass before long. He then bade Jack take off his clothes and hide them under a rock, and then stand in the river up to his neck.
Jack did this, though the water was so cold it made him shudder, and he did not know how Puss was to make his fortune in this way.
Puss waited until he saw his master well in the river, and then he ran to the road along which the King was coming.
“Help! help!” he cried. “Oh, help! My master—the noble Marquis of Carrabas! He will surely drown.”
“What is the matter?” asked the King, stopping his coach, and the Princess and all the courtiers listened.
“Oh, your Majesty!” cried the cat. “My noble[360] master! He was attacked by robbers and they robbed him of everything and threw him in the river, and unless he receives help he will surely drown.”
The King was very much concerned. He at once sent courtiers to draw Jack out from the river and dress him in robes of velvet and satin and gold lace.
Jack had never been so magnificently dressed before, and he looked a fine fellow indeed when he was brought to the King. His majesty was so pleased with Jack’s looks that he made him get into the coach and sit beside him, and the Princess was even better pleased with him than her father.
Meanwhile the little cat had hurried on far ahead of the coaches.
Presently Puss came to a field where the harvesters were harvesting the grain. Puss marched up to them scowling fiercely and bristling out his whiskers until he looked twice as big again. The harvesters were frightened.
“Listen, men,” cried Puss. “The King will soon come by this way with my master, the Marquis of Carrabas riding beside him. If he should[361] ask you to whom this grain belongs, answer that it belongs to the noble Marquis of Carrabas. If you do not do this you shall be torn into pieces, and the shreds thrown into the river.”
The harvesters were more frightened than ever. They promised to do exactly as the cat bade them.
Then Puss ran on until he met a drover driving a great herd of cattle. Him, too, he frightened so that he promised if the King asked him to whom the herd belonged, he would say to the noble Marquis of Carrabas.
A little farther on the cat met a shepherd with his sheep, and he also promised to say his flocks belonged to the Marquis of Carrabas.
So it went on; it seemed as though everything was to be claimed by the Marquis of Carrabas.
Now all these things really belonged to an ogre who was very rich and fierce and strong and terrible, and after awhile Puss came to the castle where the ogre lived. The little cat was not afraid of ogres, however. He made his way into the castle and ran along into one room after another until he came to where the ogre was sitting.
When the ogre saw the little cat in his fine[362] shiny, creaking boots he was so amused that he laughed aloud. He had never seen such a sight before.
“And where did you come from, my fine little cat?” he asked.
“Oh, from over the hills and far away.”
“And what do you want here?”
“I only wanted to see you because everyone says you are the strongest and most wonderful ogre in all the world.”
When the ogre heard that he was much pleased, for he was very vain.
“Well, and now you have seen me, what do you think of me?” he asked.
Oh, Puss thought he was a very wonderful ogre indeed. And was it true that he had magic powers, too?
Yes, the ogre had magic powers.
“Can you change yourself into animals if you choose? A lion or an elephant for instance?” asked Puss.
Oh, yes, that was easy enough.
“I should like to see you do that,” said the cat.
Well, the ogre was willing to oblige him. At[363]
[364]
once he turned himself into a lion, for he really
had that power, and he was a very terrible looking
lion indeed. He roared and lashed his tail and
his mane bristled.
Puss was so terrified that he sprang through the window and scrambled up the roof, though he almost slipped and fell on account of the boots. There he sat spitting and trembling.
Then the ogre turned himself back into his own shape, and he laughed and laughed.
Puss came scrambling back into the room, and he looked very meek and timid.
“Yes, I see it was all true,” he said. “But, Mr. Ogre, could you turn yourself into a small animal as well? That must be a great deal harder. Could you turn yourself into a mouse?”
Yes, the ogre could do that, too, and at once he turned himself into a mouse, and ran, scampering gayly about the room. But he did not scamper long. “Ps-s-s-t!” with a bound Puss caught him and swallowed him down in a moment before[365] he could even squeak, and that was the end of the ogre.
Meanwhile the King and the Princess and Jack were rolling along together in the fine coach and talking pleasantly together. The King was so pleased with Jack’s talk that he told the coachman to drive slowly, so they could have the more time together.
Presently they came to the field of grain where the harvesters were at work.
“That is a fine field of grain,” said the King; and he leaned from the coach and called to the harvesters to know to whom the grain belonged.
“To the noble Marquis of Carrabas!” answered the harvesters.
The King turned to Jack. “My dear Marquis, why did you not tell me it belonged to you?”
“I had forgotten,” answered Jack.
Soon after they came to the drover. The King admired the herd of cattle and asked the drover to whom they belonged.
“To the noble Marquis of Carrabas,” answered the drover.
The King turned to Jack, and complimented him[366] upon his herds. He began to think the Marquis must be very rich.
Then they came to the shepherd, and it was the same thing; his flocks belonged to the Marquis of Carrabas. In the forest the woodsmen said the wood belonged to the Marquis. It seemed as though the Marquis were richer than the King himself.
At last they came to the ogre’s grand castle, and the King asked Jack to whom it belonged. Before Jack could answer the doors were thrown open, and the little cat ran out into the road. “Welcome, welcome, your majesty,” he cried. “Welcome to the castle of the Marquis of Carrabas.”
“So this is where you live,” said the King.
“Yes, this is where I live,” answered Jack.
The cat invited them to alight and led the way into a long dining-hall. There the servants had prepared a magnificent feast, for now they, as well as the castle and everything in it, belonged to Jack.
The King and the Princess took their places at the table, and Jack sat between them. They ate and drank and feasted to their hearts’ content,[367] and the King had never tasted more delicious food, and it was all served on golden plates far finer than those he ate from in his own castle.
At the end of the feast the King turned to Jack and said, “My dear Marquis, you must be a very rich man.”
“I am so rich,” answered Jack, “that I really do not know how much I have.”
“It seems to me,” said the King, “that you ought to marry a princess, for no everyday girl would do for you.”
Yes, Jack would like to marry a princess, but it would have to be the right princess.
“Then how would my daughter do?” asked the King.
 “Yes, she would do better than anyone else in the world.” And the Princess did not say nay.
So Jack went back with the King and the Princess to his own palace, and then the Princess and Jack were married, and lived happily ever after.
The little cat lived in the palace with them, and[368] always the softest cushion, and the warmest corner by the fire were left for him.
As for Jack’s brothers, when they heard of the good fortune that had come to Jack, and how he had won a princess for a wife, they wished they had kept Puss and given him the mill and the flocks and herds.

One night he heard his master and mistress talking together. “I wonder you still keep that donkey,” said the woman; “he is of no use to you, and you only waste your money buying food for him.”
“That is true,” answered the man. “I would do well to get rid of him. I might sell his hide to the tanner.”
When the donkey heard this he knew it was time for him to be going, if he wished to keep his skin for his own use. He pushed the stable-door open with his nose, and made off down the road without saying good-by to anyone. “I may be too weak to work,” said he, “but my voice is still strong. I will go to the big city and become a musician.”
He had not gone far when he saw an old hound[370] lying beside the road and whining. “Well, old Bellmouth,” said the donkey, “what ails you? You seem to be in trouble.”
“Trouble indeed,” answered the hound. “I have grown so old and stiff that I am no longer able to run with the pack, so my master had no more use for me. He drove me away and threw stones after me. What is to become of me now I do not know. If my master would not keep me I am sure no one else will.”
“Do not trouble yourself over that,” said the donkey. “I am going to the city to be a musician, and if you like you shall come along and sing with me. I know you have a fine voice, and we two together may make our fortunes.”
The hound was pleased with this idea. He got to his feet, and he and the donkey went on together in company.
A little while after they came to where a cat sat in the grass by the roadside, looking as sad and doleful as a rainy day in fall.
“What is the matter with you, Whiskers?” asked the donkey. “You look as though all the cream were sour and all the rats were dead.”[371]
“There is no cream for me nowadays,” said the cat, “and though there are plenty of rats I am too old to catch them. I am no longer quick and active, and I would rather sit by the fire and purr. For this reason my mistress has driven me out of the house with a broom, and I have no place to go. What would you advise me to do in such a case?”
“Come with us,” said the donkey. “Brother Bellmouth and I are going to the city to be musicians, and if you choose to come along and join your voice with ours we shall be glad to have you.”
The cat was delighted, and leaping out into the road it trotted along beside the others.
 It stretched its neck and crowed, and crowed again.
“Enough! Enough!” cried the donkey. “Do you want to split our ears with your crowing?”
“I must crow while I can,” said the cock, “for that is my business. Every morning I crow to wake the men, and I also crow to tell what weather we will have. But I heard the mistress say that company was coming to-morrow and that she must[372] make me into soup, so my crowing days are almost over.”
“That is a bad business,” said the donkey. “You had better come with us. We are going to the city to become musicians, and such a voice as yours would be a great help.”
The cock did not wait to be asked twice. He flew down from the gatepost and flapped along beside them, but this was tiresome, so the donkey bade the cock fly up on to his back, and after that Master Red-head rode along in comfort.
Presently it began to grow dark, and still the musicians had not come within sight of the big city. Instead they came to a deep wood, and after wandering about in it for some time they grew so weary that they decided to go no farther that night. The donkey and the hound lay down under a large tree, the cat climbed up to a crotch of the branches, while the cock was not content to roost anywhere but at the top of the tree.
He had not been sitting there long when he said, “Brothers, I see a light not far off. There must be a house there.”
“That is good news,” said the donkey. “I for[373] one have no liking for sleeping on the bare ground. Perhaps if we go there and sing they may give us a night’s lodging.”
This plan suited the others. The cat and the cock came down from the tree, and the four musicians set out together in the direction of the light.
It was not long before they came to a house and the light the cock had seen shone through a lower window. The donkey, being the largest, was chosen to look in through the window and tell the others what he saw.
The donkey looked so long and so silently that the others grew impatient. “Well, Brother Greycoat, what do you see?” asked the hound.
“Brothers,” said the donkey in a low voice, “I can easily see that this house belongs to a band of robbers. They have a quantity of treasure piled up in one corner of the room, and they are sitting around the table eating and drinking.”
“Oh, if we could only scare them away and take the treasure for ourselves! Robbers are always cowards,” said the dog.
The four companions consulted together and laid out a plan for frightening the robbers away.[374]  Then at a certain signal they all began to sing together.  The noise they made was terrible. The robbers jumped up in a fright, and as soon as the animals saw they were frightened they smashed the glass and sprang into the room.
The robbers fled out of the door pell-mell and into the woods without stopping to look behind them.
“That was easily done,” said the donkey. The animals then sat down at the table and ate and drank to their hearts’ content. After that they put out the lights, and then they settled down for the night, each one in the most comfortable place it could find.  Then they all went to sleep.
Out in the forest the robbers wandered about[375] for awhile, and then they all got together and talked things over.
“We were very foolish to be so easily frightened,” said the captain. “I have been listening and watching, and everything is quiet around the house and the lights are out. Let us go back there and see if anyone is there.”
To this the others agreed. They crept back to the house, and the captain sent one of the men inside to see what was doing.
The man went in and looked about, and saw the cat’s eyes shining in the dark. He thought they were live coals, and as he needed a light he went up and stuck a stick toward them, meaning to light it.
At once the cat sprang up with a yowl and scratched his face. The man was terrified. He ran to the door and the dog sprang out and bit him. He tumbled out into the courtyard and the donkey kicked him.
The robber ran back to his captain trembling. “Let us get away!” he cried. “A horrible witch sits by the hearth, and she flew at me screaming,[376] and bit and scratched me.
The robbers waited to hear no more; they took to their heels and ran away, and if they have not stopped they must be running still.
But the four comrades found it so comfortable in the robbers’ house that they stayed there and enjoyed the robbers’ treasure, and never went to the big city to become musicians after all.
Obvious punctuation errors repaired.
Page vi, “Alladin” changed to “Aladdin” to reflect usage in text (Aladdin, or the Magic)
End of Project Gutenberg's Mother's Nursery Tales, by Katherine Pyle *** END OF THIS PROJECT GUTENBERG EBOOK MOTHER'S NURSERY TALES *** ***** This file should be named 49001-h.htm or 49001-h.zip ***** This and all associated files of various formats will be found in: http://www.gutenberg.org/4/9/0/0/49001/ Produced by Chris Curnow, Emmy and the Online Distributed Proofreading Team at http://www.pgdp.net (This file was produced from images generously made available by The Internet Archive) Updated editions will replace the previous one--the old editions will be renamed. Creating the works from print editions not protected by U.S. copyright law means that no one owns a United States copyright in these works, so the Foundation (and you!) can copy and distribute it in the United States without permission and without paying copyright royalties. Special rules, set forth in the General Terms of Use part of this license, apply to copying and distributing Project Gutenberg-tm electronic works to protect the PROJECT GUTENBERG-tm concept and trademark. Project Gutenberg is a registered trademark, and may not be used if you charge for the eBooks, unless you receive specific permission. If you do not charge anything for copies of this eBook, complying with the rules is very easy. You may use this eBook for nearly any purpose such as creation of derivative works, reports, performances and research. They may be modified and printed and given away--you may do practically ANYTHING in the United States with eBooks not protected by U.S. copyright law. Redistribution is subject to the trademark license, especially commercial redistribution. START: FULL LICENSE THE FULL PROJECT GUTENBERG LICENSE PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK To protect the Project Gutenberg-tm mission of promoting the free distribution of electronic works, by using or distributing this work (or any other work associated in any way with the phrase "Project Gutenberg"), you agree to comply with all the terms of the Full Project Gutenberg-tm License available with this file or online at www.gutenberg.org/license. Section 1. General Terms of Use and Redistributing Project Gutenberg-tm electronic works 1.A. By reading or using any part of this Project Gutenberg-tm electronic work, you indicate that you have read, understand, agree to and accept all the terms of this license and intellectual property (trademark/copyright) agreement. If you do not agree to abide by all the terms of this agreement, you must cease using and return or destroy all copies of Project Gutenberg-tm electronic works in your possession. If you paid a fee for obtaining a copy of or access to a Project Gutenberg-tm electronic work and you do not agree to be bound by the terms of this agreement, you may obtain a refund from the person or entity to whom you paid the fee as set forth in paragraph 1.E.8. 1.B. "Project Gutenberg" is a registered trademark. It may only be used on or associated in any way with an electronic work by people who agree to be bound by the terms of this agreement. There are a few things that you can do with most Project Gutenberg-tm electronic works even without complying with the full terms of this agreement. See paragraph 1.C below. There are a lot of things you can do with Project Gutenberg-tm electronic works if you follow the terms of this agreement and help preserve free future access to Project Gutenberg-tm electronic works. See paragraph 1.E below. 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" or PGLAF), owns a compilation copyright in the collection of Project Gutenberg-tm electronic works. Nearly all the individual works in the collection are in the public domain in the United States. If an individual work is unprotected by copyright law in the United States and you are located in the United States, we do not claim a right to prevent you from copying, distributing, performing, displaying or creating derivative works based on the work as long as all references to Project Gutenberg are removed. Of course, we hope that you will support the Project Gutenberg-tm mission of promoting free access to electronic works by freely sharing Project Gutenberg-tm works in compliance with the terms of this agreement for keeping the Project Gutenberg-tm name associated with the work. You can easily comply with the terms of this agreement by keeping this work in the same format with its attached full Project Gutenberg-tm License when you share it without charge with others. 1.D. The copyright laws of the place where you are located also govern what you can do with this work. Copyright laws in most countries are in a constant state of change. If you are outside the United States, check the laws of your country in addition to the terms of this agreement before downloading, copying, displaying, performing, distributing or creating derivative works based on this work or any other Project Gutenberg-tm work. The Foundation makes no representations concerning the copyright status of any work in any country outside the United States. 1.E. Unless you have removed all references to Project Gutenberg: 1.E.1. The following sentence, with active links to, or other immediate access to, the full Project Gutenberg-tm License must appear prominently whenever any copy of a Project Gutenberg-tm work (any work on which the phrase "Project Gutenberg" appears, or with which the phrase "Project Gutenberg" is associated) is accessed, displayed, performed, viewed, copied or distributed: This eBook is for the use of anyone anywhere in the United States and most other parts of the world at no cost and with almost no restrictions whatsoever. You may copy it, give it away or re-use it under the terms of the Project Gutenberg License included with this eBook or online at www.gutenberg.org. If you are not located in the United States, you'll have to check the laws of the country where you are located before using this ebook. 1.E.2. If an individual Project Gutenberg-tm electronic work is derived from texts not protected by U.S. copyright law (does not contain a notice indicating that it is posted with permission of the copyright holder), the work can be copied and distributed to anyone in the United States without paying any fees or charges. If you are redistributing or providing access to a work with the phrase "Project Gutenberg" associated with or appearing on the work, you must comply either with the requirements of paragraphs 1.E.1 through 1.E.7 or obtain permission for the use of the work and the Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or 1.E.9. 1.E.3. If an individual Project Gutenberg-tm electronic work is posted with the permission of the copyright holder, your use and distribution must comply with both paragraphs 1.E.1 through 1.E.7 and any additional terms imposed by the copyright holder. Additional terms will be linked to the Project Gutenberg-tm License for all works posted with the permission of the copyright holder found at the beginning of this work. 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm License terms from this work, or any files containing a part of this work or any other work associated with Project Gutenberg-tm. 1.E.5. Do not copy, display, perform, distribute or redistribute this electronic work, or any part of this electronic work, without prominently displaying the sentence set forth in paragraph 1.E.1 with active links or immediate access to the full terms of the Project Gutenberg-tm License. 1.E.6. You may convert to and distribute this work in any binary, compressed, marked up, nonproprietary or proprietary form, including any word processing or hypertext form. However, if you provide access to or distribute copies of a Project Gutenberg-tm work in a format other than "Plain Vanilla ASCII" or other format used in the official version posted on the official Project Gutenberg-tm web site (www.gutenberg.org), you must, at no additional cost, fee or expense to the user, provide a copy, a means of exporting a copy, or a means of obtaining a copy upon request, of the work in its original "Plain Vanilla ASCII" or other form. Any alternate format must include the full Project Gutenberg-tm License as specified in paragraph 1.E.1. 1.E.7. Do not charge a fee for access to, viewing, displaying, performing, copying or distributing any Project Gutenberg-tm works unless you comply with paragraph 1.E.8 or 1.E.9. 1.E.8. You may charge a reasonable fee for copies of or providing access to or distributing Project Gutenberg-tm electronic works provided that * You pay a royalty fee of 20% of the gross profits you derive from the use of Project Gutenberg-tm works calculated using the method you already use to calculate your applicable taxes. The fee is owed to the owner of the Project Gutenberg-tm trademark, but he has agreed to donate royalties under this paragraph to the Project Gutenberg Literary Archive Foundation. Royalty payments must be paid within 60 days following each date on which you prepare (or are legally required to prepare) your periodic tax returns. Royalty payments should be clearly marked as such and sent to the Project Gutenberg Literary Archive Foundation at the address specified in Section 4, "Information about donations to the Project Gutenberg Literary Archive Foundation." * You provide a full refund of any money paid by a user who notifies you in writing (or by e-mail) within 30 days of receipt that s/he does not agree to the terms of the full Project Gutenberg-tm License. You must require such a user to return or destroy all copies of the works possessed in a physical medium and discontinue all use of and all access to other copies of Project Gutenberg-tm works. * You provide, in accordance with paragraph 1.F.3, a full refund of any money paid for a work or a replacement copy, if a defect in the electronic work is discovered and reported to you within 90 days of receipt of the work. * You comply with all other terms of this agreement for free distribution of Project Gutenberg-tm works. 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm electronic work or group of works on different terms than are set forth in this agreement, you must obtain permission in writing from both the Project Gutenberg Literary Archive Foundation and The Project Gutenberg Trademark LLC, the owner of the Project Gutenberg-tm trademark. Contact the Foundation as set forth in Section 3 below. 1.F. 1.F.1. Project Gutenberg volunteers and employees expend considerable effort to identify, do copyright research on, transcribe and proofread works not protected by U.S. copyright law in creating the Project Gutenberg-tm collection. Despite these efforts, Project Gutenberg-tm electronic works, and the medium on which they may be stored, may contain "Defects," such as, but not limited to, incomplete, inaccurate or corrupt data, transcription errors, a copyright or other intellectual property infringement, a defective or damaged disk or other medium, a computer virus, or computer codes that damage or cannot be read by your equipment. 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right of Replacement or Refund" described in paragraph 1.F.3, the Project Gutenberg Literary Archive Foundation, the owner of the Project Gutenberg-tm trademark, and any other party distributing a Project Gutenberg-tm electronic work under this agreement, disclaim all liability to you for damages, costs and expenses, including legal fees.   LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a defect in this electronic work within 90 days of receiving it, you can receive a refund of the money (if any) you paid for it by sending a written explanation to the person you received the work from. If you received the work on a physical medium, you must return the medium with your written explanation. The person or entity that provided you with the defective work may elect to provide a replacement copy in lieu of a refund. If you received the work electronically, the person or entity providing it to you may choose to give you a second opportunity to receive the work electronically in lieu of a refund. If the second copy is also defective, you may demand a refund in writing without further opportunities to fix the problem. 1.F.4. Except for the limited right of replacement or refund set forth in paragraph 1.F.3, this work is provided to you 'AS-IS', WITH NO OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE. 1.F.5. Some states do not allow disclaimers of certain implied warranties or the exclusion or limitation of certain types of damages. If any disclaimer or limitation set forth in this agreement violates the law of the state applicable to this agreement, the agreement shall be interpreted to make the maximum disclaimer or limitation permitted by the applicable state law. The invalidity or unenforceability of any provision of this agreement shall not void the remaining provisions. 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the trademark owner, any agent or employee of the Foundation, anyone providing copies of Project Gutenberg-tm electronic works in accordance with this agreement, and any volunteers associated with the production, promotion and distribution of Project Gutenberg-tm electronic works, harmless from all liability, costs and expenses, including legal fees, that arise directly or indirectly from any of the following which you do or cause to occur: (a) distribution of this or any Project Gutenberg-tm work, (b) alteration, modification, or additions or deletions to any Project Gutenberg-tm work, and (c) any Defect you cause. Section 2. Information about the Mission of Project Gutenberg-tm Project Gutenberg-tm is synonymous with the free distribution of electronic works in formats readable by the widest variety of computers including obsolete, old, middle-aged and new computers. It exists because of the efforts of hundreds of volunteers and donations from people in all walks of life. Volunteers and financial support to provide volunteers with the assistance they need are critical to reaching Project Gutenberg-tm's goals and ensuring that the Project Gutenberg-tm collection will remain freely available for generations to come. In 2001, the Project Gutenberg Literary Archive Foundation was created to provide a secure and permanent future for Project Gutenberg-tm and future generations. To learn more about the Project Gutenberg Literary Archive Foundation and how your efforts and donations can help, see Sections 3 and 4 and the Foundation information page at www.gutenberg.org Section 3. Information about the Project Gutenberg Literary Archive Foundation The Project Gutenberg Literary Archive Foundation is a non profit 501(c)(3) educational corporation organized under the laws of the state of Mississippi and granted tax exempt status by the Internal Revenue Service. The Foundation's EIN or federal tax identification number is 64-6221541. Contributions to the Project Gutenberg Literary Archive Foundation are tax deductible to the full extent permitted by U.S. federal laws and your state's laws. The Foundation's principal office is in Fairbanks, Alaska, with the mailing address: PO Box 750175, Fairbanks, AK 99775, but its volunteers and employees are scattered throughout numerous locations. Its business office is located at 809 North 1500 West, Salt Lake City, UT 84116,<PHONE_NUMBER>. Email contact links and up to date contact information can be found at the Foundation's web site and official page at www.gutenberg.org/contact For additional contact information: Dr. Gregory B. Newby Chief Executive and Director<EMAIL_ADDRESS>Section 4. Information about Donations to the Project Gutenberg Literary Archive Foundation Project Gutenberg-tm depends upon and cannot survive without wide spread public support and donations to carry out its mission of increasing the number of public domain and licensed works that can be freely distributed in machine readable form accessible by the widest array of equipment including outdated equipment. Many small donations ($1 to $5,000) are particularly important to maintaining tax exempt status with the IRS. The Foundation is committed to complying with the laws regulating charities and charitable donations in all 50 states of the United States. Compliance requirements are not uniform and it takes a considerable effort, much paperwork and many fees to meet and keep up with these requirements. We do not solicit donations in locations where we have not received written confirmation of compliance. To SEND DONATIONS or determine the status of compliance for any particular state visit www.gutenberg.org/donate While we cannot and do not solicit contributions from states where we have not met the solicitation requirements, we know of no prohibition against accepting unsolicited donations from donors in such states who approach us with offers to donate. International donations are gratefully accepted, but we cannot make any statements concerning tax treatment of donations received from outside the United States. U.S. laws alone swamp our small staff. Please check the Project Gutenberg Web pages for current donation methods and addresses. Donations are accepted in a number of other ways including checks, online payments and credit card donations. To donate, please visit: www.gutenberg.org/donate Section 5. General Information About Project Gutenberg-tm electronic works. Professor Michael S. Hart was the originator of the Project Gutenberg-tm concept of a library of electronic works that could be freely shared with anyone. For forty years, he produced and distributed Project Gutenberg-tm eBooks with only a loose network of volunteer support. Project Gutenberg-tm eBooks are often created from several printed editions, all of which are confirmed as not protected by copyright in the U.S. unless a copyright notice is included. Thus, we do not necessarily keep eBooks in compliance with any particular paper edition. Most people start at our Web site which has the main PG search facility: www.gutenberg.org This Web site includes information about Project Gutenberg-tm, including how to make donations to the Project Gutenberg Literary Archive Foundation, how to help produce our new eBooks, and how to subscribe to our email newsletter to hear about new eBooks.


This is an index of many pages of the redesigned W3C Web site. This is not a site index of the entire W3C Web site. There is also a list of some links to W3C technologies, formerly on the W3C home page.


Cards Against Reality
A party game for horrible people
Online Players
Jack Phillipots
Warren Orme
Jay Williams
Zenden Austin
Time Remaining
42s
Black Card
I would be doing more with my life, except for this ______ in the way.

White Card
Tentacle Porn
White Card
Sweat, anger and shame
White Card
Spacedicks
White Card
Schrodinger's cat
White Card
Priest in a thong doing the Gangnam Style
White Card
PedoBear
White Card
ReCaptcha
White Card
Wikileaks
White Card
Two Girls One Cup


MARRIED TO IT A film review by James Berardinelli Copyright 1993 James Berardinelli
Date Released: 3/26/93 Running Length: 1:52 Rated: R (Language, sexual situations)
Starring: Mary Stuart Masterson, Robert Sean Leonard, Beau Bridges, Stockard Channing, Cybill Shepherd, Ron Silver Director: Arthur Hiller Producer: Thomas Baer Screenplay: Janet Kovalcik Music: Henry Mancini Released by Orion Pictures
Three couples, all having marriage problems, meet and become friends. There's Nina (Mary Stuart Masterson) and Chuck (Robert Sean Leonard), a young couple who have just moved into an apartment in New York. She's a school psychologist and he's an investment banker who has run afoul of the law. Then there's John (Beau Bridges) and Iris (Stockard Channing), who have been married for years and have two children. Products of the sixties, both of them are having varying degrees of trouble coping with the changes in attitude that have occurred in the Eighties and Nineties. Finally, there's Claire (Cybill Shepherd) and Leo (Ron Silver), whose relationship works more on the physical than emotional level. Their marriage is troubled by Claire's inability to relate to Leo's young daughter.
MARRIED TO IT is an exercise in mediocrity. There is nothing exceptionally hateful or likable in this movie. This is one of those rare occasions when I came out of a film completely indifferent to what I just saw. If not for this review, I would have forgotten about it five minutes after the final credits rolled.
The plot is a series of contrivances lumped together then truncated with pat endings. There's nothing inventive or even slightly original here. Most of the "deep" subjects tackled by the film have been touched on more expertly and less cloyingly than in MARRIED TO IT. Superficially, in the way this movie tried to ties together the different lifestyles of its main characters, I was reminded of GRAND CANYON. Don't be fooled, though. This has none of the power of Lawrence Kasdan's 1991 film. I can't say it's an poor imitation, though, even though that's the impression that it gives. MARRIED TO IT was filmed back in 1990, before GRAND CANYON. Because of Orion's continuing financial problems, it has sat on the shelf until now. Its long-delayed and much-troubled release was definitely not worth the wait.
The comedy in the film is mostly lame.  The drama isn't more solid. MARRIED TO IT has no concept of what it takes to draw an audience into a film. Its sense of character is terrible. None of the six principles is particularly engaging, and every relationship in the movie is plagued by cliche after cliche. There is absolutely no chemistry going on, and if you can't care about the characters, what's the motivation to get involved?
There's a feeble attempt at social commentary in MARRIED TO IT. While the subject - the often-devastating effect of divorce on young children - is important, its handling is so inept that it ends up being a forgettable throw-in. Not helping matters is the offhand way in which this entire element of the plot is routinely dispatched.
Of the actors, Mary Stuart Masterson turns in the most feeling performance. Although clearly inferior to her work in FRIED GREEN TOMATOES (which was her next project after this one), she manages to infuse Nina with what can best be described as an "innocent toughness". Of the other principles, only Stockard Channing and Ron Silver do a remotely reasonable job. Robert Sean Leonard seems lost half the time, Beau Bridges sleepwalks through his part, and Cybill Shepherd, with a stilted performance, shows that she's apparently lost whatever talent she once possessed. There's no sign of THE LAST PICTURE SHOW's starlet in this movie.
Nothing in MARRIED TO IT is done well. There are problems with the script, the actors, and the direction. On the other hand, none of these deficiencies are so bad that they completely sink the project. They're unfortunate, but not awful, so instead of the movie being unwatchable, it's just not memorable. There's not much here for anyone to enjoy - or despise.
Rating: 6.0 (C, **)
- James Berardinelli<EMAIL_ADDRESS>.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Street Food
When I was a small boy, my father told me
never to recommend a church or a woman
to anyone. And i have found it wise never to
recommend a restaurant either.Something
always goes wrong
Eat Together
There is something profoundly satisfying
about sharing a meal. Eating together,
breaking bread together, is one of the
oldest and most fundamentaly unifiying of
human experiences.
SPECIAL COMBO PACK
Burger Pizz
Fries & Drinks
There is something profoundly satisfying
about sharing a meal. Eating together,
breaking bread together, is one of the
oldest and most fundamentaly unifiying of
human experiences
There is something profoundly satisfying
about sharing a meal. Eating together,
breaking bread together, is one of the
oldest and most fundamentaly unifiying of
human experiences


TSession class is an implementation of ISession interface based on $_SESSION.
TSesson simply encapsulates what you can do with $_SESSION. You may want to extend this class or simply implement directly ISession interface to provide your own session handling classes (e.g.: you may want to use DB to store session data.)


Current Situation
  September 2018 – Present
Postgraduate Student
University Grenoble Alpes and Laboratoire d'Informatique de Grenoble
Variable Selection and Partially Labelled Data
Supervised by Massih-Reza Amini and Émilie Devijver
Education
-
  2017 - 2018
Master 2 in Industrial and Applied Mathematics
University Grenoble Alpes
Grenoble, France
GPA: 16.2/20.0
-
  2012 - 2016
Bachelor in Applied Mathematics and Computer Science
St. Petersburg State University
St. Petersburg, Russia
GPA: 4.3/5.0
-
  2016 - 2017
Master 1 in Computer Science
University Grenoble Alpes
Grenoble, France
GPA: 13.5/20.0
-
  2009 - 2012
High School with Specialization in Physics and Mathematics
Academic Gymnasium of St. Petersburg State University
St. Petersburg, Russia
GPA: 4.5/5.0
Work Experience
-
  February 2018 – July 2018
Research Intern
Laboratoire d'Informatique de Grenoble
Multiclass Semi-supervised Learning through Pseudo-labelling
Supervised by Massih-Reza Amini and Émilie Devijver
-
  2014 - 2016
Private Tutor
High School:   Math / Computer Science / Programming
University:   Probability / Statistics / C++ / R
-
  May 2017 – July 2017
Research Intern
Inria Rhône-Alpes
Feature Analysis of Backfilling Heuristics
Supervised by Denis Trystram and Valentin Reis


Setting up a dedicated MySQL server to host Ruby on Rails application servers, Ruby, Rails, MariaDB, MySQL, NoSQL, Scaling
Scaling Ruby on Rails: Setting Up A Dedicated MySQL Server (part 2) - CentOS, Fedora
Difficulty: 4
Time: 1 hour
In this article, we will be creating a database layer using MySQL to host the application servers running Ruby on Rails. This articles will assist you in setting up a dedicated MYSQL server and scaling Ruby on Rails applications between the servers in CentOS or Fedora Linux distributions.
Note: We assume that you are logged in as a sudo user and installed Ruby on Rails using RVM in CentOS
Step 1: Select the Database
Based on the needs and application type, choose your database server to build a database layer for your application development. Following are some popular databases:
- For Relational database server: Use MySQL and derivatives, PostgreSQL
- For Non-relational database servers: Use Column-based Cassandra and HBase, Document-based MongoDB and Couchbase and Graph-based OrientDB, Neo4J and related databases
Step 2: Understanding the Database Server Layer
To make our database server centrally accessible, we need a load-balancer, two application servers and one database server to set-up the database server layer. This is how the architecture will look like
Step 3: Add the Database Server to the Deployment Set-Up
- Let's create and configure MySQL database. To prepare the setup, type
sudo yum -y update
- To install the development tools, run the following command
sudo yum groupinstall -y 'development tools'
- To use the YUM package, add the Extra Packages for Enterprise Linux (or EPEL) software repository
sudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
sudo rpm -ivh epel-release-7-5.noarch.rpm
- Again update everything and install the required libraries
sudo yum -y update
sudo yum install -y curl-devel vim sqlite-devel libyaml-devel
Step 4: MySQL Installation
- Download and install the MySQL database server
sudo yum install mysql-server mysql-devel
If MySQL server doesn't work, then try MariaDB
sudo yum install MariaDB-server MariaDB-client
- Now initiate the MySQL server daemon by typing
sudo service mysqld start
Or
sudo /etc/init.d/mysql start
- Run the MySQL installation process, by typing
sudo/usr/bin/mysql_secure_installation
- After you have finished the above command, a welcome screen displays the following
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
If you have created a password by using the following command, then hit Enter
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h myt password 'new-password'
Next, answer the following questions
Set root password? --> Y
Remove anonymous users? --> Y
Disallow root login remotely? --> Y
Remove test database and access to it? --> Y
Reload privilege tables now? --> Y
- Establish database connection using MySQL client and enter the password for root that was previously step-up
sudo mysql -u root -p
- Make a new database
create database rails_myapp;
- Create new users for your database and grant remote and local access to this user
CREATE USER 'rails_myapp_user'@'localhost' IDENTIFIED BY 'pwd';
CREATE USER 'rails_myapp_user'@'%' IDENTIFIED BY 'pwd';
Type the following command to confirm that users are created
SELECT User,host FROM mysql.user;
- Grant access rights to any specific user by typing
GRANT ALL ON rails_myapp.* TO 'rails_myapp_user'@'localhost';
GRANT ALL ON rails_myapp.* TO 'rails_myapp_user'@'%';
And then revoke the privileges
FLUSH PRIVILEGES;
Exit from Database
Exit
- To enable remote connections, open the MySQL configuration my.cnf and edit using the vim text editor
sudo vim /etc/my.cnf
And type the below mentioned line in this file
[mysqld]
..
.
bind-address = <IP_ADDRESS>
Step 5: Setup your Rails application
- Install gem for Mysql and update
sudo gem install mysql2
sudo gem update -system
- Install Rails package with following command
sudo gem install rails
- Then create a Rails application and Use the -d mysql option to set MySQL as the database
rails new Appname -d mysql
- Next, move to the application directory
cd Appname
-
You'll find the database configuration settings for your Rails applications within the database.yml file in /config directory
- Modify the database.yml file with the help vim text editor, by typing
sudo vim config/database.yml
- Swap the production: YML section with the below mentioned lines by editing the contents with the your own required configuration
production:
adapter: mysql
encoding: utf8
database: rails_myapp
username: rails_myapp_user
password: pwd
host: <IP_ADDRESS>
port: 3306
pool: 10
Save and close
- Open the Gemfile
sudo vim Gemfile
And append the below mentioned line
gem 'mysql'
Save and close
- Setup gem using bundle
bundle install
Next Step
By using all the above steps you'll be able to scale Ruby on Rails application and set up a dedicated MySQL Server on CentOS or Fedora.