#include <BscLexer.h>
Public Types | |
| typedef std::vector< tstring > | ErrorVector |
Public Member Functions | |
| BscLexer () | |
| class header. | |
| ~BscLexer () | |
| bool | Lex (const char *text, unsigned char eos= '\0') |
| public methods | |
| const SBscToken * | GetTokenStream () const |
| the end of the token stream is marked by UL_EOS. | |
| const ErrorVector & | GetErrorVec () const |
Definition at line 86 of file BscLexer.h.
| typedef std::vector< tstring > BscLexer::ErrorVector |
Definition at line 89 of file BscLexer.h.
| BscLexer::BscLexer | ( | ) |
class header.
File: BscLexer.cpp Author: Kevin Bray Created: 06-30-05 Copyright © 2004 Bootstrap Studios. All rights reserved. project includes. class BscLexer ctor & dtor
Definition at line 24 of file BscLexer.cpp.
| BscLexer::~BscLexer | ( | ) |
Definition at line 30 of file BscLexer.cpp.
| const ErrorVector& BscLexer::GetErrorVec | ( | ) | const [inline] |
Definition at line 100 of file BscLexer.h.
| const SBscToken* BscLexer::GetTokenStream | ( | ) | const [inline] |
| bool BscLexer::Lex | ( | const char * | text, | |
| unsigned char | eos = '\0' | |||
| ) |
public methods
matches patterns and builds the token stream. Note that the token stream is invalidated each time Lex is called.
reset lexer information.
get the current character.
nothing to lex, but not an error.
get the look-ahead character.
for each character, lex!
skip until we hit a newline.
don't increment the character index.
advance past the incoming /*
since we're handling the look-ahead, skip it on the next iteration.
skip the trailing '*/' and continue.
don't increment the character index.
we have an 'anything goes except %% string'. advance past the incoming %%
since we're handling the look-ahead, skip it on the next iteration.
skip the trailing '%' and continue.
add the new string.
don't increment the character index.
since we're handling the look-ahead, skip it on the next iteration.
since we're handling the look-ahead, skip it on the next iteration.
since we're handling the look-ahead, skip it on the next iteration.
since we're handling the look-ahead, skip it on the next iteration.
since we're handling the look-ahead, skip it on the next iteration.
since we're handling the look-ahead, skip it on the next iteration.
eat whitespace.
ignore.
we have an identifier.
note that we treat numerical operators as part of identifers. This makes handling file names easier. If this is undesired, it's up to the parser to error as needed. That means that numerical operators must be split up as well.
advance.
note that we treat numerical operators as part of identifers. This makes handling file names easier. If this is undesired, it's up to the parser to error as needed. That means that numerical operators must be split up as well.
advance.
signal the end of the stream.
return true if no errors.
Definition at line 42 of file BscLexer.cpp.


