Asian Elephant Vocalizations, Linguistic Data Consortium (LDC) catalog number LDC2010S05 and isbn 1-58563-557-X, consists of 57.5 hours of audio recordings of vocalizations by Asian Elephants (Elephas maximus) in the Uda Walawe National Park, Sri Lanka, of which 31.25 hours have been annotated. Voice recording field notes were made by Shermin de Silva and Ashoka Ranjeewa, of the Uda Walawe Elephant Research Project. The collection and annotation of the recordings was conducted and overseen by Shermin de Silva, through the University of Pennsylvania Department of Biology, and Institute for Research in Cognitive Science. The recordings primarily feature adult female, and juvenile elephants. Existing knowledge of acoustic communication in elephants is based mostly on African species (Loxodonta africana and Loxodonta cyclotis). There has been comparatively less study of communication in Asian elephants, primarily becuase the habitat in which Asian elephants typically live makes them more difficult to study than African forest elephants. For other current elephant vocalization research, see ElephantVoices and the Cornell Lab of Ornithology's Elephant Listening Project.
This corpus is intended to enable researchers in acoustic communication to evaluate acoustic features and repertoire diversity of the recorded population. Of particular interest is whether there may be regional dialects that differ among Asian elephant populations in the wild and in captivity. A second interest is in whether structural commonalities exist between this and other species that shed light on underlying social and ecological factors shaping communication systems.
Uda Walawe National Park (UWNP), Sri Lanka, is located at latitude 630°14.0646"N, longitude 80°54'28.1268"E, and an average altitude of 118 m above sea level. It occupies 308 km2 and contains tall grassland, dense scrub, riparian forest, secondary forest, rivers and seasonal streams. It also contains several natural and man-made water sources and reservoirs with seasonal floodplains. There are two monsoons per calendar year, separated by dry seasons of variable length. Over 300 adult females have been individually identified in UWNP using characteristics of the ears, tail, and other natural markings (Moss, 1996).
Data were collected from May, 2006 to December, 2007. Observations were performed by vehicle during park hours from 0600 to 1830 h. Most recordings of vocalizations were made using an Earthworks QTC50 microphone shock-mounted inside a Rycote Zeppelin windshield, via a Fostex FR-2 field recorder (24-bit sample size, sampling rate 48 kHz) connected to a 12 V lead acid battery. Recordings were initiated at the start of a call with a 10-s pre-record buffer so that the entire call was captured and loss of rare vocalizations minimized. This was made possible with the 'pre-record' feature of the Fostex, which records continuously, but only saves the file with a 10-second lead once the 'record' button is depressed. In order to minimize loss of low-frequency or potentially inaudible calls, recording was continued for at least three minutes following the end of vocalization events. During the first two months, hour-long recording sessions were also carried out opportunistically while in close proximity to a group. However, spectrograms showed that few vocalizations were captured; therefore, this was discontinued.
Some audio files have 1 channel (field recording) and some have 2 channels (field recordings and field notes).
Certain files were recorded at 22050 Hz sample rate:
Certain files were recorded at 16 bits per sample:
One file contains audio extracted from a video recording at 16-bit, 32 kHz. This file may overlap with other audio recordings, but was used to aid annotation because of the density of vocalizations and the number of vocalizing individuals:
Certain audio files were manually annotated, to the extent possible, with call type (see below for a list of categories), caller id, and miscellaneous notes. Annotations were made using the Praat TextGrid Editor, which allows spectral analysis and annotation of audio files with overlapping events. Annotations were based on written and audio-recorded field notes, and in some cases video recordings. Miscellaneous notes are free-form, and include such information as distance from source, caller identity certainty, and accompanying behavior. Audio files that are included without a corresponding Praat TextGrid annotation file have not yet been annotated.
There are three main categories of vocalizations: those that show clear fundamental frequencies (periodic), those that do not (a-periodic), and those that show periodic and a-periodic regions as at least two distinct segments. Calls were identified as belonging to one of 14 categories:
| Call Type | Abbreviation |
| Growl | GRW |
| Squeak | SQK |
| Longroar-rumble | LRM |
| Longroar | LRR |
| Rumble | RUM |
| Bark-rumble | BRM |
| Trumpet | TMP |
| Roar-rumble | RRM |
| Roar | ROR |
| Bark | BRK |
| Squeal | SQL |
| Croak-rumble | CRM1 |
| Chirp-rumble | CRM2 |
| Musth chirp-rumble | MCR |
All audio wav files in this corpus have been compressed using FLAC (Free Lossless Audio Codec). Becuase FLAC is a lossless compression algorithm, the conversion of the included FLAC files into wav files will result in files that are sample-for-sample identical to the original wav file recordings.
Many standard audio tools (including Praat TextGrid Editor) will transparently decompress FLAC files, so that they may be played, processed, and examined as if they were uncompressed audio. Should you wish to explicitly decompress FLAC files (by converting them into wav files), there are many free audio tools capable of performing this conversion. Some such tools, available for all major operating systems, may be found at http://flac.sourceforge.net/download.html
The data in this corpus were used by the corpus author as the foundation of a paper, "Acoustic communication in the Asian elephant, Elephas maximus maximus" (S. de Silva; Behaviour, Volume 147, Number 7, 2010, pp. 825-852). If you have trouble accessing the paper through the preceding link, you may contact the corpus author directly<EMAIL_ADDRESS>for assistance.
See file_table.csv for a table listing all files in this corpus along with their respective byte counts and md5 checksums.
Data files are contained in the data directory.
Shermin de Silva
Additional information, updates, bug fixes may be available in the LDC catalog entry for this corpus at LDC2010S05.
Portions © 2010 Trustees of the University of Pennsylvania.


System Architect Symbol details for "Agent For First Party"
ABD/party (Generalization Node)
- Base Class:
"Agent By Devolvement"
- Definitions Used:
-
Agent By Devolvement (Class)
Agent By Devolvement (Class)
- Description:
"Agent" whose authority derives from the devolvement of the authority of another.
- Comment:
A hospital registrar acts through the devolved authority of the consultant.
Agent For First Party (Class)
- Description:
"Authorised Agent" not representing a third party "Agent".
- Comment:
This represents all situations where there is a direct relationship between the parties to the
agreement and the agreement itself.
Agent For Third Party (Class)
- Description:
-
"Authorised Agent" appointed or authorised to represent or act for another "Agent" .
- Comment:
-
This covers the use of Proxy, an "Agent" acting for another "Agent".
The authority for the proxy may or may not be the same as the represented "Agent". For example, the
parent or guardian of a juvenile is a proxy by law, not by the authority of the child.


Deploying a personal website 1/4
Part 1 of 4 - Deciding the stack
After a long time without writing some tech stuff I have decided to put my website/blog back online! Writing here was a fun task to document the process itself. Hope you enjoy.
Back in time I used to host my own server, either in my home or in the early beginning as a IaaS Machine on the cloud, many times as a shared VPS or a tiny machine where I could have my Debian OS, with Apache as a webserver to run some PHP code using Wordpress.org framework. That does not require a lot of effort but, nowadays lots of things have changed.
I thought that after almost 8 years would be some way to do this kind of thing in a more straightforward way, and yes, there are many ways. I decided to pick tools that I could deal less with infrastructure and cloud services and I have picked some options to abstract all this work, but that still gave me a lot of flexibility. So this is what I choose:
GOHUGO.io - This is a very lightweight framework to develop your site/blog, written in go, but so far I just needed to understand a little of toml, yaml and the classics of CSS, JS and HTML. Yep, it is way simpler than wordpress, but as a provocation, I never used like 10% of all the functionalities of wordpress.
Firebase Platform - I was really blind when I associate firebase as an old database or a new document store only database. I get some time to discover and run some codelabs to understand better the power of the firebase platform. As a part of GCP, Firebase platform is a full suite of tools to develop, host, analyse, integrate and other tons of cool stuff for your APPS web or mobile. Strongly suggest you read some about it. As I’ll need to host the website, why not go PasS instead of IaaS.
TravisCI TravisCI (https://travis-ci.org/) - And as I’m really up to automation, I have used travisCI to get all the code I pushed into github to a new deploy on firebase hosting, automagically. =D
So having said that, I’ll be in the next articles documenting how this journey was. Stay tuned!
Ah..footnote: Zero Cost.
Read this article on Medium


redirect_to: "https://www.truecarehealth.in"
Dedicated to providing most efficient medical and surgical equipment to patients and healthcare professionals.
We know that all our customer requirement are not same. At Truecare, we are committed to respond to our customer needs.
Being a multi branded store, you can find most of the brands in the Market and it makes you choose the Best.
Committed to provide the all medical and surgical equipment at best price.
We know that every customer needs are different.


{{getCellShape(boardCell)}}
Game resulted in a {{gameStatus.gameResult}} {{gameStatus.winnerShape}} is the winner


---
layout: post
title: I *finally* have RPi WiFi working (not easy with a hidden ssid)
date: '2014-04-06T08:54:00.001-07:00'
author: gojimmypi
tags:
- hidden ssid
- raspberry pi
modified_time: '2018-03-13T13:28:30.729-07:00'
blogger_id: tag:blogger.com,1999:blog-4109066286647243251.post-6693757898184069026
blogger_orig_url: https://gojimmypi.blogspot.com/2014/04/woohoo-ok-ive-spent-more-time-trying.html
---
woohoo!! ok, I've spent more time trying to get the WiFi working than anything else.
I tried everything... surely it is not difficult, considering how easy everything else was, no? No. The built-in WiFi configuration tool didn't not work for me. I found a cool WiFi tool called
wicd. For more information see wifi on raspberry pi: a simple guide, at raspyfi.com
(but it didn't work for my problem, either)
So the deal is: WiFi is easy to setup on RPi as long as the target AP has a ssid that is
broadcasted
. I prefer the security of an unbroadcasted ssid. (details, details)
Google to the rescue! I found this awesome article on settig up the RPi as a WiFi radio. On the setup page, the author describes in detail how to setup WiFi with a hidden ssid.
We all know how over the years links change or simply go away, so I've copied the critical hidden ssid setup text from that article here (credit to
Philip Burgess at adafruit
):
In the end, my \\raspberrypi\c$\etc\network\interfaces file looks like this:If you run a hidden WiFi network — one that does not broadcast its SSID — this can still be made to work but is considerably more complicated. The slightest typo here, even one character, can prevent the system from joining the network! We strongly recommend using a “broadcast” network, it’s far easier and less error-prone.
sudo nano /etc/network/interfaces
Delete the {last} two lines {under "iface wlan0 inet dhcp" } (wpa-ssid and wpa-psk) and replace with (indented):
{% include code_header.html %} {% include code_header.html %}pre-up wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
{% include code_header.html %} {% include code_header.html %}ctrl_interface=/var/run/wpa_supplicant
update_config=1
ap_scan=2
eapol_version=1
network={
ssid="my-network-ssid"
scan_ssid=1
mode=0
proto=WPA2
auth_alg=OPEN
pairwise=CCMP
group=CCMP
key_mgmt=WPA-PSK
psk="my-network-password"
}Replace ssid and psk with your actual network name and password, in quotes.
Important: indent the 'network' section using tabs, not spaces.
{% include code_header.html %}
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B
And my \\raspberrypi\c$\etc\wpa_supplicant\wpa_supplicant.conf
file looks like this (with my ssid and psk where noted):
{% include code_header.html %}
ctrl_interface=/var/run/wpa_supplicant
update_config=1
ap_scan=2
eapol_version=1
network={
ssid="myssid"
scan_ssid=1
mode=0
proto=WPA2
auth_alg=OPEN
pairwise=CCMP
group=CCMP
key_mgmt=WPA-PSK
psk="mypsk"
}


Draw a polygon around each of the requested target(s) of interest
Make the polygon tight around the object


Word1 Word2
Cannot use geolocation*
Please input your zip code
Current Temperature: °F
Condition:
Wind: miles/hours


100 Girls of Code
100 Girls of Code is a chapter-based non-profit organization with the goal of achieving gender equality in S.T.E.M. by offering accessible workshops in computer science and engieering to young women. To attend a workshop, girls can visit their local chapter's website for upcoming opportunities, sign-up and attend.
Girls Who Code
Girls Who Code is a naitonal non-profit committed to narrowing the gender inequality in technolgy through after school clubs for 6th thru 12th grade girls and and a 7-week summer immersion program. Clubs are free and meet at various locations such as a library, schools and community centers.
Georgia Science and Robotics Academy
Georgia Science and Robotics Academy is a non-profit with a mission to teach children in elmentary through high school to be proficient in each area of S.T.E.M. Fun Weird Science is the known name for Academy and engages students through interactive and hands-on acitivies and demonstrations, parties, S.T.E.M. summer camps, after school programs. Workshops, lesson plan preparation and cohort-style learning are also availbale for Teachers on a short-term or ongoing basis.


Map buttons¶
If you are using version 2.x of the Maps JavaScript API, the procedure below explains how to create map buttons for GEE. However, this procedure is not compatible with Maps API 3.x.
GEE includes a default web interface for viewing 2D maps that you build with Fusion and host on a GEE 2D virtual server. In the example below, the left panel shows map layers that are published with the database.
Data courtesy of Thematic Mapping.org,
The default interface does not include layer buttons like the “Maps, Satellite, Hybrid” buttons in Google Maps. However, you can do some HTML and JavaScript editing to display Maps, Imagery, and Hybrid layer buttons that are similar. The example map below displays a Maps button for its two map layers and an Imagery button for its imagery layer.
Data courtesy of Thematic Mapping.org,
To create buttons like this, associate the Maps, Imagery,
and Hybrid (Show Labels) buttons with map types that you
define with GMapType
. In Google Maps, map types are constants
that can be called directly. However, in GEE you need to use
GMapType
to define map types in the interface itself because
the map and imagery layers are different for each map.
To define map types in GEE:
Use
GFusionTileLayer
to define a new tile layer for each map or imagery layer.GFusionTileLayer
can directly reference the array where the map and imagery layers are stored.Pass these two constructors to the
GFusionTileLayer
class:- The URL of the hosting server.
- The layer definition. The definition includes information like the version of the tiles, the channel ID number, and whether the tiles are in PNG format.
Specify which layer in the
geeServerDefs
array to select for eachGFusionTileLayer
object.- The imagery layer is layer 0.
- The maps layer is layer 1.
- The hybrid (Show Labels) layer is layer 2.
var imagery_map_layer = new GFusionTileLayer(geeServerDefs.serverUrl, geeServerDefs.layers[0]); var painted_map_layer = new GFusionTileLayer(geeServerDefs.serverUrl, geeServerDefs.layers[1]); var labels_layer = new GFusionTileLayer(geeServerDefs.serverUrl, geeServerDefs.layers[2]);
You can access the server definitions and other information about map and imagery layers directly from a web browser by using a URL in this format:
http://yourserver.org/virtual-server-name/query?request=Json&vars=geeServerDefs
. Responses will look like the image below:This data can also be returned by using the optional
v
parameter.v=1
returns the data in the format shown in the image above.v=2
returns the data in the JSON format.- A query without the
v
parameter acts asv=1
.
An example of a query using the
v
parameter:http://<GEE earth server>/<database_publish_point>/query?request=Json&v=2
Associate layers with buttons by using the
GMapType
class to define a map type for each of theGTileLayer
objects. See the example below:var painted_map_type = new GMapType([painted_map_layer],new LatLngProjection(MAX_ZOOM_LEVEL),"Maps"); var imagery_map_type = new GMapType([imagery_map_layer],new LatLngProjection(MAX_ZOOM_LEVEL),"Imagery"); var labels_map_type = new GMapType([imagery_map_layer, labels_layer],new LatLngProjection(MAX_ZOOM_LEVEL),"Hybrid");
Use the
.addMapControl()
method to add each map type and its associated button to the map:map.addMapType(painted_map_type); map.addMapType(imagery_map_type); map.addMapType(labels_map_type);
Remove the predefined Google Maps map types below so that the buttons display correctly:
map.removeMapType(G_SATELLITE_MAP);
// Remove the defaultSatellite Map Type button
map.removeMapType(G_HYBRID_MAP);
// Remove the defaultHybrid Map Type button
map.removeMapType(G_NORMAL_MAP);
// Remove the defaultMap Type button
Add controls (like the zoom bar, the navigation bar, an overview map, and zooming options) to the map:
map.addControl(new GSmallMapControl()); map.addControl(new GOverviewMapControl()); map.addControl(new GScaleControl()); map.enableScrollWheelZoom(); map.enableContinuousZoom();
You can show a drop-down menu for the map layers instead of the side-by-side buttons, as shown below.
| Standard map type buttons | Drop-down menu for map types |
|---|---|
To accomplish this, replace the GHierarchicalMapTypeControl
call with a GMenuMapTypeControl
.
Maintenance considerations
The layer ordering in geeServerDefs
changes for each new
version, so if you add more map layers or reorder the existing map
layers in the 2D Map Database after you implement the HTML page,
you must also update your GFusionTileLayer
definitions so that
the GEE Server requests the correct layer.
Make the HTML example the default display
You can set the example HTML file as the default view by changing one of the settings in the server configuration file. See below for an example of a location-based 2D virtual server configuration file.
In this example, the server is hosted at
http://machine123.company.internal/mapexample - /opt/google/gehttpd/conf.d/virtual_servers/example.location
.
# The mapexample virtual server
RewriteRule ^/mapexample$ /mapexample/ [R]
RewriteRule ^/mapexample/+$ /maps/maps_local.html [PT]
RewriteRule ^/mapexample/+maps/+mapfiles/(.*)$ /maps/mapfiles/$1 [PT]
<Location "/mapexample/*">
SetHandler gedb-handler Include conf.d/virtual_servers/runtime/example_runtime
</Location>
In the example above, the second RewriteRule specifies that the
/maps/maps_local.html
web page is loaded whenever users visit
the virtual server URL http://machine123.company.internal/mapexample
.
You can change this setting to load a different web page:
# The mapexample virtual server
RewriteRule ^/mapexample$ /mapexample/ [R]
RewriteRule ^/mapexample/+$ /maps/gmaps_buttons.html [PT]
RewriteRule ^/mapexample/+maps/+mapfiles/(.*)$ /maps/mapfiles/$1 [PT]
<Location "/mapexample/*">
SetHandler gedb-handler Include conf.d/virtual_servers/runtime/example_runtime
</Location>
After you make changes to the file, restart the GEE Server to reload the configuration file and implement the change.
Access the imagery tiles hosted from another GEE 2D virtual server
You can use the GTileLayer
Maps API class to access the web
page for imagery layers that are published from different GEE
servers. Then you can follow the same instructions above to assign
the layer to a custom map type and display a button for it on your
map.
Data used to build the map and imagery tiles
Map data
You can obtain a complete copy of the 2D Map layer display rules from the Google Earth Enterprise Google Group Files section. The maps and hybrid (Show Labels) map layers were built from three different datasets:
- Global borders (filled and outlined) in the maps and hybrid layers were created from the the Thematic Mapping World Borders dataset, available under a Creative Commons license at http://thematicmapping.org/downloads/world_borders.ph
- USA state boundaries in the maps and hybrid layers were created from the USA State borders vector data hosted by the National Atlas of the USA (now called the National Map). You can download state boundaries from https://nationalmap.gov/small_scale/atlasftp.html.
- The background water that is visible in the maps layer was created with a global KML file. You can obtain the KML water file from the Google Earth Enterprise Google Group Files section.
Imagery data
Imagery for the globe was built from two different sources:
- BlueMarble 500-meter global imagery (combined surface and bathymetric imagery) was used as the backdrop for the image.
- A reduced resolution (120-meter) version of imagery from the Premium Globe dataset was used for land imagery.


An eval
invoked via apply
or
call
is always an indirect eval and hence globally scoped.
Prior to ES5, the behavior of such invocations of
eval
was underspecified, and implementations differed
in their behaviors with regard to them. But ES5 now precisely defines the
behavior for them.


Thank you for your interest in Royal Tour Bicycles. Please feel free to get in touch if you have any questions, comments, or concerns.
Thank you so much for your message! We look forward to reading it and will be in touch soon.


The data set is from the UCL Machine Learning Repository and looks at a number of variables in relation to students first period, second period, and final grades.
Use these buttons to look at grades throughout the year:
A student's academic performance can have a great impact on the life they live after graduation and can also indicate how well an educational program is working. Figuring out what works for student and how they learn best should be of great interest to both educators and students alike. What works for each individual student is different, but looking at overall trends can help us figure out better ways to help students learn.
The amount of time a student spends studying seems like it should be the most obvious indicator of student success.
While there is a slight upwards trend, there isn't a huge difference in average grades as students study for more hours. This may be due to diminishing returns after long periods of studying, as evidence by '>10' hours averaging lower than '5 to 10' for the first and final grade.
The presence of various other factors were measured to see if they had an affect on a student's academic performance.
Most of the factors had little noticeable effect on grades. However, some of the factors did create some interesting or counterintuitive differences
The greatest effect seems to come from School Support with most of the students indicated that they did not receive any extra academic support at school. Surprisingly, students who don't receive any of this school support seem to achieve better scores. This is likely the case because students who are already doing well may not seek any extra support from the school.
Similar to the result for school support, student who don't receive extra academic support at home achieve better scores. This is likely due to similar reasons as school support with support only being given to students who need it.
There was a fairly even number of responses for both 'yes' and 'no' which should represent both groups better. While final grade appears to be independent of involvement in Extra-curriculars, during the first period it appears to have a slight positive effect.
Another factor that has a small but noticeable effect on scores appears to come from having Internet Access at home. This may give students the ability to find alternate explanations for concepts they don't understand or communicate with classmates about homework. It may also provide some distraction to students, but this doesn't appear to negatively impact student grades.
Having a romantic Relationship was another student doesn't seem to effect student scores in during the first period, but the second period and final grade are negatively impacted by romantic relationships. During the later parts of the year when more time is needed student may find themselves wanting to spend time with their partner rather than studying.
After looking at the data, it doesn't appear that one single factor seems has a huge impact on student's performance. Scores seem to increase when students study more, have internet access at home, participate in Extra-curriculars at the start of the year, and don't have a romantic Relationship. It may be the case that a combination of these could yield the highest scores.
Further research could be done looking at what the best combinations of factors work best as there is likely interaction. Impact on Test scores are also not the only thing to look at when considering these factors. It is likely the case that while something like a romantic relationship decreases test scores it increases student well-being.
P. Cortez and A. Silva. Using Data Mining to Predict Secondary School Student Performance. In A. Brito and J. Teixeira Eds., Proceedings of 5th FUture BUsiness TEChnology Conference (FUBUTEC 2008) pp. 5-12, Porto, Portugal, April, 2008, EUROSIS, ISBN<PHONE_NUMBER>-39-7.


|
Index
ANS
API
Debugger
Download
Licensing
Links
Locals
OOP In Ficl
Parse Steps
Release History
Upgrading To 4.0
| |
Named, locally scoped variables came late to Forth. Purists feel that experienced
Forth programmers can (and should) write supportable code using only anonymous
stack variables and good factoring, and they complain that novices use
global variables too frequently. But local variables cost little in terms of
code size and execution speed, and are very convenient for OO programming
(where stack effects are more complex).
Ficl provides excellent support
for local variables, and the purists be damned—we use 'em all the time.
Local variables can only be declared inside a definition,
and are only visible in that definition. Please refer to
the ANS standard for FORTH
for more general information on local variables.
ANS Forth does not specify a complete local variable facility.
Instead, it defines a foundation upon which to build one. Ficl comes with
an adaptation of the Johns-Hopkins local variable syntax, as developed by John
Hayes et al. However, Ficl extends this syntax with support for double-cell and
floating-point numbers.
Here's the basic syntax of a JH-local variable declaration:
{ arguments
| locals
-- ignored
}
(For experienced FORTH programmers: the declaration is designed to look like a stack comment,
but it uses curly braces instead of parentheses.) Each section must list zero or more
legal Ficl word names; comments and preprocessing are not allowed here.
Here's what each section denotes:
-
The arguments section lists local variables which are initialized from the stack when the word executes.
Each argument is set to the top value of the stack, starting at the rightmost argument name and moving left.
You can have zero or more arguments.
-
The locals section lists local variables which are set to zero when the word executes.
You can have zero or more locals.
-
Any characters between
-- and } are treated as a comment, and ignored.
(The | and -- sections are optional,
but they must appear in the order shown if they appear at all.)
Every time you specify a local variable (in either the arguments or the locals section),
you can also specify the type of the local variable. By default, a local variable
is a single-cell integer; you can specify that the local be a double-cell integer, and/or a
floating-point number.
To specify the type of a local, specify one or more of the following single-character specifiers,
followed by a colon (: ).
|
1
|
single-cell
|
|
2
|
double-cell
|
|
d
|
double-cell
|
|
f
|
floating-point (use floating stack)
|
|
i
|
integer (use data stack)
|
|
s
|
single-cell
|
For instance, the argument f2:foo would specify a double-width floating-point
number.
The type specifiers are read right-to left, and when two specifiers conflict, the rightmost
one takes priority. So 2is1f2:foo would still specifiy a double-width floating-point
number.
Note that this syntax only works for Ficl's JH-locals. Locals
defined in some other way (say, with the FORTH standard word LOCALS| )
will ignore this syntax, and the entire string will be used as the name of
the local (type and all).
: DEMONSTRATE-JH-LOCALS { c b a f:float -- a+b f:float*2 }
a b +
2.0e float f*
;
|


