He was lying on something that felt like a camp bed, except that it was higher off the ground and that he was fixed down in some way so that he could not move. Light that seemed stronger than usual was falling on his face. O'Brien was standing at his side, looking down at him intently. At the other side of him stood a man in a white coat, holding a hypodermic皮下注射器 a medical instrument with a long thin needle that is used to give sb an injection under their skin syringe注射器 a plastic or glass tube with a long hollow needle that is used for putting drugs, etc. into a person's body or for taking a small amount of blood from a person. 笔记：Winston被绑在刑具床上
Even after his eyes were open he took in his surroundings only gradually. He had the impression of swimming up into this room from some quite different world, a sort of underwater world far beneath it. How long he had been down there he did not know. Since the moment when they arrested him he had not seen darkness or daylight. Besides, his memories were not continuous. There had been times when consciousness, even the sort of consciousness that one has in sleep, had stopped dead and started again after a blank interval. But whether the intervals were of days or weeks or only seconds, there was no way of knowing. 笔记：Winston这几天来的记忆是断断续续的
With that first blow on the elbow the nightmare had started. Later he was to realize that all that then happened was merely a preliminary, a routine interrogation审问；审讯 the act or process of questioning somebody closely, often in an aggressive manner, especially as part of an official investigation or trial to which nearly all prisoners were subjected. There was a long range of crimes—espionage间谍活动；谍报活动；刺探活动 the activity of secretly getting important political or military information about another country or of finding out another company's secrets by using spies, sabotage（为防止敌人利用或表示抗议而对设备、交通等进行的）蓄意毁坏，人为破坏the act of doing deliberate damage to equipment, transport, machines, etc. to prevent an enemy from using them, or to protest about sth, and the like—to which everyone had to confess as a matter of course. The confession was a formality例行公事 a thing that you must do as part of an official process, but which has little meaning and will not affect what happens, though the torture was real. How many times he had been beaten, how long the beatings had continued, he could not remember. Always there were five or six men in black uniforms at him simultaneously. Sometimes it was fists, sometimes it was truncheons警棍a short thick stick that police officers carry as a weapon, sometimes it was steel rods, sometimes it was boots. There were times when he rolled about the floor, as shameless as an animal, writhing（常指因剧痛不停地）扭动，翻滚 to twist or move your body without stopping, often because you are in great pain his body this way and that in an endless, hopeless effort to dodge the kicks, and simply inviting more and yet more kicks, in his ribs, in his belly, on his elbows, on his shins胫；胫部the front part of the leg below the knee, in his groin腹股沟；大腿根儿the part of the body where the legs join at the top including the area around the genitals (= sex organs), in his testicles睾丸 either of the two organs that produce sperm , located in a bag of skin below the penis, on the bone at the base of his spine脊柱；脊椎 the row of small bones that are connected together down the middle of the back. There were times when it went on and on until the cruel, wicked, unforgivable thing seemed to him not that the guards continued to beat him but that he could not force himself into losing consciousness.  There were other times when he started out with the resolve决心；坚定的信念 strong determination to achieve sth of confessing nothing, when every word had to be forced out of him between gasps of pain, and there were times when he feebly虚弱地,有气无力地 tried to compromise, when he said to himself: ‘I will confess, but not yet. I must hold out till the pain becomes unbearable. Three more kicks, two more kicks, and then I will tell them what they want.' Sometimes he was beaten till he could hardly stand, then flung like a sack of potatoes on to the stone floor of a cell, left to recuperate康复；恢复；恢复健康 to get back your health, strength or energy after being ill/sick, tired, injured, etc. for a few hours, and then taken out and beaten again. There were also longer periods of recovery. He remembered them dimly, because they were spent chiefly in sleep or stupor（尤指由于醉酒、吸毒或惊吓而出现的）神志不清，恍惚，麻痹状态a state in which you are unable to think, hear, etc. clearly, especially because you have drunk too much alcohol, taken drugs or had a shock. He remembered a cell with a plank bed, a sort of shelf sticking out from the wall, and a tin wash-basin, and meals of hot soup and bread and sometimes coffee. He remembered a surly barber（为男子理发、修面的）理发师 a person whose job is to cut men's hair and sometimes to shave them arriving to scrape his chin and crop his hair, and businesslike, unsympathetic men in white coats feeling his pulse, tapping his reflexes, turning up his eyelids, running harsh fingers over him in search for broken bones, and shooting needles into his arm to make him sleep. 笔记：讲述Winston在过去几天内受到的身体上的毒打
The beatings grew less frequent, and became mainly a threat, a horror to which he could be sent back at any moment when his answers were unsatisfactory. His questioners now were not ruffians暴徒；恶棍 a violent man, especially one who commits crimes in black uniforms but Party intellectuals, little rotund圆胖的；肥圆的 having a fat round body men with quick movements and flashing spectacles, who worked on him in relays over periods which lasted—he thought, he could not be sure—ten or twelve hours at a stretch. These other questioners saw to it that he was in constant slight pain, but it was not chiefly pain that they relied on.  Their real weapon was the merciless questioning that went on and on, hour after hour, tripping him up, laying traps for him, twisting everything that he said, convicting him at every step of lies and self-contradiction until he began weeping as much from shame as from nervous fatigue. Sometimes he would weep half a dozen times in a single session. Most of the time they screamed abuse at him and threatened at every hesitation to deliver him over to the guards again; but sometimes they would suddenly change their tune, call him comrade, appeal to him in the name of Ingsoc and Big Brother, and ask him sorrowfully whether even now he had not enough loyalty to the Party left to make him wish to undo the evil he had done. When his nerves were in rags after hours of questioning, even this appeal could reduce him to snivelling tears. In the end the nagging纠缠不休的；难以摆脱的 continuing for a long time and difficult to cure or remove voices broke him down more completely than the boots and fists of the guards. He became simply a mouth that uttered, a hand that signed, whatever was demanded of him. His sole concern was to find out what they wanted him to confess, and then confess it quickly, before the bullying started anew. He confessed to the assassination of eminent Party members, the distribution of seditious煽动(性)的;扰乱治安的;煽动叛变的 involving or encouraging rebellion against a government or other authority pamphlets, embezzlement侵吞公款 of public funds, sale of military secrets, sabotage of every kind. He confessed that he had been a spy in the pay of the Eastasian government as far back as 1968.笔记：如果当时是1984年，那么距离1968年已经16年了。 He confessed that he was a religious believer, an admirer of capitalism, and a sexual pervert性变态者 a person whose sexual behaviour is not thought to be normal or acceptable by most people. He confessed that he had murdered his wife, although he knew, and his questioners must have known, that his wife was still alive. He confessed that for years he had been in personal touch with Goldstein and had been a member of an underground organization which had included almost every human being he had ever known. It was easier to confess everything and implicate牵涉，涉及（某人）to show or suggest that sb is involved in sth bad or criminal everybody. Besides, in a sense it was all true. It was true that he had been the enemy of the Party, and in the eyes of the Party there was no distinction between the thought and the deed. 笔记：讲述Winston在精神上受到的伤害
There were also memories of another kind. They stood out in his mind disconnectedly, like pictures with blackness all round them.
He was in a cell which might have been either dark or light, because he could see nothing except a pair of eyes. Near at hand some kind of instrument was ticking slowly and regularly. The eyes grew larger and more luminous. Suddenly he floated out of his seat, dived into the eyes, and was swallowed up.
He was strapped用带子系（或捆、扎、扣）好 to fasten sb/sth in place using a strap or straps into a chair surrounded by dials, under dazzling lights. A man in a white coat was reading the dials. There was a tramp of heavy boots outside. The door clanged open. The waxed-faced officer marched in, followed by two guards.
‘Room 101,' said the officer.
The man in the white coat did not turn round. He did not look at Winston either; he was looking only at the dials.
 He was confessing everything, even the things he had succeeded in holding back under the torture. He was relating the entire history of his life to an audience who knew it already. With him were the guards, the other questioners, the men in white coats, O'Brien, Julia, Mr Charrington, all rolling down the corridor together and shouting with laughter. Some dreadful thing which had lain embedded in the future had somehow been skipped over and had not happened. Everything was all right, there was no more pain, the last detail of his life was laid bare揭露；说出, understood, forgiven. 笔记：坦白、被理解、被原谅。
