12 September.--How good they all are to me. I quite love that dear Dr. Van Helsing. I wonder why he was so anxious about these flowers. He positively frightened me, he was so fierce. And yet he must have been right, for I feel comfort from them already. Somehow, I do not dread being alone tonight, and I can go to sleep without fear. I shall not mind any flapping outside the window. Oh, the terrible struggle that I have had against sleep so often of late, the pain of sleeplessness, or the pain of the fear of sleep, and with such unknown horrors as it has for me!  Well, here I am tonight, hoping for sleep, and lying like Ophelia in the play, with 'virgin crants and maiden strewments.' I never liked garlic before, but tonight it is delightful! There is peace in its smell. I feel sleep coming already. Goodnight, everybody.
DR. SEWARD'S DIARY
13 September.--Called at the Berkeley and found Van Helsing, as usual, up to time. The carriage ordered from the hotel was waiting. The Professor took his bag, which he always brings with him now.
Let all be put down exactly. Van Helsing and I arrived at Hillingham at eight o'clock. It was a lovely morning. The bright sunshine and all the fresh feeling of early autumn seemed like the completion of nature's annual work. The leaves were turning to all kinds of beautiful colours, but had not yet begun to drop from the trees. When we entered we met Mrs. Westenra coming out of the morning room. She is always an early riser. She greeted us warmly and said,
"You will be glad to know that Lucy is better. The dear child is still asleep. I looked into her room and saw her, but did not go in, lest I should disturb her." The Professor smiled, and looked quite jubilant. He rubbed his hands together, and said, "Aha! I thought I had diagnosed the case. My treatment is working."
To which she replied, "You must not take all the credit to yourself, doctor. Lucy's state this morning is due in part to me."
"How do you mean, ma'am?" asked the Professor.
"Well, I was anxious about the dear child in the night, and went into her room. She was sleeping soundly, so soundly that even my coming did not wake her. But the room was awfully stuffy.  I feared that the heavy odour would be too much for the dear child in her weak state, so I took them all away and opened a bit of the window to let in a little fresh air. You will be pleased with her, I am sure."
She moved off into her boudoir, where she usually breakfasted early. As she had spoken, I watched the Professor's face, and saw it turn ashen gray. He had been able to retain his self-command whilst the poor lady was present, for he knew her state and how mischievous a shock would be. He actually smiled on her as he held open the door for her to pass into her room. But the instant she had disappeared he pulled me, suddenly and forcibly, into the dining room and closed the door.
Then, for the first time in my life, I saw Van Helsing break down. He raised his hands over his head in a sort of mute despair, and then beat his palms together in a helpless way. Finally he sat down on a chair, and putting his hands before his face, began to sob, with loud, dry sobs that seemed to come from the very racking of his heart.
Then he raised his arms again, as though appealing to the whole universe. "God! God! God!" he said. "What have we done, what has this poor thing done, that we are so sore beset? Is there fate amongst us still, send down from the pagan world of old, that such things must be, and in such way? This poor mother, all unknowing, and all for the best as she think, does such thing as lose her daughter body and soul, and we must not tell her, we must not even warn her, or she die, then both die. Oh, how we are beset! How are all the powers of the devils against us!"
Suddenly he jumped to his feet. "Come," he said, "come, we must see and act. Devils or no devils, or all the devils at once, it matters not. We must fight him all the same." He went to the hall door for his bag, and together we went up to Lucy's room.
Once again I drew up the blind, whilst Van Helsing went towards the bed. This time he did not start as he looked on the poor face with the same awful, waxen pallor as before. He wore a look of stern sadness and infinite pity.
"As I expected," he murmured, with that hissing inspiration of his which meant so much. Without a word he went and locked the door, and then began to set out on the little table the instruments for yet another operation of transfusion of blood. I had long ago recognized the necessity, and begun to take off my coat, but he stopped me with a warning hand. "No!" he said. "Today you must operate. I shall provide. You are weakened already." As he spoke he took off his coat and rolled up his shirtsleeve.
Again the operation. Again the narcotic. Again some return of colour to the ashy cheeks, and the regular breathing of healthy sleep. This time I watched whilst Van Helsing recruited himself and rested.
Presently he took an opportunity of telling Mrs. Westenra that she must not remove anything from Lucy's room without consulting him. That the flowers were of medicinal value, and that the breathing of their odour was a part of the system of cure. Then he took over the care of the case himself, saying that he would watch this night and the next, and would send me word when to come.
After another hour Lucy waked from her sleep, fresh and bright and seemingly not much the worse for her terrible ordeal.
What does it all mean? I am beginning to wonder if my long habit of life amongst the insane is beginning to tell upon my own brain.
LUCY WESTENRA'S DIARY
17 September.--Four days and nights of peace. I am getting so strong again that I hardly know myself. It is as if I had passed through some long nightmare, and had just awakened to see the beautiful sunshine and feel the fresh air of the morning around me. I have a dim half remembrance of long, anxious times of waiting and fearing, darkness in which there was not even the pain of hope to make present distress more poignant. And then long spells of oblivion, and the rising back to life as a diver coming up through a great press of water. Since, however, Dr. Van Helsing has been with me, all this bad dreaming seems to have passed away. The noises that used to frighten me out of my wits, the flapping against the windows, the distant voices which seemed so close to me, the harsh sounds that came from I know not where and commanded me to do I know not what, have all ceased. I go to bed now without any fear of sleep. I do not even try to keep awake. I have grown quite fond of the garlic, and a boxful arrives for me every day from Haarlem. Tonight Dr. Van Helsing is going away, as he has to be for a day in Amsterdam. But I need not be watched. I am well enough to be left alone.
Thank God for Mother's sake, and dear Arthur's, and for all our friends who have been so kind! I shall not even feel the change, for last night Dr. Van Helsing slept in his chair a lot of the time. I found him asleep twice when I awoke. But I did not fear to go to sleep again, although the boughs or bats or something flapped almost angrily against the window panes.
THE PALL MALL GAZETTE 18 September.
THE ESCAPED WOLF PERILOUS ADVENTURE OF OUR INTERVIEWER
INTERVIEW WITH THE KEEPER IN THE ZOOLOGICAL GARDENS
After many inquiries and almost as many refusals, and perpetually using the words 'PALL MALL GAZETTE' as a sort of talisman, I managed to find the keeper of the section of the Zoological Gardens in which the wolf department is included. Thomas Bilder lives in one of the cottages in the enclosure behind the elephant house, and was just sitting down to his tea when I found him. Thomas and his wife are hospitable folk, elderly, and without children, and if the specimen I enjoyed of their hospitality be of the average kind, their lives must be pretty comfortable. The keeper would not enter on what he called business until the supper was over, and we were all satisfied. Then when the table was cleared, and he had lit his pipe, he said,
"Now, Sir, you can go on and arsk me what you want. You'll excoose me refoosin' to talk of perfeshunal subjucts afore meals. I gives the wolves and the jackals and the hyenas in all our section their tea afore I begins to arsk them questions."
"How do you mean, ask them questions?" I queried, wishful to get him into a talkative humor.
"'Ittin' of them over the 'ead with a pole is one way. Scratchin' of their ears in another, when gents as is flush wants a bit of a show-orf to their gals. I don't so much mind the fust, the 'ittin of the pole part afore I chucks in their dinner, but I waits till they've 'ad their sherry and kawffee, so to speak, afore I tries on with the ear scratchin'. Mind you," he added philosophically, "there's a deal of the same nature in us as in them theer animiles. Here's you a-comin' and arskin' of me questions about my business, and I that grump-like that only for your bloomin' 'arf-quid I'd 'a' seen you blowed fust 'fore I'd answer. Not even when you arsked me sarcastic like if I'd like you to arsk the Superintendent if you might arsk me questions. Without offence did I tell yer to go to 'ell?"
"You did."
"An' when you said you'd report me for usin' obscene language that was 'ittin' me over the 'ead. But the 'arf-quid made that all right. I weren't a-goin' to fight, so I waited for the food, and did with my 'owl as the wolves and lions and tigers does. But, lor' love yer 'art, now that the old 'ooman has stuck a chunk of her tea-cake in me, an' rinsed me out with her bloomin' old teapot, and I've lit hup, you may scratch my ears for all you're worth, and won't even get a growl out of me. Drive along with your questions. I know what yer a-comin' at, that 'ere escaped wolf."
"Exactly. I want you to give me your view of it. Just tell me how it happened, and when I know the facts I'll get you to say what you consider was the cause of it, and how you think the whole affair will end."
"All right, guv'nor. This 'ere is about the 'ole story. That 'ere wolf what we called Bersicker was one of three gray ones that came from Norway to Jamrach's, which we bought off him four years ago. He was a nice well-behaved wolf, that never gave no trouble to talk of. I'm more surprised at 'im for wantin' to get out nor any other animile in the place. But, there, you can't trust wolves no more nor women."
"Don't you mind him, Sir!" broke in Mrs. Tom, with a cheery laugh. "'E's got mindin' the animiles so long that blest if he ain't like a old wolf 'isself! But there ain't no 'arm in 'im."
"Well, Sir, it was about two hours after feedin' yesterday when I first hear my disturbance. I was makin' up a litter in the monkey house for a young puma which is ill. But when I heard the yelpin' and 'owlin' I kem away straight. There was Bersicker a-tearin' like a mad thing at the bars as if he wanted to get out. There wasn't much people about that day, and close at hand was only one man, a tall, thin chap, with a 'ook nose and a pointed beard, with a few white hairs runnin' through it. He had a 'ard, cold look and red eyes, and I took a sort of mislike to him, for it seemed as if it was 'im as they was hirritated at. He 'ad white kid gloves on 'is 'ands, and he pointed out the animiles to me and says, 'Keeper, these wolves seem upset at something.'
"'Maybe it's you,' says I, for I did not like the airs as he give 'isself. He didn't get angry, as I 'oped he would, but he smiled a kind of insolent smile, with a mouth full of white, sharp teeth. 'Oh no, they wouldn't like me,' 'e says.
"'Ow yes, they would,' says I, a-imitatin' of him. 'They always like a bone or two to clean their teeth on about tea time, which you 'as a bagful.'
"Well, it was a odd thing, but when the animiles see us a-talkin' they lay down, and when I went over to Bersicker he let me stroke his ears same as ever. That there man kem over, and blessed but if he didn't put in his hand and stroke the old wolf's ears too!
"'Tyke care,' says I. 'Bersicker is quick.'
"'Never mind,' he says. I'm used to 'em!'
"'Are you in the business yourself?' I says, tyking off my 'at, for a man what trades in wolves, anceterer, is a good friend to keepers.
"'Nom,' says he, 'not exactly in the business, but I 'ave made pets of several.' And with that he lifts his 'at as perlite as a lord, and walks away. Old Bersicker kep' a-lookin' arter 'im till 'e was out of sight, and then went and lay down in a corner and wouldn't come hout the 'ole hevening. Well, larst night, so soon as the moon was hup, the wolves here all began a-'owling. There warn't nothing for them to 'owl at.  Once or twice I went out to see that all was right, and it was, and then the 'owling stopped. Just before twelve o'clock I just took a look round afore turnin' in, an', bust me, but when I kem opposite to old Bersicker's cage I see the rails broken and twisted about and the cage empty. And that's all I know for certing."
"Did any one else see anything?"
"One of our gard'ners was a-comin' 'ome about that time from a 'armony, when he sees a big gray dog comin' out through the garding 'edges. At least, so he says, but I don't give much for it myself, for if he did 'e never said a word about it to his missis when 'e got 'ome, and it was only after the escape of the wolf was made known, and we had been up all night a-huntin' of the Park for Bersicker, that he remembered seein' anything. My own belief was that the 'armony 'ad got into his 'ead."
"Now, Mr. Bilder, can you account in any way for the escape of the wolf?"
"Well, Sir," he said, with a suspicious sort of modesty, "I think I can, but I don't know as 'ow you'd be satisfied with the theory."
"Certainly I shall. If a man like you, who knows the animals from experience, can't hazard a good guess at any rate, who is even to try?"
"Well then, Sir, I accounts for it this way. It seems to me that 'ere wolf escaped--simply because he wanted to get out."
From the hearty way that both Thomas and his wife laughed at the joke I could see that it had done service before, and that the whole explanation was simply an elaborate sell. I couldn't cope in badinage with the worthy Thomas, but I thought I knew a surer way to his heart, so I said, "Now, Mr. Bilder, we'll consider that first half-sovereign worked off, and this brother of his is waiting to be claimed when you've told me what you think will happen."
"Right y'are, Sir," he said briskly. "Ye'll excoose me, I know, for a-chaffin' of ye, but the old woman here winked at me, which was as much as telling me to go on."
"Well, I never!" said the old lady.
"My opinion is this: that 'ere wolf is a'idin' of, somewheres. The gard'ner wot didn't remember said he was a-gallopin' northward faster than a horse could go, but I don't believe him, for, yer see, Sir, wolves don't gallop no more nor dogs does, they not bein' built that way. Wolves is fine things in a storybook, and I dessay when they gets in packs and does be chivyin' somethin' that's more afeared than they is they can make a devil of a noise and chop it up, whatever it is. But, Lor' bless you, in real life a wolf is only a low creature, not half so clever or bold as a good dog, and not half a quarter so much fight in 'im. This one ain't been used to fightin' or even to providin' for hisself, and more like he's somewhere round the Park a'hidin' an' a'shiverin' of, and if he thinks at all, wonderin' where he is to get his breakfast from. Or maybe he's got down some area and is in a coal cellar. My eye, won't some cook get a rum start when she sees his green eyes a-shinin' at her out of the dark! If he can't get food he's bound to look for it, and mayhap he may chance to light on a butcher's shop in time. If he doesn't, and some nursemaid goes out walkin' or orf with a soldier, leavin' of the hinfant in the perambulator--well, then I shouldn't be surprised if the census is one babby the less. That's all."
I was handing him the half-sovereign, when something came bobbing up against the window, and Mr. Bilder's face doubled its natural length with surprise.
"God bless me!" he said. "If there ain't old Bersicker come back by 'isself!"
He went to the door and opened it, a most unnecessary proceeding it seemed to me. I have always thought that a wild animal never looks so well as when some obstacle of pronounced durability is between us. A personal experience has intensified rather than diminished that idea.
After all, however, there is nothing like custom, for neither Bilder nor his wife thought any more of the wolf than I should of a dog. The animal itself was a peaceful and well-behaved as that father of all picture-wolves, Red Riding Hood's quondam friend, whilst moving her confidence in masquerade.
The whole scene was a unutterable mixture of comedy and pathos. The wicked wolf that for a half a day had paralyzed London and set all the children in town shivering in their shoes, was there in a sort of penitent mood, and was received and petted like a sort of vulpine prodigal son. Old Bilder examined him all over with most tender solicitude, and when he had finished with his penitent said,
"There, I knew the poor old chap would get into some kind of trouble.   'E's been a-gettin' over some bloomin' wall or other. It's a shyme that people are allowed to top their walls with broken bottles. This 'ere's what comes of it. Come along, Bersicker."
He took the wolf and locked him up in a cage, with a piece of meat that satisfied, in quantity at any rate, the elementary conditions of the fatted calf, and went off to report.
I came off too, to report the only exclusive information that is given today regarding the strange escapade at the Zoo.
DR. SEWARD'S DIARY
17 September.--I was engaged after dinner in my study posting up my books, which, through press of other work and the many visits to Lucy, had fallen sadly into arrear. Suddenly the door was burst open, and in rushed my patient, with his face distorted with passion. I was thunderstruck, for such a thing as a patient getting of his own accord into the Superintendent's study is almost unknown.
Without an instant's notice he made straight at me. He had a dinner knife in his hand, and as I saw he was dangerous, I tried to keep the table between us. He was too quick and too strong for me, however, for before I could get my balance he had struck at me and cut my left wrist rather severely.
Before he could strike again, however, I got in my right hand and he was sprawling on his back on the floor. My wrist bled freely, and quite a little pool trickled on to the carpet. I saw that my friend was not intent on further effort, and occupied myself binding up my wrist, keeping a wary eye on the prostrate figure all the time. When the attendants rushed in, and we turned our attention to him, his employment positively sickened me. He was lying on his belly on the floor licking up, like a dog, the blood which had fallen from my wounded wrist. He was easily secured, and to my surprise, went with the attendants quite placidly, simply repeating over and over again, "The blood is the life! The blood is the life!"
I cannot afford to lose blood just at present. I have lost too much of late for my physical good, and then the prolonged strain of Lucy's illness and its horrible phases is telling on me. I am over excited and weary, and I need rest, rest, rest. Happily Van Helsing has not summoned me, so I need not forego my sleep. Tonight I could not well do without it.
TELEGRAM, VAN HELSING, ANTWERP, TO SEWARD, CARFAX
(Sent to Carfax, Sussex, as no county given, delivered late by twenty-two hours.)
17 September.--Do not fail to be at Hilllingham tonight. If not watching all the time, frequently visit and see that flowers are as placed, very important, do not fail. Shall be with you as soon as possible after arrival.
DR. SEWARD'S DIARY
18 September.--Just off train to London. The arrival of Van Helsing's telegram filled me with dismay. A whole night lost, and I know by bitter experience what may happen in a night. Of course it is possible that all may be well, but what may have happened? Surely there is some horrible doom hanging over us that every possible accident should thwart us in all we try to do. I shall take this cylinder with me, and then I can complete my entry on Lucy's phonograph.
MEMORANDUM LEFT BY LUCY WESTENRA
17 September, Night.--I write this and leave it to be seen, so that no one may by any chance get into trouble through me. This is an exact record of what took place tonight. I feel I am dying of weakness, and have barely strength to write, but it must be done if I die in the doing.
I went to bed as usual, taking care that the flowers were placed as Dr. Van Helsing directed, and soon fell asleep.
I was waked by the flapping at the window, which had begun after that sleep-walking on the cliff at Whitby when Mina saved me, and which now I know so well. I was not afraid, but I did wish that Dr. Seward was in the next room, as Dr. Van Helsing said he would be, so that I might have called him. I tried to sleep, but I could not. Then there came to me the old fear of sleep, and I determined to keep awake. Perversely sleep would try to come then when I did not want it. So, as I feared to be alone, I opened my door and called out, "Is there anybody there?" There was no answer. I was afraid to wake mother, and so closed my door again. Then outside in the shrubbery I heard a sort of howl like a dog's, but more fierce and deeper. I went to the window and looked out, but could see nothing, except a big bat, which had evidently been buffeting its wings against the window. So I went back to bed again, but determined not to go to sleep. Presently the door opened, and mother looked in. Seeing by my moving that I was not asleep, she came in and sat by me. She said to me even more sweetly and softly than her wont,
"I was uneasy about you, darling, and came in to see that you were all right."
I feared she might catch cold sitting there, and asked her to come in and sleep with me, so she came into bed, and lay down beside me. She did not take off her dressing gown, for she said she would only stay a while and then go back to her own bed. As she lay there in my arms, and I in hers the flapping and buffeting came to the window again. She was startled and a little frightened, and cried out, "What is that?"
I tried to pacify her, and at last succeeded, and she lay quiet. But I could hear her poor dear heart still beating terribly. After a while there was the howl again out in the shrubbery, and shortly after there was a crash at the window, and a lot of broken glass was hurled on the floor. The window blind blew back with the wind that rushed in, and in the aperture of the broken panes there was the head of a great, gaunt gray wolf.
Mother cried out in a fright, and struggled up into a sitting posture, and clutched wildly at anything that would help her. Amongst other things, she clutched the wreath of flowers that Dr. Van Helsing insisted on my wearing round my neck, and tore it away from me. For a second or two she sat up, pointing at the wolf, and there was a strange and horrible gurgling in her throat. Then she fell over, as if struck with lightning, and her head hit my forehead and made me dizzy for a moment or two.
The room and all round seemed to spin round. I kept my eyes fixed on the window, but the wolf drew his head back, and a whole myriad of little specks seems to come blowing in through the broken window, and wheeling and circling round like the pillar of dust that travellers describe when there is a simoon in the desert. I tried to stir, but there was some spell upon me, and dear Mother's poor body, which seemed to grow cold already, for her dear heart had ceased to beat, weighed me down, and I remembered no more for a while.
The time did not seem long, but very, very awful, till I recovered consciousness again. Somewhere near, a passing bell was tolling. The dogs all round the neighbourhood were howling, and in our shrubbery, seemingly just outside, a nightingale was singing.  The sounds seemed to have awakened the maids, too, for I could hear their bare feet pattering outside my door. I called to them, and they came in, and when they saw what had happened, and what it was that lay over me on the bed, they screamed out. The wind rushed in through the broken window, and the door slammed to. They lifted off the body of my dear mother, and laid her, covered up with a sheet, on the bed after I had got up. They were all so frightened and nervous that I directed them to go to the dining room and each have a glass of wine. The door flew open for an instant and closed again. The maids shrieked, and then went in a body to the dining room, and I laid what flowers I had on my dear mother's breast. When they were there I remembered what Dr. Van Helsing had told me, but I didn't like to remove them, and besides, I would have some of the servants to sit up with me now. I was surprised that the maids did not come back. I called them, but got no answer, so I went to the dining room to look for them.
My heart sank when I saw what had happened. They all four lay helpless on the floor, breathing heavily. The decanter of sherry was on the table half full, but there was a queer, acrid smell about. I was suspicious, and examined the decanter. It smelt of laudanum, and looking on the sideboard, I found that the bottle which Mother's doctor uses for her--oh! did use--was empty. What am I to do? What am I to do? I am back in the room with Mother. I cannot leave her, and I am alone, save for the sleeping servants, whom some one has drugged. Alone with the dead! I dare not go out, for I can hear the low howl of the wolf through the broken window.
The air seems full of specks, floating and circling in the draught from the window, and the lights burn blue and dim. What am I to do? God shield me from harm this night! I shall hide this paper in my breast, where they shall find it when they come to lay me out.  It is time that I go too. Goodbye, dear Arthur, if I should not survive this night. God keep you, dear, and God help me!


