For each of the supported archiving formats there is a
correspondig archiving
task. These tasks are
supersets of the
core tar
and zip
tasks but don't share any code with them. Note that some
attributes may use different defaults from the core tasks or some
functionality may be available in different ways than with the core
tasks - see the tar and zip
documentation for details.
If some of the nested resources that shall be added to the
archive are archive resources themselves - i.e. they come from one
of this Antlib's entry
or
fileset
resources or are
core tarentry
or zipentry
resources or returned by a
core tarfileset
or zipfileset
- the task will try to preserve the entry's permissions and as
many other attributes of the entry as the archiving format
supports.
All archiving tasks share the following attributes and nested elements:
| Attribute | Description | Required |
| dest | the destination resource to create. | Exactly one of the two or a nested dest element. |
| destfile | the destination file to create. | |
| encoding | The character encoding to use for filenames
inside the archive. For a list of possible values
see http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html.
The magic value
native-encoding can be used to explicitly select
the platform's default character encoding. Defaults to the
platform's default character encoding.Currently ignored by all but the tar (since Compress Antlib 1.2), cpio (since Compress Antlib 1.3) and zip tasks. |
No |
| filesonly | Store only file entries, defaults to true | No |
| preserve0permissions | when updating an archive or adding entries from a
different archive Ant will assume that a Unix permissions value of
0 (nobody is allowed to do anything to the file/directory) means
that the permissions haven't been stored at all rather than real
permissions and will instead apply its own default values. Set this attribute to true if you really want to preserve the original permission field. Default is false. |
No |
| roundup | Whether the file modification times will be
rounded up taking the timestamp granularity of the archiving
format into account. ZIP archives store file modification
times with a granularity of two seconds, the other formats use
a single second as granularity. Times will either be rounded up or down. If you round down, the archive will always seem out-of-date when you rerun the task, so the default is to round up. Rounding up may lead to a different type of problems like JSPs inside a web archive that seem to be slightly more recent than precompiled pages, rendering precompilation useless. Defaults to true. | No |
| preserveLeadingSlashes | Indicates whether leading `/'s should
be preserved in the file names. Default is false . |
No |
| duplicate | behavior when a duplicate entry is found. Valid values are "add", "preserve", and "fail". The default value is "fail". | No |
| whenempty | behavior when no files match. Valid values are "fail" and "skip". Default is "fail". | No |
| mode | One of "create", "force-create", "replace", "force-replace" or "update" - see below. Default is "create". | No |
There are three basic modes a task can be in:
If the dest archive doesn't exist before running the task, all modes behave the same. If it does exist, create may remove existing entries and replace may replace entries that are more recent than the specified source resources.
All three modes will first check whether the dest archive is "out of date". An archive is considered out of date if
Neither of the basic modes will modifiy the dest archive if it is not "out of date". For the create and replace modes there are variants force-create and force-replace that will bypass the "out of date" check and always replace (entries in) existing archives.
Accepts any resource or single element resource collection as nested element.
The specified resource will be used as dest.
This specifies the files and directories that shall be added to the archive.
An archiving task creating archives of the AR format.
The AR format is pretty limited, by default it can only store file names up
to 16 characters and not store directories at all. It is not
possible to set the filesonly
attribute to true for
the ar
task.
| Attribute | Description | Required |
| format | Ar format for entries with names longer than 16 characters. Supported values are "ar" which doesn't support entries of that length and results in a build failure and "bsd". | No, default is "ar" |
An archiving task creating archives of the CPIO format.
This task supports the following additional attributes:
| Attribute | Description | Required |
| format | CPIO format for the archive to create. One of "binary", "old-ascii", "new-ascii". "odc" can be used as a synonym for "old-ascii". | No, default is "binary" |
| blocksize | Block size for the archive. Must be a positive number. | No, default is 512. |
Since Compress Antlib 1.3
An archiving task creating archives of the 7z format. As of Commons Compress 1.8 this task only supports writing unencrypted archives.
| Attribute | Description | Required |
| contentCompression | compression algorithm to use for entry
contents. As of Commons Compress 1.8 this can be "LZMA2", "BZIP2", "DEFLATE" or "COPY" where "COPY" means no compression at all. |
No, default is LZMA2. |
| keepcompression | For entries coming from existing archives (like nested sevenzfilesets or while updating the archive), keep the compression as it has been originally instead of using the contentCompression attribute. Defaults to false. since 1.5 | No |
Specifies and configures a content method to use when creating an archive. Multiple methods build a pipeline where the first method is used to process the original input and its output is sent ot the next method until the final output is written to the archive.
As of Commons Compress 1.8 in addition to the compression methods "LZMA2", "BZIP2", "DEFLATE" or "COPY" filters can be used. Names of filter methods end with "_FILTER" and must not be used as final method - this is neither enforced by this antlib or Commons Compress but 7z may fail to extract the archive. As of Commons Compress 1.8 the supported filters are "BCJ_X86_FILTER", "BCJ_PPC_FILTER", "BCJ_IA64_FILTER", "BCJ_ARM_FILTER", "BCJ_ARM_THUMB_FILTER", "BCJ_SPARC_FILTER" and "DELTA_FILTER". The "BCJ" filters may improve compression ratio for executables for a given platform.
Some methods support additional options, "DELTA_FILTER" even requires one. The interpretation or even the type of an option depends on the method - see Commons Compress' documentation. As of version 1.5 only numeric options are supported.
Parameters of contentMethod| Attribute | Description | Required |
| method | method to use. | Yes. |
| option | Numeric option for this method. | No |
An archiving task creating archives of the TAR format.
This task does not support the compression
attribute
of
the core
task. You should use a compressing
task with a tar
task as nested element
instead.
This task supports the following additional attributes:
| Attribute | Description | Required |
| format | Tar format to use. See the section below. Supported values are "ustar", "oldgnu", "gnu", "star" and "pax". | No, default is "ustar" |
Over time the original tar format has seen various extensions and revisions. The Apache Commons Compress library supports the original format (called "ustar") and some extensions added later, but not all of them. It supports a subset of features offered by the POSIX 1003.1 standard (often referred to as PAX), but this support is not complete.
The Compress Antlib follows Commons Compress' support. Currently the format affects two areas, files bigger than 8 GiB or that need other numeric values not fitting into the traditional tar headers and entries with names longer than 100 characters. For Commons Compress these areas can be configured separately while the Antlib chooses them based on a single format attribute.
| Format Attribute | Numeric values too big like files bigger 8GiB | Entry names longer 100 characters | Notes |
| ustar | Not supported, throws an exception. | Not supported, throws an exception. | Default. |
| oldgnu | Not supported, throws an exception. | Uses a GNU tar specific extension. | Created archives may be unreadable on MacOS X, Solaris or with other non-GNU implementations of tar. |
| star | Uses an extension first introduced by Jörg Schilling's star and later adopted by GNU tar and BSD tar. | Uses a PAX extended header as defined by POSIX 1003.1. | Created archives will be readable by star and modern versions of GNU tar and BSD tar. |
| gnu | Uses a GNU tar specific extension. | Created archives may be unreadable on MacOS X, Solaris or with other non-GNU implementations of tar. The archives are similar to what GNU tar would create by default. | |
| pax | Uses use a PAX extended header as defined by POSIX 1003.1. | Created archives will be readable by all modern implementations of tar. |
<cmp:tar destfile="${dist}/manual.tar" xmlns:cmp="antlib:org.apache.ant.compress"> <fileset dir="htdocs/manual"/> <cmp:tar/> <cmp:gzip destfile="${dist}/manual.tar.gz" src="${dist}/manual.tar" xmlns:cmp="antlib:org.apache.ant.compress"/>
tars all files in the htdocs/manual
directory into a
file called manual.tar
in the ${dist}
directory, then applies the gzip task to compress it.
<cmp:tar destfile="${dist}/manual.tar" xmlns:cmp="antlib:org.apache.ant.compress"> <fileset dir="htdocs/manual" excludes="mydocs/**, **/todo.html" /> <cmp:tar/>
tars all files in the htdocs/manual
directory into a
file called manual.tar
in the ${dist}
directory. Files in the directory mydocs
, or files
with the name todo.html
are excluded.
<cmp:tar destfile="${basedir}/docs.tar" preserveLeadingSlashes="true"> xmlns:cmp="antlib:org.apache.ant.compress"> <cmp:tarfileset dir="${dir.src}/docs" fullpath="/usr/doc/ant/README"> <include name="readme.txt"/> </cmp:tarfileset> <cmp:tarfileset dir="${dir.src}/docs" prefix="/usr/doc/ant"> <include name="*.html"/> </cmp:tarfileset> </cmp:tar>
Writes the file docs/readme.txt
as
/usr/doc/ant/README
into the archive. All
*.html
files in the docs
directory are
prefixed by /usr/doc/ant
, so for example
docs/index.html
is written as
/usr/doc/ant/index.html
to the archive.
<cmp:tar format="oldgnu" destfile="${dist.base}/${dist.name}-src.tar"> <tarfileset dir="${dist.name}/.." filemode="755" username="ant" group="ant"> <include name="${dist.name}/bootstrap.sh"/> <include name="${dist.name}/build.sh"/> </tarfileset> <tarfileset dir="${dist.name}/.." username="ant" group="ant"> <include name="${dist.name}/**"/> <exclude name="${dist.name}/bootstrap.sh"/> <exclude name="${dist.name}/build.sh"/> </tarfileset> </cmp:tar>
This example shows building a tar which uses the GNU extensions for long paths and where some files need to be marked as executable (mode 755) and the rest are use the default mode (read-write by owner). The first fileset selects just the executable files. The second fileset must exclude the executable files and include all others.
<cmp:gzip destfile="release.tar.gz" xmlns:cmp="antlib:org.apache.ant.compress"> <cmp:tar> <cmp:zipfileset src="release.zip"/> </cmp:tar> </cmp:gzip>
Re-packages a ZIP archive as a GZip compressed tar archive. If Unix file permissions have been stored as part of the ZIP file, they will be retained in the resulting tar archive.
An archiving task creating archives of the ZIP format.
The discussion about encodings in the core zip task manual applies to this task as well.
Note the following attributes have default values
different from the core zip
task: filesonly
, whenempty
and duplicate
. The core task's compress
attribute isn't available for this task, use
the level
attribute instead where a level of 0
corresponds to no compression and not specifying a level at all to
default compression.
This task supports the following additional attributes:
| Attribute | Description | Required |
| level | Non-default level at which file compression should be performed. Valid values range from 0 (no compression/fastest) to 9 (maximum compression/slowest). | No |
| comment | Comment to store in the archive. | No |
| keepcompression | For entries coming from existing archives (like nested zipfilesets or while updating the archive), keep the compression as it has been originally instead of using the level attribute. Defaults to false. | No |
| useLanguageEncodingFlag | Whether to set the language encoding flag if the
encoding is UTF-8. This setting doesn't have any effect if the
encoding is not UTF-8.
See also the discussion in the core task's manual. Default is true. |
No |
| createUnicodeExtraFields | Whether to create unicode extra fields to store
the file names a second time inside the entry's metadata.
Possible values are "never", "always" and "not-encodable" which will only add Unicode extra fields if the file name cannot be encoded using the specified encoding. See also the discussion in the core task's manual. Default is "never". |
No |
| fallbacktoUTF8 | Whether to use UTF-8 and the language encoding
flag instead of the specified encoding if a file name cannot be
encoded using the specified encoding.
See also the discussion in the core task's manual. Default is false. |
No |
| zip64Mode | Controls whether Zip64 extended information is
written to the archive. In order to store entries bigger than 4GB or more than 65536 entries inside an archive, so called Zip64 extensions must be used. An archive that uses such extensions may not be readable by all unarchivers. The possible modes are "always", "never" and "as-needed". The default is "as-needed" which enables Zip64 extensions if a resource is added to the archive whose size is known to exceed 4GB or if there are more than 65536 entries. "as-needed" does not work for resources of unknown size (like URL-resources), if you try to archive such resources, the default will be "never" instead of "as-needed". If the mode is "never" and the resource actually exceeds the limit, the build will fail. |
No |
<cmp:zip destfile="${dist}/manual.zip xmlns:cmp="antlib:org.apache.ant.compress""> <fileset dir="htdocs/manual"/> <cmp:zip/>
zips all files in the htdocs/manual
directory into a
file called manual.zip
in the ${dist}
directory.
<cmp:zip destfile="${dist}/manual.zip" xmlns:cmp="antlib:org.apache.ant.compress""> <fileset dir="htdocs/manual" excludes="mydocs/**, **/todo.html" /> </cmp:zip>
zips all files in the htdocs/manual
directory. Files
in the directory mydocs
, or files with the
name todo.html
are excluded.
<cmp:zip destfile="${dist}/manual.zip" xmlns:cmp="antlib:org.apache.ant.compress""> <fileset dir="htdocs/manual" includes="api/**/*.html" excludes="**/todo.html" /> </cmp:zip>
zips all files in the htdocs/manual
directory. Only
html files under the directory api
are zipped, and
files with the name todo.html
are excluded.
<cmp:zip destfile="${dist}/manual.zip" xmlns:cmp="antlib:org.apache.ant.compress""> <fileset dir="htdocs/manual"/> <fileset dir="." includes="ChangeLog.txt"/> </cmp:zip>
zips all files in the htdocs/manual
directory, and
also adds the file ChangeLog.txt
in the current
directory. ChangeLog.txt
will be added to the top of
the ZIP file, just as if it had been located
at htdocs/manual/ChangeLog.txt
.
<cmp:zip destfile="${dist}/manual.zip" xmlns:cmp="antlib:org.apache.ant.compress""> <cmp:zipfileset dir="htdocs/manual" prefix="docs/user-guide"/> <cmp:zipfileset dir="." includes="ChangeLog27.txt" fullpath="docs/ChangeLog.txt"/> <cmp:zipfileset src="examples.zip" includes="**/*.html" prefix="docs/examples"/> </cmp:zip>
zips all files in the htdocs/manual
directory into
the docs/user-guide
directory in the archive, adds
the file ChangeLog27.txt
in the current directory
as docs/ChangeLog.txt
, and includes all the html
files in examples.zip
under docs/examples
. The archive might end up
containing the files:
docs/user-guide/html/index.html docs/ChangeLog.txt docs/examples/index.html
The code
<cmp:zip destfile="${dist}/manual.zip" xmlns:cmp="antlib:org.apache.ant.compress""> <cmp:zipfileset dir="htdocs/manual" prefix="docs/user-guide"/> <cmp:archives> <zips> <fileset dir="." includes="examples*.zip"/> </zips> </cmp:archives> </cmp:zip>
zips all files in the htdocs/manual
directory into
the docs/user-guide
directory in the archive and
includes all the files in any file that
maches examples*.zip
, such as all files
within examples1.zip
or examples_for_brian.zip
. The same can be achieved
with
<cmp:zip destfile="${dist}/manual.zip" xmlns:cmp="antlib:org.apache.ant.compress""> <mappedresources> <fileset dir="htdocs/manual"/> <globmapper from="*" to="docs/user-guide/*"/> </mappedresources> <archives> <zips> <fileset dir="." includes="examples*.zip"/> </zips> </archives> </cmp:zip>
The next example
<cmp:zip dest="release.zip" xmlns:cmp="antlib:org.apache.ant.compress""> <cmp:tarfileset src="release.tar"/> </cmp:zip>
re-packages a TAR archive as a ZIP archive. If Unix file permissions have been stored as part of the TAR file, they will be retained in the resulting ZIP archive.


Reports any classes which directly extend
java.lang.Thread
. It is usually recommended to prefer composition over inheritance, to create more reusable code that is easier to modify later.
Example:
class
MainThread
extends
Thread { }


This is an entry for the 32 Turn contest: build a chess game with at most 32 turns! You
can play this game in Zillions with this file.
The Knightliest Black Hole
All FIDE rules apply, except:
The Knighted pieces are:
The Knight Duke, i.e., R+N
The Knight Count, i.e., B+N
The Knight
The Paladin (check below)
The initial setup is as follow:
White: Dukes at b1,g1; Counts at c1, f1; Knights at b2,c2,d2,e2,f2,g2; Queen at d1 and
King at e1
Black: Dukes at b8,g8; Counts at c8, f8; Knights at b7,c7,d7,e7,f7,g7; Queen at d7 and
King at e7
At each turn, the White and Black players make: (a) a legal move, and (b) create an hole
in the board. The hole cannot contain an opponent piece (i.e., it must be empty or
have one friendly piece). Here is a 1st turn example: 1. Ncd4 (c5) NBd6 (h2)
No piece may cross an Hole, but a Knighted piece may jump them if it is within its
range.
There is an extra kind of move, the Swap. A Knighted piece may swap is position with its
King or Queen. But doing the swap, that piece is eliminated. The next example shows how
Black escapes Checkmate, by sacrificing the c5 Knight in a swap.
If a Knight reaches the last rank, it is promoted to Paladin. A Paladin has the Knight
moves plus the (3,1) jump piece moves (i.e. jumps 3 squares rookwise, and land to the left
or right. Using this notation, the Knight would be a (2,1) piece). In the last example,
the g7 Knight is trapped within the g7-h4 squares. If the Knight was a Paladin, it could
also jump to d6 checking the White King.


The Perfect Night
Welcome, to The Perfect Night!
A bar that you can bring into your own living room. We have a cocktail
generator and library where you are able to search around for the
perfect cocktail to make for your friends. Besides, When the night
starts, there is nothing better than a game to spice up the night,
let’s play pass the bomb and see who it explodes on. Have fun!


Honzi/Guides/Diablo 2: Lord of Destruction/Barbarian/Demo
A level ?? Barbarian build that is used in the Diablo 2 demo.
Totals:
* Work in Progress
Attributes:
* Strength: ???
* Dexterity: ???
* Vitality: ???
* Energy: 10
Items:
* Amulet: ???
* Belt: ???
* Boots: ???
* Gloves: ???
* Head: ???
* Ring1: ???
* Ring2: ???
* Shield: ???
* Torso: ???
* Weapon: ???
Inventory:
* ???
Skills (??? remaining points):
* Warcries:
* ???
* Masteries:
* ???
* Combat:
* 1 Bash
Mercenary:
* Act 1 Mercenary:
* Cold Arrow


Devember 2015 Recap
In case you missed it, I participated in the most recent Devember. The main idea behind the challenge is that you must spend at least one hour everyday programming something throughout the entire month of December. The ‘rules’ state that you must upload a dev log everyday outlining your progress. I’ve collected all of the links to my entries and put them on a single page to make reading all of entries much simpler. I also - somewhat painstakingly - went through all of the posts and added a next and previous link. You can find the page containing all of the entries here.
 Not only was it a big source of motivation for me to actually sit down and program, but also a good chance for me to improve my dev-logging skills.
I found out about a few really interesting projects by way of searching for a place to host the files on. I ended up using GitHub Gists. Although, since gist pages are a bit messy, I used another website which took the content of the gists and make them much prettier. I used draft.sx because of its simplicity and ease of use. You can simply use the gist’s ID to identify it, and continue to update the gist without needing to use a new url. For example, for the gist: gist.github.com/ajweeks/a0d6426870895cf5f464, your page is located at draft.sx/a0d6426870895cf5f464.
Near the end of the month I was quite busy with finishing up my final school assignments for the semester, which made setting an hour aside a bit more challenging, but I managed to find a way. I can’t say yet if I will be participating next year, it will depend on how much school work I have to complete.
As for what I actually got done during the development, I got a fair amount of work done on my latest game project: TM495. When the month started I had just barely gotten the project started, and by the end I had a decent prototype up and running. It’s still far from a fun, fully-featured game, but I think it would be even less complete if not for Devember. If you’d like to see where it’s at currently, the latest version can found found at ajweeks.com/TM495.
I also spent a fair number of days following Handmade Hero. If you are unaware, it is a project taken on by Casey Muratori to code a complete game from scratch in C++ using no libraries, all live on twitch. As of the time of this writing he has finished 242 episodes, each an around two hours in length - one hour of coding and another of Q&A. So far I’ve completed 10 episodes, and if he continues to host several episodes a week (typically 5 I believe then I have a lot of catching up to do. It’s a very time consuming thing to do, since I often pause the video and look around my code out of curiosity or to find a bug, and so one episode can easily take 2-2.5 hours. Although, I plan on finishing the series, even if it takes me 3 years!
Anyways, that’s it for my in depth review of my 2015 Devember experience. Hope to see you in the next one!


“Do you have any last words?” The warden asked to the inmate.
"I would like to give love to my mother, sisters and brothers,” Freddie Webb replied, “and let them know that I am thinking of them right now, and I want to thank God for giving me such a loving family. To the victim's family: I hope you will find it in your heart to forgive me as I have forgiven you. I'm ready, Warden."
Webb is one of the 554 people that has been executed in Texas since it became legal again in 1976. His last words are written down in Texas’s history book, for Texas is one of the only states that keeps a public record of last words of inmates.
 That is what happened to me when I ran across the Texas death row inmates’ last words. There were last words that were spiritual. There were last words that were remorseful. There were last words that were assertions of innocence. And there were some that were silent. My goal is to visualize their last words for you here.
Over the last 40 years, legislation has changed the death penalty in significantly changed Texas. When the federal government made it legal in 1976, it took several years for an execution to actually occur. In the 2000’s, legislation was put in place that narrowed the scope of the death penalty, and therefore decreased the executions per year.
The question I wanted answered was: what did these inmates talk about during their last statements? You can see below that there were many things that were mentioned in their last statements, ranging from love and remorse to assertions of innocence. You can also see below the proportions of each of these categories. Many of the last statements had some combination of categories. I used Latent Dirichlet allocation (LDA) to do this topic modeling. Once clusters were created, I was able to look at a handful of the comments in order to classify them.
Another natural language processing technique I used in this project was determining the sentiment of the inmates’ last words. This has two parts: polarity and subjectivity. Polarity describes whether a statement is positive(1), neutral(0) or negative(-1). Subjectivity describes whether a statement is objective(0) or subjective(1).
Inmates’ last words, shown in blue, tend to range from neutral to positive. I was curious to see how this population compared to others. Poems about death, shown in orange, also tend to be positive. On the other hand, when I surveyed 100 people on what their last words would be or how they would feel if they were going to be executed, these were, as a whole, negative, shown in green.


Upcoming Events
-
1017 ALYX 9SM Opens Toronto Pop-Up With Exclusive Nike Products Nov 18, 2019 from 1:00pm - 3:00pm
After launching pop-ups in Paris, Matthew Williams and 1017 ALYX 9SM continue to expand their reach, now opening a pop-up space in Toronto. Located at 26 Bellair Street, the interior of the 1,695-square-foot temporary store is designed and constructed by OKRM and Hesselbrand. ALYX's Toronto pop-up houses the brand's SS19 collection, in addition to exclusive products and collaborations including Nike Essentials, Nike MMW 002 collection and select items from Dior SS19. Following this past weekend's launch, the 1017 ALYX 9SM Toronto space is open through June. You can get a look inside the pop-up via the gallery above. 1017 ALYX 9SM Toronto Pop-Up 26 Bellair St. Toronto, ON M5R 2C7, Canada -
ALYX + VIBRAM WORKSHOP October 20, 2019 from 2:00pm - 3:30pm
This workshop will focus on the idea of designing moveable and durable shoes. The conversation will buildout the thought process of understanding what is needed to build durable fashion. Touchpoints will also include the importance of understanding the material that is used to construct activewear and the connection it has with human anatomy.
Past Events
-
1017 ALYX 9SM Grand Opening Week 50% off everything for a week!
March 11-17, 2017 -
1017 ALYX 9SM SS17 Is a Technical Tour de Force November 13, 2017
1017 ALYX 9SM delivers another remarkably consistent selection of functionally-driven looks in line with founder Matthew M Williams‘ predilection for futuristic garments. High-tech layering pieces co-mingle with Williams’ famed rollercoaster buckle throughout the co-ed runway presentation. -
Clearance Sale December 15, 2017
All items are on sale during limited time! Happy Shopping!


Classes, interfaces and traits
AdvancedPayment¶
Advanced Payment class
« More »
AuthorizedPayment¶
Authorized Payments Class
« More »
Card¶
The cards class is the way to store card data of your customers safely to improve the shopping experience.
This will allow your customers to complete their purchases much faster and easily, since they will not have to complete their card data again.
This class must be used in conjunction with the Customer class.
« More »
CardToken¶
Card Token class
This class will allow you to send your customers card data for Mercado Pago server and receive a token to complete the payments transactions.
« More »
Customer¶
This class allows you to store customers data safely to improve the shopping experience.
This will allow your customer to complete their purchases much faster and easily when used in conjunction with the Cards class.
 You can attach one or more payments in your merchant order.
« More »
Payment¶
This class provides the methods to access the API that will allow you to create your own payment experience on your website.
From basic to advanced configurations, you control the whole experience.
« More »
Preference¶
This class will allow you to charge your customers through our web form from any device in a simple, fast and secure way.
« More »


|
Bullet Collision Detection & Physics Library
|
Classes | |
| struct | Chunk |
Public Member Functions | |
| PreallocatedMemoryHelper () | |
| void | addChunk (void **ptr, size_t sz) |
| size_t | getSizeToAllocate () const |
| void | setChunkPointers (void *mem) const |
Private Attributes | |
| Chunk | m_chunks [N] |
| int | m_numChunks |
Definition at line 608 of file btBatchedConstraints.cpp.
|
inline |
Definition at line 619 of file btBatchedConstraints.cpp.
|
inline |
Definition at line 620 of file btBatchedConstraints.cpp.
|
inline |
Definition at line 631 of file btBatchedConstraints.cpp.
|
inline |
Definition at line 640 of file btBatchedConstraints.cpp.
|
private |
Definition at line 615 of file btBatchedConstraints.cpp.
|
private |
Definition at line 616 of file btBatchedConstraints.cpp.


Character RecognizerVersion 0.5.14Application by Diadem
@Rockdiadem
Change log
Send feedback
License
This app is a mash-up of several open source projects:
The app is reference by :- https://github.com/tesseract-ocr/tesseract/wiki.
Translator app


Remember, 7 days without football makes one weak
Search for the best grounds by region, whether it's around your locale or any other region you fancy playing in, the fun must go on!
Pitch, check. Now you can move on to select a date. Hone in on those wasted weeknights! Who said scheduled fun isn't fun?
Tailor your play time, choose what time best works for you. Morning, afternoon or night time, feel free to plan according to your needs.


dude.
where's my tricorder?
Dec 2, 2016 • Laura Summers • @summerscope
Image attribution nepaltibet2005
the pace of change
In some sectors, blindingly fast
In others, not so much...
whose fault is this?
The source of a million emo articles...
NY Times
The Guardian
MIT Technology Review
Quora
etc...
actually not a git-blame thing
hard problems are hard
investors like contained scope
investors like business models which are well understood
want to tackle a hard problem...?
technology will probably be the smallest part
harder is fostering a culture of change
(it helps to understand what you're up against)
so here it is...
a survival guide for bringing
technological disruption
to the enterprise
#1
the tender process
first date, or .... ?
anti-tender
impact investing is a growing segment
#2
the sales cycle
Google research on hospital purchasing decisions
reimagine the sales cycle
#3
your end users !== your clients
#4
risk aversion theatre
call it like you you see it
#5
UI complexity perceived as functionality & value
we tend to think that greater functionality means greater value
time for a UX smackdown
we can have nice things


Nordburg Validator
Options
Validator URL:
Include these parts in the validation (None of these are recommended)
Text, ie: the content
HTML Comments (<!-- These comments -->)
CDATA sections (mostly for XHTML)
Script source (ie: <script src="thisPart.js">)
Developer Options
Debugging
Save
Cancel
Restore Defaults


News
It's a boy! Cute Animal Zoo celebrates 'astonishing' birth of rare elephant calf
27 SeptemberA rare Asian elephant calf has “astonished” experts after being born in captivity.
The newborn arrived overnight on Thursday to 35-year-old mum Thi Hi Way after an assumed gestation of 25 months.
Keepers and scientists at the zoo believed that Thi had started a natural resorption process after hormone tracking showed that the mum of six previous calves was due to give birth three months prior, and she was slowly returning to her normal weight.
Despite the unusual circumstances, Thi gave birth to a healthy baby boy and keepers at the zoo say both mum and calf, who is yet to be named, are doing very well.
Thi is a wonderful matriarch to our family herd and a really experienced mum. She has successfully given birth to seven calves before, but this time around circumstances were really quite astonishing.
We believed Thi had exceeded her normal gestation period, which we were monitoring closely. Her hormone levels, behaviour and drop in weight gave us every indication that she may have been resorbing the calf – a natural process that some elephants experience.
Mike Jordan, Collections Director - 27 September
The Zoo is part of a breeding programme coordinated by the European Association of Zoos and Aquariums (EAZA) that is focused on sustaining the elephant population in Europe. The new calf is another huge boost to these efforts.
Asian elephants are listed as endangered on the International Union for the Conservation of Nature’s (IUCN’s) Red List, threatened by habitat loss, poaching, disease and direct conflict with humans.
“World’s fluffiest cats” are zoo’s purr-fect new arrivals
12 SeptemberFour rare felines dubbed the ‘world’s fluffiest cats’ have arrived.
It’s the first time carnivore experts at the zoo have ever cared for the animals, known as Pallas’s cats. The four brothers have arrived from Krakow Zoo in Poland.
Pallas’s cats are incredibly furry. Relative to size, they have the densest and longest fur of any cat species – effectively making them the world’s fluffiest cats.
However, hunting for their beautiful fur is actually something that is contributing to their perilous plight in the wild. These cats are very poorly known, declining and, sadly, face an uncertain future.
Tim Rowlands, Curator of Mammals - 12 September
Pallas’s cats are rarely seen in their native southern Siberia, Central Asia and China where they are under threat. The most recent population estimate suggests only around 15,000 remain with conservationists fearing that number is in continuous decline.
Otter-ly adorable new pups are too much!
28 AugustFIVE baby otters have been given their first ever health check-ups
The quintet of tiny pups were said to be in ‘tip-top condition’ after being checked over by the zoo’s keepers and vets who determined their sexes (four girls and a boy), weighed them, listened to their heart beats and gave them a physical examination.
The Asian short-clawed otters – the world’s smallest species of otter – were born 10 weeks ago to mum Annie (3) and dad Wallace (5).
Each of the five pups showed themselves to be feisty little characters! We’re thrilled though that every one of them is in tip-top condition and they’re all doing ever so well.
We can’t wait to see them start to take to the water as they continue to grow, become more and more confident and gain independence from mum and dad.
Hannah Sievewright, Keeper - 29 August
Asian short-clawed otters are listed by conservationists as vulnerable to extinction and face increasing threats to their survival in the wild. Many areas of wetland where they are found are being taken over by human populations and some are also hunted for their skins and organs which are used in traditional Chinese medicines.


OWNERSHIP OF THE PROJECT
I take complete ownership of the development process while keeping the communication channels open with the stakeholders. I develop my websites with 100% responsiveness and future ready layouts.
I am a creative individual with a passion for design that delivers a clear message with an impact.
I think it’s good business to do your best...everytime! This value derives the core of my project delivery.
I take complete ownership of the development process while keeping the communication channels open with the stakeholders. I develop my websites with 100% responsiveness and future ready layouts.
As a Front-End Developer my skills include...
What problems are you trying to solve? What is the outcome?
Resource & Value Driven Approach
Tools, Technology and Coding
Ready Website & Fulfilled Stakeholder Agreement
Ongoing Support


A
CalendarMonthNavigator
that browses the
Flickr Interestingness
photos by month. The class of the calendar days,
FlickrInterestingDay
, does the work of loading the photo for a given day.
This control was the subject of a
user interface blog post
.


In the libs/tti/test subdirectory there is a jamfile which can be used to test TTI functionality.
Executing the jamfile without a target will run tests for both basic TTI and
for the variadic macro portion of TTI. To successfully do that you need to
get the variadic_macro_data
library from the sandbox. You can run tests for only the basic TTI, which is
the vast majority of TTI functionality, by specifying only the 'tti' target
when executing the jamfile, and therefore you would not need the variadic_macro_data
library. If you just
want to run the tests for the variadic macro portion of TTI, specify the target
as 'ttivm'.
The TTI library has been tested with VC++ 8, 9, 10 and with gcc 3.4.2, 3.4.5, 4.3.0, 4.4.0, 4.5.0-1, and 4.5.2-1.


Address: Phone: Fax Number: |
WELCOME At Tac-o' The Town, we use quality ingredients that make a difference. Our BEEF: We use only Ground Chuck made from Angus Beef. No fillers to cut our cost! All we add is a tasty seasoning that gives our beef that Mexican zing. Our CHICKEN: Everything is all-white with our chicken. Whether you choose our taco-seasoned chicken, grilled chicken or crispy chicken, you can be sure that it's all all-white chicken breast. What about the chicken strips? Yep! They're all-white too! Our CHEESE: We use only REAL shredded cheddar & mozzarella to top all our tacos, burritos, subs & salads. No imitation cheeses! Not even the 50/50 blend of real & imitation. It's ALL REAL! Mmmmm. If you're a cheese lover, you'll recognize the tasty difference of REAL. Our VEGGIES: We hand chop our salad lettuce, tomatoes, green peppers and onions daily. In fact, don't be surprised if you catch us in a hurry to chop up fresh veggies for your order. Our EAT-A-BOWLS: Our EAT-A-BOWLS are one of our most popular menu items and that's no surprise to us. To start, we don't buy a pre-made bowl, we deep-fry our own. Every day! Then we add the fresh chopped veggies, the high-quality beef or chicken, the real cheese and real sour cream. It's the best on top of the best. We just can't think of any way to make it better. Our FRESH-CUT FRIES: No frozen fries! Select potatoes cut and deep-fried as you order them. QUALITY IN THE BRAND NAMES: Sometimes you can find great quality in off-brand items, BUT sometimes certain brand-name items seem to carry a quality and a taste that is superior to any of the less-expensive competitor brands. At Tac-o' The Town, we've found that some of the brand-name items are just worth the extra cost….Like NATHAN'S all-beef Hotdogs, TYSON Chicken Strips, SWEET BABY RAY'S Barbecue Sauce, HEINZ ketchup, HORMEL bacon, and ORE-IDA Tater Tots. We love the quality of these products and we think you will too. Thank you for choosing Tac-o' The Town. We hope you appreciate our efforts to serve you "QUALITY IN EVERY BITE!" |
Hours:
|
| Last Modified:
September 18, 2016 Contact the Webmaster<EMAIL_ADDRESS>|


Østerådalen Nord
North is approx. 2 km. In addition, three hiking routes have been marked. Under normal
weather conditions, most of the area roads and paths passable for wheelchair users.
The "Indkilderuten" starts from the car park at Indkildevej. The trip is 1 km and can
be completed in ½ hour. Red route: The "Bird Route" goes out to the birdhouse and the bird tower at
Lergraven. The trip is almost 2 km.
"Around Østerådalen". The trip is 4.1 km and can be done in less than 2 hours.


Egypt unveils animal mummies of lion cubs, crocodiles, birds
Cats were considered sacred by the ancient Egyptians so it was unsurprising that the discovery of mummies included so many felines. Lion cubs, however, are a much rarer find.
Egypt unveiled a collection on Saturday of 75 wooden and bronze statues, as well as lion cub mummies decorated with hieroglyphics.
The unveiling took place at the Saqqara necropolis near the Giza pyramids in southern Cairo and also included mummified remains of crocodiles, snakes, birds and cats.
Statues of an Apis bull, a mongoose, a falcon and the ancient Egyptian god Anubis in animal form were also revealed in the excavation.
Read more: 'In Ancient Egypt, death was massively integrated into life'
Antiquities Minister Khaled El-Enany described the discovery as "a [whole] museum by itself."
Enany added that the trove belongs to the 26th Dynasty, which dates back to the 7th century BC.
Archaeologists often find cats in mummy form as they were considered sacred animals by ancient Egyptians but the recovery of a lion in the same state is unusual. Indeed, the first lion skeleton was discovered in Saqqara in 2004.
jsi/sms (AP, AFP)


-
What did you learn from your "Mindfulness Conversation"? How did the other person find it? I tried something similar to this late last year at work due to misunderstandings around work to be carried out. I had an individual 'loop' back with the participants to confirm their understanding of the conversation. Even though they understood, unfortunately they still went off on a different tangent. Without knowing, I performed 'dipping' as I organised another meeting with a wider audience including the original participants to establish whether it was my communication style that was causing misunderstandings.
A caveat, this needs to be done in such a way that it's not condescending and treating colleagues like children.
Which of the three suggested techniques will you use to sustain your practice? I've found walking in the past works wonders, even if its just a quick walk around the block. I will focus more on the breathing aspect and awareness of my body.


These are the tools I am experienced with:
Back in 2003 I graduated from TAFE with a Diploma in I.T - Software Development. I then went on to work
at the Environmental Protection Agency for 4 years on their helpdesk and assisted with their roll out of
Windows 2000 across all of QLD. I went on to work in Desktop Support as well as Executive Support.
I then went back to university and studied Exercise Science for 4 years with some units of Behavioural
Psychology.
Here is a summary of my work/study history:
- 2020: Commenced new I.T career @ Coder Academy, Brisbane
- 2019: Travelled for 6 months (Asia, UK, Europe, USA)
- 2016-2019: Worked in several casual/part-time roles (P.T, admin & customer service roles)
- 2015: Received Cert IV in Training & Assessment
- 2010-2014: Obtained Bachelor's Degree of Exercise Science
- 2006-2010: Worked @ E.P.A (Helpdesk, Desktop Support & Executive Support
- 2005: Obtained A+ Hardware Professional & Microsoft Certified Professional (Excom)
- 2003: Obtained Diploma I.T (Software Dev. TAFE)
Some of my current (and past) projects include:
RV (work in progress)
A Unity/C# game about survival in the harsh wilderness, featuring a drivable RV and explorable
environments.
Planetlike (Rails-based dating website)
A dating website with user authentication, admin/user roles, image upload, multi-field search feature and messaging system. (Sign up does not require verification, so anyone can sign up and try, use a fake email if you prefer.)
React Gaming (Game wiki site built on MERN stack)
A games wiki clone built from the ground-up on the MERN stack (MongoDB, Express, React & NodeJS) all in Javascript. Utilises API calls, filtering and search features. It is a work in progress.
Game of Death (Terminal App, Ruby)
A Ruby-based text-based-adventure with multiple user choices and combat!
Hospital Simulation (Unity 3D, created by following a tutorial)
A sims-inspired hospital game utilising Goal-Oriented-Action-Planning (GOAP) within Unity.
Small Town simulation (Unity 3D)
A modification of the hospital sim, I want to simulate a town with workers who eat, sleep, work, and
converse, all based on the GOAP principle.
Space Invaders (Python)
A take on the old classic, with randomly-placed enemies, written in Python.


Pizza planet is a Kenyan based pizza restaurant located in Thika Road Mall. Enjoy over 21 pizza flavors and p’zone at affordable prizes. Go crazy with Smoothie Planet 15 flavors of ice-cream served in ice-cream cup and 26 flavors of milk shake and the best smoothies in Kenya all at affordable prices.
| Type | Topping | Crust | Total |
|---|
Feel free to reach us through the below address


v02-Processing_and_Visualizing_Data_in_the_SingleCellTK.Rmd
The analysis modules available through the Shiny app are also available as R functions for standard R console processing of single cell RNA-Seq data using a SCtkExperiment object. At any stage, you can load the Shiny App to interactively visualize and analyze a data set, but this vignette will show a standard workflow run entirely through the R console.
The MAST package contains a convenient scRNA-Seq example data set of 96 Mucosal Associated Invariant T cells (MAITs), half of which were stimulated with cytokines to induce a response. For more details, consult the MAST package and vignette.
We will first convert the MAST example dataset to a SCtkExperiment object.
suppressPackageStartupMessages({
library(MAST)
library(singleCellTK)
library(xtable)
})
data(maits, package="MAST")
maits_sce <- createSCE(assayFile = t(maits$expressionmat),
annotFile = maits$cdat,
featureFile = maits$fdat,
assayName = "logtpm",
inputDataFrames = TRUE,
createLogCounts = FALSE)
rm(maits)
You can get summary metrics with the summarizeTable
function:
knitr::kable(summarizeTable(maits_sce, useAssay = "logtpm"))
| Metric | Value |
|---|---|
| Number of Samples | 96 |
| Number of Genes | 16302 |
| Average number of reads per cell | 17867 |
| Average number of genes per cell | 6833 |
| Samples with <1700 detected genes | 5 |
| Genes with no expression across all samples | 0 |
Typically, these summary statistics would be run on a “counts” matrix, but here we have log(tpm) values so the average number of reads per cell is calculated from the normalized values instead of raw counts.
Explore the available annotations in the data:
colnames(colData(maits_sce))
## [1] "wellKey" "condition" "nGeneOn"
## [4] "libSize" "PercentToHuman" "MedianCVCoverage"
## [7] "PCRDuplicate" "exonRate" "pastFastqc"
## [10] "ncells" "ngeneson" "cngeneson"
## [13] "TRAV1" "TRBV6" "TRBV4"
## [16] "TRBV20" "alpha" "beta"
## [19] "ac" "bc" "ourfilter"
table(colData(maits_sce)$ourfilter)
##
## FALSE TRUE
## 22 74
The data has a filtered dataset with 74 ‘pass filter’ samples, let’s subset the data to include the pass filter samples
maits_subset <- maits_sce[, colData(maits_sce)$ourfilter]
table(colData(maits_subset)$ourfilter)
##
## TRUE
## 74
knitr::kable(summarizeTable(maits_subset, useAssay = "logtpm"))
| Metric | Value |
|---|---|
| Number of Samples | 74 |
| Number of Genes | 16302 |
| Average number of reads per cell | 16292 |
| Average number of genes per cell | 7539 |
| Samples with <1700 detected genes | 0 |
| Genes with no expression across all samples | 157 |
Initially, there are no reduced dimensionality datasets stored in the object
reducedDims(maits_subset)
## List of length 0
## names(0):
PCA and t-SNE can be added to the object with the getPCA() and getTSNE() functions:
maits_subset <- getPCA(maits_subset, useAssay = "logtpm",
reducedDimName = "PCA_logtpm")
maits_subset <- getTSNE(maits_subset, useAssay = "logtpm",
reducedDimName = "TSNE_logtpm")
reducedDims(maits_subset)
## List of length 2
## names(2): PCA_logtpm TSNE_logtpm
PCA data can be visualized with the plotPCA() function:
plotPCA(maits_subset, reducedDimName = "PCA_logtpm", colorBy = "condition")
t-SNE data can be visualized with the plotTSNE() function:
plotTSNE(maits_subset, reducedDimName = "TSNE_logtpm", colorBy = "condition")
The singleCellTK has the ability to convert gene ids to various formats using the org.*.eg.db Bioconductor annotation packages. These packages are not installed by default, so these must be manually installed before this function will work.
suppressPackageStartupMessages({
library(org.Hs.eg.db)
})
maits_entrez <- maits_subset
maits_subset <- convertGeneIDs(maits_subset, inSymbol = "ENTREZID",
outSymbol = "SYMBOL", database = "org.Hs.eg.db")
#to remove confusion for MAST about the gene name:
rowData(maits_subset)$primerid <- NULL
MAST is a popular package for performing differential expression analysis on scRNA-Seq data that models the effect of dropouts using a bimodal distribution and by including the cellular detection rate into the differential expression model. Functions in the toolkit allow you to perform this analysis on a SCtkExperiment object.
First, an adaptive threshold is calculated by binning genes with similar expression levels.
MAST analysis can be run with a single function
mast_results <- MAST(maits_subset, condition = "condition", useThresh = TRUE,
useAssay = "logtpm")
The resulting significantly differentially expressed genes can be visualized using a violin plot, linear model, or heatmap:
MASTviolin(maits_subset, useAssay = "logtpm", fcHurdleSig = mast_results,
threshP = TRUE, condition = "condition")
MASTregression(maits_subset, useAssay = "logtpm", fcHurdleSig = mast_results,
threshP = TRUE, condition = "condition")
plotDiffEx(maits_subset, useAssay = "logtpm", condition = "condition",
geneList = mast_results$Gene[1:100], annotationColors = "auto",
displayRowLabels = FALSE, displayColumnLabels = FALSE)
Among the top differentially expressed genes was interferon gamma, a cytokine that is known to be produced in response to stimulation.
The singleCellTK supports pathway activity analysis using the GSVA package. Currently, the toolkit supports performing this analysis on human datasets with entrez IDs. Data can be visualized as a violin plot or a heatmap.
gsvaRes <- gsvaSCE(maits_entrez, useAssay = "logtpm",
"MSigDB c2 (Human, Entrez ID only)",
c("KEGG_PROTEASOME",
"REACTOME_VIF_MEDIATED_DEGRADATION_OF_APOBEC3G",
"REACTOME_P53_INDEPENDENT_DNA_DAMAGE_RESPONSE",
"BIOCARTA_PROTEASOME_PATHWAY",
"REACTOME_METABOLISM_OF_AMINO_ACIDS",
"REACTOME_REGULATION_OF_ORNITHINE_DECARBOXYLASE",
"REACTOME_CYTOSOLIC_TRNA_AMINOACYLATION",
"REACTOME_STABILIZATION_OF_P53",
"REACTOME_SCF_BETA_TRCP_MEDIATED_DEGRADATION_OF_EMI1"),
parallel.sz=1)
## Warning in .local(expr, gset.idx.list, ...): 157 genes with constant
## expression values throuhgout the samples.
## Warning in .local(expr, gset.idx.list, ...): Since argument method!
## ="ssgsea", genes with constant expression values are discarded.
## Estimating GSVA scores for 9 gene sets.
## Computing observed enrichment scores
## Estimating ECDFs with Gaussian kernels
## Using parallel with 1 cores
##
|
| | 0%
|
|======= | 11%
|
|============== | 22%
|
|====================== | 33%
|
|============================= | 44%
|
|==================================== | 56%
|
|=========================================== | 67%
|
|=================================================== | 78%
|
|========================================================== | 89%
|
|=================================================================| 100%
gsvaPlot(maits_subset, gsvaRes, "Heatmap", "condition")
Among the top pathways that showed increased activity in the stimulated cells was KEGG_PROTEASOME, indicating proteasome related genes showed increased activity in the stimulated T cells. This pathway includes interferon gamma.
It is possible to use ComBat within the Single Cell Toolkit. This support is experimental, since ComBat was not designed for scRNA-Seq. Here, we will load the bladderbatch example data into a SingleCellExperiment object.
library(bladderbatch)
data(bladderdata)
dat <- bladderEset
pheno <- pData(dat)
edata <- exprs(dat)
bladder_sctke <- createSCE(assayFile = edata,
annotFile = pheno,
assayName = "microarray",
inputDataFrames = TRUE,
createLogCounts = FALSE)
The plotBatchVariance() function can be used to plot the percent variation explained by condition and batch across the dataset.
plotBatchVariance(bladder_sctke, useAssay="microarray",
batch="batch", condition = "cancer")
The ComBatSCE() function can then be used to correct for batch effects
assay(bladder_sctke, "combat") <- ComBatSCE(inSCE = bladder_sctke,
batch = "batch",
useAssay = "microarray",
covariates = "cancer")
## Standardizing Data across genes
After batch correction, a larger percentage of the explained variation can be explained by the condition
plotBatchVariance(bladder_sctke, useAssay="combat",
batch="batch", condition = "cancer")
## R version 3.6.0 (2019-04-26)
## Platform: x86_64-apple-darwin15.6.0 (64-bit)
## Running under: macOS Mojave 10.14.4
##
## Matrix products: default
## BLAS: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRblas.0.dylib
## LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
##
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
##
## attached base packages:
## [1] parallel stats4 stats graphics grDevices utils datasets
## [8] methods base
##
## other attached packages:
## [1] bladderbatch_1.21.0 GSEABase_1.46.0
## [3] graph_1.62.0 annotate_1.62.0
## [5] XML_3.98-1.19 org.Hs.eg.db_3.8.2
## [7] AnnotationDbi_1.46.0 xtable_1.8-4
## [9] singleCellTK_1.5.0 MAST_1.10.0
## [11] SingleCellExperiment_1.6.0 SummarizedExperiment_1.14.0
## [13] DelayedArray_0.10.0 BiocParallel_1.18.0
## [15] matrixStats_0.54.0 Biobase_2.44.0
## [17] GenomicRanges_1.36.0 GenomeInfoDb_1.20.0
## [19] IRanges_2.18.0 S4Vectors_0.22.0
## [21] BiocGenerics_0.30.0 BiocStyle_2.12.0
##
## loaded via a namespace (and not attached):
## [1] Rtsne_0.15 minqa_1.2.4 colorspace_1.4-1
## [4] rjson_0.2.20 rprojroot_1.3-2 GSVAdata_1.19.0
## [7] circlize_0.4.6 XVector_0.24.0 GlobalOptions_0.1.0
## [10] fs_1.3.0 clue_0.3-57 rstudioapi_0.10
## [13] roxygen2_6.1.1 bit64_0.9-7 xml2_1.2.0
## [16] splines_3.6.0 geneplotter_1.62.0 knitr_1.22
## [19] shinythemes_1.1.2 nloptr_1.2.1 cluster_2.0.9
## [22] png_0.1-7 shiny_1.3.2 BiocManager_1.30.4
## [25] compiler_3.6.0 backports_1.1.4 assertthat_0.2.1
## [28] Matrix_1.2-17 lazyeval_0.2.2 limma_3.40.0
## [31] later_0.8.0 htmltools_0.3.6 prettyunits_1.0.2
## [34] tools_3.6.0 gtable_0.3.0 glue_1.3.1
## [37] GenomeInfoDbData_1.2.1 reshape2_1.4.3 dplyr_<IP_ADDRESS>
## [40] Rcpp_1.0.1 pkgdown_1.3.0 nlme_3.1-139
## [43] xfun_0.6 stringr_1.4.0 lme4_1.1-21
## [46] mime_0.6 zlibbioc_1.30.0 MASS_7.3-51.4
## [49] scales_1.0.0 hms_0.4.2 promises_1.0.1
## [52] RColorBrewer_1.1-2 ComplexHeatmap_2.0.0 yaml_2.2.0
## [55] memoise_1.1.0 ggplot2_3.1.1 stringi_1.4.3
## [58] RSQLite_2.1.1 GSVA_1.32.0 genefilter_1.66.0
## [61] highr_0.8 desc_1.2.0 blme_1.0-4
## [64] boot_1.3-22 shape_1.4.4 rlang_0.3.4
## [67] pkgconfig_2.0.2 commonmark_1.7 bitops_1.0-6
## [70] evaluate_0.13 lattice_0.20-38 purrr_0.3.2
## [73] labeling_0.3 bit_1.1-14 tidyselect_0.2.5
## [76] plyr_1.8.4 magrittr_1.5 bookdown_0.9
## [79] R6_2.4.0 DBI_1.0.0 mgcv_1.8-28
## [82] pillar_1.3.1 survival_2.44-1.1 abind_1.4-5
## [85] RCurl_1.95-4.12 tibble_2.1.1 crayon_1.3.4
## [88] rmarkdown_1.12 GetoptLong_0.1.7 progress_1.2.0
## [91] grid_3.6.0 sva_3.32.0 data.table_1.12.2
## [94] blob_1.1.1 digest_0.6.18 httpuv_1.5.1
## [97] munsell_0.5.0


My dad and uncles race their own sailboat, so I know some things about them. One day I want to buy my own boat, maybe some kind of sailboat.


So happy to share the stage with my daughter @rubyconf! http://confreaks.tv/videos/rubyconf2016-programming-in-the-small-kids-chickens-and-ruby
11/19/2016, 10:12:34 PM
Favs: 10
Retweets: 1
link--- layout: tweet ---
So happy to share the stage with my daughter @rubyconf! http://confreaks.tv/videos/rubyconf2016-programming-in-the-small-kids-chickens-and-ruby
11/19/2016, 10:12:34 PM
Favs: 10
Retweets: 1
linkAlso props to @confreaks for getting the video up so quickly! 🎥💨
11/19/2016, 10:13:32 PM
Favs: 1
Retweets: 0
link


Annotation
HPDF_LinkAnnot_SetHighlightMode
#include
"apdf.h"
HPDF_STATUS
HPDF_LinkAnnot_SetHighlightMode (HPDF_Annotation annot,
HPDF_AnnotHighlightMode mode);
HPDF_STATUS
HPDF_LinkAnnot_SetHighlightMode (HPDF_Annotation annot,
HPDF_AnnotHighlightMode mode);
Description
HPDF_LinkAnnot_SetHighlightMode() defined the appearance of when a
mouse clicked on a link annotation. (see example
program of link annotation)Parameter
annotThe handle of an annotation object.
mode
The following valued are available.
| VALUE |
DESCRIPTION |
|
| 1 |
HPDF_ANNOT_NO_HIGHTLIGHT |
No highlighting. |
| 2 |
HPDF_ANNOT_INVERT_BOX |
Invert the contents of the area
of annotation. |
| 3 |
HPDF_ANNOT_INVERT_BORDER |
Invert the annotation’s border. |
| 4 |
HPDF_ANNOT_DOWN_APPEARANCE |
Dent the annotation. |
Returns
When HPDF_LinkAnnot_SetHighlightMode() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is invoked.Error
HPDF_INVALID_ANNOTATIONAn invalid annotation handle was set.
HPDF_INVALID_PARAMETERAn invalid value was set at either left, top or
zoom parameter.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_LinkAnnot_SetBorderStyle
#include
"apdf.h"
HPDF_STATUS
HPDF_LinkAnnot_SetBorderStyle (HPDF_Annotation annot,
HPDF_REAL width,
HPDF_UINT16 dash_on,
HPDF_UINT16 dash_off);
HPDF_STATUS
HPDF_LinkAnnot_SetBorderStyle (HPDF_Annotation annot,
HPDF_REAL width,
HPDF_UINT16 dash_on,
HPDF_UINT16 dash_off);
Description
HPDF_LinkAnnot_SetBorderStyle() defines the style of the annotation's
border. Parameter
annotThe handle of an annotation object.
widthThe width of an annotation's border.
dash_on, dash_offThe dash style.
Returns
When HPDF_LinkAnnot_SetBorderStyle() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is invoked.Error
HPDF_INVALID_ANNOTATIONAn invalid annotation handle was set.
HPDF_INVALID_PARAMETERAn invalid width value was set.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.
HPDF_TextAnnot_SetIcon
#include
"apdf.h"
HPDF_STATUS
HPDF_TextAnnot_SetIcon (HPDF_Annotation annot,
HPDF_AnnotIcon icon);
HPDF_STATUS
HPDF_TextAnnot_SetIcon (HPDF_Annotation annot,
HPDF_AnnotIcon icon);
Description
HPDF_TextAnnot_SetIcon() defines the style of the annotation's icon.
(see example
program of text annotation) Parameter
annotThe handle of an annotation object.
iconThe style of icon. The following values are
available.
- HPDF_ANNOT_ICON_COMMENT
- HPDF_ANNOT_ICON_KEY
- HPDF_ANNOT_ICON_NOTE
- HPDF_ANNOT_ICON_HELP
- HPDF_ANNOT_ICON_NEW_PARAGRAPH
- HPDF_ANNOT_ICON_PARAGRAPH
- HPDF_ANNOT_ICON_INSERT
Returns
When HPDF_TextAnnot_SetIcon() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is invoked.Error
HPDF_INVALID_ANNOTATIONAn invalid annotation handle was set.
HPDF_ANNOT_INVALID_ICONAn invalid icon-style was specified.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.
HPDF_TextAnnot_SetOpened
#include
"apdf.h"
HPDF_STATUS
HPDF_TextAnnot_SetOpened (HPDF_Annotation annot,
HPDF_BOOL opened);
HPDF_STATUS
HPDF_TextAnnot_SetOpened (HPDF_Annotation annot,
HPDF_BOOL opened);
Description
HPDF_TextAnnot_SetOpened() defines whether the text-annotation is
initially displayed open.Parameter
annotThe handle of an annotation object.
openedHPDF_TRUE means that the annotation initially
displayed open.
Returns
When HPDF_TextAnnot_SetOpened() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is invoked.Error
HPDF_INVALID_ANNOTATIONAn invalid annotation handle was set.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.


My Very Secret and Important Base
Database Dump
Password Log
User Data
Some other stuff
My phpmyadmin
Login


Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence. Your algorithm should run in O(n) complexity. Example Input: [100, 4, 200, 1, 3, 2] Output: 4 Explanation: The longest consecutive elements sequence is [1, 2, 3, 4]. Therefore its length is 4. Solution # Time: `O(n)` class Solution: def longestConsecutive(self, nums: List[int]) -> int: # Count occurence of nums mapping = {} for num in nums: mapping[num] = True # init longest length longest = 0 # iterate over nums for num in nums: if num in mapping: # num exists in mapping => init l = 1 l = 1 # num was counted, so we delete num del mapping[num] left, right = num-1, num+1 # Move left while left in mapping: # left was counted, so we delete left del mapping[left] left -= 1 l += 1 # Move right while right in mapping: # right was counted, so we delete right del mapping[right] right += 1 l += 1 # Update longest longest = max(longest, l) return longest


| (a) | stringReference ( leftPosition .. rightPosition ) | |||||||
| (b) | stringReference ( charPosition ) |
var word : string := "bring"
put word (2 .. 4) % Outputs rin
put word (3) % Outputs i
put word (2 .. *) % Outputs ring; the star (*) means
% the end of the string.
put word (* - 2 .. * - 1 ) % Outputs in
Each of leftPosition, rightPosition, and charPosition must have one of these forms:
| (a) expn | |
| (b) * | |
| (c) * - expn |
The exact rules for the allowed values of leftPosition and rightPosition are:
| (1) leftPosition must be at least 1, | |
| (2) rightPosition must be at most length (stringReference), and | |
| (3) the length of the selected substring must zero or more. |
This specifically allows null substrings such as word (1, 0) in which rightPosition is 0 and word (6, 5) in which leftPosition is one more that length (stringReference).
Note that substrings are not assignable. For example, if s is a string, the statement s (3) := "a" is illegal in Turing.
Turing supports substrings of char(n) values. See char(n). If a substring of char(n) value t has two operands, as in t(2..77), the result type of this operation is a string. If the substring has one operand, as in t(7), this becomes, in effect, a subscript into an array of characters. The result is a reference to a char, which can be assigned to or passed to a var parameter.


--- layout: default title: About Us class: about ---
We’re a group of industry vets who’ve been working together for years to craft original stories and iconic brand content.
We offer concept development, production, and post, delivering with the highest level of professionalism and quality. We’d love to work together, so drop us a line to get started.
Contact us


| period {lubridate} | R Documentation |
period()
creates or parses a period object with the specified values.
period(num = NULL, units = "second", ...) is.period(x) seconds(x = 1) minutes(x = 1) hours(x = 1) days(x = 1) weeks(x = 1) years(x = 1) milliseconds(x = 1) microseconds(x = 1) nanoseconds(x = 1) picoseconds(x = 1) ## S3 method for class 'numeric' months(x, abbreviate)
num |
a numeric or character vector. A character vector can specify periods in a convenient shorthand format or ISO 8601 specification. All unambiguous name units and abbreviations are supported, "m" stands for months, "M" for minutes unless ISO 8601 "P" modifier is present (see examples). Fractional units are supported but the fractional part is always converted to seconds. |
units |
a character vector that lists the type of units to be used. The
units in units are matched to the values in num according to their
order. When |
... |
a list of time units to be included in the period and their
amounts. Seconds, minutes, hours, days, weeks, months, and years are
supported. Normally only one of |
x |
Any R object for |
abbreviate |
Ignored. For consistency with S3 generic in base namespace. |
Within a Period object, time units do not have a fixed length (except for seconds) until they are added to a date-time. The length of each time unit will depend on the date-time to which it is added. For example, a year that begins on 2009-01-01 will be 365 days long. A year that begins on 2012-01-01 will be 366 days long. When math is performed with a period object, each unit is applied separately. How the length of a period is distributed among its units is non-trivial. For example, when leap seconds occur 1 minute is longer than 60 seconds.
Periods track the change in the "clock time" between two date-times. They are measured in common time related units: years, months, days, hours, minutes, and seconds. Each unit except for seconds must be expressed in integer values.
Besides the main constructor and parser period()
, period objects can also
be created with the specialized functions years()
, months()
, weeks()
,
days()
, hours()
, minutes()
, and seconds()
. These objects can be added
to and subtracted to date-times to create a user interface similar to object
oriented programming.
Note: Arithmetic with periods can result in undefined behavior when
non-existent dates are involved (such as February 29th in non-leap years).
Please see Period for more details and %m+%
and
add_with_rollback()
for alternative operations.
a period object
Period, period()
, %m+%
,
add_with_rollback()
### Separate period and units vectors period(c(90, 5), c("second", "minute")) # "5M 90S" period(-1, "days") period(c(3, 1, 2, 13, 1), c("second", "minute", "hour", "day", "week")) period(c(1, -60), c("hour", "minute")) period(0, "second") ### Units as arguments period (second = 90, minute = 5) period(day = -1) period(second = 3, minute = 1, hour = 2, day = 13, week = 1) period(hour = 1, minute = -60) period(second = 0) period(c(1, -60), c("hour", "minute"), hour = c(1, 2), minute = c(3, 4)) ### Lubridate style parsing period("2M 1sec") period("2hours 2minutes 1second") period("2d 2H 2M 2S") period("2days 2hours 2mins 2secs") period("2 days, 2 hours, 2 mins, 2 secs") # Missing numerals default to 1. Repeated units are added up. duration("day day") ### ISO 8601 parsing period("P10M23DT23H") # M stands for months period("10DT10M") # M stands for minutes period("P3Y6M4DT12H30M5S") # M for both minutes and months period("P23DT60H 20min 100 sec") # mixing ISO and lubridate style parsing ### Comparison with characters (from v1.6.0) duration("day 2 sec") > "day 1sec" ### Elementary Constructors x <- ymd("2009-08-03") x + days(1) + hours(6) + minutes(30) x + days(100) - hours(8) class(as.Date("2009-08-09") + days(1)) # retains Date class as.Date("2009-08-09") + hours(12) class(as.Date("2009-08-09") + hours(12)) # converts to POSIXt class to accomodate time units years(1) - months(7) c(1:3) * hours(1) hours(1:3) # sequencing y <- ymd(090101) # "2009-01-01 CST" y + months(0:11) # compare DST handling to durations boundary <- ymd_hms("2009-03-08 01:59:59", tz="America/Chicago") boundary + days(1) # period boundary + ddays(1) # duration is.period(as.Date("2009-08-03")) # FALSE is.period(period(months= 1, days = 15)) # TRUE


{% extends "template.html" %} {% block title %}Symptoms{% endblock %} {% block symptoms_active %}active{% endblock %} {% block body %}
According to the
World Health Organization,
Some potential COVID-19 symtpoms you may experience are:
According to the
World Health Organization,
Some potential COVID-19 treatments you should consider are: