ElixirDropbox v0.0.7 ElixirDropbox.Paper.Docs
Link to this section Summary
Functions
Marks the given Paper doc as archived
Creates a new Paper doc with the provided content
Exports and downloads Paper doc either as HTML or markdown
Return the list of all Paper docs according to the argument specifications
Updates an existing Paper doc with the provided content
Retrieves folder information for the given Paper doc
Permanently deletes the given Paper doc
Link to this section Functions
Marks the given Paper doc as archived.
Example
ElixirDropbox.Paper.Docs.docs_archive client, “”
More info at: https://www.dropbox.com/developers/documentation/http/documentation#paper-docs-create
Creates a new Paper doc with the provided content.
Example
ElixirDropbox.Paper.Docs.docs_create client, “”, “”, “”
More info at: https://www.dropbox.com/developers/documentation/http/documentation#paper-docs-create
Exports and downloads Paper doc either as HTML or markdown.
Example
ElixirDropbox.Paper.Docs.docs_download client, “”, “”
More info at: https://www.dropbox.com/developers/documentation/http/documentation#paper-docs-download
Return the list of all Paper docs according to the argument specifications.
Example
ElixirDropbox.Paper.Docs.docs_list client
More info at: https://www.dropbox.com/developers/documentation/http/documentation#paper-docs-list
Updates an existing Paper doc with the provided content.