This sample shows, how titles could displayed as aligned columns (as known from Apple Macintosh / OSX).
Status: pre-alpha
jquery.fancytree.js project home Link to this page Example Browser View source code


ItemParticle QML Type
For specifying a delegate to paint particles More...
| Import Statement: | import QtQuick.Particles 2.0 |
| Inherits: |
Properties
Methods
- void freeze(Item item)
- void give(Item item)
- void take(Item item, bool prioritize)
- void unfreeze(Item item)
Detailed Description
Property Documentation
delegate : Component |
An instance of the delegate will be created for every logical particle, and moved along with it. As an alternative to using delegate, you can create Item instances yourself and hand them to the ItemParticle to move using the take method.
Any delegate instances created by ItemParticle will be destroyed when the logical particle expires.
If true, the item will automatically be faded in and out at the ends of its lifetime. If false, you will have to implement any entry effect yourself.
Default is true.
Method Documentation
void freeze(Item item) |
Suspends the flow of time for the logical particle which item represents, allowing you to control its movement.
void give(Item item) |
Orders the ItemParticle to give you control of the item. It will cease controlling it and the item will lose its association to the logical particle.
void take(Item item, bool prioritize) |
Asks the ItemParticle to take over control of item positioning temporarily. It will follow the movement of a logical particle when one is available.
By default items form a queue when waiting for a logical particle, but if prioritize is true then it will go immediately to the head of the queue.
ItemParticle does not take ownership of the item, and will relinquish control when the logical particle expires. Commonly at this point you will want to put it back in the queue, you can do this with the below line in the delegate definition:
ItemParticle.onDetached: itemParticleInstance.take(delegateRootItem);
or delete it, such as with the below line in the delegate definition:
ItemParticle.onDetached: delegateRootItem.destroy();
void unfreeze(Item item) |
Restarts the flow of time for the logical particle which item represents, allowing it to be moved by the particle system again.


