From the first hour after being captured, laboring through the snowy woods, Faile worried about freezing. Breezes stirred and died, stirred and died. Few of the scattered trees still carried leaves, and most of those hung dead and brown. The breezes swirled through the forest unhindered, and small as the gusts were, they carried ice. Perrin hardly entered her thoughts, except for a hope that he somehow learned of Masema’s secret dealings. And of the Shaido, of course. Even if that trull Berelain was the only one who could tell him, now. She hoped Berelain had escaped the ambush and told Perrin everything. And then fallen into a hole and broken her neck. But she had far more pressing concerns than her husband.
She had called this weather autumnal, yet people froze to death in a Saldaean autumn, and of her clothes she retained only her dark woolen stockings. One lashed her elbows tight behind her back, while the second had been tied around her neck for a leash. Brave words made scant covering for bare skin. She was too cold for sweat, yet her legs soon ached with the struggle to keep up with her captors. The Shaido column, veiled men and Maidens, slowed when the snow rose toward their knees but immediately resumed a steady trot when it sank toward their ankles, and they did not seem to tire. Horses could not have moved faster over the distance. Shivering, she labored on at the end of her leash, doing her best to gulp air through teeth gritted to stop their chattering.
The Shaido were fewer than she had estimated during the attack, no more than a hundred and fifty she thought, and nearly all carried spears or bows at the ready. Small chance anyone could surprise them. Always alert, they ghosted along in silence except for the faint crunch of the snow under their soft, knee-high boots. The greens and grays and browns of their clothing stood out against the white landscape, though. Green had been added to the cadin’sor since crossing the Dragonwall, so Bain and Chiad had told her, to aid concealment in a green land. Why had these people not added white, for the winter? As it was, they could be seen at some distance. She tried to notice everything, remember anything that might prove useful later, when it came time to escape. She hoped her fellow prisoners were doing as much. Perrin would be hunting for her, certainly, but the thought of rescue never entered her calculations. Wait for rescue, and you might wait forever. Besides, they needed to escape as quickly as possible, before their captors joined with the rest of the Shaido. She could not see how, yet, but there must be a way. The one bit of luck was that the main body of Shaido must be days distant. This part of Amadicia was chaos, but thousands of Shaido could not be too near without her having heard of them.
Once, early on, she tried to look back at the women who had been captured with her, but the only result was a stumbling fall into a snowbank. Half-buried in the white powder, she gasped from the icy shock, and gasped again when the great hulking Shaido who held her leash set her back on her feet. As wide as Perrin and a full head taller, Rolan simply hauled her upright by a fistful of her hair, set her moving again with a brisk slap on her bare bottom, and once more took up the long strides that forced her to step quickly. The slap might have been given to make a pony move. Despite her nakedness, there was nothing of a man looking at a woman in Rolan’s blue eyes. Part of her was very grateful. Part her was vaguely . . . taken aback. She certainly did not want him gazing at her with lust or even interest, but those bland glances were almost insulting! After that she made sure not to fall, though as the hours passed without a pause in the march, simply staying upright became more and more of an effort.
In the beginning she worried over which bits of her would freeze first, but by the time morning had rolled into afternoon without a pause in the march, she was focused on her feet. Rolan and those ahead of him trampled a sort of path for her, yet enough snowcrust remained for sharp edges, and she began to leave red stains freezing in her footprints. Worse was the cold itself. She had seen frostbite. How long before her toes began to turn black? Staggering, she flexed each foot as she swung it forward, and worked her hands constantly. Fingers and toes were in the worst danger, but any exposed skin was at risk. About her face and the rest of her she could only hope. The flexing hurt, making the cuts on her feet burn, but any feeling was better than none. When sensation went, she would have very little time left. Flex and stride, flex and stride. That filled her thoughts. She kept moving on quivering legs, and kept her hands and feet from freezing. She kept moving.
Abruptly, she stumbled into Rolan and rebounded from his wide chest, panting. Half dazed, or maybe more than half, she had not realized that he had stopped. So had the others ahead, a few looking back, the rest facing outward and warily on guard, weapons up as though expecting attack. That was all she had time to see before Rolan seized a handful of her hair again and bent to lift one of her feet. Light, the man really was treating her like a pony!
Releasing her hair and her foot, he snaked an arm around her legs, and the next moment her vision whirled as she was heaved up onto his shoulder, head-down beside the horn bow cased on his back. Indignation welled up as he casually shifted her about to find the easiest position for carrying, but she tamped it down as fast as it rose. This was no place or time. Her feet were out of the snow; that was what mattered. And she could catch her breath, like this. He could have warned her, though.
With an effort, she arched her neck so she could see her companions, and felt relief to find them all still there. Naked prisoners, true, but she was sure only a corpse would have been left behind. The others who walked were leashed with stockings or strips of cloth cut from their lost garments, and most also had their arms tied behind. Alliandre was no longer trying to bend double in an attempt to shield herself. Other concerns had replaced modesty for the Queen of Ghealdan. Panting and trembling, she might have fallen if the squat Shaido examining her feet had not supported her by her bound elbows. Squat for an Aiel meant he could have passed unremarked most places, except for shoulders nearly as wide as Rolan’s.  Behind her, Maighdin appeared in almost as bad a state, gulping air, red-gold hair in disarray and blue eyes staring, yet she managed to stay erect on her own with a bone-lean Maiden lifting her foot. Somehow, Faile’s maid looked more a queen than Alliandre did, if a very disheveled queen.
In comparison, Bain and Chiad seemed in no worse state than did the Shaido, though Chiad’s cheek was yellowing and swollen from a blow when they were first taken, and the black blood matting Bain’s short fiery hair and spread across her face seemed to have frozen. That was bad; that could scar. The two Maidens were not breathing hard, though, and even raised their own feet for examination. Alone of the prisoners they were unbound—except by custom stronger than chains. They had calmly accepted their fate, to serve a year and a day as gai’shain. Bain and Chiad might be of some help in escaping—Faile was not sure how far custom constrained them—but they themselves would not try to get away.
The last prisoners, Lacile and Arrela, attempted to pattern themselves after the Maidens, of course, with indifferent success. A tall Aielman had simply tucked tiny Lacile under his arm to look at her feet, and crimson mortification stained her pale cheeks. Arrela was tall, but the pair of Maidens who had charge of her were taller than Faile herself, and they handled the Tairen woman with impersonal ease. A scowl contorted her dark face at their prodding, and maybe at the rapid handtalk they were exchanging. Faile hoped she would not make trouble, not now. Everyone in Cha Faile tried to be like the Aiel, to live as they thought the Aiel did, but Arrela wanted to be a Maiden, and she resented the fact that Sulin and the others would not teach her handtalk. She would have been worse if she knew Bain and Chiad had taught Faile a little. Not enough to make out more than every other word the Maidens were saying now, but some. As well Arrela could not understand. They thought the wetlander had soft feet, that she was altogether too pampered and soft, and that surely would have set the woman off.
As it turned out, Faile need not have worried about Arrela. The Tairen stiffened when one of the Maidens hefted her onto a shoulder—pretending to stagger, the burdened woman used her free hand to flicker a message that made the other Maiden bark a laugh behind her veil—but after a glance at Bain and Chiad, already meekly belly down on Aielmen’s shoulders, Arrela sullenly let herself hang limp. Lacile squealed when the big man holding her abruptly spun her about to land in the same position, but she quieted after that, though her face was still bright scarlet. There were definite advantages to their emulation of Aiel.
Alliandre and Maighdin, however, the last women Faile would have expected to cause problems, were another matter entirely. When they realized what was happening, the pair of them fought wildly. It was not much of a fight, two naked and exhausted women with their elbows bound tight behind their backs, but they twisted and shouted and kicked at anyone who came within reach, and Maighdin even sank her teeth into the hand of a careless Aielman, hanging on like a boarhound.
“Stop it, you fools!” Faile called to them. “Alliandre! Maighdin! Let them carry you! Obey me!” Neither her maid nor her vassal paid the slightest heed. Maighdin growled like a lion around her mouthful of Aiel. Alliandre was wrestled down, still shouting and flailing with her feet. Faile opened her mouth for another command.
“The gai’shain will be quiet,” Rolan grunted, spanking her hard.
She ground her teeth and muttered under her breath. Which earned another slap! The man had her knives tucked behind his belt. If she could lay hands on just one . . . ! No. What must be endured, could be endured. She intended to escape, not make useless gestures.
Maighdin’s fight lasted a little longer than Alliandre’s, until a pair of burly men could pry her jaws from the Shaido’s hand. It required a pair. To Faile’s surprise, instead of cuffing Maighdin, the bitten fellow shook blood off his hand and laughed! That did not save her, though. In a trice, Faile’s maid was facedown in the snow alongside the Queen. They were given only a few moments to gasp and writhe in the added cold. Two Shaido, one a Maiden, appeared out of the surrounding trees, shaving the stubs from long switches with their heavy belt knives. A foot planted between each woman’s shoulder blades, a fist on bound elbows to raise fluttering hands out of the way, and red welts began to bloom on white hips.
At first both women continued to fight, twisting about despite the way they were held. Their struggle was even more useless than when they were upright. Little moved above their waists beyond tossing heads and wildly waving hands. Alliandre kept shrilling that they could not do this to her, understandable coming from a queen, if foolish in the circumstances. Plainly they could, and they were. Surprisingly, Maighdin raised her voice in the same piercing denials. Anyone would have thought her royalty instead of a lady’s maid. Faile knew for a fact that Lini had taken a switch to Maighdin without all these histrionics. In any case, denials did no good for either woman. The methodical thrashings continued until they both were kicking and howling wordlessly, and a little longer for good measure. When they were finally hoisted like the other prisoners, they hung weeping, all fight gone out of them.
Faile felt no sympathy. The fools had earned every stripe, in her opinion. Frostbite and cut feet aside, the longer they remained outside without clothes, the more chance that some of them might not survive to escape. The Shaido had to be taking them to some sort of shelter, and Alliandre and Maighdin had delayed reaching it. Maybe it was little more than a quarter hour’s delay, but minutes could be the difference between the living and the dead. On top of which, even Aiel would surely let down their guard a little once they found shelter and made fires. And they could rest, being carried. They could be ready to take their chance when it came.
Carrying their prisoners, the Shaido set out again at that ground-covering pace. If anything, they seemed to move through the forest more quickly than before. The hard leather bow case bumped Faile’s side as she swayed, and she began to feel dizzy. Rolan’s every long stride sent a jolt through her middle. Surreptitiously, she tried to find some position where she would not be poked and thudded quite so vigorously.
“Be still, or you will fall,” Rolan muttered, patting her hip as he might have patted a horse to soothe it.
Raising her head, Faile peered back at Alliandre, scowling. There was not much to be seen of the Queen of Ghealdan, and that crisscrossed by scarlet welts from the tops of her hips almost to the backs of her knees.  Not his hand, though. His throat would be about right.
Bold thoughts, and worse than useless. Foolish. Even being carried, she knew she must fight the cold. In some ways, she began to realize, being carried was worse. Walking, at least she had had the struggle to stay erect and on her feet to keep her awake, but as evening came on and deepened to darkness, the swaying motion on Rolan’s shoulder seemed to have a lulling effect. No. It was the cold that was numbing her mind. Making her blood sluggish. She had to fight it, or she would die.
Rhythmically she worked her hands and bound arms, tensed her legs and relaxed them, tensed and relaxed, forcing her muscles to work her blood. She thought of Perrin, solid planning thoughts of what he should do about Masema, and how she could convince him if he balked. She went over the argument they would have when he learned she been using Cha Faile as spies, planned how she would meet his anger and turn it. There was an art to guiding a husband’s anger in the direction you wanted, and she had learned from an expert, her mother. It would be a splendid argument. And a splendid making-up, after.
Thinking about making up with him made her forget to work her muscles, so she tried to concentrate on the argument, on the planning. Cold dulled her thoughts, though. She began losing the thread, having to shake her head and start over. Rolan’s growls at her to be still helped, a voice to focus on, to keep her awake. Even the accompanying slaps on her upturned bottom helped, as much as she hated to admit the fact, each one a shock that jolted her to wakefulness. After a while, she began shifting more, then struggling almost to the point of falling, courting the rude smacks. Anything to stay awake. She could not have said how much time passed, but her twists and wriggles began to weaken, until Rolan no longer growled, much less gave her a slap. Light, she wanted the man to play her like a drum!
Why in the Light would I want a thing like that? she thought dully, and a dim corner of her mind realized the battle was lost. The night seemed darker than it should be. She could not even make out the glow of moonlight on the snow. She could feel herself sliding, though, sliding faster and faster toward a deeper dark. Wailing silently, she sank into a stupor.
Dreams came. She was sitting on Perrin’s lap with his arms so tight around her she could barely move, before a great fire roaring in a broad stone fireplace. His curly beard scratched her cheeks as he nipped her ears almost painfully.  And Perrin turned to smoke that vanished in the gale. Alone in bitter darkness, she fought the wind, but it tumbled her end over end until she was so dizzy she could not tell up from down. Alone and endlessly tumbling into icy dark, knowing she would never find him again.
She ran across a frozen land, floundering from snowdrift to snowdrift, falling, scrambling up to run on in panic, gulping air so cold it sliced her throat like shards of glass. Icicles sparkled on stark branches around her, and a frigid wind keened through the leafless forest. Perrin was very angry, and she had to get away. Somehow, she could not recall the specifics of the argument, just that somehow she had pushed her beautiful wolf to real anger, to the point of throwing things. Only, Perrin did not throw things. He was going to turn her over his knee, as he had done once, long ago. Why was she running from that, though? There would still be the making-up. And she would make him pay for the humiliation, of course. Anyway, she had drawn a little blood from him a time or two with a well-aimed bowl or pitcher, not really meaning to, and she knew he would never really hurt her. But she also knew that she had to run, to keep moving, or she would die.
If he catches me, she thought dryly, at least part of me will be warm.
The monstrous bonfire loomed over her, a towering pile of thick logs roaring with flame. She was naked. And cold, so cold. No matter how near the fire she edged, her bones felt frozen, her flesh ready to shatter at a blow. She moved closer, closer. The heat of the blaze grew till she flinched at it, but the bitter cold remained trapped inside her skin. Closer. Oh, Light, it was hot, too hot! And still cold within. Closer. She began to scream at the burning, the searing pain, but she was still ice inside. Closer. Closer. She was going to die. She shrieked, but there was only silence, and the cold.
It was daylight, but leaden clouds filled the sky. Snow fell in a steady shower, feathery flakes swirling in the wind through the trees. Not a fierce wind, but it licked with tongues of ice. Ridges of white built on branches until they were tall enough to collapse from their own weight and the wind, sending heavier showers to the ground below. Hunger gnawed her belly with dull teeth.  His eyes were a startling green, like emeralds, and surrounded by puckered scars. He was kneeling on a large brown woolen blanket with her, and another blanket, striped in gray, was draped around her nakedness. The taste of hot tea thick with honey exploded on her tongue, and she seized the man’s sinewy wrist weakly with both hands in case he tried to take the mug away. Her teeth chattered against the mug, but she gulped the steaming syrupy liquid greedily.
“Not too fast; you must not spill any,” the green-eyed man said meekly. Meekness sounded odd from that fierce face, and in a gravelly voice. “They offended your honor. But you are a wetlander, so maybe it does not count with you.”
Slowly it dawned on her that this was no dream. Thought came in a trickle of shadows that melted if she tried to hold them too hard. The white-robed brute was gai’shain. Her leash and bonds were gone. He pulled his wrist away from her feeble grip, but only to pour a dark stream from a leather water bag hanging from his shoulder. Steam rose from the mug, and the aroma of tea.
Shivering so hard she almost fell over, she clutched the thick striped blanket around her. Fiery pain was blossoming in her feet. She could not have stood had she tried. Not that she wanted to. The blanket managed to cover everything but her feet so long as she remained in a crouch; standing would have bared her legs and maybe more. It was warmth she thought of, not decency, though there was little of either to be had. Hunger’s teeth grew sharp, and she could not stop shaking. She was frozen inside, the tea’s heat already just a memory. Her muscles were week-old congealed pudding. She wanted to stare at the filling mug, coveting the contents, but she made herself look for her companions.
They were all there in a line with her, Maighdin and Alliandre and everyone, slumped on their knees atop blankets, shivering inside blankets speckled with snow.  Someone had cleaned the blood from Bain’s face, but unlike the last time Faile had seen them, the two Maidens were as drawn and unsteady as anyone else. From Alliandre to Lacile, her companions looked—what was Perrin’s phrase?—as if they had been dragged through a knothole backward. But everyone was still alive; that was the important thing. Only the living could escape.
Rolan and the other algai’d’siswai who had had charge of them made a cluster at the far end of the kneeling line. Five men and three women, the snow on the ground nearly knee-deep on the Maidens. Black veils hanging down their chests, they watched their prisoners and the gai’shain impassively. For a moment, she frowned at them, trying to grasp a slippery thought. Yes; of course. Where were the others? Escape would be easier if the rest had gone for some reason. There was something more, another misty question she could not quite catch.
Suddenly what lay beyond the eight Aiel leaped out at her, and question and answer came at the same time. Where had the gai’shain come from? A hundred paces or so distant, veiled by the scattered trees and falling snow, a steady stream of people and pack animals, wagons and carts, was flowing by. Not a stream. A flood of Aiel on the move. Instead of a hundred and fifty Shaido, she had the whole clan to contend with. It seemed impossible that so many people could pass within a day or two of Abila without raising some alarm, even with the countryside in anarchy, but the proof was right in front of her eyes. Inside, she felt leaden. Maybe escape would be no harder, but she did not believe it.
 And opened it again as the gai’shain raised the mug to her once more. She gulped the precious heat, choking, and forced herself to swallow more slowly. The honey, so thick it would have been cloying any other time, dulled her hunger a little.
