text:
---
title: The Old Master of the Desert
author: Marc Zuo
tags: fiction, history, philosophy
---
_The following note, which the author discovered as an inexplicable addition by an unknown scribe
in an old printed book of the works of Cornelius Nepos, is written in a combination of Greek and
Latin, which is faithfully translated alike into English without any embellishing or editing; we
leave the authenticity of these documents to be judged by the reader._

Philippus, to his brother Xanthus, sends greetings.

If you should have wondered, as I no doubt reckon that you will do, dear brother, for what reason I
have composed to you a letter with the bulk of its body being in the tongue of the Latins, that most
foul and vulgar and undignified language, which we have spent many a night mocking in such colourful
terms back in our schooling days, when—surely you remember—our haughty Latin instructor would
finally end his droning pseudo-Hellenic grammatical speeches and retire to his chamber, and the same
language for which I recall you to have such a marked disgust that you chose to forsake the scribal
profession that has for so long been a tradition of our family, lest you should be forced to compose
in Latin by the Roman officials, I will first explain the source of this text, which I shall include
in this letter and which is not of my own authorship, but which have rather arisen in a most curious
and unusual circumstance that I can only believe to be the doing of the gods and goddesses. Indeed,
although I find the text, even judged by the inferior standards of Latin writing, to be a most
unseemly and even abominable specimen in terms of style and cohesion, its content is sufficiently
admirable that it inspired a certain astonishment—nay, religious awe in me, a text which I can only
describe analogically to be the product that should be expected from a peasant of no formal
education at all, and who might even have a marked tendency to stammering, if he should be
simultaneously enlightened by the combined efforts of Dionysus and of golden-voiced Calliope. But
analogy can only stimulate a vague impression; I should now tell you a little of the circumstances,
a most remarkable one as I have already said, under which I have acquired the text that I shall
transmit to you.

For you, my well-informed brother, have no doubt heard the news that my employer and master, Marcus
Vipsanius Agrippa, has succeeded in a secret diplomatic mission to the most treacherous kingdom of
Parthia to negotiate the safe return of legion standards and soldiers that were captured, thirty
years ago, during the campaign of hapless Crassus against that country. Of the day when the
Parthians have handed the golden eagles and prisoners back to us I shall not say much; I am
confident that bards will sing of it and of the glory that Lord Augustus has obtained for Rome for
many thousand years to come, to which my poor prose accustomed to camp reports and the like cannot
possibly add anything. I mention this event, however, because the subject and relater of this story,
a certain Gaius Carfulenus, was one of the veterans returned to us on that fateful day. Now those
veterans, you must know, although this is unlikely to be reported in the official accounts, are for
the most part so thoroughly Parthianised that it took Agrippa a great amount of bribery to persuade
them to leave their Parthian wives and mongrel children behind and to return to Rome as proof of his
great success. Though Carfulenus was different in that he never married nor settled down in Parthian
lands, his Latin has become rather lamentably (and I do not easily lament misuses of the Latin
language) deficient, and in addition to this his mind so enfeebled and disturbed and under what is
either a divine or a most evil influence, that it was no easy feat to make sense of half the things
he said. Agrippa left to tend to his other businesses almost as soon as this man started speaking
and instructed me to write down the story that this agitated veteran anxiously desired to tell us;
this thing I did, in as coherent a way as I can in view of his very poor Latin grammar, and
presented to Agrippa. By that time, however, he had already lost interest in the whole affair, so he
merely laughed it off as the ramblings of a madman. For the locations and personages which
Carfulenus, the veteran, mentioned in his story are, he assured me, figments of the imagination, and
he knew Parthian customs sufficiently to be able to assert with absolute certainty that none of the
events Carfulenus claimed to have experienced were real. Before I took my leave, however, he
instructed me to burn this story and to tell no one about it, since he found the religious and
philosophical sentiments which it may be construed to express so utterly against that of Lord
Augustus that to let word come out that a Crassian veteran had such a story to tell would undermine
and spoil the religious message that Lord Augustus intended to convey with this deed. But just
before I set out to fulfil Agrippa's command, I was, so to say, almost grasped back from the
fireplace by a most powerful urge to save this story for posterity, which I took to be a message
from Dionysus or Lyssa or whatever deity or spirit that first touched the veteran to tell his story.

It is my hope, brother, that you shall conceal this letter for now, lest I be punished for
disobedience; hopefully, a future generation, which is not so tangled in the political struggle
between Rome and Parthia, will one day come by this story and make something out of it, which
Agrippa and, I fear, the rest of the Romans, are prejudiced to overlook. Here, then, I shall set
forth the veteran's story:

* * *

Under the black moon and the still blacker stars, as is the colour to which the moon and the stars
are wont in this quarter of the world, we wandered, hundreds of us, through hostile territories
hitherto undiscovered by our countrymen. Among us were men of all races who had incurred the wrath
of Parthia by war or by criminal deeds: Greeks, Romans, Parthians, Jews, Bactrians, Armenians,
Scythians, Indians and even a few Chinese captured in skirmishes, all forced to march in the most
unforgiving night in a desert that stretch many thousand miles from end to end, a desert of many
names and of no name, about which many bards have sung and no bard has sung.

I cannot now remember how we arrived there from dreadful Carrhae, where General Crassus met his
bloody end, nor even the location of that most inhospitable desert into which the Parthians, soon
after we were captured, hand-picked some thirty of us to be driven. I was one of that most
unfortunate group of men, out of which I alone returned from the desert with my life; the captors
picked us, I was told by a more sympathetic Parthian corporal who knew some rudiments of Latin, who
was charged with conveying orders to us captives, to traverse the desert along with condemned men of
other races, following an ancient tradition, for the desert was so known for its hostility to any
life that it was reviled by the Parthians far more than Great Arabia, even more so than we reviled
the lands south of Numidia. For this reason only those marked for certain death were sent into this
desert, and no cartographer ever incorporated this area into his map.

Among us to be sent into the desert was to be found no warden or overseer; this was deemed
unnecessary, and we soon realised the reason after the Parthian army forced us, under pain of death,
to go into the desert. For, just as we walked far enough that the Parthians had disappeared under
the horizon, we decided, under the advice of a few particularly loud Greeks who deemed themselves
our leaders, to turn back and sneak out of the vast and ruthless desert in some other location so as
to avoid our captors. This clever scheme turned out, however, to be fruitless: we wandered the
desert in the precise direction that we were sure we entered from, but hours passed and we were
still in the middle of a sea of sand, with no exit in sight. This greatly confused the Greeks, for
we have meticulously followed our own footsteps backwards and should have, by then, returned to the
exact spot where the Parthians released us. The Parthian prisoners, however, who were familiar with
the practice of banishing men into this desert and who had been warning us about the inutility of
the Greeks' plan from the beginning, now spoke with the mixed emotion of both being vindicated in
their conviction and the confirmation that they were doomed to death with no way out. They said that
the desert was enchanted with an ancient and evil magic so as to prevent us from escaping, and that
they would have no more to do with the rest of us, who were unacquainted with Parthian teachings on
magic, and would resign themselves to a peaceful death.

So we left behind all the Parthians, who sat down upon the sand and refused ever to stand up again,
except for a few men who, perhaps out of a stubborn refusal to believe in the kind of magic that
their elders preached and the extremely remote hope that we can find a way out of the desert after
all, decided to remain with the rest of us and keep on walking. The Greeks prayed to their god
Hermes, whom I gather is much like our Mercury, to dispel whatever foul magic the Parthians summoned
upon themselves; but it was evident that they did not really believe in Parthian magic yet and were
still clinging to the hope that our predicament had merely been due to an error made when we were
tracing our steps back. But soon night fell on the desert, and it became evident that the desert
really harboured some supernatural occurrences. What immediately struck us was the moon, and the
stars, and the sky that glowed with a nearly purple hue. This scared even the most pious of the
Jews; for I should have mentioned that they had hitherto remained steadfast on their belief that
their singular god would surely deliver them, all good and loyal Jews, from this nightmarish place,
just as he had delivered them numerous times from evil crimes that had been done unto their people.
Yet seeing the supernatural night sky made them suspect that their god, whom they still believed to
have been responsible for making this desert, had also abandoned them and would not render aid upon
them.

At this time another terrible thing had befallen us that made us thoroughly terrified: a sandstorm,
of a size that no one had ever seen in the heart of the African desert, formed on the horizon,
barely visible at first but soon growing into a roaring, menacing whirlwind, which came almost
straight towards us. At first we tried to flee, but this was perfectly useless; for the storm was of
such a size that, by the time it arrived, all of us were still caught by its raging winds. The wind
was of such a speed that many of us were picked up by the wind and violently tossed about, and when
it finally left us after what seemed like an eternity some of us simply disappeared, as if devoured
by the storm. The remainder, of which I was thankfully a part of, all suffered various degrees of
injury, which slowed us down considerably.

The demoralising effect the sandstorm had on us was soon apparent, for more and more men among us
felt that merely attempting to walk out of the desert was perfectly useless, and that kneeling down
and praying to their respective gods was the only way to be extricated from here. Some of us Romans,
too, decided to erect a makeshift shrine to Mercury and to Apollo (for it was hoped that he could
make the sun come out again and guide us), and I would almost have joined them myself, if it weren't
for the bickering that immediately started between adherents of different religions. The Jews
	accused us and the Greeks of idolatry, which they held to have angered their god and made him
	turn his back upon all of us; the Greeks, in return, said that the singular devotion of the Jews
	to their capricious god excluded us from receiving the aid of other, perhaps more benevolent
	gods. Soon men of the other races, the ones that remained with us, joined the argument with
	praises of their own gods and the various reasons why they were superior to all others. It was
	apparent after a while that the bickering was not so much to demonstrate any actual theological
	superiority as much as it was another form of prayer: by disparaging with increasing vehemence
	each other's gods, each had hoped that their own gods would be increasingly pleased, perhaps
	eventually to the point that they would finally relent and grant deliverance unto their chosen
	people. From all this I recoiled by nature; I did not stay away from them because I was impious
	or held some grudge against our own Roman gods, but rather because I saw the whole farce as
	nonsensical: whatever gods there may exist would surely have been most annoyed and repulsed by
	this pathetic display of discord and uselessness. I exhorted my fellow Romans to exercise our
	Roman pragmatism and gravity and to ignore the lesser peoples' quarrelling; just as they had
	almost been swayed by my simple appeals, however, a certain Publius Aemilius Lepidus, a man of
	the highest birth, who had doubtlessly received an excellent Greek education and who had
	previously been one of our officers, angrily accused me of impiety; his heated condemnation,
	which was so full of Graecisms and Hellenic figures that neither I nor the other men understood
	it completely, nevertheless won them over by virtue of its authority and vehemence, and so I was
	ostracised from them with a stern warning not to come back and to displease the gods in their
	company.