pymatgen.analysis.eos module¶
This module implements various equation of states.
Note: Most of the code were initially adapted from ASE and deltafactor by @gmatteo but has since undergone major refactoring.
-
class
Birch
(volumes, energies)[source]¶ Bases:
pymatgen.analysis.eos.EOSBase
Parameters: - volumes (list/numpy.array) – volumes in Ang^3
- energies (list/numpy.array) – energy in eV
-
class
BirchMurnaghan
(volumes, energies)[source]¶ Bases:
pymatgen.analysis.eos.EOSBase
Parameters: - volumes (list/numpy.array) – volumes in Ang^3
- energies (list/numpy.array) – energy in eV
-
class
DeltaFactor
(volumes, energies)[source]¶ Bases:
pymatgen.analysis.eos.PolynomialEOS
Parameters: - volumes (list/numpy.array) – volumes in Ang^3
- energies (list/numpy.array) – energy in eV
-
class
EOS
(eos_name='murnaghan')[source]¶ Bases:
object
Convenient wrapper. Retained in its original state to ensure backward compatibility.
Fit equation of state for bulk systems.
The following equations are supported:
murnaghan: PRB 28, 5480 (1983) birch: Intermetallic compounds: Principles and Practice, Vol I: Principles. pages 195-210 birch_murnaghan: PRB 70, 224107 pourier_tarantola: PRB 70, 224107 vinet: PRB 70, 224107 deltafactor numerical_eos: 10.1103/PhysRevB.90.174107.
Usage:
eos = EOS(eos_name='murnaghan') eos_fit = eos.fit(volumes, energies) eos_fit.plot()
-
MODELS
= {'birch': <class 'pymatgen.analysis.eos.Birch'>, 'birch_murnaghan': <class 'pymatgen.analysis.eos.BirchMurnaghan'>, 'deltafactor': <class 'pymatgen.analysis.eos.DeltaFactor'>, 'murnaghan': <class 'pymatgen.analysis.eos.Murnaghan'>, 'numerical_eos': <class 'pymatgen.analysis.eos.NumericalEOS'>, 'pourier_tarantola': <class 'pymatgen.analysis.eos.PourierTarantola'>, 'vinet': <class 'pymatgen.analysis.eos.Vinet'>}¶
-
-
class
EOSBase
(volumes, energies)[source]¶ Bases:
object
Abstract class that must be subcalssed by all equation of state implementations.
Parameters: - volumes (list/numpy.array) – volumes in Ang^3
- energies (list/numpy.array) – energy in eV
-
b0
¶ Returns the bulk modulus. Note: the units for the bulk modulus: unit of energy/unit of volume^3.
-
b0_GPa
¶ Returns the bulk modulus in GPa. Note: This assumes that the energy and volumes are in eV and Ang^3
respectively
-
b1
¶ Returns the derivative of bulk modulus wrt pressure(dimensionless)
-
e0
¶ Returns the min energy.
-
fit
()[source]¶ Do the fitting. Does least square fitting. If you want to use custom fitting, must override this.
-
func
(volume)[source]¶ The equation of state function with the paramters other than volume set to the ones obtained from fitting.
Parameters: volume (list/numpy.array) – Returns: numpy.array
-
plot
(width=8, height=None, plt=None, dpi=None, **kwargs)[source]¶ Plot the equation of state.
Parameters: - width (float) – Width of plot in inches. Defaults to 8in.
- height (float) – Height of plot in inches. Defaults to width * golden ratio.
- plt (matplotlib.pyplot) – If plt is supplied, changes will be made to an existing plot. Otherwise, a new plot will be created.
- dpi –
- kwargs (dict) – additional args fed to pyplot.plot. supported keys: style, color, text, label
Returns: Matplotlib plot object.
-
plot_ax
(ax=None, fontsize=12, **kwargs)[source]¶ Plot the equation of state on axis ax
Parameters: - ax – matplotlib
Axes
or None if a new figure should be created. - fontsize – Legend fontsize.
- color (str) – plot color.
- label (str) – Plot label
- text (str) – Legend text (options)
Returns: Matplotlib figure object.
Keyword arguments controlling the display of the figure:
kwargs Meaning title Title of the plot (Default: None). show True to show the figure (default: True). savefig “abc.png” or “abc.eps” to save the figure to a file. size_kwargs Dictionary with options passed to fig.set_size_inches e.g. size_kwargs=dict(w=3, h=4) tight_layout True to call fig.tight_layout (default: False) ax_grid True (False) to add (remove) grid from all axes in fig. Default: None i.e. fig is left unchanged. ax_annotate Add labels to subplots e.g. (a), (b). Default: False - ax – matplotlib
-
results
¶ Returns a summary dict.
Returns: dict
-
v0
¶ Returns the minimum or the reference volume in Ang^3.
-
class
Murnaghan
(volumes, energies)[source]¶ Bases:
pymatgen.analysis.eos.EOSBase
Parameters: - volumes (list/numpy.array) – volumes in Ang^3
- energies (list/numpy.array) – energy in eV
-
class
NumericalEOS
(volumes, energies)[source]¶ Bases:
pymatgen.analysis.eos.PolynomialEOS
Parameters: - volumes (list/numpy.array) – volumes in Ang^3
- energies (list/numpy.array) – energy in eV
-
fit
(min_ndata_factor=3, max_poly_order_factor=5, min_poly_order=2)[source]¶ Fit the input data to the ‘numerical eos’, the equation of state employed in the quasiharmonic Debye model described in the paper: 10.1103/PhysRevB.90.174107.
credits: Cormac Toher
Parameters: - min_ndata_factor (int) –
parameter that controls the minimum number of data points that will be used for fitting. minimum number of data points =
total data points-2*min_ndata_factor - max_poly_order_factor (int) –
parameter that limits the max order of the polynomial used for fitting. max_poly_order = number of data points used for fitting -
max_poly_order_factor - min_poly_order (int) – minimum order of the polynomial to be considered for fitting.
- min_ndata_factor (int) –
-
class
PolynomialEOS
(volumes, energies)[source]¶ Bases:
pymatgen.analysis.eos.EOSBase
Derives from EOSBase. Polynomial based equations of states must subclass this.
Parameters: - volumes (list/numpy.array) – volumes in Ang^3
- energies (list/numpy.array) – energy in eV
-
class
PourierTarantola
(volumes, energies)[source]¶ Bases:
pymatgen.analysis.eos.EOSBase
Parameters: - volumes (list/numpy.array) – volumes in Ang^3
- energies (list/numpy.array) – energy in eV
-
class
Vinet
(volumes, energies)[source]¶ Bases:
pymatgen.analysis.eos.EOSBase
Parameters: - volumes (list/numpy.array) – volumes in Ang^3
- energies (list/numpy.array) – energy in eV


583 Vanderbilt Avenue
Brooklyn, NY 11238
718.857.5777
$4 Drafts & $4 Well
We show all available pro sports including MLS, NFL, NBA, NHL and MLB. Don't see your game on the list? Call us,<PHONE_NUMBER>. If we can show it, we will.
Schedule subject to change.


Ranadu provides the “binStats()” function to compile variable characteristics needed to generate plots like error-bar plots and box-and-whisker plots. The input should be a data.frame whose first two columns specify the expected respective ordinate and abscissa variables. Each row in the data.frame is assigned to a bin on the basis of the value of the second variable, and for each bin the mean, standard deviation, and number of events are accumulated for values of the first variable in the data.frame. The output from binStats() is a new four-column data.frame where the respective columns are the mean value of the abscissa for each bin, the mean value of the ordinate for all events in the bin, and corresponding standard deviation, and the number of events in the bin.
dplyr::select(DPXC, GGALT) %>%
binStats(addBin = TRUE) %>%
ggplot() + geom_boxplot(aes(GGALT, DPXC, group=BIN),
color='blue', na.rm=TRUE) +
theme_WAC()


