|
RACE in the NORTH
You can feel chilled by that letter even if you don't have several ancestors on the "Welcome" (as I do). But it's an accurate insight into the mindset of the New England Puritans, whom we honor among the founders of the country, and hold up as models in contrast to the nefarious slave-owners of the South. De Tocqueville observed that "race prejudice seems stronger in those states that have abolished slavery than in those where it still exists, and nowhere is it more intolerant than in those states where slavery was never known." The word "racism" in all its variants is a 20th century invention. Lincoln never heard it. What we would now call "racism" was so pervasive and universal in 19th century America -- North and South and West -- that no one felt a need to coin a word for it. The mere fact that we have a word "racism" in our vocabulary now is a way to rope off a certain attitude or behavior, and that is a first step to moving beyond it. It's a sign of progress. I dislike the idea of making modern moral labels retroactive.  Modern people sometimes like to trot out some racist statements by Abraham Lincoln. I'm impressed that Lincoln was less racist than the generality of people in the place he was born and raised in, the pre-war U.S. Midwest.
The abolitionists -- that is, the extremists among them who advocated not just emancipation but social equality of the races -- had a uphill fight to persuade popular opinion in the North, South, West and all points that blacks and white were equal in any real sense. To get an idea of how strongly the North, as a section, despised abolitionists in the 1830s, consider the career of Lydia Maria Child. Born and raised in Massachusetts, in 1824, when she was just 22, she published the first historical novel printed in the United States. It made her an instant celebrity. She spun out novels and stories that the public gobbled up, and she became editor of "The Juvenile Miscellany," a new and popular children's magazine, again one of the first of its kind. Her book The Frugal Housewife was an immensely popular manual. But in the 1830s Child got involved with Garrison's abolitionist movement, and she dedicated herself to it. She published An Appeal in Favor of that Class of Americans Called Africans in 1833. The work condemned slavery in the standard abolitionist terms, pointing out its contradiction with Christian teachings, and its moral and physical degradation of slaves and owners alike. She also railed at miscegenation, and she took shots at the North for its share of responsibility for the system. And it stopped her career cold. The views were considered so extreme that the public dropped her. Sales of her books plummeted, publishers refused to take anything she wrote, and she lost her editorial post with "The Juvenile Miscellany." This pioneer of American publishing is now utterly obscure, and most people who see her name have no idea that she wrote, for instance, the Thanksgiving poem that begins, "Over the river and through the woods ...." To prove the pervasiveness of any opinion, in the days before Gallup polls, you have to introduce masses and masses of documentary evidence, and even then, no matter how many gallons of ink you drain, you're open to a charge of selective bias.
The editorial opinions of anti-administration Northern newspapers during the Civil War were obviously full of a virulent racism. It was there for political purposes, primarily, and the editors of those newspapers often had personal relationships to the blacks in their communities that were at least as benevolent and sincere as those of their Republican enemies. One of the Pennsylvania newspapers I studied was full of race-baiting that makes me cringe even now. It slandered Lincoln, too, calling him every name in the book. But nobody made trouble for the editor until the summer of 1861, when he printed his opinion that the North had gone to war with the ultimate goal of freeing the slaves. This was considered so outrageous and offensive that soldiers just back from their three-months regiments attacked the office and sacked it. I spent a long time reading letters, journals, newspapers and diaries in a region of Pennsylvania so noted for its abolitionism that it's now marketing historical tourism based on the Underground Railroad. But in all that reading I found almost nothing that would not be considered hard-core racism today. I wasn't writing about race per se, but the book had to touch on the topic. It became painful at times, reading one thing after another, and I wondered if it wasn't undoing all the rest of my work in trying to paint a vivid, sympathetic picture of a bygone Northern place. Like Thomas Jefferson's slaves, the one fact begins to crowd out all the others. At times it did seem to me to poison every positive quality, in the men, women, and institutions of that whole community. I could only explain it by remembering the degree of degradation that must have been brought on the black community by lack of education and poverty, and by the pervasive racist views of the day that were passed off as either scientific fact or the immutable word of God. But remember, this was the North, not the South. From 1843, an appeal trying to drum up public donations to keep open a public school for black children:
"Education is said to be the chief defense of nations, and in the case of white people it is supposed to be a great preventive of crime. It is respectfully submitted that what is so good for white people may also be beneficial for the colored race. This is a moderate, mainstream -- liberal -- voice in that community. I suspect it was written by a Quaker, perhaps a member of an abolition society. There are voiciferous and sometimes violent people in the world today who claim that circuses and slaughterhouses and animal testing of new medical techniques are sins against nature and God. In 100 or 1,000 years it may be an obvious opinion that they were right -- I would not be surprised. But then PETA research lab bombers will be the only heroes in our generation. All the rest of us will be written off as immoral or worse.
A VERMONT STORY
From a speech on emancipation, by Sen. J.R. Doolittle of Wisconsin, March 19, 1862 [Congressional Globe, 37th Congress, 2nd session, vol. IV, appendix, p.84, col. 3]
I can give you a case directly in point. A very distinguished gentleman from Vermont was first elected to Congress, I believe, about 1843. One of the well-to-do farmers in his neighborhood called upon him, the evening before he was to leave for Washington, to pay his respects.
"And now, judge," said he, "when you get to Washington, I want to have you take hold of this negro business, and dispose of it in some way or other; have slavery abolished, and be done with it."
"Well," said the judge, "as the people who own these slaves, or claim to own them, have paid their money for them, and hold them as property under their State laws, would it not be just, if we abolish slavery, that some provision should be made to make them compensation?"
He hesitated, thought earnestly for a while, and, in a serious tone, replied: "Yes, I think that would be just, and I will stand my share of the taxes." Although a very close and economical man, he was willing to bear his portion of the taxes.
"But," said the judge, "there is one other question; when the negroes are emancipated, what shall be done with them?  Do you think it would be any more than fair that we should take our share of them?"
"Well, what would be our share in the town of Woodstock?" he inquired.
The judge replied: "There are about two thousand five hundred people in Woodstock; and if you take the census and make the computation, you will find that there would be about one for every five white persons; so that here in Woodstock our share would be about five hundred."
"What!" said he, "five hundred negroes in Woodstock! Judge, I called to pay my respects; I bid you good evening;" and he started for the door, and mounted his horse. As he was about to leave, he turned round and said: "Judge, I guess you need not do anything more about that negro business on my account." [Laughter.]
Mr. President, perhaps I am not going too far when I say that honorable gentleman sits before me now.
Mr. [Jacob] COLLAMER [R-Vt.]. As the gentleman has called me out, I may be allowed to say that the inhabitants of the town were about three thousand, and the proportion was about one to six.
[*] I have seen this letter in different books -- including, curiously, Joseph Campbell's "Hero with a Thousand Faces," which cites it in a scholarly study of American government -- but did not find it in the collection of Mather's writings I consulted, which was published in the 19th century. It is possible the letter is not genuine, or is considered doubtful. The wording varies somewhat in the published versions I have seen. It also is possible it was left out of the 19th century collection out of embarrassment.
|
| ©2002Douglas Harper | "When misunderstanding serves others as an advantage, one is helpless to make oneself understood." -Lionel Trilling |


Before Change
])
tf_rep = onnx_graph_to_tensorflow_rep(graph_def)
output = tf_rep.run({"X": x, "weights": weights})
padh_left = weight_shape[2] - 1 - pads[0]
padh_right = weight_shape[2] - 1 - pads[1]
padw_left = weight_shape[3] - 1 - pads[2]
After Change
tf_rep = onnx_graph_to_tensorflow_rep(graph_def)
// export to tf.saved_model
model_path = "test_dynamic_shape/conv_transpose"
tf_rep.export_graph(model_path)
// load the saved_model back
tf_model = tf.saved_model.load(model_path)
// run the model
tf_model_output = tf_model(X=x, weights=weights)
padh_left = weight_shape[2] - 1 - pads[0]


I am a fabulous graphic designer...
You could say I was born to be creative!
There's lots to know about me.
- I like to cook. I've been told I am better than Gordon Ramsay.
- I also like to draw. I guess I get it from my great great great great gandad, Leonardo da Vinci!
- I have four cats. Check them out!


Hi! My name is Kuba and
I'm Web Developer.
Hi! My name is Kuba and
I'm Web Developer.
I've been working as an IT Analyst in Warsaw for 2 years.
In Hycom company, I am responsible for telecommunication companies projects. I lead work in order to provide valuable experience to users. Our main services are ecomerce systems, mobile and web application.
Right now, I learn as a web designer front end developer. For the last 8 months, I participated in Web developer Bootcamp in Kodilla Academy. During this time, I've learned technologies such as: HTML5, CSS3, JavaScript, jQuery. In my work I use a version control system GIT. I Develop basic knowledge of AJAX and React technology.
I created this space where I can put my works. I'm planning to upload my works in here regardless of business and Bootcamp tasks-related.
I hope you enjoy my portfolio.
Profesional
Just in Time
Nice
HTML5/CSS3
Jquery/JavaScript
GIT
Get in touch
507 158 709


In August, #WITBragDay was trending on Twitter for about two days in the week after the release of the Google diversity memo. It was essentially supposed to be a way for women in tech to talk about cool things they had done. I scraped the tweets and did an analysis of the ways in which women were "bragging" about themselves. The project ended up expanding into a presentation that I gave at the eUSR conference in November 2017, a conference for undergraduates in statistics. The slides are available here!
I calculated the dissimilarity index for Charlottesville, VA as a measure of racial residential segregation. At the link is an rmarkdown of how I made my visualizations. There are population distribution maps and plots of the indices!
I built this blog using the djangogirls tutorial and quite a bit of Googling. It was my first real full-stack project and pushed my abilities. It taught me how to use HTML/CSS and think with design in mind. So in a lot of ways, it was the beginnings of this site! At this point it isn't hosted anywhere, but the code is all on github (linked through the picture and title)
I wrote this tutorial and presented it at R Ladies Twin Cities It uses fivethirtyeight biopics data and begins by recreating their graphics. Feel free to use it and share it!
At my office hours for Introduction to Data Science (COMP 112) one night, some students mentioned they felt like they needed more practice with data wrangling and dplyr. So the next day I wrote an activity for them to work through. It ended up being really helpful for the students who worked on it with me and made them much more confident in using dplyr!
I volunteered with Hola Cultura during summer 2017 (after interning the previous summer) to make maps for their stories. The maps can be found here. The previous summer I also taught a class for the other interns on using ArcGIS online to make story maps. Click here for an article one of my students wrote about the class! (Spoiler: he loved it!)


Please login with GitHub in order to save
solutions and appear on the leaderboards.
{{ end }}
{{ .Data.Hole.Name }}
{{ .Data.Hole.Preamble }}
arguments holds ARGV, print() to output with a newline, write() to output without a newline.
say() is available without any import.