“You wetlanders know nothing,” the scarred man said dismissively. “Gai’shain are not clothed in any way until they can be given proper robes. But they feared you would freeze to death, and all they had to wrap you was their coats. You were shamed, named as weak, if wetlanders have shame. Rolan and many of the others are Mera’din, yet Efalin and the rest should know better. Efalin should not have allowed it.”
Shamed? Infuriated was more like it.  Vaguely she seemed to recall welcoming those spanks, but that was impossible. Of course it was impossible! Rolan did not look like a man who had half-trotted through most of a day and a night besides, carrying someone. His white-misted breath came easily. Mera’din? She thought that would mean Brotherless in the Old Tongue, which told her nothing, but there had been a note of scorn in the gai’shain s voice. She would have to ask Bain and Chiad, and hope it was not one of those things Aiel would not talk about to wetlanders, not even wetlanders who were close friends. Any piece of knowledge might aid escape.
So they had wrapped their prisoners up against the cold, had they? Well, no one would have been in any danger of freezing except for Rolan and the others. Still, she might owe him a small favor. Very small, considering everything. Perhaps she would only slice off his ears. If she ever got the chance, surrounded by thousands of Shaido. Thousands? The Shaido numbered in the hundreds of thousands, and tens of thousands of those were algai’d’siswai. Furious with herself, she fought despair. She would escape; they would all escape, and she would take the man’s ears with her!
“I will see Rolan’s repaid as he deserves,” she muttered when the gai’shain took the mug away for refilling again. He gave her a narrow-eyed suspicious stare, and she hurried. “As you say, I am a wetlander. Most of us are. We don’t follow ji’e’toh. By your customs, we shouldn’t be made gai’shain at all, is that not right?” The man’s scarred face did not change, not by so much as the twitch of an eyelid. A dim thought said it was too soon, she did not know the ground yet, but thoughts gelid with cold could not catch her tongue. “What if the Shaido decide to break other customs? They might decide not to let you go when your time is done.”
“The Shaido break many customs,” he told her placidly, “but I do not. I have over half a year yet to wear white. Until then, I will serve as custom demands. If you can talk so much, maybe you have had enough tea?”
Faile clumsily snatched the mug from him. His eyebrows lifted, and she rearranged her draperies one-handed as quickly as she could manage, her cheeks heating. He certainly knew he was looking at a woman. Light, she was blundering about like a blind ox! She had to think, to concentrate. Her brain was the only weapon she had. And at the moment, it might as well have been frozen cheese. Drinking deep of the hot sweet tea, she set herself to thinking of some way that being surrounded by thousands of Shaido could be turned to advantage. Nothing came to her, though. Nothing at all.