He was starting up from the plank木板；板条 a long narrow flat piece of wood that is used for making floors, etc. bed in the half-certainty that he had heard O'Brien's voice. All through his interrogation, although he had never seen him, he had had the feeling that O'Brien was at his elbow, just out of sight. It was O'Brien who was directing everything. It was he who set the guards on to Winston and who prevented them from killing him. It was he who decided when Winston should scream with pain, when he should have a respite短暂的延缓；喘息 a short delay allowed before sth difficult or unpleasant must be done, when he should be fed, when he should sleep, when the drugs should be pumped into his arm.笔记：O'Brien在拷问Winston，但我觉得，后续剧情中，Winston还会变得感激O'Brien It was he who asked the questions and suggested the answers. He was the tormentor, he was the protector, he was the inquisitor, he was the friend. And once—Winston could not remember whether it was in drugged sleep, or in normal sleep, or even in a moment of wakefulness—a voice murmured in his ear: ‘Don't worry, Winston; you are in my keeping. For seven years I have watched over you. Now the turning-point has come. I shall save you, I shall make you perfect.' He was not sure whether it was O'Brien's voice; but it was the same voice that had said to him, ‘We shall meet in the place where there is no darkness,' in that other dream, seven years ago. 笔记：讲述Winston被O'Brien拷问
He did not remember any ending to his interrogation. There was a period of blackness and then the cell, or room, in which he now was had gradually materialized round him. He was almost flat on his back, and unable to move. His body was held down at every essential point. Even the back of his head was gripped in some manner. O'Brien was looking down at him gravely and rather sadly. His face, seen from below, looked coarse and worn, with pouches under the eyes and tired lines from nose to chin. He was older than Winston had thought him; he was perhaps forty-eight or fifty. Under his hand there was a dial with a lever on top and figures running round the face.
‘I told you,' said O'Brien, ‘that if we met again it would be here.'
‘Yes,' said Winston.
Without any warning except a slight movement of O'Brien's hand, a wave of pain flooded his body. It was a frightening pain, because he could not see what was happening, and he had the feeling that some mortal injury was being done to him. He did not know whether the thing was really happening, or whether the effect was electrically produced; but his body was being wrenched out of shape, the joints were being slowly torn apart. Although the pain had brought the sweat out on his forehead, the worst of all was the fear that his backbone was about to snap. He set his teeth and breathed hard through his nose, trying to keep silent as long as possible.
‘You are afraid,' said O'Brien, watching his face, ‘that in another moment something is going to break. Your especial fear is that it will be your backbone. You have a vivid mental picture of the vertebrae snapping apart and the spinal fluid dripping out of them. That is what you are thinking, is it not, Winston?'
Winston did not answer. O'Brien drew back the lever on the dial. The wave of pain receded almost as quickly as it had come.
‘That was forty,' said O'Brien. ‘You can see that the numbers on this dial run up to a hundred. Will you please remember, throughout our conversation, that I have it in my power to inflict pain on you at any moment and to whatever degree I choose? If you tell me any lies, or attempt to prevaricate支吾搪塞；闪烁其词；吞吞吐吐 to avoid giving a direct answer to a question in order to hide the truth in any way, or even fall below your usual level of intelligence, you will cry out with pain, instantly. Do you understand that?'
‘Yes,' said Winston.
O'Brien's manner became less severe. He resettled his spectacles thoughtfully, and took a pace or two up and down. When he spoke his voice was gentle and patient. He had the air of a doctor, a teacher, even a priest, anxious to explain and persuade rather than to punish.
‘I am taking trouble with you, Winston,' he said, ‘because you are worth trouble. You know perfectly well what is the matter with you. You have known it for years, though you have fought against the knowledge.  You suffer from a defective memory. You are unable to remember real events and you persuade yourself that you remember other events which never happened. Fortunately it is curable. You have never cured yourself of it, because you did not choose to. There was a small effort of the will that you were not ready to make. Even now, I am well aware, you are clinging to your disease under the impression that it is a virtue. Now we will take an example. At this moment, which power is Oceania at war with?'
‘When I was arrested, Oceania was at war with Eastasia.'
‘With Eastasia. Good. And Oceania has always been at war with Eastasia, has it not?'
Winston drew in his breath. He opened his mouth to speak and then did not speak. He could not take his eyes away from the dial.
‘The truth, please, Winston. YOUR truth. Tell me what you think you remember.'
‘I remember that until only a week before I was arrested, we were not at war with Eastasia at all. We were in alliance with them. The war was against Eurasia. That had lasted for four years. Before that——'
O'Brien stopped him with a movement of the hand.
‘Another example,' he said. ‘Some years ago you had a very serious delusion indeed. You believed that three men, three one-time Party members named Jones, Aaronson, and Rutherford—men who were executed for treachery and sabotage after making the fullest possible confession— were not guilty of the crimes they were charged with. You believed that you had seen unmistakable documentary evi- dence proving that their confessions were false. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this.'
An oblong长方形的 used to describe any shape that is longer than it is wide slip of newspaper had appeared between O'Brien's fingers. For perhaps five seconds it was within the angle of Winston's vision. It was a photograph, and there was no question of its identity. It was THE photograph. It was another copy of the photograph of Jones, Aaronson, and Rutherford at the party function in New York, which he had chanced upon笔记：chance on 碰巧遇见 to find or encounter somebody or something unexpectedly eleven years ago and promptly destroyed. For only an instant it was before his eyes, then it was out of sight again. But he had seen it, unquestionably he had seen it! He made a desperate, agonizing effort to wrench the top half of his body free. It was impossible to move so much as a centimetre in any direction. For the moment he had even forgotten the dial. All he wanted was to hold the photograph in his fingers again, or at least to see it.
‘It exists!' he cried.
‘No,' said O'Brien.
He stepped across the room. There was a memory hole in the opposite wall. O'Brien lifted the grating. Unseen, the frail slip of paper was whirling away on the current of warm air; it was vanishing in a flash of flame. O'Brien turned away from the wall.
‘Ashes,' he said. ‘Not even identifiable ashes. Dust. It does not exist. It never existed.'
‘But it did exist! It does exist! It exists in memory. I remember it. You remember it.'
‘I do not remember it,' said O'Brien.
Winston's heart sank. That was doublethink. He had a feeling of deadly helplessness. If he could have been certain that O'Brien was lying, it would not have seemed to matter. But it was perfectly possible that O'Brien had really forgotten the photograph. And if so, then already he would have forgotten his denial of remembering it, and forgotten the act of forgetting. How could one be sure that it was simple trickery? Perhaps that lunatic dislocation in the mind could really happen: that was the thought that defeated him.
O'Brien was looking down at him speculatively思索地. More than ever he had the air of a teacher taking pains with a wayward难以控制的；任性的；倔强的 difficult to control but promising child.
‘There is a Party slogan dealing with the control of the past,' he said. ‘Repeat it, if you please.'
‘Who controls the past controls the future: who controls the present controls the past,' repeated Winston obediently.
‘Who controls the present controls the past,' said O'Brien, nodding his head with slow approval. ‘Is it your opinion, Winston, that the past has real existence?'
Again the feeling of helplessness descended upon Winston. His eyes flitted towards the dial. He not only did not know whether ‘yes' or ‘no' was the answer that would save him from pain; he did not even know which answer he believed to be the true one.
O'Brien smiled faintly. ‘You are no metaphysician形而上学家 a scholar who specializes in the branch of philosophy concerned with the study of the nature of being, existence, time and space, and causality, Winston,' he said. ‘Until this moment you had never considered what is meant by existence. I will put it more precisely. Does the past exist concretely, in space? Is there somewhere or other a place, a world of solid objects, where the past is still happening?'
‘No.'
‘Then where does the past exist, if at all?'
‘In records. It is written down.'
‘In records. And——?'
‘In the mind. In human memories.'
‘In memory. Very well, then. We, the Party, control all records, and we control all memories. Then we control the past, do we not?'
‘But how can you stop people remembering things?' cried Winston again momentarily forgetting the dial. ‘It is involuntary. It is outside oneself. How can you control memory? You have not controlled mine!'
O'Brien's manner grew stern again. He laid his hand on the dial.
‘On the contrary,' he said, ‘YOU have not controlled it. That is what has brought you here. You are here because you have failed in humility谦逊；谦虚 the quality of not thinking that you are better than other people; the quality of being humble, in self-discipline. You would not make the act of submission which is the price of sanity. You preferred to be a lunatic, a minority of one. Only the disciplined mind can see reality, Winston. You believe that reality is something objective, external, existing in its own right. You also believe that the nature of reality is self-evident.  But I tell you, Winston, that reality is not external. Reality exists in the human mind, and nowhere else. Not in the individual mind, which can make mistakes, and in any case soon perishes: only in the mind of the Party, which is collective and immortal. Whatever the Party holds to be the truth, is truth. It is impossible to see reality except by looking through the eyes of the Party. That is the fact that you have got to relearn, Winston. It needs an act of self-destruction, an effort of the will. You must humble yourself before you can become sane.' 笔记：我想，作者在写书的时候，是在头脑中自己与自己对话。
He paused for a few moments, as though to allow what he had been saying to sink in.

O'Brien held up his left hand, its back towards Winston, with the thumb hidden and the four fingers extended.
‘How many fingers am I holding up, Winston?'
‘Four.'
‘And if the party says that it is not four but five—then how many?'
‘Four.'
 The needle of the dial had shot up to fifty-five. The sweat had sprung out all over Winston's body. The air tore into his lungs and issued again in deep groans which even by clenching his teeth he could not stop. O'Brien watched him, the four fingers still extended. He drew back the lever. This time the pain was only slightly eased.
‘How many fingers, Winston?'
‘Four.'
The needle went up to sixty.
‘How many fingers, Winston?'
‘Four! Four! What else can I say? Four!'
The needle must have risen again, but he did not look at it. The heavy, stern face and the four fingers filled his vision. The fingers stood up before his eyes like pillars, enormous, blurry, and seeming to vibrate, but unmistakably four.
‘How many fingers, Winston?'
‘Four! Stop it, stop it! How can you go on? Four! Four!'
‘How many fingers, Winston?'
‘Five! Five! Five!'
‘No, Winston, that is no use. You are lying. You still think there are four. How many fingers, please?'
‘Four! five! Four! Anything you like. Only stop it, stop the pain!'
Abruptly he was sitting up with O'Brien's arm round his shoulders. He had perhaps lost consciousness for a few seconds. The bonds that had held his body down were loosened. He felt very cold, he was shaking uncontrollably, his teeth were chattering, the tears were rolling down his cheeks. For a moment he clung to O'Brien like a baby, curiously comforted by the heavy arm round his shoulders. He had the feeling that O'Brien was his protector, that the pain was something that came from outside, from some other source, and that it was O'Brien who would save him from it.