Thus I was forced to leave the main body of the men, although it did not bother me too much, for I
was no longer assaulted by a crescendo of insults that the others hurled on each other on behalf of
their respective religion. Not long after I left the others, however, I heard behind myself somebody
crying for my attention in the Parthian tongue, and I turned around and saw an elderly Parthian man
supporting by the arm a man whom I could only guess to be Chinese, with his legs broken—doubtlessly
by the sandstorm—but whose lame steps nevertheless betrayed a sense of urgency, as if he had to keep
moving forward no matter what. Both of them were older than I was at the time, and both seemed
evidently to be the scholarly type of men, unsuited to long voyages across the desert, so I guessed
that they sought my help in carrying what little baggages they had on them. This I did not mind, for
although I could not converse in Parthian nor (evidently) in Chinese, the mere presence of
companions had a pleasing effect on one's mind, and the trek seemed not nearly so arduous. I not
only offered to carry both their burdens, but also volunteered to support the injured Chinese man
myself, which evidently delighted them and put myself into good enough graces that the Parthian soon
began to attempt to strike up a conversation with me in Latin. I was a bit taken aback, but the
Parthian's Latin, though by no means fluent, was good enough to be comprehensible. So in this way we
talked as we ventured forward. He had been, the Parthian explained, a camp scribe in the service of
some ambitious general of theirs, whose campaigns had taken himself and my new friend from engaging
with the Romans in Syria to repelling Chinese incursions in the far northern boundary of Bactria,
over which the three nations, China, Parthia and Bactria, fought constantly. In this way he learned
the rudiments of both Latin and Chinese. Of the reason why he was condemned into the desert he did
not say much, and I did not press him to reveal, for it must be painful to be condemned by one's
compatriots to a fate which he had been taught to be the very worst one could suffer since his
childhood. The Chinese man with him, he said, was the last one among us surviving of that race; the
rest had all perished in the sandstorm. For this reason the other peoples wished to offer him as
sacrifice to their respective gods, and this Chinese man, being a camp scribe like himself and
furthermore disabled by the storm, was in no position to defend himself. Seeing his plight, the
Parthian, who had been deputised by the others, because of his knowledge of the Chinese tongue, to
relay commands and decisions to the fellows of that nation, took pity on him and helped him escape
while the rest were too preoccupied in their heated argument over which gods or goddesses were to
	have the honour of receiving this man as votive offering.

Naturally, I then asked them about what plan they may have for bringing ourselves out of the desert.
The Parthian said that he knew none, but that the Chinese man insisted on going forward, no matter
the direction. This fascinated me enough that I asked him if he could enquire of the Chinese the
reason for his conviction. The Parthian said that he was happy to oblige, and then he spoke again,
but not in the Latin tongue any more, but rather in a most alien and barbarous sounding language
that made me recoil in its sheer unfamiliarity to me, but which I judged to be the tongue of the
Chinese, since at once the Chinese man leaning on my shoulder and walking forward with great
difficulty turned his head and listened intently. By the time the Parthian finished speaking and the
Chinese man started to answer him, I realised that not even the alienness of the Parthian's mimicry
of the Chinese tongue, which was surely delivered in what a native speaker of that tongue would
perceive as a very heavy Parthian accent just as I perceived his Latin to possess, captured
sufficiently how exotic and how utterly dissimilar to our own language the speech of the Chinese
people was, for the response came in a sound that I did not know human beings were capable of
producing, and which, had the dignified man speaking it not been in my sight, I would have
considered to be animalistic growls, such was the barbarity of the language.

The Parthian, however, seemed to comprehend well enough this language, and he proceeded to interpret
the speech to me in Latin. All learned Chinese, he said, knew the story of an ancient and
exceedingly wise man, who had been universally revered as a great teacher in his own lifetime
hundred of years ago but whose teaching had become, in our days, occult knowledge known only to men
of good education. Though the name of this once-venerated man was not forgotten, he was known to
most merely as the "Old Master", a name which was reserved by the Chinese for him alone. In his old
age, this man abandoned his homeland and journeyed on an ox's back to the northwestern wastelands,
after which he was believed to have died near the border. But some believed that the Old Master did
not really die, but rather travelled even further into the desert which no man dared entering, and
it was said that through his wisdom he came to magically transform this desert into a nearly
mythical place where he would dwell for all eternity. It was said that by walking further and
further inside one may eventually encounter the Old Master, now immortal, in his abode at the very
heart of the desert, whence one may acquire the ultimate wisdom that the Old Master had gained over
the years. Such rumours, however, did not excite a flurry of pilgrimages into the desert, he said,
as one would have expected. For the condition of the desert into which the Old Master was rumoured
to have disappeared—doubtlessly, he said, the same one we now found ourselves in—was sufficiently
treacherous so as to deter all attempts at an expedition, and in addition to this the teachings of
the Old Master soon gave way in popularity to that of a contemporary of his, whose name he mentioned
but I could not presently recall and who argued that the supreme virtue is, much like we Romans
believed, to devote oneself to public service and politics and other worldly matters. For the
liberal society of the Old Master's days had since been usurped by kings who zealously promoted this
rival school of thought and decreed that the works of all other ancient sages should henceforth be
banned. In no more than a few generations even the desire to meet the immortalised Old Master had
waned, and rumours of his apotheosis dissipated into but an old legend circulating among men of
education.

To all this I reacted with incredulity, for I reckoned this Old Master of their people to be, based
on his description, a philosopher not unlike the sort they produce in Athens and Asia. Those men of
idleness are wont to spread rumours of the apotheosis of one of their own, so as to excite general
interest and veneration for their rather despicable profession. Surely it must be the doing of a
deity, I remarked dispassionately, or some foul magic to entrap hundreds of living soul in a place
like this, and not merely the philosophy of learned old men. But this angered the Chinese man, who
said defensively that the Old Master's teachings are not merely philosophy, but the very truth of
reality and of existence. Unwilling to discuss the matter further—for I am but a military man whose
sole education consisted of two philosophical lessons General Crassus thought fit to have a Greek
doctor give us, and had soon thenceforth ceased—I muttered some generic apology which seemed to
suffice in defusing the tense atmosphere (for the Chinese man owed after all to my aid in order that
he may walk). But thereafter we walked mostly in silence, and I could not help but think that I may
have been judged unworthy of any further mysteries that the Chinese man harboured.

About this time we were hit again by a sandstorm, this one even more powerful and terrifying. The
Parthian lost all hope as soon as he saw the storm forming on the horizon and fell prostrate
muttering some ancient charms against natural disasters, while the Chinese man freed himself from my
help and stumbled forward a few steps, before losing his balance from his injured leg and falling to
the ground. On the surface I kept my composure; but inside I was as afraid as the two of them were,
as all men would have been in such a situation. Somehow I had a very firm conviction right there
that this would be my end, that I would not survive this sandstorm the same way I had survived the
previous one; for this fate I was naturally frightened, but I could not help but feel in some ways
relieved. For I knew at least that all would be over, that I would be deposited safely in the
underworld, in the hands of the Di Manes; and I reckoned that however unfamiliar and hostile the
underworld might be, surely it would not exceed this most unnatural desert in brutality. This
thought gave me comfort, and I briefly forgot the perilous situation that we were in and tried to
picture in my mind what the underworld might look like. It was said to be in a state of perpetual
night, but there would be no sand—for sands were alien to our Latin ancestors—and that already made
it look a thousand times more attractive to me than this desert. Some said that there would be
rivers, fields, souls of the departed wandering about. Perhaps my comrades fallen in the disaster at
Carrhae still awaited me, still remained to receive me to them? Then I thought that I was ready. Let
me die and be reunited with the legion. This was to be my last thought, not undignified as far as
last thoughts are concerned, I think.

Then the sandstorm hit us, and I thought that all was over. The Parthian was the first to be tossed
into the sky, and he struggled and yelled almost at the top of his lungs the last words of the
magical incantation he was chanting. But the sandstorm was in no way deterred, and proceeded to pick
up the Chinese man, who was clearly conscious but made no attempt to struggle, merely allowed
himself to be hurled wherever the wind willed. I was the last to be affected by the wind, and I
resolved to emulate the Chinese man so as to preserve my dignity as I prepared to embrace death. I
relaxed and purged all thought from myself and felt acutely the grains of sand violently battering
against my inadequately clothed torso (for our armour were confiscated by the Parthians and we were
left with but tunics to wear). The storm lasted for what seemed an eternity. At first I could see my
two compatriots about, but soon they were hurled beyond my sand-obstructed sight, and I closed my
eyes to acquaint myself with the sensations of flying involuntarily in a flurry of sands.
Peacefully, I gave in to the wind.

But then the storm ended, as suddenly as it had begun. I lost all memories of the interceding
moments, and all that I could remember was lying prostrate on the sandy ground, feeling nothing but
the caress of the sand on my face and the burning heat of the sun on my back. With great difficulty
I pulled myself together and stood up; the night was gone; the sun shined from its celestial seat
just as it had always done. Yet a most curious sight, one that made me forgot even to celebrate my
miraculous survival, was a prodigious aedifice standing alone in the ocean of sands, constructed
doubtlessly by the effort of many thousand labourers in an architectural style unknown to me, which
seemed to be beyond the imaginations of even the most unorthodox Greek architect; I reckoned it
briefly to be Chinese architecture, but the bewilderment of my Chinese companion, who had also
survived and, like me, found his eyes transfixed upon the lone structure, spelled beyond any doubt
that he had not seen anything quite like what we beheld then. It was at that time when I realised
that the Parthian was gone, snatched away by the storm. But this was no time for lamenting him; both
my lone surviving friend and I, though we now lost the only man who could facilitate our
communication, looked at each other with the unspoken agreement that we ought to reach, as quickly
as possible, this supernaturally constructed structure before us, which doubtlessly held the answer
that we were meant to discover, the exit from this dreadful desert which we all sought desperately.
But above all, I think, it was out of curiosity for the building itself that we were compelled to
approach it, for the aedifice seemed to us to have been built for an unfathomable purpose: for as a
temple it was too large and too plain, and as a citadel it was too indefensible, not to mention one
would scarcely expect an armed incursion into the heart of the desert.