{#- News blurbs appear at the top of the home page. Generally there should be no more than four items. -#}
{%- set rd_int = request_datetime.strftime("%Y%m%d")|int -%}
{%- if rd_int >= 20190923 and rd_int <= 20190927 -%}
23 Sep 2019: Our giving campaign is this week. Support arXiv with a donation!
{%- endif -%}
08 Jan 2020: Congratulations to arXiv founder Paul Ginsparg for being awarded the 2020 Karl Taylor Compton Medal for Leadership in Physics
06 Jan 2020: Martin Luther King, Jr. Holiday Schedule announced


${'Enter your email address and choose a new password.'|trans}
${'The password was modified successfully. Please'|trans}
${'log in'|trans}
${'using the new password.'|trans}${'This token has already been used. Please resend reset password email.'|trans}${'There was an error, you may need to start the'|trans}
${'reset process'|trans}
${'again.'|trans}


How does migration affect destination labor markets?
Simplistic Positions
Immigrants do jobs that natives don't want?
or
Immigrants steal native jobs and drive down wages?
Empirical question for neoclassical model
Compliments or substitutes?
Production Function
$$Q = f(X_1, X_2,...,X_j, K)$$
Demand Function
$$r_l = f_l(X_1, X_2,...,X_j, K)$$
Supply Function
$$X_l = S_l(r_l, Y_l)$$
Really ???
Homogeneous Labor
Heterogeneous Labor
Other Considerations
Natives may move
Immigrants buy things
Empirical Evidence
Any negative impact of immigration on natives appears to be small
Impact of immigration on immigrants is larger
Debate over distributional effects
Empirical Evidence: Problems
Hard to detect effects on low-skilled workers
Labor market influences locational choices
Mariel Boatlift
John Brousek, Against Wind and Tide: A Cuban Odyssey (1981)
Marielitos in Miami
May-Sep 1980: ~125,000 Cubans arrive in Miami. About half stay permanently there, representing a 7% increase in labor force overall; 20% increase in Cuban labor force.
Small (several hundred) group of inmates from jails and mental health facilities but rumors of thousands.
Lower education, lower English, more male, lower occupational attainment and attachment than existing population
34% wage gap with other Cubans in Miami (18% if we control for education, experience and gender)
Marielitos in Miami
50% increase in homicide rate
3-day riot in which 13 people were killed, driven partly by labor market competition from Cuban refugees
unemployment rose from 5% to 7.1%
Marielitos in Miami
Don't the rise in unemployment answer our question?
"The work of Card and Borjas is used to make general pronouncements about immigration policy, affecting tens of millions of people. But what do their rival results rest on?"
"[T]he Mariel of the economists is constructed around labour force data and economic theories that are designed to enable statistical logic to be brought to bear. But due to the fixation on the identification of causation they require Mariel to be torn out of its context and figured as a “natural experiment” a truly “exogenous event”. Furthermore, when examined in detail the identification of the effects that economists are fixated on, requires a treatment of data that turns out to be a strange form of anecdotage. It involves the calculation of confidence intervals for samples of barely more than a handful of respondents."


All-electric Bajaj Chetak scooter to be showcased in Pune on November 14
by Team ODAfter the all-electric Bajaj Chetak scooter broke cover last month in Delhi, the manufacturer will showcase their first step in the EV (Electric Vehicle) zone on November 14 i.e day after tomorrow in Pune. Unfortunately, the showcase event is exclusively for the media and the potential customers, EV, and two-wheeler enthusiast will have to wait until the Chetak reaches the dealerships post-launch - which is most likely to happen in January 2020. The showcase event is in tandem with the final leg of the Electric Yatra that was flagged off with the unveiling event in Delhi.
Bajaj could reveal more details about the Chetak and give us an idea of how it pits against the existing electric scooter lineup on sale in India such as the Ather 450 and Okinawa i-Praise.
So far we know that the drivetrain's electric motor sources its power from an IP67 rated Lithium-Ion battery that can be charged using a standard household 5-15 amp electrical outlet. Additionally, a home charging station is available at an additional cost. The drivetrain offers two drive modes - eco and sport along with a reverse assist mode.
The user/rider can connect their smartphone via 'Chetak' application to the Bajaj Chetak and gain access to the ride data and history. The 'Chetak' application also offers features such as user authentication.
Speaking of the styling the scooter has adapted to modern design cues but keeps the silhouette same. The headlamp is an all-LED unit with horseshoe-shaped DRLs. The mirrors get a unique shape with a matte finish. The panels get no aggressive styling elements, instead, sport a smooth bulge on either side of the engine cover that flows to the back of the scooter integrating the tail lamp. The scooter comes equipped with disc brake assembly in the front and a drum brake setup for the rear. The alloys are multi-spoke units with red-highlights.
The dashboard gets a futuristic circular unit that integrates range, speed, time, battery charge and ride mode indicators. Gone are the buttons and toggle switches - The new Bajaj Chetak is equipped with feather touch switch units.
The prices for the electric scooter will be announced on a later date but we expect an ex-showroom cost around Rs1 lakh considering the manufacturer's trait of aggressive pricing in the past.
Also Read,
Bajaj-Triumph middleweight motorcycle to be ready by 2022 Agreement to be signed this month
Bajaj Chetak: Top five facts you should know


func PeersToTxnProcessors(peers []fab.Peer) []fab.ProposalProcessor
PeersToTxnProcessors converts a slice of Peers to a slice of TxnProposalProcessors
Option describes a functional parameter for the New constructor
type Option func(*Peer) error
func FromPeerConfig(peerCfg *fab.NetworkPeer) Option
FromPeerConfig is a functional option for the peer.New constructor that configures a new peer from a apiconfig.NetworkPeer struct
func WithInsecure() Option
WithInsecure is a functional option for the peer.New constructor that configures the peer's grpc insecure option
func WithMSPID(mspID string) Option
WithMSPID is a functional option for the peer.New constructor that configures the peer's msp ID
func WithPeerProcessor(processor fab.ProposalProcessor) Option
WithPeerProcessor is a functional option for the peer.New constructor that configures the peer's proposal processor
func WithServerName(serverName string) Option
WithServerName is a functional option for the peer.New constructor that configures the peer's server name
func WithTLSCert(certificate *x509.Certificate) Option
WithTLSCert is a functional option for the peer.New constructor that configures the peer's TLS certificate
func WithURL(url string) Option
WithURL is a functional option for the peer.New constructor that configures the peer's URL
Peer represents a node in the target blockchain network to which HFC sends endorsement proposals, transaction ordering or query requests.
type Peer struct {
// contains filtered or unexported fields
}
func New(config fab.EndpointConfig, opts ...Option) (*Peer, error)
New Returns a new Peer instance
func (p *Peer) MSPID() string
MSPID gets the Peer mspID.
func (p *Peer) ProcessTransactionProposal(ctx reqContext.Context, proposal fab.ProcessProposalRequest) (*fab.TransactionProposalResponse, error)
ProcessTransactionProposal sends the created proposal to peer for endorsement.
func (p *Peer) String() string
func (p *Peer) URL() string
URL gets the Peer URL. Required property for the instance objects. It returns the address of the Peer.


Header 1
Header 2
Header 3
Header 4
Header 5
Header 6
asdf asdf asd fas df asdf as df asdf as df as df as df asd f asd fasdfasd f asdfasdf asdfasdf
Google
Lebron James
Serena William
Saquon Barkley
New York City
Tokyo
London
Click Me!
Regular Input:
Input (type="color"):
Input (type="file"):
Input (type="number"):
Input (type="datetime-local"):
Input (type="radio"):
Input (type="checkbox"):
Textarea Tag:
Select Tag:
Seattle
Portland
San Francisco


Bayelsa poll starts tomorrow as INEC retrieves sensitive election materials from CBN
by Olugbenga ADANIKININDICATIONS have shown that the controversial Bayelsa Governorship election scheduled for tomorrow, Saturday 16th November would still hold as planned.
Already the officials of the Independent National Electoral Commission (INEC) as early as 8 am visited the Central Bank of Nigeria (CBN) to retrieve sensitive election materials meant for the poll.
“Our officials are already at the CBN to access the sensitive election materials for tomorrow’s election,” Sarian Dangosu, Publicity Secretary for the commission told The ICIR Friday morning.
“Election materials are being distributed to the relevant officers.”
The ICIR had observed Thursday how two vans conveyed safety vests into the State INEC office in Yenagoa.
The safety vests were being sorted by the INEC officials who were supported by security operatives. They are meant for the electorate in the riverine parts of Bayelsa state some of which include Nembe, Brass, Southern Ijaw and parts of Ekeremor.
Lyon David, the All Progressives Congress (APC) had filed an appeal following a Federal High Court judgement which earlier nullified David’s candidacy for tomorrow’s poll.
Wilfred Ifeogha, Director of Voter’s Education and Publicity, the State Independence National Electoral Commission earlier promised on the commission’s resolve to decide on the matter once it acknowledges the court verdict. “For now, we have not heard anything. But once we get the court verdict, the commission will decide,” Wilfred on Thursday told The ICIR.
However, President Muhammadu Buhari advised all candidates to believe in the electoral process and be ready to accept outcome of the governorship election.


{% extends 'base.html' %}
{% block content %}
Biggest Gainers
| Symbol |
Name |
Price(Intraday) |
Change |
% Change |
Volume |
Avg Volume(3 months) |
Market Cap |
PE Ratio (TTM) |
{%for i in active_stocks%}
|
{{i["Symbol"]}}
|
{{i["Name"]}} |
{{i["Price (Intraday)"]}} |
{{i["Change"]}} |
{{i["% Change"]}} |
{{i["Volume"]}} |
{{i["Avg Vol (3 month)"]}} |
{{i["Market Cap"]}} |
{{i["PE Ratio (TTM)"]}} |
{%endfor%}
Most Watched stocks
| Symbol |
Name |
Market Price |
Market Change |
Market Change(%) |
Previous Close |
Open |
Average Volume |
52 Week range |
{%for stocks in most_whatched_stocks%}
|
{{stocks.symbol}}
|
{{stocks.short_name}} |
{{stocks.market_price}} |
{{stocks.market_change}} |
{{stocks.market_change_percent}} |
{{stocks.previous_close}} |
{{stocks.market_open}} |
{{stocks.avg_volume}} |
{{stocks.w_range}} |
{%endfor%}
{%endblock%}


Microsoft Office Add-InIf you want to publish information from Microsoft Office directly to EPiServer you need to install a client software on your computer. The installation is carried out by downloading the software from the internet. You also need to activate the website that you want to publish to. The client software gives you the choice Publish to EPiServer in MS Word, Excel and PowerPoint. Select the Microsoft Office Addin tab on the first page of the editor mode. This can be found by clicking the page Root in the structure. You can se which version of the client tool you have installed. If you don't have the latest version the button Install will be activated. Choose to install the client software and follow the instructions in the dialogue boxes displayed.
On the tab Activate you can choose to activate the web site as target for your Office publishing. It is possible to publish from Office to many different web sites. Choose the button Activate on each web site that is a target web site.
|
|
Read more in Editor's Manual - Read more in Administratorís Manual |


Bootstrap’s cards provide a flexible and extensible content containerVO with multiple variants and options.
Below is an example of a basic card with mixed content and a fixed width. Cards have no fixed width to start, so they’ll naturally fill the full width of its parent element. This is easily customized with our various sizing options.
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhere

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Go somewhere

Cards support a wide variety of content, including images, text, list groups, links, and more. Below are examples of what’s supported.
The building block of a card is the .card-body
. Use it whenever you need a padded section within a card.

This is some text within a card body.

Card titles are used by adding .card-title
to a <h*>
tag. In the same way, links are added and placed next to each other by adding .card-link
to an
tag.
Subtitles are used by adding a .card-subtitle
to a <h*>
tag. If the .card-title
and the .card-subtitle
items are placed in a .card-body
item, the card title and subtitle are aligned nicely.
Some quick example text to build on the card title and make up the bulk of the card's content.
Card link Another link

Card title

Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Card link
Another link

.card-img-top
places an image to the top of the card. With .card-text
, text can be added to the card. Text within .card-text
can also be styled with the standard HTML tags.
Some quick example text to build on the card title and make up the bulk of the card's content.

Some quick example text to build on the card title and make up the bulk of the card's content.

Create lists of content in a card with a flush list group.

Cras justo odio

Dapibus ac facilisis in

Vestibulum at eros

Featured

Cras justo odio

Dapibus ac facilisis in

Vestibulum at eros

Mix and match multiple content types to create the card you need, or throw everything in there. Shown below are image styles, blocks, text styles, and a list group—all wrapped in a fixed-width card.
Some quick example text to build on the card title and make up the bulk of the card's content.

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Cras justo odio

Dapibus ac facilisis in

Vestibulum at eros

Card link
Another link

Add an optional header and/or footer within a card.
With supporting text below as a natural lead-in to additional content.
Go somewhere

Featured

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

Card headers can be styled by adding .card-header
to <h*>
elements.
With supporting text below as a natural lead-in to additional content.
Go somewhere

Featured

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Integer posuere erat a ante.

Someone famous in Source Title

With supporting text below as a natural lead-in to additional content.
Go somewhere

Featured

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

2 days ago

You can quickly change the text alignment of any card—in its entirety or specific parts—with our text align classes.
With supporting text below as a natural lead-in to additional content.
Go somewhereWith supporting text below as a natural lead-in to additional content.
Go somewhereWith supporting text below as a natural lead-in to additional content.
Go somewhere

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

Add some navigation to a card’s header (or block) with Bootstrap’s nav components.
With supporting text below as a natural lead-in to additional content.
Go somewhere

Active

Link

Disabled

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

With supporting text below as a natural lead-in to additional content.
Go somewhere

Active

Link

Disabled

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

Cards include a few options for working with images. Choose from appending “image caps” at either end of a card, overlaying images with card content, or simply embedding the image in a card.
Similar to headers and footers, cards can include top and bottom “image caps”—images at the top or bottom of a card.
This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
Last updated 3 mins ago
This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
Last updated 3 mins ago

Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

Turn an image into a card background and overlay your card’s text. Depending on the image, you may or may not need additional styles or utilities.

Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago


This Slider has all default settings.
I'm a title for Slide #1
I'm a title for Slide #2
I'm a title for Slide #3


Spectral Harp is a sound toy that generates sound by letting you strum or tap strings that represent portions of the audible spectrum. You can produce more variations in sound by using the knobs along the bottom to control spectrum density, pitch, decay, and a bit crush effect.


LOADING EVIDENCE DESCRIPTION
No comments found for Suggested Change #.
Posted by user.nickname comment.created_at
comment.text
Login to post comments.
Posted by user.nickname comment.created_at
comment.text


We are killing the ecosystem of the planet we live on. The human population grows larger every year, lasts longer with every generation and requires more food and water for sustenance and nourishment.
Why is this a problem?
Farming and livestock need land, and that land needs to be working. Working land too often kills the nutrients in the soil that make it fertile.
Tillage, fertilization and the mass use of pesticides release ammonia, nitrate, phosphorus and other hazardous chemicals that affect our air, water and soil quality.
Since all of us need to eat — out of a love for food and as a requirement for living — we need more acres of land for our livestock and crops. With the need for more farmland comes deforestation. Unfortunately, deforestation brings the loss of habitat for millions of species, climate change and a further subtraction to the carbon sink of the planet.
What Is Agriculture?
The science of agriculture is responsible for mankind’s ability to establish infrastructure, complex societies and even cultural traditions. Before discovering or mastering this science, humans hunted and gathered their food.
In learning how to nurture and influence food growth and production, the clans and tribes of humanity settled lands and put down roots
Instead of needing to follow prey, or search for edibles in the undergrowth, humans learned to till the land and turn the soil. This allowed the opportunity to stay still and develop construction, technology and establish economies and trade.
Leapfrog a few thousand years to the present day, and we circle back to earlier statements about us killing the ecosystem, living longer and growing in population. With the development of larger civilizations and advancements in technology, mankind is using more resources.
We have more land, more fresh water and more livestock than ever recorded, and because of this our ecosystem suffers.
Fish Farming:
Remember that fish tank you had as a child? Think bigger than that, and add in the use of drones. The significance of fish farms as an alternative to food production is the industry’s low risk impact toward the ecosystem, and they have already started being approved in other countries.
There are concerns of crowding together thousands of fish in an artificial environment, but with proper development and consideration artificial environments are unnecessary. Any venture regarding food production includes the production of waste. Fish farms will produce feces, uneaten food, and dead fish to be flushed into the surrounding waters where they can potentially contaminate the water supply. But this issue is rectified through wastewater treatment and recycling.
Creating aquatic plots where fish and shellfish grow and get farmed does not require methods that cause long lasting damage to the environment. Some of the major countries in Africa are already exploring the benefits of “aquaculture,” which include:
- Produces enough food to feed an entire continent
- Increases a nation’s economic strength
- Enhances wild fish, shellfish and aquatic plant life
- Restores threatened and endangered aquatic species
- Poses a low risk to both the local and global ecosystem
- Minimizes risk to human life as maintenance is remotely handled using drones
Underwater Farming
Underwater farming mimics its title in that these represent actual farms underwater. It turns out this is not only possible, but a few groups currently practice the technique. Nemo’s Garden project represents one example of underwater farming, combining two futuristic concepts — the biosphere and desalination. Nemo’s Garden aims to create self-sustainable gardens that float on the ocean floor. This type of farming utilizes zero pesticides without bugs present, garners sunlight from transparent domes and with no wind to spread harmful diseases the crops have a better chance at survival.
3D Ocean Farms
Trade the glasses for goggles. Instead of breaking ground on new pastureland or enduring the pungent aroma of fertilizer, it turns out a single buoy can hold plenty of food crops. From sugar kelp to baskets of clams, oysters and scallops, you can have a 20-acre farm with no loss of land or pollution. In fact, one of the best aspects of the ocean farm is the cultivation of kelp. Kelp helps the ecosystem and environment by soaking up carbon and producing sugars that can make biofuels.
Bren Smith, one of the entrepreneurs pioneering this new industry, started off as an oyster grower until the effects of global warming began stunting his yields. According to Smith, 3D Ocean Farms can feed the world from a small aquatic farm area. The only catch is a new worldwide diet of shellfish and kelp. Seems like a small price to pay for wiping out global hunger.
What are some other alternatives you think can help mitigate the damage done to the ecosystem?


Sphinx 常问问题¶
这是关于Sphinx的常见问题列表。随意提出新的条目！
我如何能…¶
- … 创建没有LaTeX的PDF文件？
rinohtype provides PDF构建器，可用作LaTeX构建器的替代品。
- … 获得部分号码？
They are automatic in LaTeX output; for HTML, give a
:numbered:
option to thetoctree
directive where you want to start numbering.- … 自定义构建的HTML文件的外观？
使用主题，请参阅 HTML.
- … 添加全球替换或包括？
Add them in the
rst_prolog
orrst_epilog
config value.- … 在侧边栏中显示整个TOC树？
Use the
toctree
callable in a custom layout template, probably in thesidebartoc
block.- … 写我自己的扩展？
See the 扩展教程.
- … 使用MoinMoin标记从我现有的文档转换？
The easiest way is to convert to xhtml, then convert xhtml to reST. You’ll still need to mark up classes and such, but the headings and code examples come through cleanly.
- … 从Sphinx文档创建HTML幻灯片？
See the “Hieroglyph” package at https://github.com/nyergler/hieroglyph.
For many more extensions and other contributed stuff, see the sphinx-contrib repository.
使用Sphinx…¶
- Read the Docs
https://readthedocs.org is a documentation hosting service based around Sphinx. They will host sphinx documentation, along with supporting a number of other features including version support, PDF generation, and more. The Getting Started guide is a good place to start.
- Epydoc
There’s a third-party extension providing an api role which refers to Epydoc’s API docs for a given identifier.
- Doxygen
Michael Jones is developing a reST/Sphinx bridge to doxygen called breathe.
- SCons
Glenn Hutchings has written a SCons build script to build Sphinx documentation; it is hosted here: https://bitbucket.org/zondo/sphinx-scons
- PyPI
Jannis Leidel wrote a setuptools command that automatically uploads Sphinx documentation to the PyPI package documentation area at https://pythonhosted.org/.
- GitHub Pages
Directories starting with underscores are ignored by default which breaks static files in Sphinx. GitHub’s preprocessor can be disabled to support Sphinx HTML output properly.
- MediaWiki
See https://bitbucket.org/kevindunn/sphinx-wiki/wiki/Home, a project by Kevin Dunn.
- Google Analytics
You can use a custom
layout.html
template, like this:{% extends "!layout.html" %} {%- block extrahead %} {{ super() }}  {% endblock %} {% block footer %} {{ super() }}
This page uses  Google Analytics to collect statistics. You can disable it by blocking the JavaScript coming from www.google-analytics.com.
 {% endblock %}
- Google Search
To replace Sphinx’s built-in search function with Google Search, proceed as follows:
Go to https://cse.google.com/cse/all to create the Google Search code snippet.
Copy the code snippet and paste it into
_templates/searchbox.html
in your Sphinx project:

{{ _('Quick search') }}
  <gcse:search></gcse:search>

Add
searchbox.html
to thehtml_sidebars
configuration value.
Epub 信息¶
以下列表提供了有关创建epub文件的一些提示:
将文本拆分为多个文件。单个HTML文件越长，电子书阅读器渲染它们的时间就越长。在极端情况下，渲染可能需要一分钟。
尽量减少标记。这也支付渲染时间。
For some readers you can use embedded or external fonts using the CSS
@font-face
directive. This is extremely useful for code listings which are often cut at the right margin. The default Courier font (or variant) is quite wide and you can only display up to 60 characters on a line. If you replace it with a narrower font, you can get more characters on a line. You may even use FontForge and create narrow variants of some free font. In my case I get up to 70 characters on a line.您可能需要进行一些实验，直到获得合理的结果。
Test the created epubs. You can use several alternatives. The ones I am aware of are Epubcheck, Calibre, FBreader (although it does not render the CSS), and Bookworm. For Bookworm, you can download the source from https://code.google.com/archive/p/threepress and run your own local server.
Large floating divs are not displayed properly. If they cover more than one page, the div is only shown on the first page. In that case you can copy the
epub.css
from thesphinx/themes/epub/static/
directory to your local_static/
directory and remove the float settings.Files that are inserted outside of the
toctree
directive must be manually included. This sometimes applies to appendixes, e.g. the glossary or the indices. You can add them with theepub_post_files
option.The handling of the epub cover page differs from the reStructuredText procedure which automatically resolves image paths and puts the images into the
_images
directory. For the epub cover page put the image in thehtml_static_path
directory and reference it with its full path in theepub_cover
config option.kindlegen command can convert from epub3 resulting file to
.mobi
file for Kindle. You can getyourdoc.mobi
under_build/epub
after the following command:$ make epub $ kindlegen _build/epub/yourdoc.epub
The kindlegen command doesn’t accept documents that have section titles surrounding
toctree
directive:Section Title ============= .. toctree:: subdocument Section After Toc Tree ======================
kindlegen assumes all documents order in line, but the resulting document has complicated order for kindlegen:
``parent.xhtml`` -> ``child.xhtml`` -> ``parent.xhtml``
If you get the following error, fix your document structure:
Error(prcgen):E24011: TOC section scope is not included in the parent chapter:(title) Error(prcgen):E24001: The table of content could not be built.
Texinfo 信息¶
有两个用于读取Info文件的主程序，info
和GNU Emacs。 info
程序具有较少的功能，但在大多数Unix环境中都可用，并且可以从终端快速访问。 Emacs提供更好的字体和颜色显示，并支持广泛的自定义（当然）。
显示链接¶
One noticeable problem you may encounter with the generated Info files is how references are displayed. If you read the source of an Info file, a reference to this section would look like:
* note Displaying Links: target-id
In the stand-alone reader, info
, references are displayed just as they
appear in the source. Emacs, on the other-hand, will by default replace
*note:
with see
and hide the target-id
. For example:
The exact behavior of how Emacs displays references is dependent on the variable
Info-hide-note-references
. If set to the value of hide
, Emacs will hide
both the *note:
part and the target-id
. This is generally the best way
to view Sphinx-based documents since they often make frequent use of links and
do not take this limitation into account. However, changing this variable
affects how all Info documents are displayed and most do take this behavior
into account.
If you want Emacs to display Info files produced by Sphinx using the value
hide
for Info-hide-note-references
and the default value for all other
Info files, try adding the following Emacs Lisp code to your start-up file,
~/.emacs.d/init.el
.
(defadvice info-insert-file-contents (after
sphinx-info-insert-file-contents
activate)
"Hack to make `Info-hide-note-references' buffer-local and
automatically set to `hide' iff it can be determined that this file
was created from a Texinfo file generated by Docutils or Sphinx."
(set (make-local-variable 'Info-hide-note-references)
(default-value 'Info-hide-note-references))
(save-excursion
(save-restriction
(widen) (goto-char (point-min))
(when (re-search-forward
"^Generated by \\(Sphinx\\|Docutils\\)"
(save-excursion (search-forward "\x1f" nil t)) t)
(set (make-local-variable 'Info-hide-note-references)
'hide)))))
注释¶
The following notes may be helpful if you want to create Texinfo files:
Each section corresponds to a different
node
in the Info file.Colons (
:
) cannot be properly escaped in menu entries and xrefs. They will be replaced with semicolons (;
).Links to external Info files can be created using the somewhat official URI scheme
info
. For example:info:Texinfo#makeinfo_options
Inline markup
The standard formatting for
*strong*
and_emphasis_
can result in ambiguous output when used to markup parameter names and other values. Since this is a fairly common practice, the default formatting has been changed so thatemphasis
andstrong
are now displayed like`literal'
s.The standard formatting can be re-enabled by adding the following to your
conf.py
:texinfo_elements = {'preamble': """ @definfoenclose strong,*,* @definfoenclose emph,_,_ """}


Sentence imposed on man caught storing guns belonging to dissident republicans `unduly lenient'
AN 18-month sentence imposed on a man caught storing guns and ammunition belonging to dissident republicans was unduly lenient, the Court of Appeal has ruled.
But with Edward Corr having already served a term behind bars for weapons he claims he was pressured into keeping, judges decided not to order his return to jail.
Lord Justice Stephens said it would unfair to expose him to the risk of a significantly heavier prison sentence on a new basis never advanced at trial.
The verdict came in a challenge mounted by the Director of Public Prosecutions (DPP).
Corr (40) was arrested after police searched a shed at his Foxes Glen home in Dunmurry in October 2016.
Bags found contained two blank calibre pistols, magazines, ammunition and a Yugoslavian Skorpion M48 submachine gun.
Corr claimed he had been threatened at gunpoint to store the weapons six weeks earlier by a man who said he was on official Oglaigh na hEireann business.
During police interviews he said he had not slept for nearly six weeks and feared being shot.
In May 2018 he admitted possessing firearms and ammunition with intent to endanger life and possession of a prohibited weapon.
A judge at Belfast Crown Court imposed an 18-month sentence for the offences - half to be served in prison.
The DPP appealed the term.
It was contended that the trial judge was wrong in finding exceptional circumstances to justify departing from the five-year minimum for the offences.
Ruling on the appeal, Lord Justice Stephens agreed with the original assessment of exceptional circumstances, based on the pressure placed on Corr as a vulnerable individual.
However, he identified a failure to place sufficient emphasis on the specific criminal intent linked to a haul including a "lethal, deadly" submachine gun.
"These weapons and ammunition were possessed by the respondent with the intent to enable members of a dissident terrorist organisation to endanger life," he pointed out.
A sentence of three years and six months would have been appropriate, the court concluded.
But appeal judges also held that the prosecution was raising an entirely new case.


| envRefClass-class {methods} | R Documentation |
"envRefClass"
Support Class to Implement R Objects using Reference Semantics
The software described here is an initial version. The eventual goal is to support reference-style classes with software in R itself or using inter-system interfaces. The current implementation (R version 2.12.0) is preliminary and subject to change, and currently includes only the R-only implementation. Developers are encouraged to experiment with the software, but the description here is more than usually subject to change.
This class implements basic reference-style semantics for R
objects. Objects normally do not come directly from this class, but
from subclasses defined by a call to setRefClass
.
The documentation below is technical background describing the implementation, but applications
should use the interface documented under setRefClass
,
in particular the $
operator and field accessor functions as
described there.
The design of reference classes for R divides those classes up
according to the mechanism used for implementing references, fields,
and class methods.
Each version of this mechanism is defined by a basic reference
class, which must implement a set of methods and provide some
further information used by setRefClass
.
The required methods are for operators $
and $<-
to
get and set a field in an object, and for initialize
to
initialize objects.
To support these methods, the basic reference class needs to have some
implementation mechanism to store and retrieve data from fields in the
object.
The mechanism needs to be consistent with reference semantics; that
is, changes made to the contents of an object are global, seen by any
code accessing that object, rather than only local to the function
call where the change takes place.
As described below, class envRefClass
implements reference
semantics through specialized use of environment
objects.
Other basic reference classes may use an interface to a language such
as Java or C++ using reference semantics for classes.
Usually, the R user will be able to invoke class methods on the
class, using the $
operator. The basic reference class
method for $
needs to make this possible. Essentially, the
operator must return an R function corresponding to the object and
the class method name.
Class methods may include an implementation of data abstraction, in
the sense that fields are accessed by “get” and “set”
methods. The basic reference class provides this facility by setting
the "fieldAccessorGenerator"
slot in its definition to a
function of one variable.
This function will be called by setRefClass
with the
vector of field names as arguments.
The generator function must return a list of defined accessor
functions.
An element corresponding to a get operation is invoked with no
arguments and should extract the corresponding field; an element for a
set operation will be invoked with a single argument, the value to be
assigned to the field.
The implementation needs to supply the object, since that is not an
argument in the method invocation.
The mechanism used currently by envRefClass
is described below.
Two virtual classes are supplied to test for reference objects:
is(x, "refClass")
tests whether x
comes from a class
defined using the reference class mechanism described here;
is(x, "refObject")
tests whether the object has reference
semantics generally, including the previous classes and also classes
inheriting from the R types with reference semantics, such as
"environment"
.
Installed class methods are "classMethodDefinition"
objects,
with slots that identify the name of the function as a class method
and the other class methods called from this method.
The latter information is determined heuristically when the class is
defined by using the codetools
recommended package. This
package must be installed when reference classes are defined, but is
not needed in order to use existing reference classes.
John Chambers


I am a rock climbing health coach and pet sitter living in Davidson, NC. I enjoy spending time with my boyfriend (Michael) and my dog (Melly) in the mountains. I also enjoy paleo cooking, nutrition, making earrings, and taking adventures.
I decided to learn coding a few months ago when a friend pointed out the similarities between coding and rock climbing. Problem solving, constant challenges, brief victories, and unlimited amounts of frustration. I looked for a bootcamp that would provide a full-stack education to learn as much as I could and settled on the UNCC program. I am very excited about this journey.


30
1 These are sayings containing wisdom, the sayings of Agur son of Jakeh.
Agur wrote them for Ithiel, yes, to Ithiel and to Ucal.
2 I am more like an animal than any human being!
I lack the understanding that a human being has!
3 I have not learned about wisdom;
I do not know Yahweh, the Holy One.
4 Who has ever gone up to heaven and come back down again?
Who can catch the wind in his hand?
Who can gather up the waters in an overcoat?
Who set the limits to the size of the earth?
What is his name? And what is the name of his son?
Do you know?
5 Every word of God is proven by a test that it is true;
he is like a shield that protects those who run to him.
6 Be careful not to add to Yahweh's words more than he has said;
if you do that, he will correct you and he will prove that you lied about what he said.
7 I ask Yahweh for two things,
and that he give them to me before I die.
8 Put vain pride and lies far away from me;
and let me neither have poverty or riches,
just give me the food I need every day.
9 For if I have too much money,
I will deny my God, and say, "Who is Yahweh?"
 Give to us!

17 The one who dishonors his father,
and who disrespects and disobeys his mother.
such a person would be killed and have his eyes pecked out by crows,
and would be devoured by the vultures.
18 There are three wonderful things I can mention;
no, there are four that are too amazing and I cannot understand them.
19 How eagles fly in the sky;
how snakes move over a big rock,
how ships can sail on the seas,
and how a man is able to win the love of a woman.
20 This is what a woman is like who is not faithful to her husband:
she eats and then wipes her mouth,
and she says, "There is nothing wrong in what I have done."
21 There are four things that make the earth tremble:
22 the earth trembles with a slave becomes a king;
the earth trembles when fool has eaten his food and is filled;
23 the earth trembles when a woman who is hated by all, gets married,
and the earth trembles, when the maid becomes the wife of her master.
24 There are four creatures on the earth that are small, but they are very wise.
25 Ants are not strong,
but they store up food during the summer in order to have it during the winter.
26 Rock badgers also are not strong,
but they make their homes among the rocks.
27 Locusts do not have a king,
but they march in rank like soldiers in the army.
28 Lizards are very small and you can hold them in your hand,
but they get inside kings' palaces.
29 There are four animals that walk with great pride and they are very impressive as they walk.
30 Lions, which are the strongest among wild animals
and are not afraid of any of them.
31 Strutting roosters, and male goats,
and kings who stand with their soldiers beside them.
32 If you have acted foolishly, exalting yourself,
or if you been planning to do something evil,
put your hand over your mouth! Stop it!
33 Just as when you churn milk, and it produces butter,
even so, if you hit someone hard on his nose, the result is that his nose will bleed;
and, in the same way, when people are angry, they will argue and fight.


EUR/USD drops further and heads for a test of 1.1050
by Matías Salord- Euro looking weaker from a technical perspective against the US dollar.
- Greenback rises across the board during the American session on the back of higher US yields.
The EUR/USD pair continued to decline during the American session and bottomed at 1.1055, slightly above yesterday’s low. Earlier today the pair reached at 1.1095, the highest level in two weeks but then reversed.
Still, the pair holds in a consolidation range, unable to recover 1.1100 but now closer to the lower limit that is seen at 1.1050. A break lower would likely increase the bearish pressure. Also, it is back below the 20-day moving average. On the upside, the euro needs to avoid a close under 1.1060 to retain some support while a break on top of 1.1100 would clear the way to further gains.
The greenback gained momentum during the American session amid rising US yields. The 10-year climbed to 1.78%, rebounding from the two-week lows. The DXY is up, back at the 98.00 area.
“Today’s economic agenda was focused on the U.S. with mixed data. The Philadelphia Fed business outlook improved more than expected in November (10.4, cons. 6, previous 5.6), but last week’s initial jobless claims and existing home sales disappointed”, explained BBVA analysts.
Tomorrow data to be released includes preliminary Markit PMIs from the Eurozone and also the US. Trade developments continues to be a critical driver in market sentiment and headlines will be watched closely.
EUR/USD
| Overview | |
|---|---|
| Today last price | 1.106 |
| Today Daily Change | -0.0014 |
| Today Daily Change % | -0.13 |
| Today daily open | 1.1074 |
| Trends | |
|---|---|
| Daily SMA20 | 1.1078 |
| Daily SMA50 | 1.1044 |
| Daily SMA100 | 1.1091 |
| Daily SMA200 | 1.1176 |
| Levels | |
|---|---|
| Previous Daily High | 1.1082 |
| Previous Daily Low | 1.1052 |
| Previous Weekly High | 1.1058 |
| Previous Weekly Low | 1.0989 |
| Previous Monthly High | 1.118 |
| Previous Monthly Low | 1.0879 |
| Daily Fibonacci 38.2% | 1.1064 |
| Daily Fibonacci 61.8% | 1.1071 |
| Daily Pivot Point S1 | 1.1057 |
| Daily Pivot Point S2 | 1.104 |
| Daily Pivot Point S3 | 1.1027 |
| Daily Pivot Point R1 | 1.1087 |
| Daily Pivot Point R2 | 1.11 |
| Daily Pivot Point R3 | 1.1116 |


On The Road with Drew Holcomb and the Neighbors
We went to Holcomb’s show at Gramercy Theater and it did not disappoint.
by Jacob BlickenstaffDrew Holcomb and the Neighbors have built a sizable following over nearly 15 years of making songs that explore themes of love, kinship, and perseverance shaded with just enough wit and honesty to ground it in reality. They recently wrapped up their tour for Dragons, Holcomb’s ninth studio album that came out earlier this year.
Holcomb has created meaningful community within his musical life. Two of the Neighbors—Nathan Dugger, guitar, and Rich Brinsfield, bass—have been with Holcomb for well over a decade. Dragons features many guests and collaborators including Holcomb’s wife, Ellie, The Lone Bellow, Natalie Hemby, and Lori McKenna. Holcomb also organizes the Moon River Music Festival in Chattanooga, hosts an annual golf-and-music weekend, and runs a subscription record club.
While it is grown-up music, Dragons would go over well in the family station wagon. (The same can be said of Holcomb’s entire discography, really.) The songs contain anthemic choruses, a burnished pop sheen over a rootsy core, and positive messages about love, parenting, optimism, and life that would good lessons for any age.
It might ride up to the edge of feeling overly wholesome, but on a deeper level, it’s a radical call to enjoy normalcy, engage in the social fabric of friendships and family, and do the hard work to maintain relationships.


--- layout: post title: 'Maze Generation: Prim''s Algorithm' post_id: 18 categories: - under the hood date: 2011-01-10 06:57:00.000000000 -07:00 author: Jamis permalink: 2011/1/10/maze-generation-prim-s-algorithm.html summary: > A method for generating random mazes using a simplified version of Prim's algorithm ---
My last post was about using Kruskal’s algorithm to generate random mazes. This article is about using another minimal spanning tree algorithm to do the same: Prim’s algorithm.
If you recall, the random variant of Kruskal’s algorithm worked by randomly selecting edges from the graph, and adding them to the maze if they connected disjoint trees. Visually, this had the effect of growing the maze from many random points across the grid.
Prim’s approaches the problem from a different angle. Rather than working edgewise across the entire graph, it starts at one point, and grows outward from that point. The standard version of the algorithm works something like this:
And the result is a minimal spanning tree of G. Straightforward enough!
With one little change, it becomes a suitable method for generating mazes: just change step 2 so that instead of selecting the edge with the smallest weight, you select an edge at random, as long as it bridges the so-called “frontier” of the maze (the set of edges that move from within the maze, to a cell that is outside the maze).
As before, let’s walk through an example and see how it works in practice.
Let’s start with a simple 3×3 grid:
Now, we choose a point at random and add it to the maze:
For efficiency, let’s call the set of all cells that are not yet in the maze, but are adjacent to a cell that is in the maze, the “frontier”. We’ll color the frontier cells red:
Now, we choose one of these frontier cells at random and carve a passage from that frontier cell to whichever adjacent cell is already part of the maze. Then we’ll mark the neighbors of the formerly frontier cell, as “frontier” cells themselves.
|
|
|
|
Rinse and repeat:
|
|
|
|
Now, here’s an interesting bit. Look what happens if we (ahem, “randomly”) choose the cell at (1,0) (the top middle). It is adjacent to two cells that are already “in” the maze. The algorithm resolves this by simply choosing one of the “in” neighbors at random. Prim’s doesn’t care which neighbor is picked, only that each frontier cell eventually be connected to a cell already within the maze.
|
|
|
|
Let’s just keep it going to the end, now, chug chug chug:
|
|
|
|
|
||||||||||||||||||||||||||||||||||||
|
|
|
|
|
The algorithm terminates when there are no more frontier cells to choose from, giving us the anticipated perfect maze.
The largest bit of implementing Prim’s algorithm (for me) seems to go toward managing the interactions with that frontier set. Maybe your experience will be different. You basically need two operations: mark a cell as “in” (which then marks the “out” neighbors as frontier cells), and one that returns all the “in” neighbors of a given frontier cell. Something like this: (and please excuse the apparent hand-waving around the add_frontier method; it’s not complicated, just not entirely relevant. The full implementation is given at the end of the article.)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
def mark(x, y, grid, frontier) grid[y][x] |= IN add_frontier(x-1, y, grid, frontier) add_frontier(x+1, y, grid, frontier) add_frontier(x, y-1, grid, frontier) add_frontier(x, y+1, grid, frontier) end def neighbors(x, y, grid) n = [] n << [x-1, y] if x > 0 && grid[y][x-1] & IN != 0 n << [x+1, y] if x+1 < grid[y].length && grid[y][x+1] & IN != 0 n << [x, y-1] if y > 0 && grid[y-1][x] & IN != 0 n << [x, y+1] if y+1 < grid.length && grid[y+1][x] & IN != 0 n end |
Once you’ve got that implemented (along with the necessary supporting methods and data structures), the algorithm itself is remarkably straightforward.
You start by marking a random cell:
1 |
mark(rand(width), rand(height), grid, frontier) |
Then, you simply iterate until the frontier set is empty:
1 2 3 |
until frontier.empty? # ... end |
Within the loop, we choose a frontier cell at random:
1 |
x, y = frontier.delete_at(rand(frontier.length)) |
Then we choose a random “in” neighbor of that frontier cell:
1 2 |
n = neighbors(x, y, grid) nx, ny = n[rand(n.length)] |
Then, we record a passage from the neighbor cell to the frontier cell:
1 2 3 |
dir = direction(x, y, nx, ny)
grid[y][x] |= dir
grid[ny][nx] |= OPPOSITE[dir]
|
And finally, we mark the frontier cell as being “in” the maze (and add any of its outside neighbors to the frontier):
1 |
mark(x, y, grid, frontier) |
And you’re done! For those of you not using IE (which will make a total mess of this), here are two demos you can play with to see Prim’s in action:
My complete implementation (in Ruby) is here:
Mazes generated by Prim’s algorithm share many of the characteristics of those created via Kruskal’s algorithm, such as having an abundance of short cul-de-sacs. Such an aesthetic appeals to some, and not to others, but it definitely has this to say for it: for large mazes, the short cul-de-sacs make the maze harder to puzzle out at a glance!
Whether you enjoy the look of these mazes or not, I encourage you to try your hand at Prim’s algorithm. It’s a fun algorithm to code, not least of all because it comes together so easily. Personally, I enjoy watching the animation: it puts me in mind of a flame consuming a sheet of paper.
Please do share what you come up with. Have fun!


"Improving Kernel-Based Protein-Protein Interaction Extraction by Unsupervised Word Representation" - codes and data
Word Representation
Code and data used for BioNLP problems.
The code and data are based upon Li et.al “Improving Kernel-Based Protein-Protein Interaction Extraction by Unsupervised Word Representation”
In the paper, we introduce three word representation methods to improve the performance of Protein-Protein Interaction task.
Resource
1.Word2Vec: a tool ...


[gecode-users] fzn-gecode -mode gist and variable names
Guido Tack
guido.tack at monash.edu
Fri Aug 12 03:06:08 CEST 2016
No, that wouldn’t work. I just pushed a change that should fix it properly.
Cheers,
Guido
--
GUIDO TACK
Senior Lecturer
Information Technology
Monash University
Level 6, Room 6.40, Building H, Caulfield Campus
900 Dandenong Road
Caulfield East VIC 3145
Australia
T: +61 3 9903 1214
E: guido.tack at monash.edu <mailto:guido.tack at monash.edu>
http://www.csse.monash.edu/~guidot/ <http://www.csse.monash.edu/~guidot/>
> On 11 Aug 2016, at 8:22 PM, Christian Schulte <cschulte at kth.se> wrote:
>
> Guido, how about adding a search annotation “free”? Would that work? Cheers Christian
>
> --
> Christian Schulte, www.gecode.org/~schulte <http://www.gecode.org/~schulte>
> Professor of Computer Science, KTH, cschulte at kth.se <mailto:cschulte at kth.se>
> Expert Researcher, SICS, cschulte at sics.se <mailto:cschulte at sics.se>
>
> From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf Of Mats Carlsson
> Sent: Thursday, August 11, 2016 09:28
> To: Guido Tack
> Cc: users at gecode.org
> Subject: Re: [gecode-users] fzn-gecode -mode gist and variable names
>
> Is there a way to _tell_ fzn-gecode to use free search and to ignore any search annotation?
>
> On Thu, Aug 11, 2016 at 9:10 AM, Guido Tack <guido.tack at monash.edu <mailto:guido.tack at monash.edu>> wrote:
> The -f command line option is actually a no-op, it’s just there to maintain compatibility with the MiniZinc challenge (the specification is that you /may/ ignore the search annotation, not that you /must/…).
>
> Cheers,
> Guido
>
> --
> GUIDO TACK
> Senior Lecturer
>
> Information Technology
> Monash University
> Level 6, Room 6.40, Building H, Caulfield Campus
> 900 Dandenong Road
> Caulfield East VIC 3145
> Australia
>
> T: +61 3 9903 1214 <tel:%2B61%203%209903%201214>
> E: guido.tack at monash.edu <mailto:guido.tack at monash.edu>
> http://www.csse.monash.edu/~guidot/ <http://www.csse.monash.edu/~guidot/>
>
>> On 11 Aug 2016, at 5:06 PM, Mats Carlsson <matsc at sics.se <mailto:matsc at sics.se>> wrote:
>>
>> Thanks Guido. I need this in a context with free search, and by the way another unfortunate thing about fzn-gecode is that any search annotation seems to disable the -f flag.
>> So free search seems incompatible with Gist showing variable names... What a pity. I hope that you will return to these points eventually.
>>
>> Keep up the good work,
>>
>> On Thu, Aug 11, 2016 at 8:38 AM, Guido Tack <guido.tack at monash.edu <mailto:guido.tack at monash.edu>> wrote:
>> Hi Mats,
>>
>> this is a limitation in the current fzn-gecode interpreter, we can only get variable names for variables that are mentioned in a search annotation. So currently the only workaround is to include all variables in some search annotation (but of course I understand that that’s not necessarily what you want to do). I had a look at fixing this at some point, but it turned out to be more than just a few lines of code so I had to leave it for the time being.
>>
>> Cheers,
>> Guido
>>
>> --
>> GUIDO TACK
>> Senior Lecturer
>>
>> Information Technology
>> Monash University
>> Level 6, Room 6.40, Building H, Caulfield Campus
>> 900 Dandenong Road
>> Caulfield East VIC 3145
>> Australia
>>
>> T: +61 3 9903 1214 <tel:%2B61%203%209903%201214>
>> E: guido.tack at monash.edu <mailto:guido.tack at monash.edu>
>> http://www.csse.monash.edu/~guidot/ <http://www.csse.monash.edu/~guidot/>
>>
>>> On 19 Jul 2016, at 6:39 PM, Mats Carlsson <matsc at sics.se <mailto:matsc at sics.se>> wrote:
>>>
>>> Hi, I have a problem with fzn-gecode -mode gist, Gecode trunk 14847, MiniZinc 2.0.13.
>>> Namely, anonymous variable names like var[123] get displayed instead of the variable names of the .fzn file. Admittedly, the latter names are a bit awkward, but at least they enable me to relate back to the names of the MiniZinc model. But I have no idea how to map the var[...] names to the names of the .fzn file. I have tried to edit the .fzn file in various ways to make Gist use its names, but it has not helped. Is there some work-around?
>>>
>>> See the attachment for an example.
>>>
>>> --
>>> Mats Carlsson, SICS
>>> www.sics.se/~matsc <http://www.sics.se/~matsc>
>>> <tree.pdf>_______________________________________________
>>> Gecode users mailing list
>>> users at gecode.org <mailto:users at gecode.org>
>>> https://www.gecode.org/mailman/listinfo/gecode-users <https://www.gecode.org/mailman/listinfo/gecode-users>
>>
>>
>>
>>
>> --
>> Mats Carlsson, SICS
>> www.sics.se/~matsc <http://www.sics.se/~matsc>
>> _______________________________________________
>> Gecode users mailing list
>> users at gecode.org <mailto:users at gecode.org>
>> https://www.gecode.org/mailman/listinfo/gecode-users <https://www.gecode.org/mailman/listinfo/gecode-users>
>
>
>
>
> --
> Mats Carlsson, SICS
> www.sics.se/~matsc <http://www.sics.se/~matsc>_______________________________________________
> Gecode users mailing list
> users at gecode.org <mailto:users at gecode.org>
> https://www.gecode.org/mailman/listinfo/gecode-users <https://www.gecode.org/mailman/listinfo/gecode-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20160812/bc0f6188/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.gecode.org/pipermail/users/attachments/20160812/bc0f6188/attachment-0001.sig>
More information about the users
mailing list


The async Example Application
The async example demonstrates how to define an asynchronous business method on a session bean, and call it from a web client. The MailerBean stateless session bean defines an asynchronous method, sendMessage, which uses the JavaMail API to send an email to a specified email address.
Note - This example needs to be configured for your environment before it runs correctly, and requires access to an SMTPS server.
Architecture of the async Example Application
The async application consists of a single stateless session bean, MailerBean, and a JavaServer Faces web application front-end that uses Facelets tags in XHTML files to display a form for users to enter the email address for the recipient of an email. The status of the email is updated when the email is finally sent.
The MailerBean session bean injects a JavaMail resource used to send an email message to an address specified by the user. The message is created, modified, and sent using the JavaMail API. The injected JavaMail resource is configured through the GlassFish Server Administration Console, or through a resource configuration file packaged with the application. The resource configuration can be modified at runtime by GlassFish Server administrator to use a different mail server or transport protocol.
@Asynchronous public Future<String> sendMessage(String email) { String status; try { Message message = new MimeMessage(session); message.setFrom(); message.setRecipients(Message.RecipientType.TO, InternetAddress.parse(email, false)); message.setSubject("Test message from async example"); message.setHeader("X-Mailer", "JavaMail"); DateFormat dateFormatter = DateFormat .getDateTimeInstance(DateFormat.LONG, DateFormat.SHORT); Date timeStamp = new Date(); String messageBody = "This is a test message from the async example " + "of the Java EE Tutorial. It was sent on " + dateFormatter.format(timeStamp) + "."; message.setText(messageBody); message.setSentDate(timeStamp); Transport.send(message); status = "Sent"; logger.log(Level.INFO, "Mail sent to {0}", email); } catch (MessagingException ex) { logger.severe("Error in sending message."); status = "Encountered an error"; logger.severe(ex.getMessage() + ex.getNextException().getMessage()); logger.severe(ex.getCause().getMessage()); } return new AsyncResult<String>(status); }
The web client consists of a Facelets template, template.xhtml, two Facelets clients, index.xhtml and response.xhtml, and a JavaServer Faces managed bean, MailerManagedBean. The index.xhtml file contains a form for the target email address. When the user submits the form, the MailerManagedBean.send method is called. This method uses an injected instance of the MailerBean session bean to call MailerBean.sendMessage. The result is sent to the response.xhtml Facelets view.
Configuring the Keystore and Truststore in GlassFish Server
The GlassFish Server domain needs to be configured with the server's master password to access the keystore and truststore used to initiate secure communications using the SMTPS transport protocol.
- Open the GlassFish Server Administration Console in a web browser at http://localhost:4848.
- Expand Configurations, then expand server-config, then click JVM Settings.
- Click JVM Options, then click Add JVM Option and enter -Djavax.net.ssl.keyStorePassword=master-password, replacing master-password with the keystore master password. The default master password is changeit.
- Click Add JVM Option and enter -Djavax.net.ssl.trustStorePassword=master-password, replacing master-password with the truststore master password. The default master password is changeit.
- Click Save, then restart GlassFish Server.
Running the async Example Application in NetBeans IDE
Follow these instructions for running the async example application in NetBeans IDE.
Before You Begin
Before running this example, you must configure your GlassFish Server instance to access the keystore and truststore used by GlassFish Server to create a secure connection to the target SMTPS server.
- From the File menu, choose Open Project.
- In the Open Project dialog, navigate to:
tut-install/examples/ejb/
- Select the async folder and click Open Project.
- Under async in the project pane, expand the Server Resources node and double-click glassfish-resources.xml.
- Enter the configuration settings for your SMTPS server in glassfish-resources.xml.
The SMTPS server host name is set in the host attribute, email address from which you want the message sent is the from attribute, the SMTPS user name is the user attribute. Set the mail-smtps-password property value to the password for the SMTPS server user. The following code snippet shows an example resource configuration. Lines in bold need to be modified.
<resources> <mail-resource debug="false" enabled="true"<EMAIL_ADDRESS>host="smtp.example.com" jndi-name="mail/myExampleSession" object-type="user" store-protocol="imap" store-protocol-class="com.sun.mail.imap.IMAPStore" transport-protocol="smtps" transport-protocol-class="com.sun.mail.smtp.SMTPSSLTransport"<EMAIL_ADDRESS><description/> <property name="mail-smtps-auth" value="true"/> <property name="mail-smtps-password" value="mypassword"/> </mail-resource> </resources>
- Right-click async in the project pane and select Run.
This will compile, assemble, and deploy the application, and start a web browser at the following URL: http://localhost:8080/async.
- In the web browser window, enter the email to which you want
the test message sent and click Send email.
If your configuration settings are correct, a test email will be sent, and the status message will read Sent in the web client. The test message should appear momentarily in the inbox of the recipient.
If an error occurs, the status will read Encountered an error. Check the server.log file for your domain to find the cause of the error.
Running the async Example Application Using Ant
Follow these instructions for running the async example application using Ant.
- In a terminal window, navigate to tut-install/examples/ejb/async/.
- In a text editor, open setup/glassfish-resources.xml and enter the configuration settings for your
SMTPS server.
The SMTPS server host name is set in the host attribute, email address from which you want the message sent is the from attribute, the SMTPS user name is the user attribute. Set the mail-smtps-password property value to the password for the SMTPS server user. The following code snippet shows an example resource configuration. Lines in bold need to be modified.
<resources> <mail-resource debug="false" enabled="true"<EMAIL_ADDRESS>host="smtp.example.com" jndi-name="mail/myExampleSession" object-type="user" store-protocol="imap" store-protocol-class="com.sun.mail.imap.IMAPStore" transport-protocol="smtps" transport-protocol-class="com.sun.mail.smtp.SMTPSSLTransport"<EMAIL_ADDRESS><description/> <property name="mail-smtps-auth" value="true"/> <property name="mail-smtps-password" value="mypassword"/> </mail-resource> </resources>
- Enter the following command:
ant all
This will compile, assemble, and deploy the application, and start a web browser at the following URL: http://localhost:8080/async.
Note - If your build system isn't configured to automatically open a web browser, open the above URL in a browser window.
- In the web browser window, enter the email to which you want
the test message sent and click Send email.
If your configuration settings are correct, a test email will be sent, and the status message will read Sent in the web client. The test message should appear momentarily in the inbox of the recipient.
If an error occurs, the status will read Encountered an error. Check the server.log file for your domain to find the cause of the error.


# 2.0 - Branding
Client-Specific Branding such as color, texture, typography, etc.
# 2.1 - Typography
Primary Font: Georgia
Secondary Font Heavy: Liberator-Heavy
Secondary Font: Liberator-Medium
Secondary Font Light: Liberator-Light
Tertiary Font: SackersGothicStd-Medium

Primary Font: Georgia

Secondary Font Heavy: Liberator-Heavy

Secondary Font: Liberator-Medium

Secondary Font Light: Liberator-Light

Tertiary Font: SackersGothicStd-Medium

# 2.5 - Primary Buttons
Most button use cases should use one of the modifier classes below. Both 'button-primary' and 'button-primar--modifier' doesn't need to be added to the markup. Adding only the modifier class works fine.
| Available modifiers | |
|---|---|
.button-primary--one |
Button Primary: color one |
.button-primary--two |
Button Primary: color two |
.button-primary--three |
Button Primary: color three |
.button-primary--four |
Button Primary: color four |
.button-secondary |
Button Secondary |
.button--large |
Larger button alternative |
<button class=" {$modifiers}">HTML Button element</button>

Link with a button class

# 2.7 - Classy Panel Styles: Text Styles
| Available modifiers | |
|---|---|
.text-white |
Turn all text white |
.text-navy |
Turn all text Butler blue |
First-Level Header; Any header elements may include links.
The main header above is an h1
element.
Second-Level Header; Any header elements may include links.
The secondary header above is an h2
element, which may be used for any form of important page-level header. More than one may be used per page. Consider using an h2
unless you need a header level of less importance, or as a sub-header to an existing h2
element.
Third-Level Header; Any header elements may include links.
The header above is an h3
element, which may be used for any form of page-level header which falls below the h2
header in a document hierarchy.
Fourth-Level Header; Any header elements may include links.
The header above is an h4
element, which may be used for any form of page-level header which falls below the h3
header in a document hierarchy.
Fifth-Level Header; Any header elements may include links.
The header above is an h5
element, which may be used for any form of page-level header which falls below the h4
header in a document hierarchy.
Sixth-Level Header; Any header elements may include links.
The header above is an h6
element, which may be used for any form of page-level header which falls below the h5
header in a document hierarchy.
Turn all text white
First-Level Header; Any header elements may include links.
The main header above is an h1
element.
Second-Level Header; Any header elements may include links.
The secondary header above is an h2
element, which may be used for any form of important page-level header. More than one may be used per page. Consider using an h2
unless you need a header level of less importance, or as a sub-header to an existing h2
element.
Third-Level Header; Any header elements may include links.
The header above is an h3
element, which may be used for any form of page-level header which falls below the h2
header in a document hierarchy.
Fourth-Level Header; Any header elements may include links.
The header above is an h4
element, which may be used for any form of page-level header which falls below the h3
header in a document hierarchy.
Fifth-Level Header; Any header elements may include links.
The header above is an h5
element, which may be used for any form of page-level header which falls below the h4
header in a document hierarchy.
Sixth-Level Header; Any header elements may include links.
The header above is an h6
element, which may be used for any form of page-level header which falls below the h5
header in a document hierarchy.
Turn all text Butler blue
First-Level Header; Any header elements may include links.
The main header above is an h1
element.
Second-Level Header; Any header elements may include links.
The secondary header above is an h2
element, which may be used for any form of important page-level header. More than one may be used per page. Consider using an h2
unless you need a header level of less importance, or as a sub-header to an existing h2
element.
Third-Level Header; Any header elements may include links.
The header above is an h3
element, which may be used for any form of page-level header which falls below the h2
header in a document hierarchy.
Fourth-Level Header; Any header elements may include links.
The header above is an h4
element, which may be used for any form of page-level header which falls below the h3
header in a document hierarchy.
Fifth-Level Header; Any header elements may include links.
The header above is an h5
element, which may be used for any form of page-level header which falls below the h4
header in a document hierarchy.
Sixth-Level Header; Any header elements may include links.
The header above is an h6
element, which may be used for any form of page-level header which falls below the h5
header in a document hierarchy.

First-Level Header; Any header elements may include links.

The main header above is an h1 element.

Second-Level Header; Any header elements may include links.

The secondary header above is an h2 element, which may be used for any form of important page-level header. More than one may be used per page. Consider using an h2 unless you need a header level of less importance, or as a sub-header to an existing h2 element.

Third-Level Header; Any header elements may include links.

The header above is an h3 element, which may be used for any form of page-level header which falls below the h2 header in a document hierarchy.

Fourth-Level Header; Any header elements may include links.

The header above is an h4 element, which may be used for any form of page-level header which falls below the h3 header in a document hierarchy.

Fifth-Level Header; Any header elements may include links.

The header above is an h5 element, which may be used for any form of page-level header which falls below the h4 header in a document hierarchy.

Sixth-Level Header; Any header elements may include links.

The header above is an h6 element, which may be used for any form of page-level header which falls below the h5 header in a document hierarchy.


|
Drake
|
Namespaces | |
| vtk_util | |
Classes | |
| class | Accelerometer |
| Sensor to represent an ideal accelerometer sensor. More... | |
| class | BeamModel |
| Implements the "Beam Models of Range Finders" from section 6.3 of Probabilistic Robotics (2006), by Thrun, Burgard, and Fox. More... | |
| class | CameraInfo |
| Simple class for characterizing the Drake camera model. More... | |
| struct | Color |
| Holds r, g, b values to represent a color pixel. More... | |
| class | ColorPalette |
| Creates and holds a palette of colors for visualizing different objects in a scene (the intent is for a different color to be applied to each identified object). More... | |
| class | Gyroscope |
| Sensor to represent an ideal gyroscopic sensor. More... | |
| class | Image |
| Simple data format for Image. More... | |
| class | ImageToLcmImageArrayT |
| An ImageToLcmImageArrayT takes as input an ImageRgba8U, ImageDepth32F and ImageLabel16I. More... | |
| struct | ImageTraits |
| Traits class for Image, specialized by PixelType. More... | |
| struct | ImageTraits< PixelType::kBgr8U > |
| struct | ImageTraits< PixelType::kBgra8U > |
| struct | ImageTraits< PixelType::kDepth16U > |
| struct | ImageTraits< PixelType::kDepth32F > |
| struct | ImageTraits< PixelType::kExpr > |
| struct | ImageTraits< PixelType::kGrey8U > |
| struct | ImageTraits< PixelType::kLabel16I > |
| struct | ImageTraits< PixelType::kRgb8U > |
| struct | ImageTraits< PixelType::kRgba8U > |
| class | ImageWriter |
| A system for periodically writing images to the file system. More... | |
| class | InvalidDepth |
| Set of constants used to represent invalid depth values. More... | |
| class | Label |
| Set of labels used for label image. More... | |
| class | LcmImageArrayToImages |
An LcmImageArrayToImages takes as input an AbstractValue containing a Value<robotlocomotion::image_array_t> LCM message that defines an array of images (image_t). More... | |
| struct | LcmImageTraits |
| struct | LcmImageTraits< PixelType::kBgr8U > |
| struct | LcmImageTraits< PixelType::kBgra8U > |
| struct | LcmImageTraits< PixelType::kDepth16U > |
| struct | LcmImageTraits< PixelType::kDepth32F > |
| struct | LcmImageTraits< PixelType::kGrey8U > |
| struct | LcmImageTraits< PixelType::kLabel16I > |
| struct | LcmImageTraits< PixelType::kRgb8U > |
| struct | LcmImageTraits< PixelType::kRgba8U > |
| struct | LcmPixelTraits |
| struct | LcmPixelTraits< PixelFormat::kBgr > |
| struct | LcmPixelTraits< PixelFormat::kBgra > |
| struct | LcmPixelTraits< PixelFormat::kDepth > |
| struct | LcmPixelTraits< PixelFormat::kGrey > |
| struct | LcmPixelTraits< PixelFormat::kLabel > |
| struct | LcmPixelTraits< PixelFormat::kRgb > |
| struct | LcmPixelTraits< PixelFormat::kRgba > |
| class | OptitrackLcmFrameSender |
| The system has one abstract-valued input port and one abstract-valued output port. More... | |
| class | RgbdSensor |
| A meta-sensor that houses RGB, depth, and label cameras, producing their corresponding images based on the contents of the geometry::SceneGraph. More... | |
| class | RgbdSensorDiscrete |
| Wraps a continuous RgbdSensor with a zero-order hold to create a discrete sensor. More... | |
| class | RotaryEncoders |
| Simple model to capture the quantization and calibration offset effects of a rotary encoder. More... | |
Typedefs | |
| using | ColorI = Color< int > |
| Defines a color based on its three primary additive colors: red, green, and blue. More... | |
| using | ColorD = Color< double > |
| Defines a color based on its three primary additive colors: red, green, and blue. More... | |
| using | ImageRgb8U = Image< PixelType::kRgb8U > |
| The type for RGB image where the each channel has the type of uint8_t. More... | |
| using | ImageBgr8U = Image< PixelType::kBgr8U > |
| The type for BGR image where the each channel has the type of uint8_t. More... | |
| using | ImageRgba8U = Image< PixelType::kRgba8U > |
| The type for RGBA image where the each channel has the type of uint8_t. More... | |
| using | ImageBgra8U = Image< PixelType::kBgra8U > |
| The type for BGRA image where the each channel has the type of uint8_t. More... | |
| using | ImageDepth32F = Image< PixelType::kDepth32F > |
| The type for depth image where the channel has the type of float. More... | |
| using | ImageDepth16U = Image< PixelType::kDepth16U > |
| The type for depth image where the channel has the type of uint16_t. More... | |
| using | ImageLabel16I = Image< PixelType::kLabel16I > |
| The type for label image where the channel has the type of int16_t. More... | |
| using | ImageGrey8U = Image< PixelType::kGrey8U > |
| The type for greyscale image where the channel has the type of uint8_t. More... | |
| using | ImageExpr = Image< PixelType::kExpr > |
| The type for symbolic image where the channel has the type of symbolic::Expression. More... | |
Enumerations | |
| enum | PixelType { kRgb8U = 0, kBgr8U, kRgba8U, kBgra8U, kGrey8U, kDepth16U, kDepth32F, kLabel16I, kExpr } |
| The enum class to be used for describing pixel type in Image class. More... | |
| enum | PixelFormat { kRgb = 0, kBgr, kRgba, kBgra, kGrey, kDepth, kLabel, kExpr } |
| The enum class to be used to express semantic meaning of pixels. More... | |
Functions | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &out, const Color< T > &color) |
Utility functions for writing common image types to disk. | |
Given a fully-specified path to the file to write and corresponding image data, these functions will attempt to write the image data to the file. The functions assume that the path is valid and writable. These functions will attempt to write the image to the given file path. The file format will be that indicated by the function name, but the extension will be whatever is provided as input. These function do not do validation on the provided file path (existence, writability, correspondence with image type, etc.) It relies on the caller to have done so. | |
| void | SaveToPng (const ImageRgba8U &image, const std::string &file_path) |
| Writes the color (8-bit, RGBA) image data to disk. More... | |
| void | SaveToTiff (const ImageDepth32F &image, const std::string &file_path) |
| Writes the depth (32-bit) image data to disk. More... | |
Defines a color based on its three primary additive colors: red, green, and blue.
Each of these primary additive colors are in the range of [0, 1].
Defines a color based on its three primary additive colors: red, green, and blue.
Each of these primary additive colors are in the range of [0, 255].
| using ImageBgr8U = Image<PixelType::kBgr8U> |
The type for BGR image where the each channel has the type of uint8_t.
| using ImageBgra8U = Image<PixelType::kBgra8U> |
The type for BGRA image where the each channel has the type of uint8_t.
| using ImageDepth16U = Image<PixelType::kDepth16U> |
The type for depth image where the channel has the type of uint16_t.
| using ImageDepth32F = Image<PixelType::kDepth32F> |
The type for depth image where the channel has the type of float.
| using ImageExpr = Image<PixelType::kExpr> |
The type for symbolic image where the channel has the type of symbolic::Expression.
| using ImageGrey8U = Image<PixelType::kGrey8U> |
The type for greyscale image where the channel has the type of uint8_t.
| using ImageLabel16I = Image<PixelType::kLabel16I> |
The type for label image where the channel has the type of int16_t.
| using ImageRgb8U = Image<PixelType::kRgb8U> |
The type for RGB image where the each channel has the type of uint8_t.
| using ImageRgba8U = Image<PixelType::kRgba8U> |
The type for RGBA image where the each channel has the type of uint8_t.
|
strong |
The enum class to be used to express semantic meaning of pixels.
This also expresses the order of channels in a pixel if the pixel has multiple channels.
|
strong |
The enum class to be used for describing pixel type in Image class.
The naming rule for the enum members is: k + (pixel format) + (bit per a channel) + (data type for channels). For the type for channels, one of the following capital letters is used.
| Enumerator | |
|---|---|
| kRgb8U | The pixel format used by ImageRgb8U. |
| kBgr8U | The pixel format used by ImageBgr8U. |
| kRgba8U | The pixel format used by ImageRgba8U. |
| kBgra8U | The pixel format used by ImageBgra8U. |
| kGrey8U | The pixel format used by ImageGrey8U. |
| kDepth16U | The pixel format used by ImageDepth16U. |
| kDepth32F | The pixel format used by ImageDepth32F. |
| kLabel16I | The pixel format used by ImageLabel16I. |
| kExpr | The pixel format representing symbolic::Expression. |
| std::ostream& drake::systems::sensors::operator<< | ( | std::ostream & | out, |
| const Color< T > & | color | ||
| ) |
| void SaveToPng | ( | const ImageRgba8U & | image, |
| const std::string & | file_path | ||
| ) |
Writes the color (8-bit, RGBA) image data to disk.
Writes the label (16-bit) image data to disk.
| void drake::systems::sensors::SaveToTiff | ( | const ImageDepth32F & | image, |
| const std::string & | file_path | ||
| ) |
Writes the depth (32-bit) image data to disk.
Png files do not support channels larger than 16-bits and its support for floating point values is also limited at best. So, depth images can only be written as tiffs.


| DOSE: |
|
oral |
Unknown |
(pill / tablet) |
| |
5 Tbsp |
oral |
Peyote |
(ground / crushed) |
This all started around March or so that I obtained some peyote.
My friend was supposed to try this with me but his dumbass went to sleep! He came over for a visit and took 2 tablespoons and stayed up for a lil bit it wasn't effecting us so he just crashed, I tryed to tell him give it some time but he just went to sleep which pissed me off.
I started playing the PS2 to kill time for awhile I played a little of MGS:2 then I felt this rush of energy and I just thought 'It's coming on!' I quit playing for awhile and just sat down for awhile got some kool-aid and when I started playing the game again it sounded very different. All the electronic beeping sounds, sounding slowed down, kinda like down an octave like a flat note. I paused the game and wondered if the stereo was on the fritz then I reseted it. It sounded really really scary!
I just turned it off and my parents told me to go to bed because I promised to go to church the next morning. I tried going to sleep but I just couldn't sleep, I didn't feel wierd or high or anything. My thoughts had more meaning to them. I was lying there still awake, and I started to get nauseated and real dizzy. I went to the bathroom to puke. I puked hard! My brother came out of his room and asked if I was ok, I told him I was just sick, and he asked me if I wanted the trashcan by my bed and I said yes. Talking to him was very comforting. Talking to anyone would've been comforting.
I told him to stay and talk longer I told him I had god awful nightmares and he did stay for a few minutes. My dad woke up and asked if I was ok. I said I just felt a little ill. He just told me to drink some water and I did, I felt a world better. They went back to sleep for awhile. I just layed in my bed, I closed my eyes and I started to see thoughts take a visible image. Just thoughts that manifested themselves upon me involuntarily. I started to think about this one girl I never pay any recognition to. Her face popped up and then she turned into like some skeleton that resembled a bug but still retained her facial image. It was letting out some eery low screech (yes it was a low screech).  I ran to the bathroom and I looked at the mirror and my face was all contorted and didn't look right.
I got real scared and started praying to god. This comforted me a little but everytime I looked into the mirror I just looked strange. I still looked the same but I could see myself as I really was. It was like my inner-beauty (actually innerugly) was surfacing. I never noticed how many pimples I had, how oily my skin was or how crappy I looked. I never thought highly of myself but man, just when you thought you couldn't look any worse!
This all scared me deeply and I just prayed asking for it to end. I tried playing some more games but the games were just too intense and took on a whole new meaning that wasn't appealing to me. Just when I turned it off my dad asked if I could keep it down. I said ok and my friend woke up and I told him how hard I was tripping he really didn't seem to be fascinated which seemed really odd to me. We started talking for awhile and I begged him to not go back to sleep. But he was being all bitchy and threatened me and I told him to chill out. He did,he was just cranky from waking up he didn't seem to realize the seriousness of the situation. It wasn't affecting him any(the peyote that is).
He gave me some sleeping pills and told me to chill out.  I took his word for it and took them. He went back to bed. I layed down for what seemed like hours. New songs of different genres played in my head, they sounded out of this world. I didn't like it. I looked at my hand under the covers and It looked very very odd. It terrified me alot cause it started bleeding I looked away immediately cause it seemd so real. I knew it was a hallucination.  The effects were starting to taper off and I got tired and slept.
 It was more of a mind game that my curiosity had to pay the consequences for.
The setting and mindset was all wrong. If I could change this trip I would've done it during the day, in nature, away from any electronics and tripping with someone else. And reduced my doseage.
After this experience, I have come to respect drugs and learned to not be so damn naive. I finally got over what happened to me. If it happened again I could handle the situation alot better since I have become a billion times more educated on the matter.
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.