Files Module¶
About¶
Command Guide¶
Module Files manages the on-disk representation of files and presents the following APIs:
File Directory API: Old, New, Register, Close, Purge, Delete, Rename, Date, Length
File Read API: Set, Pos, Base, ReadByte, ReadBytes, Read, ReadInt, ReadSet, ReadReal, ReadString, ReadNum
File Write API: WriteByte, WriteBytes, Write, WriteInt, WriteReal, WriteString, WriteNum
System use: Init, RestoreList
API Guide¶
Dependencies¶
SYSTEM Kernel FileDir
Constants¶
MaxBufs = 4;
HS = FileDir.HeaderSize;
SS = FileDir.SectorSize;
STS = FileDir.SecTabSize;
XS = FileDir.IndexSize;
Types¶
DiskAdr = INTEGER;
File* = POINTER TO FileDesc;
Buffer = POINTER TO BufferRecord;
Index = POINTER TO IndexRecord;
OT = POINTER TO OTDesc;
Rider* =
RECORD eof*: BOOLEAN;
res*: INTEGER;
file: File;
apos, bpos: INTEGER;
buf: Buffer;
Ot: OT;
END ;
ReadByteProc* = PROCEDURE (VAR r: Rider; VAR x: BYTE);
ReadProc* = PROCEDURE (VAR r: Rider; VAR ch: CHAR);
WriteByteProc* = PROCEDURE (VAR r: Rider; x: BYTE);
WriteProc* = PROCEDURE (VAR r: Rider; ch: CHAR);
OTDesc = RECORD
Next: OT;
Id: INTEGER;
Set: PROCEDURE (VAR r: Rider; f: File; pos: INTEGER);
Pos: PROCEDURE (VAR r: Rider): INTEGER;
Base: PROCEDURE (VAR r: Rider): File;
ReadByte: ReadByteProc;
Read: ReadProc;
WriteByte: WriteByteProc;
Write: WriteProc;
END;
FileDesc =
RECORD
next: INTEGER; (*list of files invisible to the GC*)
nofbufs, aleng, bleng: INTEGER;
modH, registered: BOOLEAN;
firstbuf: Buffer;
sechint: DiskAdr;
name: FileDir.FileName;
mime: INTEGER; (*32-bit hash of ascii mime type text*)
date: INTEGER;
ext: ARRAY FileDir.ExTabSize OF Index;
sec: FileDir.SectorTable
END ;
(* If name[30] = 0 and name[31] > 0 then name[31] indicates which kind of
entity other than a regular file that this is e.g. a pipe, subdir, link, etc.*)
SpecialDesc =
RECORD (FileDesc)
Register: PROCEDURE (f: File)
END;
BufferRecord =
RECORD apos, lim: INTEGER;
mod: BOOLEAN;
next: Buffer;
data: FileDir.DataSector
END ;
IndexRecord =
RECORD adr: DiskAdr;
mod: BOOLEAN;
sec: FileDir.IndexSector
END ;
(*aleng * SS + bleng = length (including header)
apos * SS + bpos = current position
0 <= bpos <= lim <= SS
0 <= apos <= aleng < PgTabSize
(apos < aleng) & (lim = SS) OR (apos = aleng) *)
Variables¶
root: INTEGER (*File*); (*list of open files*)
Ot: OT; (* operations on file riders *)
OTBase: OTDesc;
Functions and Procedures¶
— Check verifies a FileName is in an acceptable format.
PROCEDURE Check(s: ARRAY OF CHAR;
— Old opens an existing file or returns the file handle or NIL.
PROCEDURE Old*(name: ARRAY OF CHAR): File;
— New creates a new file and returns a file handle.
PROCEDURE New*(name: ARRAY OF CHAR): File;
— UpdateHeader updates the file header.
PROCEDURE UpdateHeader(f: File; VAR F: FileDir.FileHeader);
— ReadBuf retrieves a file buffer’s sector contents from disk.
PROCEDURE ReadBuf(f: File; buf: Buffer; pos: INTEGER);
— WriteBuf places a file buffer’s sector contents on disk, allocating a sector if necessary.
PROCEDURE WriteBuf(f: File; buf: Buffer);
— Buf returns the buffer for file f in memory for a sector at file sector index pos or NIL.
PROCEDURE Buf(f: File; pos: INTEGER): Buffer;
— GetBuf returns a buffer for file f for a sector at file sector index pos, loading from disk if necessary, potentially spilling a buffer.
PROCEDURE GetBuf(f: File; pos: INTEGER): Buffer;
— Unbuffer writes modified buffers and the file header for a file back to disk, allocating new sectors as necessary.
PROCEDURE Unbuffer(f: File);
— Register makes temporary (created with New) file permanent by inserting it into the on-disk directory structure.
PROCEDURE Register*(f: File);
— Close flushes all outstanding changes to a file to disk.
PROCEDURE Close*(f: File);
— Purge returns disk sectors used by a file to free space.
PROCEDURE Purge*(f: File);
— Delete removes a file from the directory and frees the disk sectors used by the file.
PROCEDURE Delete*(name: ARRAY OF CHAR; VAR res: INTEGER);
— Rename Changes the name of a file.
PROCEDURE Rename*(old, new: ARRAY OF CHAR; VAR res: INTEGER);
— Length returns the length of the file.
PROCEDURE Length*(f: File): INTEGER;
— Date returns the last modified date of the file.
PROCEDURE Date*(f: File): INTEGER;
— SetRead sets the Read procudure for Rider R to P.
PROCEDURE SetRead*(VAR R: Rider; P: ReadProc);
— SetReadByte sets the ReadByte procudure for Rider R to P.
PROCEDURE SetReadByte*(VAR R: Rider; P: ReadByteProc);
— SetWrite sets the Write procudure for Rider R to P.
PROCEDURE SetWrite*(VAR R: Rider; P: WriteProc);
— SetWriteByte sets the WriteByte procudure for Rider R to P.
PROCEDURE SetWriteByte*(VAR R: Rider; P: WriteByteProc);
— Set positions the Rider r to position pos on File f for reading and writing.
PROCEDURE Set*(VAR r: Rider; f: File; pos: INTEGER);
— Pos returns the current position of Rider r on its file.
PROCEDURE Pos*(VAR r: Rider): INTEGER;
— Base returns the File that Rider r is based on.
PROCEDURE Base*(VAR r: Rider): File;
— ReadByte provides the next byte, advancing the position by a byte.
PROCEDURE ReadByte*(VAR r: Rider; VAR x: BYTE);
— ReadBytes provides the next n bytes, advancing the position by n.
PROCEDURE ReadBytes*(VAR r: Rider; VAR x: ARRAY OF BYTE; n: INTEGER);
— Read provide the next byte as a CHAR, advancing the position by one.
PROCEDURE Read*(VAR r: Rider; VAR ch: CHAR);
— ReadInt provides the next four bytes as an INTEGER, advancing the position by four.
PROCEDURE ReadInt*(VAR R: Rider; VAR x: INTEGER);
— ReadSet provides the next four bytes as a SET, advancing the position by four.
PROCEDURE ReadSet*(VAR R: Rider; VAR s: SET);
- ::
PROCEDURE ReadReal*(VAR R: Rider; VAR x: REAL);
— ReadString provides the next range of bytes up to and including a NULL value as an ARRAY OF CHAR, advancing the position past the NULL.
PROCEDURE ReadString*(VAR R: Rider; VAR x: ARRAY OF CHAR);
— ReadNum provides the next several bytes as an INTEGER, converting from the on-disk representation of a ‘Number’, advancing past the number.
PROCEDURE ReadNum*(VAR R: Rider; VAR x: INTEGER);
— NewExt creates a new file sector indirection buffer for tracking sectors used by a file.
PROCEDURE NewExt(f: File);
— WriteByte writes a byte to the file at the rider position, extending the file as necessary.
PROCEDURE WriteByte*(VAR r: Rider; x: BYTE);
— WriteBytes writes n bytes to the file at the rider position, extending the file as necessary.
PROCEDURE WriteBytes*(VAR r: Rider; x: ARRAY OF BYTE; n: INTEGER);
— Write writes a CHAR to the file at the rider position, extending the file as necessary.
PROCEDURE Write*(VAR r: Rider; ch: CHAR);
— WriteInt writes an Int to the file at the rider position, extending the file as necessary.
PROCEDURE WriteInt*(VAR R: Rider; x: INTEGER);
— WriteSet writes a set to the file at the rider position, extending the file as necessary.
PROCEDURE WriteSet*(VAR R: Rider; s: SET);
— WriteReal writes a Real to the file at the rider position, extending the file as necessary.
PROCEDURE WriteReal*(VAR R: Rider; x: REAL);
— WriteString writes a string including the terminating NULL to the file at the rider position, extending the file as necessary.
PROCEDURE WriteString*(VAR R: Rider; x: ARRAY OF CHAR);
— WriteNum writes an INTEGER in something format to the file at the rider position, extending the file as necessary.
PROCEDURE WriteNum*(VAR R: Rider; x: INTEGER);
— RegisterOT enrolls an OTDesc table of function pointers in the Files module.
PROCEDURE RegisterOT*(VAR o: OT);
— UnRegisterOT enrolls an OTDesc table of function pointers in the Files module.
PROCEDURE UnRegisterOT*(i: INTEGER);
— Init (called on system-startup by Modules) sets the list of open files to 0, sets up the file rider operations table, and calls Kernel.Init and FileDir.Init.
PROCEDURE Init*;
— RestoreList is used by the Garbage Collector after mark phase to put the open files list back.
PROCEDURE RestoreList*; (*after mark phase of garbage collection*)
- ::
PROCEDURE mark(f: INTEGER): INTEGER;
Development Guide¶
(NW 11.1.86 / 22.9.93 / 25.5.95 / 25.12.95 / 15.8.2013, CP 2021)


Propaganda Advertisement Advertisement Effectiveness Long-term Short-term Short-term Long-term E.g. Posters / Youtube Motion and Emotion Technologies HTML5 Material Design Greensock's GSAP / Velocity JS MP4


net.sf.saxon.charcode
Interfaces
CharacterSet
PluggableCharacterSet
Classes
ASCIICharacterSet
BuggyCharacterSet
CharacterSetFactory
CP1250CharacterSet
CP1251CharacterSet
CP852CharacterSet
KOI8RCharacterSet
Latin1CharacterSet
Latin2CharacterSet
UnicodeCharacterSet
UnknownCharacterSet


You can use this tool to create or edit your own podcast feed file. Follow the steps and upload the resullting file to your server and you're ready to send links to every directory you want.
Load your podcast data from a URL
or a file
or
{{podcast.toXML()}}


|
| static bool | IsHexDigit (char c) |
| |
| static byte [] | ToBytes (string hexString) |
| | Creates a byte array from the hexadecimal string. Each two characters are combined to create one byte. First two hexadecimal characters become first byte in returned array. Non-hexadecimal characters are ignored. More...
|
| |
| static byte [] | GenSelectMask (string hexString) |
| | Creates a byte array from the hexadecimal string. Each two characters are combined to create one byte. First two hexadecimal characters become first byte in returned array. Non-hexadecimal characters are ignored. More...
|
| |
| static byte [] | GenPostMatchMask (string hexString) |
| | Creates a byte array from the hexadecimal string. Each two characters are combined to create one byte. First two hexadecimal characters become first byte in returned array. Non-hexadecimal characters are ignored. More...
|
| |
| static byte [] | ToBytes (ushort[] data) |
| | Convent ushort array to byte array More...
|
| |
| static byte [] | ToBytes (ushort[] data, int count) |
| | Convent ushort array to byte array More...
|
| |
| static byte | ToByte (string hexString) |
| | return a byte from string More...
|
| |
| static ushort | ToUshort (string str) |
| | return ushort from byte string More...
|
| |
| static ushort [] | ToUshorts (byte[] Input) |
| | return ushort array from byte array More...
|
| |
| static short [] | ToShorts (byte[] Input) |
| | return short array from byte array More...
|
| |
| static ushort [] | ToUshorts (string Input) |
| | return ushort array from string input More...
|
| |
| static string | ToString (byte[] bytes) |
| | Byte to String Conversion More...
|
| |
| static string | ToString (byte[] bytes, int length) |
| | Byte to String Conversion More...
|
| |
| static string | ToString (byte[] bytes, uint offset, uint count) |
| | Byte to String Conversion More...
|
| |
| static string | ToString (ushort[] data) |
| | ushort to String Conversion More...
|
| |
| static string | ToString (ushort[] data, uint offset, uint count) |
| | ushort to String Conversion More...
|
| |
| static bool | IsHexFormat (string hexString) |
| | Determines if given string is in proper hexadecimal string format More...
|
| |
| static bool | Compare (string source, string target) |
| | Compare Hex String, ie, source = "11ffaa", target = "11FFaa", it will return true More...
|
| |
| static bool | Compare (Byte[] source, Byte[] target) |
| | Compare Hex More...
|
| |
| static bool | Compare (Byte[] source, Byte[] target, int size) |
| | Compare Hex More...
|
| |
| static Int16 | ToInt16 (byte[] buffer, int offset) |
| | Convert 2 Bytes to one short More...
|
| |
| static UInt16 | ToUInt16 (byte[] buffer, int offset) |
| | Convert 2 Bytes to one short More...
|
| |
| static UInt32 | ToUInt32 (byte[] buffer, int offset) |
| | Convert 4 Bytes to one uint32 More...
|
| |
| static UInt32 | ToUInt32 (string hexString) |
| | Convert string to one uint32 More...
|
| |
| static UInt64 | ToUInt64 (byte[] buffer, int offset) |
| | Convert 4 bytes to long More...
|
| |
| static bool | IsHexDigit (char c) |
| |
| static long | HostToNetworkOrder (long host) |
| |
| static int | HostToNetworkOrder (int host) |
| |
| static short | HostToNetworkOrder (short host) |
| |
| static long | NetworkToHostOrder (long network) |
| |
| static int | NetworkToHostOrder (int network) |
| |
| static short | NetworkToHostOrder (short network) |
| |
| static byte [] | ToBytes (string hexString) |
| | Creates a byte array from the hexadecimal string. Each two characters are combined to create one byte. First two hexadecimal characters become first byte in returned array. Non-hexadecimal characters are ignored. More...
|
| |
| static byte [] | GenSelectMask (string hexString) |
| | Creates a byte array from the hexadecimal string. Each two characters are combined to create one byte. First two hexadecimal characters become first byte in returned array. Non-hexadecimal characters are ignored. More...
|
| |
| static byte [] | GenPostMatchMask (string hexString) |
| | Creates a byte array from the hexadecimal string. Each two characters are combined to create one byte. First two hexadecimal characters become first byte in returned array. Non-hexadecimal characters are ignored. More...
|
| |
| static byte [] | ToBytes (ushort[] data) |
| | Convent ushort array to byte array More...
|
| |
| static byte [] | ToBytes (ushort[] data, int count) |
| | Convent ushort array to byte array More...
|
| |
| static byte | ToByte (string hexString) |
| | return a byte from string More...
|
| |
| static ushort | ToUshort (string str) |
| | return ushort from byte string More...
|
| |
| static ushort [] | ToUshorts (byte[] Input) |
| | return ushort array from byte array More...
|
| |
| static short [] | ToShorts (byte[] Input) |
| | return short array from byte array More...
|
| |
| static ushort [] | ToUshorts (string Input) |
| | return ushort array from string input More...
|
| |
| static string | ToString (byte[] bytes, int offset=0, int count=-1) |
| | Byte to String Conversion More...
|
| |
| static string | ToString (ushort[] data, int offset=0, int count=-1) |
| | ushort to String Conversion More...
|
| |
| static bool | IsHexFormat (string hexString) |
| | Determines if given string is in proper hexadecimal string format More...
|
| |
| static bool | Compare (string source, string target) |
| | Compare Hex String, ie, source = "11ffaa", target = "11FFaa", it will return true More...
|
| |
| static bool | Compare (Byte[] source, Byte[] target) |
| | Compare Hex More...
|
| |
| static bool | Compare (Byte[] source, Byte[] target, int size) |
| | Compare Hex More...
|
| |
| static Int16 | ToInt16 (byte[] buffer, int offset) |
| | Convert 2 Bytes to one short More...
|
| |
| static UInt16 | ToUInt16 (byte[] buffer, int offset) |
| | Convert 2 Bytes to one short More...
|
| |
| static UInt32 | ToUInt32 (string hexString) |
| | Convert string to one uint32 More...
|
| |
| static void | Copy (Byte[] src, Byte[] dst, int count) |
| | Copy One array to another array More...
|
| |
| static void | Copy (Byte[] src, Byte[] dst, int dstIndex, int count) |
| | Copy One array to another array More...
|
| |
| static void | Copy (Byte[] src, int srcIndex, Byte[] dst, int dstIndex, int count) |
| | Copy One array to another array More...
|
| |
| static bool | Compare< T > (T[] a, T[] b) |
| | Generic compare two array More...
|
| |
| static UInt32 | GetBitCount (string hexString) |
| | Get bit length from string More...
|
| |
| static UInt32 | GetBitCount (Byte[] bytes) |
| | Get bit length from string More...
|
| |
| static ushort | GetWordCount (string hexString) |
| | Get Word length from string More...
|
| |
| static int | GetByteCount (string hexString) |
| | GetByteCount More...
|
| |


Z.-S. Zhang
Research Fellow, Department of Statistics and Applied Probability, National University of Singapore.
Department of Statistics and Applied Probability
National University of Singapore
Singapore 117546
Basic information
I am currently a Research Fellow in the Department of Statistics and Applied Probability at the National University of Singapore working with Professor Adrian Roellin. Prior to this, I was a research fellow working with Aurore Delaigle at the University of Melbourne. I obtained my Ph.D. degree in 2017 at the Chinese University of Hong Kong, under the supervision of Professor Qi-Man Shao.
Education
- The Chinese University of Hong Kong, Hong Kong
- Aug 2013 – Jul 2017
- Ph.D. in Statistics
- Supervisor: Professor Qi-Man Shao
- Wuhan University, Wuhan, China
- Sep 2009 – Jun 2013
- B.S. in Statistics.
Research Experience
- Stanford University, Statistics Department
- Visiting Student Researcher
- Adviser: Prof. Sourav Chatterjee.
- Melbourne University, School of Mathematics and Statistics
- Research Fellow in statistics
- Adviser: Prof. Aurore Delaigle.
- National University of Singapore, Department of Statistics and Applied Probability
- Research Fellow
- Adviser: Prof. Adrian Roellin
Research interest
- Asymptotic theory in probability and statistics;
- Stein’s method;
- Random graph
- Functional data analysis;
- Nonparametric statistics.
CV
Submitted papers
-
Z.–S. Zhang, “Cramér–type moderate deviations of normal approximation for exchangeable pairs”. Available at arXiv: 1901.09526.
-
Z.–S. Zhang, “Berry–Esseen bounds for generalized U statistics”. Available at arXiv: 2104.03479.
-
Z.–S. Zhang, “Berry–Esseen bounds for selfnormalized sums of local dependent random variables”. Available at arXiv: 2104.03683.
-
S.–H. Liu and Z.–S. Zhang, “Cramér–type moderate deviation via Stein identities with applications to local dependence and combinatorial central limit theorems”. Submitted.
-
A. Roellin and Z.–S. Zhang, “Dense multigraphonvalued stochastic processes and edgechanging dynamics in the configuration model”. Available at arXiv: 2104.13024.
Publications
-
Q.–M. Shao and Z.–S. Zhang (2021+), “Berry–Esseen bounds for multivariate nonlinear statistics with applications to Mestimators and stochastic gradient descent algorithms”. To appear in Bernoulli.
-
Q.–M. Shao, M. Zhang and Z.–S. Zhang. (2021), “Cramér–type moderate deviations for nonnormal approximation”. Ann. Appl. Probab. Vol. 31, 247–283.
-
Q.–M. Shao and Z.–S. Zhang. (2019). “Berry–Esseen bounds of normal and nonnormal approximation for unbounded exchangeable pairs”, Ann. Probab., vol. 47, 61–108.
-
Q.–M. Shao and Z.–S. Zhang. (2016). “Identifying the limiting distribution by a general approach of Stein’s method”, Sci. China Math., vol. 59, 2379–2392.


Most of the screen transitions that happen in our apps falls into this categories:
And while this is enough for most of the work we need to do, there are some edge cases where we might want to adopt a less “native” and more custom solution.
Fortunately for us, UIKit provides exactly the right tools for the job.
As always, we don’t have to go too far from the official documentation (View Controller Programming Guide), more in detail, we’re looking for Creating Custom Presentations. This guides are in the documentation archive and with Objective-C examples, but they’re still the best content you’ll find out there.
Reading the guide will reveal a few interesting points. When a view controller is about to be presented, UIKit does the following:
presentationControllerForPresentedViewController
method of the transitioning delegate to retrieve your custom presentation controller.presentationTransitionWillBegin
method.containerViewWillLayoutSubviews
and containerViewDidLayoutSubviews
methods of your presentation controller so that you can adjust the layout of your custom views as needed.presentationTransitionDidEnd
: method when the transition animations finish.So we have a few points where we can operate and change both the animation and presentation styles.
Let’s say we were to upload a file to our servers and we wanted to notify the user once the operation is completed:
func upload(file: File, using uploader: FileUploader) {
uploader.send(file, then: {
let banner = Banner(message: "File successfully uploaded ✅")
self.present(banner, animated: true)
})
}
Now this would present our banner full-screen modally, but we might want to make it look like a banner on the bottom of the screen, so that it is less invasive.
We’ll focus on a custom presentation, while using the default transition from the bottom.
First thing, let’s create our custom presentation controller:
class BannerPresentationController: UIPresentationController {
override var frameOfPresentedViewInContainerView: CGRect {
//here we should compute the frame for the presented banner
}
override func containerViewDidLayoutSubviews() {
super.containerViewDidLayoutSubviews()
presentedView?.frame = frameOfPresentedViewInContainerView
}
override func presentationTransitionWillBegin() {
super.presentationTransitionWillBegin()
presentedView?.layer.cornerRadius = 12
}
}
The key here is the frameOfPresentedViewInContainerView
property, which we’ll use to calculate the appropriate size for the banner.
We should take into account the safe area and calculate the required height given a fixed width (the screen width minus the insets).
The tool for the job is the UIView.systemLayoutSizeFitting
method, which calculates the required size for a view, based on its constraints or intrinsic content size.
Our implementation should look something like this:
override var frameOfPresentedViewInContainerView: CGRect {
let safeBounds = containerView.bounds.inset(by: containerView.safeAreaInsets)
let inset: CGFloat = 16
let targetWidth = safeBounds.width - 2*16
let targetSize = CGSize(
width: targetWidth,
height: UIView.layoutFittingCompressedSize.height
)
let targetHeight = presentedView.systemLayoutSizeFitting(targetSize, withHorizontalFittingPriority: .required, verticalFittingPriority: .defaultLow).height
return CGRect(x: inset, y: yPosition, width: targetWidth, height: targetHeight)
}
Now all we need to do is to assign out brand new BannerPresentationController
as the presentation controller for our Banner
:
extension Banner: UIViewControllerTransitioningDelegate {
func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
return BannerPresentationController(presentedViewController: presented, presenting: presenting)
}
}
//when presenting the banner
banner.transitioningDelegate = banner
And specify a custom presentation style:
banner.modalPresentationStyle = .custom
And the result will be this:
Despite being very far from the latest trends in UI development like reactive concepts, UIKit has shown that it is a powerful framework with multiple customization points.
There’s a lot more that can be done, like changing the presentation animations and timing, but we’ll save it for a future article.
Hope you liked this little experiment 😊