WEATHER MAN
Instant, Reliable Weather Forecast!
New York City
|==|
US
Cloudy
|==|
Wind Speed
20°C
4:09:49
Wednesday, September 09, 2020
Weekly Weather
| Day | Weather | Temp | WS m/s | WD m/s |
|---|---|---|---|---|
| Mon | Rainy | 24°C | 1.41 | 14 |
| Mon | Rainy | 24°C | 1.41 | 14 |
| Mon | Rainy | 24°C | 1.41 | 14 |


An Angular 2+ module to pluralize and singularize any word.
npm install ng-pluralize --save
Import NgPluralizeModule
by adding the following to your parent module (i.e. app.module.ts
):
import { NgPluralizeModule } from 'ng-pluralize';
@NgModule({
...
imports: [
NgPluralizeModule,
...
],
...
})
export class AppModule {}
import {NgPluralizeService} from 'ng-pluralize';
@Injectable()
export class TechCheckService {
constructor(
private service:NgPluralizeService
) {
// Example: Singularize word
this.service.singularize('dogs'); // dog
// Example: Pluralize word
this.service.pluralize('cat'); // cats
// Example: Singluralize or pluralize based on count
this.service.fromCount('test', 0) //=> "tests"
this.service.fromCount('test', 1) //=> "test"
this.service.fromCount('test', 5) //=> "tests"
this.service.fromCount('test', 1, true) //=> "1 test"
this.service.fromCount('test', 5, true) //=> "5 tests"
this.service.fromCount('蘋果', 2, true) //=> "2 蘋果"
// Example of new plural rule:
this.service.pluralize('regex') //=> "regexes"
this.service.addPluralRule(/gex$/i, 'gexii')
this.service.pluralize('regex') //=> "regexii"
// Example of new singular rule:
this.service.singularize('singles') //=> "single"
this.service.addSingularRule(/singles$/i, 'singular')
this.service.singularize('singles') //=> "singular"
// Example of new irregular rule, e.g. "I" -> "we":
this.service.pluralize('irregular') //=> "irregulars"
this.service.addIrregularRule('irregular', 'regular')
this.service.pluralize('irregular') //=> "regular"
// Example of uncountable rule (rules without singular/plural in context):
this.service.pluralize('paper') //=> "papers"
this.service.addUncountableRule('paper')
this.service.pluralize('paper') //=> "paper"
// Example of asking whether a word looks singular or plural:
this.service.isPlural('test') //=> false
this.service.isSingular('test') //=> true
// Example of adding a token exception whose case should not be restored:
this.service.pluralize('promo ID') //=> 'promo IDS'
this.service.addRestoreCaseException('IDs')
this.service.pluralize('promo ID') //=> 'promo IDs'
}
}
singularize()
- Convert a word into it's singular form (ie dogs to dog)pluralize()
- Convert a word into it's plural form (ie cat to cats)fromCount(word, count, inclusive)
- Get the current internet speed in KBPS (kilobytes per second).word: string
- The word to pluralizecount: number
- How many of the word existinclusive: boolean
- Whether to prefix with the number (e.g. 3 ducks)If you find any issues feel free to open a request in the Issues tab. If I have the time I will try to solve any issues but cannot make any guarantees. Feel free to contribute yourself.
npm install
to get packages required for the demo and then run npm run demo
to run locally.npm run docs:build
package.json
files in both the root and dist/
directory following Semantic Versioning (2.0.0).npm run build
from root.dist/
contents into demo/node_modules/ng-pluralize/
cp -fr dist/* demo/node_modules/ng-pluralize/
ng serve
from demo/
ng build --prod
from demo/
npm publish
from dist/
directory.CHANGELOG.md
in root.MIT


these are a few of my favorite things
bright copper kettles
warm woolen:
- mittens
- gloves
- fingerless gloves
- biking gloves
brown paper packages
- sealed with masking tape
- tied up with string
- signed, sealed, and delivered
girls in white dresses with:
- blue
- periwinkle
- lilac
sashes.
see ya round austria!


| Supported Versions |
|
| Connection options |
|
| Max Packet Length |
|
| Idle Connection Timeout In Seconds |
|
| Reduced Ping Timeout In Seconds |
|
| Packet Reader Yield After Duration in Milliseconds |
|
| Mark QUIC Broken When Network Blackholes |
|
| Do Not Mark QUIC Broken on Network Changes |
|
| Retry without Alt-Svc on QUIC Errors |
|
| Do Not Fragment |
|
| Allow Server Migrations |
|
| Migrate Sessions Early |
|
| Migrate Sessions on Network Change |
|
| Close Sessions on IP Change |
|
| Disable Bidirectional Streams |
|
| Race Cert Verification |
|
| Estimate Initial RTT |
|
| Force Head of Line Blocking |
|
| Max Server Configs Stored in Properties |
|
| Origins To Force QUIC On |
|
| Server Push Cancellation |
|


Paxtools can run on any platform that has a Java Runtime Environment and was tested on most modern operating systems. Paxtools is open source and is available under the Lesser GNU public license (LGPL). The sources and release bundles can be obtained from sourceforge.net/projects/biopax/.
Here is a simple "hello world" application: BioPAXFactory factory = BioPAXLevel.L3.getDefaultFactory();
Model model = factory.createModel(); ;
Protein protein1 = model.addNew(Protein.class, ;
"http://biopax.org/tutorial/test1"); ;
protein1.addName("Tutorial Example Small molecule Transporter 1"); ;
protein1.setDisplayName("TEST1");;
;
BiochemicalReaction rxn1 = model.addNew(BiochemicalReaction.class, ;
"http://biopax.org/tutorial/rxn1"); ;
rxn1.addLeft(protein1); ;


=== Config function: lasp_SUITE:init_per_suite/1 (click for source code)
=== Config value:
<EMAIL_ADDRESS>{tc_group_properties,[]},
{tc_group_path,[]},
{data_dir,"/Users/anne-francevanswieten/lasp/_build/test/lib/lasp/test/lasp_SUITE_data/"},
<EMAIL_ADDRESS>=== Current directory is<EMAIL_ADDRESS>=== Started at 2017-04-18 13:51:23
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.573 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
application: sasl
started_at: runner@MBPdeAnneFrance
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.594 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
application: types
started_at: runner@MBPdeAnneFrance
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.601 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
application: gen_flow
started_at: runner@MBPdeAnneFrance
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.607 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
application: syntax_tools
started_at: runner@MBPdeAnneFrance
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.618 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
application: compiler
started_at: runner@MBPdeAnneFrance
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.628 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
supervisor: {local,gr_sup}
started: [{pid,<0.483.0>},
{id,gr_counter_sup},
{mfargs,{gr_counter_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,5000},
{child_type,supervisor}]
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.632 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
supervisor: {local,gr_sup}
started: [{pid,<0.485.0>},
{id,gr_param_sup},
{mfargs,{gr_param_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,5000},
{child_type,supervisor}]
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.635 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
supervisor: {local,gr_sup}
started: [{pid,<0.487.0>},
{id,gr_manager_sup},
{mfargs,{gr_manager_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,5000},
{child_type,supervisor}]
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.635 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
application: goldrush
started_at: runner@MBPdeAnneFrance
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.642 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
supervisor: {local,lager_sup}
started: [{pid,<0.494.0>},
{id,lager},
{mfargs,{gen_event,start_link,[{local,lager_event}]}},
{restart_type,permanent},
{shutdown,5000},
{child_type,worker}]
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.644 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
supervisor: {local,lager_sup}
started: [{pid,<0.496.0>},
{id,lager_handler_watcher_sup},
{mfargs,{lager_handler_watcher_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,5000},
{child_type,supervisor}]
*** System report during lasp_SUITE:init_per_suite/1 2017-04-18 13:51:23.647 ***
=PROGRESS REPORT==== 18-Apr-2017::13:51:23 ===
supervisor: {local,lager_sup}
started: [{pid,<0.498.0>},
{id,lager_crash_log},
{mfargs,
{lager_crash_log,start_link,
["log/crash.log",65536,10485760,[{hour,0}],5]}},
{restart_type,permanent},
{shutdown,5000},
{child_type,worker}]
*** User 2017-04-18 13:51:23.724 ***
13:51:23.720 [info] Application lager started on node runner@MBPdeAnneFrance
*** User 2017-04-18 13:51:23.724 ***
13:51:23.720 [info] Application time_compat started on node runner@MBPdeAnneFrance
*** User 2017-04-18 13:51:23.761 ***
13:51:23.760 [info] Application os_mon started on node runner@MBPdeAnneFrance
*** User 2017-04-18 13:51:23.772 ***
13:51:23.772 [info] Application riak_dt started on node runner@MBPdeAnneFrance
*** User 2017-04-18 13:51:23.773 ***
13:51:23.773 [info] Application lasp_support started on node runner@MBPdeAnneFrance
*** User 2017-04-18 13:51:23.775 ***
13:51:23.775 [info] Application rand_compat started on node runner@MBPdeAnneFrance
*** User 2017-04-18 13:51:23.780 ***
13:51:23.780 [info] Application acceptor_pool started on node runner@MBPdeAnneFrance
*** User 2017-04-18 13:51:23.870 ***
13:51:23.869 [info] Application partisan started on node runner@MBPdeAnneFrance
*** User 2017-04-18 13:51:23.891 ***
13:51:23.891 [info] Application plumtree started on node runner@MBPdeAnneFrance
*** User 2017-04-18 13:51:23.892 ***
13:51:23.891 [info] Setting jitter: false
*** User 2017-04-18 13:51:23.893 ***
13:51:23.893 [info] Setting tutorial: false
*** User 2017-04-18 13:51:23.894 ***
13:51:23.894 [info] Setting event interval: 0
*** User 2017-04-18 13:51:23.896 ***
13:51:23.895 [info] Setting max events: 1000
*** User 2017-04-18 13:51:23.897 ***
13:51:23.897 [info] Setting extended logging: false
*** User 2017-04-18 13:51:23.898 ***
13:51:23.898 [info] Setting mailbox logging: false
*** User 2017-04-18 13:51:23.899 ***
13:51:23.899 [info] Setting operation mode: state_based
*** User 2017-04-18 13:51:23.901 ***
13:51:23.900 [info] Setting set type: orset
*** User 2017-04-18 13:51:23.903 ***
13:51:23.903 [info] Setting broadcast: false
*** User 2017-04-18 13:51:23.931 ***
13:51:23.931 [info] Membership: false
*** User 2017-04-18 13:51:23.932 ***
13:51:23.932 [info] Workflow: true
*** User 2017-04-18 13:51:23.937 ***
13:51:23.937 [info] AdClientEnabled: false
*** User 2017-04-18 13:51:23.940 ***
13:51:23.939 [info] AdServerEnabled: false
*** User 2017-04-18 13:51:23.941 ***
13:51:23.941 [info] TournClientEnabled: false
*** User 2017-04-18 13:51:23.942 ***
13:51:23.942 [info] TournServerEnabled: false
*** User 2017-04-18 13:51:23.943 ***
13:51:23.943 [info] ThroughputType: gset
*** User 2017-04-18 13:51:23.944 ***
13:51:23.944 [info] ThroughputClientEnabled: false
*** User 2017-04-18 13:51:23.946 ***
13:51:23.945 [info] ThroughputServerEnabled: false
*** User 2017-04-18 13:51:23.947 ***
13:51:23.947 [info] DivergenceType: gcounter
*** User 2017-04-18 13:51:23.948 ***
13:51:23.948 [info] DivergenceClientEnabled: false
*** User 2017-04-18 13:51:23.949 ***
13:51:23.949 [info] DivergenceServerEnabled: false
*** User 2017-04-18 13:51:24.005 ***
13:51:23.984 [error] CRASH REPORT Process <0.657.0> with 1 neighbours exited with reason: {connection_error,{connection_error,econnrefused}} in gen_server:init_it/6 line 344
*** User 2017-04-18 13:51:24.026 ***
13:51:23.985 [error] Supervisor lasp_sup had child lasp_workflow started with lasp_workflow:start_link() at undefined exit with reason {connection_error,{connection_error,econnrefused}} in context start_error
*** User 2017-04-18 13:51:24.049 ***
13:51:23.986 [error] CRASH REPORT Process <0.582.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,lasp_workflow,{connection_error,{connection_error,econnrefused}}}},{lasp_app,start,[normal,[]]}} in application_master:init/4 line 134
*** User 2017-04-18 13:51:24.050 ***
13:51:23.986 [info] Application lasp exited with reason: {{shutdown,{failed_to_start_child,lasp_workflow,{connection_error,{connection_error,econnrefused}}}},{lasp_app,start,[normal,[]]}}
*** User 2017-04-18 13:51:24.050 ***
13:51:24.016 [info] Application plumtree exited with reason: stopped
*** User 2017-04-18 13:51:24.050 ***
13:51:24.050 [info] Application partisan exited with reason: stopped
*** User 2017-04-18 13:51:24.050 ***
13:51:24.050 [info] Application acceptor_pool exited with reason: stopped
*** User 2017-04-18 13:51:24.050 ***
13:51:24.050 [info] Application rand_compat exited with reason: stopped
*** User 2017-04-18 13:51:24.050 ***
13:51:24.050 [info] Application lasp_support exited with reason: stopped
*** User 2017-04-18 13:51:24.050 ***
13:51:24.050 [info] Application riak_dt exited with reason: stopped
*** User 2017-04-18 13:51:24.053 ***
13:51:24.052 [info] Application os_mon exited with reason: stopped
*** User 2017-04-18 13:51:24.053 ***
13:51:24.053 [info] Application time_compat exited with reason: stopped
*** CT Error Notification 2017-04-18 13:51:24.075 ***
lasp_SUITE:init_per_suite failed
Reason: {badmatch,{error,{lasp,{{shutdown,{failed_to_start_child,las...}
Full error description and stacktrace
=== Ended at 2017-04-18 13:51:24
=== Location: [{lasp_support,start_runner,271},
{lasp_SUITE,init_per_suite,46},
{test_server,ts_tc,1529},
{test_server,run_test_case_eval1,1130},
{test_server,run_test_case_eval,977}]
=== Reason: no match of right hand side value
{error,
{lasp,
{{shutdown,
{failed_to_start_child,lasp_workflow,
{connection_error,
{connection_error,econnrefused}}}},
{lasp_app,start,[normal,[]]}}}}
in function lasp_support:start_runner/0 (/Users/anne-francevanswieten/lasp/_build/test/lib/lasp/src/lasp_support.erl, line 271)
in call from lasp_SUITE:init_per_suite/1 (/Users/anne-francevanswieten/lasp/_build/test/lib/lasp/test/lasp_SUITE.erl, line 46)
in call from test_server:ts_tc/3 (test_server.erl, line 1529)
in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1130)
in call from test_server:run_test_case_eval/9 (test_server.erl, line 977)
===
*** init_per_suite failed.
Skipping all cases.
Test run history
| Top level test index


FEEL THE DIFFERENCE WITH US
Admission Related Help Desk -<PHONE_NUMBER>
Our Mission, envision ourselves as a Pace-setting University of Academic Excellence focused on Education, Research and Development in Established and Emerging Professions.
FEEL THE DIFFERENCE WITH US
Admission Related Help Desk -<PHONE_NUMBER>
Our Mission, envision ourselves as a Pace-setting University of Academic Excellence focused on Education, Research and Development in Established and Emerging Professions.


This interactive map provides spoiler-free background on the various places of interest in Middle Earth. Simply click on the place name of your choosing to learn more!


Dante's salty bread
In Paradiso, the third book of Dante's Divine Comedy, Dante meets Cacciaguida, who tells the narrator how his life will be under exile. When I read these lines in undergrad, they really stuck with me, so I wanted to make a site about them.
Here's the text in the original Italian:
Tu lascerai ogne cosa diletta
più caramente; e questo è quello strale
che l’arco de lo essilio pria saetta.
Tu proverai sì come sa di sale
lo pane altrui, e come è duro calle
lo scendere e ’l salir per l’altrui scale.
Translations into English
Here are a couple of different ways that the text was translated into English in a table.
| Translator | Text | Language | Publication date | Source |
|---|---|---|---|---|
| Original | Tu lascerai ogne cosa diletta |
Italian | 1308-1320 | Source |
| Robert Durling | You will leave behind everything beloved most dearly, and this is the arrow that the bow of exile first lets fly. |
English | 1996-2007 | Source |
| Allen Mandelbaum | You shall leave everything you love most dearly: |
1980-1984 | Source | |
| John D. Sinclair | Thou shalt leave everything loved most dearly, and this is the shaft which the bow of exile shoots first. Thou shalt prove how salt is the taste of another man's bread and how hard is the way up and down another man's stairs. |
1939-1946 | Source | |
| Charles Eliot Norton | Thou shalt leave everything beloved most dearly; and this is the arrow which the bow of exile first shoots. Thou shalt prove how the bread of others savors of salt, and how the descending and the mounting of another's stairs is a hard path. |
1891-1892 | Source | |
| Henry Wadsworth Longfellow | Thou shalt abandon everything beloved |
1867 | Source |
Source of dates and names are from Wikipedia.
Comparison of this page to another page
Let's look at another translation of Dante, this time in Columbia University's Digital Dante website.
Here, we can see that they include more information about the verses, as well as links to different translations of the text. (I used this site to find some of the translations used above.)
This site is good because it mixes in some elements of modern web design with some classical medieval iconography, which captures the themes of the original text in a way that is still user friendly for modern users. The header helps orient the reader, with the nav at the top out of the way and condensed. The header forces the user to scroll down before getting to the content, but that's not a huge issue for pages like this that encourage slower use. In the main text area, it allows users to go back and forth between commentary and text in a way that is intuitive (tab formats at the top). Sidebars are well demarcated with good headings (Coordinated Reading, Recommended Citation, etc).
A couple of bad elements: The text samples seem to be weirdly formatted such that I get a bunch of horizontal scroll bars if my window isn't full-sized. Also, the text of the full chapter is in an iframe, which makes scrolling less intuitive than if it were just in this page itself. Images seem to take a while to load, though, as well.
Looking at the source, it looks like there's good semantic code (nav, article, pre, footer, etc). A lot of code dedicated just to the nav bars at the top, jeez. The indenting doesn't seem to be very consistent, with most things flush against the left wall.


DEVELOPMENTS IN THE FIELD OF A I
The developement in AI has been relativily slow over the past 2 to 4 decades.
but with the invention of faster and better processing power it is growing at a much faster rate since the turn of the century.
In the past few decades we have came a long way despite the slow developement in the area.
There have been key step development in the field of the AI.
but there is currently no AI that can successfully replicate the full depth and breadth of human skills and cognition.
But humans have made some interesting advances in the field of A I.
Here is a summary of the Advancements humans have made in AI.
| Date | Description |
|---|---|
| 1952–1956 | The birth of artificial intelligence |
| 1956–1974 | The golden years |
| 1974–1980 | The first AI winter |
| 1980–1987 | Boom in the reaserch of AI |
| 1987–1993 | Bust: the second AI winter |
| 1993–2011 | Narrow AI |
| 2011–present | Artificial General Intelligence |


1. For the given array,filter all elements that do not contain e.
items = ['padikkal','virat','abd','dansames','yuzi','maxewell']
2. For the given array,filter all elements containing both n and e.
items = ['goalkeeper', 'new', 'china', 'allout', 'break', 'dinner']
3. For the given input array,filter all elements that start with den or end with ly
items = ['lovely', '1\ndentist', '2 lonely', 'eden', 'fly\n','dent']
4. For the given input array,replace hand with x for all words that start with hand followed by atleast one word character
items = ['handed', 'hand', 'handy', 'unhanded', 'handle', 'hand-2']
5. For the given input strings,replace all occurrences of removed or reed or received or refused with x
"refused reed redo received"
6. Replace all occurences of \e with e
" th\\er\\e ar\\e common asp\\ects among th\\e alt\\ernations"


This library provide two facilities:
#include "stdio.h" // rcpp::resource is located here #include "rcpp/resource.h" // this is a resource config, it contains only three things struct file_handle_config { // underlying type is FILE * typedef FILE * underlying_resource_type; // invalid value is NULL static FILE * invalid_value() { return NULL; } // dispose function is fclose static void dispose(FILE * f) { fclose(f); } }; // give a short name for resource... typedef rcpp::resource<file_handle_config> file_handle; int main() { // ... and use it file_handle f(fopen("test.txt", "r")); // work with file // it will be closed automatically return EXIT_SUCCESS; }
Resource-wrapper class T
is a class an instance of which contains an object of type
underlying_resource_type
and has the following public members:
| Member | Description |
T::underlying_resource_type |
The type of object we hold |
T::T() |
Create an wrapper that owns nothing |
explicit T::T(underlying_resource_type const &) |
Take an ownership over resource |
T::T(T && other) |
Take an ownership from other . After this operation this object owns the resource
that object other owns before. After this operation other owns nothing |
T & T::operator=(T && other) |
Destroy the object we own and take ownership from other . After this operation
this object owns the resource that object other owned before. After this operation other
owns nothing |
T::~T() |
Destroy the object we own |
void T::reset(underlying_resource_type const & underlying_resource) |
Destroy the object we own and take ownership over underlying_resource |
underlying_resource_type T::release() |
Release ownership of object we own and return underlying resource |
underlying_resource_type T::get() const |
Return copy of underlying resource |
operator T::<unspecified-bool-type>() const |
Return true if we own some resource, false otherwise |
void std::swap(T & a, T & b) |
Swap two resource-wrappers. After this operation object a owns a resource that
b owned before. And b owns a resource that a owned
before |
Resource-config class T
is a class that has the following public members:
| Member | Description |
T::underlying_resource_type |
An type of object that corresponding resource-wrapper hold |
static T::underlying_resource_type T::invalid_value() |
The value that valid object of type underlying_resource_type can not have.
If underlying resource of resource-wrapper has this value it means that wrapper does not
own any resource. |
static void dispose(T::underlying_resource_type const &) |
Destroy the resource |
Class rcpp::resource
is parametrized with resource-config
type and provides resource-wrapper interface. See <rcpp/resource.h>.
| resource wrapper | underlying resource type | invalid value | dispose function |
rcpp::win::file_handle |
HANDLE |
INVALID_HANDLE_VALUE |
CloseHandle |
rcpp::win::kernel_handle |
HANDLE |
NULL |
CloseHandle |
rcpp::win::find_file_handle |
HANDLE |
NULL |
FindClose |
rcpp::win::module_handle |
HMODULE |
NULL |
FreeLibrary |
rcpp::win::map_file_view_handle |
void * |
NULL |
UnmapViewOfFile |
| resource wrapper | underlying resource type | invalid value | dispose function |
rcpp::win::accelerator_table_handle |
HACCEL |
NULL |
DestroyAcceleratorTable |
rcpp::win::gdiobj_handle |
HGDIOBJ |
NULL |
DeleteObject |
rcpp::win::cursor_handle |
HCURSOR |
NULL |
DestroyCursor |
rcpp::win::icon_handle |
HICON |
NULL |
DestroyIcon |
rcpp::win::menu_handle |
HMENU |
NULL |
DestroyMenu |
rcpp::win::window_handle |
HWND |
NULL |
DestroyWindow |
rcpp::win::common_dc_handle |
std::pair<HWND, HDC> |
(NULL, NULL) |
ReleaseDC |
rcpp::win::dc_handle |
HDC |
NULL |
DeleteDC |
rcpp::win::class_handle |
std::pair<TCHAR const *, HINSTANCE> |
(NULL, NULL) |
UnregisterClass |
Really there are two class_handle
classes: classa_handle
and
classw_handle
. class_handle
is just a synonym for one of them
depending on what TCHAR
is.
| resource wrapper | underlying resource type | invalid value | dispose function |
rcpp::win::socket_handle |
SOCKET |
INVALID_SOCKET |
closesocket |
| resource wrapper | underlying resource type | invalid value | dispose function |
rcpp::win::glrc_handle |
HGLRC |
NULL |
wglDeleteContext |
| resource wrapper | underlying resource type | invalid value | dispose function |
rcpp::libc::file_handle |
FILE * |
NULL |
fclose |
| resource wrapper | underlying resource type | invalid value | dispose function |
rcpp::posix::dirent_handle |
DIR * |
NULL |
closedir |
rcpp::posix::file_handle |
int |
-1 |
close |
rcpp::posix::map_file_view_handle |
std::pair<void *, size_t> |
(MAP_FAILED, 0) |
munmap |
rcpp::posix::semaphore_handle |
sem_t * |
SEM_FAILED |
sem_close |
Standard Windows system headers are sensitive to inclusion order. So none of Windows-specific
headers of this library includes <windows.h>
. The user should include it manually in order
he want.
POSIX- and libc- headers include corresponding system headers itselves.
rcpp::resource
is portable, but most of resource wrappers in this library are not.
Creating yet one portability layer is out of scope of this library.
For portability reason consider using higher level libraries. For example boost::filesystem instead rcpp::posix::dirent
or rcpp::win::find_file_handle
.
I don't know whether rcpp::win::file_handle
and rcpp::win::kernel_handle
should
be merged [1].
In C++03 you can emulate move by releasing one object and reset other: a.reset(b.release())
.
It is not possible to return wrapped resource from function in C++03, but you can return corresponding
underlying_resource_type
and wrap it on caller side.
rcpp::resource
if my type
does not have invalid value?underlying_resource_type = boost::optional<type>
.
Invalid value of this resource will be boost::none
.
std::vector
?vector<boost::shared_ptr<resource> >
.
operator*()
instead of function get()
?
attach()
/detach()
instead of reset
/release
?auto_ptr
/unique_ptr
terminology.


| Class | Description |
|---|---|
| All |
Expression for returning all targets standing in a given range
|
| AllInRoom |
Return all targets standing in a given room (color)
|
| Behaviour |
Modified expression that encapsulates access to a hash map of subexpressions
|
| CanSee |
Behaviour for returning all targets that a given observer can see
NB. the observer is considered the shooter if not specified
|
| Chain |
Expression for chaining two expression ranges
|
| ColorLiteral |
A terminal expression containing a color value
|
| DamageLiteral |
A terminal expression containing a damage literal
|
| Difference |
Behaviour that evaluates to the difference of two sets passed as subexpressions
|
| DirectionLiteral |
Literal containing a direction
|
| Distance |
Behaviour that evaluates to a range at a specified distance from a specified origin
|
| DistanceRange |
Behaviour that evaluates to a range visible as a ring around a given origin.
|
| Do |
Expression that executes all its subexpressions in order, discarding the results
|
| Done |
Expression symbolizing that an evaluation has been done.
|
| Expression |
Base class of the game subsystem used to describe weapon behaviours.
|
| ExpressionTest | |
| GetColors |
Behaviour for retrieving the colors of the tiles from a given range
|
| GetVisibleRange |
Behaviour that evaluates to the range visible by an hypothetical observer standing on
at a specified position (store in the
origin subexpression) |
| InflictDamage |
Behaviour that evaluates to nothing and inflicts damage to all specified players.
|
| InfLiteral |
Literal representing infinity
|
| Intersect |
Behaviour that evaluates to the intersection of two generic SetExpressions provided as its subexpressions
|
| IntLiteral |
Literal representing an integral value
|
| LastSelected |
Behaviour evaluating to the TargetLiteral that was last selected by a SelectTargets behaviour
|
| Line |
Behaviour evaluating to a range shaped like a line segment starting at a specified origin and
ending after a specified length going in a specified direction.
|
| Literal<T> |
Expression representing a literal.
|
| Load |
Behaviour that complements the
Store behaviour: it accepts a StringLiteral subexpressions and evaluates to
the value that was previously associated with that StringLiteral by a previous evaluation of a Store
behaviour |
| Move |
Behaviour that evaluates to nothing and moves the specified targets in the specified position
|
| NegateTargets |
Behaviour that negates the selection of a given set of targets
|
| Neighbours |
Behaviour that evaluates to a set containing the players standing in the same tile
of
who |
| Others |
Behaviour that evaluates to the remaining not previously selected targets.
|
| PickEffect |
Expression that evaluates to an effect picked by the user.
|
| Pos |
Expression that evaluates to the position of the specified (through subexpression) player.
|
| PositionLiteral |
Literal containing a Position value
|
| SelectOneColor |
Behaviour that takes a color from layer input
|
| SelectOneDirection |
Behaviour that takes a direction from player input
|
| SelectOnePosition |
Behaviour that takes a position from player input
|
| SelectOneTarget |
Behaviour that takes a one target from player input
|
| SelectTargets |
Behaviour that takes a set of targets from player input
|
| SetExpression |
Expression representing a set of expressions
|
| Store |
Stores the result of its subexpression into the given scope.
|
| StringLiteral |
Literal containing a string value
|
| TargetLiteral |
A literal containing a target
|
| UndoInfo |
Class recording information to undo a game state
|
| UndoInfo.PlayerUndoInfo | |
| Union |
A behaviour evaluating to the union
|
| XorEffect |
Expression representing the selection of one between two weapon modes
|
| You |
Behaviour that evaluates to the current shooter
|
| YourPosition |
Behaviour that evaluates to your position
|
| Exception | Description |
|---|---|
| UnsupportedConversionException |
Exception launched when an unsupported conversion is attempted
|


LDAP and Active Directory Integration
This manual explains the configuration to use an already existing (e.g. corporate or university) LDAP/AD Server for user authentication into OpenMeetings. Successful integration has also been reported with Novell eDirectory.
For installation and setup instructions of an LDAP server itself see https://help.ubuntu.com/lts/serverguide/openldap-server.html
LDAP Configuration in OpenMeetings
To configure access to an LDAP Server, three things are needed:
1. Information how to access the LDAP Server for user lookup
-
Obtain the ip address and port number of the LDAP server. For the example configuration in the next section we will use the ip address <IP_ADDRESS> and the default LDAP port number 389.
-
A single LDAP user account is needed that has read privileges to the user entries that are to be used for login by OpenMeetings. Often these accounts have the organizational unit attribute
ou=system-users
. -
Obtain the cn and password of that user from the LDAP administrator. For the example configuration we will use
cn=openmeetings
andpassword=12345
. -
Obtain the dc values of the root of the LDAP database. In our example we will use
dc=mydomain,dc=org
.
2. An LDAP config file
-
This file needs to be located in the folder
$OM_HOME/webapps/openmeetings/data/conf/
1. An example file calledom_ldap.cfg
should come with your OpenMeetings installation. -
The file needs to contain the access information obtained in the previous section. For our example the file would contain the following:
ldap_conn_host=<IP_ADDRESS> ldap_conn_port=389 ldap_conn_secure=false # The following lines specify the data of the ldap user with # read privileges to the user entries according to the LDAP DB. ldap_admin_dn=cn=openmeetings,ou=system-users,dc=mydomain,dc=org ldap_passwd=12345 # The following line specifies where to search for users wanting to login ldap_search_base=ou=users,dc=mydomain,dc=org # The attribute in the LDAP DB which will be matched against the # given login data ("Username or mail address" field) in OpenMeetings: ldap_search_query=(uid=%s) # the scope of the search might be: OBJECT, ONELEVEL, SUBTREE ldap_search_scope=ONELEVEL # Ldap auth type(NONE, SEARCHANDBIND, SIMPLEBIND) # When using SIMPLEBIND a simple bind is performed on the LDAP server to check user authentication # When using NONE, the Ldap server is not used for authentication ldap_auth_type=SIMPLEBIND # userDN format, will be used to bind if ldap_auth_type=SIMPLEBIND # might be used to get provisionningDn in case ldap_auth_type=NONE ldap_userdn_format=uid=%s,ou=users,dc=mydomain,dc=org # Ldap provisioning type(NONE, AUTOCREATE, AUTOUPDATE) ldap_provisioning=AUTOCREATE # Ldap deref mode (never, searching, finding, always) ldap_deref_mode=always # Set this to 'true' if you want to use admin_dn to get user attributes # If any other value is set, user_dn will be used ldap_use_admin_to_get_attrs=true # Ldap-password synchronization to OM DB # Set this to 'true' if you want OM to synchronize the user Ldap-password to OM's internal DB # If you want to disable the feature, set this to any other string. # Defautl value is 'true' ldap_sync_password_to_om=true # Ldap group mode (NONE, ATTRIBUTE, QUERY) # NONE means group associations will be ignored # ATTRIBUTE means group associations will be taken from 'ldap_group_attr' attribute (M$ AD mode) # QUERY means group associations will be taken as a result of 'ldap_group_query' query ldap_group_mode=NONE ldap_group_query=(&(memberUid=%s)(objectClass=posixGroup)) # Ldap user attributes mapping # Set the following internal OM user attributes to their corresponding Ldap-attribute ldap_user_attr_login=uid ldap_user_attr_lastname=sn ldap_user_attr_firstname=givenName ldap_user_attr_mail=mail ldap_user_attr_street=streetAddress ldap_user_attr_additionalname=description ldap_user_attr_fax=facsimileTelephoneNumber ldap_user_attr_zip=postalCode ldap_user_attr_country=co ldap_user_attr_town=l ldap_user_attr_phone=telephoneNumber # optional attribute for user picture #ldap_user_attr_picture= ldap_group_attr=memberOf # optional, absolute URL will be used as user picture if #ldap_user_attr_picture will be empty #ldap_user_picture_uri=picture_uri # Ldap ignore upper/lower case, convert all input to lower case ldap_use_lower_case=false # Ldap import query, this query should retrieve all LDAP users ldap_import_query=(objectClass=inetOrgPerson)
NOTE: Directory Servers are individual for every organization, and might use different attribute names than the ones listed in the example config. Please obtain the information about the structure and attribute names of the entries and adjust the config file accordingly.
It is important to configure LDAP_SEARCH_PATH so that it points to the node of the LDAP directory server that contains the users.
If there are multiple search paths you can either try to define a search path that points to multiple nodes or define multiple LDAP configurations in the LDAP administration pane of OpenMeetings.
3. Configuring OpenMeetings to use the ldap config file
The final step binds the config file of the previous section to OpenMeetings:
-
Log into OpenMeetings as Administrator
-
Open Administration->LDAP
-
In the right pane of the main window labeled “LDAP Config” set the Name of the LDAP DB which you want to appear in the popup menu right of the “Domain” label of OpenMeeting’s login screen. Any Name can be set here.
-
Check the “Enabled” checkbox to make the LDAP DB available on the login screen.
-
Fill in the field “Config file name” with the file name of the config file from the previous section of this manual (just the file name, without it’s path).
-
Save the Configuration by clicking in the save icon above the “LDAP Config” label and load this setting by clicking in the reload icon right of the save icon.
-
The table in the left pane of OpenMeeting’s LDAP administration window should contain an entry with the ID (autoassigned by OpenMeetings), name and config file.
Test the settings by logging out of Openmeetings and logging back in with a user and password of the LDAP DB. Make sure you select the configured name of the LDAP DB in the “Domain” popup menu of the Login screen before pressing the “Sign in” button. If login doesn’t work, see the section Troubleshooting
Additional (optional) steps
Once login with users from the LDAP DB works, all users of that database can get imported into OpenMeetings internal table of users using the command line tool “admin.sh”:
-
First test with:
$OM_HOME/admin.sh -l -d1 --print-only
The argument of the
-d
(“domain-id”) flag indicates the ID number of the LDAP DB in the LDAP table on the left pane in OpenMeeting’s Administration->LDAP configuration. If only one LDAP DB is configured there the ID most probably is 1.--print-only
indicates that the entries shouldn’t actually get imported, but rather printed out on the terminal.If everything works as expected, a lot of printout should happen on the terminal with the user entries of the LDAP DB appearing last.
-
In that case the entries can actually get imported into OpenMeetings by omitting
--print-only
:$OM_HOME/admin.sh -l -d1
After import they can be found in the OpenMeeting website at appopriate places (Invitation into rooms, in the Administration pages of Users, Groups and Conference rooms, etc.).
NOTE: It is not strictly necessary to import all users from the LDAP DB: Any user who logs into OpenMeeting for the first time will be added to OpenMeeting’s Users table. For administrative purposes it can nevertheless be very convenient to import all users of an LDAP DB in order to distribute them to different Groups/Rooms without requiring each of them to log in first.
Troubleshooting
In case login doesn’t work it is recommended to turn on verbose logging:
-
stop OM
-
add the following line to
$OM_HOME/webapps/openmeetings/WEB-INF/classes/logback-config.xml
:<logger name="org.apache.directory" level="DEBUG" />
-
restart OM
-
Try to log in using the configured LDAP DB and try to debug the problem by checking the log file. By default, logging is done to the file
$OM_HOME/logs/catalina.out
.
Footnotes
1 $OM_HOME
is the home folder of the OpenMeetings installation, e.g. /opt/open503


--- layout: post status: publish published: true title: TestDriven.NET Tryout author: display_name: Tomas Restrepo login: tomasr email<EMAIL_ADDRESS>url: http://winterdom.com/ author_login: tomasr author_email<EMAIL_ADDRESS>author_url: http://winterdom.com/ wordpress_id: 308 wordpress_url: http://winterdom.com/2006/04/testdrivennettryout date: '2006-04-23 21:01:10 +0000' date_gmt: '2006-04-23 21:01:10 +0000' categories: - ".NET" - Development - Tools tags: [] comments: - id: 229 author: Jamie Cansdale author_email: '' author_url: http://weblogs.asp.net/nunitaddin date: '2006-04-27 00:31:30 +0000' date_gmt: '2006-04-27 00:31:30 +0000' content: | Green bar syndrome as Peli would say. ;) ---
It has been sometime since I had tried TestDriven.NET out (I've been using the NUnit GUI meanwhile). However, I decided to
download and try again the latest TestDriven.NET build alongside Visual Studio
2005, and it has worked wonderfully. Thanks to Jamie Cansdale for putting
together such an amazing tool.
Several reasons why I like it:
My only wish right now for TD.NET is a red-green window, i.e. a results pane
where you can see easily (with the usual red/green colors) what tests passed and
which didn't. Right now, TD.NET integrated nicely with the Output and Error List
window in VS, but I would much rather take a quick look at the colors than have
to sort out the output in the error list window (which can be inconvinient
sometimes). I don't think I'm gonna put this one down for a long time. I know
this will not be news for most of you, but I just had to say how much I liked it
:-)


--- layout: page title: ░▒▓█│【Walkman's】│█▓▒░ PC/Server Specs ---
| Computer type: | PC/Desktop |
| Operating System: | Linux Drive: Linux Mint 17.3 KDE 64-bit
Windows Drive: Windows 10 Pro 64-bit |
| CPU/Processor: | Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz LGA1155 Socket
4 physical processors, 2 threads per processor, so 8 system processors |
| Motherboard: | ASUS P8Z77-V Pro |
| RAM/Memory: | 2 x 4GB 1333MHz Corsair Vengeance DDR3 DIMM gaming RAM with
Heatsink, 8GB 1600MHz Transcend DDR3 UDIMM |
| Graphics Card: | ASUS NVIDIA GeForce GTX 1080 Ti 11GB GDDR5X (link) |
| Sound Output: | Realtek HD Audio,
HDMI Intel Display Audio, HDMI NVIDIA High Definition Audio, C-Media PCI-8738 C3DX |
| Headphones: | Sennheiser HDR 170 |
| Monitor: | ViewSonic VX3276-2K-MHD 32" (2560x1440@75Hz) |
| Resolution: | 1920x1080@60Hz |
| Windows Drive: | Western Digital 240GB 2.5" SSD |
| PSU: | Antec NeoEco NE850 (850 W) |
| Case: | NZXT Tempest 410 Elite |
| Cooling: | Case comes with 3 fans; PSU and CPU each have one; GPU has 3 |
| Keyboard: | ASUS Cerberus Mech RGB |
| Mouse: | Redragon Titanoboa2 Gaming Mouse |
| Internet Speed: | WiFi/Wireless Internet 20mbps DL/10mbps UL
speedtest.net/result/10680657741.png |
| Browser: | Vivaldi, Firefox |


Dwyane Wade comically calls out LeBron James for flopping in game
by TSD StaffOne of the best bromances in sports over the past decade has been the one between LeBron James and Dwayne Wade, as the two played with each other on two different teams (Heat, Cavaliers).
And even though Wade has since retired, he’s still in the NBA world, making his way into the broadcast booth from time to time, and on TV. He poked some fun at LBJ during the Heat-Lakers game, when he called out his former teammate over what he perceived to be a blatant flop.
LeBron, to his credit, also trolled Wade pretty well, with this zinger.
 Just like they said — they truly are like peanut butter and jelly.


You will notice at the top of this page that it says, "Go make disciples!" This is our church's mission statement. In fact this mission, given to the disciples by the Lord Jesus, is the mission of the entire Catholic Church.
Would you like to know more about us?
Our address is Saint Anthony of Padua Church, 121 Bridge Avenue, Red Bank New Jersey 07701
You can come visit us, give us a call, or send us an email. We are happy to hear from you!
732-747-0813


 Realising that I’d most likely end up falling asleep and wake up with the famously uncomfortable nutmeg hangover/buzz the next day, I decided I’d stay up and ride out the whole experience to the end. To help me with this I had some speed I’d bought off a mate, a whole point all to myself. I didn’t snort all the powder at once, though- rather I had a bit at a time, every half hour or so, until I’d used half of it. Then I stopped, and got on with my usual business in the boarding house.
We’ll fast-forward to when I went to bed, at 1am. Before then I’d just been experiencing the usual nutmeg high- heightened colours, that heavy meg buzz, and totally blood-shot eyes. The speed didn’t appear to have done much other than make me more talkative and energetic, so I was a little disappointed when I hopped into bed. I knew I wouldn’t be able to sleep, so I resolved to just sit down and write, read, whatever. While I was doing this I noticed that I was feeling quite paranoid, the sort of paranoia I usually only get when in an intense situation after having smoked a lot of strong hydros. I didn’t give much thought to it at first, and just chalked it down to the speed.
Soon, however, I realised something was up. Being in a boarding house, I slept in a ‘cubicle’ in a large dormitory- instead of a door, I had a curtain, and the ‘walls’ of my cubicle didn’t go all the way up to the roof (meaning you could jump into other people’s rooms, pretty much). I noticed that when I looked over at the curtain, there seemed to be some shadows outside of it that looked suspiciously like somebody’s feet.
A few moments later, however, I realised that my thinking was getting skewed. The paranoia was quite high, and I really did start thinking that there might be somebody outside my room.  At the time I thought, “Hey, this is pretty intense. Imagine how cool it would be if I made it MORE so!” So I got out my stash tin, pulled out the rest of the powder, and snorted it off a book, right there in my bed. I almost immediately felt a rush- in fact, I felt great, and I didn’t regret what I’d done at all.
A few minutes later, however, I started to think that maybe I hadn’t been too smart in my actions. The amphetamines seemed to increase my paranoia dramatically- I was hearing lots and lots of noises, footsteps and loud creakings, that I knew couldn’t possibly be happening. Looking at the wall across from me, I noticed the fabric on my bulletin board swirling and morphing- faces and pictures appeared, all sorts of things. That usually happens on nutmeg (and cannabis) with me, though, so I didn’t put much down to it. It was then that I looked back over at my curtain- and my heart leapt a million feet, sending electric shocks through my spine. There WAS somebody outside my curtain, and he was putting his hand in, trying to get me!
I knew straight away it was a hallucination, and I’d like to point out it wasn’t a delusion like I get with dimenhydrinate- I didn’t think this was real, in fact I knew it wasn’t. That was something that permeated the rest of this trip (or freak-out, if you will)- the fact that even though I was seeing a whole lot of strange shit, and thinking a whole lot of strange shit, I knew it was all hallucinations and would be over at some point. Hopefully.
So, anyway, there was a creepy guy outside my room. I couldn’t see him exactly, but he had a pretty claw-like evil hand, and my thinking at this point was pretty skewed. I got it into my head that I was safe- that this guy couldn’t come into my cubicle without my permission, so all he could do was stick his hand through the curtain.
I also noticed at this point that I was seeing things out of the corner of my eye, things moving and stuff.  So I did what any reasonable person would do in such a situation- put some Beethoven into my Discman and flicked off the lights.
This was probably a bad idea. As soon as I turned the lights off sparks and shining beams spun out all around me. The shadows in front of me seemed to swirl and turn, occasionally morphing into the form of some crazy, dancing gorilla man. The Beethoven music was totally freaking me out, my heart was pounding in my chest (from apprehension, mainly) and as my vision adjusted I noticed the posters on my bulletin board shift and spin and go berserk.
I turned my attention over to the desk, which is positioned so it sits in a little alcove between the wall and my cupboard. Standing there was the vague, dull form of some enormous goon with a club, although I couldn’t get the best look at him- he seemed vaguely transparent and the darkness shrouded his features. The Creepy Guy was still outside my curtain, but none of this was really bothering me too much. I was more excited than anything else- I was having my first trip, seeing my first proper hallucinations!
It was at this point that I discovered I had psychic powers, although as I said before I didn’t REALLY believe this- there was always a part of my mind that was assessing what was going on in an entirely rational manner. When I looked at the shadows on the roof I found I could ‘focus’ in a strange way and change their form- they became brown, rotating oblong blocks, spinning about the ceiling. I was certainly liking this newly acquired ability, so I turned the lights back on to experiment a little.
My feelings at this point were very intense, very strange and bizarre. I have no way to describe them, because they were quite unlike nutmeg, or weed, or any drug I’ve tried before or since. My thinking became quite unclear at this point- I was slowly becoming convinced that the drugs themselves were out to get me, that they were manifesting all these hallucinations to try and scare me into sleep, so the creepy man could come into my room and get me. I’m guessing this was the peak of the experience- I also found that I could use my ‘focus’ ability to warp the shape of anything around me. By ‘focusing’ on cups, shelfs, anything, I could make it bigger, smaller, make it into any shape I wanted.
It was during this peak that I began a long, irrational and paranoid sequence of turning my light off for a while, then on again, in a desperate effort to keep away any intense hallucinations. When I had the lights off I began to think I was in a special universe, the Dark World, and that I could switch to alternate dimensions by using my ‘focus’. These alternate dimensions weren’t much different to our own- they all looked like my room, but there were differences. In one my posters were gone, in another shadows filled the room like gas… I can’t remember it all, but it was pretty flipped out. The Creepy Man outside my curtain was still trying to get in, but I wasn’t scared of him any more- actually, I found ways of teasing him.  Serves him right, really.
When I had the lights on I found that I could use my ‘focus’ on some of my posters to make them 3D, or make them move, grow, warp and shrink. At one point in one of the Dark Worlds I saw an evil presence manifest itself as this transparent mist with eyes- it sunk into a box on the shelf across from me and came out again, looking like some giant misty insect. Other monsters followed, and energy started flying round my head- at one point a flying snake-thing made all out of glowing blue light flew right through my face, and I could hear it hum as it did so. Despite all this I wasn’t really scared- just a bit freaked out that this all was happening. As I said, I wasn’t totally irrational.
 The Creepy Man was still there, moving around, although now he looked like an enormous punk- I could see his blonde spikes moving around above my curtain. I discovered that when I ‘focused’ on my towel it made me feel paranoid and totally flipped- consequently I thought it is possessed. I experimented a little more with my ‘focus’, seeing how strong I was with it- I managed to ‘focus’ not just one object at one point, but an entire wall, cupboard included. I remember feeling an immense pride at how well my skills were coming along.
As the sun rose and the birds began to chirp outside (it was now around 6am) the hallucinations died down a lot. I found to my distress that my ‘focus’ power was gone, although I could still make some posters 3D to a certain extent. I listened to a Pink Floyd song, Dogs, and it freaked me out a lot:
And when you lose control
You’ll reap the harvest you have sown
And as the fear grows, the bad blood slows
and turns to stone
And it’s too late to lose the weight you used to
Need to throw around
So have a good drown, as you go down, alone
Dragged down by the stone.
This seemed incredibly relevant to what had been happening to me- that I had lost control, and that what had happened was a consequence of dabbling with crazy-ass drugs. Soon enough, however, the Creepy Man was gone and I was feeling quite alright again, although I had got my final revenge on that hallucinatory fuck- just as he was really fading, as he was finally disappearing, I’d whispered, “You can come in now.” That’ll teach him a lesson.
It was incredible for me- my first ‘real’ trip. I’ve never tried acid, mushrooms, peyote or any other hallucinogens before (except dimenhydrinate, but I don’t want to go into that) so I have nothing to compare it to, but a friend told me it sounded a lot like what happens on acid- and he should know, as he’s tried LSD. I found out afterwards that mixing nutmeg with speed is not encouraged. I’m not too sure about this. I experienced no bad (noticeable) physical or mental effects from my nutmeg/speed combo, and I wouldn’t describe this as a bad trip at all- it was freaky, yeah, and I was quite paranoid, but I was never really scared or ready to just totally freak out. In fact, I would try this again, except for the fact that I don't take nutmeg anymore.
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.


We are a team.  Let's meet following team leaders and directors. They are our brains, they think & we go!
This is a powerful template we've ever built. It's not just a powerful, quite beautiful and unlimited variations of trand features. You can build any type of website with it such as Corporate, Creative, Blog, Portfolio, Magazine and Grid sites.
Assertively empower state of the art best practices rather than backend markets. Enthusiastically architect in an intermandated alignments for granular infrastructures. Synergistically impact competitive ideas.


My AJAX request went to Travis and all it got was this lousy status code: {{status}}
{{status}}
{{text}}
{{headers}}
We couldn't connect to Travis at all: maybe it is down?


Workout Type: {{ wod.type }}
Instructions: {{ wod.instructions }}
{{ exercise.reps }} {{ exercise.name }}, {{ exercise.weightAmount }}
Instructions: {{ wod.instructions }} in {{ wod.timer }} minutes
{{ wod.repScheme }} reps of each:
{{ exercise.name }}, {{ exercise.weightAmount }}
Instructions: {{ wod.instructions }}.
{{ wod.repScheme }} reps
{{ exercise.name }}
Instructions: {{ wod.instructions }}
{{ exercise.reps }} {{ exercise.name }}, {{ exercise.weightAmount }}
Instructions: Complete {{ wod.rounds }} rounds of {{ wod.reps }} reps within {{ wod.timer }} minutes.
{{ exercise.reps }}{{ wod.repScheme }} {{ exercise.name }}, {{ exercise.weightAmount }}


High Cats is a fast pace racing/puzzle game where you work together as a team to win, but also race each other for the highest score. Artemis, Keisha, Ninja and Zoey lead a tranquil life, as one would expect of cats, until Artemis stumbles upon a catnip plant.
Get notified of official release date


Dashboard Welcome Daniel Johnson
Todolist
-
Call clients for follow-up
-
Schedule meeting
-
Upload files to server
-
Book flight for holiday 2 weeks
-
Recieve shipment Today
-
Go to concert
Full-sized backdrop image
-
Draggable events
- Call clients for follow-up
- Schedule meeting
- Upload files to server
- Book flight for holiday


Private chef for great events
Find Out MoreWe do great events for great people and we love what we do same as you love to eat, and now is your turn to enjoy our tasty and photogenic food!
Get Started!050-222-5059
Fill out the form below to send me a message and I will get back to you as soon as possible!


10.3.f insert action in repeat bound to collection
|
| open |
../../Chapt10/10.3/10.3.f.xhtml |
&nsp; |
Opens the form |
| pause |
5000 |
|
NOTE: Need to investigate why waitForModelReady was not working here. |
| verifyTitle |
10.3.f insert action in repeat bound to collection |
|
Makes sure this is the right form |
| verifyElementPresent |
xpath=/html/body/xforms:model/xforms:action[@ev:event='xforms-insert']/xforms:message |
|
Checks that message is in the form |
| verifyElementPresent |
xpath=/html/body/xforms:repeat[@id='lineset' and @nodeset='/lines/line'] |
|
Checks that repeat is in the form |
| verifyElementPresent |
xpath=/html/body/xforms:trigger[1]/xforms:action[@ev:event='DOMActivate']/xforms:insert |
|
Checks that insert is in the form |
| verifyElementPresent |
xpath=/html/body/xforms:trigger[2]/xforms:action[@ev:event='DOMActivate']/xforms:insert |
|
Checks that insert is in the form |
| verifyElementPresent |
xpath=/html/body/xforms:trigger[3]/xforms:action[@ev:event='DOMActivate']/xforms:insert |
|
Checks that insert is in the form |
| verifyElementPresent |
xpath=/html/body/xforms:output |
|
Checks that output is in the form |
| verifyText |
xpath=/html/body/xforms:repeat[@id='lineset' and @nodeset='/lines/line'] |
*Price:*Price:*Price:* |
Checks that repeat has the right values |
| verifyText |
xpath=/html/body/xforms:output |
*1* |
Checks that output has the right values |
| click |
xpath=/html/body/xforms:trigger[1] |
|
Clicks on the button1 |
| pause |
100 |
|
Waits for the form to load |
| verifyText |
xpath=/html/body/xforms:repeat[@id='lineset' and @nodeset='/lines/line'] |
*Price:*Price:*Price:*Price:* |
Checks that repeat has the right values |
| verifyText |
xpath=/html/body/xforms:output |
*1* |
Checks that output has the right values |
| click |
xpath=/html/body/xforms:trigger[2] |
|
Clicks on the button2 |
| pause |
100 |
|
Waits for the form to load |
| verifyText |
xpath=/html/body/xforms:repeat[@id='lineset' and @nodeset='/lines/line'] |
*Price:*Price:*Price:*Price:*Price:* |
Checks that repeat has the right values |
| verifyText |
xpath=/html/body/xforms:output |
*2* |
Checks that output has the right values |
| click |
xpath=/html/body/xforms:trigger[3] |
|
Clicks on the button3 |
| pause |
100 |
|
Waits for the form to load |
| verifyText |
xpath=/html/body/xforms:repeat[@id='lineset' and @nodeset='/lines/line'] |
*Price:*Price:*Price:*Price:*Price:*Price:* |
Checks that repeat has the right values |
| verifyText |
xpath=/html/body/xforms:output |
*6* |
Checks that output has the right values |


€ {{latestProduct.price}}
Exclusively Available on Regenerate Clothing.
Best customer service ever served by any clothing website.
Ordered a Black Fossils Watch. Received product in 2 days. Very happy with the product quality and service.
Bought grey skirt and I am really amazed with the quality of the product.


I am a software engineer born in Halifax, NS and raised in Bedford, NS. I attended Memorial University of Newfoundland in 2008, and in 2012 graduated with my Bachelor of Science in Computer Science.
Software Development has taken me across the continent: I studied in St John's, NL, and since graduation have worked in New York City, NY; Toronto, ON; Calgary, AB; Halifax, NS; and Fredericton, NB.
I am currently working in North York, ON as a UI Architect for Home Depot Canada.


Pattern
objects in their most basic form.
This section explores advanced techniques such as creating patterns with flags
and using embedded flag expressions. It also explores some additional useful methods that we haven't yet discussed.
Pattern
class defines an alternate
compile
method that accepts a set of flags
affecting the way the pattern is matched.
The flags parameter is a bit mask that may include any of the following public static fields:
Pattern.CANON_EQ
Enables canonical equivalence.
When this flag is specified, two characters will be considered to match if, and only if, their full canonical decompositions match. The expression "a\u030A"
, for example, will match the string "\u00E5"
when this flag is specified. By default, matching does not take canonical equivalence into account.
Specifying this flag may impose a performance penalty.
Pattern.CASE_INSENSITIVE
Enables case-insensitive matching.
By default, case-insensitive matching assumes that only characters in the US-ASCII charset are being matched. Unicode-aware case-insensitive matching can be enabled by specifying the UNICODE_CASE flag in conjunction with this flag.
Case-insensitive matching can also be enabled via the embedded flag
expression (?i)
.
Specifying this flag may impose a slight performance penalty.
Pattern.COMMENTS
Permits whitespace and comments in the pattern.
In this mode, whitespace is ignored, and embedded comments starting with
#
are ignored until the end of a line.
Comments mode can also be enabled via the embedded flag expression (?x)
.
Pattern.DOTALL
Enables dotall mode.
In dotall mode, the expression .
matches any character, including a line terminator. By default this expression does not match line terminators.
Dotall mode can also be enabled via the embedded flag expression (?s)
. (The s is a mnemonic for "single-line" mode, which is what this is called in Perl.)
Pattern.LITERAL
Enables literal parsing of the pattern.
When this flag is specified then the input string that specifies the pattern is treated as a sequence of literal characters. Metacharacters or escape sequences in the input sequence will be given no special meaning.
The flags CASE_INSENSITIVE
and UNICODE_CASE
retain their impact on matching when used in conjunction with this flag. The other flags become superfluous.
There is no embedded flag character for enabling literal parsing.
Pattern.MULTILINE
Enables multiline mode.
In multiline mode the expressions ^
and $
match just after or just before, respectively, a line terminator or the end of the input sequence. By default these expressions only match at the beginning and the end of the entire input sequence.
Multiline mode can also be enabled via the embedded flag expression (?m)
.
Pattern.UNICODE_CASE
Enables Unicode-aware case folding.
When this flag is specified then case-insensitive matching, when enabled by the CASE_INSENSITIVE
flag, is done in a manner consistent with the Unicode Standard. By default, case-insensitive matching assumes that only characters in the US-ASCII charset are being matched.
Unicode-aware case folding can also be enabled via the embedded flag expression (?u)
.
Specifying this flag may impose a performance penalty.
Pattern.UNIX_LINES
Enables Unix lines mode.
In this mode, only the '\n'
line terminator is recognized in the behavior of .
, ^
, and $
.
Unix lines mode can also be enabled via the embedded flag expression (?d)
.
RegexTestHarness.java
to create a pattern with case-insensitive matching.
First, modify the code to invoke the alternate version of compile
:
Pattern pattern = Pattern.compile(console.readLine("%nEnter your regex: "), Pattern.CASE_INSENSITIVE);
Enter your regex: dog Enter input string to search: DoGDOg I found the text "DoG" starting at index 0 and ending at index 3. I found the text "DOg" starting at index 3 and ending at index 6.
|
".
For clarity, the following
code samples hardcode the regular expression instead of reading it
from the Console
:
pattern = Pattern.compile("[az]$", Pattern.MULTILINE | Pattern.UNIX_LINES);
int
variable instead:
final int flags = Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE; Pattern pattern = Pattern.compile("aa", flags);
compile
, and are specified in the regular expression itself.
The following example uses the original test harness,
RegexTestHarness.java
with the embedded flag expression (?i)
to
enable case-insensitive matching.
Enter your regex: (?i)foo Enter input string to search: FOOfooFoOfoO I found the text "FOO" starting at index 0 and ending at index 3. I found the text "foo" starting at index 3 and ending at index 6. I found the text "FoO" starting at index 6 and ending at index 9. I found the text "foO" starting at index 9 and ending at index 12.
The embedded flag expressions
that correspond to Pattern
's
publicly accessible fields are presented in the following table:
| Constant | Equivalent Embedded Flag Expression |
|---|---|
Pattern.CANON_EQ |
None |
Pattern.CASE_INSENSITIVE |
(?i) |
Pattern.COMMENTS |
(?x) |
Pattern.MULTILINE |
(?m) |
Pattern.DOTALL |
(?s) |
Pattern.LITERAL |
None |
Pattern.UNICODE_CASE |
(?u) |
Pattern.UNIX_LINES |
(?d) |
matches(String,CharSequence)
MethodPattern
class defines a convenient
matches
method that allows
you to quickly check if a pattern is present in a given input string.
As with all public static methods, you should invoke matches
by its class name, such as
Pattern.matches("\\d","1");
.
In this example, the method returns true
, because the digit "1" matches the regular expression \d
.
split(String)
Methodsplit
method is a great tool for gathering the text that lies on
either side of the pattern that's been matched. As shown below in
SplitDemo.java
, the
split
method could extract the words
"one two three four five
" from the
string "one:two:three:four:five
":
import java.util.regex.Pattern; import java.util.regex.Matcher; public class SplitDemo { private static final String REGEX = ":"; private static final String INPUT = "one:two:three:four:five"; public static void main(String[] args) { Pattern p = Pattern.compile(REGEX); String[] items = p.split(INPUT); for(String s : items) { System.out.println(s); } } }
OUTPUT: one two three four five
:
) instead of a complex regular expression.
Since we're still using Pattern
and Matcher
objects, you can use split to get the text that falls
on either side of any regular expression. Here's the same example,
SplitDemo2.java
, modified to
split on digits instead:
import java.util.regex.Pattern; import java.util.regex.Matcher; public class SplitDemo2 { private static final String REGEX = "\\d"; private static final String INPUT = "one9two4three7four1five"; public static void main(String[] args) { Pattern p = Pattern.compile(REGEX); String[] items = p.split(INPUT); for(String s : items) { System.out.println(s); } } }
OUTPUT: one two three four five
public static String quote(String s)
Returns a literal pattern String
for the specified String
.
This method produces a String
that can be used to create a Pattern
that would match String s
as if it were a literal pattern.
Metacharacters or escape sequences in the input sequence will be given no special meaning.
public String toString()
Returns the String
representation of this pattern. This is the regular expression from which this pattern was compiled.
java.lang.String
java.lang.String
through
several methods that mimic the behavior of java.util.regex.Pattern
.
For convenience, key excerpts from their API are presented below.
public boolean matches(String regex)
: Tells whether or not this string matches the given regular expression.
An invocation of this method of the form str.matches(regex)
yields exactly the same result as the expression Pattern.matches(regex, str)
.
public String[] split(String regex, int limit)
: Splits this string around matches of the given regular expression.
An invocation of this method of the form str.split(regex, n)
yields the same result as the expression
Pattern.compile(regex).split(str, n)
public String[] split(String regex)
:
Splits this string around matches of the given regular expression.
This method works the same as if you invoked the two-argument split method with the given expression and a limit argument of
zero. Trailing empty strings are not included in the resulting array.
CharSequence
with another:
public String replace(CharSequence target,CharSequence replacement)
: Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence. The replacement proceeds from the beginning of the string to the end, for example, replacing "aa" with "b" in the string "aaa" will result in "ba" rather than "ab".