With these questions we walked, the Chinese man with my help again, forgetting momentarily our
hunger and thirst and weariness, up to the entrance of the unknown structure. Silently and without
any operator in sight the gates opened, revealing to us a barely-lit interior of inestimable size,
but which was wholly empty save for the columns which seemed not so much erected to hold up the roof
as to present the true extent of the interior space, for we counted at least fifty pillars panning
away from us before receding entirely into the darkest recesses of the great hall. We were overcome
with awe and forgot our good manners and walked straight inside without waiting for an usher. In the
very farthest distance—as far as our eyes could see—we barely made out the figure of a very old man,
and as we approached him without invitation the ancientness of this man dawned upon me; for his face
was so distorted by numerous layers of wrinkling that I could barely have made out his visage, and
in addition to this his beard, which was as white as the snow in Gaul, reached such an incredible
length that he let it flow all the way to the ground, where it layered upon itself and formed a
great mass that was unbelievable to behold. His face wore an utterly inscrutable emotion, as if not
a single occurrence in the world would surprise him in the least bit. In this way we stared rudely
at him as if he was a sculpture of some sort, though I must concede that even the best of our
sculptors could not have imagined a man of such a sacred visage. It was not until after a while that
I felt compelled to greet this very old man in the most dignified manner I had ever learned, with
greater veneration than I would have afforded Jupiter the Steadfast, before silently cursing myself
of my stupidity, for surely this man, having perhaps never known a thing about we Romans in his
lifetime, knew nothing about Latin and would not understand at all my greeting. He smiled, however,
and as soon as he opened his mouth I was nearly physically taken aback; for it was unmistakably the
Latin tongue, our native Roman tongue, with which he spoke to me, and not with an accent as even the
most Romanised provincial would never succeed in getting rid of theirs, but rather in a voice as
pure and as eloquent as our great orator Cicero, one of whose speeches to the public I once attended
before being sent off to the East. In fact, after he had spoken a few sentences I realised that his
speech was not only in perfect, unblemished Latin, but also in a poetic meter that he produced with
effortless familiarity, which reminded me that our greatest poet Ennius once remarked that poetry
was the speech of the gods. In fact, being addressed to in such dignified speech by a man of
unmistakable Oriental ancestry shocked me so much that I did not really hear a thing he said to me
at first. After a while I regained my composure, apologised profusely for my lapse in etiquette and
inquired most eagerly from what source the elderly man, whom I respectfully addressed as Old Master
(as I could have no doubt that it was he), was able to acquire knowledge of our people and of our
language, and with such proficiency no less. The Old Master generously assuaged my anxiety, assuring
me that no offence had been taken and promising to answer any question I had, beginning with the one
I just asked.

He was indeed, he said, the same Old Master who left his people behind to pursue enlightenment in
the wilderness and who was thought to be dead a very long time ago. Rather than dying, however, he
chanced upon the same aedifice that we now found ourselves in after encountering a sandstorm not
unlike the two that we suffered, which killed all of his companions. I asked him if the structure
had been built by the gods or perhaps men of an ancient golden race, but this he did not answer and
merely continued with his tale. At first he believed the structure to be a library of some sort, a
compendium of wisdom that he may study and eventually bring back to his people to enlighten all of
them. Eagerly entering the great hall, he was disappointed and dismayed to discover that the great
hall had been wholly empty, with not a piece of paper inside and not a word engraved on its walls.
 But he could not help
but wander still further inside this great aedifice, in  the hopes that the very emptiness of its
halls may conceal some ultimate design that would give purpose to its existence. In this way days
passed; then years. One day, eventually, he decided that he would strive no more and lay his body
down on the floor. But as soon as he lay down he felt some object underneath his body, and upon
instruction he found that it was a folded scroll upon which was inscribed a text in some
incomprehensible language. Curiously, he unrolled the scroll to read it in its entirety; but as soon
as he finished reading the text he was struck with a most debilitating pain and he found himself
rendered completely blind. Just as his eyesight faded away from him, however, a most incredible and
miraculous thing happened to this very ancient sage. Suddenly, he said, he felt himself seized and
grasped away from the world in the way that one might pluck a hapless ant up from a piece of paper
that it had hitherto recognised as its sole physical reality. Suddenly all of reality seemed to him
no more than a mass of some incredibly complex shape, which can be beheld at a distance; not merely
space, but indeed even time itself had released its tyrannical grasp on him, and suddenly he saw the
world but as a continuous sequence of pictures at each point in time (he said it in this way no
doubt to attempt to make me understand his very bizarre viewpoint, which I gather I cannot even
begin to fathom in the least bit). Even logic, indeed, ceased to bind him in its rigorous dichotomy;
at once numerous worlds unfolded before him, the ones where our basic logic laws held and the ones
in which it failed to hold (which were so monstrously different from ours, he explained, that even
to try to instil understanding of them by means of analogy was a lost cause), and similarly for more
and more complex workings of logic, mathematics and natural philosophy. Now half of his speech I
could not comprehend at all, since I had not a Greek education in which I believe they discussed the
matter of logic at length, but I worked up the courage to ask a question that I was not sure if he
would consider entirely silly. I wanted to know whether there might be a universe in which true
things were false and vice versa; to this he laughed and nodded affirmatively, but did not explain,
and in any case it satisfied me entirely to get a simple answer. He did not, after all, answer my
question of how he had come to know the Latin language, but I gathered that the point he was trying
to make was that he, in fact, knew all that was known and all that could have been known and all
that could have been known about all that could have been known and so on. This last part, of
course, I made up myself, but to a rustic soldier this was about the most I could understand about
this ancient sage's inscrutable teachings.

At this point I realised that the things he said and was about to say was plainly beyond me, so I
asked him to tell me my fate, that of the other men who had been sent into the desert and that of
the empires, since I reckoned that he had knowledge of all these things and the one thing I was most
interested in was, of course, what would happen to me. To this he laughed again, and he assured me
that my most anxious hopes would be granted and that I was to return to the world that I left behind
when I crossed into the desert. In addition to this, he said, I would be returned to Rome eventually
to tell of my story, but that this story would not be heard in over two thousand years. The others,
he told me this too, had all perished by then, but few did from heat or hunger or thirst; the
majority who did not die in the sandstorms simply killed each other off as their religious disputes
inevitably turned violent. As for the fate of Rome, he said, she would dominate her own part of the
world for hundreds of years at the cost of being herself dominated by capricious men, and that
eventually the followers of a deceased Jew would usurp her power and dominate the world for a
thousand year. He spoke in such a manner that these things seemed to be in the distant past, tales
from another civilisation that he was merely recounting to me. After that he spoke cryptically and I
could not understand much, but I was content enough to know about all these things that I did
understand. Only then did I realise that, despite our conversation being carried out in Latin, my
Chinese friend who entered the hall with me seemed to have comprehended it perfectly, as if
everything that had been said was in his native language. The Old Master turned to him and asked
whether he was ready, to which he nodded enthusiastically.

I was aware, then, that my role in whatever cosmic play that brought me to this alien land was over,
and that the only scene that remained was for me to return. Before I left, however, I asked the Old
Master what he planned to do next. I immediately regretted my usage of the word "plan", since
everything he told me seemed to disavow of such a thing ever existing, but this he did not seem to
mind. Once the disciple (my Chinese friend, I gather) arrived at his doorsteps, he said, they would
together go physically above the manifold fabric of reality, of space and time and logic and
existence, where they would hold philosophical dialogues for all eternity (another word, he
explained, used not literally but merely to produce the appropriate mental image in me). This
saddened me slightly, for I had just grown fond of my new Chinese friend with whom I could not
converse and of this ancient sage who spoke in poetical meter. The Old Master, however, did not
share my sadness, which I think was not because he disliked me or wished me away, but rather because
the word "eternity" was inappropriate still and one which he had only chosen because no Latin word
accurately represented the concepts he talked about. In any case, I bid the two of them my farewell,
and then I took my leave of them and stepped outside the hall. I was picked up immediately by a gush
of wind, but not at all violent as the two sandstorms had been this time. It was, in fact, a
somewhat pleasant feeling to feel himself, wearied by long walks in the desert, suddenly lightened
and moved joyously about in the wind. I closed my eyes and allowed the wind to take me where it
willed.

In what seemed like a few hours I was deposited by the wind at a place which I recognised at once as
Carrhae, the site of the dreaded battle in which I was captured. Some Parthian soldiers saw me and,
suspecting me of being a Roman spy, dragged me to their camp, where their commander at once
recognised me as one of his captives sent into the desert. My appearance startled him greatly, for
he had evidently been used to the entire expedition (if one could call it that) perishing inside the
desert, and he eagerly asked me about my experience in the desert, hoping to extract some
information of use. So I told him about the sandstorms, the disputes over religion, the incredible
building and the ancient sage that dwelled within and his startling revelations, but the Parthian
commander thought that I had simply gone mad. He dismissed me and instructed a few soldiers to
escort me to and to settle me down with the other captured Roman soldiers, but we suffered a bandit
attack on the way, from which I barely escaped with my life. Thereafter I wandered the landscape for
many years, which took me from Carrhae all the way to the Persian coasts, until at last I was
recognised in a village by another Roman veteran of my company, who had been on good terms with me
before our captivity. He told me that I was incredibly fortunate to meet him at that precise time,
for the Roman state had reached an agreement with Parthia to return us back to our homelands, and
the general in charge of this affair promised to pay fifty gold pieces apiece to any man who
elected to return. So in this way he identified me to the Parthian official who came to
transport him, and I was brought back with him to Carrhae, where I was handed into your care.

* * *