Running the Code¶
Please see below for the relevant programming languages to run EasyMSX Sample.
Python¶
EasyMSX Python¶
The EasyMSX Python folder consists of the core code samples for EasyMSX in python. The EasyMSXSample.py
is the sample to use for python.
Please run EasyMSXSample.py
inside the EasyMSXPython folder to run the example in python.
The GitHub link to the EasyMSX sample in python.
RuleMSX Python¶
The new python RuleMSX runs in Python 3. This particular build was tested with Python 3.4 in windows 10.
- Create new directory and extract easymsx-1.0.0 and rulemsx-1.0.0 into the new directory.
C:\Users\Me\_rulemsx>dir
Volume in drive C is Windows
Volume Serial Number is ABCD-1234
Directory of C:\Users\Me\_rulemsx
12/21/2017 09:08 AM <DIR> .
12/21/2017 09:08 AM <DIR> ..
12/21/2017 09:01 AM <DIR> easymsx-1.0.0
12/21/2017 09:01 AM <DIR> rulemsx-1.0.0
12/21/2017 09:01 AM <DIR> RuleMSXDemo.py
1 File(s) 0 bytes
4 Dir(s) 11,538,878,464 bytes free
- Change directory to rulemsx-1.0.0 and in the directory run the following command:-
C:\Users\Me\_rulemsx>cd rulemsx-1.0.0
C:\Users\Me\_rulemsx\rulemsx-1.0.0>C:\Python34\python.exe setup.py install
Note
Please make sure the path for python is set to where you currently have your python 3 installed.
- Change directory to easymsx-1.0.0 and in the diretory run the following command:-
C:\Users\Me\_rulemsx>cd easymsx-1.0.0
C:\Users\Me\_rulemsx\easymsx-1.0.0>C:\Python34\python.exe setup.py install
- Run RuleMSXDemo.py
C:\Users\Me\_rulemsx>py -3 RuleMSXDemo.py
Initialising RuleMSX...
RuleMSX initialised...
Initialising EasyMSX...
EasyMSX initialised...
Create RuleSet...
Building Rules...
Rules built.
RuleSet ready...
Press any to terminate
The link to the python RuleMSX.
C Sharp¶
EasyMSX C Sharp¶
The EasyMSX in C Sharp works similarly as EasyMSXpython. For running EasyMSX in C Sharp, the user needs to reference the following on EasyMSXSample before building and running the code sample.
- Bloomberg API SDK in CSharp
- EasyMSX.dll
The GitHub link to the EasyMSX sample in C Sharp.
Note
Bloomberg API SDK in CSharpe.g. c:\blp\DAPI\APIv3\DotnetAPI\v<IP_ADDRESS>\lib\Bloomberglp.Blpapi.dll
EasyMSX.dll e.g. c:\... \cs_EasyMSX-master\EasyMSX\bin\Debug\EasyMSX.dll
EasyMKT C Sharp¶
The EasyMKT and EasyMKTSample are currently available only in C Sharp. For running EasyMKT in C Sharp, the user needs to reference the following on EasyMKTSample before building and running the code sample.
- Bloomberg API SDK in CSharp
- EasyMKT.dll
Note
Bloomberg API SDK in CSharp e.g. c:\blp\DAPI\APIv3\DotnetAPI\v<IP_ADDRESS>\lib\Bloomberglp.Blpapi.dll
EasyMKT.dll e.g. c:\... \cs_EasyMKT-master\EasyMKT\bin\Debug\EasyMKT.dll
RuleMSX C Sharp¶
For running RuleMSX in C Sharp, the user needs to reference the following on RuleMSXSample before building and running the code sample.
- Bloomberg API SDK in CSharp
- EasyMKT.dll
- EasyMSX.dll
- RuleMSX.dll
Note
Bloomberg API SDK in CSharp e.g. c:\blp\DAPI\APIv3\DotnetAPI\v<IP_ADDRESS>\lib\Bloomberglp.Blpapi.dll
EasyMKT.dll e.g. c:\... \cs_EasyMKT-master\EasyMKT\bin\Debug\EasyMKT.dll
EasyMSX.dll e.g. c:\... \cs_EasyMSX-master\EasyMSX\bin\Debug\EasyMSX.dll
RuleMSX.dll e.g. c:\... \cs_RuleMSX-master\RuleMSX\bin\Debug\RuleMSX.dll
Other Resources¶
Full EasyMSX Code Samples¶
The link to the main EasyMSX Code Sample.
Full EMSX API Documentation¶
The link to the main EMSX API Documentation.
Full EMSX API Code Samples¶
The github link to the EMSX API Code Sample.


10 instantiations of JobStateInfo
System.Management.Automation (10)
engine\remoting\client\Job.cs (3)
302
return new
JobStateInfo
(this);
567
public JobStateInfo JobStateInfo { get; private set; } = new
JobStateInfo
(JobState.NotStarted);
1394
JobStateInfo = new
JobStateInfo
(state, reason);
engine\remoting\client\Job2.cs (1)
727
ParentJobStateCalculation(new JobStateEventArgs(childJobStateInfo, new
JobStateInfo
(JobState.NotStarted)));
engine\remoting\client\ThrottlingJob.cs (5)
387
newJobStateInfo = new
JobStateInfo
(JobState.Running);
608
finalJobStateInfo = new
JobStateInfo
(JobState.Stopped, null);
612
finalJobStateInfo = new
JobStateInfo
(JobState.Failed, null);
616
finalJobStateInfo = new
JobStateInfo
(JobState.Stopped, null);
620
finalJobStateInfo = new
JobStateInfo
(JobState.Completed);
engine\serialization.cs (1)
7029
return new
JobStateInfo
(jobState, reason);
16 references to JobStateInfo
System.Management.Automation (16)
engine\remoting\client\Job.cs (9)
257
internal JobStateInfo(
JobStateInfo
jobStateInfo)
300
internal
JobStateInfo
Clone()
322
public JobStateEventArgs(
JobStateInfo
jobStateInfo)
332
public JobStateEventArgs(
JobStateInfo
jobStateInfo,
JobStateInfo
previousJobStateInfo)
350
public
JobStateInfo
JobStateInfo { get; }
355
public
JobStateInfo
PreviousJobStateInfo { get; }
567
public
JobStateInfo
JobStateInfo { get; private set; } = new JobStateInfo(JobState.NotStarted);
1390
JobStateInfo
previousState = JobStateInfo;
engine\remoting\client\Job2.cs (1)
717
JobStateInfo
childJobStateInfo;
engine\remoting\client\ThrottlingJob.cs (2)
379
JobStateInfo
newJobStateInfo = null;
601
JobStateInfo
finalJobStateInfo = null;
engine\serialization.cs (4)
6645
s_converter.Add(typeof(
JobStateInfo
), RehydrateJobStateInfo);
6983
private static
JobStateInfo
RehydrateJobStateInfo(PSObject pso)
7034
var
jobStateInfo = RehydrateJobStateInfo(PSObject.AsPSObject(pso.Properties["JobStateInfo"].Value));
7035
JobStateInfo
previousJobStateInfo = null;


Apple releasing first developer beta of iOS 13.3 today [U: Now available]
by Chance MillerUpdate: The first developer betas of iOS 13.3, iPadOS 13.3, watchOS 6.1.1, and tvOS 13.3 are now available.
Apple today will release the first beta of iOS 13.3 to developers. This comes after the release of iOS 13.2 to the public last week. iPadOS 13.3 will also be available today, as will the first developer beta of watchOS 6.1.1.
iOS 13.2 included the new Deep Fusion camera technology for iPhone 11 and iPhone 11 Pro, new emoji, and more. It’s not yet clear what changes we can expect with today’s developer beta of iOS 13.3.
Some users have reported issues in iOS 13.2 related to background applications and multitasking. It’s likely that iOS 13.3 focuses on the continued refinement of iOS 13, including bug fixes, performance improvements, and more. We’ll update as we learn more.
Spot any major changes in the first developer beta of iOS 13.3? Let us know in the comments or on Twitter, @9to5Mac.
Read more:
- Video: Hands on with new iOS 13.2 beta 1 changes and features
- ‘Announce Messages with Siri’ feature returns for AirPods owners in iOS 13.2
- iPhone 11 and iPhone 11 Pro adding Deep Fusion camera feature with upcoming iOS 13 beta
- iOS 13.2 now available with Deep Fusion, new emoji, Siri privacy settings, more
FTC: We use income earning auto affiliate links. More.


Spinach Filo Puffs
Hearty, organic entrées
that taste just a little
better than homemade.
Beef Pot Pie
Creamy Pesto Pasta
Herb Roasted Chicken
APPETIZERS
ENTRÉES
DESSERTS
COCKTAILS


SQL Concepts
2020-10-29
11 minutes
Here’s a non-exhaustive laundry list of SQL concepts that I’ve found useful. You could think of them as intermediate? advanced? concepts that anyone doing data science or machine learning should probably know. I tried to order the concepts list is loosely in order of complexity, however that may vary from person to person.
All the examples here are done using the postgres Docker image available here (I talk about how to work with a postgres container in a separate post). Below we create the table synthetic
and populate it with data that I’ll use to illustrate the various concepts.
CREATE TABLE synthetic (id VARCHAR(1), var1 INT, var2 INT);
CREATE TABLE dim (id VARCHAR(1), meta VARCHAR(100));
INSERT INTO synthetic (id, var1, var2)
VALUES ('A', 1, 1),
('A', 1, 0),
('A', 2, 1),
('B', 5, 1),
('B', 8, 0),
('C', 3, 0),
('C', 4, 1),
('C', 9, 1),
('D', 7, 0);
INSERT INTO dim (id, meta)
VALUES ('A', 'supercali'),
('B', 'fragilistic'),
('C', 'expiali'),
('D', 'docious'),
('E', '!');
SELECT * FROM synthetic;
id | var1 | var2
----+------+------
A | 1 | 1
A | 1 | 0
A | 2 | 1
B | 5 | 1
B | 8 | 0
C | 3 | 0
C | 4 | 1
C | 9 | 1
D | 7 | 0
Processing Order
It’s useful to know the processing order of a SQL query. It helps you understand when certain parts of your query are executed which will help you optimize your code. For example, if you only need to join data on a filtered set of rows then it might make sense to create CTEs that first filter the data and then perform joins using those CTEs.
Basically, the processing order of a SQL query goes something like this (see this doc for more detail),
- FROM
- JOIN
- WHERE
- GROUP BY
- HAVING
- SELECT (including aggregations, window functions, etc)
- DISTINCT
- ORDER BY
- LIMIT
Joins
Joins are pretty basic and pretty fundamental. Sometimes (actually most of the time) your information is split across multiple tables and you need to join them together in order to get all the information in one place.
SELECT a.id, b.meta
FROM synthetic a
JOIN dim b
ON a.id = b.id;
id | meta
----+-------------
A | supercali
A | supercali
A | supercali
B | fragilistic
B | fragilistic
C | expiali
C | expiali
C | expiali
D | docious
There’s also the anti-join. This can come in handy for problems when you want to select the records that don’t have a match defined by the join. In this case we want any records that are in dim
that are not in synthetic
.
SELECT b.*