| DOSE: T+ 0:00 |
150 mg |
oral |
Rhodiola rosea |
(tea) |
| T+ 0:20 |
80 mg |
oral |
Caffeine |
(liquid) |
| T+ 0:20 |
200 mg |
oral |
Ginseng |
(liquid) |
BE CAREFUL WITH CAFFEINE (AND MIXING ENERGY PRODUCTS)
Substances: Rhodiola Rosea - 125 to 175 mg
Blue Sky energy drink - contains:
Niacin - 20mg
Vitamin B6 - 2mg
Vitamin B12 - 6mcg
Taurine - 1000mg
Panax Ginseng - 200mg
Energy blend - 2200mg
L-Carnitine, Glucose,
Caffeine (80mg), Inositol,
Glucuronalactone, Maltodextrin
I'll start off describing this experience by first saying a little about myself. I'm 16, about 5'8', 130 pounds, and an athlete. I'm in good shape, and currently I'm lifting weights every other day with my friends. I play soccer, although I'm mainly lifting weights so I can bulk up for pole vaulting. I have a sort of slow metabolism because of soccer camp last summer. At camp, we play for 5 hours per day and also do other stuff, and I underate a bit for some reason, so I really slowed my metabolism. It's only sped back up a bit over the year, so it takes me a while to get substances (like caffeine and kava - my current favorites) out of my system. I enjoy partaking in a few mild substances, like Kava, blue lotus, wormwood and the likes, and I've always loved a good caffeine buzz. My friend J and I often enjoy kava and other stuff together.
Next off, I'll give you an idea of my set and setting. I had just come from a hard day of school, and had ended up play about 3 hours of soccer at school (school's almost over, and some of my classes went outside to goof around). I was tired. I was feeling good mentally, happy, a bit hyper. Not actually hyper, just more talkative and active-feeling than usual. I was ready to ride our bikes over to the gym and really work out. But, I was looking for a boost because I was pretty tired out. This lead to today's experience.
So, the experience. J and I lift weights together, and today, we decided to have a little Rhodiola Rosea before going to the gym. Rhodiola Rosea is an adaptogen that is better than eleuthero, and gives me more energy, concentration, physical work capacity, and helps build muscle. But it's not like steriods, and doesn't screw me up. It also potentiates caffeine and other energy products.
So I weighed out a gram of Rhodiola in my scale (the most accurate it can get is 1 gram), and I then divided that into 1/8ths by sight, working out to give doses of something in the range of 125 to 175mg. My friend P was with us at the time, but he didn't want any Rhodiola. So we brewed up some white tea, which has very low caffeine content, and J and I added the Rhodiola to our cups.
We all drank our tea, and then rode our bikes to the gym, which is a 10 minute ride for me, but I ride a lot faster than my friends, so we took about 20 minutes. Plus J had some bike troubles on the way over that slowed us up for a few minutes. We made a little detour on the way, as well. We stopped at our local organic food shop and J and I bought some Blue Sky 'Blue Energy' drinks. These only contain 80mg caffeine, but also a lot of other things which give you energy.
Now normally, 80mg of caffeine wouldn't get me any kind of a buzz at all. I have a decent tolerance - I can drink one of those big cans of monster without getting the jitters or even much of a crash. But this drink gets me a nice buzz that lasts for a couple of hours, even though it's only 8oz or something. So, J and I downed our Blue Skys, and then we all rode over to the gym.
We got into the gym, and got right into working out. We were running late today, and only had 40 minutes to work out. In that time, we did what we normally do in about 1.5 hours, so this was like a hard cardio workout in addition to a strengthening session. J and I were getting pretty buzzed part way in. I was a bit euphoric, talking fast, and having a great time. We were both like that. We were also lifting more weight than usual, and doing the same number of reps and sets as usual. We did our entire upper bodies doing better than usual, and going fast.
We got finished and rode our bikes back to my house. P had to leave right away, so J and I hung out a bit. We were bumming around the internet, and about 5 or so minutes before he had to leave, I started feeling light headed. I was also extremely tired from the workout, and sitting felt nice. BTW, I wasn't dehydrated, so the lightheadedness wasn't from that. After he left, the lightheadedness was worse, so I crashed on the couch and watched some TV. About 15 minutes or so into my Beavis and Butthead DVD, I started to fall asleep. I didn't really want to sleep at the time, so I woke myself back up. I was still feeling really lightheaded.
So I kept on watching, and then I passed out. Straight up blacked out. It wasn't gradual, either, it was pretty much instant. I was out for a few minutes, maybe 7, before I started coming back. I didn't wake up fully, though, and I drifted into normal sleep. I know this because I could hear the TV while I slept (this happens when I fall asleep with music or the TV running). I woke back up when mom came in to check on me. I told her I was just fine (didn't want to worry her), and ate dinner.
Now, about 1+ hour after I blacked out, I'm still feeling lightheaded, and I feel like if I don't keep fighting it, I'll pass out again. I'm sure I'll be fine, but I've got music running just in case it happens again (I'll hear the music when I enter normal sleep and wake myself up). If it does happen again, I'll tell my parents and then they'll do IDK what. My dad's a doctor, so I'm not worried. Oh, so before I passed out, my heart was going faster than usual, and I was still breathing hard, even though the workout had been over for a while.
I guess all these energy products just overloaded me. I think the caffeine and the Rhodiola caused this. My mom passed out from caffeine before (when she was like 20 something), so I know that it's possible, and because Rhodiola can potentiate the effects of caffeine, I think this was the most probably cause. I guess I know not to mix energy drinks and other energy products from now on. There is a positives side to this experience, though. Now I know my limits! I'm still going to drink energy drinks occasionally, cause I love the buzz, but I'll not mix them with Rhodiola again.
Peace and love!
Evan
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Install
Installing a Binary Package
Thanks to others, H2O is provided as a binary package on some environments. Therefore you may try to at first install the software using your favorite packaging system, and then resort to installing from source as described below.
At the time being, following packages are known to be actively maintained1:
Installing from Source
Download a release version from the releases page or clone the master branch from the source repository, and build it using CMake2.
% cmake -DWITH_BUNDLED_SSL=on .
% make
% sudo make install
When complete, H2O will be installed under /usr/local
.
Start the installed server using the example configuration to confirm that it actually works (note: without the use of -m
option the server runs as a foreground process; press Ctrl-C
to stop).
% /usr/local/bin/h2o -c examples/h2o/h2o.conf
The example configuration starts a server that listens to port 8080 (HTTP) and port 8081 (HTTPS). Try to access the ports using the protocols respectively (note: when accessing via HTTPS it is likely that you would see hostname mismatch errors reported by the web browsers).
When complete, proceed to Configure section for how to setup the server.
CMake Options
Following list shows the interesting arguments recognized by CMake.
-DCMAKE_INSTALL_PREFIX=directory
-
This option specifies the directory to which H2O will be installed (default:
/usr/local
). -DWITH_BUNDLED_SSL=on|off
-
This option instructs whether or not to use LibreSSL being bundled (default:
off
if OpenSSL version >= 1.0.2 is found,on
if otherwise). Read the section below for comparison between OpenSSL and LibreSSL. -DWITH_MRUBY=on|off
- This option instructs whether or not to build the standalone server with support for scripting using mruby. It is turned on by default if the prerequisites (bison, ruby and the development files3) are found.
Installing from Source, using OpenSSL
Generally speaking, we believe that using LibreSSL is a better choice for running H2O, since LibreSSL not only is considered to be more secure than OpenSSL but also provides support for new ciphersuites such as chacha20-poly1305
which is the preferred method of Google Chrome4. However, it is also true that LibreSSL is slower than OpenSSL on some benchmarks. So if you are interested in benchmark numbers, using OpenSSL is a reasonable choice.
The difficulty in using OpenSSL is that the HTTP/2 specification requires the use of an extension to the TLS protocol named ALPN, which has only been supported since OpenSSL 1.0.25. Therefore it is highly likely that you would need to manually install or upgrade OpenSSL on your system.
Once you have installed OpenSSL 1.0.2, it is possible to build H2O that links against the library. As an safeguard it is advised to use -DWITH_BUNDLED_SSL
set to off
, so that the server would not accidentally link against the bundled LibreSSL.
CMake will search for OpenSSL by looking at the default search paths.
% cmake -DWITH_BUNDLED_SSL=off
% make
% sudo make install
Two ways exist to specify the directory in which CMake should search for OpenSSL.
The preferred approach is to use the PKG_CONFIG_PATH
environment variable.
% PKG_CONFIG_PATH=/usr/local/openssl-1.0.2/lib/pkgconfig cmake -DWITH_BUNDLED_SSL=off
% make
% sudo make install
In case your OpenSSL installation does not have the lib/pkgconfig
directory, you may use OPENSSL_ROOT_DIR
environment variable to specify the root directory of the OpenSSL being installed. However, it is likely that CMake version 3.1.2 or above is be required when using this approach6.
% OPENSSL_ROOT_DIR=/usr/local/openssl-1.0.2 cmake -DWITH_BUNDLED_SSL=off
% make
% sudo make install
Notes:
- Please open a new issue on Github if you want a new package to get added.
- CMake is a popular build tool that can be found as a binary package on most operating systems.
mkmf
- a program for building ruby extensions is required. In many distributions, the program is packaged as part ofruby-dev
or
ruby-devel
package.- ref: Do the ChaCha: better mobile performance with cryptography
- It is possible to build H2O using prior versions of OpenSSL, but some (if not all) web browsers are known for not using HTTP/2 when connecting to servers configured as such.
- ref: h2o issue #277, CMake issue 0015386


Beyond the City
by Sir Arthur Conan Doyle
Chapter X: “Women of the Future”
Additional Information
- Year Published: 1892
- Language: English
- Country of Origin: England
- Source: Doyle, A.C. (1892) Beyond the City London, England: Simpkin, Hamilton, Kent
-
Readability:
- Flesch–Kincaid Level: 5.5
- Word Count: 3,229
- Genre: Romance
- Keywords: 19th century literature, british literature, scottish authors
- ✎ Cite This
Downloads
From that day the Doctor’s peace was gone. Never was a quiet and orderly household transformed so suddenly into a bear garden, or a happy man turned into such a completely miserable one. He had never realized before how entirely his daughters had shielded him from all the friction of life. Now that they had not only ceased to protect him, but had themselves become a source of trouble to him, he began to understand how great the blessing was which he had enjoyed, and to sigh for the happy days before his girls had come under the influence of his neighbor.
“You don’t look happy,” Mrs. Westmacott had remarked to him one morning. “You are pale and a little off color. You should come with me for a ten mile spin upon the tandem.”
“I am troubled about my girls.” They were walking up and down in the garden. From time to time there sounded from the house behind them the long, sad wail of a French horn.
“That is Ida,” said he. “She has taken to practicing on that dreadful instrument in the intervals of her chemistry. And Clara is quite as bad. I declare it is getting quite unendurable.”
“Ah, Doctor, Doctor!” she cried, shaking her forefinger, with a gleam of her white teeth. “You must live up to your principles—you must give your daughters the same liberty as you advocate for other women.”
“Liberty, madam, certainly! But this approaches to license.”
“The same law for all, my friend.” She tapped him reprovingly on the arm with her sunshade. “When you were twenty your father did not, I presume, object to your learning chemistry or playing a musical instrument. You would have thought it tyranny if he had.”
“But there is such a sudden change in them both.”
“Yes, I have noticed that they have been very enthusiastic lately in the cause of liberty. Of all my disciples I think that they promise to be the most devoted and consistent, which is the more natural since their father is one of our most trusted champions.”
The Doctor gave a twitch of impatience. “I seem to have lost all authority,” he cried.
“No, no, my dear friend. They are a little exuberant at having broken the trammels of custom. That is all.”
“You cannot think what I have had to put up with, madam. It has been a dreadful experience. Last night, after I had extinguished the candle in my bedroom, I placed my foot upon something smooth and hard, which scuttled from under me. Imagine my horror! I lit the gas, and came upon a well-grown tortoise which Clara has thought fit to introduce into the house.
Mrs. Westmacott dropped him a little courtesy. “Thank you, sir,” said she.  “One such pet may no doubt be endured, but two are more than I can bear. Ida has a monkey which lives on the curtain rod. It is a most dreadful creature. It will remain absolutely motionless until it sees that you have forgotten its presence, and then it will suddenly bound from picture to picture all round the walls, and end by swinging down on the bell-rope and jumping on to the top of your head.  Ida calls these outrages amusing tricks.”
“Oh, all will come right,” said the widow reassuringly.
“And Clara is as bad, Clara who used to be so good and sweet, the very image of her poor mother. She insists upon this preposterous scheme of being a pilot, and will talk of nothing but revolving lights and hidden rocks, and codes of signals, and nonsense of the kind.”
“But why preposterous?” asked his companion. “What nobler occupation can there be than that of stimulating commerce, and aiding the mariner to steer safely into port? I should think your daughter admirably adapted for such duties.”
“Then I must beg to differ from you, madam.”
“Still, you are inconsistent.”
“Excuse me, madam, I do not see the matter in the same light. And I should be obliged to you if you would use your influence with my daughter to dissuade her.”
“You wish to make me inconsistent too.”
“Then you refuse?”
“I am afraid that I cannot interfere.”
The Doctor was very angry. “Very well, madam,” said he. “In that case I can only say that I have the honor to wish you a very good morning.” He raised his broad straw hat and strode away up the gravel path, while the widow looked after him with twinkling eyes. She was surprised herself to find that she liked the Doctor better the more masculine and aggressive he became. It was unreasonable and against all principle, and yet so it was and no argument could mend the matter.
Very hot and angry, the Doctor retired into his room and sat down to read his paper. Ida had retired, and the distant wails of the bugle showed that she was upstairs in her boudoir. Clara sat opposite to him with her exasperating charts and her blue book. The Doctor glanced at her and his eyes remained fixed in astonishment upon the front of her skirt.
“My dear Clara,” he cried, “you have torn your skirt!”
His daughter laughed and smoothed out her frock. To his horror he saw the red plush of the chair where the dress ought to have been. “It is all torn!” he cried. “What have you done?”
“My dear papa!” said she, “what do you know about the mysteries of ladies’ dress? This is a divided skirt.”
Then he saw that it was indeed so arranged, and that his daughter was clad in a sort of loose, extremely long knickerbockers.
“It will be so convenient for my sea-boots,” she explained.
Her father shook his head sadly. “Your dear mother would not have liked it, Clara,” said he.
For a moment the conspiracy was upon the point of collapsing. There was something in the gentleness of his rebuke, and in his appeal to her mother, which brought the tears to her eyes, and in another instant she would have been kneeling beside him with everything confessed, when the door flew open and her sister Ida came bounding into the room. She wore a short grey skirt, like that of Mrs. Westmacott, and she held it up in each hand and danced about among the furniture.
“I feel quite the Gaiety girl!” she cried. “How delicious it must be to be upon the stage! You can’t think how nice this dress is, papa. One feels so free in it. And isn’t Clara charming?”
“Go to your room this instant and take it off!” thundered the Doctor. “I call it highly improper, and no daughter of mine shall wear it.”
“Papa! Improper! Why, it is the exact model of Mrs. Westmacott’s.”
“I say it is improper. And yours also, Clara! Your conduct is really outrageous. You drive me out of the house. I am going to my club in town. I have no comfort or peace of mind in my own house. I will stand it no longer. I may be late to-night—I shall go to the British Medical meeting. But when I return I shall hope to find that you have reconsidered your conduct, and that you have shaken yourself clear of the pernicious influences which have recently made such an alteration in your conduct.” He seized his hat, slammed the dining-room door, and a few minutes later they heard the crash of the big front gate.
“Victory, Clara, victory!” cried Ida, still pirouetting around the furniture. “Did you hear what he said? Pernicious influences! Don’t you understand, Clara? Why do you sit there so pale and glum? Why don’t you get up and dance?”
“Oh, I shall be so glad when it is over, Ida. I do hate to give him pain. Surely he has learned now that it is very unpleasant to spend one’s life with reformers.”
“He has almost learned it, Clara. Just one more little lesson. We must not risk all at this last moment.”
“What would you do, Ida? Oh, don’t do anything too dreadful. I feel that we have gone too far already.”
“Oh, we can do it very nicely. You see we are both engaged and that makes it very easy. Harold will do what you ask him, especially as you have told him the reason why, and my Charles will do it without even wanting to know the reason. Now you know what Mrs. Westmacott thinks about the reserve of young ladies. Mere prudery, affectation, and a relic of the dark ages of the Zenana. Those were her words, were they not?”
“What then?”
“Well, now we must put it in practice. We are reducing all her other views to practice, and we must not shirk this one.
“But what would you do? Oh, don’t look so wicked, Ida!   A supper!”
“Why not? Young gentlemen give suppers. Why not young ladies?”
“But whom shall we invite?”
“Why, Harold and Charles of course.”
“And the Admiral and Mrs. Hay Denver?”
“Oh, no. That would be very old-fashioned. We must keep up with the times, Clara.”
“But what can we give them for supper?”
a picture of the countryside
“Oh, something with a nice, fast, rollicking, late-at-night-kind of flavor to it. Let me see! Champagne, of course—and oysters. Oysters will do. In the novels, all the naughty people take champagne and oysters. Besides, they won’t need any cooking. How is your pocket- money, Clara?”
“I have three pounds.”
“And I have one. Four pounds. I have no idea how much champagne costs. Have you?”
“Not the slightest.”
“How many oysters does a man eat?”
“I can’t imagine.”
“I’ll write and ask Charles. No, I won’t. I’ll ask Jane. Ring for her, Clara. She has been a cook, and is sure to know.”
Jane, on being cross-questioned, refused to commit herself beyond the statement that it depended upon the gentleman, and also upon the oysters. The united experience of the kitchen, however, testified that three dozen was a fair provision.
“Then we shall have eight dozen altogether,” said Ida, jotting down all her requirements upon a sheet of paper. “And two pints of champagne. And some brown bread, and vinegar, and pepper. That’s all, I think. It is not so very difficult to give a supper after all, is it, Clara?”
“I don’t like it, Ida. It seems to me to be so very indelicate.”
“But it is needed to clinch the matter. No, no, there is no drawing back now, Clara, or we shall ruin everything. Papa is sure to come back by the 9:45. He will reach the door at 10. We must have everything ready for him. Now, just sit down at once, and ask Harold to come at nine o’clock, and I shall do the same to Charles.”
The two invitations were dispatched, received and accepted. Harold was already a confidant, and he understood that this was some further development of the plot. As to Charles, he was so accustomed to feminine eccentricity, in the person of his aunt, that the only thing which could surprise him would be a rigid observance of etiquette. At nine o’clock they entered the dining-room of Number 2, to find the master of the house absent, a red-shaded lamp, a snowy cloth, a pleasant little feast, and the two whom they would have chosen, as their companions. A merrier party never met, and the house rang with their laughter and their chatter.
“It is three minutes to ten,” cried Clara, suddenly, glancing at the clock.
“Good gracious! So it is! Now for our little tableau!” Ida pushed the champagne bottles obtrusively forward, in the direction of the door, and scattered oyster shells over the cloth.
“Have you your pipe, Charles?”
“My pipe! Yes.”
“Then please smoke it. Now don’t argue about it, but do it, for you will ruin the effect otherwise.”
The large man drew out a red case, and extracted a great yellow meerschaum, out of which, a moment later, he was puffing thick wreaths of smoke. Harold had lit a cigar, and both the girls had cigarettes.
“That looks very nice and emancipated,” said Ida, glancing round. “Now I shall lie on this sofa. So!  No, don’t stop smoking. I like it. Clara, dear, put your feet upon the coal-scuttle, and do try to look a little dissipated. I wish we could crown ourselves with flowers. There are some lettuces on the sideboard.  I hear his key.” She began to sing in her high, fresh voice a little snatch from a French song, with a swinging tra la-la chorus.
The Doctor had walked home from the station in a peaceable and relenting frame of mind, feeling that, perhaps, he had said too much in the morning, that his daughters had for years been models in every way, and that, if there had been any change of late, it was, as they said themselves, on account of their anxiety to follow his advice and to imitate Mrs. Westmacott. He could see clearly enough now that that advice was unwise, and that a world peopled with Mrs. Westmacotts would not be a happy or a soothing one. It was he who was, himself, to blame, and he was grieved by the thought that perhaps his hot words had troubled and saddened his two girls.
This fear, however, was soon dissipated. As he entered his hall he heard the voice of Ida uplifted in a rollicking ditty, and a very strong smell of tobacco was borne to his nostrils. He threw open the dining- room door, and stood aghast at the scene which met his eyes.
The room was full of the blue wreaths of smoke, and the lamp-light shone through the thin haze upon gold-topped bottles, plates, napkins, and a litter of oyster shells and cigarettes. Ida, flushed and excited, was reclining upon the settee, a wine-glass at her elbow, and a cigarette between her fingers, while Charles Westmacott sat beside her, with his arm thrown over the head of the sofa, with the suggestion of a caress. On the other side of the room, Clara was lounging in an arm-chair, with Harold beside her, both smoking, and both with wine-glasses beside them. The Doctor stood speechless in the doorway, staring at the Bacchanalian scene.
“Come in, papa! Do!” cried Ida. “Won’t you have a glass of champagne?”
“Pray excuse me,” said her father, coldly, “I feel that I am intruding. I did not know that you were entertaining. Perhaps you will kindly let me know when you have finished. You will find me in my study.” He ignored the two young men completely, and, closing the door, retired, deeply hurt and mortified, to his room. A quarter of an hour afterwards he heard the door slam, and his two daughters came to announce that the guests were gone.
“Guests! Whose guests?” he cried angrily. “What is the meaning of this exhibition?”
“We have been giving a little supper, papa. They were our guests.”
“Oh, indeed!” The Doctor laughed sarcastically. “You think it right, then, to entertain young bachelors late at night, to, smoke and drink with them, to—— Oh, that I should ever have lived to blush for my own daughters! I thank God that your dear mother never saw the day.”
“Dearest papa,” cried Clara, throwing her arms about him. “Do not be angry with us. If you understood all, you would see that there is no harm in it.”
“No harm, miss! Who is the best judge of that?”
“Mrs. Westmacott,” suggested Ida, slyly.
The Doctor sprang from his chair. “Confound Mrs. Westmacott!” he cried, striking frenziedly into the air with his hands. “Am I to hear of nothing but this woman? Is she to confront me at every turn? I will endure it no longer.”
“But it was your wish, papa.”
“Then I will tell you now what my second and wiser wish is, and we shall see if you will obey it as you have the first.”
“Of course we will, papa.”
“Then my wish is, that you should forget these odious notions which you have imbibed, that you should dress and act as you used to do, before ever you saw this woman, and that, in future, you confine your intercourse with her to such civilities as are necessary between neighbors.”
“We are to give up Mrs. Westmacott?”
“Or give up me.”
“Oh, dear dad, how can you say anything so cruel?” cried Ida, burrowing her towsy golden hair into her father’s shirt front, while Clara pressed her cheek against his whisker. “Of course we shall give her up, if you prefer it.”
“Of course we shall, papa.”
The Doctor patted the two caressing heads. “These are my own two girls again,” he cried. “It has been my fault as much as yours. I have been astray, and you have followed me in my error. It was only by seeing your mistake that I have become conscious of my own. Let us set it aside, and neither say nor think anything more about it.”


| | |
- FileObject
class FileObject |
| |
This class provides a file object interface to a
L{tlslite.TLSConnection.TLSConnection}.
Call makefile() on a TLSConnection to create a FileObject instance.
This class was copied, with minor modifications, from the
_fileobject class in socket.py. Note that fileno() is not
implemented. |
| |
Methods defined here:
- __del__(self)
- __init__(self, sock, mode='rb', bufsize=-1)
- __iter__(self)
- close(self)
- flush(self)
- next(self)
- read(self, size=-1)
- readline(self, size=-1)
- readlines(self, sizehint=0)
- write(self, data)
- writelines(self, list)
Data descriptors defined here:
- closed
- True if the file is closed
Data and other attributes defined here:
- default_bufsize = 16384
| |


{% import 'macros.html' as macros %} {% call macros.us_template('raffle-unlock-tpl') %}
We are currently running a raffle. Review more courses to unlock better raffle prizes!
This raffle ends on December 12, 2012 at 12:12:12pm EST.
{# TODO(mack): add back Learn more » #}


Little Family Tree engages children with their personal family history in games and activities designed for their level.
Playing with Little Family Tree will help children learn to:
Data for the games comes from your online family tree. When you start the app for the first time, you will be prompted to login to your online tree. Little Family Tree currently supports trees from FamilySearch and PhpGedView. If you have previously connected to an online tree, and would like to change to a different account or online tree service, you must uninstall and reinstall Little Family Tree to begin again with the new account.
Data from your online family tree is loaded in the background over WiFi while your child plays. As more data is loaded, more of your child's unique heritage is available for them to engage with and learn about.
When the app is first loaded on a device, it does take some time for the data to populate the games. We recommend playing several rounds of one of the photo games first, like scratch-off or watercolor to help the app place more ancestors in the queue for download. Allow the app to run in the background after first installing so the data can continue to load in the background.
The parameters for loading data can be managed via the app settings. The app is read-only and does not change the data on the online tree.
There is very little text used in the app, making it easy for even the youngest child to play. Eveything is identified by icons and pictures. The game also uses a lot of audio cues to guide the player.
 An icon appears in the lower left corner of the game on start up. Click this icon to mute the game. The audio can also be changed at any time in the app settings.
The more information--especially photos--that you add to your online family tree, the more fun Little Family Tree will be for your child! Take a few moments to review the photos and data in your online family tree to give your child a unique and engaging experience with their heritage.
 You will also have the opportunity to enhance the experience through your own personal memories and stories.
Take time to tell a fun story about a picture that is uncovered in the game. Or tell your child your earliest memories of someone in the game.
The games and activities in Little Family Tree are centered around the person who is playing. When you start the game, you will be asked to choose the person who will be the main player. The people available to choose from are taken directly from your close relatives in your online family tree.
Little Family Tree will focus the games around the selected child so that the pictures chosen and relationships spoken are relative to that person.
You may choose a different player at any time by tapping the player's profile picture on the activity screens.
The home is the hub of the game. It is designed to be inviting and engaging for your child. If something looks interesting, simply touch it to see what happens. Most children find the touch interface intuitive and natural but you may need to help younger toddlers to get started.
Return to the home at anytime by touching the home button at the top of every screen.
Portals to special games and activities are highlighted by stars on the home screen. Tap the items behind the stars to start those activities.
Visit the Games section of this site to learn more about individual games and activities.
Parents may alter app settings through the manage settings button found on any screen. You must enter the password for your online tree account in order to access the settings. This prevents children from accidentally changing the settings.
The adult login can now be remembered for 20 minutes at a time! When the device asks for an adult login, simply slide the icon next to the "Remember for 20 minutes" option so it is green before hitting the "sign in" button.
From the settings you can manage your connection to your online family tree and change synchronization settings. You can also choose to hide people from your online tree so that they do not show up in Little Family Tree. You can return to this parent's guide at anytime from the settings screen.
You can now record the names of relatives and ancestors instead of having the device voice say the names. You can also say special names like Grandma, Nana, Papa, and nicknames or middle names that family members go by. Do this by going to Settings, then Manage People. Search for the person who's name you want to record. Click their name when it appears on the search results. Tap the microphone icon. A screen will appear with a play icon, microphone icon and garbage icon. Tap the microphone icon and record the name without delay. Tap the pause button right after you say the name. Push the play button to listen to the recorded name. Record again as many times as you'd like to get the name just right. Use the garbage icon to delete the recorded name and return to the device voice at any time. Repeat the steps for any names you'd like to record.
You may now choose a default skin tone for the cartoon faces and paper dolls in Little Family Tree. Find this under settings -- default skin tone


--- layout: post esbma_id: 1581 title: The Eventual Death of Developer Magazines date: 2006-03-10 15:46:41 keywords: biz ---
I enjoy predicting the death of companies. Everybody needs a hobby. I suppose mine is more cynical than some, so scratch me off the list of good role models for your kids.
I'm pretty good at it, too. Nine years of running a business has given me a certain amount of intuition about whether something is going to "make it" or not.
Heck, if I could get my accuracy rate a bit higher and improve my timing, I could make a business out of predicting the death of other businesses. I'm not sure exactly what the revenue model is, but it seems obvious that if I could accurately tell people if and when a company is going to fail, I could charge a lot of money for that service.
Unfortunately, I'm not always right. For example, a nearby restaurant has been defying my predictions for years. I really like the place, but it's basically always empty. I can't imagine how they pay the rent. On more than one occasion I have wondered if the place is a front for something illegal, but I'm pretty sure my conjectures are not enough for anybody to get a search warrant.
Accuracy in my projections is hard. Timing is much harder. Even when it is obvious that a business will fail, it can be incredibly difficult to know just when it will happen. Sometimes my guesses are pretty good, but in other cases, I've missed by months or even years. If the company doesn't have much debt, it can cut costs and lay around on life support for an absurdly long time.
There's a camera shop here in Champaign. It's doomed. Nature has selected this kind of camera shop for extinction, but the owner of this particular store is fighting back. The newspaper recently reported that he has laid off everyone but himself. That will help keep his doors open, but it doesn't help me at all. Now I don't know what date to choose for my prediction! He could close up shop tomorrow or he could keep going for years. It's hard to tell.
Suppose my hobby were a game and we needed a way to keep score. For correctly predicting the death of a specific company, you can get a maximum score of say 10 points. But timing is critical, so you have to specify a date. If you get the date pretty close, then you get the full 10 points. If you miss, a penalty will be deducted. The worse you miss, the fewer points you get.
The eventual rules of scoring will end up incredibly complicated. For example, all else equal, public companies need to be worth a lot less than ones which are privately held. Plus we need ways of resolving disputes over whether a company really died or not.
Here's another scoring problem: New businesses die quickly.
Predicting the death of a new company is a relatively simple matter. If they're going to fail, they're probably going to do it soon. Many such businesses never develop a reasonable revenue model of any kind. Others die in the chasm, taking all the money they can from the early adopters but never crossing over into the land of the pragmatists where all the big bucks are.
But old businesses are much trickier, and the timing can be nearly impossible. After 150 years of operation, Western Union's telegram business was shut down on 27 January 2006. It wasn't too hard to see this coming, but how would I have gotten even close to the right date?
So if new companies are worth 10 points, old companies should be worth maybe a 100 or so. This is especially true now that we've got dozens of ridiculous "Web 2.0" companies sprouting up like crabgrass. If I correctly predict the death of something really tricky like Sun Microsystems, while you correctly predict the death of five startups doing web calendaring, I should still have the higher score.
One specific situation that has kept me stumped is figuring out exactly when the software development magazines are going to die.
I correctly resisted the temptation to predict their imminent death back when the Web was starting to become ubiquitous. For a while it was fashionable to predict that the Web would eliminate publishing, or at least that it would eliminate magazine publishing. Ten years later, most of these pubs are still around.
But there is obviously some truth here. Today's developer-focused magazines are looking very sickly indeed. The health of a magazine is very closely correlated with its page count. Note the following:
Two days ago I stopped in at my local Borders bookstore and noticed that not one of these magazines was available for sale. They carry hundreds of periodicals. They have an entire shelf of magazines for scrapbookers. They have niche titles like Biblical Archaeology Review. But I couldn't find a single pub which was focused at software developers. What's up with that?
The unavoidable truth is that these magazines have largely ceased to be relevant. More and more, software developers get their information on the Web, not from a magazine. As just one example, compare the quality of the technical content in any developer magazine against Raymond Chen's blog. It's not even close, and Chen's blog is pure content, as opposed to "tidbits of content squeezed in between the ads".
Speaking of ads, people are going to start noticing that SourceGear is currently not advertising in any developer magazine. This is a big change for us. I'm pretty sure that at least one SourceGear magazine ad has been printed every month for the last 8 years. Next month, there will be none.
When I show up at Tech-Ed in June, I will no doubt encounter several sales guys from these magazines. Each of them will try to convince me that by choosing to stop advertising, I am giving their readers the impression that SourceGear is dying. The irony seems very thick. My company is not the one that is languishing here.
For the record, SourceGear is quite healthy. We don't share our financials, but 2005 was our best year ever, and 2006 is probably going to beat it.
It's not that we can't afford the ads. I'm just tired of playing the game, so I'm taking a break. After Vault 4.0 comes out, maybe we'll run some more ads to spread the word.
Or maybe we won't. Vault 4.0 is still probably 6-9 months away. All these magazines might be gone by then. :-)
OK, probably not.  Developer magazines still have their place. Their market is shrinking, but it's not gone, and I wouldn't be surprised if these pubs are still hanging on five years from now.
But although I can't get the timing right, the signs are clear. Developer magazines are dying.


print"
School.io
print"
print"
Calcolo delle medie scolastiche
print"
print"
print"
Italiano
"; print"
"; print"
Storia
"; print"
"; print"
Matematica
"; print"
"; print"
Inglese
"; print"
"; print"
Tecnologie e progettazione
"; print"
"; print"
Sistemi e reti
"; print"
"; print"
Gestione progetto
"; print"
"; print"
Informatica
"; print"
"; print"
"; print"
2
"; print"
3
"; print"
4
"; print"
5
"; print"
6
"; print"
7
"; print"
8
"; print"
9
"; print"
10
"; print"
"; print"
"; print"
"; print"
2
"; print"
3
"; print"
4
"; print"
5
"; print"
6
"; print"
7
"; print"
8
"; print"
9
"; print"
10
"; print"
"; print"
"; print"
"; print"
2
"; print"
3
"; print"
4
"; print"
5
"; print"
6
"; print"
7
"; print"
8
"; print"
9
"; print"
10
"; print"
"; print"
"; print"
"; print"
2
"; print"
3
"; print"
4
"; print"
5
"; print"
6
"; print"
7
"; print"
8
"; print"
9
"; print"
10
"; print"
"; print"
"; print"
"; print"
2
"; print"
3
"; print"
4
"; print"
5
"; print"
6
"; print"
7
"; print"
8
"; print"
9
"; print"
10
"; print"
"; print"
"; print"
"; print"
2
"; print"
3
"; print"
4
"; print"
5
"; print"
6
"; print"
7
"; print"
8
"; print"
9
"; print"
10
"; print"
"; print"
"; print"
"; print"
2
"; print"
3
"; print"
4
"; print"
5
"; print"
6
"; print"
7
"; print"
8
"; print"
9
"; print"
10
"; print"
"; print"
";


Potentially deadly liver disease caused by belly fat - here's how to zap it
Millions of people across the UK have non-alcoholic fatty liver disease - a condition caused by having too much weight on your belly that can be deadly if left untreated
by Milo Boyd, https://www.mirror.co.uk/authors/milo-boyd/Thought it was only alcoholics who need to worry about liver disease? Think again.
Your evening tipple isn’t the only culprit when it comes to causing liver damage – and anyone with excess weight on their belly is in the firing line.
It’s estimated that, thanks to rising obesity levels, a third of the UK population now has non-alcoholic fatty liver disease (NAFLD), the medical term for too much fat building up in your liver.
And while most sufferers are oblivious to the fact that they have the condition, left unchecked, it’s a killer.
Alyson Johnson, a digital project manager from Newcastle upon Tyne, was just 50 when her doctor told her she would be dead within two years if she didn’t lose weight.
“My GP told me bluntly that I was putting my life at risk because my weight had led me to develop a fatty liver, which had become inflamed and scarred,” admits Alyson, who weighed 17st 7lb and had uncontrolled Type 2 diabetes at the time.
“It was the wake-up call I needed.”
Her case is by no means unusual.
Dr Stephen Ryder, consultant physician at the Queen’s Medical Centre, Nottingham and medical adviser to the British Liver Trust, said: “Almost two-thirds of people in the UK are overweight or obese and, as that is the main cause of NAFLD, the condition is becoming very common indeed.”
Latest figures from the UK Biobank suggest that as many as 12 million people in the UK may have fatty liver disease and 1.4 million could have the more serious type – non-alcoholic steatohepatitis (NASH) – which is stage 2, where the liver becomes inflamed.
Around 360,000 of these cases will develop cirrhosis.
And worryingly, those developing the disease are getting younger all the time.
While NAFLD was once most prevalent in people aged over 50, in April a study from the University of Bristol revealed that one in five young adults in the UK have early signs, with one in 40 having already developed fibrosis – a precursor to cirrhosis of the liver – by just 25.
Pamela Healy, chief executive of the British Liver Trust charity, said we’re facing a liver disease epidemic.
“It’s really alarming that one in five of the people we see at the mobile Love Your Liver screening sessions have a high liver scan reading and need further investigation,” she said.
“This is a wake-up call to the liver disease epidemic the UK is facing. It needs to be addressed urgently before it’s too late and costs unnecessary lives.”
Seven steps to protect your liver
1 Don’t let your weight creep up
Around 95% of people with NAFLD are overweight or obese. Overweight people have high levels of circulating fat, which can be stored not only in the skin, but also in the organs, including the liver. Fat causes inflammation and this stimulates scarring of the liver, so if you lose weight the scarring goes and the normal capacity of the liver to regenerate itself comes back. If you’re overweight, losing 10% of your body weight has been shown to be enough to reverse liver scarring.
2 Take a coffee break
Drinking two or more cups of coffee a day has been found to protect against liver cancer and cirrhosis in research conducted by the University of Edinburgh – if it is drunk as part of a healthy well-balanced diet. This doesn’t give us a pass to drink more alcohol, however: while scientific research suggests coffee may have a beneficial effect on liver function, the risks associated with excessive alcohol consumption are not counter-balanced by drinking coffee.
3 Watch out for fructose
Excessive consumption of fructose (fruit sugar) found in fizzy drinks and fruit juices has been associated with an increased risk of developing NAFLD. One paper, published in 2015 by researchers from Bezmialem Vakif University in Istanbul, Turkey, said fructose was more likely to contribute to NAFLD than a high-fat diet. The researchers said fructose was a major stimulant for a process called de novo lipogenesis, which converts excess carbohydrates into fatty acids.
4 Minimise your diabetes risk
An estimated 70% of people with Type 2 diabetes have NAFLD.  If you do have Type 2 diabetes, losing weight may put your diabetes into remission and also reverse your fatty liver disease.
5 Keep fit
Exercise improves insulin resistance, a risk factor for NAFLD. Research by the University of Newcastle has found that exercise alone without weight loss can reverse NASH. In the later stage disease, both exercise and weight loss are needed for damage to be reversed.
6 Make sure you eat a Med-style diet
Research published in the Journal of Hepatology found that obese people who ate a diet rich in olive oil, pulses, walnuts, vegetables and little red meat had a significantly greater reduction in liver fats.
7 Stick to safe limits of alcohol
Alcohol doesn’t cause NAFLD,but it can cause other forms of liver disease that can result in fibrosis and cirrhosis, so drink no more than 14 units a week.
As for Alyson, in the two years since her doctor’s blunt diagnosis, she has turned her health around.
“At the time, my health was a mess,” she admits.  I also comfort ate: half tubs of ice cream and chocolate if I was feeling low. I was killing myself with food and not moving enough.”
Alyson set about improving her lifestyle.
“I knew I had to make big changes so I hired a personal trainer and worked out with them three times a week.

Thankfully Alyson’s hard work has paid off. “In just under two years my weight has dropped by six stone and I’m down from size 22 to a size 12,” she said.
“My latest scans show I have a normal liver and have reversed the scarring and my Type 2 diabetes is in remission.
“I now exercise a lot and enjoy hiking and weight training. People ask me how I’ve stuck to it, but the answer is easy: I didn’t want to die young.”


Week 02: First animations
Lecture Topics:
-
Points, vectors, and time
-
Animation software patterns
-
First animations: oscillation, forward and circular motion
Design patterns
Further reading:
Points, vectors, and time
Further reading:
-
Lengyel: Chapter 2, Appendix B.1, B.2, B.3, B.5, B.6


Hello
I lik Harley quinn
Joker pushed her our a window with a swordfish
J
She was born in brooklyn
Hi. I lik Harley Quinn and she is my favorite character
I wanna go watch Birds of prey and Harley quinn :/


DATA TYPES
While writing program in any language, you need to use various
variables to store various information. Variables are nothing but
reserved memory locations to store values. This means that when you
create a variable you reserve some space in memory.
You may like to store information of various data types like
character, wide character, integer, floating point, double floating
point, boolean etc. Based on the data type of a variable, the
operating system allocates memory and decides what can be stored in
the reserved memory.
Primitive Built-in Types
C++ offers the programmer a rich assortment of built-in as well as user defined data types. Following table lists down seven basic C++ data types:
| Type | Keywoed |
| Boolean | bool |
| Character | char |
| Integer | int |
| Floating point | float |
| Double floating point | double |
| Valueless | void |
| Wide character | wchar_t |
Several of the basic types can be modified using one or more of these type modifiers:
- signed
- unsigned
- short
- long
The following table shows the variable type, how much memory it takes to store the value in memory, and what is maximum and minimum value which can be stored in such type of variables.
| Type | Typical Bit Width | Typical Range |
| char | 1 bytes | -127 to 127 |
| unsigned char | 1 bytes | 0 to 255 |
| signed char | 1 bytes | -127 to 127 |
| int | 4 bytes | -2147483648 to<PHONE_NUMBER> |
| unsigned int | 4 bytes | 0 to<PHONE_NUMBER> |
| signed int | 4 bytes | -2147483648 to<PHONE_NUMBER> |
| short int | 2 bytes | -32768 to 32767 |
| unsigned short int | range | 0 to 65,535 |
| short int | range | -32768 to 32767 |
| long int | 4 bytes | -2,147,483,647 to 2,147,483,647 |
| unsigned long int | 4 bytes | 0 to 4,294,967,295 |
| signed long int | 4 bytes | -2,147,483,647 to 2,147,483,647 |
| float | 4 bytes | +/- 3.4e +/- 38 (~7 digits) |
| double | 8 bytes | +/- 1.7e +/- 308 (~15 digits) |
| long double | 8 bytes | +/- 1.7e +/- 308 (~15 digits) |
| wchar_t | 2 or 4 bytes | 1 wide character |
The size of variables might be different from those shown in the
above table, depending on the compiler and the computer you are
using.
Following is the example, which will produce correct size of various
data types on your computer.
#include <iostream> using namespace std; int main() { cout << "Size of char : " << sizeof(char) << endl; cout << "Size of int : " << sizeof(int) << endl; cout << "Size of short int : " << sizeof(short int) << endl; cout << "Size of long int : " << sizeof(long int) << endl; cout << "Size of float : " << sizeof(float) << endl; cout << "Size of double : " << sizeof(double) << endl; cout << "Size of wchar_t : " << sizeof(wchar_t) << endl; return 0; }
This example uses endl, which inserts a new-line character after every line and << operator is being used to pass multiple values out to the screen. We are also using sizeof() function to get size of various data types.
typedef Declarations
You can create a new name for an existing type using typedef. Following is the simple syntax to define a new type using typedef:
typedef type newname;
For example, the following tells the compiler that feet is another name for int:
typedef int feet;
Now, the following declaration is perfectly legal and creates an integer variable called distance:
feet distance;
Enumerated Types
An enumerated type declares an optional type name and a set of zero or more identifiers that can be used as values of the type. Each enumerator is a constant whose type is the enumeration. Creating an enumeration requires the use of the keyword enum. The general form of an enumeration type is:
enum enum-name { list of names } var-list;
Here, the enum-name is the enumeration's type name. The list of
names is comma separated.
For example, the following code defines an enumeration of colors
called colors and the variable c of type color. Finally, c is
assigned the value "blue".
enum color { red, green, blue } c; c = blue;
By default, the value of the first name is 0, the second name has the value 1, and the third has the value 2, and so on. But you can give a name, a specific value by adding an initializer. For example, in the following enumeration, green will have the value 5.
enum color { red, green=5, blue };
Here, blue will have a value of 6 because each name will be one greater than the one that precedes it.
Defined data types (typedef)
C++ allows the definition of our own types based on other existing data types. We can do this using the keyword typedef, whose format is:
typedef existing_type new_type_name ;
where existing_type is a C++ fundamental or compound type and new_type_name is the name for the new type we are defining. For example:
typedef char C; typedef unsigned int WORD; typedef char * pChar; typedef char field [50];
In this case we have defined four data types: C, WORD, pChar and field as char, unsigned int, char* and char[50] respectively, that we could perfectly use in declarations later as any other valid type:
C mychar, anotherchar, *ptc1; WORD myword; pChar ptc2; field name;
typedef does not create different types. It only creates synonyms of
existing types. That means that the type of myword can be considered
to be either WORD or unsigned int, since both are in fact the same
type.
typedef can be useful to define an alias for a type that is
frequently used within a program. It is also useful to define types
when it is possible that we will need to change the type in later
versions of our program, or if a type you want to use has a name
that is too long or confusing.
Unions
Unions allow one same portion of memory to be accessed as different data types, since all of them are in fact the same location in memory. Its declaration and use is similar to the one of structures but its functionality is totally different:
union union_name { member_type1 member_name1; member_type2 member_name2; member_type3 member_name3; . . } object_names;
Anonymous unions
In C++ we have the option to declare anonymous unions. If we declare a union without any name, the union will be anonymous and we will be able to access its members directly by their member names. For example, look at the difference between these two structure declarations:
structure with regular union
struct { char title[50]; char author[50]; union { float dollars; int yens; } price; } book;
structure with anonymous union
struct { char title[50]; char author[50]; union { float dollars; int yens; }; } book;
The only difference between the two pieces of code is that in the first one we have given a name to the union (price) and in the second one we have not. The difference is seen when we access the members dollars and yens of an object of this type. For an object of the first type, it would be:
book.price.dollars book.price.yens
whereas for an object of the second type, it would be:
book.dollars book.yens
Enumerations (enum)
Enumerations create new data types to contain something different that is not limited to the values fundamental data types may take. Its form is the following:
enum enumeration_name { value1, value2, value3, . . } object_names;
For example, we could create a new type of variable called color to store colors with the following declaration:
enum colors_t {black, blue, green, cyan, red, purple, yellow, white};


Reduction
Types of loss reduction.
tf.compat.v2.keras.losses.Reduction
tf.compat.v2.losses.Reduction
tf.losses.Reduction
Contains the following values:
AUTO
: Indicates that the reduction option will be determined by the usage
context. For almost all cases this defaults to SUM_OVER_BATCH_SIZE
. When
used with tf.distribute.Strategy
, outside of built-in training loops such
as tf.keras
compile
and fit
, we expect reduction value to be
SUM
or NONE
. Using AUTO
in that case will raise an error.NONE
: Weighted losses with one dimension reduced (axis=-1, or axis
specified by loss function). When this reduction type used with built-in
Keras training loops like fit
/evaluate
, the unreduced vector loss is
passed to the optimizer but the reported loss will be a scalar value.SUM
: Scalar sum of weighted losses.SUM_OVER_BATCH_SIZE
: Scalar SUM
divided by number of elements in losses.
This reduction type is not supported when used with
tf.distribute.Strategy
outside of built-in training loops like tf.keras
compile
/fit
.You can implement 'SUM_OVER_BATCH_SIZE' using global batch size like:
with strategy.scope():
loss_obj = tf.keras.losses.CategoricalCrossentropy(
reduction=tf.keras.losses.Reduction.NONE)
....
loss = tf.reduce_sum(loss_object(labels, predictions)) *
(1. / global_batch_size)
Please see https://www.tensorflow.org/alpha/tutorials/distribute/training_loops for more details on this.
all
@classmethod all(cls)
validate
@classmethod validate( cls, key )


Here by a Madman this song is sung to a dismal kind of music
O, let us howl some heavy note,
Some deadly dogged howl,
Sounding as from the threatening throat
Of beasts and fatal fowl!
As ravens, screech-owls, bulls, and bears,
We ’ll bell, and bawl our parts,
Till irksome noise have cloy’d your ears
And corrosiv’d your hearts.
At last, whenas our choir wants breath,
Our bodies being blest,
We ’ll sing, like swans, to welcome death,
And die in love and rest.
FIRST MADMAN. Doom’s-day not come yet!  I cannot sleep; my pillow is stuffed with a litter of porcupines.
SECOND MADMAN.
FIRST MADMAN. I have skill in heraldry.
SECOND MADMAN. Hast?
FIRST MADMAN.
THIRD MADMAN. Greek is turned Turk: we are only to be saved by the Helvetian translation.
FIRST MADMAN. Come on, sir, I will lay the law to you.
SECOND MADMAN. O, rather lay a corrosive: the law will eat to the bone.
THIRD MADMAN. He that drinks but to satisfy nature is damn’d.
FOURTH MADMAN.
FIRST MADMAN. What ’s he? a rope-maker?
SECOND MADMAN. No, no, no, a snuffling knave that, while he shows the tombs, will have his hand in a wench’s placket.
THIRD MADMAN. Woe to the caroche that brought home my wife from the masque at three o’clock in the morning! It had a large feather-bed in it.
FOURTH MADMAN. I have pared the devil’s nails forty times, roasted them in raven’s eggs, and cured agues with them.
THIRD MADMAN. Get me three hundred milch-bats, to make possets to procure sleep.
FOURTH MADMAN. All the college may throw their caps at me: I have made a soap-boiler costive; it was my masterpiece. Here the dance, consisting of Eight Madmen, with music answerable thereunto; after which, BOSOLA, like an old man, enters.
DUCH. Is he mad too?
SERV. Pray, question him. I ’ll leave you. [Exeunt Servant and Madmen.]
BOS. I am come to make thy tomb.
DUCH. Ha! my tomb!
Thou speak’st as if I lay upon my death-bed,
Gasping for breath. Dost thou perceive me sick?
BOS. Yes, and the more dangerously, since thy sickness is insensible.
DUCH. Thou art not mad, sure: dost know me?
BOS. Yes.
DUCH. Who am I?
BOS. Thou art a box of worm-seed, at best but a salvatory of green mummy. What ’s this flesh? a little crudded milk, fantastical puff-paste. Our bodies are weaker than those paper-prisons boys use to keep flies in; more contemptible, since ours is to preserve earth-worms. Didst thou ever see a lark in a cage?
DUCH. Am not I thy duchess?
BOS. Thou art some great woman, sure, for riot begins to sit on thy forehead (clad in gray hairs) twenty years sooner than on a merry milk-maid’s.
DUCH. I am Duchess of Malfi still.
BOS. That makes thy sleep so broken:
Glories, like glow-worms, afar off shine bright,
But, look’d to near, have neither heat nor light.
DUCH. Thou art very plain.
BOS. My trade is to flatter the dead, not the living; I am a tomb-maker.
DUCH. And thou comest to make my tomb?
BOS. Yes.
DUCH. Let me be a little merry:—of what stuff wilt thou make it?
BOS. Nay, resolve me first, of what fashion?
DUCH. Why, do we grow fantastical on our deathbed? Do we affect fashion in the grave?
BOS. Most ambitiously. Princes’ images on their tombs do not lie, as they were wont, seeming to pray up to heaven; but with their hands under their cheeks, as if they died of the tooth-ache. They are not carved with their eyes fix’d upon the stars, but as their minds were wholly bent upon the world, the selfsame way they seem to turn their faces.
DUCH. Let me know fully therefore the effect
Of this thy dismal preparation,
This talk fit for a charnel.
BOS. Now I shall:—
Here is a present from your princely brothers;
And may it arrive welcome, for it brings
Last benefit, last sorrow.
DUCH. Let me see it:
I have so much obedience in my blood,
I wish it in their veins to do them good.
BOS. This is your last presence-chamber.
CARI. O my sweet lady!
DUCH. Peace; it affrights not me.
BOS. I am the common bellman
That usually is sent to condemn’d persons
The night before they suffer.
DUCH. Even now thou said’st
Thou wast a tomb-maker.
BOS. ’Twas to bring you
By degrees to mortification. Listen.
Hark, now everything is still,CARI. Hence, villains, tyrants, murderers! Alas!
The screech-owl and the whistler shrill
Call upon our dame aloud,
And bid her quickly don her shroud!

Of what is ’t fools make such vain keeping?
Sin their conception, their birth weeping,
Their life a general mist of error,
Their death a hideous storm of terror.

’Tis now full tide ’tween night and day;
End your groan, and come away.

CARI. O, you are damn’d
Perpetually for this! My turn is next;
Is ’t not so ordered?
BOS. Yes, and I am glad
You are so well prepar’d for ’t.
CARI. You are deceiv’d, sir,
I am not prepar’d for ’t, I will not die;
I will first come to my answer, and know
How I have offended.
BOS. Come despatch her.—
You kept her counsel; now you shall keep ours.
CARI. I will not die, I must not; I am contracted
To a young gentleman.
FIRST EXECUT. Here ’s your wedding-ring.
CARI. Let me but speak with the duke. I ’ll discover
Treason to his person.
BOS. Delays:—throttle her.
FIRST EXECUT. She bites and scratches.
CARI.
BOS. [To EXECUTIONERS.] When?
CARI. I am quick with child.
BOS. Why, then,
Your credit ’s saved. [Executioners strangle CARIOLA.]
Bear her into the next room;
Let these lie still. [Exeunt the Executioners with the body of CARIOLA.]
FERD. Is she dead?
BOS. She is what
You’d have her. But here begin your pity: Shows the Children strangled.
Alas, how have these offended?
FERD. The death
Of young wolves is never to be pitied.
BOS. Fix your eye here.
FERD. Constantly.
BOS. Do you not weep?
Other sins only speak; murder shrieks out.
The element of water moistens the earth,
But blood flies upwards and bedews the heavens.
FERD. Cover her face; mine eyes dazzle: she died young.
BOS. I think not so; her infelicity
Seem’d to have years too many.
FERD.
BOS. It seems she was born first:
You have bloodily approv’d the ancient truth,
That kindred commonly do worse agree
Than remote strangers.
FERD. Let me see her face
Again. Why didst thou not pity her? What
An excellent honest man mightst thou have been,
If thou hadst borne her to some sanctuary!
Or, bold in a good cause, oppos’d thyself,
With thy advanced sword above thy head,
Between her innocence and my revenge!

For let me but examine well the cause:
What was the meanness of her match to me?
Only I must confess I had a hope,
Had she continu’d widow, to have gain’d
An infinite mass of treasure by her death:
And that was the main cause,—her marriage,
That drew a stream of gall quite through my heart.
For thee, as we observe in tragedies
That a good actor many times is curs’d
For playing a villain’s part, I hate thee for ’t,
And, for my sake, say, thou hast done much ill well.
BOS. Let me quicken your memory, for I perceive
You are falling into ingratitude: I challenge
The reward due to my service.
FERD. I ’ll tell thee
What I ’ll give thee.
BOS. Do.
FERD. I ’ll give thee a pardon
For this murder.
BOS. Ha!
FERD. Yes, and ’tis
The largest bounty I can study to do thee.

BOS. By yours.
FERD. Mine! was I her judge?
Did any ceremonial form of law
Doom her to not-being? Did a complete jury
Deliver her conviction up i’ the court?
Where shalt thou find this judgment register’d,
Unless in hell?  The office of justice is perverted quite
When one thief hangs another. Who shall dare
To reveal this?
FERD. O, I ’ll tell thee;
The wolf shall find her grave, and scrape it up,
Not to devour the corpse, but to discover
The horrid murder.
BOS. You, not I, shall quake for ’t.
FERD. Leave me.
BOS. I will first receive my pension.
FERD.
BOS. When your ingratitude
Is judge, I am so.
FERD. O horror,
That not the fear of him which binds the devils
Can prescribe man obedience!—
Never look upon me more.
BOS. Why, fare thee well.
Your brother and yourself are worthy men!
You have a pair of hearts are hollow graves,
Rotten, and rotting others; and your vengeance,
Like two chain’d-bullets, still goes arm in arm:
You may be brothers; for treason, like the plague,
Doth take much in a blood.  Let me know
Wherefore I should be thus neglected. Sir,
I serv’d your tyranny, and rather strove
To satisfy yourself than all the world:
And though I loath’d the evil, yet I lov’d
You that did counsel it; and rather sought
To appear a true servant than an honest man.
FERD. I ’ll go hunt the badger by owl-light:
’Tis a deed of darkness. Exit.
BOS. He ’s much distracted. Off, my painted honour!
While with vain hopes our faculties we tire,
We seem to sweat in ice and freeze in fire.
What would I do, were this to do again?
I would not change my peace of conscience
For all the wealth of Europe.—She stirs; here ’s life:—
Return, fair soul, from darkness, and lead mine
Out of this sensible hell:—she ’s warm, she breathes:—
Upon thy pale lips I will melt my heart,
To store them with fresh colour.—Who ’s there?
Some cordial drink!—Alas! I dare not call:
So pity would destroy pity.—Her eye opes,
And heaven in it seems to ope, that late was shut,
To take me up to mercy.
DUCH. Antonio!
BOS. Yes, madam, he is living;
The dead bodies you saw were but feign’d statues.
He ’s reconcil’d to your brothers; the Pope hath wrought
The atonement.
DUCH. Mercy! Dies.
BOS. O, she ’s gone again! there the cords of life broke.
 That we cannot be suffer’d
To do good when we have a mind to it!
This is manly sorrow;
These tears, I am very certain, never grew
In my mother’s milk. My estate is sunk
Below the degree of fear: where were
These penitent fountains while she was living?
O, they were frozen up! Here is a sight
As direful to my soul as is the sword
Unto a wretch hath slain his father.
Come, I ’ll bear thee hence,
And execute thy last will: that ’s deliver
Thy body to the reverend dispose
Of some good women: that the cruel tyrant
Shall not deny me. Then I ’ll post to Milan,
Where somewhat I will speedily enact
Worth my dejection. Exit [with the body].
ANT. What think you of my hope of reconcilement
To the Arragonian brethren?
DELIO. I misdoubt it;
For though they have sent their letters of safe-conduct
For your repair to Milan, they appear
But nets to entrap you. The Marquis of Pescara,
Under whom you hold certain land in cheat,
Much ’gainst his noble nature hath been mov’d
To seize those lands; and some of his dependants
Are at this instant making it their suit
To be invested in your revenues.
I cannot think they mean well to your life
That do deprive you of your means of life,
Your living.
ANT. You are still an heretic
To any safety I can shape myself.
DELIO. Here comes the marquis: I will make myself
Petitioner for some part of your land,
To know whither it is flying.
ANT. I pray, do. [Withdraws.]
DELIO. Sir, I have a suit to you.
PES. To me?
DELIO. An easy one:
There is the Citadel of Saint Bennet,
With some demesnes, of late in the possession
Of Antonio Bologna,—please you bestow them on me.
PES. You are my friend; but this is such a suit,
Nor fit for me to give, nor you to take.
DELIO. No, sir?
PES. I will give you ample reason for ’t
Soon in private:—here ’s the cardinal’s mistress.
JULIA.  [Gives a letter.]
PES. He entreats for you
The Citadel of Saint Bennet, that belong’d
To the banish’d Bologna.
JULIA. Yes.
PES. I could not have thought of a friend I could rather
Pleasure with it: ’tis yours.
JULIA. Sir, I thank you;
And he shall know how doubly I am engag’d
Both in your gift, and speediness of giving
Which makes your grant the greater. Exit.
ANT. How they fortify
Themselves with my ruin!
DELIO. Sir, I am
Little bound to you.
PES. Why?
Delio. Because you deni’d this suit to me, and gave ’t
To such a creature.
PES. Do you know what it was?
It was Antonio’s land; not forfeited
By course of law, but ravish’d from his throat
By the cardinal’s entreaty. It were not fit
I should bestow so main a piece of wrong
Upon my friend; ’tis a gratification
Only due to a strumpet, for it is injustice.
Shall I sprinkle the pure blood of innocents
To make those followers I call my friends
Look ruddier upon me? I am glad
This land, ta’en from the owner by such wrong,
Returns again unto so foul an use
As salary for his lust. Learn, good Delio,
To ask noble things of me, and you shall find
I ’ll be a noble giver.
DELIO. You instruct me well.
ANT. Why, here ’s a man now would fright impudence
From sauciest beggars.
PES. Prince Ferdinand ’s come to Milan,
Sick, as they give out, of an apoplexy;
But some say ’tis a frenzy: I am going
To visit him. Exit.
ANT. ’Tis a noble old fellow.
DELIO. What course do you mean to take, Antonio?
ANT. This night I mean to venture all my fortune,
Which is no more than a poor ling’ring life,
To the cardinal’s worst of malice. I have got
Private access to his chamber; and intend
To visit him about the mid of night,
As once his brother did our noble duchess.
It may be that the sudden apprehension
Of danger,—for I ’ll go in mine own shape,—
When he shall see it fraight with love and duty,
May draw the poison out of him, and work
A friendly reconcilement. If it fail,
Yet it shall rid me of this infamous calling;
For better fall once than be ever falling.
DELIO. I ’ll second you in all danger; and howe’er,
My life keeps rank with yours.
ANT. You are still my lov’d and best friend. Exeunt.
PES. Now, doctor, may I visit your patient?
DOC. If ’t please your lordship; but he ’s instantly
To take the air here in the gallery
By my direction.
PES. Pray thee, what ’s his disease?
DOC. A very pestilent disease, my lord,
They call lycanthropia.
PES. What ’s that?
I need a dictionary to ’t.
DOC. I ’ll tell you.
In those that are possess’d with ’t there o’erflows
Such melancholy humour they imagine
Themselves to be transformed into wolves;
Steal forth to church-yards in the dead of night,
And dig dead bodies up: as two nights since
One met the duke ’bout midnight in a lane
Behind Saint Mark’s church, with the leg of a man
Upon his shoulder; and he howl’d fearfully;
Said he was a wolf, only the difference
Was, a wolf’s skin was hairy on the outside,
His on the inside; bade them take their swords,
Rip up his flesh, and try. Straight I was sent for,
And, having minister’d to him, found his grace
Very well recover’d.
PES. I am glad on ’t.
DOC. Yet not without some fear
Of a relapse. If he grow to his fit again,
I ’ll go a nearer way to work with him
Than ever Paracelsus dream’d of; if
They ’ll give me leave, I ’ll buffet his madness out of him.
Stand aside; he comes.
FERD. Leave me.
MAL. Why doth your lordship love this solitariness?
FERD. Eagles commonly fly alone: they are crows, daws, and starlings that flock together. Look, what ’s that follows me?
MAL. Nothing, my lord.
FERD. Yes.
MAL. ’Tis your shadow.
FERD. Stay it; let it not haunt me.
MAL. Impossible, if you move, and the sun shine.
FERD. I will throttle it. [Throws himself down on his shadow.]
MAL.
FERD.
PES. Rise, good my lord.
FERD. I am studying the art of patience.
PES. ’Tis a noble virtue.
FERD. To drive six snails before me from this town to Moscow; neither use goad nor whip to them, but let them take their own time;—the patient’st man i’ th’ world match me for an experiment:—an I ’ll crawl after like a sheep-biter.
CARD. Force him up. [They raise him.]
FERD. Use me well, you were best. What I have done, I have done: I ’ll confess nothing.
DOC.
FERD. What ’s he?
PES. Your doctor.
FERD.
DOC. I must do mad tricks with him, for that ’s the only way on ’t.—I have brought your grace a salamander’s skin to keep you from sun-burning.
FERD. I have cruel sore eyes.
DOC. The white of a cockatrix’s egg is present remedy.
FERD. Let it be a new-laid one, you were best.
Hide me from him: physicians are like kings,—
They brook no contradiction.
DOC. Now he begins to fear me: now let me alone with him.
CARD.
DOC. Let me have some forty urinals filled with rosewater: he and I ’ll go pelt one another with them.—Now he begins to fear me.—Can you fetch a frisk, sir?—Let him go, let him go, upon my peril: I find by his eye he stands in awe of me; I ’ll make him as tame as a dormouse.
FERD. Can you fetch your frisks, sir!—I will stamp him into a cullis, flay off his skin to cover one of the anatomies this rogue hath set i’ th’ cold yonder in Barber-Chirurgeon’s-hall.—Hence, hence! you are all of you like beasts for sacrifice. [Throws the DOCTOR down and beats him.] There ’s nothing left of you but tongue and belly, flattery and lechery. [Exit.]
PES. Doctor, he did not fear you thoroughly.
DOC. True; I was somewhat too forward.
BOS. Mercy upon me, what a fatal judgment
Hath fall’n upon this Ferdinand!
PES. Knows your grace
What accident hath brought unto the prince
This strange distraction?
CARD. [aside.] I must feign somewhat.—Thus they say it grew.
You have heard it rumour’d, for these many years
None of our family dies but there is seen
The shape of an old woman, which is given
By tradition to us to have been murder’d
By her nephews for her riches. Such a figure
One night, as the prince sat up late at ’s book,
Appear’d to him; when crying out for help,
The gentleman of ’s chamber found his grace
All on a cold sweat, alter’d much in face
And language: since which apparition,
He hath grown worse and worse, and I much fear
He cannot live.
BOS. Sir, I would speak with you.
PES. We ’ll leave your grace,
Wishing to the sick prince, our noble lord,
All health of mind and body.
CARD. You are most welcome. [Exeunt PESCARA, MALATESTI, and DOCTOR.]
Are you come? so.—[Aside.] This fellow must not know
By any means I had intelligence
In our duchess’ death; for, though I counsell’d it,
The full of all th’ engagement seem’d to grow
From Ferdinand.—Now, sir, how fares our sister?
I do not think but sorrow makes her look
Like to an oft-dy’d garment: she shall now
Take comfort from me. Why do you look so wildly?
O, the fortune of your master here the prince
Dejects you; but be you of happy comfort:
If you ’ll do one thing for me I ’ll entreat,
Though he had a cold tomb-stone o’er his bones,
I ’d make you what you would be.
BOS. Any thing;
Give it me in a breath, and let me fly to ’t.
They that think long small expedition win,
For musing much o’ th’ end cannot begin.


This post documents and encapsulates the clearance process for IDC, IIT Bombay. Hope this could reduce hassles till things go completely digital. Dedicated to the coming batches. The guide was written as an IDC student in interaction design discipline.
I have tried to document the informal processes that often create confusion. There is a sort of a delight you get when you get past a patch of cloudy information and when you look back, its crystal clear. Hence, one should always try to document such processes so that human race does not spend more time that one human has already spent. Neglecting the superfluous grandeur, I often imagine myself like a miner on a night shift who is underground in the tunnels. One can either temporarily secure the tunnel and take the minerals or secure it permanently so the next miner can “further” the understanding of the mine. I advise choosing the later. It makes one a “responsible” miner.
The IDC clearance process may seem very hard, it is tough emotionally, but it is procedurally very straightforward. The way, I optimized it was by making a dependency map that helped me prioritize things. Dependency Map basically helps in identifying what is the relationship between various parameters like previous steps signatures, availability of staff and then come up with a sequence that minimizes redundancy of action. It is like a fishbone chart. Let us get started with your clearance.
Part 1: Pre Jury thesis submission (skip if already done)
Things required: Thesis Submission form from the office, Hostel Clearance, No Dues from Accounts Section
Hostel Clearance - Ask the warden for no dues till that date. Pay via UPI on spot, email screen shot and get the signatures. You get an A5 sheet to attach with the form, or the warden may sign on the form.
Accounts: Write your name on a register in the Accounts section. It is in the main building. Take the stairs from the Nescafe side. It takes a day to process the slip. So, get it done in advance. Attach both the above with the Thesis form and get necessary signatures. Submit to the office with two copies of the report.
Part 2: Post Jury Clearance
Welcome to your P4, as it is said. With the paucity of time and this form in your hand, things might seem sad. But do not worry. This is the central goal of this post. The key is to prioritize and work on parallel independent parts.
The steps are :
1.Collect a form from the office on time. Our office staff is very helpful. The form has three sections:
Fill in all the details you know. Things people leave out are Guide names, Thesis titles and their names on all sheets. There is a misspelt “Certificate from the Acdemic section” on both P2 and P3 forms, and a No Dues from estate Office. They are usually not required.
2.In Parallel, start the process to submit the Convocation and Alumni Forms. Their details are as follows: Convocation form :
Alumni Form:
The above two things can be done in parallel with the remaining process.
3.Thesis Mega Loop
This is the craziest part of the P4. The majority of the signatures that are in the form and are difficult to get are related to the thesis. The reports should have an abstract and follow the guidelines here. Make sure you have the following in your report :
When you get guide signature on report get signatures on Frontpage in P2, P3 columns and Respective P2 and P3 pages. Let’s start with central library submissions :
Now, print the abstract page and get guide signatures. Collect the uploaded P2 report and P3 report in a USB stick along with DRS report, P2 presentation, and P3 presentation. All should be in pdf format.
Submit the five files to the IDC Library. Mohan sir may sign on item 1 (front page) and section 2.0 (page 2). Depending on the time of the day, you may get studio signatures or go to the central library. I assume you go to the Central Library. Arrive at the ETD office behind the reference section on the ground floor. Present the form with signed abstract sheets to the staff there. They will check the report format and stamp the P2 and P3 pages. In case, there is an issue with formatting, carry a laptop to make changes there itself.
ProTip: Do not make reports in google docs. You apparently cannot number pages in the way library demands. Use LaTeX, InDesign or Scribus.
Now that completes the Thesis Mega Loop. Before exiting the library, get the signatures and stamp of staff on the library no dues section ( last page). PS: The central library has alumni membership plans too.
4.Workshop Hopper
The workshop staff is really kind to be available all the time during clearance days. Start with Mawade Sir in Paint studio, then Santosh Sir in Ceramics, Kini Sir in Plastic, Samarth Sir in Wood and Navale Sir in Metal. Patil Sir signs for laser cutting studio, Clay studio (for all students except MVD), and workshop in charge.
Progressing to the first floor, Kuldeep or Chakku sir sign for the sound studio, Divekar sir signs partly for Photo studio, the other part Mazhar sir signs. Now, on the second floor. Dhanashree Ma’am signs for Ergo Lab, seated in the same space, Prof. Sugandh will sign for CAID Lab. Finally, Prof. Purba signs for CNC and Cintiq studios.
5.Home Run
The only sections that remain are associated with Hostel, Faculty Co-ordinator, and IDC Office. For Hostel 13, you will need the pink form from the warden. Pay the amount you are asked (using UPI) and then get the signatures done on the form. Technically, you should vacate rooms by 30th, but in case of extensions, you may be excused for a few days by producing a letter from the office.
6.The Finisher
Approach the faculty coordinator for your discipline. She/He will verify the details and sign on the front page and section 1.0 of page 2. Now submit the form in IDC office.

CAUTION: The process mentioned above was prevalent in the year 2018. The article was written with whatever knowledge I could gather during my clearance process. Things may change for good.
Cheers,
Rohit


What are the benefits of version control?
The benefits of using version control are numerous. Version Control Systems allow multiple people to manage and share files. It allows developers to archive versions. It Maintains historical information to compare versions, and Enables collaboration.
How does git help you keep track of changes?
Git is an open-source version control system that allows developers to track changes made on their code files throughout the lifetime of a project. Git was created by Linus Torvalds, the creator of Linux who wanted a better way to track changes in software development. Git helps you to track changes with 3 stages: Committed, Modified, and Staged.
Why use GitHub to store your code?
Using GitHub to store code is very helpful because GitHub conveniently functions as a Version Control Software in the Cloud. Files can be direcly collaborated on in real time by multiple users.