And so, my dear brother, everything that Gaius Carfulenus recounted to me I have transmitted to you
without any mutilation, even though I was tempted several times to erase this rustic man's
defamation of our people's arts and philosophy. There is another curious matter, however, which I
had neglected to mention to you in the opening remarks in this letter. Agrippa was, upon reading
this veteran's most outlandish story, perplexed as to what we should do to this man; for he could
not be killed or otherwise mistreated for fear of spoiling the victorious mission or of offending
the gods who had blessed us with its success, but he certainly did not wish to allow him to spread
his fanciful daydreams and delusions to the common people, who might even take the story literally
and believe in such nonsense. This concern, however, turned out to be for naught; for soon the
soldiers burst in and told us that Carfulenus mysteriously died in his chamber, in the presence of
other veterans who had tended to him. He had been tranquil and wholly at peace before his death.

I would like to speak still more, brother, but time does not permit me to do so. For when it was
found out that Carfulenus died, Agrippa instructed me to write a most moving and eloquent eulogy for
him, praising his tenacity in surviving all these years and indicating with great sadness that the
sight of his fatherland, from which he had been taken away for thirty years, was too much for the
poor soldier to behold, and that he died shortly thereafter from sheer joy. About this matter I
shall not speak again; may the Delphian Apollo bless both you and me, and perhaps the dying spirit
of this Carfulenus as well, who shall hopefully find peace in the underworld at long last.

Farewell.

<p class="signature">Berkeley, April 2014</p>

repository: marczuo/disputationes

extension: markdown

repo_name: marczuo/disputationes


text:
# action-print-event-info

GitHub Action for printing event info.

# Example workflow

```yaml
on: workflow_dispatch

jobs:
  print-event-info:
    runs-on: ubuntu-latest
    steps:
      - uses: qlik-oss/ci-tools/action-print-event-info@master
  hello-world:
    runs-on: ubuntu-latest
    steps:
      - name: Hello world
        run: |
          echo "Hello world!"
```

license: MIT

repository: DanaShteiman/ci-tools

branch_name: refs/heads/master

extension: md

license_type: permissive

repo_name: DanaShteiman/ci-tools


text:
# Tests

## Functional Tests

Following functional tests include the results for 7 example APIs available with Camouflage

![Camouflage-FunctionalTestResults](Camouflage-FunctionalTestResults.png)

## Performance Tests

### Single CPU

This performance test was run on a single node process running without any flags on a single CPU.
Test configuration:

- Test tool used was Locust.
- Locust was run in a distributed manner with 1 master and 4 workers on a 12 core machine.

Please note that performance could be further improved by tuning the node js process or running Camouflage in performance mode.

![Camouflage-PerfTestResults](Camouflage-PerfTestResults.png)

### Performance mode: 4 CPU

This performance test was on 4 node worker processes without any flags on 4 CPUs

- Test tool used was Locust.
- Locust was run in a distributed manner with 1 master and 4 workers on a 12 core machine.

![Camouflage-PerfTestResults-2](Camouflage-PerfTestResults-2.png)

repository: kitofr/camouflage

branch_name: refs/heads/main

gha_license_id: MIT

repo_name: kitofr/camouflage


text:
csharp-godb
===========

A self-maintained data base format.
BSD license.
For version log, view the individual files.

#What is GODB?

GODB = Great Object Data Base

It stores huge binary objects as lists of blocks.
Each object can has a unique identifier of type int64.

The lists of blocks are stored in the block with oid 0.
This is the first block in the file.

For most applications, you wanna use 'OdbLib.BinaryDatabase'.
This is a easy-to-use wrapper that reads and stores blobs identified by strings.

If you worry about data corruption under power failure,
or need to do huge data processing that can be rolled back,
use 'OdbLib.GTransaction'.

If you need streaming to a binary object, use 'OdbLib.GOdbStream'.

repository: bvssvni/csharp-godb

repo_name: bvssvni/csharp-godb