Another way we could have done this anti-join is with NOT IN
.
SELECT *
FROM dim
WHERE id NOT IN (SELECT id FROM synthetic);
id | meta
----+------
E | !
Case Statements (Conditionals)
This allows you to implement if-else conditions on columns in your table. The typical formulation of case statements is CASE WHEN <condition> THEN <result> ELSE <result> END <new column name>
.
SELECT *
, CASE WHEN var2 = 1 THEN 'Y'
WHEN var2 = 0 THEN 'N'
ELSE Null END var3
FROM synthetic;
id | var1 | var2 | var3
----+------+------+------
A | 1 | 1 | Y
A | 1 | 0 | N
A | 2 | 1 | Y
B | 5 | 1 | Y
B | 8 | 0 | N
C | 3 | 0 | N
C | 4 | 1 | Y
C | 9 | 1 | Y
D | 7 | 0 | N
Group By
This is another obvious one. But because it’s so commonly used it’s worth mentioning. A GROUP BY
enables you to apply aggregation functions (COUNT
, SUM
, AVG
, etc) to parts of a table. These parts are provided by an identifier (or set of identifiers) which allows you to partition the data into groups that you want to apply your aggregation functions over.
SELECT id
, COUNT(*) id_count
, SUM(var1) var1_sum
FROM synthetic
GROUP BY id;
id | id_count | var1_sum
----+----------+----------
B | 2 | 13
C | 3 | 16
D | 1 | 7
A | 3 | 4
Where vs Having
Most people know of the WHERE
statement. It allows you to filter (reduce the rows of your table) by a specific condition.
You can’t use WHERE
on a column that was created by an aggregate function. If you do you’ll be performing the filter before the aggregation calculations take place. You can use the HAVING
statement on a column created by an aggregate function to filter results after the aggregations have taken place.
SELECT *
FROM synthetic
WHERE var1 < 5;
id | var1 | var2
----+------+------
A | 1 | 1
A | 1 | 0
A | 2 | 1
C | 3 | 0
C | 4 | 1
SELECT id
, COUNT(*) id_count
FROM synthetic
WHERE var1 = 1
GROUP BY id
HAVING id = 'A';
id | id_count
----+----------
A | 2
Window Functions
Window functions allow you to perform row-wise calculations on partitions (groups) of your data while allowing you to consider other rows in the calculation. This is useful when you want to create ranks, cumulative sums, rolling averages, etc. There is no group by aggregation taking place. The output table produced after applying a window function will always have the same number of rows as the original table.
SELECT id
, var1
, RANK() OVER (ORDER BY var1) var1_rank
, LAG(var1, 1, Null) OVER (PARTITION BY Id ORDER BY var1) var1_lag
FROM synthetic
ORDER BY id, var1;
id | var1 | var1_rank | var1_lag
----+------+-----------+----------
A | 1 | 1 |
A | 1 | 1 | 1
A | 2 | 3 | 1
B | 5 | 6 |
B | 8 | 8 | 5
C | 3 | 4 |
C | 4 | 5 | 3
C | 9 | 9 | 4
D | 7 | 7 |
Rows Preceding/Following
How do window functions know which data to consider before and/or after the row in question? It does this by using ROWS # PRECEDING # FOLLOWING
, where # is how many rows you want the function to consider preceding/following the row you are currently at.
For example, to compute the cumulative sum we use the SUM
window function and specify ROWS UNBOUNDED PRECEDING
. This means that we are considering all previous rows (within the partition) in addition to the current row when calculating the cumulative sum. If we don’t specify this then we’ll just get the entire sum for each partition assigned to each row of the partition.
SELECT id
, var1
, SUM(var1) OVER (PARTITION BY Id ORDER BY var1 ROWS UNBOUNDED PRECEDING) var1_cumsum_1
, SUM(var1) OVER (PARTITION BY Id ORDER BY var1 ROWS 1 PRECEDING) var1_cumsum_2
FROM synthetic;
id | var1 | var1_cumsum_1 | var1_cumsum_2
----+------+---------------+---------------
A | 1 | 1 | 1
A | 1 | 2 | 2
A | 2 | 4 | 3
B | 5 | 5 | 5
B | 8 | 13 | 13
C | 3 | 3 | 3
C | 4 | 7 | 7
C | 9 | 16 | 13
D | 7 | 7 | 7
Here’s what happens if we don’t provide PRECEDING
or FOLLOWING
.
SELECT id
, var1
, SUM(var1) OVER (PARTITION BY Id ORDER BY var1) var1_cumsum_1
, SUM(var1) OVER (PARTITION BY Id ORDER BY var1) var1_cumsum_2
FROM synthetic;
id | var1 | var1_cumsum_1 | var1_cumsum_2
----+------+---------------+---------------
A | 1 | 2 | 2
A | 1 | 2 | 2
A | 2 | 4 | 4
B | 5 | 5 | 5
B | 8 | 13 | 13
C | 3 | 3 | 3
C | 4 | 7 | 7
C | 9 | 16 | 16
D | 7 | 7 | 7
Rank vs Dense Rank vs Row Number
This one always trips me up. Dense rank and rank will be the same except when there are ties. In tie situations dense will always give you consecutive ranks (no gaps in ranking values) where as rank will skip ranks in situations where there are ties.
Rank is similar to row number, however rank provides the same value in situations where there are ties.
SELECT id
, var1
, RANK() OVER (ORDER BY var1) var1_rank
, DENSE_RANK() OVER (ORDER BY var1) var1_dense_rank
, ROW_NUMBER() OVER (ORDER BY var1) var1_row_number
FROM synthetic
ORDER BY var1;
id | var1 | var1_rank | var1_dense_rank | var1_row_number
----+------+-----------+-----------------+-----------------
A | 1 | 1 | 1 | 1
A | 1 | 1 | 1 | 2
A | 2 | 3 | 2 | 3
C | 3 | 4 | 3 | 4
C | 4 | 5 | 4 | 5
B | 5 | 6 | 5 | 6
D | 7 | 7 | 6 | 7
B | 8 | 8 | 7 | 8
C | 9 | 9 | 8 | 9
Views
A view represents a table. It’s not a table that’s stored on disk. Rather the SQL code to construct the table is stored. Typically, every time you call a view, the SQL code that defines that view is executed to generate the table. (I say typically since sometimes the results can be stored/read from a cache). You’ll notice that a view is not stored in the “Table” section of the database, but in a separate “View” section… because it ain’t a table.
CREATE VIEW synthetic_agg AS
SELECT id
, COUNT(*) id_count
FROM synthetic
GROUP BY id;
SELECT * FROM synthetic_agg;
id | id_count
----+----------
B | 2
C | 3
D | 1
A | 3
User Defined Functions
Just as in any programing language, functions in SQL allow you to parameterize your query. The way you specify functions will vary depending on the variant of SQL used by your choice of SQL server provider.
Here’s a function that returns a filtered table that has the same schema as the synthetic
table.
CREATE OR REPLACE FUNCTION synthetic_filter(param INT)
RETURNS SETOF synthetic
AS
$$
SELECT *
FROM synthetic
WHERE var1 = param;
$$
LANGUAGE SQL;
id | var1 | var2
----+------+------
A | 1 | 1
A | 1 | 0
Here’s a function that returns a schema that’s different from the synthetic
table (we have to define the schema of the returning table).
CREATE OR REPLACE FUNCTION synthetic_grouped(param INT)
RETURNS TABLE (id VARCHAR(1), id_count INT)
AS
$$
SELECT id, COUNT(*) id_count
FROM synthetic
WHERE var2 = param
GROUP BY id;
$$
LANGUAGE SQL;
SELECT * from synthetic_grouped(1);
id | id_count
----+----------
A | 2
B | 1
C | 2
Finally, here’s a function that returns a single value (in this case a VARCHAR
). These return types are useful to define complicated row-wise operations or for operations that need to be reused.
CREATE OR REPLACE FUNCTION var2_condition(param INT)
RETURNS VARCHAR(1)
AS
$$
SELECT CASE WHEN param = 1 THEN 'Y'
WHEN param = 0 THEN 'N'
ELSE Null END;
$$
LANGUAGE SQL;
SELECT *, var2_condition(var2) var2_char
FROM synthetic;
id | var1 | var2 | var2_char
----+------+------+-----------
A | 1 | 1 | Y
A | 1 | 0 | N
A | 2 | 1 | Y
B | 5 | 1 | Y
B | 8 | 0 | N
C | 3 | 0 | N
C | 4 | 1 | Y
C | 9 | 1 | Y
D | 7 | 0 | N
CTE (Common Table Expression)
CTEs allow you to reference a table created by one query in another query, without having to write the table to disk (in other words you don’t have to use CREATE TABLE
). Basically you’re keeping the table in memory temporarily.
WITH tmp_table AS (
SELECT *
FROM synthetic
WHERE var2 = 1
)
SELECT *
FROM tmp_table;
id | var1 | var2
----+------+------
A | 1 | 1
A | 2 | 1
B | 5 | 1
C | 4 | 1
C | 9 | 1
Knowing When to Write a Table to Disk
Sometimes it’s obvious when to create a table. Typically you’ll do it when you want to share the result with someone or some service. But sometimes it’s worth breaking up a complicated ETL workflow into tables that are written to disk. This helps you do QA on different components of the ETL workflow. It also helps when a part of the workflow errors out for some reason. You don’t have to start the entire ETL workflow from the beginning. The process can just start at the point where the error took place. Just make sure you clean up tables that aren’t actively being used so that they don’t unnecessarily consume space.
It’s important to know the tradeoffs though. Writing to disk can be slower since you have to spend time writing/reading from disk. Keeping things in memory circumvents this inefficiency… at the expense of holding the data in memory (typically you have more space on disk than you do in memory). If your code errors out and you kept all your data in memory then whatever transformations you did to that data won’t be saved.
2251 Words


Toggle navigation
{{ model_name }}
About
Start
{% for timestep in timesteps %}
Step {{ timestep }}
{% end %}
Reset
Frames Per Second
Current Step:
0
×
About {{ model_name }}
{{ description }}
{% for file_name in package_includes %} {% end %} {% for file_name in local_includes %} {% end %}


Android App
This app is for the Ridgefield Parks and Recreation customers in Ridgefield, Connecticut. Parks and Rec provides all of the information a customer needs in one place. With alerts of closings, the app provides an easy way to stay updated on events taking place at the Rec center. This app is to be used by the members of the Ridgefield Parks and Recreation Center
Just cause I wanted to.
Nah, this app is open source since the app is already free. It is intended to be a source of sample code for everyone to benefit from. You can make cool apps that use core features of this app and hopefully get more users because you built something cool.
Also, if you want to help out and fix some bugs, that would make my year :).
If you want to fix bugs, I'll love you forever! If you would like to add some features, I may, or may not merge it. If I think it will really benefit the app, I will message you saying that it will be added, with you name in it. Check out the issues page if you would like to help out with the code, I'd greatly appreciate it.
The Parks and Rec source code is released under the MIT License.
While it is not strictly forbidden by the license, I would greatly appreciate it if you didn't redistribute this app exactly the way it is in the App Store. There's nothing stopping you, but please don't do it.
Thanks to jsoup, I'm able to parse HTML on the main website for the app, Thanks jsoup.