import { DatepickerModule } from '@sbb-esta/angular-public';
NativeDateAdapter
extends
DateAdapter
| Name | Description |
|---|---|
|
|
| addCalendarDays | |
|---|---|
| Parameters | |
|
date Date
|
|
|
days number
|
|
| Returns | |
Date
|
|
| addCalendarMonths | |
|---|---|
| Parameters | |
|
date Date
|
|
|
months number
|
|
| Returns | |
Date
|
|
| addCalendarYears | |
|---|---|
| Parameters | |
|
date Date
|
|
|
years number
|
|
| Returns | |
Date
|
|
| clampDate | |
|---|---|
|
Clamp the given date between min and max dates. |
|
| Parameters | |
|
date D
|
The date to clamp. |
|
min? D
|
The minimum value to allow. If null or omitted no min is enforced. |
|
max? D
|
The maximum value to allow. If null or omitted no max is enforced. |
| Returns | |
D
|
|
| clone | |
|---|---|
| Parameters | |
|
date Date
|
|
| Returns | |
Date
|
|
| compareDate | |
|---|---|
|
Compares two dates. |
|
| Parameters | |
|
first D
|
The first date to compare. |
|
second D
|
The second date to compare. |
| Returns | |
number
|
0 if the dates are equal, a number less than 0 if the first date is earlier, a number greater than 0 if the first date is later. |
| createDate | |
|---|---|
| Parameters | |
|
year number
|
|
|
month number
|
|
|
date number
|
|
| Returns | |
Date
|
|
| deserialize | |
|---|---|
|
Returns the given value if given a valid Date or null. Deserializes valid ISO 8601 strings (https://www.ietf.org/rfc/rfc3339.txt) into valid Dates and empty string into null. Returns an invalid date for all other values. |
|
| Parameters | |
|
value any
|
|
| Returns | |
Date | null
|
|
| format | |
|---|---|
| Parameters | |
|
date Date
|
|
|
displayFormat any
|
|
| Returns | |
string
|
|
| getDate | |
|---|---|
| Parameters | |
|
date Date
|
|
| Returns | |
number
|
|
| getDateNames | |
|---|---|
| Returns | |
string[]
|
|
| getDayOfWeek | |
|---|---|
| Parameters | |
|
date Date
|
|
| Returns | |
number
|
|
| getDayOfWeekNames | |
|---|---|
| Parameters | |
|
style "long" | "short" | "narrow"
|
|
| Returns | |
string[]
|
|
| getFirstDayOfWeek | |
|---|---|
| Returns | |
number
|
|
| getMonth | |
|---|---|
| Parameters | |
|
date Date
|
|
| Returns | |
number
|
|
| getMonthName | |
|---|---|
| Parameters | |
|
date Date
|
|
| getMonthNames | |
|---|---|
| Parameters | |
|
style "long" | "short" | "narrow"
|
|
| Returns | |
string[]
|
|
| getNumDaysInMonth | |
|---|---|
| Parameters | |
|
date Date
|
|
| Returns | |
number
|
|
| getYear | |
|---|---|
| Parameters | |
|
date Date
|
|
| Returns | |
number
|
|
| getYearName | |
|---|---|
| Parameters | |
|
date Date
|
|
| Returns | |
string
|
|
| invalid | |
|---|---|
| Returns | |
Date
|
|
| isDateInstance | |
|---|---|
| Parameters | |
|
obj any
|
|
| Returns | |
boolean
|
|
| isValid | |
|---|---|
| Parameters | |
|
date Date
|
|
| Returns | |
boolean
|
|
| parse | |
|---|---|
| Parameters | |
|
value any
|
|
| Returns | |
Date
|
|
| sameDate | |
|---|---|
|
Checks if two dates are equal. |
|
| Parameters | |
|
first D
|
The first date to check. |
|
second D
|
The second date to check. |
| Returns | |
boolean
|
Whether the two dates are equal. Null dates are considered equal to other null dates. |
| setLocale | |
|---|---|
|
Sets the locale used for all dates. |
|
| Parameters | |
|
locale any
|
The new locale. |
| toIso8601 | |
|---|---|
| Parameters | |
|
date Date
|
|
| Returns | |
string
|
|
| today | |
|---|---|
| Returns | |
Date
|
|
DatepickerComponent
Selector: sbb-datepicker
Exported as: sbbDatepicker| Name | Description |
|---|---|
|
@Input()
|
Whether arrows are enabled, which allow navigation to the next/previous day. They also support min and max date limits. Defaults to false. |
|
@Input()
|
An input indicating the type of the custom header component for the calendar, if set. |
|
@Input()
|
Whether the datepicker pop-up should be disabled. |
|
@Input()
|
Whether the calendar is open. |
|
@Input()
|
Classes to be passed to the date picker panel. Supports the same syntax as |
|
@Input()
|
Second datepicker to be used in 2 datepickers use case |
|
@Input()
|
The date to open the calendar to initially. |
|
@Input()
|
The view that the calendar should start in. |
|
@Input()
|
Whether the datepicker toggle is enabled. Defaults to true. |
|
@Output('closed')
|
Emits when the datepicker has been closed. |
|
@Output('opened')
|
Emits when the datepicker has been opened. |
|
|
|
|
|
|
|
|
The input element this datepicker is associated with. |
|
|
Emits when the datepicker is disabled. |
|
|
The id for the datepicker calendar. |
|
|
|
|
|
|
|
|
The maximum selectable date. |
|
|
The minimum selectable date. |
|
|
|
|
|
A reference to the overlay when the calendar is opened as a popup. |
|
|
|
|
|
The currently selected date. |
|
|
Emits new selected date when selected date changes. |
| close | |
|---|---|
|
Close the calendar. |
| nextDay |
|---|
| open | |
|---|---|
|
Open the calendar. |
| prevDay |
|---|
| registerInput | |
|---|---|
|
Register an input with this datepicker. |
|
| Parameters | |
|
input DateInputDirective<D>
|
The datepicker input to register with this datepicker. |
| select | |
|---|---|
|
Selects the given date |
|
| Parameters | |
|
date D
|
|
DatepickerToggleComponent
Selector: sbb-datepicker-toggle
| Name | Description |
|---|---|
|
@Input()
|
Whether the toggle button is disabled. |
|
|
|
|
|
|
|
|
| open | |
|---|---|
| Parameters | |
|
event Event
|
|
DateInputDirective
Selector: input[sbbDateInput]
Exported as: sbbDateInput| Name | Description |
|---|---|
|
@Input()
|
Function that can be used to filter out dates within the datepicker. |
|
@Input()
|
Whether the datepicker-input is disabled. |
|
@Input()
|
The maximum valid date. |
|
@Input()
|
The minimum valid date. |
|
@Input()
|
The value of the input. |
|
@Output()
|
Emits when a |
|
@Output()
|
Emits when an |
|
@Output()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Emits when the disabled state has changed |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Emits when the value changes (either due to user input or programmatic change). |
| getConnectedOverlayOrigin | |
|---|---|
|
Gets the element that the datepicker popup should be connected to. |
|
| Returns | |
ElementRef
|
The element to connect the popup to. |
| onBlur | |
|---|---|
|
Handles blur events on the input. |
| onChange |
|---|
| onInput | |
|---|---|
| Parameters | |
|
value string
|
|
| onKeydown | |
|---|---|
| Parameters | |
|
event KeyboardEvent
|
|
CalendarHeaderComponent
Selector: sbb-calendar-header
| Name | Description |
|---|---|
|
|
|
|
|
The label for the current calendar view. |
|
|
The label for the current calendar view. |
| currentPeriodClicked | |
|---|---|
|
Handles user clicks on the period label. |
| nextMonthClicked | |
|---|---|
|
Handles user clicks on the next button. |
| nextMonthEnabled | |
|---|---|
|
Whether the next period button is enabled. |
|
| Returns | |
boolean
|
|
| nextYearClicked | |
|---|---|
|
Handles user clicks on the next button. |
| nextYearEnabled | |
|---|---|
|
Whether the next period button is enabled. |
|
| Returns | |
boolean
|
|
| previousMonthClicked | |
|---|---|
|
Handles user clicks on the previous button. |
| previousMonthEnabled | |
|---|---|
|
Whether the previous period button is enabled. |
|
| Returns | |
boolean
|
|
| previousYearClicked | |
|---|---|
|
Handles user clicks on the previous button. |
| previousYearEnabled | |
|---|---|
|
Whether the previous period button is enabled. |
|
| Returns | |
boolean
|
|
CalendarBodyComponent
Selector: [sbb-calendar-body]
Exported as: sbbCalendarBody| Name | Description |
|---|---|
|
@Input()
|
The cell number of the active cell in the table. |
|
@Input()
|
Whether to allow selection of disabled cells. |
|
@Input()
|
The aspect ratio (width / height) to use for the cells in the table. This aspect ratio will be maintained even as the table resizes. |
|
@Input()
|
The label for the table. (e.g. "Jan 2017"). |
|
@Input()
|
The minimum number of free cells needed to fit the label in the first row. |
|
@Input()
|
The number of columns in the table. |
|
@Input()
|
The cells to display in the table. |
|
@Input()
|
The value in the table that is currently selected. |
|
@Input()
|
The value in the table that corresponds to today. |
|
@Output()
|
Emits when a new value is selected. |
|
|
|
|
|
|
|
|
|
|
|
The number of blank cells to put at the beginning for the first row. |
|
|
| cellClicked | |
|---|---|
| Parameters | |
|
cell CalendarCell
|
|
| focusActiveCell | |
|---|---|
|
Focuses the active cell after the microtask queue is empty. |
| isActiveCell | |
|---|---|
| Parameters | |
|
rowIndex number
|
|
|
colIndex number
|
|
| Returns | |
boolean
|
|
MonthViewComponent
Selector: sbb-month-view
Exported as: sbbMonthView| Name | Description |
|---|---|
|
@Input()
|
The date to display in this month view (everything other than the month and year is ignored). |
|
@Input()
|
A function used to filter which dates are selectable. |
|
@Input()
|
The maximum selectable date. |
|
@Input()
|
The minimum selectable date. |
|
@Input()
|
The currently selected date. |
|
@Output()
|
Emits when any date is activated. |
|
@Output()
|
Emits when a new date is selected. |
|
@Output()
|
Emits when any date is selected. |
|
|
|
|
|
|
|
|
The number of blank cells in the first row before the 1st of the month. |
|
|
|
|
|
The label for this month (e.g. "January 2017"). |
|
|
The body of calendar table |
|
|
The date of the month that the currently selected Date falls on. Null if the currently selected Date is in another month. |
|
|
The date of the month that today falls on. Null if today is in another month. |
|
|
The names of the weekdays. |
|
|
Grid of calendar cells representing the dates of the month. |
| dateSelected | |
|---|---|
|
Handles when a new date is selected. |
|
| Parameters | |
|
date number
|
|
| focusActiveCell | |
|---|---|
|
Focuses the active cell after the microtask queue is empty. |
| handleCalendarBodyKeydown | |
|---|---|
|
Handles keydown events on the calendar body when calendar is in month view. |
|
| Parameters | |
|
event KeyboardEvent
|
|
| init | |
|---|---|
|
Initializes this month view. |
SbbDateInputEvent
An event used for date input and change events. We don't always have access to a native input or change event because the event may have been triggered by the user clicking on the calendar popup. For consistency, we always use SbbDateInputEvent instead.
| Name | Description |
|---|---|
|
|
Reference to the date input component that emitted the event. |
|
|
Reference to the native input element associated with the date input. |
|
|
The new value for the target date input. |
DateAdapter
Adapts type D
to be usable as a date by cdk-based components that work with dates.
| Name | Description |
|---|---|
|
|
The locale to use for all dates. |
| addCalendarDays | |
|---|---|
|
Adds the given number of days to the date. Days are counted as if moving one cell on the calendar for each day. |
|
| Parameters | |
|
date D
|
The date to add days to. |
|
days number
|
The number of days to add (may be negative). |
| Returns | |
D
|
A new date equal to the given one with the specified number of days added. |
| addCalendarMonths | |
|---|---|
|
Adds the given number of months to the date. Months are counted as if flipping a page on the calendar for each month and then finding the closest date in the new month. For example when adding 1 month to Jan 31, 2017, the resulting date will be Feb 28, 2017. |
|
| Parameters | |
|
date D
|
The date to add months to. |
|
months number
|
The number of months to add (may be negative). |
| Returns | |
D
|
A new date equal to the given one with the specified number of months added. |
| addCalendarYears | |
|---|---|
|
Adds the given number of years to the date. Years are counted as if flipping 12 pages on the calendar for each year and then finding the closest date in the new month. For example when adding 1 year to Feb 29, 2016, the resulting date will be Feb 28, 2017. |
|
| Parameters | |
|
date D
|
The date to add years to. |
|
years number
|
The number of years to add (may be negative). |
| Returns | |
D
|
A new date equal to the given one with the specified number of years added. |
| clampDate | |
|---|---|
|
Clamp the given date between min and max dates. |
|
| Parameters | |
|
date D
|
The date to clamp. |
|
min? D
|
The minimum value to allow. If null or omitted no min is enforced. |
|
max? D
|
The maximum value to allow. If null or omitted no max is enforced. |
| Returns | |
D
|
|
| clone | |
|---|---|
|
Clones the given date. |
|
| Parameters | |
|
date D
|
The date to clone |
| Returns | |
D
|
A new date equal to the given date. |
| compareDate | |
|---|---|
|
Compares two dates. |
|
| Parameters | |
|
first D
|
The first date to compare. |
|
second D
|
The second date to compare. |
| Returns | |
number
|
0 if the dates are equal, a number less than 0 if the first date is earlier, a number greater than 0 if the first date is later. |
| createDate | |
|---|---|
|
Creates a date with the given year, month, and date. Does not allow over/under-flow of the month and date. |
|
| Parameters | |
|
year number
|
The full year of the date. (e.g. 89 means the year 89, not the year 1989). |
|
month number
|
The month of the date (0-indexed, 0 = January). Must be an integer 0 - 11. |
|
date number
|
The date of month of the date. Must be an integer 1 - length of the given month. |
| Returns | |
D
|
The new date, or null if invalid. |
| deserialize | |
|---|---|
|
Attempts to deserialize a value to a valid date object. This is different from parsing in that deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601 string). The default implementation does not allow any deserialization, it simply checks that the given value is already a valid date object or null. The |
|
| Parameters | |
|
value any
|
The value to be deserialized into a date object. |
| Returns | |
D | null
|
The deserialized date object, either a valid date, null if the value can be deserialized into a null date (e.g. the empty string), or an invalid date. |
| format | |
|---|---|
|
Formats a date as a string according to the given format. |
|
| Parameters | |
|
date D
|
The value to format. |
|
displayFormat any
|
The format to use to display the date as a string. |
| Returns | |
string
|
The formatted date string. |
| getDate | |
|---|---|
|
Gets the date of the month component of the given date. |
|
| Parameters | |
|
date D
|
The date to extract the date of the month from. |
| Returns | |
number
|
The month component (1-indexed, 1 = first of month). |
| getDateNames | |
|---|---|
|
Gets a list of names for the dates of the month. |
|
| Returns | |
string[]
|
An ordered list of all date of the month names, starting with '1'. |
| getDayOfWeek | |
|---|---|
|
Gets the day of the week component of the given date. |
|
| Parameters | |
|
date D
|
The date to extract the day of the week from. |
| Returns | |
number
|
The month component (0-indexed, 0 = Sunday). |
| getDayOfWeekNames | |
|---|---|
|
Gets a list of names for the days of the week. |
|
| Parameters | |
|
style "long" | "short" | "narrow"
|
The naming style (e.g. long = 'Sunday', short = 'Sun', narrow = 'S'). |
| Returns | |
string[]
|
An ordered list of all weekday names, starting with Sunday. |
| getFirstDayOfWeek | |
|---|---|
|
Gets the first day of the week. |
|
| Returns | |
number
|
The first day of the week (0-indexed, 0 = Sunday). |
| getMonth | |
|---|---|
|
Gets the month component of the given date. |
|
| Parameters | |
|
date D
|
The date to extract the month from. |
| Returns | |
number
|
The month component (0-indexed, 0 = January). |
| getMonthName | |
|---|---|
| Parameters | |
|
date D
|
|
| Returns | |
string
|
|
| getMonthNames | |
|---|---|
|
Gets a list of names for the months. |
|
| Parameters | |
|
style "long" | "short" | "narrow"
|
The naming style (e.g. long = 'January', short = 'Jan', narrow = 'J'). |
| Returns | |
string[]
|
An ordered list of all month names, starting with January. |
| getNumDaysInMonth | |
|---|---|
|
Gets the number of days in the month of the given date. |
|
| Parameters | |
|
date D
|
The date whose month should be checked. |
| Returns | |
number
|
The number of days in the month of the given date. |
| getYear | |
|---|---|
|
Gets the year component of the given date. |
|
| Parameters | |
|
date D
|
The date to extract the year from. |
| Returns | |
number
|
The year component. |
| getYearName | |
|---|---|
|
Gets the name for the year of the given date. |
|
| Parameters | |
|
date D
|
The date to get the year name for. |
| Returns | |
string
|
The name of the given year (e.g. '2017'). |
| invalid | |
|---|---|
|
Gets date instance that is not valid. |
|
| Returns | |
D
|
An invalid date. |
| isDateInstance | |
|---|---|
|
Checks whether the given object is considered a date instance by this DateAdapter. |
|
| Parameters | |
|
obj any
|
The object to check |
| Returns | |
boolean
|
Whether the object is a date instance. |
| isValid | |
|---|---|
|
Checks whether the given date is valid. |
|
| Parameters | |
|
date D
|
The date to check. |
| Returns | |
boolean
|
Whether the date is valid. |
| parse | |
|---|---|
|
Parses a date from a user-provided value. |
|
| Parameters | |
|
value any
|
The value to parse. |
| Returns | |
D | null
|
The parsed date. |
| sameDate | |
|---|---|
|
Checks if two dates are equal. |
|
| Parameters | |
|
first D
|
The first date to check. |
|
second D
|
The second date to check. |
| Returns | |
boolean
|
Whether the two dates are equal. Null dates are considered equal to other null dates. |
| setLocale | |
|---|---|
|
Sets the locale used for all dates. |
|
| Parameters | |
|
locale any
|
The new locale. |
| toIso8601 | |
|---|---|
|
Gets the RFC 3339 compatible string (https://tools.ietf.org/html/rfc3339) for the given date. This method is used to generate date strings that are compatible with native HTML attributes such as the |
|
| Parameters | |
|
date D
|
The date to get the ISO date string for. |
| Returns | |
string
|
The ISO date string date string. |
| today | |
|---|---|
|
Gets today's date. |
|
| Returns | |
D
|
Today's date. |
DateFormats
| Name | Description |
|---|---|
|
|
|
|
|


We're sorry but almanack doesn't work properly without JavaScript enabled. Please enable it to continue.


Mercedes-Benz to cut 1,100 jobs as part of new savings plan
by Staff WriterOla Källenius, the new CEO of Mercedes-Benz, claims the decision to implement the savings plan has been made as a result of diesel fines and heavy investment in electric vehicles.
Mercedes has announced a plan to save £850 million (approx Rs 7,858 crore) by the end of 2022, in order to offset the cost of transitioning into electric and self-driving cars.
The move will include the loss of 10 percent of all management jobs, which is believed to equate to around 1,100 employees.
During an investor conference led by chief executive Ola Källenius, who took over from Dieter Zetsche in May, the German firm revealed it has spent an additional £430m (approx Rs 3,975 crore) on electric car development this year, as well as paid around £750m (approx Rs 6,930 crore) to regulators after admitting that 7,00,000 diesel cars it sold didn’t meet emissions regulations.
“The industry is in transformation,” said Källenius. “The expenditure needed to achieve the [European Union’s] CO2 targets requires comprehensive measures to increase efficiency in all areas of our company.”
Mercedes is under particular pressure to meet European emissions targets by next year, with the firm struggling to hit the 95g/km average from its current average of 138g/km for all cars sold.
While it's able to offset some of that risk through super-credits earned by sales of electric vehicles, such as the Mercedes-Benz EQC, failure to hit targets could cost it billions of Euros in fines.
Parent firm Daimler has already issued two profit warnings in 2019, and Källenius warned that margins would fall to 4 percent this year and rise to only 6 percent by 2022. He also cautioned that the rising trade war between the US and China, plus the impact from Brexit, could wipe out a further 1 percent, threatening to give the firm smaller margins than many mainstream carmakers.
Closer to home, Mercedes-Benz has recently launched the V-class Elite at Rs 1.1 crore (ex-showroom, India). The top-end Elite model is based on the V-class facelift that was introduced in international markets earlier this year.
Also see:
Mercedes-Benz G-class to get all-electric derivative
Mercedes-Benz Vision EQS concept EV unveiled
Mercedes-Benz Classic Car Rally 2019: the rolling museum


| I l@ve RuBoard |
20.5 Using Python Classes in CIn the previous chapter, we saw how to use C++ classes in Python by wrapping them with SWIG. But what about going the other way -- using Python classes from other languages? It turns out that this is really just a matter of applying interfaces already shown. Recall that Python scripts generate class instance objects by calling class objects as though they were functions. To do it from C (or C++), you simply follow the same steps: import a class from a module (or elsewhere), build an arguments tuple, and call it to generate an instance using the same C API tools you use to call Python functions. Once you've got an instance, you can fetch attributes and methods with the same tools you use to fetch globals out of a module. To illustrate how this works in practice, Example 20-12 defines a simple Python class in a module that we can utilize from C. Example 20-12. PP2E\Integrate\Embed\ApiClients\module.py# call this class from C to make objects class klass: def method(self, x, y): return "brave %s %s" % (x, y) # run me from C This is nearly as simple as it gets, but it's enough to illustrate the basics. As usual, make sure that this module is on your Python search path (e.g., in the current directory, or one listed on your PYTHONPATH setting), or else the import call to access it from C will fail, just as it would in a Python script. Now, here is how you might make use of this Python class from a Python program: C:\...\PP2E\Integrate\Embed\ApiClients>python >>> import module # import the file >>> object = module.klass( ) # make class instance >>> result = object.method('sir', 'robin') # call class method >>> print result brave sir robin This is fairly easy stuff in Python. You can do all these operations in C too, but it takes a bit more code. The C file in Example 20-13 implements these steps by arranging calls to the appropriate Python API tools. Example 20-13. PP2E\Integrate\Embed\ApiClients\objects-low.c#include <Python.h> #include <stdio.h> main( ) { /* run objects with low-level calls */ char *arg1="sir", *arg2="robin", *cstr; PyObject *pmod, *pclass, *pargs, *pinst, *pmeth, *pres; /* instance = module.klass( ) */ Py_Initialize( ); pmod = PyImport_ImportModule("module"); /* fetch module */ pclass = PyObject_GetAttrString(pmod, "klass"); /* fetch module.class */ Py_DECREF(pmod); pargs = Py_BuildValue("( )"); pinst = PyEval_CallObject(pclass, pargs); /* call class( ) */ Py_DECREF(pclass); Py_DECREF(pargs); /* result = instance.method(x,y) */ pmeth = PyObject_GetAttrString(pinst, "method"); /* fetch bound method */ Py_DECREF(pinst); pargs = Py_BuildValue("(ss)", arg1, arg2); /* convert to Python */ pres = PyEval_CallObject(pmeth, pargs); /* call method(x,y) */ Py_DECREF(pmeth); Py_DECREF(pargs); PyArg_Parse(pres, "s", &cstr); /* convert to C */ printf("%s\n", cstr); Py_DECREF(pres); } Step through this source file for more details; it's merely a matter of figuring out how you would accomplish the task in Python, and then calling equivalent C functions in the Python API. To build this source into a C executable program, run the makefile in the file's directory (it's analogous to makefiles we've already seen). After compiling, run it as you would any other C program: [mark@toy ~/.../PP2E/Integrate/Embed/ApiClients]$ objects-low brave sir robin This output might seem anticlimactic, but it actually reflects the return values sent back to C by the class method in file module.py. C did a lot of work to get this little string: it imported the module, fetched the class, made an instance, and fetched and called the instance method, performing data conversions and reference count management every step of the way. In return for all the work, C gets to use the techniques shown in this file to reuse any Python class. Of course, this example would be more complex in practice. As mentioned earlier, you generally need to check the return value of every Python API call to make sure it didn't fail. The module import call in this C code, for instance, can fail easily if the module isn't on the search path; if you don't trap the NULL pointer result, your program will almost certainly crash when it tries to use the pointer (at least eventually). Example 20-14 is a recoding of Example 20-13 with full error-checking; it's big, but it's robust. Example 20-14. PP2E\Integrate\Embed\ApiClients\objects-err-low.c#include <Python.h> #include <stdio.h> #define error(msg) do { printf("%s\n", msg); exit(1); } while (1) main( ) { /* run objects with low-level calls and full error checking */ char *arg1="sir", *arg2="robin", *cstr; PyObject *pmod, *pclass, *pargs, *pinst, *pmeth, *pres; /* instance = module.klass( ) */ Py_Initialize( ); pmod = PyImport_ImportModule("module"); /* fetch module */ if (pmod == NULL) error("Can't load module"); pclass = PyObject_GetAttrString(pmod, "klass"); /* fetch module.class */ Py_DECREF(pmod); if (pclass == NULL) error("Can't get module.klass"); pargs = Py_BuildValue("( )"); if (pargs == NULL) { Py_DECREF(pclass); error("Can't build arguments list"); } pinst = PyEval_CallObject(pclass, pargs); /* call class( ) */ Py_DECREF(pclass); Py_DECREF(pargs); if (pinst == NULL) error("Error calling module.klass( )"); /* result = instance.method(x,y) */ pmeth = PyObject_GetAttrString(pinst, "method"); /* fetch bound method */ Py_DECREF(pinst); if (pmeth == NULL) error("Can't fetch klass.method"); pargs = Py_BuildValue("(ss)", arg1, arg2); /* convert to Python */ if (pargs == NULL) { Py_DECREF(pmeth); error("Can't build arguments list"); } pres = PyEval_CallObject(pmeth, pargs); /* call method(x,y) */ Py_DECREF(pmeth); Py_DECREF(pargs); if (pres == NULL) error("Error calling klass.method"); if (!PyArg_Parse(pres, "s", &cstr)) /* convert to C */ error("Can't convert klass.method result"); printf("%s\n", cstr); Py_DECREF(pres); } |
| I l@ve RuBoard |


A channel to discuss trading. For useful links and more info click the pinned messages to the right.
100 messages
Before 05-Dec-19 12:00 AM
dukeleto24-Apr-19 12:09 PM
I expect to see ZEC hashrate double again in the next few days/week
as Z11's turn on
ComputerGenie 👴👴👴24-Apr-19 12:09 PM
literally purchased S7-LNs the day before S9s were announced
dukeleto24-Apr-19 12:11 PM
Z11's are about 10x the hashrate of a z9m or about 2.5X the hashrate of a Z9. a9++ is similar. I expect to see the price of ZEC continue to go down as asic miners fight to decide who will break even.
Z11 owners are getting theirs first, a9++ owners are at a disadvantage. Both will aggressively sell to try to break even
@ComputerGenie 👴👴👴 i value your opinion, does this seem plausible to you?
ComputerGenie 👴👴👴24-Apr-19 12:12 PM
I expect to see the price of ZEC continue to go down as asic miners fight to decide who will break even.
Or it could be like BTC and become the driving excuse for a rise
dukeleto24-Apr-19 12:12 PM
we have never seen 2 equihash asics launched at the same time, to compete
jl777c24-Apr-19 12:15 PM
maybe it forces miners to hodl
ComputerGenie 👴👴👴24-Apr-19 12:15 PM
as far as dumping "to break even", I think there's a certain level of that in anyone in that equipment price range no matter what the market price does
but those, imo, are those that really couldn't afford to buy it to begin with(edited)
jl777c24-Apr-19 12:15 PM
a lot of miners could be mining as it is a KYC free way of buying coins
2
Alright24-Apr-19 12:17 PM
bitmain KYCs now, don't they?
dukeleto24-Apr-19 12:18 PM
yes
that has been for a while
they added that when the z9m came out, i think
ComputerGenie 👴👴👴24-Apr-19 12:19 PM
imo, the bulk of the hash rate is concerned with KYC issues being all up in their guts, but the bulk of miners are lemmings that would fingerprint their 1st born and give you screen grabs of a colonoscopy if it meant they'd make $2
1
Alright24-Apr-19 12:19 PM
after
definitely after
dukeleto24-Apr-19 12:19 PM
@Alright i bought a z9m just before the cutoff for KYC-only
it was during
ComputerGenie 👴👴👴24-Apr-19 12:28 PM
not yet
in many ways, their only dealing with BTC and only being a service hub should put them ever adding it way off into the future
"their" is possessive (which is what I wrote and meant)
"they're" is a contraction for "they are" (which isn't)
1
nocturnal24-Apr-19 12:43 PM
their dealings, or they're dealing, not their dealing
1
no im talking cobblers
anyways kmd took a nice dip so i have a little more
so its ok to push the price up again now
lol arent we all
mrlynch24-Apr-19 12:48 PM
what if i only do 1 deal.. isn't that my dealing? asking for a friend
ComputerGenie 👴👴👴24-Apr-19 12:49 PM
lol
English is a stupid feken language with far too many silly rules
mrlynch24-Apr-19 12:50 PM
aaand back on topic... good things happening on ARRR/KMD
my portofolio is happy
we need a #debate-corner
ComputerGenie 👴👴👴24-Apr-19 12:51 PM
arbs ARRR/BTC and ARRR/KMD because it's a non-rational movement
mrlynch24-Apr-19 12:52 PM
i don't have any btc left
and i'm not buying anymore.... last time i had a good opportunity i had to wait 47 mins for confs
might as well move away from btc all together
plenty of fiat on-ramps and exits for kmd
seems a better, quicker fit
ComputerGenie 👴👴👴24-Apr-19 12:53 PM
only 47?
A phrase I never want to hear at my door again
1
mrlynch24-Apr-19 01:03 PM
buying CHIPS if anyone has any... not a lot. am not whalebro(edited)
jl777c24-Apr-19 01:05 PM
coinexchange.io
mrlynch24-Apr-19 01:05 PM
i've put a buy order on DP
ComputerGenie 👴👴👴24-Apr-19 01:05 PM
is selling 10k CHIPS for KMD @ 1:1
mrlynch24-Apr-19 01:05 PM
lol no deal(edited)
ComputerGenie 👴👴👴24-Apr-19 01:06 PM
when the GUI is complete, you'll be begging for that deal
mrlynch24-Apr-19 01:06 PM
i know, but i live in the present
ComputerGenie 👴👴👴24-Apr-19 01:06 PM
siu - Chainmakers24-Apr-19 01:07 PM
What happened to coinswitch.io?
Oh that
I was wondering, who here is up to become a marketmaker for barterdex network?
We are looking for brave people who want to become marketmakers
klein24-Apr-19 01:23 PM
I'd be willing to put some bids at 10k sats
and offers at 100k
kmd/btc(edited)
Acura24-Apr-19 01:32 PM
Can offer 30k chips for each 0.35KMD
mrlynch24-Apr-19 01:38 PM
i can buy for a lot less on DP
let the haggling begin
modereck24-Apr-19 01:38 PM
whats the max supply of CHIPS?
CHMEX24-Apr-19 01:39 PM
21m
1
ComputerGenie 👴👴👴24-Apr-19 01:41 PM
waits to see if DP decimates the value of CHIPS like it did ARRR
mrlynch24-Apr-19 01:43 PM
i'm banking on that
ComputerGenie 👴👴👴24-Apr-19 01:46 PM
it'd be good for newcomers, to be sure, for us long time holders, not so much (edited)
mrlynch24-Apr-19 01:52 PM
depends on what you class as long time
it's all relative my friend
CHMEX24-Apr-19 01:56 PM
The top 75 accounts have 95% of the coins...
ComputerGenie 👴👴👴24-Apr-19 01:56 PM
since the block reward was 50 (edited)
Kitchen Table24-Apr-19 01:58 PM
Very few people knew the coin existed and even cared to buy and hold it. Doesn't surprise me that most coins are held by few wallets. It will get spread out once price goes up.
dokrates24-Apr-19 02:00 PM
im almost ready to rebuy
a little bit more and i'll start rebuying
Keppie24-Apr-19 02:02 PM
If anyone wants out of OUR. I'll take them off your hands
ComputerGenie 👴👴👴24-Apr-19 02:03 PM
is selling OUR for KMD @ 1:1
Keppie24-Apr-19 02:03 PM
meh
I'll sell you some votes for OUR
1
1
1
Kitchen Table24-Apr-19 02:04 PM
Seeing how the GUI is coming, I wouldn't wait too long. Maybe a few months if nothing goes bad.

ComputerGenie 👴👴👴24-Apr-19 02:19 PM
It's not even morals, per se; either folks think I should get the job or they don't
now, if being a NN paid $1M a year, I might change that position


An order confirmation email with receipt has been sent to {{ order.customer().email }}.
| Subtotal: | {{ order.subtotal | currency:merchant.currency().code }} |
| Tax: | {{ order.tax | currency:merchant.currency().code }} |
| Discount: | -{{ order.couponAmount | currency:merchant.currency().code }} |
| Total: | {{ order.total | currency:merchant.currency().code }} |
| Balance due: | {{ order.outstandingBalance | currency:merchant.currency().code }} |


PSYPool
HOME
TOURNAMENT
GALLERY
INFORMATION
PRODUCTS
BUY
HOME
TOURNAMENT
GALLERY
INFORMATION
PRODUCTS
BUY
Register
UserName
:
Phone
:
Gender
:
Laki-laki
Perempuan
Alamat
:
Product Name
:
Quantity
:
\
Yes
I agree with the terms & condition


FeatureSummary¶
Macros for generating a summary of enabled/disabled features
This module provides the macros feature_summary(), set_package_properties() and add_feature_info(). For compatibility it also still provides set_package_info(), set_feature_info(), print_enabled_features() and print_disabled_features().
These macros can be used to generate a summary of enabled and disabled packages and/or feature for a build tree:
-- The following OPTIONAL packages have been found:
LibXml2 (required version >= 2.4), XML processing lib, <http://xmlsoft.org>
* Enables HTML-import in MyWordProcessor
* Enables odt-export in MyWordProcessor
PNG , A PNG image library. , <http://www.libpng.org/pub/png/>
* Enables saving screenshots
-- The following OPTIONAL packages have not been found:
Lua51 , The Lua scripting language. , <http://www.lua.org>
* Enables macros in MyWordProcessor
Foo , Foo provides cool stuff.
FEATURE_SUMMARY( [FILENAME <file>]
[APPEND]
[VAR <variable_name>]
[INCLUDE_QUIET_PACKAGES]
[FATAL_ON_MISSING_REQUIRED_PACKAGES]
[DESCRIPTION "Found packages:"]
WHAT (ALL | PACKAGES_FOUND | PACKAGES_NOT_FOUND
| ENABLED_FEATURES | DISABLED_FEATURES)
)
The FEATURE_SUMMARY() macro can be used to print information about enabled or disabled packages or features of a project. By default, only the names of the features/packages will be printed and their required version when one was specified. Use SET_PACKAGE_PROPERTIES() to add more useful information, like e.g. a download URL for the respective package or their purpose in the project.
The WHAT option is the only mandatory option. Here you specify what information will be printed:
ALL
- print everything
ENABLED_FEATURES
- the list of all features which are enabled
DISABLED_FEATURES
- the list of all features which are disabled
PACKAGES_FOUND
- the list of all packages which have been found
PACKAGES_NOT_FOUND
- the list of all packages which have not been found
OPTIONAL_PACKAGES_FOUND
- only those packages which have been found which have the type OPTIONAL
OPTIONAL_PACKAGES_NOT_FOUND
- only those packages which have not been found which have the type OPTIONAL
RECOMMENDED_PACKAGES_FOUND
- only those packages which have been found which have the type RECOMMENDED
RECOMMENDED_PACKAGES_NOT_FOUND
- only those packages which have not been found which have the type RECOMMENDED
REQUIRED_PACKAGES_FOUND
- only those packages which have been found which have the type REQUIRED
REQUIRED_PACKAGES_NOT_FOUND
- only those packages which have not been found which have the type REQUIRED
RUNTIME_PACKAGES_FOUND
- only those packages which have been found which have the type RUNTIME
RUNTIME_PACKAGES_NOT_FOUND
- only those packages which have not been found which have the type RUNTIME
With the exception of the ALL
value, these values can be combined
in order to customize the output. For example:
feature_summary(WHAT ENABLED_FEATURES DISABLED_FEATURES)
If a FILENAME is given, the information is printed into this file. If APPEND is used, it is appended to this file, otherwise the file is overwritten if it already existed. If the VAR option is used, the information is “printed” into the specified variable. If FILENAME is not used, the information is printed to the terminal. Using the DESCRIPTION option a description or headline can be set which will be printed above the actual content. If INCLUDE_QUIET_PACKAGES is given, packages which have been searched with find_package(... QUIET) will also be listed. By default they are skipped. If FATAL_ON_MISSING_REQUIRED_PACKAGES is given, CMake will abort if a package which is marked as REQUIRED has not been found.
Example 1, append everything to a file:
feature_summary(WHAT ALL
FILENAME ${CMAKE_BINARY_DIR}/all.log APPEND)
Example 2, print the enabled features into the variable enabledFeaturesText, including QUIET packages:
feature_summary(WHAT ENABLED_FEATURES
INCLUDE_QUIET_PACKAGES
DESCRIPTION "Enabled Features:"
VAR enabledFeaturesText)
message(STATUS "${enabledFeaturesText}")
SET_PACKAGE_PROPERTIES(<name> PROPERTIES
[ URL <url> ]
[ DESCRIPTION <description> ]
[ TYPE (RUNTIME|OPTIONAL|RECOMMENDED|REQUIRED) ]
[ PURPOSE <purpose> ]
)
Use this macro to set up information about the named package, which can then be displayed via FEATURE_SUMMARY(). This can be done either directly in the Find-module or in the project which uses the module after the find_package() call. The features for which information can be set are added automatically by the find_package() command.
URL: this should be the homepage of the package, or something similar. Ideally this is set already directly in the Find-module.
DESCRIPTION: A short description what that package is, at most one sentence. Ideally this is set already directly in the Find-module.
TYPE: What type of dependency has the using project on that package. Default is OPTIONAL. In this case it is a package which can be used by the project when available at buildtime, but it also work without. RECOMMENDED is similar to OPTIONAL, i.e. the project will build if the package is not present, but the functionality of the resulting binaries will be severly limited. If a REQUIRED package is not available at buildtime, the project may not even build. This can be combined with the FATAL_ON_MISSING_REQUIRED_PACKAGES argument for feature_summary(). Last, a RUNTIME package is a package which is actually not used at all during the build, but which is required for actually running the resulting binaries. So if such a package is missing, the project can still be built, but it may not work later on. If set_package_properties() is called multiple times for the same package with different TYPEs, the TYPE is only changed to higher TYPEs ( RUNTIME < OPTIONAL < RECOMMENDED < REQUIRED ), lower TYPEs are ignored. The TYPE property is project-specific, so it cannot be set by the Find-module, but must be set in the project.
PURPOSE: This describes which features this package enables in the project, i.e. it tells the user what functionality he gets in the resulting binaries. If set_package_properties() is called multiple times for a package, all PURPOSE properties are appended to a list of purposes of the package in the project. As the TYPE property, also the PURPOSE property is project-specific, so it cannot be set by the Find-module, but must be set in the project.
Example for setting the info for a package:
find_package(LibXml2)
set_package_properties(LibXml2 PROPERTIES
DESCRIPTION "A XML processing library."
URL "http://xmlsoft.org/")
set_package_properties(LibXml2 PROPERTIES
TYPE RECOMMENDED
PURPOSE "Enables HTML-import in MyWordProcessor")
...
set_package_properties(LibXml2 PROPERTIES
TYPE OPTIONAL
PURPOSE "Enables odt-export in MyWordProcessor")
find_package(DBUS)
set_package_properties(DBUS PROPERTIES
TYPE RUNTIME
PURPOSE "Necessary to disable the screensaver during a presentation" )
ADD_FEATURE_INFO(<name> <enabled> <description>)
Use this macro to add information about a feature with the given <name>. <enabled> contains whether this feature is enabled or not, <description> is a text describing the feature. The information can be displayed using feature_summary() for ENABLED_FEATURES and DISABLED_FEATURES respectively.
Example for setting the info for a feature:
option(WITH_FOO "Help for foo" ON)
add_feature_info(Foo WITH_FOO "The Foo feature provides very cool stuff.")
The following macros are provided for compatibility with previous CMake versions:
SET_PACKAGE_INFO(<name> <description> [<url> [<purpose>] ] )
Use this macro to set up information about the named package, which can then be displayed via FEATURE_SUMMARY(). This can be done either directly in the Find-module or in the project which uses the module after the find_package() call. The features for which information can be set are added automatically by the find_package() command.
PRINT_ENABLED_FEATURES()
Does the same as FEATURE_SUMMARY(WHAT ENABLED_FEATURES DESCRIPTION “Enabled features:”)
PRINT_DISABLED_FEATURES()
Does the same as FEATURE_SUMMARY(WHAT DISABLED_FEATURES DESCRIPTION “Disabled features:”)
SET_FEATURE_INFO(<name> <description> [<url>] )
Does the same as SET_PACKAGE_INFO(<name> <description> <url> )


Because of interest and the need for better examples (for teaching and for use in tools under-development), such as prcr and tidyLPA, I worked to create two data packages, data easily available through an R package.
A benefit of the data being in an R
package is that it is even easier to access than other formats (in R
): Just load the name of the package and type the name of the data frame, or, if the data is included as built-in data in another package (one that is loaded), just type the name of the data frame. This can be helpful because data packages can make it easy to use an interesting dataset right away (loading data can sometimes be surprisingly hard) Another benefit is the data are documented and easily joined (in the case of the student questionnaire and achievement data in the PISA data) with related information, such as students’ schools. The data are also saved in an efficient format.
pisaUSA15: Data package that provides student questionnaire data from the 2015 PISA for students in the United States of America. I’ve used these for examples in the
prcr
andtidyLPA
packages. More information is available at http://www.oecd.org/pisa/data/.railtrails: Data package with trail data from the Rails-to-Trails Conservancy, including the trail name, state, distance, and surface. I’ve used this data to illustrate ideas behind mixed effects (or multi-level) models here, here, and here. More information is available at https://www.traillink.com/. UPDATE: This package is now available on CRAN (see here).


{% extends "layout.html" %} {% block head %} {% endblock head %} {% block content %}
GO-enrichment analyses comparing post-translationally modified proteins to unmodified proteins are likely to reveal enriched GO-terms associated with abundant proteins, rather than modified proteins specifically. We have developed a method to correct for this bias (see Publication or FAQ) and this freely accessible web-tool, which you are most welcome to use.
This site can be used for functional annotation enrichment for proteomics data.
It contains tools for abundance corrected GO-term, UniProt-keyword, and KEGG pathway enrichment.


Before Change
stmnt = "DELETE FROM traj_info WHERE hash in (%s)" % sql_compatible_ids
cur = self._database.execute(stmnt)
self._database.commit()
assert cur.rowcount == len(ids), "deleted not as many rows(%s) as desired(%s)" %(cur.rowcount, len(ids))
// iterate over all LRU databases and delete those ids, we"ve just deleted from the main db.
age_by_hash.sort(key=itemgetter(2))
After Change
// Do this within the same execution block of the main database, because we do not want the entry to be deleted,
// in case of a subsequent failure.
age_by_hash.sort(key=itemgetter(2))
for db, values in itertools.groupby(age_by_hash, key=itemgetter(2)):
values = tuple(v[0] for v in values)
with sqlite3.connect(db, timeout=self.lru_timeout) as conn:
stmnt = "DELETE FROM usage WHERE hash IN (%s)" \
% SqliteDB._format_tuple_for_sql(values)
curr = conn.execute(stmnt)
assert curr.rowcount == len(values), curr.rowcount


The gadget's list is full!
Please delete some gadget to add more.
| # | Gadget | Description | Brand | Price | Options |
|---|---|---|---|---|---|
| {{i+1}} | {{gadget.name}} | {{gadget.description}} | {{gadget.brand}} | {{gadget.price | currency}} |
A gadget is a small mechanical or electronic device or tool, especially an ingenious or novel one
Feel free to add your top five favorites gadgets. Type the name, brand, price and description of the gadget; all the fields are requireds.


{% extends "main.html" %} {% block content %} {% include "header.html" %}
For more general information about PPRL datasets, such as what this data is, and how to participate, please visit our PPRL FAQ


A high-performance graph domain specific language
The performance bottlenecks of graph applications depend not only on the algorithm and the underlying hardware, but also on the size and structure of the input graph. As a result, programmers must try different combinations of a large set of techniques, which make tradeoffs among locality, work-efficiency, and parallelism, to develop the best implementation for a specific algorithm and type of graph. Existing graph frameworks and domain specific languages (DSLs) lack flexibility, supporting only a limited set of optimizations.
GraphIt is a new DSL for graph computations that generates fast implementations for algorithms with different performance characteristics running on graphs with different sizes and structures. GraphIt separates what is computed (algorithm) from how it is computed (schedule). Programmers specify the algorithm using an algorithm language, and performance optimizations are specified using a separate scheduling language. The scheduling language enables programmers to easily search through this complicated tradeoff space by composing together a large set of edge traversal and vertex data layout optimizations.
GraphIt outperforms the next fastest of six state-of-the-art shared-memory frameworks (Ligra, Green-Marl, GraphMat, Galois, Gemini, and Grazelle) by up to 4.8x and reduces the lines of code by up to an order of magnitude compared to the next fastest framework.Below we show some performance comparisons collected on our dual-socket system with Intel Xeon E5-2695 v3 CPUs with 12 cores each for a total of 24 cores and 48 hyper-threads. The system has 128GB of DDR3-1600 memory and 30 MB last level cache on each socket, and runs with Transparent Huge Pages (THP) enabled.
GraphIt is open source, under a commercially permissive MIT license. We encourage you to use it in open source or commercial projects!


Codetta is divided into 4 areas:
In order for any of our blocks to generate sound we must connect them to a speaker block. This is so that the sound knows where to come out of. Click and drag the speaker block (shown above) from the toolbar into the workspace, and try moving it around.
Now let's start making some music! In the toolbar, go to the "Bar" tab and drag the "4/4 bar" to the workspace.
You may have to wiggle blocks close together to encourage a connection!
Try connecting it to the speaker block and moving both blocks around the workspace together.
HINT: Lookout for the yellow highlighting that appears when blocks are close to connecting!
Mostly in music, notes are grouped into a bar. An individual bar only lasts for a finite amount of time so can only be filled by a finite number of notes.
Different notes last for a fraction of the entire bar. Hence, different combinations of notes can fill up a bar in many different ways.
Codetta does the maths for us, so we don't have to get confused!
To add a note to the "4/4 bar", click the plus button and select a note length.
Try different note lengths and see how much space they occupy within the bar. If you run out of space and can no longer see the plus button, connect another "4/4 bar". To hear how long each note lasts, click the play button within the playback area.
If you add the wrong note - press the minus button to remove it!
TIP: If you run out of room on the workspace, move the giant scrollbars that are either side of the wood paneling.
Once you are familiar with the different rhythms it's time to vary the pitch of notes.
Pitch is how high or low sounding a single note is.
When hovering over a note bar, two buttons appear with up and down arrows. By clicking them we move the note up and down the different lines on our bar (called the stave).
Each note has a corresponding letter.
Try moving some notes around, clicking play after each movement to hear the difference in sound.
The play button is in the top left of the screen!
So far you have learnt everything you need to know to start making music in Codetta, although there is much more to explore. To practice what you know, try to write the popular nursery rhyme "Twinkle Twinkle Little Star". The music is below to help you...
You may like to clean up your workspace by dragging your current blocks to the bin!


PIN MAP
LED STRIP
Pin 1
Value:
Direction:
IN
OUT
4
0
5
0
6
0
7
0
8
0
9
0
Led
0
EFFECTS
- Fill Color
- Flash Color
- Knight Rider
- Fade Color
- Rainbow
- Muzzley Intel®
- Join
- Leds Off
CUSTOM COLOR
PALETTE COLOR
BRIGHTNESS


Hello, and thank you for coming to my website! I am a third year student at the University of Alberta in Canada, pursuing a Specialization in Computing Sciences undergraduate degree.
Are you looking for an intern or someone to help you with a project? Take a look at a few of my School Projects, and Side projects to see what I have made. Then, maybe learn a little about me and consider hiring me.


This harbour (written Helsingør in Danish) regards itself as the Gateway to the Baltic. It sits immediately opposite the closest mainland point to Sweden.
The commercial port lies just south of Kronborg Castle (Hamlet's castle). It prides itself on being a centre for traditional wooden sailing boats.
Position 56°02.4'N,12°37.2'E.
All authorities are in the port.
As this is a busy ferry port, vessels must call the Port office on VHF channel 12 before entering or leaving.


Astropy provides a unified interface for reading and writing data in different formats. For many common cases this will simplify the process of file I/O and reduce the need to master the separate details of all the I/O packages within Astropy. This functionality is still in active development and the number of supported formats will be increasing. For details on the implementation see I/O Registry (astropy.io.registry).
The Table class includes two methods, read() and write(), that make it possible to read from and write to files. A number of formats are automatically supported (see Built-in table readers/writers) and new file formats and extensions can be registered with the Table class (see I/O Registry (astropy.io.registry)).
To use this interface, first import the Table class, then simply call the Table read() method with the name of the file and the file format, for instance 'ascii.daophot':
>>> from astropy.table import Table
>>> t = Table.read('photometry.dat', format='ascii.daophot')
It is possible to load tables directly from the Internet using URLs. For example, download tables from Vizier catalogues in CDS format ('ascii.cds'):
>>> t = Table.read("ftp://cdsarc.u-strasbg.fr/pub/cats/VII/253/snrs.dat",
... readme="ftp://cdsarc.u-strasbg.fr/pub/cats/VII/253/ReadMe",
... format="ascii.cds")
For certain file formats, the format can be automatically detected, for example from the filename extension:
>>> t = Table.read('table.tex')
Similarly, for writing, the format can be explicitly specified:
>>> t.write(filename, format='latex')
As for the read() method, the format may be automatically identified in some cases.
Any additional arguments specified will depend on the format. For examples of this see the section Built-in table readers/writers. This section also provides the full list of choices for the format argument.
The full list of built-in readers and writers is shown in the table below:
| Format | Read | Write | Auto-identify | Deprecated |
|---|---|---|---|---|
| aastex | Yes | Yes | No | Yes |
| ascii | Yes | Yes | No | |
| ascii.aastex | Yes | Yes | No | |
| ascii.basic | Yes | Yes | No | |
| ascii.cds | Yes | No | No | |
| ascii.commented_header | Yes | Yes | No | |
| ascii.daophot | Yes | No | No | |
| ascii.ecsv | Yes | Yes | No | |
| ascii.fixed_width | Yes | Yes | No | |
| ascii.fixed_width_no_header | Yes | Yes | No | |
| ascii.fixed_width_two_line | Yes | Yes | No | |
| ascii.html | Yes | Yes | Yes | |
| ascii.ipac | Yes | Yes | No | |
| ascii.latex | Yes | Yes | Yes | |
| ascii.no_header | Yes | Yes | No | |
| ascii.rdb | Yes | Yes | Yes | |
| ascii.sextractor | Yes | No | No | |
| ascii.tab | Yes | Yes | No | |
| ascii.csv | Yes | Yes | Yes | |
| cds | Yes | No | No | Yes |
| daophot | Yes | No | No | Yes |
| fits | Yes | Yes | Yes | |
| hdf5 | Yes | Yes | Yes | |
| html | Yes | Yes | No | Yes |
| ipac | Yes | Yes | No | Yes |
| latex | Yes | Yes | No | Yes |
| rdb | Yes | Yes | No | Yes |
| votable | Yes | Yes | Yes |
Deprecated format names like aastex will be removed in a future version. Use the full name (e.g. ascii.aastex) instead.
The read() and write() methods can be used to read and write formats supported by astropy.io.ascii.
Use format='ascii' in order to interface to the generic read() and write() functions from astropy.io.ascii. When reading a table this means that all supported ASCII table formats will be tried in order to successfully parse the input. For example:
>>> t = Table.read('astropy/io/ascii/tests/t/latex1.tex', format='ascii')
>>> print t
cola colb colc
---- ---- ----
a 1 2
b 3 4
When writing a table with format='ascii' the output is a basic character-delimited file with a single header line containing the column names.
All additional arguments are passed to the astropy.io.ascii read() and write() functions. Further details are available in the sections on Parameters for read() and Parameters for write(). For example, to change column delimiter and the output format for the colc column use:
>>> t.write(sys.stdout, format='ascii', delimiter='|', formats={'colc': '%0.2f'})
cola|colb|colc
a|1|2.00
b|3|4.00
A full list of the supported format values and corresponding format types for ASCII tables is given below. The Suffix column indicates the filename suffix where the format will be auto-detected, while the Write column indicates which support write functionality.
| Format | Suffix | Write | Description |
|---|---|---|---|
| ascii | Yes | ASCII table in any supported format (uses guessing) | |
| ascii.aastex | Yes | AASTex: AASTeX deluxetable used for AAS journals | |
| ascii.basic | Yes | Basic: Basic table with custom delimiters | |
| ascii.cds | Cds: CDS format table | ||
| ascii.commented_header | Yes | CommentedHeader: Column names in a commented line | |
| ascii.daophot | Daophot: IRAF DAOphot format table | ||
| ascii.fixed_width | Yes | FixedWidth: Fixed width | |
| ascii.fixed_width_no_header | Yes | FixedWidthNoHeader: Fixed width with no header | |
| ascii.fixed_width_two_line | Yes | FixedWidthTwoLine: Fixed width with second header line | |
| ascii.ipac | Yes | Ipac: IPAC format table | |
| ascii.html | .html | Yes | HTML: HTML table |
| ascii.latex | .tex | Yes | Latex: LaTeX table |
| ascii.no_header | Yes | NoHeader: Basic table with no headers | |
| ascii.rdb | .rdb | Yes | Rdb: Tab-separated with a type definition header line |
| ascii.sextractor | SExtractor: SExtractor format table | ||
| ascii.tab | Yes | Tab: Basic table with tab-separated values | |
| ascii.csv | .csv | Yes | Csv: Basic table with comma-separated values |
Note
When specifying a specific ASCII table format using the unified interface, the format name is prefixed with ascii. in order to identify the format as ASCII-based. Compare the table above to the astropy.io.ascii list of Supported formats. Therefore the following are equivalent:
>>> dat = ascii.read('file.dat', format='daophot')
>>> dat = Table.read('file.dat', format='ascii.daophot')
For compatibility with astropy version 0.2 and earlier, the following format values are also allowed in Table.read(): daophot, ipac, html, latex, and rdb.
Reading/writing from/to FITS files is supported with format='fits'. In most cases, existing FITS files should be automatically identified as such based on the header of the file, but if not, or if writing to disk, then the format should be explicitly specified.
If a FITS table file contains only a single table, then it can be read in with:
>>> t = Table.read('data.fits')
If more than one table is present in the file, the first table found will be read in and a warning will be emitted:
>>> t = Table.read('data.fits')
WARNING: hdu= was not specified but multiple tables are present, reading in first available table (hdu=1) [astropy.io.fits.connect]
To write to a new file:
>>> t.write('new_table.fits')
At this time, the meta attribute of the Table class is simply an ordered dictionary and does not fully represent the structure of a FITS header (for example, keyword comments are dropped). This is likely to change in a future release.
Reading/writing from/to HDF5 files is supported with format='hdf5' (this requires h5py to be installed). However, the .hdf5 file extension is automatically recognized when writing files, and HDF5 files are automatically identified (even with a different extension) when reading in (using the first few bytes of the file to identify the format), so in most cases you will not need to explicitly specify format='hdf5'.
Since HDF5 files can contain multiple tables, the full path to the table should be specified via the path= argument when reading and writing. For example, to read a table called data from an HDF5 file named observations.hdf5, you can do:
>>> t = Table.read('observations.hdf5', path='data')
To read a table nested in a group in the HDF5 file, you can do:
>>> t = Table.read('observations.hdf5', path='group/data')
To write a table to a new file, the path should also be specified:
>>> t.write('new_file.hdf5', path='updated_data')
It is also possible to write a table to an existing file using append=True:
>>> t.write('observations.hdf5', path='updated_data', append=True)
As with other formats, the overwrite=True argument is supported for overwriting existing files. To overwrite only a single table within an HDF5 file that has multiple datasets, use both the overwrite=True and append=True arguments.
Finally, when writing to HDF5 files, the compression= argument can be used to ensure that the data is compressed on disk:
>>> t.write('new_file.hdf5', path='updated_data', compression=True)
Reading/writing from/to VO table files is supported with format='votable'. In most cases, existing VO tables should be automatically identified as such based on the header of the file, but if not, or if writing to disk, then the format should be explicitly specified.
If a VO table file contains only a single table, then it can be read in with:
>>> t = Table.read('aj285677t3_votable.xml')
If more than one table is present in the file, an error will be raised, unless the table ID is specified via the table_id= argument:
>>> t = Table.read('catalog.xml')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Volumes/Raptor/Library/Python/2.7/lib/python/site-packages/astropy/table/table.py", line 1559, in read
table = reader(*args, **kwargs)
File "/Volumes/Raptor/Library/Python/2.7/lib/python/site-packages/astropy/io/votable/connect.py", line 44, in read_table_votable
raise ValueError("Multiple tables found: table id should be set via the id= argument. The available tables are " + ', '.join(tables.keys()))
ValueError: Multiple tables found: table id should be set via the table_id= argument. The available tables are twomass, spitzer
>>> t = Table.read('catalog.xml', table_id='twomass')
To write to a new file, the ID of the table should also be specified (unless t.meta['ID'] is defined):
>>> t.write('new_catalog.xml', table_id='updated_table', format='votable')
When writing, the compression=True argument can be used to force compression of the data on disk, and the overwrite=True argument can be used to overwrite an existing file.


Tinder
Tinder Matchmaker
Type: Mobile Design App
Duration: 3 weeks
Team Members: Ara G., Candi W.
Responsibilities: User Research Plan, Competitor Analysis,
Usability Testing Plan, Usability Tests, Affinity Diagram,
Problem Statement, User Insight Statement, Empathy
Map, User Persona, Feature Prioritisation Matrix…
Fairplay
Fairplay For All Foundation
Type: Responsive Web Design
Duration: 3 weeks
Team Members: Em C., Justine C., Eliza D.
Responsibilities: User Research Plan, Storyboarding, User
Flows, Visual Design Contributions, Donation Sequence
(website and mobile), Mobile Prototype, Mobile User
Testing, Trello Board, Wireframing, User Insight…
ECSA
Electoral Commission South Australia
Type: Mobile Design App
Duration: 5 weeks
Individual Project
Responsibilities: User Research Plan, Usability Testing
Plan, Usability Tests, Affinity Diagram, Feature Prioritisation
Matrix, Empathy Map, User Persona, Card Sorting &
Information Architecture…


About Me
As an emerging professional, I am passionate about learning new skills in software development. I have completed my Associate in computer science, and I am very excited to learn new skills in the Year UP program. I am always trying to grow and improve upon myself as a person and a professional.


| Path: | vendor/plugins/simple_localization/lib/features/class_based_field_error_proc.rb |
| Last Update: | Wed Aug 22 12:19:56 CEST 2007 |
Defines a new ActionView field_error_proc. The old field_error_proc would wrap the form field into a div element of the class fieldWithErrors.
This sometimes makes the design of these invalid form fields a bit difficult and may also produce invalid markup. To avoid all this the feature replaces this with an field_error_proc that just adds the class invalid to the form field and doesn’t create a new element around it. If the form field element already has a class attribute the invalid class will be appended to the class list.
Old field_error_proc:

<input type="text" class="txt" ... />

New field_error_proc:
<input type="text" class="txt invalid" ... />
This feature is based on the snippet of Duane Johnson which adds an style attribute to the form field element. He did the real work. wiki.rubyonrails.com/rails/pages/HowtoChangeValidationErrorDisplay
This feature doesn’t use sections from the language file.


The only other novel written by the author, it captures the rustic charm and liveliness of his native village, which forms the background for the exploits of his dog Pluto.
View BookA critical study on the first Malayalam novelist and the silent social revolution wrought by the novel Índulekha'. Chandu Menon's personality is bigger than his writings. The book presents this personality and hence in a strict sense cannot be called a literary criticism.
View BookMahabharath has lend itself to several rewrites in all languages. The book explores the magic of the 'translation' that catapults Ezhuthachan as one of the greatest poets and the father of Malayalam literature. The book also has some critical studies on the original epic itself.
View BookA critical study of Kumaran Asan and his poetical works. It is a discourse on the art of poetry as revealed through the works of the great Malayalam poet.
View BookThe studies in this book were written over a span of 18 years from 1960. They were born out of a sense of duty impelled by the warmth of his personal affection.
View Book