text:
# Slackin for Kelda
This repository implements a [Slackin](https://github.com/rauchg/slackin) specification
for [Kelda](http://kelda.io).

To create a new Slackin service, simply pass your Slack team ID and Slack token to the
constructor:

```javascript
const slackinService = slackin.createSlackinContainer('YOUR_SLACK_TEAM', 'YOUR_SLACK_TOKEN');
```

As a third argument, you can optionally specify the port Slackin should receive
traffic on. If you don't pass a port number (as above), we open port 80 by default.

See [main.js](./main.js) for a ready-to-use blueprint.

repository: luise/slackin

repo_name: luise/slackin


text:
# Example configurations

This directory contains some sample configurations that may be helpful to get a
grip with the configuration file format `Environaut` uses. The examples can be
used by running:

    ./environaut.phar check -c minimal.example.json

The extensive example `environaut.xml` in the root directory XIncludes checks
from the file `docs/examples/pool_of_checks.xml`. The following image shows an
example run with a subsequent run based on the cached settings from the first
run. The JSON settings are not pretty printed as the system's PHP version is
less than v5.4:

![Screenshot of two subsequent runs](extensive_example_screendump.jpg)

repository: graste/environaut

gha_language: PHP

repo_name: graste/environaut


text:
---
layout: post
title: ipython
category: posts
draft: true
---

```python
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
```

See it's not that hard...

```python
a = np.array([1,2,3,4,5])
print a*2
```

    [ 2  4  6  8 10]

```python
plt.plot(a)
```

    [<matplotlib.lines.Line2D at 0x10de00150>]

![png](output_3_1.png)

```python

```


text:
# cloudca_network_acl

Create a network ACL.

## Example Usage

```hcl
resource "cloudca_network_acl" "my_acl" {
    environment_id = "4cad744d-bf1f-423d-887b-bbb34f4d1b5b"
    name           = "test-acl"
    description    = "This is a test acl"
    vpc_id         = "8b46e2d1-bbc4-4fad-b3bd-1b25fcba4cec"
}
```

## Argument Reference

The following arguments are supported:

- [environment_id](#environment_id) - (Required) ID of environment
- [name](#name) - (Required) Name of the network ACL
- [description](#description) - (Required) Description of the network ACL
- [vpc_id](#vpc_id) - (Required) ID of the VPC where the network ACL should be created

## Attribute Reference

In addition to the arguments listed above, the following computed attributes are returned:

- [id](#id) - ID of network ACL.
- [name](#name) - Name of network ACL.

## Import

Network ACLs can be imported using network ACL id, e.g.

```bash
terraform import cloudca_network_acl.my_acl fe20c7bd-9aa2-4cdd-aa73-e13e49158a6e
```

repository: cloud-ca/terraform-provider-cloudca

gha_language: Go

repo_name: cloud-ca/terraform-provider-cloudca


text:
# DEPRECATED

Consider using [Fingerprint Rules](https://docs.sentry.io/product/sentry-basics/guides/grouping-and-fingerprints/#fingerprint-rules) instead.

## Additional Sentry Raven processors [![Build Status](https://travis-ci.com/veeqo/sentry-raven-processors.svg?branch=master)](https://travis-ci.com/veeqo/sentry-raven-processors)

List of processors:
1. `RavenProcessors::Fingerprint` - replaces '{{default}}' fingerprint with combination of error class name and its line from stack trace.
2. to be added

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sentry-raven-processors'
```

And then execute:

    $ bundle

## Usage

Activate processor in your raven initializer (e.g. `config/initializers/raven.rb`)

```ruby
Raven.configure do |config|
  config.processors += [RavenProcessors::Fingerprint]
end
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rspec spec` to run the tests.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/veeqo/sentry-raven-processors.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

repository: veeqo/sentry-raven-processors

repo_name: veeqo/sentry-raven-processors


text:
# JIRA -> Trello Migration

This is a really simple utility to help port JIRA issues into Trello. This does not perform a very faithful migration. It primarily just makes sure all the issues make it to Trello.

Note that this is very much a tool that was quick thrown together; it is probably quite buggy. It also depends on a fork of node-trello to introduce rate limiting and I probably won't get a chance to clean it up enough to get it back into the master.

## Downloading from JIRA

While this is called jira-trello-migration it is more accurately a json issue uploader. You must use [jira-sync](https://github.com/programmiersportgruppe/jira-sync) to download your issues from JIRA. The files that are downloaded from there can then be used here to upload to Trello. If you want to migrate your issue attachments too, [this pull request](https://github.com/programmiersportgruppe/jira-sync/pull/3) must be merged or you can use [my fork and branch](https://github.com/jonathonwalz/jira-sync).

To download without attachments:

    jira-sync --baseurl https://*.atlassian.net --user username --project PROJECT --target issues/PROJECT/json fetch

To download with attachments:

    jira-sync --baseurl https://*.atlassian.net --user username --project PROJECT --target issues/PROJECT/json --attachments issues/PROJECT/attachments fetch

## Getting ready in Trello

You need to setup access in Trello to use the command:

1. [Generate an API key](https://trello.com/1/appKey/generate) and make a note of the public key.
2. Get a token for your user. Use the following URL making sure to replace the <PUBLIC_KEY> placeholder with your public key from step 1: `https://trello.com/1/connect?key=<PUBLIC_KEY>&name=JIRAMigrate&response_type=token&scope=read,write`
3. Create a board (or use and existing one). Make a note of the board id, this can be  found in the URL `https://trello.com/b/<BOARD ID>/`

## Upload to Trello

There are 2 variants of the command. One to upload with attachments one without. The placeholders correspond to the strings you got is steps 1 (<PUBLIC_KEY>), 2 (<TOKEN>), and 3 (<BOARD_ID>)

To upload to without attachments:

    ./jira-trello-migrate.js -k <PUBLIC_KEY> -t <TOKEN> -b <BOARD_ID> -p issues/PROJECT/json

To upload to with attachments:

    ./jira-trello-migrate.js -k <PUBLIC_KEY> -t <TOKEN> -b <BOARD_ID> -p issues/PROJECT/json -a issues/PROJECT/attachments

license: ISC

repository: jonathonwalz/jira-trello-migrate

repo_name: jonathonwalz/jira-trello-migrate


text:
# Getting Started

## Table of Contents

- [Introduction](#introduction)

- [Submodules](#submodules)

- [Installation](#installation)

## Introduction

**date-fns** provides the most comprehensive, yet simple and consistent toolset
for manipulating **JavaScript dates** in **a browser** & **Node.js**.

**date-fns** is like [lodash](https://lodash.com) for dates. It has
[**200+ functions** for all occasions](https://date-fns.org/docs/).

```js
import { format, compareAsc } from 'date-fns'

format(new Date(2014, 1, 11), 'MM/dd/yyyy')
//=> '02/11/2014'

const dates = [
  new Date(1995, 6, 2),
  new Date(1987, 1, 11),
  new Date(1989, 6, 10),
]
dates.sort(compareAsc)
//=> [
//   Wed Feb 11 1987 00:00:00,
//   Mon Jul 10 1989 00:00:00,
//   Sun Jul 02 1995 00:00:00
// ]
```

## Submodules

**date-fns** includes some optional features as submodules in the npm package.
Here is the list of them, in order of nesting:

- FP — functional programming-friendly variations of the functions. See [FP Guide](https://date-fns.org/docs/FP-Guide);

The later submodules are also included inside the former if you want to use multiple features from the list.

To use submodule features, [install the npm package](#npm) and then import a function from a submodule:

```js
// The main submodule:
import addDays from 'date-fns/addDays'

// FP variation:
import addDays from 'date-fns/fp/addDays'

// With tree-shaking enabled:
import { addDays, format } from 'date-fns/fp'
```

## Installation

The library is available as an [npm package](https://www.npmjs.com/package/date-fns).

To install the package, run:

```bash
npm install date-fns --save
# or
yarn add date-fns
```

Start using:

```js
import { formatDistance, subDays } from 'date-fns'

formatDistance(subDays(new Date(), 3), new Date(), { addSuffix: true })
//=> "3 days ago"
```

repository: date-fns/date-fns

gha_language: TypeScript

repo_name: date-fns/date-fns


text:
---
# Display name
name: Jinzhou Cao

# Username (this should match the folder name)
authors:
- admin

# Is this the primary user of the site?
superuser: true

# Role/position
role: Post Doc of Shenzhen University

# Organizations/Affiliations
organizations:
- name: Shenzhen University
  url: ""

# Short bio (displayed in user profile at end of posts)
bio: My research interests include distributed robotics, mobile computing and programmable matter.

interests:
- Urban big data analysis and mining
- Geographic information science
- Understanding human mobility and urban environments

education:
  courses:
  - course: PostDoc in Geographic Information Science
    institution: Shenzhen University
    year: 2019-now
  - course: Ph.D. in Geographic Information Science
    institution: LIESMARS,Wuhan University
    year: 2013-2019
  - course: Visiting Student in Transportation Engineering
    institution: Univsersity of Washington
    year: 2017-2018
  - course: Visiting Student in Geographic Information Science
    institution: Spatial Lab, Shenzhen University
    year: 2014-2019
  - course: BSc in Remote Sensing
    institution: RSIE, Wuhan University
    year: 2009-2013

# Social/Academic Networking
# For available icons, see: https://sourcethemes.com/academic/docs/widgets/#icons
#   For an email link, use "fas" icon pack, "envelope" icon, and a link in the
#   form<EMAIL_ADDRESS>or "#contact" for contact widget.
social:
- icon: envelope
  icon_pack: fas
  link: '#contact'  # For a direct email link, use<EMAIL_ADDRESS>- icon: twitter
  icon_pack: fab
  link: https://twitter.com/GeorgeCushen
- icon: google-scholar
  icon_pack: ai
  link: https://scholar.google.co.uk/citations?user=sIwtMXoAAAAJ
- icon: github
  icon_pack: fab
  link: https://github.com/gcushen
# Link to a PDF of your resume/CV from the About widget.
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
# - icon: cv
#   icon_pack: ai
#   link: files/cv.pdf

# Enter email to display Gravatar (if Gravatar enabled in Config)
email: ""

# Organizational groups that you belong to (for People widget)
#   Set this to `[]` or comment out if you are not using People widget.
user_groups:
#- Researchers
---

Jinzhou CAO got his Ph.D. degree in GIS from State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing (LIESMARS), Wuhan University. He was also a visiting student of Shenzhen Key Laboratory of Spatial Smart Sensing and Services and THINK Lab, University of Washington, Seattle, USA. during his Ph.D. student period. His major is Geographic Information Science and Urban Big Data Analysis, particularly interested in understanding human mobility and urban dynamics through big geo-social data. He has published several articles in journals and international conferences. He has been granted national scholarship for graduate students twice. You can find his CV here.

repository: caojinzhou/academic-kickstart-new

repo_name: caojinzhou/academic-kickstart-new


text:
# django-report-builder Documentation

A GUI for Django ORM. Build custom queries and display results.
Targets sys admins and capable end users who might not be able to program or gain
direct interactive shell access.

See [installation instructions.](quickstart.md)

Code
----

https://github.com/burke-software/django-report-builder

Discussion
--------

Let us know your thoughts at https://google.com/+Burkesoftware or consider sending some pull
requests our way!

repository: indeedlabs/django-report-builder

repo_name: indeedlabs/django-report-builder


text:
# Badge

```html
<wcs-badge class="wcs-primary">Primary</wcs-badge>
<wcs-badge class="wcs-secondary">Secondary</wcs-badge>
<wcs-badge class="wcs-success">Success</wcs-badge>
<wcs-badge class="wcs-danger">Danger</wcs-badge>
<wcs-badge class="wcs-warning">Warning</wcs-badge>
<wcs-badge class="wcs-info">Info</wcs-badge>
<wcs-badge class="wcs-light">Light</wcs-badge>
<wcs-badge class="wcs-dark">Dark</wcs-badge>
```

<!-- Auto Generated Below -->

----------------------------------------------

*Built with [StencilJS](https://stenciljs.com/)*

repository: viico/wcs

repo_name: viico/wcs


text:
The main documentation lives at .\doc\index.html

__This is only a subset of the original vb2Py. It contains modified files to allow seamless conversion of excel VB to Python.__

vb2Py Installation
==================

**Important** If you installed v0.1, or the CVS version, prior to v0.2 please remove the old directories completely before installing v0.2. Changes in the package (in particular the renaming of ``vb2py.py``) **will** causes problems. Sorry for the confusion!

* `Main Installation`_
* `GUI Installation`_
* `Simpleparse Installation`_
* `mxTools Installation`_
* `PythonCard Installation`_

``vb2Py`` uses Python and has been tested on Python 2.2. Python 2.3 should work but earlier versions will not.

Main Installation
~~~~~~~~~~~~~~~~~

vb2Py is written in Python and runs on any platform which has a Python interpreter. The simplest way to install is through pip.

    > pip install vb2py

Or, if you have downloaded the ``vb2py`` package, you will have a zip file. Before you can do anything you must have Python installed. After Python is installed you can install the ``vb2py`` modules by going to the directory you unzipped the files to and typing::

	> python setup.py install

Now you should have a 'vb2py' folder in your Python site packages directory.

Note: You do not need VB to run the converter!

Command Line Usage
==================

The easiest way to use vb2Py from the command line is by working in the vb2py directory in your Python site-packages location.

To check the basic usage from the command line::

	> python converter.py -h

Two example projects should be installed in the folder, ``vb2py/vb/test1`` and ``test2``. To convert the ``test2`` project (which is slightly more meaningful than ``test1``!) to a PythonCard project, use the command::

	> python converter.py -c vb/test/test2.vbp vb/test/test2

	-c = convert the code also
	vb/test/test2.vbp = the VB project file for the project
	vb/test/test2 = the location of the generated Python files

The directory where the Python files will be put **must** exist before you run the conversion.

If you have PythonCard_ installed you can see what the forms look like by typing::

	> python vb/test/test2/frmMain.py

You should see a form open with a lot of controls on it. Clicking on the controls should perform the same actions as for the VB version.

.. image:: images/sm_test2_frmmain_py.gif

See the `full form`_

For cases where you don't have a VB project file (``*.vbp``), you can still use the converter to convert individual files on at a time. The following command will convert the single code module in the test2 project::

	> python converter.py -c -f vb/test/Utils.bas vb/test/test2

The code will be placed in the destination directory. Note that when doing file-by-file conversions certain parts of the conversion will not be possible. In particular, global variables will not be correctly handled since in order to determine the correct qualified name for a global, vb2Py needs to know all the files within the project.

For example, when converting an entire project the following code segment (where ``BASEDIR`` is defined in a module called ``FileGlobals``)::

	Function addBaseDirectory(Path as String)
		addBaseDirectory = BASEDIR & Path ' BASEDIR is a global
	End Function

Would be converted to::

	def addBaseDirectory(Path):
		_ret = FileGlobals.BASEDIR + Path
		return _ret

However, if the file is translated on its own (using the ``-f`` command line switch) then it would be converted to::


text:
## Description

This test checks to ensure that a "bad" Policy (Namespaced) cannot be created which attempts to generate a resource into a different Namespace from that in which the Policy exists.

## Expected Behavior

If the Policy cannot be created, the test passes. If it is allowed to be created, the test fails.

## Reference Issue(s)

N/A

repository: kyverno/kyverno

repo_name: kyverno/kyverno


text:
# emacs-browse-article
Use *[unfluff](https://github.com/ageitgey/node-unfluff)* and *curl* in Emacs
to read an URL containing an article

![demo](/demo.gif)

## License
This code is licensed under the MIT license for Pedro Tacla Yamada. For more
information please refer to the [LICENSE](/LICENSE) file.

repository: yamadapc/emacs-browse-article

repo_name: yamadapc/emacs-browse-article


text:
---
templateKey: blog-post
title: 'Sponsor Announcement - Epsilon | Gold Sponsor for AWS Community Day 2019'
date: 2019-07-17T10:00:00.000Z
description: 'We are honoured to have Epsilon as our Gold Sponsor'
tags:
  - Community Day
  - '2019'
  - Sponsor
  - Announcement
---

### Epsilon

We're honoured to announce [Epsilon](https://www.epsilon.com/) as a Gold Sponsor for AWS Community Day Bengaluru 2019 happening on July 27, 2019.

![epsilon-sponsor-collateral](/img/communityday2019/epsilon.png)

Positioned at Publicis Groupe's core, Epsilon is a leader in interaction management, empowering brands to transform ordinary customer experiences into meaningful, human experiences. Our connected suite of products and services combine leading-edge identity management, industrial strength data and technology expertise with big brand acumen gained over five decades working with the industry’s top brands. Our human-powered, data-led marketing delivers unmatched depth, breadth and scale to help brands turn meaningful human interactions into exceptional business outcomes. For more information, visit [www.epsilon.com](https://www.epsilon.com/). Follow us on Twitter at [@EpsilonMktg](https://twitter.com/EpsilonMktg).

### About AWS Community Day Bengaluru 2019

AWS Community Days are community-organized cloud education events, featuring technical discussions and demos led by expert AWS users and industry leaders from around the world. AWS community is designed to educate everyone about the AWS platform, architecture best practices and about new innovation. The global AWS ecosystem consists of a range of AWS enthusiasts and advocates who are passionate about helping others build.

[AWS User Group Bengaluru (AWSUGBLR)](https://awsugblr.in) is a Bengaluru based group united by community-led learnings and diversified by the wide variety of tools and technologies closely knit with Amazon Web Services, cloud computing technology, AWS design implementation and servicing, high scalability / performance computing, production use cases of AWS, blockchain, Artificial Intelligence and much more.

To learn more about AWS Community Day Bengaluru 2019, please visit the [Community Day website](https://communityday.awsugblr.in)

repository: awsugblr/awsugblr

gha_language: JavaScript

repo_name: awsugblr/awsugblr


text:
# How to contribute

I'm really glad you're reading this, because we need volunteer developers to help this project come to fruition.

If you haven't already, come find say high at our Spectrum community ([#debtcollective](https://spectrum.chat/debtcollective)).

Here are some important resources:

- [Code of Conduct](./CODE_OF_CONDUCT.md).
- [Spectrum Community](https://spectrum.chat/debtcollective).

## Testing

We have a handful of Jest tests and Cypress features. Please write tests for new code you create.

## Submitting changes

Please open a Pull Request with a clear list of what you've done. We have a Pull Request template you can use to document your changes. When you send a pull request, we will love you forever if you include tests. We can always use more test coverage. Please follow our coding conventions (below) and make sure all of your commits are atomic (one feature per commit).

Always write a clear log message for your commits. We prefer semantic commits using https://commitizen.github.io/cz-cli/

    $ git commit -m "feat(README): A brief summary of the commit"
    >
    > A paragraph describing what changed and its if the message alone is not enough."

## Coding conventions

Start reading our code and you'll get the hang of it. We optimize for readability:

- We indent using two spaces (soft tabs)
- We use [Prettier](https://github.com/prettier/prettier) and [ESLint](https://github.com/eslint/eslint) for linting. All of our projects will have this installed, so make sure you have this configured in your IDE.


text:
---
title: Blade Ward
subtitle: Abjuration cantrip
level: cantrip
tags: [bard, sorcerer, warlock, wizard, cantrip, abjuration]
cast: 1 action
duration: 1 round
components: V, S
range: Self
---
You extend your hand and trace a sigil of warding in the air. Until the end of your next turn, you have resistance against bludgeoning, piercing, and slashing damage dealt by weapon attacks.

repository: lester-lee/dnd

repo_name: lester-lee/dnd


text:
# BankersAlgorithm

Enter Total Number of Resources types:3

Enter Total Number of Processes:5

Enter MAX Number of Resources can be Allocated to P0 Process R0 resource:7

Enter MAX Number of Resources can be Allocated to P0 Process R1 resource:5

Enter MAX Number of Resources can be Allocated to P0 Process R2 resource:3

Enter MAX Number of Resources can be Allocated to P1 Process R0 resource:3

Enter MAX Number of Resources can be Allocated to P1 Process R1 resource:2

Enter MAX Number of Resources can be Allocated to P1 Process R2 resource:2

Enter MAX Number of Resources can be Allocated to P2 Process R0 resource:9

Enter MAX Number of Resources can be Allocated to P2 Process R1 resource:0

Enter MAX Number of Resources can be Allocated to P2 Process R2 resource:2

Enter MAX Number of Resources can be Allocated to P3 Process R0 resource:2

Enter MAX Number of Resources can be Allocated to P3 Process R1 resource:2

Enter MAX Number of Resources can be Allocated to P3 Process R2 resource:2

Enter MAX Number of Resources can be Allocated to P4 Process R0 resource:4

Enter MAX Number of Resources can be Allocated to P4 Process R1 resource:3

Enter MAX Number of Resources can be Allocated to P4 Process R2 resource:3

Enter Number of Resources Allocated to P0 Process R0 resource:0

Enter Number of Resources Allocated to P0 Process R1 resource:1

Enter Number of Resources Allocated to P0 Process R2 resource:0

Enter Number of Resources Allocated to P1 Process R0 resource:2

Enter Number of Resources Allocated to P1 Process R1 resource:0

Enter Number of Resources Allocated to P1 Process R2 resource:0

Enter Number of Resources Allocated to P2 Process R0 resource:3

Enter Number of Resources Allocated to P2 Process R1 resource:0

Enter Number of Resources Allocated to P2 Process R2 resource:2

Enter Number of Resources Allocated to P3 Process R0 resource:2

Enter Number of Resources Allocated to P3 Process R1 resource:1

Enter Number of Resources Allocated to P3 Process R2 resource:1

Enter Number of Resources Allocated to P4 Process R0 resource:0

Enter Number of Resources Allocated to P4 Process R1 resource:0

Enter Number of Resources Allocated to P4 Process R2 resource:2

Enter Available System Resources of type R0:3

Enter Available System Resources of type R1:3

Enter Available System Resources of type R2:2

Banker is Safe until Process P1 is Executing

Banker is Safe until Process P3 is Executing

Banker is Safe until Process P4 is Executing

Banker is Safe until Process P0 is Executing

Banker is Safe until Process P2 is Executing

repository: phanikmr/BankersAlgorithm

repo_name: phanikmr/BankersAlgorithm


text:
# LoadingWave

**High imitation Baidu post bar loading animation**

<img src="./screenShot/loading.gif">

## Usage
### Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:

```groovy
allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}
```

### Step 2. Add the dependency
```groovy
dependencies {
	        compile 'com.github.DearZack:LoadingWave:v1.0'
	}
```

### Step 3
Include the LoadingView widget in your layout. And you can customize it like this.
```xml
<io.github.dearzack.loading.LoadingView
        android:layout_width="100dp"
        android:layout_height="100dp"
        app:textColor="#ffffff"
        app:waterColor="#3bacfc"
        app:waterPercent="50"
        app:waterText="Z" />
```

## Customization

name | format | description
---|---|---
textColor | color | default #ffffff
waterColor | color | default #3bacfc
waterPercent | float | default 50
waterText | string | default "贴"

## Change Log

## License

    Copyright 2016 Zack

	Licensed under the Apache License, Version 2.0 (the "License");
	you may not use this file except in compliance with the License.
	You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.

repository: DearZack/LoadingWave

repo_name: DearZack/LoadingWave


text:
---
title: "Anchore Engine Release Notes - Version 0.6.0"
linkTitle: "0.6.0"
weight: 94
---

## Anchore Engine 0.6.0

Anchore Engine 0.6.0 includes new features, bug fixes and improvements.  The latest summary can always be found in the Anchore Engine [CHANGELOG](https://github.com/anchore/anchore-engine/blob/master/CHANGELOG.md) on github.

### New Features

+ Substantial updates to event subsystem, adding new many new info and error level event types and implementation.
+ Auth toggle for prometheus metrics routes (using disable_auth in metrics section of config.yaml).
+ Group API metrics by function name instead of URI to handle the large number of routes when using Ids in the route.

### Bug Fixes

+ Change the db column type for the image_packages.size column from int -> bigint for larger packages than 2GB. Fixes #239.

### Improvements

+ Improvements in vuln listing for an image and vuln query performance. Resolves #286.
+ Introduce retries for individual feed group syncs and introduce more granular feed sync events to better track sync progress.
+ Quickstart/initial install via docker-compose now uses pre-loaded vulnerability data (preload DB) to reduce initial feed sync.
+ Moves deprecated gates/triggers to the EOL lifecycle stage. Resolves #276.

### Upgrading

* [Upgrading Anchore Engine]({{< ref "/docs/install/upgrade" >}})

repository: Be-Secure/anchore-engine

gha_language: Python

repo_name: Be-Secure/anchore-engine


text:
# DOPi Command Plugin: Custom SSH Command

This plugin executes custom commands on every node in the step over ssh.

By default the ssh custom command plugin will skip the host key checks. This
means you will be potentially vulnerable to man in the middle attacks. Since
DOPi is designed for the provisioning phase you are working with new nodes and
this will usually not be an issue, however changing keys because nodes get
new provisioned will be. To change this set **ssh_check_host_key** to true.

## credentials for login

The ssh/custom plugin and all the plugins that inherit from it can use
credentials from the credentials hash in the plan to login.

    credentials:
      'linux_staging_login':
        type: :username_password
        username: 'root'
        password: 'foo'

    steps:
      - name: 'set ssh login credentials'
        command:
          plugin: 'ssh/custom'
          credentials: 'linux_staging_login'
          exec: 'env'

You can also specify multiple credentials and the ssh plugin will try each one
of them in turn to login to the node.

    credentials:
      'linux_staging_login':
        type: :username_password
        username: 'root'
        password: 'foo'
      'linux_prod_login':
        type: :ssh_key
        private_key: '/home/root/.ssh/id_dsa'

    steps:
      - name: 'set ssh login credentials'
        command:
          plugin: 'ssh/custom'
          credentials:
            - 'linux_staging_login'
            - 'linux_prod_login'
          exec: 'env'

This can be set in each plugin (don't forget the validator plugins) or via
the set_plugin_defaults hash. The plugin defaults will be preserved for
subsequent steps until it is altered or deleted.

    credentials:
      'linux_staging_login':
        type: :username_password
        username: 'root'
        password: 'foo'
      'linux_prod_login':
        type: :ssh_key
        private_key: '/home/root/.ssh/id_dsa'

    steps:
      - name: 'set ssh login credentials'
        set_plugin_defaults:
          - plugins: '/^ssh/'
            :credentials:
              - 'linux_staging_login'
              - 'linux_prod_login'
        command:
          plugin: 'ssh/custom'
          exec: 'env'

The login via password will need the program sshpass to be installed on the
machine DOPi is running on. DOPi will display a warning if you specify a
username password credential but sshpass is not installed.

## ssh_root_pass auth (DEPRECATED >=0.4)

DOPi will connect to the node via ssh and execute the specified command.
It will use the configured ssh key **(ssh_key)** with the configured user
**(ssh_user)** unless **ssh_pass_auth** is set and a password for the node
is configured.

The login via password will need the program sshpass to be installed on the
machine DOPi is running on. The password can be specified as a global option
in the plan or be overwritten via hieradata.

    plan:
      ssh_root_pass: 'mypass'

    configuration:
      node:
        'web01.example.com':
           ssh_root_pass: 'myotherpass'

## Plugin Settings:

The ssh custom command plugin is based on the [custom command plugin](doc/plugins/custom.md)
and inherits all its parameters.

### quiet (optional)

`default: true`

By default ssh will run in quiet mode and stuff like login banners will not
appear in the output. See the documentation about the "-q" flag in the ssh
man page for more information about this.

### port (optional)

`default: 22`

The port to which ssh should connect

## Examples:

### Simple Example

    - name "Say Hello World on a node"
      nodes:
        - 'web01.example.com'
      command:
        plugin: 'ssh/custom'
        exec: 'echo'
        arguments: "Hello World"

### Complete Example

    - name "Install an RPM on the node"
      nodes:
        - 'web01.example.com'
      command:
        plugin: 'ssh/custom'
        exec: 'yum'
        arguments: 'install -y puppet'
        expect_exit_codes: 0
        fail_on_warning: False
        parse_output:
          error:
            - '^No package puppet available'

repository: swisscom/dopi

gha_language: Ruby

repo_name: swisscom/dopi


text:
# @davidkhala/grpc
This project was `npm khala-grpc`

## Notes
- [deprecated] npm grpc
    > As of April 2021, this library is deprecated and will no longer receive any updates. We recommend using [@grpc/grpc-js](https://www.npmjs.com/package/@grpc/grpc-js) instead.

repository: davidkhala/node-utils

repo_name: davidkhala/node-utils


text:
# Orifice trajectories

Orifice entrance experiment by Debashish Saha at ETH Zurich (http://e-collection.library.ethz.ch/view/eth:7048)

### How to cite it?

Debashish Saha, Miroslav Soos, Beat Lüthi, Markus Holzner, Alex Liberzon, Matthaus U. Babler, and Wolfgang Kinzelbach, "Experimental Characterization of Breakage Rate of Colloidal Aggregates in Axisymmetric Extensional Flow", Langmuir 2014 30 (48), 14385-14395, DOI: 10.1021/la502686b

Don't forget to cite OpenPTV:

OpenPTV consortium, 2013, www.openptv.net

### How to plot this data:

1. Unzip the set (1-5)
2. Using Matlab:

change the location of the directory on line 19 of ```myTraj_Alex ```:

    name=['./set1/trajPoint.',num2Str(i)];

change the first and last file:

    first=	1;
    last = 5000;

and run the file:

    >> myTraj_Alex

You should get something of this kind (probably rotated to a top view, use Matlab figure toolbar to rotate the view):

![](matlab/Trajectories_for_paper.png)

The data is stored in ```trajPoint``` files which are explained here: <https://github.com/3dptv/3d-ptv-post-process/tree/master/doc>

using PostPTV (the example is not yet ready, modify <https://github.com/OpenPTV/postptv/blob/master/examples/hdf5_scene_analysis.ipynb>


text:
#band-tracker

#####This project leverages the power of SQL to provide facilities dealing with Bands playing at venues

#####By Anthony J Bottemiller - 12-19-2016

##Description
This application is for tracking the venues that bands play at.
A band can play at multiple venues and a venue can have multiple bands.

##Technologies Used
* HTML
* CSS
* BOOTSTRAP
* JavaScript
* jQuery
* C#
* Mono
* Nancy
* Razor
* xUnit
* SQL

##Requirements
* Modern Web Browser
* Mono
* DVNM Scripts
* Internet Access
* SQL Server

##Database Setup
* Run these commands from PowerShell
* sqlcmd -S "(localdb)\mssqllocaldb"
* CREATE DATABASE band_tracker;
* GO
* USE band_tracker;
* GO
* CREATE TABLE venues(id INT IDENTITY, name VARCHAR(255));
* CREATE TABLE bands(id INT IDENTITY, name VARCHAR(255));
* CREATE TABLE bands_venues(id INT IDENTITY, venue_id INT, band_id INT);
* GO
* CREATE DATABASE band_tracker_test;
* GO
* USE band_tracker_test;
* GO
* CREATE TABLE venues(id INT IDENTITY, name VARCHAR(255));
* CREATE TABLE bands(id INT IDENTITY, name VARCHAR(255));
* CREATE TABLE bands_venues(id INT IDENTITY, venue_id INT, band_id INT);
* GO

##Installation
* Clone repository
* Using command line change working directory to cloned repository
* Execute command "dnu restore" in order to resolve project dependencies
* Run "dnx kestrel" from project root
* Navigate to webserver using your favorite browser

##Legal
Copyright (c) 2016 Anthony J Bottemiller

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

repository: anthonybottemiller/band-tracker

repo_name: anthonybottemiller/band-tracker


text:
# [The Listeners](http://alexa.amazon.com/#skills/amzn1.echo-sdk-ams.app.586aa4c5-12ca-496b-b7f1-3e93880f35de)
![3.5 stars](../../images/ic_star_black_18dp_1x.png)![3.5 stars](../../images/ic_star_black_18dp_1x.png)![3.5 stars](../../images/ic_star_black_18dp_1x.png)![3.5 stars](../../images/ic_star_half_black_18dp_1x.png)![3.5 stars](../../images/ic_star_border_black_18dp_1x.png) 46

To use the The Listeners skill, try saying...

* *"Alexa, ask The Listeners."*

* *"Alexa, tell The Listeners that I am filled with wonder."*

* *"Alexa, ask The Listeners to let the other voices speak."*

The Listeners is an experiment in language art that provides, if you simply keep asking to 'continue', many fragments of composed speech in an intriguing, emergent narrative. You will never hear The Listeners say exactly the same thing twice, but The Listeners is not a chatbot or an AI; they are more of a drama or a simple game.
  Get started with, "Alexa, ask the Listeners," and then "Continue," "Go on," or try something like, "I am filled with joy," or "What are you feeling?" The Listeners will suggest ways to transact with them.
  This is the second version of The Listeners, launched May 2016. They will continue to be developed over time.

***

### Skill Details

* **Invocation Name:** the listeners
* **Category:** null
* **ID:** amzn1.echo-sdk-ams.app.586aa4c5-12ca-496b-b7f1-3e93880f35de
* **ASIN:** B019R2YB7Y
* **Author:** Digital Language Arts
* **Release Date:** December 23, 2015 @ 17:47:25
* **In-App Purchasing:** No


text:
# Changelog

## 2021.01.28-03.03.16

- Fix clj-kondo batch analysis when merging batchs - Fix #284

## 2021.01.27-21.47.42

- Fix missing printlng and avoid errors for next time (this was causing issues in clients like vim coc)

## 2021.01.26-22.35.27

- Fix document-symbol after #261 - Fixes #276
- Reduce memory usage on startup batch analyzing classpath via clj-kondo. - Fixes #268

## 2021.01.25-22.56.05

- Do not remove document on `textDocument/didClose`, related to #264.
- Fix default project-specs for shadow-cljs to use npx prefix.
- Fix range of `textDocument/hover` for definition usages.
- Fix `completionItem/resolve` broken after #261.

## 2021.01.25-17.22.05

- Remove references code-lens from `deftest` forms
- Fix completion for alias ns from external deps - Fixes #269

## 2021.01.22-13.04.28

Huge refactor https://github.com/clojure-lsp/clojure-lsp/pull/261 which uses clj-kondo `analysis`/ `findings` output to almost all `clojure-lsp` features.

- Should significantly increase performance and startup time
- Should fix almost all bugs/issues with windows Users since we now rely on clj-kondo analysis
- **Remove** all lint configs from `clojure-lsp` including `macro-defs`, they should be configured on `clj-kondo` side now via `.clj-kondo/config.edn`
- Move file path on documentation to bottom

## 2021.01.20-01.39.32

- Fixes args for extract-function refactoring - Fixes #263

## 2021.01.16-03.28.20

- Check for defintions when finding references with includeDeclaration as true - Fixes #260
- Add custom command cursor-info to debugging clojure-lsp.
- Fix unnecessary new-lines on imports when executing clean-ns

## 2021.01.14-23.15.54

- Check for the whole line to add-miising-* code actions instead of expect the cursor at the ns to be required/imported - Fixes #258
- Return all possible add-missing-* code actions to the same line.

## 2021.01.14-17.19.10

- Fix add missing import code actions after refactor

## 2021.01.14-12.44.42

- Fixes #208

## 2021.01.14-02.30.28

- LSP 3.16: Add support for `codeAction/resolve` improving performance if client supports it
- Bump extend lib
- [CI] Remove auto release, next releases should contain more than one PR/fix

gha_language: Clojure


text:
_...or How to Use `babel-plugin-transform-imports`_

If you're pulling in AsyncAF's standalone scoped packages (`@async-af/map`, `@async-af/wrapper`, etc.), strategically using {@link AsyncAfWrapper AsyncAfWrapper} and {@link AsyncAfWrapper#use use} to pull in only what you need, you may have ended up with something like this:

### The Too Many Imports Way 🙀

```js
// hypothetically awesome file that uses wrapper, map, filter, includes, every, indexof, some, reduce, join, and log

import AsyncAF from '@async-af/wrapper';
import mapAF from '@async-af/map';
import filterAF from '@async-af/filter';
import includesAF from '@async-af/includes';
import everyAF from '@async-af/every';
import indexOfAF from '@async-af/indexof';
import someAF from '@async-af/some';
import reduceAF from '@async-af/reduce';
import joinAF from '@async-af/join';
import logAF from '@async-af/log';

AsyncAF.use({
  // ...all the methods
});

// ...more sweet sweet code

```

Using another tool; however, we can condense all those damned line-taking-up imports into a single line.

#### How to Do It⁉

###### Installation

First, install the individual AsyncAF packages as usual (npm, yarn, etc.).

```
npm install --save @async-af/{wrapper,map,filter,includes,every,indexof,some,reduce,join,log}
```
Or, if you're on Windows,
```
npm install --save @async-af/wrapper @async-af/map @async-af/filter @async-af/includes @async-af/every @async-af/indexof @async-af/some @async-af/reduce @async-af/join @async-af/log
```

Also install babel-plugin-transform-imports; this is where the magic happens.

```
npm install --save-dev babel-plugin-transform-imports
```

You can follow along in `babel-plugin-transform-imports`'s README if your setup is a bit different. There's webpack instructions there too. For our purposes, we'll assume you're already using babel for transpiling.

###### _.babelrc or variant_

Wherever your babel configuration lives (`.babelrc`, etc.), add to your plugins, `transform-imports` and add `async-af` to the list of libraries to transform as follows:

```json
{
  "presets": [
    "@babel/env"
  ],
  "plugins": [
    [
      "transform-imports",
      {
        "async-af": {
          "transform": "@async-af/${member}",
          "preventFullImport": true
        }
      }
    ]
  ]
}
```

Note if you're using AsyncAF in production code
Don't forget to use the appropriate version if you need production/minified code or if you're targeting legacy browsers. If so, replace the path in `"transform": "@async-af/${member}"` with:

mode	browsers	path

development	modern (ES6+)	@async-af/${member}

development	legacy (ES5+)	@async-af/${member}/legacy

production	modern (ES6+)	@async-af/${member}/min

production	legacy (ES5+)	@async-af/${member}/legacy/min

You Did It: A Nice One-Liner 😻

Now, with the babel plugin up and running _(make sure you've installed any peer dependencies for babel)_, you can refactor that wall of imports to something more succinct and _sophisticated_: 🥃

```js
// hypothetically awesome file that uses wrapper, map, filter, includes, every, indexof, some, reduce, join, and log

import {wrapper as AsyncAF, map, filter, includes, every, indexOf, some, reduce, join, log} from 'async-af';

AsyncAF.use({
  // ...all the methods
});

// ...more sweet sweet code

```

#### _Caveats; however_

While the imported method names are case-insensitive (e.g., `@async-af/indexof` vs. `indexOf`—as imported above); they must be "AF-less" (`map` vs. `mapAF`) when using this plugin.

If it's important to you that the AsyncAF methods you use be clearly differentiated from native methods with trailing "AF"s, then you can use `import`_` package`_` as `_`packageAF`_ syntax, although the result is clearly not as concise:

```js
import {wrapper as AsyncAF, map as mapAF, filter as filterAF, includes as includesAF, every as everyAF, indexOf as indexOfAF, some as someAF, reduce as reduceAF, join as joinAF, log as logAF} from 'async-af';
```

Alternatively, you can alias the methods when you add them to {@link AsyncAfWrapper `AsyncAfWrapper`} via the {@link AsyncAfWrapper#use `use`} method:

```js
import {wrapper as AsyncAF, map, filter, includes, every, indexOf, some, reduce, join, log} from 'async-af';

AsyncAF.use({
  mapAF: map,
  filterAF: filter,
  // ... etc.
}, {
  logAF: log
});

```

repository: AsyncAF/AsyncAF

repo_name: AsyncAF/AsyncAF


text:
# Installation

`Robbytorch` requires Pytorch, however it's not specified in the dependencies - we recommend installing Pytorch manually via conda and only later installing Robbytorch by pip. Pytorch has to be in version `1.6` or higher.

Use your conda env or create a new one:

```
conda create --name <ENV NAME> python=3.8 pip
conda activate <ENV NAME>
```

Install [Pytorch](https://pytorch.org/). If you have older drivers for GPU you may require older version of CUDA, i.e.:

```
conda install pytorch torchvision torchaudio cudatoolkit=10.1 -c pytorch -c conda-forge
```

or even [older Pytorch version](https://pytorch.org/get-started/previous-versions/):

```
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1 -c pytorch
```

Then run:

```
pip install robbytorch
```

# Usage

The basics of the `Robbytorch` library are explained in the [ipython/RobbytorchTutorial.ipynb](https://github.com/mim-solutions/robbytorch/blob/master/ipython/RobbytorchTutorial.ipynb) juputer notebook.

# TODO

- Streamline logging - currently we need to pass arguments to `MLFLowWriter` at init which we want to do outside of the `Trainer#train_model` function to keep reference to the `Writer` instance. We'd like to invent better flow that would allow us to pass config dict just once;
- Create helper for iterating over rows and cols and printing tensor:

```python
diffs = show - show.roll(shifts=1, dims=0)

cols, rows = 3, 6
for i in range(rows):
    curr = (show[i*cols:(i+1)*cols])
    diff = vis_grad(diffs[i*cols:(i+1)*cols])
    robby.get_image_table(curr, diff, size=(10,10))

robby.widen_outputs()
```

# Packaging

## Development mode

Run from this repository's root dir:
```
python setup.py develop
```

Now you can use the package as if it was installed by `pip`.

When you’re done with a given development task, you can remove the project source from a staging area using:

```
python setup.py develop --uninstall
```

## Creating python package

Use [this tutorial](https://packaging.python.org/tutorials/packaging-projects/). In short:

1. put your source files into `src/<PACKAGE NAME>/` dir and create files: `src/<PACKAGE NAME>/__init__.py`, `setup.py`, `pyproject.toml`, `README.md` and `LICENSE` (also optionally an empty `test` dir)
2. install required packages:
```
python3 -m pip install --upgrade twine build
```
3. build the package, i.e. run from root folder:
```
python3 -m build
```
4. upload the package:
```
python3 -m twine upload dist/*
```

In order to perform the last step you need to have a https://pypi.org/ account and create the API token, which could be conveniently placed in `$HOME/.pypirc`:

```
[pypi]
  username = __token__
  password = pypi-<API TOKEN>
```

## Warnings:
If you update the package you should increment the `version` param in `setup.py` and empty the `dist` dir.

repository: mim-solutions/robbytorch

gha_language: Jupyter Notebook

repo_name: mim-solutions/robbytorch


text:
# Hyparchive Sample Application

This tiny python program should just demonstrate how to use the dataglobal RestApi to archive and generate nice-looking documents.
It will download the current crypto courses and creates a document out of them.

## Installation

To run it you need to install Python 3.8 or greater.
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.

```bash
pip install -r requirements.txt
```

you also need a running dg archive instance with RestApi installed

## Usage

change this two variables

```python
COIN_API_KEY = 'xxx'
host = "localhost"
```

COIN_API_KEY is the api key you need to request from coin marked cap
host is the api endpoint

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Twitter :
@mrebahls
<br>
Mail<EMAIL_ADDRESS>

## License
[MIT](https://choosealicense.com/licenses/mit/)

repository: dataglobal-GmbH/RestApiSample

repo_name: dataglobal-GmbH/RestApiSample


text:
# Diffractella curvata (Fuckel) Guarro, P.F. Cannon & Aa, 1991 SPECIES

#### Status
ACCEPTED

#### According to
The Catalogue of Life, 3rd January 2011

#### Published in
Syst. Ascom. , Reprint of Volumes 1-4 (1982-1985) 10(2): 108 (1991)

#### Original name
Cephalotheca curvata Fuckel, 1871

### Remarks
null

repository: mdoering/backbone

repo_name: mdoering/backbone


text:
## Build
`make` and `make clean`

## Run
`luajit fib.lua`

## Notes for Mac OS X

* use `-install_name` instead of `-soname`
* call the shared object file `libfib.dylib` instead of `libfib.so...`


text:
## Best Time to Buy and Sell Stock

Say you have an array for which the ith element is the price of a given stock on day i.

If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock), design an algorithm to find the maximum profit.

## Solution

本質就是求數對之差最大值，只需要保存前面的最小值，然後當前值減去最小值一定是最大的

```c
int maxProfit(int *a, int n)
{
	int min = a[0];
	int max = 0;
	for (int i = 1; i < n; ++i) {
		min = MIN(min, a[i]);
		max = MAX(max, a[i] - min);
	}
	return max;
}
```

repository: jasonblog/note

gha_language: C

repo_name: jasonblog/note


text:
# build-trusty-php-1

[![Build Status](https://travis-ci.org/infOpen/build-trusty-php-1.svg?branch=master)](https://travis-ci.org/infOpen/build-trusty-php-1)

Dockerfile used to build a base jenkins slave image used to build ubuntu trusty
packages for php apps, with some dependencies :
- mysql
- nodejs
- elasticsearch

## Warning

We use gosu to build packages with a non root user.
To be used with jenkins user, need to set setuid so take care about commands
launch in container with gosu.


text:
# Multi-Protocol Broker

Starting in HELICS 2.5 there is a Multi Broker type that allows connection with multiple communication types simultaneously. The multibroker allows an unlimited number of communication operations to interact.

## Starting a multiBroker

A multibroker can be started as BrokerApp or a helics_broker. For the HELICS Broker the configuration must given as a file since each of the core types linked must be configured independently. Using the helics_broker the startup commands would look something like

```sh
helics_broker --type multi --config=helics_mb_config.json --name=broker1
```

A couple example configurations follow.

```json
{
  "master": {
    "type": "test"
  },
  "comms": [
    {
      "type": "zmq",
      "interfaceport": 23410
    },
    {
      "type": "zmq",
      "interfaceport": 23700
    }
  ]
}
```

The primary communication pathway can be specified in a master object or on the root of the configuration file.

```json
{
  "type": "test",
  "comms": [
    {
      "type": "zmq"
    },
    {
      "type": "tcp"
    }
  ]
}
```

Master comm information can also be given through the command line. The master comm is the only on in which higher level broker information may be specified. Any broker related specification in the comms sections will result in an error. If the MultiBroker is intended to be a root broker then no master section is required. Multiple network communication pathways of the same type are allowed assuming they use different ports.

Programmatically multibrokers can also be started using the BrokerApp and giving it the type `helics::core_type::MULTI` for arguments to the multibroker the type of the master comm can be specified on the command line arguments as well.

## Limitations

- Using TCPSS comms in the multibroker does not currently support outgoing connections like a full TCPSS broker would. This will likely be fixed in upcoming releases.
- Configuration files must currently be in JSON, in a few limited cases TOML files may work, but configuration of multiple comms in a toml file will not work. This will also likely be fixed in upcoming releases.
- General support for multibrokers is not provided in the webServer due to limitations on the configuration files. Some mechanism for this will be allowed in a future release.

## Example

An example implementation of a multi-protocol broker with explanation [can be found here](../examples/advanced_examples/advanced_brokers_multibroker.md) with the [source code over here in the repository](https://github.com/GMLC-TDC/HELICS-Examples/tree/main/user_guide_examples/advanced/advanced_brokers/multi_broker).

repository: GMLC-TDC/HELICS

repo_name: GMLC-TDC/HELICS