This is the main menu that appears on the side of all blog posts
These are the links for various social media accounts, that appear on your blog


Almost every week a cultural event or festival is held in Amsterdam. Many of these Amsterdam events and festivals have a long tradition and are carefully conserved by the Dutch. But these typical Dutch festivities are also very nice for tourists, because a lot of them are held with an English-speaking public in mind.
Spring is a vibrant season in Amsterdam.The most important event each spring is Koningsdag (Kingsday). On the 27th of April the entire country is celebrating the King's Birthday. Many young people from all over the The Netherlands travel to Amsterdam, where the festivities last for two days.
On the 5th May the Dutch celebrate Bevrijdingsdag (Liberation day), which marks the end of WWII in The Netherlands. Large festivities are held in parks and on squares in the city.
Summer is the time of open air festivals, theatre and concerts. Probably the most attractive event in summer is the Grachtenfestival, which is held mid-August. It is a series of concerts and shows, culminating with a big concert at the Prinsengracht. Visitors also listen from the canal banks and bridges nearby, because the water echoes the music.
In the autumn Amsterdam is vibrating with cultural events: books and antique markets, concerts, film festivals and events in museums. Probably the most important of the autumn is IDFA, an International Documentary Film Festival starting in the middle of November, showing documentaries in cinemas all over town. Go see a documentary in the beautiful Tuschinski or in the modern Eye Film Institute in Amsterdam-Noord.Museum Night is another attractive Amsterdam event that takes place in November.
Winter is often not very cold in Amsterdam, due to the mild sea climate. The days with freezing temperatures are scarce, but when it happens and the canals freeze, the view of people all ages skating on ice is beautiful.n the evening you should definitely go see the Amsterdam Light Festival event.December hosts three important holidays: New Year's Eve, Christmas and Sinterklaas, the Dutch version of Santa Claus.Winter is the most quiet of the seasons except for the New Year Eve Amsterdam events and celebrations at the Dam square.
It is definitely worth to consider this nightlife ticket. It will most likely save you time and money. For 7 days you get free entrance to Amsterdam clubs, free shots, beers & cocktails, lazertag & bowling, free UBER and much more.
Know MoreWhen it comes to nightlife in Amsterdam, there are venues, dance festivals and club nights to suit every taste! DJs keep the crowd going with everything from techno, dub step and trance to hip-hop, funk and deep house.There are worth.
Know MoreAmsterdam's nightlife centres around Leidseplein.Venues such as Melkweg can be found.Irish pubs,cafés,nightclubs line the square and the streets. For a classy night out,the city theatre, tram stop on the square itself.
Know More


Incline
About
Key Features
Mockup
Login
Sign In
Sign Up
Email address
Username
Note: Username must be at least 5 characters long
Password
Remember me
Sign up
Incline
About
Key Features
Mockup
Login
Sign Up
Sign In
Username
Password
Remember me
Sign in


SesDashboard Documentation - Analytics UI for Amazon Simple Email Service.¶
About¶
SesDashboard is an Analytics UI for Amazon Simple Email Service.
With activity tracking tool you could check which email was successfully delivered or there we any problems. Also you will be able to view detailed events log like mail opens and clicks info. Useful for transactional mails.
SesDashboard works as stand-alone app. No existing code needs to be changed.
GitHub Project page: https://github.com/Nikeev/sesdashboard


{% extends "base.html" %} {% block title %}
Medieval catalogues > BENEDICTINES > Canterbury-Christ Church
{% endif %}
All data was derived from the List of Identifications by Professor Richard Sharpe.
{% if not printing %}
A key to codes used in the List is available (opens in new tab).{% endif %}


rvtable is an R package for storing distributions of random variables in long format data frames with the rvtable
class. The package provides a simplified and consistent interface for managing and manipulating random variables. The key purpose of rvtable is to carry distributions through an analysis from beginning to end where the distributions are empirically derived from a large data set that is impractical or impossible to keep in original form.
The rvtable
package provides a special type of data frame subclass with associated functionality for relatively convenient storage and manipulation of random variables. The emphasis is on distributions of continuous random variables derived from relatively large samples, though discrete random variables are also handled.
While this package can be used for organizing small samples, there is not much point. The main motivation for rvtable
is relatively seamless storage and manipulation of empirically estimated continuous probability distributions deriving from relatively large samples or data sets.
By relatively large, I mean cases where it is both substantially more statistically and computationally efficient to store and subsequently work with estimated probability distributions that are derived from and sufficiently representative of the source data than to work directly on the source data itself.
A large data set can be sampled to make it more manageable. This package provides an alternative by estimating the empirical probability density function of a continuous random variable so that the model of the distribution can be carried through analyses pipelines in place of raw observations. This allows sampling from a distribution of a random variable when and however necessary. This is particularly helpful well-estimated distributions remain much more compact and efficient than holding onto much larger amounts of data throughout a processing chain where it is ultimately not needed.
For example, it is sometimes useful to calculate statistics as the final step in a sequence of intensive data processing operations. It could be that a product to come out of the analysis is a web application where the analyst leaves it to the user to decide interactively which variable(s) to select and what statistics to compute, what to graph and how, whether to exclude or merge data, etc. A R Shiny app is the perfect example of this.
This can lead to the problem of having far too much data to put in the application yet not being able to summarize or aggregate the data in advance sufficiently without taking too much control away from the user. When there is a lot of data involved, using a relatively efficient representation of a distribution of the data rather than raw observations or a static, relatively small sample, can help transport the relevant information from one stage of an analysis to another, particularly in a context of limited computing resources or a simple need for speed, such as in an interactive environment involving other users. At the same time, using estimated probability distributions leaves in place the ability to draw an arbitrarily large sample later when the time is right and context demands it.
The main goals of rvtable
are to provide functions for storage, manipulation, and graphing of random variables in the preceding context. This is achieved through:
rvtable
is focused on handling distributions of continuous random variables derived from large samples, not small data sets or discrete random variables with few known or observed values, but it can still provide a consistent data structure for the context in which it is used.
It is of no benefit to known distributions with closed mathematical form expressions because there is never a need to lug a ton of such data around in the first place. For example, a random normal distribution can be sampled with rnorm
at any time. rvtable
is helpful for empirical samples which are large and messy, of a complicated form or mixed distributions, which cannot be reduced to a known or simple combination of known distributions, where an efficient snapshot of the distribution is helpful to avoid juggling excessive amounts of data from one analysis stage to the next while retaining sufficient distributional information.
What does an rvtable hold?
Functions included in the package provide the following abilities:
Install the latest development version (0.6.1) from github:
install.packages("devtools")
devtools::install_github("leonawicz/rvtable")
Please file a minimal reproducible example of any clear bug at github.
Familiarity with dplyr is recommended. An introduction vignette for rvtable is available online or:
browseVignettes(package = "rvtable")
Copyright © 2016-2017 Scenarios Network for Alaska and Arctic Planning and others.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


|
| | Rectangle (QPaintDevice *device, int xId, QColor xPenColor, qreal xPenWidth, Qt::PenStyle xPenStyle, Qt::PenCapStyle xPenCapStyle, Qt::PenJoinStyle xPenJoinStyle, QColor xBrushColor, Qt::BrushStyle xBrushStyle, int xTopLeftX, int xTopLeftY, int xWidth, int xHeight) |
| |
|
Rectangle & | operator= (const Rectangle &)=delete |
| |
|
| Rectangle (const Rectangle &)=delete |
| |
| | ~Rectangle () |
| |
| std::ostream & | print (std::ostream &os) const |
| |
| void | draw (QPaintDevice *device) |
| |
| void | move (QPoint &newUpperLeft) |
| |
| void | update (void) |
| |
| double | calcPerimeter () const |
| |
| double | calcArea () const |
| |
| | Shape2D (QPaintDevice *device, int xId, shapeType xType, QColor xPenColor, qreal xPenWidth, Qt::PenStyle xPenStyle, Qt::PenCapStyle xPenCapStyle, Qt::PenJoinStyle xPenJoinStyle, QColor xBrushColor, Qt::BrushStyle xBrushStyle) |
| |
|
Shape2D & | operator= (const Shape &)=delete |
| |
|
| Shape2D (const Shape &)=delete |
| |
| virtual | ~Shape2D () |
| |
|
| Shape (QPaintDevice *pDevice, int xId, shapeType s) |
| |
|
Shape & | operator= (const Shape &)=delete |
| |
|
| Shape (const Shape &)=delete |
| |
| int | getId () const |
| |
| shapeType | getShapeType () const |
| |
|
| enum | shapeType {
Line,
Polyline,
Polygon,
Rectangle,
Square,
Ellipse,
Circle,
Text
} |
| |
|
QPen | pen |
| | Pen used to draw shape outline.
|
| |
|
QBrush | brush |
| | Brush used to fill 2D object interior.
|
| |
|
QPoint | upperleft |
| | Lower right anchor for bounding rectangle.
|
| |
|
QPoint | lowerright |
| | vector containing endpints and vertices of line objects
|
| |
| QPainter & | get_qPainter () |
| |
| QPaintDevice * | get_qPaintDevice (void) const |
| |
| Rectangle::Rectangle |
( |
QPaintDevice * |
device, |
|
|
int |
xId, |
|
|
QColor |
xPenColor, |
|
|
qreal |
xPenWidth, |
|
|
Qt::PenStyle |
xPenStyle, |
|
|
Qt::PenCapStyle |
xPenCapStyle, |
|
|
Qt::PenJoinStyle |
xPenJoinStyle, |
|
|
QColor |
xBrushColor, |
|
|
Qt::BrushStyle |
xBrushStyle, |
|
|
int |
xTopLeftX, |
|
|
int |
xTopLeftY, |
|
|
int |
xWidth, |
|
|
int |
xHeight |
|
) |
| |
Constructor - create a QT drawable rectangle 2D
- Author
- edt (5/14/18)
- Parameters
-
| device | - QPaintDevice |
| xId | - shape ID |
| xPenColor | |
| xPenWidth | |
| xPenStyle | |
| xPenCapStyle | |
| xPenJoinStyle | |
| xBrushColor | |
| xBrushStyle | |
| xTopLeftX | |
| xTopLeftY | |
| xWidth | |
| xHeight | |
| Rectangle::~Rectangle |
( |
) | |
|
Destructor - simply free the object space
- Author
- edt (5/13/18)
| double Rectangle::calcArea |
( |
void |
) | |
const |
|
virtual |
calcArea - determine area enclosed by object
- Author
- edt (5/13/18)
- Returns
- double
Implements Shape.
| double Rectangle::calcPerimeter |
( |
void |
) | |
const |
|
virtual |
calcPerimeter - determine object outline length
- Author
- edt (5/13/18)
- Returns
- double
Implements Shape.
| void Rectangle::draw |
( |
QPaintDevice * |
device) | |
|
|
virtual |
draw - output object onto QT canvas using QPaintDevice
- Author
- edt (5/13/18)
- Parameters
-
Implements Shape.
| void Rectangle::move |
( |
QPoint & |
newUpperLeft) | |
|
|
virtual |
move - relocate rectangle to new upper left coordinate
- Author
- edt (5/13/18)
- Parameters
-
| newUpperLeft | - new location of upper left of enclosing rectangle |
Implements Shape.
| std::ostream & Rectangle::print |
( |
std::ostream & |
os) | |
const |
|
virtual |
print - print limited information about derived instance for debugging
- Author
- edt (5/13/18)
- Parameters
-
- Returns
- std::ostream&
Implements Shape2D.
| void Rectangle::update |
( |
void |
) | |
|
|
virtual |
update - force redraw of object
- Author
- edt (5/13/18)
- Parameters
-
Implements Shape.
The documentation for this class was generated from the following files:
- /home/edt/CS1C/ClassProject/MainWindow/rectangle.h
- /home/edt/CS1C/ClassProject/MainWindow/rectangle.cpp


{% extends "base.tmpl.html" %} {% block body %}
Welcome to the hardware manager.
If you are reading this, it means that you successfully run the application. It assumes you are running a Ubuntu/Debian-based operating system on a laptop with at least one wlan interface and one battery as the power supply.
Check the links on the top to see information about the current status of your computer devices.


--- layout: main title: Space Gallery order: 3 icon: fa-grip-horizontal permalink: /space-gallery/ modal: 1 --- Space Gallery Title


Time of iPhone
iPhone
History
since 2007
iPhone 2G
2007
iPhone 3G
2008
iPhone 3GS
2009
iPhone 4
2010
iPhone 4S
2011
iPhone 5
2012
iPhone 5s, 5c
2013
iPhone 6, 6Plus
2014
iPhone 6s, 6sPlus
2015
learn more
By Krerkchai
https://en.wikipedia.org/wiki/History_of_iPhone
Back


_Patch_Adams_ (PG-13) * (out of ****)
_Patch_Adams_ tells the true story of an American original: Hunter "Patch" Adams (here played by Robin Williams), a former mental patient turned doctor who pioneered a philosophy of treating patients with a strong prescription of humor.
However, the film itself is far from original, following an all-too familiar checklist for assembly-line "heartwarming human comedy-drama." Williams breaks absolutely no new ground playing a goofy guy who is really brilliant but _misunderstood_. Check. He bucks convention and draws the ire of a sternly traditional authority figure (Bob Gunton's med school dean). Check. The hero takes a liking to an icy young lady (Monica Potter) initially turned off by our lovable eccentric but eventually comes around. Check. An arbitrary and completely predictable tragedy causes the confident hero to question his beliefs and abilities. Check. Friends tell him how special he is, but our hero only finds new inspiration after receiving an apparent sign from a divine source. Check. The hero then faces the authority figure and wins. Check.
As if the by-the-letter formula of _Patch_Adams_ weren't bad enough, writer Steve Oedekerk and director Tom Shadyac (yes, they of _Ace_Ventura_ infamy) drown the proceedings in a sea of schmaltz that is even more insulting than it is nauseating. Patch's tear-wringing monologue at a climactic hearing is sappy enough, but was it really necessary to follow that with a group of cancer-stricken youths donning red noses in support? It's enough to make anyone gag--that is, if they don't go into insulin shock first.
Michael Dequina Chat Forum Host, The Official Michael Jordan Web Site http://jordan.sportsline.com<EMAIL_ADDRESS>|<EMAIL_ADDRESS>|<EMAIL_ADDRESS>Mr. Brown's Movie Site: http://welcome.to/mrbrown
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


[continued]
not come out as clear as I wanted. I reheated it again, let it cool, put it into the bleach again, and brushed it. It came out very clear. In this way, you will do the same for copper and silver. And if you want to give…
Beautiful color for brass
Having cleaned it well, as is stated, and brushed it well, boil it in water with curcuma root or terra merita, and it will become very beautiful.
Bleach
If it is for silver, do not grind your tartar with something made of iron, but with the handle of a hammer, because if you touch your tartar with iron and end up getting some iron in your bleach, the silver will come out red, like copper, and you will need to reheat it and put it back in the bleach. Mix in nothing with your tartar that should not enter the bleach, because this ruins it. Do not let it spill out when it first starts to boil because all its strength is in it at this point. Bleach is made with one part pulverized tartar and a half part of common salt.
Moulding the foot of the bittern, or eagle, or other birds for the base of saltcellars or vases
One commonly molds the foot and the legs up until the calf. And for this effect, one molds it in five pieces: the leg in two pieces, the top of the foot in two, and the bottom in one piece.
at left bottom margin
with three pieces
Crocum Ferri
To make this quickly, redden the filings in an iron ladle, stirring it often. Then sprinkle it with some good vinegar and let it evaporate. And without taking it away from above the fire, let it redden and take flame. Having been cooled, pulverise it on the marble and return it to the heat, sprinkle with vinegar, and then set it on fire. In this way it will soon be colored and made fine.


M4521 BSP
V3.01.000
The Board Support Package for M4521
Here is a list of all struct and union fields with links to the structures/unions they belong to:
- p -
parent :
usb_device
PBUF :
PWM_T
PDID :
SYS_T
PDMACAP0_1 :
PWM_T
PDMACAP2_3 :
PWM_T
PDMACAP4_5 :
PWM_T
PDMACTL :
PWM_T
,
SPI_T
PENDSTS :
EADC_T
PERIOD :
PWM_T
PHS0_1 :
PWM_T
PHS2_3 :
PWM_T
PHS4_5 :
PWM_T
PIN :
GPIO_T
PINCTL :
SC_T
pipe :
urb_t
PKTCRC :
I2C_T
PKTSIZE :
I2C_T
PLLCTL :
CLK_T
POEN :
PWM_T
POLCTL :
PWM_T
PORCTL :
SYS_T
PRICLR :
PDMA_T
PRISET :
PDMA_T
priv :
uac_dev_t
PWRCTL :
CLK_T
Generated on Tue Feb 14 2023 12:11:07 for M4521 BSP by
1.9.3


Instructions: Try a positive psychology experiment, "Positive and Negative Affect Scale", PANAS for short. Read each feeling or emotion and select how you feel right now.
Level of feeling/emotion currently
| Not at All |
A Little | Moderately | Quite a Bit | Strongly | |
| Not at All |
A Little | Moderately | Quite a Bit | Strongly | |


Instructions:
Switch between fault trees - 1/2/3
Pan fault tree - Mouse click + drag
Zoom in/out on fault tree - Mouse scroll wheel
Scale the fault tree to canvas - F
Toggle between 'dynamic' and 'fixed' canvas sizing - D
Fault Tree Viewer This program comes preloaded with 3 fault trees which can be alternated between by pressing the 1/2/3 keys on the keyboard. The keypress functions operate using a switch statement which performs different functions depending on the key you press. The fault trees are composed on 4 different objects: OrGate, AndGate, BasicEvent and TransferGate. These are all drawn using the pContext.moveTo/LineTo functions. The AndGate uses pContext.arc to draw a semi circle arc. The OrGate is drawn completely using bezier curves. BasicEvents and TransferGates are drawn using a algorithm which draws around a centre point depending on the number of segments which the viewer has been programmed to draw.
In the top right corner of the screen is the mini map, this displays a complete view of each fault tree and shows you exactly where you are on the tree, which is indicated by a red rectangle inside the mini map showing the current field of view. The mini map is basically the fault tree being redrawn again inside the rectangle and scaled down to fit inside. It uses the same panning function as the main fault tree but the numbers are negated. This is because when you want to view the right hand side of the tree, you are actually dragging left to move to the right of the tree. If the pan values were positive, the mini map viewing rectangle would move in the opposite direction. The viewing rectangle also zooms in when you do on the main tree. A separate scaling variable is used on the rectangle so that it zooms in when you zoom out on the canvas and vice versa.
As mentioned with the mini map. The viewer has a zooming functionality which operates using the mouses scroll wheel. Javascript has an event called wheelDelta which can be used to determine what happens when you scroll the mouse wheel back or forward one increment. The zooming works by reducing the scale (scrolling back) or increasing the scale (scrolling forward). There is also a boundary put in place to stop the viewer from zooming too far out (below the scale of 0).
You can pan the fault tree on the canvas by clicking on the mouse and dragging (unaffected by scale besides going slower when zoomed in by a large amount. Panning is done by making use of a vector object which has add and subtract functions programmed into it. These functions allow the calculations of the panning to be applied. Whenever the canvas is panned, it is basically constantly redrawing on the new coordinates it has been translated to. The canvas dynamically captures the current mouse positions and the previous mouse positions using the event clientX/Y functions for finding mouse positions on the canvas. The previous mouse positions is subtracted from the current mouse position to leave a value which is the offset between the two positions. Whenever the canvas is panning, the pan vector is constantly calculating the new positions of the fault tree.
The fault tree itself is drawn and translated using a recursive function which works out the amount of child the tree has and translates it accordingly using an algorithm. This is dynamic, so despite only having 3 fault trees preloaded, any amount of nodes can be added to the tree and it would calculate the precise amount of space needed and draw the lines between. The recursive function will constantly loop on itself until all of the children of that tree have been found. With each increment of the loop, the branch width also increases to the amount of children that parent has. The children are translated by a context.translate which is based off dividing the total width, the child width and the previous child's width.
The program can toggle between fixed and dynamic sizing by pressing the D key. The default setting is fixed so pressing D it will enable dynamic sizing. The dynamic sizing of the canvas means that the entire canvas will scale according to the size of the browser window.


Passion. Promptitude. Dedication. Three qualities we found in Alex from the very beginning of our collaboration in 2014. Working with him on our three websites has been a truly positive experience. Not only did he deliver everything we agreed upon, but he also understood our needs and came up with new ideas and solutions no matter whether he had to create a brand new website or upgrade a website to make it more attractive, accessible, and mobile responsive. We appreciate his commitment and problem-solving attitude and we will definitely continue to rely on him to maintain our websites, perform upgrades, updates and system backups. Thank you, Alex, for your great work and excellent collaboration!
- Lelia Papp
Centre for Regional Geography, Babeş-Bolyai University
Our templates are updated regularly so they don't break.
You can use this theme as is, or you can make changes!
We update dependencies to keep things fresh.
You have to make your websites with love these days!
Ready to start your next project? That's great! Use the form bellow and I will get back to you as soon as possible!


Funny Jokes Whics will Actually make you smile
75 Funny Insults which are Incredibly Brutal!
 Our list of the 75 top funny insults, we suggest if you decide to use them do it with extreme caution!
If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

If laughter is the best medicine, your face must be curing the world.

Looking for more fun? Read our 120 cheesy pick up lines!
Know somebody who could make use of these funny insults? Share this page on social media!
Share
100
Share
2
Read more funny pages, check out our full list below!
Funny Jokes
Funny Poems
Funny Jokes
Funny Jokes
Funny Jokes
Funny Jokes
Funny Jokes
Funny Jokes


--- layout: default title: DMD Polygons ---
You found DMD Polygons. Way to go! This is under deveopment, but if you ask PolyBot for a polygon on Slack, she just might help you out.
{{ polygon.content }}
{% if polygon.award-criteria != null %} View award criteria {% endif %}


Enter the email address of the user you want to invite below. The email address must belong to a registered user
{{ errorText }}
{{ successText }}


1xx Informational
|
100 Continue The server has received the request headers, and that the client should proceed to send the request body. |
|
|
101 Switching protocols The requester has asked the server to switch protocols and the server is acknowledging that it will do so. |
|
|
102 Processing The server has received and is processing the request, but no response is available yet. |
2xx Success
|
200 OK The standard response for successful HTTP requests. |
|
|
201 Created The request has been fulfilled and a new resource has been created. |
|
|
202 Accepted The request has been accepted but has not been processed yet. This code does not guarantee that the request will process successfully. |
|
|
203 Non-authoritative information HTTP 1.1. The server successfully processed the request but is returning information from another source. |
|
|
204 No content The server accepted the request but is not returning any content. This is often used as a response to a |
|
|
205 Reset content Similar to a |
|
|
206 Partial content The server is delivering only a portion of the content, as requested by the client via a range header. |
|
|
207 Multi-status The message body that follows is an XML message and can contain a number of separate response codes, depending on how many sub-requests were made. WebDAV - RFC 4918 |
|
|
208 Already reported The members of a DAV binding have already been enumerated in a previous reply to this request, and are not being included again. WebDAV - RFC 5842 |
|
|
226 IM used The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance. |
3xx Redirection
|
300 Multiple choices There are multiple options that the client may follow. |
|
|
301 Moved permanently The resource has been moved and all further requests should reference its new URI. |
|
|
302 Found The HTTP 1.0 specification described this status as "Moved Temporarily", but popular browsers respond to this status similar to behavior intended for |
|
|
303 See other The resource can be retrieved by following other URI using the |
|
|
304 Not modified The resource has not been modified since the version specified in |
|
|
305 Use proxy HTTP 1.1. The resource is only available through a proxy and the address is provided in the response. |
|
|
306 Switch proxy Deprecated in HTTP 1.1. Used to mean that subsequent requests should be sent using the specified proxy. |
|
|
307 Temporary redirect HTTP 1.1. The request should be repeated with the URI provided in the response, but future requests should still call the original URI. |
|
|
308 Permanent redirect Experimental. The request and all future requests should be repeated with the URI provided in the response. The HTTP method is not allowed to be changed in the subsequent request. |
|
|
308 Resume Incomplete (Google) This code is used in the Resumable HTTP Requests Proposal to resume aborted PUT or POST requests |
4xx Client Error
|
400 Bad request The request could not be fulfilled due to the incorrect syntax of the request. |
|
|
401 Unauthorized The requester is not authorized to access the resource. This is similar to |
|
|
402 Payment required Reserved for future use. Some web services use this as an indication that the client has sent an excessive number of requests. |
|
|
403 Forbidden The request was formatted correctly but the server is refusing to supply the requested resource. Unlike |
|
|
404 Not found The resource could not be found. This is often used as a catch-all for all invalid URIs requested of the server. |
|
|
405 Method not allowed The resource was requested using a method that is not allowed. For example, requesting a resource via a |
|
|
406 Not acceptable The resource is valid, but cannot be provided in a format specified in the |
|
|
407 Proxy authentication required Authentication is required with the proxy before requests can be fulfilled. |
|
|
408 Request timeout The server timed out waiting for a request from the client. The client is allowed to repeat the request. |
|
|
409 Conflict The request cannot be completed due to a conflict in the request parameters. |
|
|
410 Gone The resource is no longer available at the requested URI and no redirection will be given. |
|
|
411 Length required The request did not specify the length of its content as required by the resource. |
|
|
412 Precondition failed The server does not meet one of the preconditions specified by the client. |
|
|
413 Request entity too large The request is larger than what the server is able to process. |
|
|
414 Request-URI too long The URI provided in the request is too long for the server to process. This is often used when too much data has been encoded into the URI of a |
|
|
415 Unsupported media type The client provided data with a media type that the server does not support. |
|
|
416 Requested range not satisfiable The client has asked for a portion of the resource but the server cannot supply that portion. |
|
|
417 Expectation failed The server cannot meet the requirements of the Expect request-header field. |
|
|
421 Misdirected request The request was directed at a server that is not able to produce a response. This can be sent by a server that is not configured to produce responses for the combination of scheme and authority that are included in the request URI. HTTP/2 - RFC 7540 |
|
|
422 Unprocessable entity The request was formatted correctly but cannot be processed in its current form. Often used when the specified parameters fail validation errors. WebDAV - RFC 4918 |
|
|
423 Locked The requested resource was found but has been locked and will not be returned. WebDAV - RFC 4918 |
|
|
424 Failed dependency The request failed due to a failure of a previous request. WebDAV - RFC 4918 |
|
|
426 Upgrade required The client should repeat the request using an upgraded protocol such as TLS 1.0. |
|
|
428 Precondition required The origin server requires the request to be conditional. Additional HTTP Status Codes - RFC 6585 |
|
|
429 Too many requests The user has sent too many requests in a given amount of time ("rate limiting"). Additional HTTP Status Codes - RFC 6585 |
|
|
431 Request header fields too large The server is unwilling to process the request because its header fields are too large. Additional HTTP Status Codes - RFC 6585 |
|
|
440 Login Timeout (Microsoft) A Microsoft extension. Indicates that your session has expired. |
|
|
444 No Response (Nginx) Used in Nginx logs to indicate that the server has returned no information to the client and closed the connection (useful as a deterrent for malware). |
|
|
449 Retry With (Microsoft) A Microsoft extension. The request should be retried after performing the appropriate action. |
|
|
450 Blocked by Windows Parental Controls (Microsoft) A Microsoft extension. This error is given when Windows Parental Controls are turned on and are blocking access to the given webpage. |
|
|
451 Unavailable For Legal Reasons (Internet draft) Defined in the internet draft "A New HTTP Status Code for Legally-restricted Resources". Intended to be used when resource access is denied for legal reasons, e.g. censorship or government-mandated blocked access. A reference to the 1953 dystopian novel Fahrenheit 451, where books are outlawed. |
|
|
451 Redirect (Microsoft) Used in Exchange ActiveSync if there either is a more efficient server to use or the server cannot access the users' mailbox. |
|
|
494 Request Header Too Large (Nginx) Nginx internal code similar to 431 but it was introduced earlier in version 0.9.4 (on January 21, 2011). |
|
|
495 Cert Error (Nginx) Nginx internal code used when SSL client certificate error occurred to distinguish it from 4XX in a log and an error page redirection. |
|
|
496 No Cert (Nginx) Nginx internal code used when client didn't provide certificate to distinguish it from 4XX in a log and an error page redirection. |
|
|
497 HTTP to HTTPS (Nginx) Nginx internal code used for the plain HTTP requests that are sent to HTTPS port to distinguish it from 4XX in a log and an error page redirection. |
|
|
498 Token expired/invalid (Esri) Returned by ArcGIS for Server. A code of 498 indicates an expired or otherwise invalid token. |
|
|
499 Client Closed Request (Nginx) Used in Nginx logs to indicate when the connection has been closed by client while the server is still processing its request, making server unable to send a status code back. |
|
|
499 Token required (Esri) Returned by ArcGIS for Server. A code of 499 indicates that a token is required (if no token was submitted). |
5xx Server Error
|
500 Internal server error A generic status for an error in the server itself. |
|
|
501 Not implemented The server cannot respond to the request. This usually implies that the server could possibly support the request in the future — otherwise a |
|
|
502 Bad gateway The server is acting as a proxy and did not receive an acceptable response from the upstream server. |
|
|
503 Service unavailable The server is down and is not accepting requests. |
|
|
504 Gateway timeout The server is acting as a proxy and did not receive a response from the upstream server. |
|
|
505 HTTP version not supported The server does not support the HTTP protocol version specified in the request. |
|
|
506 Variant also negotiates Transparent content negotiation for the request results in a circular reference. |
|
|
507 Insufficient storage The user or server does not have sufficient storage quota to fulfill the request. WebDAV - RFC 4918 |
|
|
508 Loop detected The server detected an infinite loop in the request. WebDAV - RFC 5842 |
|
|
509 Bandwidth Limit Exceeded (Apache bw/limited extension) This status code is not specified in any RFCs. Its use is unknown. |
|
|
510 Not extended Further extensions to the request are necessary for it to be fulfilled. |
|
|
511 Network authentication required The client must authenticate with the network before sending requests. |
|
|
520 Unknown Error (Microsoft / CloudFlare) This status code is not specified in any RFC and is returned by certain services, for instance Microsoft Azure and CloudFlare servers: "The 520 error is essentially a "catch-all" response for when the origin server returns something unexpected or something that is not tolerated/interpreted (protocol violation or empty response)." |
|
|
521 Web Server Is Down (CloudFlare) The origin server has refused the connection from CloudFlare. |
|
|
522 Connection Timed Out (CloudFlare) CloudFlare could not negotiate a TCP handshake with the origin server. |
|
|
523 Origin Is Unreachable (CloudFlare) CloudFlare could not reach the origin server; for example, if the DNS records for the origin server are incorrect. |
|
|
524 A Timeout Occurred (CloudFlare) CloudFlare was able to complete a TCP connection to the origin server, but did not receive a timely HTTP response. |
|
|
525 SSL Handshake Failed (CloudFlare) CloudFlare could not negotiate a SSL/TLS handshake with the origin server. |
|
|
526 Invalid SSL Certificate (CloudFlare) CloudFlare could not validate the SSL/TLS certificate that the origin server presented. |
|
|
527 Railgun Error (CloudFlare) The request timed out or failed after the WAN connection has been established. |
Notes
- Based on cheat.errtheblog.com and List of HTTP status codes on Wikipedia.


Simple lock delivers a lock that is safe across threads in the same JVM. It is NOT safe across multiple JVMs.
It includes a JMX interface to allow you to manually manage locks (ie view and kill) if necessary.


| Package | Description |
|---|---|
| com.tomzhu.bitmap |
a bit map implementation.
|
| com.tomzhu.external | |
| com.tomzhu.hash |
a group of hash table structures by different hashing method.
|
| com.tomzhu.heap |
a group of heap structures including
BasicArrayHeap ,
BasicDoubleEndedHeap etc. |
| com.tomzhu.list | |
| com.tomzhu.tree |
a group of tree liked data structures including
BinarySearchTree ,
SplayTree , AVLTree , RedBlackTree etc. |