‘How can I help it?' he blubbered.blubber 大声哭 to cry noisily ‘How can I help seeing what is in front of my eyes? Two and two are four.'
Sometimes, Winston. Sometimes they are five. Sometimes they are three. Sometimes they are all of them at once. You must try harder. It is not easy to become sane.'
He laid Winston down on the bed. The grip of his limbs tightened again, but the pain had ebbed away and the trembling had stopped, leaving him merely weak and cold.  The man in the white coat bent down and looked closely into Winston's eyes, felt his pulse, laid an ear against his chest, tapped here and there, then he nodded to O'Brien.
Again,' said O'Brien.
The pain flowed into Winston's body. The needle must be at seventy, seventy-five.  He knew that the fingers were still there, and still four. All that mattered was somehow to stay alive until the spasm was over. He had ceased to notice whether he was crying out or not. The pain lessened again. He opened his eyes. O'Brien had drawn back the lever.
‘How many fingers, Winston?'
‘Four. I suppose there are four. I would see five if I could. I am trying to see five.'
‘Which do you wish: to persuade me that you see five, or really to see them?'
‘Really to see them.'
‘Again,' said O'Brien.
Perhaps the needle was eighty—ninety. Winston could not intermittently remember why the pain was happening. Behind his screwed-up eyelids a forest of fingers seemed to be moving in a sort of dance, weaving in and out, disappearing behind one another and reappearing again. He was trying to count them, he could not remember why. He knew only that it was impossible to count them, and that this was somehow due to the mysterious identity between five and four. The pain died down again. When he opened his eyes it was to find that he was still seeing the same thing. Innumerable fingers, like moving trees, were still streaming past in either direction, crossing and recrossing.
‘How many fingers am I holding up, Winston?'
‘I don't know. I don't know.  Four, five, six—in all honesty I don't know.'
‘Better,' said O'Brien.
A needle slid into Winston's arm. Almost in the same instant a blissful, healing warmth spread all through his body. The pain was already half-forgotten. He opened his eyes and looked up gratefully at O'Brien. At sight of the heavy, lined face, so ugly and so intelligent, his heart seemed to turn over. If he could have moved he would have stretched out a hand and laid it on O'Brien's arm. He had never loved him so deeply as at this moment, and not merely because he had stopped the pain. The old feeling, that at bottom it did not matter whether O'Brien was a friend or an enemy, had come back. O'Brien was a person who could be talked to. Perhaps one did not want to be loved so much as to be understood. O'Brien had tortured him to the edge of lunacy, and in a little while, it was certain, he would send him to his death. It made no difference. In some sense that went deeper than friendship, they were intimates: somewhere or other, although the actual words might never be spoken, there was a place where they could meet and talk. O'Brien was looking down at him with an expression which suggested that the same thought might be in his own mind. When he spoke it was in an easy, conversational tone.
‘Do you know where you are, Winston?' he said.
‘I don't know. I can guess. In the Ministry of Love.'
‘Do you know how long you have been here?'
‘I don't know. Days, weeks, months—I think it is months.'
‘And why do you imagine that we bring people to this place?'
‘To make them confess.'
‘No, that is not the reason. Try again.'
‘To punish them.'
‘No!' exclaimed O'Brien. His voice had changed extraordinarily, and his face had suddenly become both stern and animated. ‘No! Not merely to extract your confession, not to punish you. Shall I tell you why we have brought you here? To cure you! To make you sane!  We are not interested in those stupid crimes that you have committed. The Party is not interested in the overt act: the thought is all we care about. We do not merely destroy our enemies, we change them. Do you understand what I mean by that?'
He was bending over Winston.   Again Winston's heart shrank. If it had been possible he would have cowered deeper into the bed. He felt certain that O'Brien was about to twist the dial out of sheer wantonness. At this moment, however, O'Brien turned away. He took a pace or two up and down. Then he continued less vehemently:
‘The first thing for you to understand is that in this place there are no martyrdoms殉难；殉道 the suffering or death of a martyr. You have read of the religious persecutions of the past. In the Middle Ages there was the Inquisitlon. It was a failure. It set out to eradicate heresy, and ended by perpetuating it. For every heretic it burned at the stake, thousands of others rose up. Why was that? Because the Inquisition killed its enemies in the open, and killed them while they were still unrepentant不思悔改的；不悔悟的；顽固不化的 showing no shame about your actions or beliefs: in fact, it killed them because they were unrepentant. Men were dying because they would not abandon their true beliefs. Naturally all the glory belonged to the victim and all the shame to the Inquisitor who burned him. Later, in the twentieth century, there were the totalitarians, as they were called. There were the German Nazis and the Russian Communists. The Russians persecuted heresy more cruelly than the Inquisition had done. And they imagined that they had learned from the mistakes of the past; they knew, at any rate, that one must not make martyrs. Before they exposed their victims to public trial, they deliberately set themselves to destroy their dignity. They wore them down by torture and solitude until they were despicable, cringing wretches, confessing whatever was put into their mouths, covering themselves with abuse, accusing and sheltering behind one another, whimpering for mercy. And yet after only a few years the same thing had happened over again. The dead men had become martyrs and their degradation was forgotten. Once again, why was it? In the first place, because the confessions that they had made were obviously extorted and untrue. We do not make mistakes of that kind. All the confessions that are uttered here are true. We make them true. And above all we do not allow the dead to rise up against us. You must stop imagining that posterity will vindicate澄清（责难或嫌疑）；证明（某人）无罪（责） to prove that sb is not guilty when they have been accused of doing sth wrong or illegal you, Winston. Posterity will never hear of you. You will be lifted clean out from the stream of history. We shall turn you into gas and pour you into the stratosphere平流层 the layer of the earth's atmosphere between about 10 and 50 kilometres above the surface of the earth. Nothing will remain of you, not a name in a register, not a memory in a living brain. You will be annihilated in the past as well as in the future. You will never have existed.'
Then why bother to torture me? thought Winston, with a momentary bitterness. O'Brien checked his step as though Winston had uttered the thought aloud.
‘You are thinking,' he said, ‘that since we intend to destroy you utterly, so that nothing that you say or do can make the smallest difference—in that case, why do we go to the trouble of interrogating you first? That is what you were thinking, was it not?'
‘Yes,' said Winston.
O'Brien smiled slightly. ‘You are a flaw in the pattern, Winston. You are a stain that must be wiped out. Did I not tell you just now that we are different from the persecutors of the past? We are not content with negative obedience, nor even with the most abject下贱的；卑躬屈节的；自卑的 without any pride or respect for yourself submission屈服；投降；归顺 the act of accepting that sb has defeated you and that you must obey them. When finally you surrender to us, it must be of your own free will. We do not destroy the heretic because he resists us: so long as he resists us we never destroy him. We convert him, we capture his inner mind, we reshape him. We burn all evil and all illusion out of him; we bring him over to our side, not in appearance, but genuinely, heart and soul. We make him one of ourselves before we kill him. It is intolerable to us that an erroneous thought should exist anywhere in the world, however secret and powerless it may be. Even in the instant of death we cannot permit any deviation. In the old days the heretic walked to the stake still a heretic, proclaiming his heresy, exulting in it. Even the victim of the Russian purges could carry rebellion locked up in his skull as he walked down the passage waiting for the bullet. But we make the brain perfect before we blow it out. The command of the old despotisms was ‘Thou shalt not”. The command of the totalitarians was ‘Thou shalt”. Our command is ‘THOU ART”. No one whom we bring to this place ever stands out against us. Everyone is washed clean. Even those three miserable traitors in whose innocence you once believed—Jones, Aaronson, and Rutherford—in the end we broke them down. I took part in their interrogation myself. I saw them gradually worn down, whimpering抽泣；呜咽；啜泣；泣诉；抽搭着说 to make low, weak crying noises; to speak in this way, grovelling卑躬屈膝；俯首贴耳；奴颜婢膝 to behave in a very humble way towards sb who is more important than you or who can give you sth you want, weeping（通常因悲伤）哭泣，流泪 to cry, usually because you are sad—and in the end it was not with pain or fear, only with penitence忏悔；悔罪；愧疚 a feeling of being sorry because you have done sth wrong. By the time we had finished with them they were only the shells of men. There was nothing left in them except sorrow for what they had done, and love of Big Brother. It was touching to see how they loved him.
His voice had grown almost dreamy. The exaltation兴奋；兴高采烈 a feeling of very great joy or happiness, the lunatic enthusiasm, was still in his face. He is not pretending, thought Winston, he is not a hypocrite伪君子；伪善者；虚伪的人 a person who pretends to have moral standards or opinions that they do not actually have, he believes every word he says. What most oppressed压抑；使窒息；使烦恼 to make sb only able to think about sad or worrying things him was the consciousness of his own intellectual inferiority. He watched the heavy yet graceful form strolling to and fro, in and out of the range of his vision. O'Brien was a being in all ways larger than himself. There was no idea that he had ever had, or could have, that O'Brien had not long ago known, examined, and rejected. His mind CONTAINED Winston's mind. But in that case how could it be true that O'Brien was mad? It must be he, Winston, who was mad. O'Brien halted and looked down at him. His voice had grown stern again.
‘Do not imagine that you will save yourself, Winston, however completely you surrender to us. No one who has once gone astray is ever spared. And even if we chose to let you live out the natural term of your life, still you would never escape from us. What happens to you here is for ever. Understand that in advance. We shall crush you down to the point from which there is no coming back. Things will happen to you from which you could not recover, if you lived a thousand years. Never again will you be capable of ordinary human feeling.  Never again will you be capable of love, or friendship, or joy of living, or laughter, or curiosity, or courage, or integrity. You will be hollow中空的；空心的 having a hole or empty space inside.
He paused and signed to the man in the white coat.  O'Brien had sat down beside the bed, so that his face was almost on a level with Winston's.
‘Three thousand,' he said, speaking over Winston's head to the man in the white coat.
Two soft pads, which felt slightly moist微湿的；湿润的 slightly wet, clamped（用夹具）夹紧，夹住，固定to hold sth tightly, or fasten two things together, with a clamp themselves against Winston's temples. He quailed感觉（或显出）恐惧；胆怯；畏缩 to feel frightened or to show that you are frightened. There was pain coming, a new kind of pain. O'Brien laid a hand reassuringly, almost kindly, on his.
Winston
笔记：讲述Winston在过去几天内受到的毒打


{% extends "froide_crowdfunding/simple_base.html" %} {% block app_body %} {% include "froide_crowdfunding/includes/crowdfunding_form.html" with crowdfunding=crowdfunding %} {% endblock %}