WELCOME
to the BCS Webapp!
Please provide the information below for a new employee!
Journeyman
Apprentice
Create New Employee
Back to Login


Content trust in Docker
Estimated reading time: 13 minutesWhen transferring data among networked systems, trust is a central concern. In particular, when communicating over an untrusted medium such as the internet, it is critical to ensure the integrity and the publisher of all the data a system operates on. You use the Docker Engine to push and pull images (data) to a public or private registry. Content trust gives you the ability to verify both the integrity and the publisher of all the data received from a registry over any channel.
About Docker Content Trust (DCT)
Docker Content Trust (DCT) provides the ability to use digital signatures for data sent to and received from remote Docker registries. These signatures allow client-side or runtime verification of the integrity and publisher of specific image tags.
Through DCT, image publishers can sign their images and image consumers can ensure that the images they use are signed. Publishers could be individuals or organizations manually signing their content or automated software supply chains signing content as part of their release process.
Image tags and DCT
An individual image record has the following identifier:
[REGISTRY_HOST[:REGISTRY_PORT]/]REPOSITORY[:TAG]
A particular image REPOSITORY
can have multiple tags. For example, latest
and
3.1.2
are both tags on the mongo
image. An image publisher can build an image
and tag combination many times changing the image with each build.
DCT is associated with the TAG
portion of an image. Each image repository has
a set of keys that image publishers use to sign an image tag. Image publishers
have discretion on which tags they sign.
An image repository can contain an image with one tag that is signed and another
tag that is not. For example, consider the Mongo image
repository. The latest
tag could be unsigned while the 3.1.6
tag could be signed. It is the
responsibility of the image publisher to decide if an image tag is signed or
not. In this representation, some image tags are signed, others are not:
Publishers can choose to sign a specific tag or not. As a result, the content of
an unsigned tag and that of a signed tag with the same name may not match. For
example, a publisher can push a tagged image someimage:latest
and sign it.
Later, the same publisher can push an unsigned someimage:latest
image. This second
push replaces the last unsigned tag latest
but does not affect the signed latest
version.
The ability to choose which tags they can sign, allows publishers to iterate over
the unsigned version of an image before officially signing it.
Image consumers can enable DCT to ensure that images they use were signed. If a consumer enables DCT, they can only pull, run, or build with trusted images. Enabling DCT is a bit like applying a “filter” to your registry. Consumers “see” only signed image tags and the less desirable, unsigned image tags are “invisible” to them.
To the consumer who has not enabled DCT, nothing about how they work with Docker images changes. Every image is visible regardless of whether it is signed or not.
Docker Content Trust Keys
Trust for an image tag is managed through the use of signing keys. A key set is created when an operation using DCT is first invoked. A key set consists of the following classes of keys:
- an offline key that is the root of DCT for an image tag
- repository or tagging keys that sign tags
- server-managed keys such as the timestamp key, which provides freshness security guarantees for your repository
The following image depicts the various signing keys and their relationships:
WARNING: Loss of the root key is very difficult to recover from. Correcting this loss requires intervention from Docker Support to reset the repository state. This loss also requires manual intervention from every consumer that used a signed tag from this repository prior to the loss.
You should back up the root key somewhere safe. Given that it is only required to create new repositories, it is a good idea to store it offline in hardware. For details on securing, and backing up your keys, make sure you read how to manage keys for DCT.
Signing Images with Docker Content Trust
Note: This applies to Docker Community Engine 17.12 and newer, and Docker Enterprise Engine 18.03 and newer.
Within the Docker CLI we can sign and push a container image with the
$ docker trust
command syntax. This is built on top of the Notary feature
set, more information on Notary can be found here.
A prerequisite for signing an image is a Docker Registry with a Notary server attached (Such as the Docker Hub or Docker Trusted Registry). Instructions for standing up a self-hosted environment can be found here.
To sign a Docker Image you will need a delegation key pair. These keys
can be generated locally using $ docker trust key generate
, generated
by a certificate authority, or if you are using Docker Enterprise’s
Universal Control Plane (UCP), a user’s Client Bundle provides adequate keys for a
delegation. Find more information on Delegation Keys
here.
First we will add the delegation private key to the local Docker trust
repository. (By default this is stored in ~/.docker/trust/
). If you are
generating delegation keys with $ docker trust key generate
, the private key
is automatically added to the local trust store. If you are importing a separate
key, such as one from a UCP Client Bundle you will need to use the
$ docker trust key load
command.
$ docker trust key generate jeff
Generating key for jeff...
Enter passphrase for new jeff key with ID 9deed25:
Repeat passphrase for new jeff key with ID 9deed25:
Successfully generated and loaded private key. Corresponding public key available: /home/ubuntu/Documents/mytrustdir/jeff.pub
Or if you have an existing key:
$ docker trust key load key.pem --name jeff
Loading key from "key.pem"...
Enter passphrase for new jeff key with ID 8ae710e:
Repeat passphrase for new jeff key with ID 8ae710e:
Successfully imported key from key.pem
Next we will need to add the delegation public key to the Notary server; this is specific to a particular image repository in Notary known as a Global Unique Name (GUN). If this is the first time you are adding a delegation to that repository, this command will also initiate the repository, using a local Notary canonical root key. To understand more about initiating a repository, and the role of delegations, head to delegations for content trust.
$ docker trust signer add --key cert.pem jeff dtr.example.com/admin/demo
Adding signer "jeff" to dtr.example.com/admin/demo...
Enter passphrase for new repository key with ID 10b5e94:
Finally, we will use the delegation private key to sign a particular tag and push it up to the registry.
$ docker trust sign dtr.example.com/admin/demo:1
Signing and pushing trust data for local image dtr.example.com/admin/demo:1, may overwrite remote trust data
The push refers to repository [dtr.example.com/admin/demo]
7bff100f35cb: Pushed
1: digest: sha256:3d2e482b82608d153a374df3357c0291589a61cc194ec4a9ca2381073a17f58e size: 528
Signing and pushing trust metadata
Enter passphrase for signer key with ID 8ae710e:
Successfully signed dtr.example.com/admin/demo:1
Alternatively, once the keys have been imported an image can be pushed with the
$ docker push
command, by exporting the DCT environmental variable.
$ export DOCKER_CONTENT_TRUST=1
$ docker push dtr.example.com/admin/demo:1
The push refers to repository [dtr.example.com/admin/demo:1]
7bff100f35cb: Pushed
1: digest: sha256:3d2e482b82608d153a374df3357c0291589a61cc194ec4a9ca2381073a17f58e size: 528
Signing and pushing trust metadata
Enter passphrase for signer key with ID 8ae710e:
Successfully signed dtr.example.com/admin/demo:1
Remote trust data for a tag or a repository can be viewed by the
$ docker trust inspect
command:
$ docker trust inspect --pretty dtr.example.com/admin/demo:1
Signatures for dtr.example.com/admin/demo:1
SIGNED TAG DIGEST SIGNERS
1 3d2e482b82608d153a374df3357c0291589a61cc194ec4a9ca2381073a17f58e jeff
List of signers and their keys for dtr.example.com/admin/demo:1
SIGNER KEYS
jeff 8ae710e3ba82
Administrative keys for dtr.example.com/admin/demo:1
Repository Key: 10b5e94c916a0977471cc08fa56c1a5679819b2005ba6a257aa78ce76d3a1e27
Root Key: 84ca6e4416416d78c4597e754f38517bea95ab427e5f95871f90d460573071fc
Remote Trust data for a tag can be removed by the $ docker trust revoke
command:
$ docker trust revoke dtr.example.com/admin/demo:1
Enter passphrase for signer key with ID 8ae710e:
Successfully deleted signature for dtr.example.com/admin/demo:1
Runtime Enforcement with Docker Content Trust
Note: This only applies to Docker Enterprise Engine 18.09 or newer. This implementation is also separate from the
only run signed images
feature of Universal Control Plane
Docker Content Trust within the Docker Enterprise Engine prevents a user from using a container image from an unknown source, it will also prevent a user from building a container image from a base layer from an unknown source. Trusted sources could include Official Docker Images, found on the Docker Hub, or User trusted sources, with repositories and tags signed with the commands above.
Engine Signature Verification prevents the following:
$ docker container run
of an unsigned or altered image.$ docker pull
of an unsigned or altered image.$ docker build
where theFROM
image is not signed or is not scratch.
Note: The implicit pulls and runs performed by worker nodes for a Swarm service on
$ docker service create
and$ docker service update
are also verified. Tag resolution of services requires that all nodes in the Swarm including managers have content trust enabled and similarly configured.
DCT does not verify that a running container’s filesystem has not been altered from what was in the image. For example, it does not prevent a container from writing to the filesystem, once the container is running, nor does it prevent the container’s filesystem from being altered on disk. DCT will also not prevent unsigned images from being imported, loaded, or created.
Enabling DCT within the Docker Enterprise Engine
DCT is controlled by the Docker Engine’s configuration file. By default this is
found at /etc/docker/daemon.json
. More details on this file can be found
here.
Note: This configuration can be set on Linux machines only.
The content-trust
flag is based around a mode
variable instructing
the engine whether to enforce signed images, and a trust-pinning
variable
instructing the engine which sources to trust.
Mode
can take three variables:
Disabled
- Verification is not active and the remainder of the content-trust related metadata will be ignored. This is the default value ifmode
is not specified.Permissive
- Verification will be performed, but only failures will be logged and remain unenforced. This configuration is intended for testing of changes related to content-trust. The results of the signature verification is displayed in the Docker Engine’s daemon logs.Enforced
- Content trust will be enforced and an image that cannot be verified successfully will not be pulled or run.
{
"content-trust": {
"mode": "enforced"
}
}
Official Docker images
All official Docker library images found on the Docker Hub (docker.io/library/*) are signed by the same Notary root key. This root key’s ID has been embedded inside of the Docker Enterprise Engine. Therefore, to enforce that, only official Docker images can be used. Specify:
{
"content-trust": {
"trust-pinning": {
"official-library-images": true
},
"mode": "enforced"
}
}
User-Signed images
There are two options for trust pinning user-signed images:
- Notary Canonical Root Key ID (DCT Root Key) is an ID that describes just the
root key used to sign a repository (or rather its respective keys). This is the
root key on the host that originally signed the repository (i.e. your workstation).
This can be retrieved from the workstation that signed the repository through
$ grep -r "root" ~/.docker/trust/private/
(Assuming your trust data is at~/.docker/trust/*
). It is expected that this canonical ID has initiated multiple image repositories (mydtr/user1/image1
andmydtr/user1/image2
).
# Retrieving Root ID
$ grep -r "root" ~/.docker/trust/private
/home/ubuntu/.docker/trust/private/0b6101527b2ac766702e4b40aa2391805b70e5031c04714c748f914e89014403.key:role: root
# Using a Canonical ID that has signed 2 repos (mydtr/user1/repo1 and mydtr/user1/repo2). Note you can use a Wildcard.
{
"content-trust": {
"trust-pinning": {
"root-keys": {
"mydtr/user1/*": [
"0b6101527b2ac766702e4b40aa2391805b70e5031c04714c748f914e89014403"
]
}
},
"mode": "enforced"
}
}
- Notary Root key ID (DCT Certificate ID) is an ID that describes the same, but
the ID is unique per repository. For example,
mydtr/user1/image1
andmydtr/usr1/image2
will have unique certificate IDs. A certificate ID can be retrieved through a$ docker trust inspect
command and is labelled as a root-key (referring back to the Notary key name). This is designed for when different users are signing their own repositories, for example, when there is no central signing server. As a cert-id is more granular, it would take priority if a conflict occurs over a root ID.
# Retrieving Cert ID
$ docker trust inspect mydtr/user1/repo1 | jq -r '.[].AdministrativeKeys[] | select(.Name=="Root") | .Keys[].ID'
9430d6e31e3b3e240957a1b62bbc2d436aafa33726d0fcb50addbf7e2dfa2168
# Using Cert Ids, by specifying 2 repositories by their DCT root ID. Example for using this may be different DTRs or maybe because the repository was initiated on different hosts, therefore having different canonical IDs.
{
"content-trust": {
"trust-pinning": {
"cert-ids": {
"mydtr/user1/repo1": [
"9430d6e31e3b3e240957a1b62bbc2d436aafa33726d0fcb50addbf7e2dfa2168"
],
"mydtr/user2/repo1": [
"544cf09f294860f9d5bc953ad80b386063357fd206b37b541bb2c54166f38d08"
]
}
},
"mode": "enforced"
}
}
Using DCT in an offline environment
If your engine is unable to communicate to the registry, we can enable DCT to
trust cached signature data. This is done through the
allow-expired-cached-trust-data
variable.
{
"content-trust": {
"trust-pinning": {
"official-library-images": true,
"root-keys": {
"mydtr/user1/*": [
"0b6101527b2ac766702e4b40aa2391805b70e5031c04714c748f914e89014403"
]
},
"cert-ids": {
"mydtr/user2/repo1": [
"9430d6e31e3b3e240957a1b62bbc2d436aafa33726d0fcb50addbf7e2dfa2168"
],
}
},
"mode": "enforced",
"allow-expired-cached-trust-data": true
}
}
Client Enforcement with Docker Content Trust
Note this is supported on Docker Community and Enterprise Engines newer than 17.03.
Currently, content trust is disabled by default in the Docker Client. To enable
it, set the DOCKER_CONTENT_TRUST
environment variable to 1
. This prevents
users from working with tagged images unless they contain a signature.
When DCT is enabled in the Docker client, docker
CLI commands that operate on
tagged images must either have content signatures or explicit content hashes.
The commands that operate with DCT are:
push
build
create
pull
run
For example, with DCT enabled a docker pull someimage:latest
only
succeeds if someimage:latest
is signed. However, an operation with an explicit
content hash always succeeds as long as the hash exists:
$ docker pull dtr.example.com/user/image:1
Error: remote trust data does not exist for dtr.example.com/user/image: dtr.example.com does not have trust data for dtr.example.com/user/image
$ docker pull dtr.example.com/user/image@sha256:d149ab53f8718e987c3a3024bb8aa0e2caadf6c0328f1d9d850b2a2a67f2819a
sha256:ee7491c9c31db1ffb7673d91e9fac5d6354a89d0e97408567e09df069a1687c1: Pulling from user/image
ff3a5c916c92: Pull complete
a59a168caba3: Pull complete
Digest: sha256:ee7491c9c31db1ffb7673d91e9fac5d6354a89d0e97408567e09df069a1687c1
Status: Downloaded newer image for dtr.example.com/user/image@sha256:ee7491c9c31db1ffb7673d91e9fac5d6354a89d0e97408567e09df069a1687c1
Related information
- Delegations for content trust
- Automation with content trust
- Manage keys for content trust
- Play in a content trust sandbox


| DOSE: |
20 mg |
oral |
2C-I |
(capsule) |
My friend Kerry, an experienced tripper, treated me to 2C-I. I am pretty inexperienced and basically a teetotaler when it comes to drugs – I’ve done LSD a few times, mushrooms once, a few times on Ecstasy. This was my first hallucinogenic experience in more than 20 years and I really didn’t know what to expect, but I trusted K to make sure my first trip was safe and happy.
We prepared for the evening by eating lightly (he had only an organic milkshake for dinner; I ate some vegan spring rolls and a smoothie.) K explained that I wanted my stomach and intestines to be empty but I also wanted to have energy since we wouldn't be eating again for a day.
Setting:
We made plans to go to an electronic/trance music concert in costume. The event was a perfect setting for this experience – everyone was dressed in metallic fairy costumes, there were fabulous laser-like intelligent lights that pulsed with the music, and the decorations included hundreds of helium balloons adorned with glowing light sticks and lots of twinkly, shiny, shimmery things. As I walked into the room, I remarked that it was like an indoor Burning Man camp filled with faeries and wood creatures and twinkling Christmas trees in fake snow.
Starting:
We each swallowed 20 mg. of powder in a vegetarian gelcap – washed down with water. The trip started to come on faster than we expected, very Ecstasy like at first, but with a loss of coordination -- within 30 minutes I was struggling to put my costume on. I felt a little silly and giddy and clumsy. It was getting difficult to do simple things like tie a knot, (or for that matter, go to the bathroom without drowning my costume in the toilet!) and I started to realize that my towering platform shoes might be a little dangerous on this! By the time we walked into the show, I was getting a little nauseous and queasy. (K said this was from looking at all the lights and moving objects – I found it overwhelming, all the motion was making me seasick. I could control the nausea by focusing on something that was still or by not dancing.)
The band was starting to play and trip was in full force. Wow! It came on a little speedy, but there was no sense of warmth, and in fact, whatever temperature in the room was amplified and exaggerated – cold or hot.
“Hey, who turned the lights up?” I asked K. He said it was just my eyes dilating and taking in more light. Wow, it seemed like the room was suddenly lit with bright sunlight or TV camera lights.
The music was intensified both melodically and in bass, and visuals were amazing – better I’d say than what I’ve experienced on LSD because they were realistic and completely controllable. Definitely much more controllable than a mushroom trip and nothing was melting or scary – most of the visuals were amusing, light and cartoon like.
Every sense was exaggerated – but only one sense at a time. For example, if I focused on the music, it was amplified and distorted in a very delightful way. If I focused on lights or the little dots on the floor cast by the mirror ball, they were luminous and shimmering. If I touched someone every bump was amplified (I didn’t find touch nearly as appealing on 2C-I as it is on Ecstasy, and didn’t find it at all erotic either.) If something started to get distorted or scary all I had to do was stop focusing on it and look at something else and the hallucination would end. It was like I had an on off switch to control the experience.
We went to another room and got a drink of water from the fountain. It tasted fine. But when I poured it into a plastic cup, I could taste a horrible plastic taste. Later, someone burst a balloon and we could smell the helium and sulfur for what seemed like several minutes. When we tasted some fruit we could taste all the pesticides and chemicals. We remarked that the strawberries were pumped up with steroids and they seemed laughably and grotesquely oversized. Corn chips were perceived more as texture than taste (cardboardy) and the only food that seemed appealing at all was pineapple, which was intensely sweet and cool. Food wasn’t appealing at all on 2 C I, but amazingly we had an appetite, which is rare on a psychedelic. And boy, if someone had bad body odor or was drinking – I could smell it from several feet away.
I always felt in touch with my mind and never completely lost touch with reality. K and I carried on an animated conversation with surprising depth and clarity. If I started to trip on, say, watching the light show or staring at an amazing crystal necklace, I could just say: ”Ok, I’m going to talk now” and the hallucination would stop. Whatever was in the center of my vision would be transformed – but everything else in the room remained normal. It was like a trippy lens I could focus on things – I compared it to a Photoshop filter. Lights were intensified in a magical way and sound was rich and enveloping.
After a few hours, the visuals changed and got a little scary. I saw my friend K’s face morphing into an old man, and any imperfection in someone’s face was amplified and distorted – red splotches were really red, lines deeply etched, pimples were huge, bags under the eyes were swollen and black. I noticed that objects were starting to “breathe” and pulse. But strangely, only the object I focused on in the center of my vision would breathe – everything else stayed normal.
I started to get tired and wanted to sit down. At this point, closed eye visuals were very entertaining – and I found that I could “see” the music. The visuals were very much like Huichol Indian patterns, fractals or Alex Gray paintings – ranging from black and white to what I’d describe as Mc Escher images in full color (bright fluorescent rainbow colors in a limited palette with few gradations.) The images were moving in sync with the music – but I couldn’t tell if they were following the beat or the melody.
As soon as I opened my eyes, the visuals would disappear. It's very interesting how the '2 C I' brought up intense visuals and superficial visuals and deep thoughts as well as critical/cynical/hilarious/giddy thoughts. I said to K that I would remember it as Too See Eye – the most visual of the 2Cs.
Sometimes I had a sense of connectedness and euphoria similar to Ecstasy, but sometimes biting cynicism and a bit of paranoia crept in. I found myself frequently annoyed by people in my space -- especially the drunks and the people spilling beer on me and stepping on my toes. I tried not to be critical, but I was feeling a little snotty – not all lovey dovey the way I would be on Ecstasy. K and I remarked how obvious the drunken people were – we could immediately sense who was on alcohol as if 2 C I was a drunk filter. It also had a “truth serum” effect, making conversations very honest and usually charming, but not necessarily accepting or tactful, I’d say rather blunt.
I found K’s sense of humor absurd and hilarious on 2 C I and was having fun just watching him prance around the room and dance. We were very social on this hallucinogen and able to hold superficial, chatty conversations with strangers without any difficulty, though I didn’t find it all that great for dancing and it made me feel a little goofy and uncoordinated.
 We were both definitely very childlike and giddy.
I didn't feel like hugging the world or get that sense of everything is beautiful--a little reclusive. Maybe it was the set/setting and not the substance? Perhaps I would have felt very differently at a different event where alcohol wasn’t being served – or maybe I needed to be outside in nature and not confined in a room.
T +5:00 …
As soon as the music ended, the I wore off too. It was like “wham!” Comedown! It wasn’t a gradual descent at all but more of a feeling of Cinderella waking up at midnight and discovering the coach was really a pumpkin and the coachmen were rats. K came down at exactly the same time and told me that everyone comes down at the same time on this drug and that I have to re-dose immediately if I want to prolong it.
Suddenly the light show was banal and ordinary, and it seemed like someone turned down the volume on the music. The room was abruptly much darker as if someone turned down the lights. I started noticing all the trash on the floor and the spilled beer. The magic was over.
[Erowid Note: Driving while intoxicated or tripping is dangerous and irresponsible because it endangers other people. Don't do it!]
We drove home (K to my amazement was able to drive and “track” lanes perfectly, and he was in control, though I felt too tired to drive at this point myself). We noticed that a driver in the next lane was probably intoxicated with alcohol and she was weaving to the right of the lane, practically off the road. It’s weird to me how this drug seems to make it so easy to spot the alcoholics and how I could turn the trip off completely when I needed to function.
The house was extremely cold and it seemed claustrophobic when we arrived. I still saw things “breathing” and moving – and it was strange to see familiar paintings in my house starting to move as if they were animated cartoons.
K and I slept surprisingly well, but I had to get up and pee several times and was really thirsty. When we woke up, we both felt a little foggy – nowhere near as rotten as I’d feel after say, drinking three drinks of alcohol (which would usually give me a raging hangover/headache) but a little burnt. My eyes were crispy and sore and my joints were a little stiff and achy. No jaw tension, and no breakouts or pimples, but my face, to me, looked a little haggard and tired.
We spent the day lingering in bed and were incredibly talkative and giddy. Rather than being deep and introspective and emotional (as we would be on Ecstasy) K was more intellectual in a light and funny way, with absurd Robin Williams-like, manic humor. I wasn’t feeling especially sexual, but we made love and it was also giddy and fun. K had no problem at all getting or maintaining an erection though I wasn't as aroused as I would usually be.
We showered and went to dinner and wow, as soon as we had some miso soup and a bottle of mineral water we were back to normal. I guess it was just low blood sugar and dehydration. K drank an entire liter and a half of water. We ate some wonderful sushi and remarked at how clear and bright our vision was, though I was still feeling some “dancing” or weaving of objects if I really focused on them.
I had a little trouble driving (still a bit disoriented 24 hours later) and couldn’t get to sleep. My eyes feel 'fried'. Wondering if this is from staring so intensely at bright lights for 6 hours last night? Or maybe just from wearing my contact lenses so long.
I don't have that spiritual afterglow/Euphoria that I felt after Ecstasy and I feel at a loss for hiding the euphoria I would have felt with this other feeling, which is more withdrawn and critical and less optimistic/empathic/emotional.
Late that night, my vision is very bright but things are still waving sometimes when I try to focus. Sometimes I am seeing sort of a vertical notched pattern that is overlaid on flat surfaces and 'floaters' in my eyes. It's a little difficult to stay focused on the computer screen even though it is very clear and crisp. Hoping this feeling and a sort of mental fog will pass when I wake up tomorrow and eat a ton of vitamins. Music still sounds unusually great now.
K didn't have any problems getting to sleep and slept really soundly. K said he felt really rested and in a great mood when he woke up.
I slept like a rock too--very dreamy. Woke up incredibly sexually charged and wishing I had someone to share this feeling with. Very energetic the next day and getting a lot of practical work done, but a little melancholy and negative – not the optimistic euphoria I would feel for the next three days after doing ecstasy.
In summary:
K remarked that this experience made him reconsider 2 C I’s potential to be deeper than he previously thought. K described it first as a “trivial” hallucinogen and I’d have to agree, it’s not going to make me examine my life in depth and it won’t change me the way LSD might – but it’s not a superficial party drug either.
This drug seems to be simultaneously intense and light, introspective and giddy. I think of it as a selective hallucinogen – it can be whatever I want it to be. If I want to see visuals, I can see visuals. If I want to focus on aural hallucinations, it’s aural. If I want to be deep, I can be profound. Whatever I choose to focus on becomes amplified or even distorted, but as soon as I decide to go back to “normal” I’m there. I am always in control of the experience – which is very different, I’d say, than trips I had on LSD or psilocybin.
Would I do it again? Probably not (I like Esctasy and low doses of LSD much better).
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


| Release Doc > Examples > Simple Examples > ObjectSpace > Data Validation | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Data Validation | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Launch Delphi-example |
Launch CBuilder-example
This example illustrates how constraints in the model may be used to validate the
consistency of an object. The participating classes and their constraints are:
The example enforces constraints to be valid when an object is updated by overriding
the The little red/green sphere in the left column in the grids is turned on with the property BoldShowConstraints on the grid, and indicates that the objct has/has not any broken constraints. The GUI continuously presents the broken constraints on the objects in the lower grid. Note! Please make sure to use the "Create DB & Alias" button before attempting to open the system for the first time. Once the database and alias is established you only have to use the "Open system" button when running the example program. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| All material $(COPYRIGHT_TEXT). Registered Trademarks and other trademarks are properties of their respective holders. |


Shawn Mendes and Billie Eilish win big while Ariana Grande gets snubbed at MTV Europe Music Awards 2019
Seville - Billie Eilish won best newcomer and best song for Bad Guy at the MTV Europe Music Awards on Sunday, while Ariana Grande failed to bag any of her seven nominations.
Taylor Swift won best video for ME! and Canadian singer Shawn Mendes took home best artist at the star-studded evening in Seville, Spain that also gave a special "Rock Icon" award to Oasis frontman Liam Gallagher and saw Korean boy band sensation BTS take home three gongs.
"Hi MTV EMA, I want to say thank you so much for winning the best song, I love you," 17-year old Eilish said in a pre-recorded video.
The American singer became the first artist born in the 2000s to top the Billboard 200 in the US last August with her breakout album When We All Fall Asleep, Where Do We Go?.
Ahead of the glitzy bash, football superstar Cristiano Ronaldo paraded on the red carpet in a red suit and white trainers with his girlfriend, model Georgina Rodriguez.
SEE A PHOTO OF THAT HERE:
The MTV Europe Music Awards are one of two main events organised by the American music channel, alongside the prestigious Video Music Awards in the US that have been held annually since 1984.
SEE THE FULL LIST OF WINNERS HERE.
Compiled by Alex Isaacs
Photo: Getty Images


|
Herbrand Equivalence
LLVM implementation of Herbrand Equivalence algorithm mentioned at https://arxiv.org/abs/1708.04976
|
Class that combines std::map with std::vector for integer indexing of objects and also reverse mapping. More...
#include <MapVector.h>
Public Types | |
| using | value_type = T |
| using | reference = T & |
| using | const_reference = const T & |
| using | map_type = typename std::map< value_type, int > |
| using | vector_type = typename std::vector< value_type > |
| using | iterator = typename vector_type::const_iterator |
| using | const_iterator = typename vector_type::const_iterator |
| using | reverse_iterator = typename vector_type::const_reverse_iterator |
| using | const_reverse_iterator = typename vector_type::const_reverse_iterator |
| using | size_type = typename vector_type::size_type |
Public Member Functions | |
| iterator | begin () |
| const_iterator | begin () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| iterator | end () |
| const_iterator | end () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| MapVector () | |
| Constructor for MapVector class. More... | |
| bool | empty () |
| Method to return whether the object is empty. More... | |
| size_type | size () |
| Method to return the size of the object - the number of distinct values added to the object. More... | |
| int | getInt (const_reference el) const |
| Method used for forward mapping. More... | |
| const_reference | operator[] (size_type n) const |
| The operator is overloaded for reverse mapping. The method checks for range overflows, raising exception. More... | |
| std::pair< int, bool > | insert (const_reference el) |
| Method to insert a new value. More... | |
| void | clear () |
| Method to clear the object. More... | |
Class that combines std::map with std::vector for integer indexing of objects and also reverse mapping.
| T | Any valid type for which std::map can be created |
Maps values of parameter type T to integers at the same time adding the value to a std::vector for reverse mapping. The class also provides various methods for ease of working with the objects.
Definition at line 29 of file MapVector.h.
| using MapVector< T >::const_iterator = typename vector_type::const_iterator |
Definition at line 41 of file MapVector.h.
| using MapVector< T >::const_reference = const T& |
Definition at line 37 of file MapVector.h.
| using MapVector< T >::const_reverse_iterator = typename vector_type::const_reverse_iterator |
Definition at line 43 of file MapVector.h.
Definition at line 40 of file MapVector.h.
| using MapVector< T >::map_type = typename std::map<value_type, int> |
Definition at line 38 of file MapVector.h.
Definition at line 34 of file MapVector.h.
| using MapVector< T >::reverse_iterator = typename vector_type::const_reverse_iterator |
Definition at line 42 of file MapVector.h.
Definition at line 44 of file MapVector.h.
| using MapVector< T >::value_type = T |
Definition at line 33 of file MapVector.h.
| using MapVector< T >::vector_type = typename std::vector<value_type> |
Definition at line 39 of file MapVector.h.
Constructor for MapVector class.
Definition at line 61 of file MapVector.h.
Definition at line 49 of file MapVector.h.
|
inline |
Definition at line 50 of file MapVector.h.
|
inline |
|
inline |
Method to return whether the object is empty.
Definition at line 69 of file MapVector.h.
Definition at line 53 of file MapVector.h.
|
inline |
Definition at line 54 of file MapVector.h.
|
inline |
Method used for forward mapping.
| el | Value of template type T to be forward mapped |
Definition at line 89 of file MapVector.h.
|
inline |
Method to insert a new value.
| el | The value to be inserted |
Definition at line 120 of file MapVector.h.
|
inline |
The operator is overloaded for reverse mapping. The method checks for range overflows, raising exception.
| n | The index to be reverse mapped |
Definition at line 105 of file MapVector.h.
|
inline |
Definition at line 51 of file MapVector.h.
|
inline |
Definition at line 52 of file MapVector.h.
|
inline |
Definition at line 55 of file MapVector.h.
|
inline |
Definition at line 56 of file MapVector.h.
Method to return the size of the object - the number of distinct values added to the object.
Definition at line 79 of file MapVector.h.


Israeli troops kill Palestinian teen at Gaza protest, Palestinians say
by Reuters1 / 2Relatives of a Palestinian teenager who was killed near the border fence, mourn at the hospital in the southern Gaza Strip
GAZA (Reuters) - Israeli soldiers shot and killed a Palestinian teenager near the border fence with the Gaza Strip on Friday, Palestinian officials said.
Israel's military said soldiers had been fending off Palestinians who had approached and tried to sabotage its security fence. The military also said the demonstrators threw a number of explosive devices.
Residents in Gaza said a few dozen Palestinians had approached the border fence, an area in which Israel's military, citing security concerns, enforces a "no go" zone. Some in the crowd hurled stones at the barrier, residents said.
One 16-year-old was killed and four other people were wounded by live fire, Gaza's health ministry said.
An Israeli army spokesman said soldiers had "identified a number of attempts to approach the fence as well as a number of attempts to sabotage it".
"Troops responded with riot dispersal means and 0.22 caliber rounds," the spokesman said. "A report regarding the death of a Palestinian is being looked into."
Israeli soldiers have been confronted by frequent Palestinian protests that often turn violent along the Gaza border. They have used tear gas, rubber bullets and live ammunition against demonstrators who the military said hurled rocks or petrol bombs at them.
The organisers of those protests said they had called off this week's mass-demonstration, but a smaller crowd still gathered.
Egypt, Qatar and the United Nations have been working to keep the border calm.
Gaza officials say about 210 Palestinians have been killed since the weekly protests began in March 2018. In that time an Israeli soldier was shot dead by a Palestinian sniper along the frontier and another was killed during an undercover raid into Gaza.
(Reporting by Nidal al-Mughrabi; Editing by Gareth Jones and Giles Elgood)


28+ Morsø 6143 With Log Storage Price Background. This oval column design with a large glass window and log storage at the bottom will spruce up any room. Employing a refined and timeless design idiom, this perfect design with its large glass door, concealed hinges and simple lines makes the morsø 6143 an original gem.
Morsø 6143 wood burning stove with log base. 605 likes · 53 talking about this · 4 were here. A wide variety of log storage sheds options are available to you, such as pressure treated wood type, feature, and application.
This oval column design with a large glass window and log storage at the bottom will spruce up any room.
You will not pay anything. Remember that picking the perfect laptop for you means considering other factors beyond the price. Top selected products and reviews. Jämför priser på morsø 6143.


Sorry! Since you're just a student, we can only let you control 2 pools at a time.
Feel free to delete an old pool, then come back here.
Sorry for the inconvenience, but we have our reasons. (We don't trust you)
Oops! That pool needs a name (Anonymous pools confuse us greatly)
Pool Name:
Import from MakerPass:
Group Size:
{{"Number of Students: " + numKeys(isStudent).length}}
{{"Number of Admins: " + numKeys(isAdmin).length}}
Pool Members
{{user.user.name}}
Oops! We can't create a pool without any students. Get people involved!


Today’s lesson is that writing systematic search terms is hard.
That is a bit of an oversimplification, which is the topic of this blog.
It has actually taken me two days to figure this out.
I have read a number of meta-analysis papers, have reproduced one and am currently embarking on my very own. The methods sections of these papers are usually very zen:
The search terms were set
"This phrase" AND (this word OR that)
Two hundred Retrieved
Naturally I totally bought this and excitedly started my search using the draft search strategy I had produced for my PRISMA statement. I soon found that it is not such a straight forward process. I was met with syntax inconsistencies, Python-like errors due to mismatched parentheses and quote-marks which were lost during copying and pasting, and vast differences in the number of papers retrieved using the same terms (between databases, and in one case within!1.
This was not nearly as clear cut as the literature would have me believe!
I started to think that this was due to a failure in planning on my part. I gave myself the benefit of the doubt and revisited a published meta-analysis. I copied and ran their search terms through some of the databases they queried (not all were available to me).
| Journals | Citations Retrived |
|---|---|
| ProQuest Nursing | 20135 |
| CINAHL | 53 |
| Zetoc | 0 |
| Web of Knowledge | 215 |
| Proquest Theses | 2731 |
| PsycArticles | 7 |
| PsycInfo | 153 |
| OVID Journals | 480 |
The authors reported finding just over 320 papers before selection.
Looking at the number of retrieved citations it looks as though the authors had a similar problem to me but just didn’t report it!
This isn’t a debunking attempt which is why I am not naming the paper which is very thorough with preferred reporting items provided and at least one replication/adaptation that I know of.
I also understand why the process of developing search terms isn’t described in detail in journals. It would be incredibly boring to read!
But in cases like ProQuest Nursing above there is a very low probability that the authors sifted through 20,000 entries.
Upon Reflection
In an unusual act of reflective practice I considered what steps I went through to develop my search terms over the past two days (and well into last night) to see if I could find some method in the madness.
They were broadly:
- Training Phase
- Refinement Phase
- Adaptation Phase
This is by no means something that I planned, but more of an attempt to understand a hazy and chaotic process in terms of a model.
Training
This was the primordial mash. It involved throwing in any relevant search terms including long complex terms with lots of phrases and brackets.
I found that through this process I learned what sort of terms and combinations of functions restrict the yield and open the flood gates letting any old nonsense through. I found that this gave me a good idea of the boundaries of my primary database, in this case Scopus, and let me make more informed choices in later iterations. Gradually the number and complexity of the terms reduced.
An example of one of my training searches is:
(TITLE-ABS-KEY ((avatar AND ("Proteus Effect" ) OR
(self AND avatar ) OR (virtual AND self OR doppelgänger )
OR ("Video game" OR video-game OR "Virtual reality" OR "Second life"
OR wii OR Kinect OR "Playstation Move" ) ) ) AND TITLE-ABS-KEY (health*
OR diet OR exercise OR alcohol OR "ultra violet" OR smoking OR sex*
OR substance OR addiction OR (body OR image OR dissatisfaction )
AND (behavio* AND (change OR intention OR attitude ) OR intervention ) )
AND NOT TITLE-ABS-KEY ("Stem Cell" OR bacter* OR phobi* OR anxiety
OR anxious OR psychiat* OR "mentalhealth" OR "e-mental health" OR rehabilitation ) )
Refinement
This involved trying to use fewer terms to get the best looking yield. By best looking I mean nothing absurdly small or obscenely large. I didn’t look at the titles of the papers much initially, but eventually started checking keywords to see if anything could be added to the terms. I tried to avoid using the AND NOT function as much as possible. I also took a look at some previous published search strategies to see what published ones look like and tried to adapt mine to be more succinct. An example was:
(TITLE-ABS-KEY (avatar OR "proteus effect" OR "virtual self-representation"
OR "virtual self-modelling" OR (avatar W/3 (self OR similar OR relevant)))
AND TITLE-ABS-KEY (health* OR "body image") AND TITLE-ABS-KEY (beliefs OR attitudes
OR prevent OR chang* OR intervention*))
Adaptation
Involved porting the search terms over to other databases. This is often just a matter of copying and pasting, but other times the syntax is different, for example searching for two words and allowing up 3 words between them in Scopus is achieved with Word_1 W/3 Word2. However, in PsycArticles this means that Word_1 must be before Word_2. You have to use N3 in PsychArticles, or NEAR/3 in Web of Science. Further, I found that a predominantly medical platform like PubMed retrieved more mental health articles so I needed to use the NOT statement e.g.:
(((Avatar OR "proteus effect" OR "virtual self-representation"
OR "virtual self-modelling" OR (avatar W/3 (self OR similar OR relevant))))
AND (Health* OR "body image")) AND (Beliefs OR attitudes OR prevent OR chang*
OR intervention*) NOT "Mental health"
Conclusion
In my mind as I reflected on several hours of grilling the databases, I started to see the process as being like the Bayesian warmup phase in HMC simulation. To begin with you are all over the place, you retrieve tens of thousands (in one case yesterday millions) of papers, the majority of which are entirely useless for your research question, and slowly drill down until you find the space you need to occupy to sample your data from (in this case studies).
I wanted to find a home for this experience before I start my write up and my method becomes haiku too.
It turned out to be a parentheses issue, but for a moment there….↩


Steem Activity
Created by
@jga
Account activity
Number of weeks:
Last week
Last 2 weeks
Last 3 weeks
Last 4 weeks
Activity of followers
Number of weeks:
Last week
Last 2 weeks
Last 3 weeks
Last 4 weeks
0
Followers


[gecode-users] Specifying QT's location before compiling Gecode
Luis Quesada
l.quesada at 4c.ucc.ie
Tue Apr 30 01:46:49 CEST 2013
On Mon, April 29, 2013 11:49 pm, Luis Quesada wrote:
> Dear all,
>
> I am using OS X 10.8 (with gcc version 4.2.1). I managed to build both QT
> 5.0.2 and Gecode 4.0 successfully. However, I am getting the following
> error when adding -lgecodegist:
>
> dyld: Library not loaded: QtGui.framework/Versions/4/QtGui
> Referenced from: /usr/local/lib/libgecodegist.33.dylib
> Reason: image not found
>
> I guess I need to specify where my QT is before building geocode, but I
> don't know how to do that.... I did went through Section 2.3.3, but maybe
> I am missing something.
Indeed I was missing this bit:
"After installing Qt, make sure that the qmake tool is in your shell path.
The Gecode configure script will then detect the presence of Qt and
automatically compile with support for Gist."
Everything is perfect now.
Cheers,
Luis
>I can compile examples that don't use Gist without
> any issue.
>
> Thanks in advance for your help!
>
> Cheers,
> Luis
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users
>
--
Luis Quesada
Research Scientist
Cork Constraint Computation Centre
University College Cork
Cork - Ireland
Phone: (+353) 21 420 5376
Fax: (+353) 21 420 5369
Web: http://4c.ucc.ie/~lquesada
More information about the users
mailing list


Man arrested in Walsall by counter terrorism police
A man has been arrested in Walsall by West Midlands Counter Terrorism Unit on suspicion of breaching his licence conditions.
by Dayna FarringtonThe 36-year-old was arrested from an address in the Walsall area earlier today.
A spokesman from West Midlands Police said: "The licence conditions are part of an order made under Part 4 of the Terrorism Act 2008 and Counter Terrorism and Border Security Act 2019 following his release from prison in June 2017, after being convicted of terrorism offences in August 2016."


{% extends 'base_email.html' %} {% block body %}
The {{ object.client.name }} team has just verified your relationship with them. Please continue to fill out your profile, to ensure that your skills and clients can be found by other companies seeking your services
Best,
{{ object.client.name }}
{% if object.email%}
{{ object.email }}
{% endif %}


DE-CODE
Introduction
If you are crazy about small controlling objects and believe that you can make the best of it.
If you can’t resist to know that how these small objects perform big tasks.
If you think your intelligence gets forward biased every time an electronic circuit is induced to you then this is the event for you.
Then this event is for you only.
Rules
It’s a three members team event, but one can participate alone too.
The result will be declared on the spot.
3 hours time limit.
Round 0 (Set yourself)
A question paper will be provided with multiple choice question.
Each question has some virtual money which will be given only if your answer is correct.
No elimination based on MCQ
Round 1 (Decoding the circuit)
A question will be given. You have to decode 3 circuits from the 3 problem set.
If you can decode it then the you can buy required components from your virtual money. Each component has a different cost.
If you can’t decode the circuit, such will be provided to you deducing fixed amount of virtual money.
Virtual money will be used to buy the components.
If a team is short of virtual money, they will have to mortgage virtual money.
Round 2 (Circuit Designing)
You have to design all 3 circuits.
Successful implementation of circuit will give virtual money.
Round 3 (Debug me)
A problem statement with an in-built circuit will be given to you.
That circuit will have some fault . You have to debug the circuit and make it work.
Judging Criteria
Team having the largest virtual amount at the end will win.
One must complete each round to proceed to next round.


You're about to hear brief stories of different people. At the end of each speech you will be asked to answer a few questions.
Take in mind that this is only aimed at raising your awareness. We won't collect any of your answers.
Click the button below to get started.


Target Database Schema
This should be the name of the schema with in the target system where you want to extract table definitions. You can use the special value **CURRENT_SCHEMA**, and the tool will calculation your current default schema (and display it in the next field). This option can be useful when working with HDI containers in particular since you wouldn't know the generated schema but the HDI container connnection will default to the correct schema.
You can also set the value to *, and the value help will display all tables.


Brief
Create a pattern from a geometric shape used in a logo and use that pattern in a dgital website take-over.
The Patterns
I chose to use the HSBC logo to create patterns using the red triangle. I created these patterns with different rules and then using those rules to accumulate the triangles
The AR
I decided to create interactive AR targeted to instagram using the patterns I had created.


|
QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.30
|
Tree approximating a single-factor diffusion More...
#include <ql/methods/lattices/tree.hpp>
Public Member Functions | |
| Tree (Size columns) | |
| Size | columns () const |
Private Attributes | |
| Size | columns_ |
Additional Inherited Members | |
| Protected Member Functions inherited from CuriouslyRecurringTemplate< T > | |
| CuriouslyRecurringTemplate ()=default | |
| ~CuriouslyRecurringTemplate ()=default | |
| T & | impl () |
| const T & | impl () const |
Tree approximating a single-factor diffusion
Derived classes must implement the following interface:
and provide a public enumeration
where N is a suitable constant (2 for binomial, 3 for trinomial...)


| Nested Modules |
| accessibility |
UNO Accessibility API
|
| animations |
|
| auth |
security and authenticates interfaces |
| awt |
Java AWT-like user interface toolkit interface specifications for UNO. |
| beans |
Java beans-like property access and introspection. |
| bridge |
Interfaces for building bridges to other component models. |
| chart |
Charting diagram interfaces. |
| chart2 |
New implementation of Charting diagram interfaces. This module
contains only a rather small public API. In addition there is a
private API in the chart2 project.
|
| configuration |
Access to the tree of configuration data. |
| connection |
Data exchange interfaces for inter-process communication. |
| container |
Interfaces for collections and containers. |
| corba |
Modules for IOP, IIOP and GIOP. |
| datatransfer |
Clipboard and Drag&Drop interfaces. |
| deployment |
|
| document |
Office document related interfaces. |
| drawing |
Drawing and shape specific interfaces. |
| embed |
|
| form |
Interfaces for managing forms and controls. |
| formula |
Interfaces for mathematical formulas. |
| frame |
Desktop environment framework interfaces. |
| gallery |
|
| geometry |
Interfaces and data types to deal with basic geometric entities |
| graphic |
Interfaces for graphic handling |
| i18n |
Interface for internationalization (deprecated draft). |
| image |
image manupulation interfaces. |
| inspection |
|
| installation |
Interfaces to control installations. |
| io |
General input/output interfaces. |
| java |
Java to UNO connectivity interfaces. |
| lang |
General UNO concepts like factories etc. |
| ldap |
lightweight directory access protocol (LDAP) |
| linguistic2 |
Spell checker, hyphenation and thesaurus interfaces. |
| loader |
Component implementation loader interfaces. |
| logging |
|
| mail |
Interfaces for Email connectivity |
| media |
Media type interfaces |
| mozilla |
Interfaces for Mozilla integration. |
| office |
Office document content related interfaces. |
| oooimprovement |
|
| packages |
Package file format interfaces. |
| pgp |
Pretty Good Privacy (deprecated). |
| plugin |
Netscape-like plugin interfaces. |
| presentation |
Presentation specific interfaces. |
| rdf |
RDF (Resource Description Framework) and metadata interfaces.
|
| reflection |
Runtime object inspection / core reflection interfaces. |
| registry |
Interfaces to access registration databases. |
| rendering |
Interfaces and data structures for rendering |
| report |
interfaces for report interfaces |
| resource |
Interfaces to access (UI) resource files. |
| scanner |
Interfaces for scanner control. |
| script |
Scripting language bindings. |
| sdb |
Basic interfaces for database access. |
| sdbc |
Database component interfaces. |
| sdbcx |
High-level database component interfaces. |
| security |
Interface for authorisation and authentification. |
| setup |
Interfaces to control the setup process. |
| sheet |
Spreadsheet specific interfaces. |
| smarttags |
|
| style |
Formatting and layout style and stylesheet interfaces. |
| svg |
Interfaces for import/export of Scaleable Vector Format. |
| sync |
Data synchronization interfaces (deprecated). |
| sync2 |
Data synchronization interfaces (deprecated). |
| system |
Host operating system integration interfaces. |
| table |
Table specific interfaces (for text and spreadsheet). |
| task |
Task management interfaces. |
| test |
Test interfaces for core-reflection, introspection and marshalling. |
| text |
Text specific interfaces. |
| ucb |
Universal Content Broker interfaces. |
| ui |
Dialogs and other UI elements. |
| uno |
Basic UNO interfaces. |
| uri |
URI processing. |
| util |
Miscellaneous interfaces for sorting, connecting objects etc. |
| view |
Document view specfic interfaces (e.g. selection access and printing). |
| xforms |
interfaces for XForms (XML-based forms) implementation |
| xml |
XML related interfaces. |
| xsd |
|
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


GROSSE POINTE BLANK A film review by Chuck Dowling Copyright 1997 Chuck Dowling
Grosse Pointe Blank (1997) ***1/2 out of ***** - Cast: John Cusack, Minnie Driver, Alan Arkin, Dan Aykroyd, Hank Azaria, Jeremy Piven, Joan Cusack. Written by: Tom Jankiewicz, D. V. DeVincentis, Steve Pink, and John Cusack. Directed by: George Armitage. Running Time: 106 minutes.
Director George Armitage's previous film, 1989's "Miami Blues", had a huge amount of potential which it only slightly capitalized on. "Grosse Pointe Blank" is exactly the same way.
Cusack plays hit-man Martin Q. Blank (honestly, why are hit-men in movies born with hit-man names? Why not Herbert Schmedling? Anyway, I digress...) He returns to his hometown to do a job, and it just so happens that his 10-year high school reunion is also the same weekend. He uses that as his cover, but also uses it as an opportunity to reunite with his former girlfriend (Driver), whom he dumped on prom night and then promptly vanished from town.
"Grosse Pointe Blank" is a funny movie, with many humorous lines, scenes, and ideas. However, the main flaw of this film is the romantic subplot, which unfortunately overcomes the real plot and by the end of the film has become the main story. Minnie Driver seems to be a competent actress, but not once did I ever believe that these two characters EVER knew each other in the past, let alone that they were ever romantically involved with each other. There is ZERO chemistry between the two, and each scene Cusack and Driver spend with each other brings the film to a grinding halt.
Alan Arkin, without a doubt one of my favorite actors, is on hand to play Martin's psychiatrist, who doesn't really want the job upon learning what Martin does for a living. His first scene is great, the second is brief, yet humorous. And his remaining appearances are too quick to be anything. The real surprise here is the return of Dan Aykroyd, who hasn't been funny in a movie since 1989's "Ghostbusters II", and there are even people who would argue with that, saying he hasn't been funny since a long time before. The supporting cast is equally fine, with Piven and Azaria as standouts.
"Grosse Pointe Blank" has all the makings of a great film. A great story, great cast, and great potential. But as I've stated it just falls short of "great" status. Cusack however, proves that he can carry a movie with ease. If this is even a minor success at the box office, combined with the money this summer's actioner "Con-Air" (which co-stars Cusack) is expected to bring in, he could very well find himself to be on the way to major stardom. Time will tell. [R]
--Chuck Dowling
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Get All Todos
Json will go here
Status :
get todos by status
Body :
get todos by body
Owner :
get todos by owner
Limit :
get todos by limit
Category :
get todos by category
Order By :
get todos in order


2-6, Low value
7-9, No value
10-Ace, High value
Counter: 0
Total cards counted: 0
Decks left in the game: 6
TC: 0
Advantage: -0.4%
Bet: 25
Made by Mr Kokain


Tamil Nadu tops solar capacity in third quarter, a report says
The report, by Mercom Capital Group, says the total installed power capacity in Tamil Nadu stood at 32.6 GW by the end of the third quarter of 2019
by Special CorrespondentTamil Nadu has emerged a top State in terms of solar capacity, with the commissioning of 946 MW of solar projects in July-September (third quarter) this year, according to report by Mercom Capital Group.
Tamil Nadu is followed by Rajasthan and Karnataka, the report said.
According to Mercom, the total installed power capacity in Tamil Nadu stood at 32.6 GW by the end of Q3 2019.
Thermal power had an installed capacity of 14.8 GW in the State, and renewables had an installed capacity of 16.3 GW, representing 50.1% of the total installed capacity, it said.
The total wind power installed capacity stood at 9.2 GW, followed by solar with 3.9 GW, hydropower with 2.2 GW and nuclear with 1.5 GW. Small hydro and other renewables had an installed capacity of 1.1 GW in the state, Mercom said.
Solar installations in India in Q3 2019 were at a total of 2,170 MW, a 44% increase compared to 1,510 MW installed in Q2 2019, the report said.


Sugar Smash
Hold The Line
Hot & Spicy
You win
Sweet
Game On!
Game Over
Get Ready
click here for more StageXL samples
click here to see the source code


To place trades using a subset of client accounts, create Account Groups in Trader Workstation and then define the InteractiveBrokersOrderProperties
when you create orders.
DefaultOrderProperties = new InteractiveBrokersOrderProperties { FaGroup = "TestGroupEQ", FaMethod = "EqualQuantity", Account = "DU123456" };
self.DefaultOrderProperties = InteractiveBrokersOrderProperties() self.DefaultOrderProperties.FaGroup = "TestGroupEQ" self.DefaultOrderProperties.FaMethod = "EqualQuantity" self.DefaultOrderProperties.Account = "DU123456"
SecurityHolding objects aggregate your positions across all the account groups. If you have two groups where group A has 10 shares of SPY and group B has -10 shares of SPY, then self.Portfolio["SPY"].Quantity
Portfolio["SPY"].Quantity
is zero.