Class: Puma::Rack::Builder
| Relationships & Source Files | |
| Inherits: | Object |
| Defined in: | lib/puma/rack/builder.rb |
Overview
Builder
implements a small DSL
to iteratively construct Rack
applications.
Example:
require 'rack/lobster'
app = Rack::Builder.new do
use Rack::CommonLogger
use Rack::ShowExceptions
map "/lobster" do
use Rack::Lint
run Rack::Lobster.new
end
end
run app
Or
app = Rack::Builder.app do
use Rack::CommonLogger
run lambda { |env| [200, {'Content-Type' => 'text/plain'}, ['OK']] }
end
run app
#use adds middleware to the stack, #run dispatches to an application. You can use #map to construct a URLMap
in a convenient way.
Class Method Summary
Instance Method Summary
- #call(env)
-
#map(path, &block)
Creates a route within the application.
- #run(app)
- #to_app
-
#use(middleware, *args, &block)
Specifies middleware to use in a stack.
-
#warmup(prc = nil, &block)
Takes a lambda or block that is used to warm-up the application.
- #generate_map(default_app, mapping) private
Constructor Details
.new(default_app = nil, &block) ⇒ Builder
# File 'lib/puma/rack/builder.rb', line 180
def initialize(default_app = nil,&block) @use, @map, @run, @warmup = [], nil, default_app, nil # Conditionally load rack now, so that any rack middlewares, # etc are available. begin require 'rack' rescue LoadError end instance_eval(&block) if block_given? end
Class Method Details
.app(default_app = nil, &block)
[ GitHub ].new_from_string(builder_script, file = "(rackup)")
[ GitHub ]# File 'lib/puma/rack/builder.rb', line 175
def self.new_from_string(builder_script, file="(rackup)") eval "Puma::Rack::Builder.new {\n" + builder_script + "\n}.to_app", TOPLEVEL_BINDING, file, 0 end
.parse_file(config, opts = Options.new)
[ GitHub ]# File 'lib/puma/rack/builder.rb', line 159
def self.parse_file(config, opts = Options.new) = {} if config =~ /\.ru$/ cfgfile = ::File.read(config) if cfgfile[/^#\\(.*)/] && opts = opts.parse! $1.split(/\s+/) end cfgfile.sub!(/^__END__\n.*\Z/m, '') app = new_from_string cfgfile, config else require config app = Object.const_get(::File.basename(config, '.rb').capitalize) end return app, end
Instance Method Details
#call(env)
[ GitHub ]# File 'lib/puma/rack/builder.rb', line 287
def call(env) to_app.call(env) end
#generate_map(default_app, mapping) (private)
[ GitHub ]#map(path, &block)
Creates a route within the application.
Rack::Builder.app do
map '/' do
run Heartbeat
end
end
The #use method can also be used here to specify middleware to run under a specific path:
Rack::Builder.app do
map '/' do
use Middleware
run Heartbeat
end
end
This example includes a piece of middleware which will run before requests hit Heartbeat
.
# File 'lib/puma/rack/builder.rb', line 274
def map(path, &block) @map ||= {} @map[path] = block end
#run(app)
Takes an argument that is an object that responds to #call and returns a Rack
response. The simplest form of this is a lambda object:
run lambda { |env| [200, { "Content-Type" => "text/plain" }, ["OK"]] }
However this could also be a class:
class Heartbeat
def self.call(env)
[200, { "Content-Type" => "text/plain" }, ["OK"]]
end
end
run Heartbeat
#to_app
[ GitHub ]#use(middleware, *args, &block)
Specifies middleware to use in a stack.
class Middleware
def initialize(app)
@app = app
end
def call(env)
env["rack.some_header"] = "setting an example"
@app.call(env)
end
end
use Middleware
run lambda { |env| [200, { "Content-Type" => "text/plain" }, ["OK"]] }
All requests through to this application will first be processed by the middleware class. The #call method in this example sets an additional environment key which then can be referenced in the application if required.
#warmup(prc = nil, &block)
# File 'lib/puma/rack/builder.rb', line 251
def warmup(prc=nil, &block) @warmup = prc || block end


|
Job Execution Summary
|
| Property |
Value |
| Job Instance Id |
|
| Job Execution Id |
|
| Job Name |
|
| Launch Time |
|
| Duration |
|
| End Time |
|
| Status |
|
| Exit Code |
|
| Exit Message |
|
| Job Parameters |
|
|
Step Executions
|
| Step Name |
Read |
Writes |
Commits |
Rollbacks |
Read Skips |
Process Skips |
Write Skips |
Duration |
Step Status |
Step Exit Message |
|
|
|
|
|
|
|
|
|
|
|


Case Fatality Rate
Case fatality rate is proportion of deaths compared to the total number of people diagnosed.
Countries which test more people are more likely to identify mild cases. And mortality rates are generally higher in places with more older people.
Lower death rate
Higher death rate
Country
Deaths per cases: 100%


CSS Modal
Please check out the website for more information on how to use the modal.
Examples
- Demo Show
- Demo Fade
- Demo ZoomIn
- Demo PlainScreen
- Demo HTML5Video
- Demo Iframe
- Demo Iframe in content
- Demo Image
- Demo Image 2
- Maximum width
- Maximum width 2
- Stretched height
- Demo Gallery (with captions, also with video)
- Demo Gallery (2nd image active)
- No-Hash
- Stackable modal
Disrupt brunch keffiyeh chillwave Williamsburg. Excepteur food truck thundercats voluptate ethical, whatever in craft beer leggings proident Vice pour-over polaroid. Terry Richardson hoodie Truffaut Wes Anderson kale chips, synth nostrud elit sint id cillum bespoke. Semiotics synth Cosby sweater brunch beard, lo-fi esse Godard Echo Park sapiente mollit wayfarers. Cillum lomo cliche, YOLO Cosby sweater fixie tumblr eu umami Schlitz assumenda culpa. Chillwave church-key plaid, labore nulla flannel kogi Tonx single-origin coffee cred ex sustainable. Mlkshk ennui polaroid post-ironic sunt, keytar semiotics sriracha fashion axe labore church-key art party.
McSweeney's ex hashtag, officia beard id voluptate authentic gluten-free fingerstache 90's incididunt keytar butcher. Et meggings put a bird on it, retro yr artisan VHS chillwave ethical fixie culpa cliche wolf organic. Salvia keffiyeh fap Odd Future. Skateboard duis shabby chic put a bird on it. Stumptown flannel Williamsburg sartorial, seitan locavore Wes Anderson typewriter cliche. Elit ea nesciunt, keffiyeh cliche quis put a bird on it. Aesthetic food truck consequat, pop-up do commodo letterpress cornhole proident beard whatever Godard.
Literally consequat squid, consectetur cred banjo leggings letterpress salvia incididunt semiotics Tonx. Carles et velit letterpress, kale chips quis labore delectus blue bottle irony nesciunt sed. Gastropub sartorial tote bag, non nostrud sriracha Cosby sweater typewriter pour-over lo-fi. Lomo 8-bit skateboard you probably haven't heard of them consequat freegan. Quis accusamus Marfa fanny pack single-origin coffee raw denim. Tumblr food truck ennui Tonx exercitation. Veniam flannel vegan leggings DIY.


Stories
-
Ricky Bluthenthal: Why do I give to UC Santa Cruz?
UC Santa Cruz had a big impact on my life when I was a student, and it still does. Being there helped me figure out how the world worked.
-
Gratitude for a life of discovery
Siegmund Gutman attributes his life of discovery and inquiry to the interdisciplinary training he got at UC Santa Cruz. His way of expressing his gratitude? Monthly donations.
-
McHenry’s legacy continues
UC Santa Cruz’s founding chancellor Dean McHenry set the tone for the fledgling campus when it opened 50 years ago. Now his estate is sustaining his support of UC Santa Cruz long into the future.
-
Saving history
Donors helped sociology graduate student Jimiliz Valiente-Neighbours preserve a piece of history.
-
Sustaining her vision
Mary Katherine Long's death at 53 was a great shock to her family. Her husband, Professor of Computer Science Darrell Long, decided to commemorate his wife by establishing the Mary Katherine Long Endowed Scholarship Fund.
-
Opening the way
An Alumni Association scholarship unlocked opportunities for student Brandon Vi.
-
Drawing on Experience
Seeking to ensure that the transformative educational experiences he had as a UC Santa Cruz student continue, alumnus Jock Reynolds has established the Alumni Fund for Visiting Artists.
-
Growing a Legacy
Third-generation Central Valley farmer Sharon Naraghi fell in love with UC Santa Cruz's sustainable farming program when she visited the campus's organic farm stand and signed up for a farm-to-fork dinner.
-
Starting a virtuous cycle
Darren Shou of Symantec has a simple explanation for his company's $500,000 contribution toward a $1 million endowment to establish a chair in storage and security at UC Santa Cruz.
-
Stephanie Harkness: Why do I give to UC Santa Cruz?
Giving to UC Santa Cruz allows us to support what inspires and fires our imaginations, whether it's groudbreaking scientific research, experiential education, or interdisciplinary learning.
-
Help for those with the least
Investor Youri Bujko and his wife Luciana Andrade pledged $50,000 to help underprivileged students study the arts at UC Santa Cruz.
-
Nurturing diversity in the sciences
Julie Packard (Crown '74, biology; M.A. '78) has a lifelong love of nature and biology.
Recognizing the institution that nurtured her, she gave $1 million gift to establish the Dean's Fund for Diversity in the Sciences. -
In memory of Josh
The family and close friends of Josh Alper are sustaining the memory of this alumnus, beloved staff member, and avid bicyclist with the Joshua Alper-Marines Foundation.
-
Paul Hall: Why do I give to UC Santa Cruz?
My years here sharpened my thinking, taught me the value of interdisciplinary learning, and set me on my way in life.
-
Paying it forward
Quan Tran got some much-needed financial support—and a big morale boost—when she received a $2,500 Senior Class Council scholarship, with money raised by members of the Class of 2013.


Summary: Wind Speed
In our examination of the data set, we found there to be a very week correlation between wide speeds and a city's latitude. In conclusion,
there is virtually no relationship between a city's distance from the equator and the maximum wind speeds that particular location may
experience.
o fugiat voluptatem dolor, provident officiis, id iusto! Obcaecati incidunt, qui nihil beatae magnam et repudiandae ipsa exercitationem, in, quo totam. -->


Michał Kuklis
Michał has been working as a software developer since 2004. He has experience with various web development tools and frameworks. He enjoys experimenting with new technologies.
Michał received a B.S. from Poznan University of Technology in Computer Science and a M.Eng. from Cornell University in Computer Science. Since 2009 he has been working on various projects for small businesses, startups and bigger corporations. His primary focus is on web and mobile work.
The cooperative structure and values are what drew Michal to CoLab. Since joining the team, he has worked on a variety of projects, ranging from Aggie, a web application that uses social media to track incidents around real-time events such as elections or natural disasters, to Elmo, a mobile data collection and analysis system used in domains such as election monitoring, health and education. He brought to each project his experience, passion and talent.
In his free time Michał enjoys playing soccer, traveling and exploring new countries and cultures, and learning about new approaches in software development.


{% extends "document_download_template.html" %} {%- from "govuk_frontend_jinja/components/button/macro.html" import govukButton -%} {%- from "macros/error_summary.html" import render_error_summary -%} {% block per_page_title %} {% if form.errors %}Error: {% endif %}Confirm your email address {% endblock %} {% block content %}
For security, we need to confirm the email address the file was sent to before you can download it.


Iceland Airwaves 2019: Joe and Shitboys are the fearless, funny punks from the Faroe Islands
Joe and The Shitboys are a band of “bisexual vegans” from the Faroe Islands. How do we know that? Because it’s the very first thing they say on stage at Gaukurinn, the cult venue in downtown Reykjavik on Saturday night (November 9). The venue is beloved by its attendees for several reasons: the food menu is Vegan-only (and delicious), and the establishment only features gender-neutral bathrooms. Gaukurinn describes themselves as a “queer friendly space”, and asks patrons to bring, “joy, love and respect”.
Joe and The Shitboys bring all of them and more to Iceland Airwaves. During their 40-minute set, the shit-punks from the Faroe Island (population 51,000) are wicked, fearless and like to poke fun at just about everyone. During one song they want to check out how many of the crowd are “white cis-gender men” and they call out a crowd-member at random during the song ‘Life is Great You Suck’ but blow them a kiss just so they know it’s all fun and games.
Because that is exactly what these punks are about. The four-piece probably spend just as much roasting the audience face-to-face as they do not-so-discreetly roasting them in their songs. For the carnivores in the audience, there’s ‘If You Believe in Eating Meat Start With Your Dog’, a frank call to devour your pooch, if you love the taste of flesh so much.
Tonight, they’re in the company of friends and in the most fitting of surroundings. Back home on the Faroe Islands, the situation is quite different. The Faroes are overwhelmingly conservative, and the nation scores poorly in the Rainbow Map of Europe, an index which pulls together the legal and social climate for the LGBTQ+ community and rates them on their level of equality. The band also describe the music scene on the Islands as full of “boneless homophobes and misogynists”, and want to use their position to call out shitty behaviour.
Credit: Chloe Hashemi
Songs played during this set rarely last more than a minute – one, called ‘fuCk’, lasts two-seconds and comprises of a singular swear – and flit between energetic, hook-laden scrappy punk anthems and sometimes branch out into groovy territory, like on the ‘Closeted HomoFObe’. Meanwhile lead singer, Fríði, writhes across the stage for over 40-minutes fuelled with both anger at the injustices both home and abroad, and a wicked sense of humour. No-one is safe from their cheeky tongue and no-bullshit approach.
After bashing through 27-songs in 40 minutes (including ‘If You Wanna Be A Cuck I’ll Be Your Bull’, ‘Legalize Everything’ and ‘Eat Ass You Fucking Cowards’), they return for a one-song encore: a cover of Rage Against The Machine’s ‘Sleep Now In The Fire’ – a song built on the injustices committed to Native Americans by invaders. You wonder if, one day, they’ll have an anthem of a similar level.


{% comment %} # Add a cover image here, if you wish.
{% endcomment %}
{{ title }}
{% for author in authors %}
Author:
{{ author }}
{% endfor %} {% comment %} # Example to add additional information, just use Django's templating language # as usual
Edition:
{{ metadata.date }}
Published by:
{{ metadata.publisher }}
Contents
{% endcomment %}


This page allows you to "Blend" integrated data sets together
This table lists successful blend runs, you can view scaling statistics and download the relevent mtz files
This table list successful integrations with XIA2. Select which of these data sets to blend by clicking on the relevent row in the table. Then press "Blend"


On Music is the personal website of Jessica Barnett, a pianist, music theorist, and educator living in Buffalo, New York.
Piano Studio
I have two decades of experience teaching piano to students as young as 4 and as old as 80. I’ve taught in conservatories, private universities, and community music schools. Currently, I teach 30, 45, and 60 minute lessons at my private studio in Elmwood Village, or at your home.
My studio is now accepting students! Contact me!


Year:
1995
2012
Combine Like Continents
Country Sorting:
Name
Population
GDP
United States
Export Partner Sorting:
Amount
Mutuality
Proximity
Name
Mutuality Raking:
Top Partners:


About me
My name is Fenna de Wilde. I am a 21 year old Communication & Multimedia student at the Hogeschool van Amsterdam. I am currently in my third year, where I want to grow as a front-end developer.
"For me to be in a creative environment while doing something technical is something that
makes
me more than
happy."


| cb.cv.predict {xgboost} | R Documentation |
Callback closure for returning cross-validation based predictions.
cb.cv.predict(save_models = FALSE)
save_models |
a flag for whether to save the folds' models. |
This callback function saves predictions for all of the test folds, and also allows to save the folds' models.
It is a "finalizer" callback and it uses early stopping information whenever it is available, thus it must be run after the early stopping callback if the early stopping is used.
Callback function expects the following values to be set in its calling frame:
bst_folds
,
basket
,
data
,
end_iteration
,
params
,
num_parallel_tree
,
num_class
.
Predictions are returned inside of the pred
element, which is either a vector or a matrix,
depending on the number of prediction outputs per data row. The order of predictions corresponds
to the order of rows in the original dataset. Note that when a custom folds
list is
provided in xgb.cv
, the predictions would only be returned properly when this list is a
non-overlapping list of k sets of indices, as in a standard k-fold CV. The predictions would not be
meaningful when user-provided folds have overlapping indices as in, e.g., random sampling splits.
When some of the indices in the training dataset are not included into user-provided folds
,
their prediction value would be NA
.


| Home | Libraries | People | FAQ | More |
|
1. |
Don't noncopyable signal semantics mean that a class with a signal member will be noncopyable as well? signal 的不可复制语义并不是意味着带有 signal 成员的类也是不可复制的？ |
No. The compiler will not be able to generate a copy constructor or copy assignment operator for your class if it has a signal as a member, but you are free to write your own copy constructor and/or copy assignment operator. Just don't try to copy the signal. 对。如果你的类有一个 signal 成员，编译器就不能为你的类生成一个复制构造函数或复制赋值操作符，但是你可以自己编写复制构造函数和/或赋值操作符。只是不要试图复制那个 signal。 |
|
|
2. |
Is Boost.Signals thread-safe? Boost.Signals 是线程安全的吗？ |
No. Using Boost.Signals in a multithreaded concept is very dangerous, and it is very likely that the results will be less than satisfying. Boost.Signals will support thread safety in the future. 不是。在多线程中使用 Boost.Signals 是很危险的，这个结果不能满足需要。Boost.Signals 在未来将会支持线程安全。 |
|
|
3. |
How do I get Boost.Signals to work with Qt? 我如何让 Boost.Signals 与 Qt 一起使用呢？ |
|
When building with Qt, the Moc keywords
与 Qt 一起构建时，Moc 关键字
For Qt 4.1 and later, This behavior
can be turned off in Qt on a per-project or per-file basis
with the CONFIG += no_keywords # so Qt won't #define any non-all-caps `keywords' Now you can mix Boost.Signals and Qt Signals and Slots
in the same files, and even within the same class or function.
You will have to use the upper-case versions of Qt macros in
your own code. See the article A
Deeper Look at Signals and Slots [off-site] for more
complete examples and a survey of the strengths of the two
systems. Older versions of Qt did not
provide a reliable mechanism for avoiding these unfriendly,
all lower-case `keyword'-like macros. Although this is a
problem with Qt and not Boost.Signals, a user can use the two
systems together with a little extra effort. There are two
ways to do this: The first way involves defining
the namespace boost { The second way, provided by Frank Hess and improved by
Niels Dekker, involves
creating a header #ifndef SIGNALSLIB_HPP_INCLUDED Use this header to include the Boost library, then refer
to it in the namespace |
Last revised: May 21, 2008 at 16:57:05 -0400 |


Derek Eder
@derekeder
This is what civic tech looks like! @mheadd @Civicist @codeforamerica @knightfdn @OmidyarNetwork #civictech https://twitter.com/ilenviro/status/755074316312666112
7/18/2016, 5:41:56 PM
Favs: 16
Retweets: 7
link← @derekeder Twitter archive
Derek Eder
@derekeder
This is what civic tech looks like! @mheadd @Civicist @codeforamerica @knightfdn @OmidyarNetwork #civictech https://twitter.com/ilenviro/status/755074316312666112
7/18/2016, 5:41:56 PM
Favs: 16
Retweets: 7
linkDerek Eder
@derekeder
@mheadd @Civicist @codeforamerica @knightfdn @OmidyarNetwork @ilenviro @ChiRecycling context from @clairemicklin https://chihacknight.org/blog/2016/07/15/recycling-reform-is-on-the-horizon-in-chicago.html
7/18/2016, 5:43:30 PM
Favs: 2
Retweets: 2
link


Beachbum Berry in the Press
Drinks International 2019 Bar World 100: The Industry’s Most Influential Figures (PDF)
Jeff Berry’s page in Wikipedia
“Reanimate your tiki cocktails...”
BLOOMBERG NEWS ON ZOMBIE RUM BLEND
“It was like Disney with booze...”
WASHINGTON POST PROFILE
“Without Jeff Berry... the current tiki revival simply never would have happened...”
EATER PROFILE
“Widely regarded as the world’s leading tiki expert...”
NEW ORLEANS TIMES-PICAYUNE BUM INTERVIEW and VIDEO INTERVIEW
“Mr. Berry’s single-minded scholarship has gained him respect in the cocktail world...”
NEW YORK TIMES BUM PROFILE
“Jeff ‘Beachbum’ Berry is arguably the greatest living authority on tiki, both as a phenomenon and as a human database of tiki cocktails...”
CLASS MAGAZINE BUM INTERVIEW
“You look like you could use a drink...”
WGNO TV SEGMENT (VIDEO)
“Simultaneously loaded with nostalgia and wide-open for invention...”
NEW ORLEANS ADVOCATE LATITUDE 29 REVIEW
“It has the added feature of a creepy stare...” IMBIBE MAGAZINE ON BEACHBUM BERRY BARWARE
”You really feel like you’ve been transported somewhere here...”
WWL TV LATITUDE 29 REVIEW (VIDEO)


In the triangle ABC let the square on one side BC equal the sum of the squares on the sides BA and AC
I say that the angle BAC is right.
Draw AD from the point A at right angles to the straight line AC. Make AD equal to BA, and join DC.
Since DA equals AB, therefore the square on DA also equals the square on AB.
Add the square on AC to each. Then the sum of the squares on DA and AC equals the sum of the squares on BA and AC.
But the square on DC equals the sum of the squares on DA and AC, for the angle DAC is right, and the square on BC equals the sum of the squares on BA and AC, for this is the hypothesis, therefore the square on DC equals the square on BC, so that the side DC also equals BC.
Since DA equals AB, and AC is common, the two sides DA and AC equal the two sides BA and AC, and the base DC equals the base BC, therefore the angle DAC equals the angle BAC. But the angle DAC is right, therefore the angle BAC is also right.
Therefore if in a triangle the square on one of the sides equals the sum of the squares on the remaining two sides of the triangle, then the angle contained by the remaining two sides of the triangle is right.


Test 3: Footer get down!
Now we're going to make the footer stick to the bottom of the site no matter how tall the page is.
Because you have the structure of the page now and you'll need to be making these changes in the style.css stylesheet (which is referenced on all the pages) you shouldn't need to do any copying and pasting across each page with this. Yay!
- We already have the six main elements on the page we need to make this work:
html
, body
, div
with an ID of container, header
, main
and footer
so you shouldn't need to touch the HTML files here.
- This is something that you might get asked to do on sites that don't have masses of content, so it's useful to know. A lot of sites are extremely long and require lots of scrolling so for those you won't need to do this, but it's good to know the technique is out there if you need it. ANYWAY
- Using this fabulous guide from 2007 (written by someone called Matthew James Taylor - friend of yours?) apply the correct styling to our elements to keep our footer at the bottom of the screen. We're both using divs with an ID of container, but he's used IDs to target the elements inside his container div, whereas we're using html5 elements so remember when he has
div id="header"
- that's our header
element, his div id="body"
is our main
element etc.
- Yeah, so if you can look at how he's done it and apply his styles to our elements to keep that footer DOWN without changing any of our HTML you're onto a winner. I can never remember how to do this and google 'footer get down' literally every time to find this article, so it's useful to have in your arsenal. Bon chance!


Men
Some quick example text to build on the card title and make up the bulk of the card's content.
Collection{% extends 'shared/base.html' %} {% load static %} {% block site_title %} Home {% endblock %} {% block site_links %} {% endblock %} {% block site_scripts %} {% endblock %} {% block site_content %} {% include 'home/slideshow.html' %}
Some quick example text to build on the card title and make up the bulk of the card's content.
CollectionSome quick example text to build on the card title and make up the bulk of the card's content.
CollectionSome quick example text to build on the card title and make up the bulk of the card's content.
CollectionSome quick example text to build on the card title and make up the bulk of the card's content.
CollectionSome quick example text to build on the card title and make up the bulk of the card's content.
Collection


--- layout: post title: How my KTH Thesis looks like after the approval date: 2013-08-18 15:33:12.000000000 +02:00 categories: - Hadoop - Orchestration - Platform as a Service - Profession - Studies tags: - Chef - Java - Jclouds - KTH - Paas - Platform as a Service - thesis status: publish type: post published: true meta: _edit_last: '25316034' geo_public: '0' _publicize_pending: '1' _wpas_skip_4339423: '1' publicize_twitter_user: alorlea _wpas_done_4230303: '1' _publicize_done_external: a:1:{s:7:"twitter";a:1:{i:398955357;b:1;}} _wpas_skip_4230303: '1' author: login: alorlea email<EMAIL_ADDRESS>display_name: alorlea first_name: '' last_name: '' excerpt: !ruby/object:Hpricot::Doc options: {} ---
A month has passed since my thesis defense and now I finally got my grade after so much time. Now, my next step is to prepare my thesis in order to be accepted back in my home university (yeah, this means tedious and boring paperwork...). Although it seems a boring stage, I am still having some fun around at SICS in kista in the BioBankCloud project where my architecture will be put into practice. This was one of the main motivations of the development of the KTHFS architecture, a distributed file system in order to store the biological information stored in a DNA sample. This is translated in handling possibly petabytes of metadata corresponding to DNA strands.
So finally, for the people interested; you may find a copy of my thesis here. You may find it also in KTH thesis portal, once they upload it. In future posts I will try to explain how the technologies related to my thesis work together. I hope you enjoy it.
EDIT: It has been finally uploaded on diva KTH portal, you can access it from here


The format of the exam is a mock peer-reviewed conference. You will develop an algorithm, prepare a professional paper, submit an anonymized version to the EasyChair conference system, and peer-review the work from other groups. There are three deliverables:
You and your team of two Cornell Tech students are surely on the path to fame and fortune! You have been recruited by Google to disrupt Google Image Search by building a better search engine using novel statistical learning techniques.
The specifications are simple: We need a way to search for relevant images given a natural language query. For instance, if a user types "dog jumping to catch frisbee," your system will rank-order the most relevant images from a large database.
Here are some details:
Use all of your skills, tools, and experience. It is OK to use libraries like numpy, scikit-learn, pandas, etc., as long as you cite them. Use cross-validation on training set to debug your algorithm. Submit your results to the Kaggle leaderboard and send your complete writeup to EasyChair. The data you use --- and the way you use the data --- is completely up to you.
The best teams (of two Cornell Tech students, recall) might use visualization techniques for debugging (e.g., show top images retrieved by your algorithm and see whether they make sense or not), preprocessing, a nice way to compare tags and descriptions, leveraging visual features and combining them with tags and descriptions, supervised and/or unsupervised learning to best understand how to best take advantage of each data source available to them.
The best reports will be professionally written. We suggest including an Abstract, followed by an Introduction section including motivations of your method and a detailed description of each step in your pipeline / framework you used for this task. Then, include a detailed Experiment section and a Results section. If time permits, a Background / Related Work section can help to point out the relevant work in the image retrieval literature.
The best reports use a professional style adopted by a major academic conference. NIPS is a good choice. Teams can download a template from Section 4 Paper Format of the NIPS Author Guidelines. We recommend you to use the LaTeX template, but this is not a requirement. If you're more familiar with Word, use Word.
The best peer reviews will be detailed and thorough, pointing out potential areas of improvement as well as complimenting their peers' strengths.
The best teams understand how to divide the precious time and energy among all members of the group. They might split into roles, preventing programming students from messing up the writing and ensuring writing gurus don't screw up the code. Close contact is always maintained within top-performing teams. When hardship happens within the best teams, blame is not assigned---it is overcome.
May the best team win!
You are strongly encouraged to work in a group of two students.
Groups may not collaborate with other groups. You cannot cite other teams' work. This includes sharing data, intermediate and final results, writing, or discussing your detailed method with other groups. You may not view reports from other teams until after the peer-review phase begins!
The "Peer Review" phase will be double-blind. This means authors will not know who the reviewers are, and the reviewers should not know who the authors are. This protects both sides.
To maintain anonymity, don't include team member names in the actual paper that you submit to Dropbox!
However, we need to know who you are. So please use the following file name:
TeamNameOnKaggle_Author1lastname_Author2lastname_report.pdf
This will be hidden from your reviewers.
See the following resources for tips on how to write a professional review:


Modify the properties of a job
job_modify(jobname = NULL, newname = NULL, description = NULL, owner = NULL, status = NULL, priority = NULL, path = NULL, tags = NULL, url = NULL, delete = FALSE)
| jobname | the current name for the job |
|---|---|
| newname | the new name |
| description | the new description |
| owner | nick name for the new owner |
| status | the new status |
| priority | the new priority |
| path | the new path to the job folder |
| tags | string with tags (uses | as separator) |
| url | string specifying url |
| delete | should this job be deleted (default = FALSE) |
The role of the job_modify()
function is to change one or more
parameters of an existing workbch job. It can be called in two ways, interactively
or programmatically. To call the function interactively, R must be in interactive
mode and the function should be called specifying either the jobname
argument
only, or no arguments specified. If no jobname
is specified the
job_modify()
function will attempt to guess the
current job by looking at any open RStudio projects. If no project is open
or the RStudio API is not available it attempts to guess by looking at the
working directory
When called interactiely, the user
will be presented with a sequence of prompts, asking them to specify each
of the parameters that define a job (e.g., a character string for descripton
,
a number for priority
). When used interactively, you do not need to include
quote marks when entering a string: job_modify()
will coerce the input to
the appropriate format, and then append the created job to the job file.
When called programmatically, the user must specify the arguments in the
call to job_modify()
. Onlt the jobname
argument is mandatory.
To rename an existing job the newname
argument should be specified.
To modify description
, owner
, status
, priority
,
path
, tags
or urls
the relevant argument shoul be
specified.
The status
of a job should be "active"
, "inactive"
,
"complete"
, "abandoned"
or "masked"
. The priority
for
a job should be a positive integer: the intent is that priority 1 is the highest
priority, followed by priority 2, and so one. The tags
for a job can be
specified as a single string, using |
as a separator character (e.g.,
tags = "research | statistics"
would create two tags for the job).
The path
should specify the location of a folder containing the project
files. The format for urls
is the same as for tags. For example to
specify a GitHub link one might write urls = "github \
https://github.com/djnavarro/workbch"
. Multiple URLs can be specified by
extending this syntax using |
as the separator. For example:
urls = "github \ https://github.com/djnavarro/workbch | docs |
https://djnavarro.github.io/workbch"
.
Setting delete = TRUE
will delete the job.


Unique ID
Application ID
Your State
Available for contact
Allow contacts to see your unique id.
Allow contacts to see your application id.
Use Video
Use Audio
Use Screen
Use Window
Mute Video & Audio
Local Volume Control
Capture source Screen or Window:
Audio input source:
Audio output destination:
Video source:
Contact Unique ID
Contact Application ID
Progress:
Mute All Remote Audio
Contact Unique ID
Contact Application ID


To use this tool, simply type in a desired location, zoom in until you are in Birds Eye view, and click the "Apply Tilt" button.
To apply more blur, click the button multiple times. It may be necessary to re-center your image and re-apply the blur for desired results.


WebAPI
See Asp/Net.
It's sort of like MVC without the V (automatic json/xml content negotiation). Within an MVC website, where your pages are probably consuming just json, normal MVC controller returning JsonResults are easier to manage.
REST
Generally POST is create, PUT is update, PATCH is partial update, but all 3 can create.
| HTTP Verb | Response Code | Notes |
|---|---|---|
| GET | 200 | Commonly GET resource/ returns a list (collection resource) GET resource/1 returns a single by id (item resource) With If-ModifiedSince may return 304 NotModified |
| HEAD | 200 | Headers only |
| POST | 200 OK 201 Created 204 No Content |
Create new (or general update) The Location: header may contain the URI of the new resource. |
| PUT | 200 OK 201 Created 204 No Content |
Replace resource (but can create) |
| PATCH | 200 OK 201 Created 204 No Content |
Partial update (not widely used). |
| DELETE | 200 OK 202 Accepted (pending) 204 No Content |
Delete resource |
Only POST is not idempotent (PUT and DELETE can be replayed).
Routes
Very much like MVC, but from a HttpConfiguration rather than RouteTable
WebApiConfig.Register(GlobalConfiguration.Configuration);
RouteConfig.RegisterRoutes(RouteTable.Routes);
Then you MapHttpRoute (not MapRoute).
- The default path is "api".
- There's no "{action}" - it's the http method (get/post/put/delete).
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional }
);
Routing rules:
- Controllers: derive from ApiController
- Public methods except for [NonAction] and derived methods.
- Method name starts with http method (eg HttpGet is Get or GetProduct) or you can use [HttpGet] etc
- Arguments: by default, simple types (int, string) come from the route, complex types from the request body. Add [FromBody] to change this.
API Controllers
- Derived from [System.Web.Http.]ApiController (not System.Web.Mvc.Controller).
- Don't return ActionResult, return void, normal type or an HttpResponseMessage for customization
Simple action:
// GET api/Product/5
public Product Get(int id)
{
var product = _repository.Get(id);
if (product == null)
{
//return 404 (not trapped by [ExceptionFilter])
throw new HttpResponseException(HttpStatusCode.NotFound);
}
return product;
}
JSON.net
The JSON serializer is JSON.net. It may choke on self-referencing entities (Self referencing loop detected for property ...
). You can ignore the property ([JsonIgnore]) or in App_Start/WebApiConfig.cs ignore it globally:
config.Formatters.JsonFormatter.SerializerSettings.ReferenceLoopHandling
= Newtonsoft.Json.ReferenceLoopHandling.Ignore;
Sometimes you want enums serialized as strings (not ints).
[JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public DaysOfTheWeek WeekDay { get; set; }
Set it globally:
var config = GlobalConfiguration.Configuration; //HttpConfiguration
config.Formatters.JsonFormatter.SerializerSettings.Converters.Add(
new Newtonsoft.Json.Converters.StringEnumConverter());
Responses - WebApi v1
public HttpResponseMessage Post(Product product)
{
if (!ModelState.IsValid)
{
return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState); //400
//or ... return new HttpResponseMessage(HttpStatusCode.BadRequest);
}
if (!User.IsInRole("Admin"))
return Request.CreateErrorResponse(HttpStatusCode.Unauthorized, "Return 401"); //401
if (product.Id == null)
throw new HttpResponseException(HttpStatusCode.NotFound); //404
if (product.IsDeleted) //redirect (not a good example in a POST)
{
var link = Url.Link("DefaultApi", new { controller = "DeletedProduct" });
var response = Request.CreateResponse(HttpStatusCode.Redirect); //302
response.Headers.Location = new Uri(link);
return response;
}
if (_productService.Save(product))
{
//for POST return a 201, instead of 200
return Request.CreateResponse(HttpStatusCode.Created, product);
}
//normal 200
return Request.CreateResponse(HttpStatusCode.OK, product);
}
Testing a v1 action using controller.Url means you have to configure routes and the request (ugh):
controller.Configuration = new HttpConfiguration();
controller.Configuration.Routes.MapHttpRoute("DefaultApi", "api/{controller}/{id}", new { id = RouteParameter.Optional });
Responses - WebApi v2
WebApi v2 has IHttpActionResult and a pretty full set of methods for each HTTP response.
public IHttpActionResult Post(Product product)
{
if (!ModelState.IsValid)
return BadRequest(ModelState); //400
if (!User.IsInRole("Admin"))
return Unauthorized(); //401
if (product.Id == 0)
return NotFound(); //404
if (product.IsDeleted) //redirect (not a good example in a POST)
{
var link = Url.Link("DefaultApi", new { controller = "DeletedProduct" });
return Redirect(link); //302
}
if (_productService.Save(product))
{
//for POST return a 201, instead of 200
return CreatedAtRoute("DefaultApi", new { controller = "Product", id = product.Id }, product);
//Created(location, product) requires a Url.Link
}
//normal 200
return Ok(product); //return a 200 with payload
}
Testing (async version, async Task<IHttpActionResult>:
//act
var result = (await controller.Post(product)) as CreatedAtRouteNegotiatedContentResult<Product>;
//assert
Assert.IsNotNull(result);
Assert.AreNotEqual(0, result.Content.Id);
Cookies
public HttpResponseMessage GetTranslation(string text)
{
const string cookieName = "language";
//read a request cookie
var cookie =
Request.Headers.GetCookies(cookieName).FirstOrDefault();
var language = (cookie != null) ? cookie[cookieName].Value : null;
var translated = Translate(language, text);
var response = Request.CreateResponse(HttpStatusCode.OK, translated);
//response cookie
var responseCookie = new CookieHeaderValue("lastTranslation", text)
{
Expires = DateTimeOffset.Now.AddDays(1),
Domain = Request.RequestUri.Host,
Path = "/"
};
response.Headers.AddCookies(new[] { responseCookie });
return response;
}
Exceptions
- See also MVC/WebApi exception handling
- MVC's [HandleError] does NOT work!
- HttpResponseException: throw new HttpResponseException(HttpStatusCode.NotFound);
- Derive from (abstract) System.Web.Http.Filters.ExceptionFilterAttribute for [HandleError] type functionality. See example
- To add globally, use GlobalConfiguration.Configuration.Filters
- You can also return an HttpError (a dictionary) in the HttpResponseMessage, or throw passing in the ResponseMessage
// GET api/Product/5
public HttpResponseMessage Get(int id)
{
var item = _repository.Get(id);
if (item == null)
{
var err = new HttpError(id + " not found");
return Request.CreateResponse(HttpStatusCode.NotFound, err);
//or...
return Request.CreateErrorResponse(HttpStatusCode.NotFound, id + " not found");
//or...
throw new HttpResponseException(
Request.CreateErrorResponse(HttpStatusCode.NotFound, id + " not found"));
}
return Request.CreateResponse(HttpStatusCode.OK, item);
}
You can easily return the ModelState for validations
public HttpResponseMessage PostProduct(Product item)
{
if (!ModelState.IsValid)
{
return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
}
Tracing
Config
public static void Register(HttpConfiguration config)
{
config.Services.Replace(typeof(System.Web.Http.Tracing.ITraceWriter), myTraceWriter);
Write
Configuration.Services.GetTraceWriter().Info(Request, "Category", "message or exception");


--- layout: page title: About header-img: "img/about-bg.png" ---
Blog made by Jenny Kam. Full-Stack Web Developer based in New York City and studied at Boston University and the Flatiron School.


| Egg Fried Rice | £2.40 |
|---|---|
| Boiled Rice | £2.30 |
| Chips | £1.80 |
| Chips with Chilli Salt & Pepper | £3.30 |
| Mixed Vegetables | £3.70 |
| Cashew Nuts | £3.00 |
| Chow Mein (Soft Noodles) | £2.90 |
| Bamboo Shoots & Water Chestnuts | £2.90 |
| Mushrooms | £2.50 |
| Fried Onions | £2.40 |
| Beanspouts | £2.40 |
| Chips & Fried Rice in Curry Sauce | £3.90 |
| Chips & Fried Rice in Gravy Sauce | £3.90 |
| Chips & Boiled Rice in Curry Sauce | £3.70 |
| Chips & Boiled Rice in Gravy Sauce | £3.70 |
| Chips & Soft Noodles in Curry Sauce | £4.10 |
| Chips & Soft Noodles in Gravy Sauce | £4.10 |
| Chips in Curry Sauce | £2.60 |
| Chips in Gravy Sauce | £2.60 |
| Curry Sauce | £1.50 |
| Gravy Sauce | £1.50 |
| Sweet & Sour Sauce | £1.50 |
| Thai Sweet Chilli Sauce | £1.80 |
| Soft Drinks (Coke, Diet Coke, 7up, Fanta) | 90p |
All allergies of ingredients please do not hesitate to consult our staff
Meals which are not listed may be supplied if possible on request


We're just as excited as you are.
Welcome to Melorra!
You've successfully created an account and we think this calls for a little celebration. For which we've got you something:
Buy within next two weeks i.e. by Oct 16, 2016 and get 10% off on any diamond jewellery. Use coupon: PROMO123
Melorra makes fine jewellery inspired by top runway trends. It is made exclusively to compliment your western wardrobe. Casual dos, parties and work events – find jewellery to go with every occasion that matters to you. Light, easy to put on and delightful to wear, Melorra makes jewellery current. Read more...
Thanking you on behalf of Team Melorra,
Call us on +91-8880050505 • Mail us at<EMAIL_ADDRESS>Melorra is a registered trademark of August Jewellery Private Limited
Bengaluru, Karnataka - India


--- layout: default_style permalink: /prior ---
Focus on context and quality over quantity. Leveraging custom in-house AI based search engine. Invoicing based on results. Proven ability to unearth hidden prior art.
Prior Art SearchA prior art search can be helpful in multiple scenarios depending on the immediate requirements. For example, a prior art search may be performed to invalidate the claims of a patent as a defensive strategy in a lawsuit or validate the enforceability of a patent.
A Patent Validity Search or Patent Invalidity Search is an exhaustive prior art search conducted after patent issuance. These two searches are identical except for the desired outcome (valid or invalid patent claims) of the search.
A Patent Validity Search will determine whether a patent can withstand attack in litigation. Our team provides clients with an in-depth analysis of the patent art that may be used to validate the enforceability of a patent. Clients only need to provide the patent number and the claims of interest and we will conduct an extensive search of US and foreign patents, publications and technical literature.
Also, a validity search can provide a good idea of how useful the patent will be in licensing negotiations. A prospective licensee may want to conduct a validity search to determine the strength of the patent. The licensee can then adjust their minimum royalty payments according to the findings before entering into licensing negotiations.
When confronted by allegations of patent infringement, proof of invalidity based on prior art is the first line of defence. The patent invalidity search is generally wide-ranging and extensive because an entire patent infringement lawsuit may depend on it. Thus, a patent invalidity search is an all-out attack on the patent.
A client may use the results of a patent invalidity search to try to invalidate the patent either by litigation or by filing a petition to institute an inter partes review of the patent at the U.S. Patent and Trademark Office.
Our specialized tools, including the in-house AI based search system, help us provide actionable results with quick turnaround times and reduced costs.
Furthermore, experience and positive client feedback has reaffirmed our belief in the value of conducting searches based on the context of the patent and the case. A higher number of results do not add value if they are not related to the technology in question.
Similar to a patent litigation, the outcome of a prior art search is not predictable. Sometimes, it makes more sense to do a contingency-based search to ensure that you pay only if you get the right results. Our technology expertise and creative approach gives us the confidence to provide contingency-based services, thus providing a guaranteed value-add.
Our knockout search is not limited by the number of hours spent on the project. Our focus is on exhausting all possible avenues to ensure that if there’s a prior art hidden somewhere, we can unearth it to make your case stronger. This single-minded focus on results and our extensive search experience allows us to deliver quality knockout search reports with a high success rate.
A patentability search, sometimes called a patent novelty search or simply a novelty search, is conducted to ascertain whether a potential invention is novel, or not, by determining whether anyone else publicly disclosed the inventive concept prior to its critical date. It also helps in deciding whether the invention meets the requirements of novelty and non-obviousness. Blopeur’s patentability searches allow patent practitioners, corporations, and individual inventors to make the application process easier by anticipating what the examiner will cite during prosecution of a patent application.
Further, our analysis of the search results strengthens the patent application and claims by anticipating potential invalidity concerns during re-examination and/or litigation. Most importantly, a determination is made on whether the invention is worth pursuing for patent protection given the state of the published art.
Our patentability patent searches cover US, WIPO, EPO. We also thoroughly search Non-Patent Literature, including related electronically available journals, websites, technical literature, manuals, books, articles, and blogs.
Before the launch of a new product or the launch of an existing product in a new geography, it is crucial to conduct a freedom-to-operate (FTO) or a clearance search. It is also prudent to conduct an FTO search prior to a business acquisition or prior to entering into a new technology area.
FTO searches identify potential patent barriers to the commercialization of products or technologies. We will identify published applications and unexpired patents that may be closely related to the technology in question. This helps us identify potential barriers to a product launch and brainstorm ways to circumvent those barriers. Our search will also help our clients determine if the product or service they are pursuing is in the public domain. We can focus solely on US patents and published documents or we can broaden our scope to include foreign patent documents depending on the client requirement.
While conducting an FTO search, we do not restrict our search to cases of literal infringement but also consider infringement under the doctrine of equivalents, indirect infringement, and the extra-territorial reach of U.S. patent laws.
All searches undergo iCuerious’ thorough quality assurance checks before they are delivered to our clients.
A search prior to registration of a design is vital to ensure the uniqueness of your design and to confirm that similar designs have not been registered already. Wprior.htmle have conducted several design based searches in domains ranging from ornamental product designs to medical devices and electronics.
Our extensive experience in delivering quality design searches and strong analytical skills help us understand the uniqueness and precise elements of each design. Additionally, we follow a standard operating procedure which can be easily customized to meet specific client requirements.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/protected.html ---
Is there any way in which we can make topological_space.is_open
protected?
As soon as you namespace topological_space
you need to _root_.is_open
all the time.
no, but we could rename it to is_open'
It would be nice if protected
was an attribute that you could locally set or remove.
@Sebastian Ullrich Will Lean 4 make this possible?
It probably should. If there's no reason against some metadata not being an attribute, it should become one.
Even if there was a problem, a manual @[hidden]
would be lovely
Last updated: Apr 24 2020 at 19:02 UTC


최근수정 : 2018.10.18 20:05
※Last play(4주↑)
Best : Ryu(11), Cammy(9), Guile(7), Ken(7)
Rank_info
Past_data
PAGE TOP
#
Nickname
Fighter's ID
Rank
LP
Rank
Total
Character
DOJO
Last play
W/L
Matches
W/L
Matches


List
L ist is a collection which is ordered and changeable. Allows duplicate members
# -------------------------------------------------------------------------------------------------
# LIST
# -------------------------------------------------------------------------------------------------
empty = [] # empty list
print(empty) # ...
players = [70,5,9] # syntax of a list
print(players) # print entire list
different = [10,20, "Newton", 30.5, True] # define a different element type list
print(different) # ...
# -------------------------------------------------------------------------------------------------
# WORK with LIST
# -------------------------------------------------------------------------------------------------
print(len(different)) # to see the lenght of the list
print(different[2]) # to access a member of a list in the position ['x']
different[1] = 90 # to permanently change the value of a member
print(different) # ...
print(different + [0,1,2]) # concatenate list to another list
print(different) # it is not a permanently change
players = players * 2 # multiply the list
print(players) # ...
players.append(10) # to permanently add an element to the list
print(players) # ...
players.insert(6, 99) # to permanently add an (element y, at index x)
print(players) # ...
players.remove(70) # to permanently remove an element to the list
print(players) # ...
players.pop(2) # to permanently remove an element to the list
print(players) # (position of the list is indicate in brackets)
del(players[3]) # to permanently remove an element at index [x]
print(players) # ...
players.sort() # to order list in ascending fashion
print(players) # ...
players.sort(reverse=True) # to reverse list (1)
print(players) # ...
players.reverse() # to reverse list (2)
print(players) # ...
print(max(players)) # to get the maximum value of the list
print(min(players)) # to get the minimum value of the list
# uncomment this line to see the error
# print(max(different)) # it's possible to use max and min only
# print(min(different)) # if the list is composed by numbers
print('')
for i in players: # to find common elements in lists (1)
if i in different: # ...
print(i) # ...
common = [i for i in different if i in players] # to find common elements in lists (2)
print(common) # ...
print('') # ...
print(different[0:4]) # to slicing up a list [from element 'x' to(:)
print(different[2:3]) # element 'y']
print(different[2:]) # ...
print(different[:]) # ...
print('')
different[:3] = [0,1,2] # to change multiple values [from element 'x'
print(different) # to(:) element 'y']
different[:2] = [3,4,5] # if y is less than the number of replacing values
print(different) # element will be added to the list
different[:2] = [] # to delete items from the list(1)
print(different) # ...
different[:] = [] # to delete the entire list
print(different) # ...
players.clear() # to remove all item from the list
print(players) # ...
Nesting and List Comprehension
# -------------------------------------------------------------------------------------------------
# NESTING and LIST COMPREHENSION
# -------------------------------------------------------------------------------------------------
matrix = [[1,2,3], # 3 x 3 Matrix, as nested list
[4,5,6], # ...
[7,8,9]] # ...
print(matrix) # print entire list
print(matrix[1]) # print row 2
print(matrix[1][2], '\n') # print element 3 of the row 2
col2 = [row[1] for row in matrix] # collect the items in column 2
print(col2) # ...
print(matrix) # matrix is unchanged
print('')
# .. some other examples
print([row[1] + 1 for row in matrix]) # add 1 to each item in column 2
print([row[1] for row in matrix if row[1] % 2 == 0]) # filter out odd items
print('') # of column 2
diag = [matrix[i][i] for i in range(0, len(matrix))] # collect diagonal from matrix
print(diag) # to see the result
doubles = [letter * 2 for letter in 'spam'] # repeat character in a string
print(doubles, '\n') # to see the result
Filter & Map
- filter : is a method that filters the given sequence with the help of a function that tests each element in the sequence to be true or not
- map : is a function that applies a given function to each item of an iterable (list, tuple etc.) and returns a list of the results.
# -------------------------------------------------------------------------------------------------
# FILTER & MAP
# -------------------------------------------------------------------------------------------------
lst = [10, 2, 22, 43, 55, 67] # using lambda function to filter
print(list(filter(lambda x: x % 2 == 0, lst))) # element from the list
print(list(map(lambda n:n * 2, lst))) # using lambda to map and double
# each element of the list
Generator
Generator is a function that returns an generator object that is iterable, i.e., can be used as an Iterators
# -------------------------------------------------------------------------------------------------
# GENERATOR
# -------------------------------------------------------------------------------------------------
matrix = [[1,2,3], # 3 x 3 Matrix
[4,5,6], # ...
[7,8,9]] # ...
Generator = (sum(row) for row in matrix) # create a generator of row sum
print(next(Generator)) # (sum items in a sequence)
print(next(Generator)) # run the iteration protocol
print(next(Generator)) # next()
print({sum(row) for row in matrix}) # create a set of row sums
print({i : sum(matrix[i]) for i in range(3)}) # creates key/value table of
print('') # row sums
print([ord(x) for x in 'spaam']) # list of character ordinals
print({ord(x) for x in 'spaam'}) # Set remove duplicates
print({x: ord(x) for x in 'spaam'}) # dictionary keys are unique


This quickstart assumes a general knowledge of playing D&D.
As of right now, character sheets can be loaded from GSheet V2.1. D&D Beyond support might be added in the future. The sheet itself has instructions on how to use it, on its ? tab.
Once you have a character sheet made, make it shareable by link (Anyone with the link can View). Then, click the blank sheet icon at the bottom left of your screen, which is labeled as "Import Sheet" if you hover over it. In the input that comes up, paste the Google Sheets share link into the input box, and click Set Sheet. After a few seconds, you should get a message that says that your sheet was loaded.
If you make changes to your character sheet in Google Sheets, just click the Update Sheet button below the Import Sheet button to reload your sheet information. You can also set a new sheet by clicking Import Sheet again. HP will not be maintained between reloads.
Once you have a character imported, you can right-click on any open map and click Add Player Character. This will place your character in the nearest grid square to where you right-clicked.
You can move your character by clicking the Move icon in the upper right corner of the screen. You can then drag your character around the map it is placed on.
You can edit the statistics of your character by right-clicking on its icon. If you just need to change HP, you can click Set HP, Set Maximum HP, or Change HP. Each will bring up a dialog prompt explaining what needs to be input. If you need to change something more specific, you can click Edit Statistics to edit ability scores, AC, HP, andd your initiative bonus.
To remove a character from a map, click Close Player Character in the right-click menu.
You can roll dice using the icons at the bottom of the screen. Each of these rolls 1 die of the pictured type (the % symbol is a d100). If you want to roll a more complex dice roll, click the pencil icon and enter the roll string in the input box that comes up.
You can roll initiative with the right-click menu. If you are not already in initiative, Roll Initiative will appear in your character's right click menu. Click that, and initiative will be automatically rolled for you.
On your turn in initiative, you can right click on any other PC or NPC on the map, and click Attack. This will bring up a list of your attacks, with options for Advantage, Disadvantage, and Magic Damage. Once you have these options set to your satisfaction, scroll to the attack that you want to use, and click it. This will roll the attack and appropriate damage (accounting for resistances, immunities, and vulnerabilities), and then apply it to your target. A message box will then appear on your screen, telling you the result of your attack.
If you want to remove yourself from initiative, right-click on your character and click Remove from Initiative. If this option does not appear, it is because you are the only person in initiative, or that it is your initiative count. If this is the case, the DM will have to advance or end the initiative.
You can send messages to the rest of the party with the Messages icon next to the link at the top of your screen. Simply type what you want to send, then press the send button. The message window disappears if you click on any other part of the screen.


Glossary
- ballooning
- A term describing dynamic changes to an instance’s memory while the instance
is running that don’t require an instance reboot. Depending on the
hypervisor and configuration, changes may be automatically initiated by the
hypervisor (based on the memory usage of the node and instance), or may need
to be initiated manually.
- BE parameter
- BE stands for backend. BE parameters are hypervisor-independent instance
parameters, such as the amount of RAM/virtual CPUs allocated to an instance.
- DRBD
- A block device driver that can be used to build RAID1 across the network or
across shared storage, while using only locally-attached storage.
- HV parameter
- HV stands for hypervisor. HV parameters describe the virtualization-
specific aspects of the instance. For example, a HV parameter might describe
what kernel (if any) to use to boot the instance or what emulation model to
use for the emulated hard drives.
- HVM
- Hardware Virtualization Mode. In this mode, the virtual machine is
oblivious to the fact that it is virtualized and all its hardware is
emulated.
- LogicalUnit
- The code associated with an OpCode; for example, the code that
implements the startup of an instance.
- LUXI
- Local UniX Interface. The IPC method over unix(7) sockets used
between the CLI tools/RAPI daemon and the master daemon.
- OOB
- Out of Band. This term describes methods of accessing a machine (or parts
of a machine) by means other than the usual network connection. Examples
include accessing a remote server via a physical serial console or via a
virtual console. IPMI is also considered OOB access.
- OpCode
- A data structure encapsulating a basic cluster operation; for example: start
instance, add instance, etc.
- PVM
- (Xen) Para-virtualization mode. In this mode, the virtual machine is aware
that it is virtualized; therefore, there is no need for hardware emulation
or virtualization.
- SoR
- State of Record. Refers to values/properties that come from an
authoritative configuration source. For example, the maximum VCPU over-
subscription ratio is a SoR value, but the current over-subscription ratio
(based upon how many instances live on the node) is a SoW value.
- SoW
- State of the World. Refers to values that directly describe the world, as
opposed to values that come from the configuration (which are considered
SoR).
- tmem
- Xen Transcendent Memory (http://en.wikipedia.org/wiki/Transcendent_memory).
tmem is a mechanism used by Xen to provide memory over-subscription.
- watcher
- ganeti-watcher is a tool that should be run regularly from
cron. The tool executes tasks such as restarting failed instances and
restarting secondary DRBD devices. For more details, see the man page
ganeti-watcher(8).