{% extends "base.html" %} {% block title %}Code Samples{% endblock %} {% block content %}
The following code examples should enable you to get started with using the API.
#API_URL# and #AUTH_STRING# should be replaced with the actual values, appropriate to the environment and user.
# Load libraries
library(httr)
library(jsonlite)
# Call the API
call <- httr::GET("#API_URL#/addresses?input=Gate Reach, Exeter, EX2 6GA",
add_headers(Authorization = "#AUTH_STRING#"))
# Retrieve the contents of the call
content <- httr::content(call, as = "text")
# Convert the contents from JSON to an R object
results <- jsonlite::fromJSON(content, flatten = TRUE)
The python example requires the requests library
#API_URL# and #AUTH_STRING# should be replaced with the actual values, appropriate to the environment and user.
The print function is included so the result can be seen in the console only, and should be removed for actual use.
import json
import requests
api_url = "#API_URL#"
endpoint = "/addresses"
search_term = "" #Only used for UPRN, Partial and Postcode endpoints
header = {"Content-Type": "application/json", 'Authorization': "#AUTH_STRING#"}
params = "input=Gate Reach, Exeter, EX2 6GA&verbose=true"
request = api_url + endpoint + search_term
def get_addresses():
try:
response = requests.get(request, params=params, headers=header, timeout=1000000., verify=false)
response.raise_for_status()
results = json.loads(response.text)
except requests.exceptions.HTTPError as error:
if error.response.status_code == 400:
results = json.loads(response.text)
else:
results = error
except requests.exceptions.RequestException as error:
results = error
print(results)
return results
if __name__ == '__main__':
get_addresses()
import json
import requests
api_url = "#API_URL#"
endpoint = "/bulk"
header = {"Content-Type": "application/json", 'Authorization': "#AUTH_STRING#"}
data = {"addresses": [{"id": "1", "address": "4 Gate Reach, Exeter, EX2 6GA"},
{"id": "2", "address": "Costa Coffee, 12 Bedford Street, Exeter, EX1 1LL"}]}
request = api_url + endpoint
def get_addresses():
try:
response = requests.post(request, json=data, headers=header, timeout=1000000., verify=false)
response.raise_for_status()
results = json.loads(response.text)
except requests.exceptions.HTTPError as error:
if error.response.status_code == 400:
results = response.text
else:
results = error
except requests.exceptions.RequestException as error:
results = error
print(results)
return results
if __name__ == '__main__':
get_addresses()


Edit the index.html file in your folder on the Course Web Server and replace the text [student name] with your name.
Welcome to my COP4813 Portfolio
You can view my projects by clicking the links below.
When you complete a project, remember to create a link to it using <a>..</a> tags.
This is your ePortfolio, which acts as a landing page to access each of the projects you complete during this class.


Samsung Galaxy users get free YouTube Premium for up to 4 months
Here’s good news for all the Samsung Galaxy users! Samsung is giving out free trials for you to access YouTube Premium for up to 4 months! However, only users who purchase and activate any Samsung Galaxy device from 20 February 2019 until 29 February 2020 are eligible.
For users who purchase the S10 series, Note 10 series, Galaxy Tab S5e and Galaxy Tab S6 are going to get 4 months of free YouTube Premium subscription. The other Galaxy devices will be receiving 2 months of free trials as well.
YouTube Premium was first released earlier this month and it is a service that offers you ads-free video viewing experience. Other features such as download the videos for offline viewing, play the video in the background and more come with the service as well.
Here is a step-by-step guide for eligible users to redeem the offer:
- Open the YouTube app on your Samsung Galaxy device and go to Account
- Click on Get YouTube Premium
- Click on Try it For Free
- Complete your purchase
- And finally, enjoy your YouTube videos and music without interruption
For more information about YouTube Premium, check out the official website! If you want to know more about offers and promotions, stay tuned on TechNave.com.


[1]
Form factor, memory size.; Controls are off the main unit.
[2]
Small, just like the previous generation player.; Requires special Apple earphones.


Activity: Conditionals
Let's do the following exercises with a partner. Grab a couple new neighbors and together go through each of these exercises one at a time. At the end we will ask different groups to present their solutions to each of the challenges and to explain why that is the right answer.
What's wrong with this code?
There are a few things wrong with this
sample if
-else
statement. Can you find
them all? Try to fix them all first and then try to run the code
to check your work.
if myVariable = 10 {
console.log("myVariable was equal to 10")
else {
console.log("myVariable was NOT equal to 10")
}
For each of the following exercises, make a variable at the top and use prompt()
to ask for user input, and then write some if
statements!
Log Greetings
Write a program that asks the user for their name and logs a different greeting for various different names. Handle the case of an unexpected name in a user-friendly way.
Primary Colors
Ask the user for a color and log whether the color is a primary color or not.
Even or Odd
Prompt the user for an integer and log if the integer is even or
odd.
Hint 1: Google JavaScript's modulo
operator.
Hint 2: What is the type of the
user inputted value? If you need to convert this, Google how to
do so.


Cupcake Menu
Our Famous Cupcakes:
Chocolate Cupcake
Vanilla Cupcake
Fantasy Cupcake
Strawberry Cupcake
Deluxe Cupcakes:
Icecream Cupcake
Cheesecake Cupcake
Rainbow Cupcake
Blackberry Cupcake


HOME
SEARCH CLIENT
ADD CLIENT
CLIENT DATA
Index Number
First Name
Last Name
Company Name
x
Modal title
Modal Content


| Table 1 |
Location, soil and climatic characteristics of selected site ... |
| Table 2 |
Baseline climates and projected “delta” temperature or perce ... |
| Table 3 |
Impact of climate change (temperature + CO 2 + rainfall) on ... |
| Table 4 |
Performance of virtual cultivars under baseline climate and ... |
| Table 5 |
Performance of virtual cultivars under baseline climate and ... |
| Table 6 |
Performance of virtual cultivars under baseline climate and ... |
| Table 7 |
Performance of virtual cultivars under baseline climate and ... |


Order details
Item
SKU
Price
Quantity
Total
Item
SKU
Price
Quantity
Total
Avocado Lover
M-LC-BL-G-i678-V1
£4.49
2
£8.95
Item
SKU
Price
Quantity
Total
Salmon & Tuna Nigiri
U-DA-AO-Wj601-V1
£5.01
2
£10.02
Sub total
Sub total
£19.00
Discount
Discount
£0.00
Delivery
Delivery
£2.50
Total
Total
£21.50


Welcome to my awesome Docker project
I love my Adamek
He is my awesome love
The best person on the world


{{define "info-footer"}}
Welcome to webauthn.io! This site is designed by Duo Labs to test the new W3C Specification Web Authentication. WebAuthn is supported in the Chrome, Firefox, and Edge browsers to different degrees, but support for credential creation and assertion using a U2F Token, like those provided by Yubico and Feitian, is supported by all of them. The code for this demo can be found here on GitHub. To read more about WebAuthn and what is does, check out webauthn.guide for an introduction.
Get started using WebAuthn with one of these libraries:


CrimPapers
Articles published on 17 July 2019
On 17 July 2019, 12 new articles were published in 10 journals.
Inequalities and Crime by Karen Heimer
In Defense of Resistance
Intimate Partner Violence (ipv) and Neurological Outcomes: A Review For Practitioners by Kathleen Monahan
“What If My Parents Get Deported?” Hispanic Youths’ Feelings About the Trump Presidency by Connie Hassett-Walker
Testing the Effectiveness of Anti-Theft Wraps Across Product Types in Retail Environments: A Randomized Controlled Trial
A Conceptual Replication of the Strategic Training Initiative in Community Supervision (stics)
Help Seeking Experiences of Survivors of Intimate Partner Violence in Canada: the Role of Gender, Violence Severity, and Social Belonging
The Effects of Procedural Justice on Cooperation and Compliance Among Inmates in A Work Release Program by Edward R. Maguire, Cassandra A. Atkin-Plunk, William Wells
A Critical Approach of Cash-in-Transit Regulation and Organisation From A Situational Crime Prevention Perspective
Exploring the Relationship Between Stigma, Stigma Challenges, and Disclosure Among Slum-Dwelling Survivors of Intimate Partner Violence in Kenya by Eleanor Maticka-Tyndale, Jessica Penwell Barnett, Trocaire
Suicide Squad: Boko Haram’s Use of the Female Suicide Bomber by Vesna Markovic
The Facets of Gender Inequality and Homicide: A Cross-National Examination by Mark H. Heirigs, Matthew D. Moore


Found locally in Idaho!
The Black-capped Chickadee can be found in all parts of Idaho.
Population numbers are high!
The Black-capped Chickadee ranks low for concern about their numbers.
Very friendly and social birds!
The Black-capped Chickadee has been known to be a friendly bird.


Register
First Name:
Last Name:
Male
Female
Other
Email:
Password:
Birthday:
Month
January
Feburary
March
April
May
June
July
August
September
October
November
December
Day
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Year
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
I Agree to The Terms and Conditions


A **key** means a cryptographic key, used for HMAC-based
authentication of certain requests. Keys are used to allow third party
software to communicate with the RunOrg API through an insecure
channel, such as through tokens handled in the client browser.
For instance, you can use keys to [securely authenticate](/people/hmac.htm)
an user that is already logged into another service you control:
- Dave, the __developer__, generates a new **key** (a random sequence
of bytes) and registers it with API using the [create
key](/keys/create.htm) endpoint. This yields a **key-id**.
- Dave then stores both the key and the key-id in MyTestApp (his own
application).
- Alice, the __user__, connects to MyTestApp.
- MyTestApp creates an **assertion** that says "Until date X, assume
the holder of this assertion to be Alice", and computes a
cryptographic **proof** by applying `HMAC-SHA1(key,assertion)`.
- Alice receives the assertion, the proof and the key-id from
MyTestApp, and sends it to RunOrg.
- RunOrg uses the key-id to retrieve the key from its internal database,
computes `HMAC-SHA1(key,assertion)` and compares it with the provided
proof. If they match, then it is certain that the assertion was
generated by MyTestApp, and so RunOrg authenticates Alice.
- Alice receives a RunOrg token and can start using the API.
It is recommended to keep one API key for each third party
application, and to disable individual keys if they are leaked or
become too old.
For safety reasons, it is impossible to access the keys registered
with RunOrg. If you lose a key, please delete the associate key-id
and create a new key.


|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<KnownXmlType> org.codehaus.enunciate.contract.jaxb.types.KnownXmlType
public enum KnownXmlType
Set of known xml types.
| Method Summary | |
|---|---|
java.lang.String |
getName()
The name of the known type. |
java.lang.String |
getNamespace()
The name of the known type. |
javax.xml.namespace.QName |
getQname()
The qname of the known type. |
boolean |
isAnonymous()
The definition of this type is never anonymous. |
boolean |
isSimple()
The only known type that is not simple is xs:anyType. |
static KnownXmlType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static KnownXmlType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final KnownXmlType STRING
public static final KnownXmlType NORMALIZED_STRING
public static final KnownXmlType TOKEN
public static final KnownXmlType BASE64_BINARY
public static final KnownXmlType HEX_BINARY
public static final KnownXmlType INTEGER
public static final KnownXmlType POSITIVE_INTEGER
public static final KnownXmlType NEGATIVE_INTEGER
public static final KnownXmlType NONPOSITIVE_INTEGER
public static final KnownXmlType NONNEGATIVE_INTEGER
public static final KnownXmlType LONG
public static final KnownXmlType UNSIGNED_LONG
public static final KnownXmlType INT
public static final KnownXmlType UNSIGNED_INT
public static final KnownXmlType SHORT
public static final KnownXmlType UNSIGNED_SHORT
public static final KnownXmlType BYTE
public static final KnownXmlType UNSIGNED_BYTE
public static final KnownXmlType DECIMAL
public static final KnownXmlType FLOAT
public static final KnownXmlType DOUBLE
public static final KnownXmlType BOOLEAN
public static final KnownXmlType DURATION
public static final KnownXmlType DATE_TIME
public static final KnownXmlType DATE
public static final KnownXmlType TIME
public static final KnownXmlType GYEAR
public static final KnownXmlType GYEAR_MONTH
public static final KnownXmlType GMONTH
public static final KnownXmlType GMONTH_DAY
public static final KnownXmlType GDAY
public static final KnownXmlType NAME
public static final KnownXmlType QNAME
public static final KnownXmlType NCNAME
public static final KnownXmlType ANY_URI
public static final KnownXmlType ANY_SIMPLE_TYPE
public static final KnownXmlType ANY_TYPE
public static final KnownXmlType LANGUAGE
public static final KnownXmlType ID
public static final KnownXmlType IDREF
public static final KnownXmlType IDREFS
public static final KnownXmlType ENTITY
public static final KnownXmlType ENTITIES
public static final KnownXmlType NOTATION
public static final KnownXmlType NMTOKEN
public static final KnownXmlType NMTOKENS
public static final KnownXmlType SWAREF
| Method Detail |
|---|
public static KnownXmlType[] values()
for (KnownXmlType c : KnownXmlType.values()) System.out.println(c);
public static KnownXmlType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
getName
in interface XmlType
public java.lang.String getNamespace()
getNamespace
in interface XmlType
public javax.xml.namespace.QName getQname()
getQname
in interface XmlType
public boolean isAnonymous()
isAnonymous
in interface XmlType
public boolean isSimple()
isSimple
in interface XmlType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |


Inp = rollback(M,Inp,Range,Date)
M
[ model ] - Model object with a single parameterization.
Inp
[ struct ] - Database with a single set of input data for a Kalman filter.
Range
[ numeric ] - Filter data range.
Date
[ numeric ] - Date up to which the input data entries will be rolled back, see Description.
Inp
[ struct ] - New database with new data sets added to each tseries for measurement variables, taking out one observation at a time, see Description.The function rollback
takes a database with a single set of input data that is supposed to be used in a future call to a Kalman filter, model/filter
, and creates additional data sets (i.e. addition columns in tseries for measurement variables contained in the database) in the following way:
the total number of the new data sets (new columns added to each measurement tseries) is N = NPer*Ny where NPer is the number of rollback periods, from Date
to the end of Range
(including both), and Ny is the number of measurement variables in the model M
.
The first additional data set is created by removing the observation on the last measurement variable in the last period (i.e. end of Range
) and replacing it with a NaN
.
The second additional data set is created by removing the observatoins on the last two measurement variables in the last period, and so on.
The N-th (last) additional data set is created by removing all observations in all periods between Data
and end of Range
.
If the model m
contains, for instance, 3 measurement variable, the following commands will produce a total of 13 Kalman filter runs, the first one on the original database d, and the other 12 on the rollback data sets, with individual observations removed one by one:
dd = rollback(m,d,qq(2000,1):qq(2015,4),qq(2015,1));
[mf,f] = filter(m,dd,qq(2000,1):qq(2015,4));


|
Embedding Hidden Instances in Table Cells
|
With the new mechanism for embedding truly hidden player instances introduced in Music Object version 3.3, a problem was found with embedding hidden instances in table cells (or other container elements), that would cause intermittent crashes in some 4.x versions of Netscape Navigator.
A sonified document that contains one or more hidden player instances embedded inside table cells (or other container elements), may sometimes cause a crash in certain versions of Netscape 4.x when the document is reloaded. Occasionally also, when a crash does not occur, the sonification of the page may fail in other ways.
It is quite rare, indeed, for hidden instances to be embedded inside table cells. The chances are that this issue may not be relevant to any of your sonified content. Just about the only reason that this problem could affect your content is if you had previously used the technique of embedding hidden instances in table cells as a way of controlling the effect that the small 2x2 pixel semi-hidden instances (created by versions of Music Object earlier than 3.3) would have on a document's layout. If you then upgraded that content to use version 3.3 (or higher) of the Music Object API, your content could be exposed to this issue.
Because hidden instances no longer impact the flow of a document's layout, there is really no compelling reason at all to embed them inside table cells (or any other container elements, for that matter). So, in order to avoid this potential browser crash, hidden instances should not be embedded within elements deep inside a document's layout hierarchy, but should only ever be embedded as top level members of the BODY tag.


SPEAKER\-TEST
Section: User Commands (1)Updated: April 2nd, 2011
Index Return to Main Contents
NAME
speaker-test - command-line speaker test tone generator for ALSASYNOPSIS
speaker-test [-options]DESCRIPTION
speaker-test generates a tone that can be used to test the speakers of a computer.speaker-test by default will test the default device. If you want to test another sound device you will have first to get a list of all of the sound cards in your system and the devices associated with those cards. Notice that there might be for example, one device for analog sound, one for digital sound and one for HDMI sound. To get the list of available cards and devices you can run aplay -L.
$ aplay -L null Discard all samples (playback) or generate zero samples (capture) default:CARD=ICH5 Intel ICH5, Intel ICH5 Default Audio Device front:CARD=ICH5,DEV=0 Intel ICH5, Intel ICH5 Front speakers surround40:CARD=ICH5,DEV=0 Intel ICH5, Intel ICH5 4.0 Surround output to Front and Rear speakers (...)
in the above example, there are four devices listed: null, default, front and surround40. So, if you want to test the last device you can run speaker-test -Dsurround40:ICH5 -c 6. The -c option will indicate that the six audio channels in the device have to be tested.
OPTIONS
- -c | --channels NUM
-
NUM channels in stream
- -D | --device NAME
-
PCM device name NAME
- -f | --frequency FREQ
-
sine wave of FREQ Hz
- --help
-
Print usage help
- -b | --buffer TIME
-
Use buffer size of TIME microseconds.
When 0 is given, use the maximal buffer size.
The default value is 0.
- -p | --period TIME
-
Use period size of TIME microseconds.
When 0 is given, the periods given by -P option is used.
The default value is 0.
- -P | --nperiods ERIODS
-
Use number of periods. The default value is 4.
- -r | --rate RATE
-
stream of RATE Hz
- -t | --test pink|sine|wav
-
-t pink means use pink noise (default).
Pink noise is perceptually uniform noise -- that is, it sounds like every frequency at once. If you can hear any tone it may indicate resonances in your speaker system or room.
-t sine means to use sine wave.
-t wav means to play WAV files, either pre-defined files or given via -w option.
You can pass the number from 1 to 3 as a backward compatibility.
- -l | --nloops COUNT
-
Specifies the number of loops. Zero means to run infinitely.
When -s option below with a valid channel is given, speaker-test will perform always a single-shot without looping.
- -s | --speaker CHANNEL
-
Do a single-shot speaker test for the given channel. The channel number starts from 1.
The channel number corresponds to left, right, rear-left, rear-right, center, LFE,
side-left, side-right, and so on.
For example, when 1 is passed, it tests the left channel only once rather than both channels with looping.
- -w | --wavfile
-
Use the given WAV file for the playback instead of pre-defined WAV files.
- -W | --wavdir
-
Specify the directory containing WAV files for playback.
The default path is /usr/share/sounds/alsa.
USAGE EXAMPLES
Produce stereo sound from one stereo jack:
-
speaker-test -Dplug:front -c2
Produce 4 speaker sound from two stereo jacks:
-
speaker-test -Dplug:surround40 -c4
Produce 5.1 speaker sound from three stereo jacks:
-
speaker-test -Dplug:surround51 -c6
To send a nice low 75Hz tone to the Woofer and then exit without touching any other speakers:
-
speaker-test -Dplug:surround51 -c6 -s1 -f75
To do a 2-speaker test using the spdif (coax or optical) output:
-
speaker-test -Dplug:spdif -c2
SEE ALSO
aplay(1)AUTHOR
The speaker-test program was written by James Courtier-Dutton. Pink noise support was added by Nathan Hurst. Further extensions by Takashi Iwai.
Index
This document was created by man2html, using the manual pages.
Time: 05:29:11 GMT, December 24, 2015


Classes in Ruby
Or, how to make something that you can use
This week we are delving into classes in Ruby. What are classes? Let's define them by what they do: classes create objects and assign them tailor-made methods. What does that mean? Let me try to explain with a real-world example: a commercial airline flight.
Let's say we made a class in Ruby called Flight. In this class we create
class Flight end
Boom! We just created a new class in Ruby, called Flight. But it has no content yet. Let's give it a method that assigns an airline to the flight:
class Flight def initialize(airline_name,flight_number) @airline = airline_name @flight_number = flight_number end end
Now our Flight class has a method named .initialize, which is a special method name in Ruby: whenever a new object is made for this Flight class, the initialize method will be called on the new object. Our initialize method accepts two arguments, an airline name and a flight number, and assigns them to two class variables named @airline and @flight_number (that's what the leading @ means; any variable that looks like @this is a class variable, and can be utilized by any method in the class).
Ok now let's create a new Flight object, and give it an airline name and flight number:
class Flight def initialize(airline_name,flight_number) @airline = airline_name @flight_number = flight_number end end our_flight = Flight.new("Delta",562)
We just created a new object for our Flight class! The new object is named our_flight, and it has Delta as its airline name and 562 as it's flight number. But nothing will print to the screen when we run this. And what can we do with this?
Let's start by retrieving info from our new Flight object. If I add some attributes to the class, we can start to retrieve information and edit information:
class Flight #This line succinctly creates methods that can retrieve #and edit the airline info and flight info attr_accessor :airline, :flight_number def initialize (airline_name, flight_number) @airline = airline_name @flight_number = flight_number end end our_flight = Flight.new("Delta", 562) p our_flight.airline # This will print out "Delta" p our_flight.flight_number # This will print out 562 our_flight.airline = "JetBlue" # This changes the airline name our_flight.flight_number = 2373 #This changes the flight number p our_flight.airline # This will print out "JetBlue" p our_flight.flight_number # This will print out 2373
I did a few new things above. First, I added the attr_accessor line, which creates two methods: .airline and .flight_number, each of which can be used to print the current info, or edit the current info. Then, I added a few p statements to show this in action. The first two p statements print out the current info (Delta and 562), then we use those same methods to assign new values, and the final two p statements print the new info. We just retrieved and assigned values to our new Flight object!
Now let's create some more methods that would make sense for any flight:
class Flight #I added a few more to this line, to match the new variables below attr_accessor :airline, :flight_number, :start_time, :end_time, :origin, :destination def initialize (airline_name, flight_number) @airline = airline_name @flight_number = flight_number end #This method assigns start and end times to our flight def times(start_time, end_time) @start_time = start_time @end_time = end_time end def locations(origin, destination) @origin = origin @destination = destination end end our_flight = Flight.new("Delta", 562) #sets times for flight our_flight.times("9:00am", "12:00pm") p our_flight.start_time #This will print out "9:00am" p our_flight.end_time #This will print out "12:00pm" # sets origin and destination for flight our_flight.locations("New York JFK", "Fort Lauderdale FLL") p our_flight.origin #This will print out "New York JFK" p our_flight.destination #This will print out "Fort Lauderdale FLL" #changes the start time of flight our_flight.start_time = "9:10am" p our_flight.start_time #This will print out "9:10am"
There you have it! A quick primer on classes and class objects and their methods! I hope this made sense.


Caenorhabditis sp. 21 is a gonochoristic species, and the second ealiest branching species in the genus [1]. The sequenced strain, NIC534, is an inbred strain generated from the type isolate NIC134, which was isolated in Madagascar (pers. comm). See below for more information.
A formal description of C. sp. 21 is currently underway.
CGC strain entry: NIC534
The raw data can be downloaded from either ENA or NCBI (please note the raw data contain sequencing adapters and bacterial contamination - contact<EMAIL_ADDRESS>for “cleaned” reads):
https://www.ebi.ac.uk/ena/data/view/PRJEB12595
https://www.ncbi.nlm.nih.gov/bioproject/PRJEB12595
The genome of C. sp. 21 NIC534 was assembled by Lewis Stevens (Blaxter Lab) using short-read data.
See our general assembly pipeline for more info: CGP Pipeline
Genes were predicted using BRAKER which utilises evidence from raw RNA-seq data [2].


Owner Faruk, two others sent to jail in FR Tower design forgery case
by bdnews24.comA Dhaka court has ordered three people, including SMHI Faruk, to jail in a case that involves charges of forging the design of fire-ravaged FR Tower in Dhaka’s Banani.
Dhaka Metropolitan Senior Special Judge KM Imrul Kayes passed the order after rejecting their bail pleas on Sunday.
The other suspects in the case are former RAJUK building inspectors Aurangzeb Siddique and Shawkat Ali.
Earlier on Nov 5, the High Court scrapped bail for the three men and asked them surrender to the trial court within seven days, following an appeal from the Anti-Corruption Commission.
On Mar 28, a deadly fire swept through FR Tower in Dhaka's Banani, leaving 27 people dead. Investigations into the incident later found irregularities relating to the building's construction.
Engineer SMHI Faruk is the main owner of the land on which the high-rise office bloc was built by developer Rupayan Housing Estate Limited.
On Jun 25, the ACC filed a case against 23 people, including BNP leader Tasvir Ul Islam, who is one of the other owners of FR Tower, for constructing the building with a forged design.


Decoding JET's Grunt Scripts
If you’ve scaffolded out a JET QuickStart project using the Yeoman generator, you may have noticed some Grunt tooling in a scripts
folder in the root of your project. If you haven’t, give it a try at the command prompt (assuming you already have Yeoman installed):
# this gets the JET generator installed once for all time
npm install -g generator-oraclejet
# this generates a JET application with QuickStart_Basic template into a yoJET directory
yo oraclejet yoJET --template=basic
After this runs, a message even tempts you regarding your new Grunt powers with the hint that you can change to the yoJET directory and run grunt build
and grunt serve
.
So we know there are at least two Grunt tasks delivered in the Oracle JET Yeoman generator. But did you know they run differently in development mode vs. release mode? What other coolness lurks in the JET Grunt implementation?
A leaned-down Gruntfile.js
In the root of your generated yoJET application is a Gruntfile.js
file. This is Grunt’s most important file, and in most projects it can get very long and cluttered with many lines of configuration for all of the Grunt tasks you want to set up.
But in the generated version, you’ll see that things are lean and tidy. In fact, there’s none of the normal grunt.loadNpmTasks()
calls nor endless configuration settings. Instead, the JET Grunt setups lean on grunt-load-config and jit-grunt to implement the configs and load everything on the fly.
Gruntfile.js
/**
* Copyright (c) 2014, 2016, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
"use strict";
var path = require("path");
/*
* Currently the tooling uses load-grunt-config to manage it's tasks.
* In future grunt plugin will be created for better management
*/
module.exports = function (grunt)
{
require("jit-grunt")(grunt, {});
require("load-grunt-config")(grunt,
{
configPath: path.join(process.cwd(), "scripts/grunt/config"),
jitGrunt:
{
customTasksDir: "scripts/grunt/tasks"
},
data:
{
oraclejet:
{
ports:
{
server: 8000,
livereload: 35729
}
}
}
});
};
Notice that the configPath
is being redirected to the scripts/grunt/config
folder in our project. There’s a whole folder structure with Grunt settings created by the Yeoman generator:
What’s up with the Scripts folder
This structure is how load-grunt-config
likes to think. By separating each Grunt task’s configs into their own files it keeps things orderly and easy to edit. Meanwhile, jit-grunt
takes care of loading the node_modules plugins based upon the task names you use instead of loading them all up at the beginning of your Gruntfile.
The scripts/grunt/config
files fall into the proper naming pattern and contain the configurations that would normally be in the Gruntfile’s grunt.initConfig()
. A module’s configs are stuffed into a module.exports
object. However, note that the module’s config object notation changes ever so slightly: you don’t need the eponymous outer object named after the modules and can instead just export the meat of the Grunt module’s config. Compare, for example, the generated scripts/grunt/config/clean.js
export with a sample Gruntfile config for grunt-contrib-clean — there’s no outer clean: {...}
object in the JET-generated case.
The scripts/grunt/common
folder contains importable variables used by the tasks and configs, such as build.js
and bowercopy.js.
These imports are more modular than the global values set in the Gruntfile’s data: {}
object.
Finally, under the scripts/grunt/tasks
folder you’ll find our two seeded Grunt tasks: build.js
and serve.js
. These tasks can call the other modules with various targets or even set options based upon which target you call the task with.
Out-of-the-box Grunt commands
So the fresh-from-the-generator setup for a JET project includes at least the following Grunt tasks:
grunt serve
(same asgrunt serve:dev
) – spins up a webserver pointing at your project code, watches for changes to your files, and uses liveReload to refresh the browser upon changesgrunt build
(same asgrunt build:dev
) – doesn’t do anything. Even though the:dev
target is the default, there isn’t anything to “build” since the dev files are served directly out of the project rootgrunt build:release
– runs a boatload of tasks which create a/release
folder in the root of the project and then copy the code and assets needed to deploy your JET project. Notice that the tasks that run include uglifying your JavaScript and moving copies of the Bower-sourced libraries into placegrunt serve:release
– spins up a webserver that points at that/release
folder so you can verify that everything built correctly before deploying to a production webservergrunt bowercopy
– an interesting task that copies specified files from the bower_components directory into the js/libs directory. The Yeoman generator accomplishes this when it scaffolds out your project, as you can see (for example inside ofmain.js
) that everything points to the supporting files in the/js/libs/
folders. But if you later usebower install
to add an additional library of your own to your project, you’ll want to update thescripts/grunt/config/bowercopy.js
file and then rerungrunt bowercopy
so that your new dependencies are “inside” your project instead of referencing them straight out of thebower_components
folders
Understanding the way JET leverages load-grunt-config
and how the files in the scripts/grunt
folders work together opens up the possibility of tweaking the Grunt tasks to match our build process, and also gives us the knowledge needed to add additional Grunt modules to our projects.


MINESWEEPER GAME!
Bombs left:
0
Easy
Medium
Hard
Hints:
3
Top scores are:
Easy:
Medium:
Hard:
Time:
0
seconds


Recursively find files and prepend license and author information to each file.
Usage:
1. Prepare license file and authors file in advance.
(Specified by license_text_file and authors_yaml_file, respectively)
2. Change hard-coded parameters in this script:
* input directory
* output directory
* exclude list with exact name
* exclude list with regular expression
* shebang
* license file
* authors file
* whether if copy binary files and excluded files from input directory to output directory
3. Run this script without arguments.
Note:
* empty files are copied to output directory without prepending


text
checkbox
radio
one
two
textarea
select
one
two
three
multiple
one
two
three
atkinson.save()
atkinson.restore()
atkinson.clean()


--- layout: post title: "It worked!" --- This is the plug-in I used to do the cross posting to my new LJ account.


{% extends "page.html" %} {% load url from future %} {% block title %}RandoPony::About{% endblock %} {% block page-subtitle %}randopony ???{% endblock %} {% block content %}
The RandoPony site is written in Python using the Django web framework, and Django's unofficial mascot is a magical pony, so... RandoPony.
Besides, everybody (even a randonneur) wants a pony...
RandoPony is open-source software. It's released under a New BSD License. The source code is available at http://bitbucket.org/douglatornell/randopony/, and you can report issues using the bitbucket issue tracker, or by email to djl at douglatornell dot ca
This instance of RandoPony is hosted on Webfaction. If you're looking for powerful, reasonably priced hosting with very up to date software, and great support, you can use this affiliate link to check them out.
{% endblock %} {% block pony-info-link %}


viral viruses virus human Virol animal novel species new transmission {border-style px;} #ffffff;} animals cross-species host characterization disease Gen emerging molecular samples related discovery known DNA Dis Infect detection genomes highly infection influenza ONEe Sci analysis astroviruses humans parvovirus using Microbiol Res association astrovirus canine diverse emergence genome high humans. infections multiple pathogenicity px; {font-family HIV RNA font-size genetic identification include likely number simian species, species. vaccine (Figure Acad Natl Pathoge associated diversity dogs double; foamy greatly infectious mammalian methods porcine provide studies Elsevier []. acquired acute biological border-color border-width close closely common exposed family farm healthy including infect infecting large outbreak prevalence primate rapidly recent research sequencing solid; surveys symptoms viruses. wild zoonotic {font-style {font-weight â–º Biol COVID- affected ahead amplification animals, avian based birds bocavirus bold capable cases cell central centre characterized circular clocks considered courier; development dilatation direct divergent em; endangered evolution example families following frequency frequent future generation growing health hepatitis increase information mammals monkey non-human original pandemic parvoviruses pathogen pathogenic previously print] proventricular pt;} rate recently replication required resource respiratory reveals sequence sequences shown sources titi transmissions understanding vaccines viruses, â€¢,


Introduction
Five Stars is a non-profitable organisation . The purpose of this organisation is to inhibit and enhance the respect of family, religion in ones personality, as in nowadays world, everyone is becoming workaholic. So as to release tension and let people spend some time of their life with their loved ones. The organisation also makes one aware about their neighbours and try to strenghten freindship amongst them. This organisation started in the month of october in the year 2015 and organised its first event on 22nd of october. Since then it was active till the month of april 2016. For these 5 months many meetings were held, events took place. After a time gap of 14 months five star is once again back to create new history, new records, to make festivals, holidays more special.
Five Stars members are:-
- Pranav
- Deepanshu
- Saurabh
- Janvi
- Ananya
Some events organised by this committee are as follows:-
- Dusshera
- Christmas
- The Break


about me
hello
Hi. I am padth4i.
computers
I test Wi-Fi networks. I also write front-ends for mobile apps on Flutter. I also also make small indie games.
art
I make art. You will find said art on my Instagram
connect
Do not try to contact me
Hi. I am padth4i.
I test Wi-Fi networks. I also write front-ends for mobile apps on Flutter. I also also make small indie games.
I make art. You will find said art on my Instagram
Do not try to contact me


Introduction¶
Welcome to Learn Scheme For Max! The purpose of this e-book is to help new users of Scheme For Max (S4M), whether experienced programmers or not, get up and running, making useful things in Max as they go. Despite the reputation of Lisp as an esoteric and unusual language, it’s easy to learn enough to be productive in Max, and once you do, I think you’ll find uses for S4M in lots of your patchers.
If you’ve arrived here and have never heard of Max or Scheme for Max, this is a book about an open-source extension to the Max/MSP computer music platform, enabling one to script and live code Max using s7 Scheme. For an overview of Scheme for Max, check out the introductory videos on the Music With Lisp YouTube channel.
Learning Scheme presents some challenges, because Scheme is more of a family of languages than one specific language. The advantage of this is that we can find Schemes optimized for particular problem domains, and s7 is one these - it’s been designed specifically for computer music and interactive computer music tools. The challenge is that, while there are a lot of great, free, on-line resources, none of them targets s7 specifically. And s7 is a bit of a hybrid, borrowing many features from Common Lisp as well as Scheme (similar to Clojure), so figuring out the differences can be frustrating for a new programmer. The official s7 documentation has a wealth of examples, but it’s aimed at the experienced Scheme and Lisp hacker. This book is meant to ease your introduction by providing a short and simple crash course using s7 and s74, my thin convenience layer on top of s7. Following this book (or in parallel) you’ll be better equipped to take advantage of the many free resources for learning Scheme in depth.
Scheme is minimal, with almost no syntax, and a very small number of special forms. However, to write idiomatic Scheme and take advantage of the language, we need to understand how the language and intepreter work in a way that other languages don’t require until an advanced level. As a result, many Scheme resources are pretty heavy on language concepts up front. The approach I’m going to take is a bit different. In Part 1, I’ll teach you the fundamental building blocks of Scheme, but will skim pretty lightly over the theory. I want you to get making things in Max right away. We will cover making variables and functions, basic and compound types, branching and looping, managing definitions and scope, and simple cases of code-as-data/data-as-code. And we’ll use Scheme for Max examples that you can play with right away in Max.
Once you’ve gotten up and running, and experienced the power of the language first hand, you can go over the basics again in a more theory-heavy book to really understand the Lisp paradigm. Appendix 1 of this book goes through the various resources available, from beginner to advanced.
Finally, I am publishing this free, as it evolves. So initial drafts will be a bit rough and move pretty quickly, but will be improved and expanded as we go. I want to get material into the hands of users as soon as I can, and will improve it later based on feedback. Please feel free to submit questions or requests for clarification in the GitHub issue tracker for the Learn Scheme For Max repository.
Enjoy and happy Scheming!
Iain Duncan
University of Victoria
Victoria, BC
January 2021


Welcome
Only users with the correct authorization can access this page. Specifically,
a user has to be given the AUTHORIZED user role, by being added to the "authorized"
group in Cognito (using the AWS Cognito dashboard).
Back to welcome page


Here is a list of all the roles on the site. Assigning permissions to these roles will give the users within them access to different sections of the site or the ability to peform certain actions. Edit a role to change its name or assign/change permissions granted to it.


ONE more Unfortunate
Weary of breath
Rashly importunate,
Gone to her death!
Take her up tenderly,
Lift her with care;
Fashion’d so slenderly,
Young, and so fair!

Touch her not scornfully;
Think of her mournfully,
Gently and humanly;
Not of the stains of her—
All that remains of her
Now is pure womanly.
Make no deep scrutiny
Into her mutiny
Rash and undutiful:
Past all dishonour,
Death has left on her
Only the beautiful.
Still, for all slips of hers,
One of Eve’s family—
Wipe those poor lips of hers
Oozing so clammily.
Loop up her tresses
Escaped from the comb,
Her fair auburn tresses;
Whilst wonderment guesses
Where was her home?
Who was her father?
Who was her mother?
Had she a sister?
Had she a brother?
Or was there a dearer one
Still, and a nearer one
Yet, than all other?
Alas! for the rarity
Of Christian charity
Under the sun!
O! it was pitiful!
Near a whole city full,
Home she had none.
Sisterly, brotherly,
Fatherly, motherly
Feelings had changed:
Love, by harsh evidence,
Thrown from its eminence;
Even God’s providence
Seeming estranged.
Where the lamps quiver
So far in the river,
With many a light
From window and casement,
From garret to basement,
She stood, with amazement,
Houseless by night.
The bleak wind of March
Made her tremble and shiver;
But not the dark arch,
Or the black flowing river:
Mad from life’s history,
Glad to death’s mystery
Swift to be hurl’d—
Anywhere, anywhere
Out of the world!
In she plunged boldly,
No matter how coldly
The rough river ran,
Over the brink of it,—
Picture it, think of it,
Dissolute Man!
Lave in it, drink of it,
Then, if you can!
Take her up tenderly,
Lift her with care;
Fashion’d so slenderly,
Young, and so fair!
Ere her limbs frigidly
Stiffen too rigidly,
Decently, kindly,
Smooth and compose them;
And her eyes, close them,
Staring so blindly!
Dreadfully staring
Thro’ muddy impurity,
As when with the daring
Last look of despairing
Fix’d on futurity.
Perishing gloomily,
Spurr’d by contumely,
Cold inhumanity,
Burning insanity,
Into her rest.
—Cross her hands humbly
As if praying dumbly,
Over her breast!

WE watch’d her breathing thro’ the night,
Her breathing soft and low,
As in her breast the wave of life
Kept heaving to and fro.
So silently we seemed to speak,
So slowly moved about,
As we had lent her half our powers
To eke her living out.
Our very hopes belied our fears,
Our fears our hopes belied—
We thought her dying when she slept,
And sleeping when she died.
But when the morn came dim and sad
And chill with early showers,
Her quiet eyelids closed—she had
Another morn than ours.
I REMEMBER, I remember
The house where I was born,
The little window where the sun
Came peeping in at morn;
He never came a wink too soon
Nor brought too long a day;
But now, I often wish the night
Had borne my breath away.
I remember, I remember
The roses, red and white,
The violets, and the lily-cups—
Those flowers made of light!
The lilacs where the robin built,
And where my brother set
The laburnum on his birthday,—
The tree is living yet!
I remember, I remember
Where I was used to swing,
And thought the air must rush as fresh
To swallows on the wing;
My spirit flew in feathers then
That is so heavy now,
And summer pools could hardly cool
The fever on my brow.
I remember, I remember
The fir-trees dark and high;
I used to think their slender tops
Were close against the sky:
It was a childish ignorance,
But now ’tis little joy
To know I’m farther off from Heaven
Than when I was a boy.


Notifications
- Your order for burrito on 28/08/2018 at 7:20 has been delivered on 28/08/2018 at 7:21
- Your order for burrito on 28/08/2018 at 7:20 has been accepted on 28/08/2018 at 7:21
- Your order for pizza, shawarma on 20/08/2018 at 6:02 has been delivered on 20/08/2018 at 6:02
- Your order for pizza, shawarma on 20/08/2018 at 6:02 has been accepted on 20/08/2018 at 6:02
- Your order for coke on 4/07/2018 at 20:30 has been delivered on 4/07/2018 at 20:31
- Your order for coke on 4/07/2018 at 20:30 has been accepted on 4/07/2018 at 20:31
- Your order for bread, coke on 9/06/2018 at 16:08 has been delivered on 9/06/2018 at 16:09
- Your order for bread, coke on 9/06/2018 at 16:08 has been accepted on 9/06/2018 at 16:09
- Your order for pizza, coke on 27/05/2018 at 16:00 has been delivered coke on 27/05/2018 at 16:01
- Your order for pizza, coke on 27/05/2018 at 16:00 has been accepted coke on 27/05/2018 at 16:01


|
It's always a good idea to warm up before games. Stretch and do moderate calisthenics.
|
|
Practice handling the ball with both your left and right hands. Set up four or five cones about four feet apart in a line and dribble the ball while moving in and out of the line, switching back and forth from right to left hands as you pass each cone on the opposite side.  By learning how to dribble the ball without looking at it, you can more easily spot a teammate.
|
|
When playing defense, slide from side to side to cover your opposing player. Do not cross your legs. It's helpful to practice sliding on the court.
|
|
When handling the ball, always keep the other hand up. It helps with your balance and makes it easier to switch hands.
|
|
Always keep your knees and back slightly bent when playing defense.
|
|
Protect the ball by keeping your body between the ball and the defender and keeping your free arm up.
|
|
Practice lay-ups from both the left and right sides of the basket. When approaching the right side of the basket, shoot with your right hand and take off from your left foot.  This allows you to react more quickly to a change in direction and move with the opposing player.
|
|
Stay below the ball and one step back when on defense. You can adjust your position quickly and cover the ball more readily.
|


--- layout: post title: good practices date: 2010-12-17 18:35:07.000000000 +02:00 categories: [] tags: [] status: draft type: post published: false post_id: good-practice meta: _edit_last: '1' author: login: admin email<EMAIL_ADDRESS>display_name: Radu first_name: '' last_name: '' ---
LoginResult loginResult = UserBL.Login(user, pass);
return loginResult;


Have a look at the interesting topic: Integration Testing Your ASP.NET MVC Application.
Not sure how mature all the stuff is but it’s definitely the thing I was missing in ASP.NET for a long time.
We’ll see if I have a chance to try it.
--- layout: post title: MvcIntegrationTestFramework date: 2009-06-30 16:02:00.000000000 +10:00 comments: true categories: - development - devtools - testing - asp.net mvc ---


Ocean [an06], ocean, in The Outer Sea
Last updated Turn #142
Ocean [an06], ocean, in The Outer Sea
------------------------------------------------------------------------
15: The Savvy Aardvark [ha5r], ship, 2 hulls, 1 rowing port, 6 sails,
15: 26% damaged, arrived from Ocean [an07], owner:
15: Phantasm [n4b], Imperial Empire, duke, with two workers,
15: eight sailors
23: The Savvy Aardvark [ha5r], ship, 2 hulls, 1 rowing port, 6 sails,
23: 26% damaged, departed for Ocean [an05].
Routes leaving Ocean:
North, to Ocean [am06], 6 days
East, to Ocean [an07], 6 days
South, to Ocean [ao06], 6 days
West, to Ocean [an05], 6 days


bool com_isenum ( variant $com_module )
Checks to see if a COM object can be enumerated using the Next() method hack. See COM class for more details on these methods.
Returns TRUE if the object can be enumerated, FALSE otherwise.


Landing Page
Special Projects
This story is part of a series of specially designed stories that represents some of the best journalism The Post has to offer. Check out the rest of the special projects here.
MEAGAN HALL
08.24.17
PROVIDED VIA Megan McCarthy
Comedian Michelle Wolf will have a show on the Friday of Welcome Weekend, August 25th 2017 at the Convo.
Arrival weekend at Ohio University can be stressful, but the Campus Involvement Center is trying to provide students with a way to laugh it all off before classes start.
Michelle Wolf will headline Convo Comedy Night on Aug. 25 following the Class of 2021 Photo Experience. Meagan McCarthy, the assistant director of student activities, anticipates the comedy show will start at about 8:30 p.m. The event is free.
Last year, the comedy show was on Saturday, but it will be on Friday this year. McCarthy said the day changed to Friday because the class photo was also moved to Friday. She said the CIC likes to position the comedy show right after the class photo because all of the students are already together and often walk to the show as a group.
Michelle Wolf is a writer and contributor for The Daily Show with Trevor Noah. She was also a writer for Late Night with Seth Meyers and performed a stand-up set on the show in 2014.
Wolf is set to have her first stand-up special air on HBO later this year. The comedy special was filmed in New York City this summer.
This is the CIC’s third year hosting Convo Comedy Night. The CIC went a different route with choosing Wolf to headline, McCarthy said.
In 2015, Aidy Bryant from Saturday Night Live performed, while last year, Parks and Recreation star Retta brought people to The Convo for the comedy show.
Wolf stood out to the CIC staff because she is personable and her sets are relatable to college students, McCarthy said, while also noting the ease with which Wolf performs.
“She doesn’t try to be funny,” she said. “She just has that streak of funny that not a lot of people have.”
Brianna Murphy, a junior studying child and family studies, has been to a comedy show at OU, but not Convo Comedy Night. She said she is interested in seeing another live comedy show.
“It’s kind of like a stress relief,” Murphy said. “If you’re studying or stressed with classes you can go and just kind of unwind, laugh, go with your friends.”
The comedy show can be a great time for students to unwind from the stress of move-in weekend and leaving behind their families, McCarthy said.
“It gives our students the chance to sit back, relax, enjoy and laugh,” she said. “It really kicks of the year on a really high, funny note.”
Mae Yen Yap contributed to this report.
BackLanding Page
This story is part of a series of specially designed stories that represents some of the best journalism The Post has to offer. Check out the rest of the special projects here.


Redeploy Dylos TDM
2014-11-05
###Redeploy Dylos in TDM###
- After running with the problem of excessive particle reading in UPS back up power, this note discusses its redeployment in the same station.
- The problem of UPS back up excessive power reading was contained by using pure sine wave UPS.
- In redeployment as an addition, added DHT11, humidity temperature sensor along with Dylos, RPi, USB data card setup.
- Attached the DHT 11 humidity temperature sensor with RPI following this as per the below .
- The reading from the DHT11 was received using a C program supplied with Adafruit learning. It compiled in different computer with a formation of bin executables named Adafruit_DHT and it was copied into the current Rpi and used. Notably, it worked without any glitches by running the command
sudo ./Adafruit_DHT 11 4
. - As a new measure, saved every five minutes data in sqlite3 database and communicated every 10 minutes data in SMS or HTTP post. Updated the database already used for storing Dylos reading with two more columns for storing Temperature and Humidity.
- Connect with SQLite database is made by the command
sqlite3 dylos.db
. - To view the tables in the database of sqlite3.
.tables;
- To view last updated row in sqlite3 database table data
SELECT * FROM data ORDER BY SNo DESC LIMIT 1;
- Added a column in the table,
ALTER TABLE data add column TEMP char(50);
- to add another column in table,
ALTER TABLE data add column HUMP char(50);
- To view the details of table
pragma table_info(data);
- Accessing the database from python and leaving it as without closing resultant in the data open error
Error: database is locked
when updating the table using the below commandINSERT INTO data(data,TEMP,HUMP) VALUES('2014-11-11T14:13,111,222',1111,111);
. later this was solved by restarting the RPi. The python program to serial read Dylos reading and storing it in SQLite database was updated to consider the DHT11 by subprocess the running of C bin program.
To run the above program every 5 minutes used
sudo crontab -e
and entered a entry for the python script*/5 * * * * /home/pi/SMS/data_db.py
but it didn’t work, though the log entry shows starting of crontab no database save happened. Observed that there has to be a link for python script with a shell script such as thisdata_db.sh
with content#!/bin/sh cd /home/pi/SMS sudo python data_db.py
and made into executables by
sudo chmod a+x dylos_db.py
. This solved the problem and made crontab to execute the python script to run for every five minutes and storing of data in the database with Dylos reading and temp humidity data.


There was no flagpost, Coimbatore police tell HC
by Legal CorrespondentThe Coimbatore city police on Friday told the Madras High Court that a road accident in which 30-year-old N. Rajeswari alias Anuradha had lost her left leg after being run over by a lorry was not caused by an All India Anna Dravida Munnetra Kazhagam (AIADMK) flagpost as alleged widely.
Justices M. Sathyanarayanan and N. Seshasayee were told that investigation conducted by the police revealed that there was no flagpost at the spot where the accident had occurred on Avinashi Road.
The submission was made during the hearing of a petition filed by activist ‘Traffic’ K.R. Ramasamy seeking compensation for the victim.
Apart from compensation, the activist had sought appropriate action against corporation and police officials for not having removed the flagposts. Since neither the activist nor his advocates were present in the court, the judges adjourned the case to January 6.


--- layout: post status: publish published: true title: VPC2004 and WinServer2003 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: 615 wordpress_url: http://winterdom.com/2004/01/vpc2004andwinserver2003 date: '2004-01-19 15:32:30 +0000' date_gmt: '2004-01-19 15:32:30 +0000' categories: - Tools tags: [] comments: [] ---
John asks: "Does anyone know if VPC 2004 runs OK on Win2K3 Server?".
I'm running it here without any problems [1]. So far, I've loaded WinXP, Win2000 Server, Redhat 7.3 and Redhat 9, as well as longhorn as guests OSs with no problems on any of them.
[1] Well, except for the minor hangs I get sometimes caused by Outlook 2003, as I've reported earlier


CHILDRENS DIMETAPP LONG ACTING COUGH PLUS COLD- chlorpheniramine maleate and dextromethorphan hydrobromide liquid
Richmond Division of Wyeth
Disclaimer: Most OTC drugs are not reviewed and approved by FDA, however they may be marketed if they comply with applicable regulations and policies. FDA has not evaluated whether this product complies.
ACTIVE INGREDIENTS (IN EACH 5 ML TEASPOON)
Chlorpheniramine maleate, USP 1.0 mg
Dextromethorphan HBr, USP 7.5 mg
PURPOSES
Antihistamine
Cough suppressant
USES
- temporarily relieves cough due to minor throat and bronchial irritation as may occur with a cold
- temporarily relieves these symptoms due to hay fever or other upper respiratory allergies:
- runny nose
- sneezing
- itchy, watery eyes
- itching of the nose or throat
WARNINGS
Do not use
- to sedate a child or to make a child sleepy
- if you are now taking a prescription monoamine oxidase inhibitor (MAOI) (certain drugs for depression, psychiatric, or emotional conditions, or Parkinson's disease), or for 2 weeks after stopping the MAOI drug. If you do not know if your prescription drug contains an MAOI, ask a doctor or pharmacist before taking this product.
Ask a doctor before use if you have
- trouble urinating due to an enlarged prostate gland
- glaucoma
- a cough that occurs with too much phlegm (mucus)
- a breathing problem or chronic cough that lasts or as occurs with smoking, asthma, chronic bronchitis or emphysema
Ask a doctor or pharmacist before use if you are
taking sedatives or tranquilizers
When using this product
- do not use more than directed
- marked drowsiness may occur
- avoid alcoholic drinks
- alcohol, sedatives, and tranquilizers may increase drowsiness
- be careful when driving a motor vehicle or operating machinery
- excitability may occur, especially in children
Stop use and ask a doctor if
cough lasts more than 7 days, comes back, or is accompanied by fever, rash, or persistent headache. These could be signs of a serious condition.
If pregnant or breast-feeding,
ask a health professional before use.
Keep out of reach of children.
In case of overdose, get medical help or contact a Poison Control Center right away.
DIRECTIONS
- do not take more than 4 doses in any 24-hour period
| age |
dose |
| 12 years and over |
4 tsp every 6 hours |
| 6 to under 12 years |
2 tsp every 6 hours |
| under 6 years |
do not use |
OTHER INFORMATION
-
each teaspoon contains: sodium 3 mg
- store at 20-25°C (68-77°F)
- dosage cup provided
INACTIVE INGREDIENTS
anhydrous citric acid, artificial flavor, FD&C blue no. 1, FD&C red no. 40, glycerin, propylene glycol, purified water, sodium benzoate, sodium citrate, sorbitol solution, sucralose
QUESTIONS OR COMMENTS?
Call weekdays from 9 AM to 5 PM EST at 1-800-762-4675
PRODUCT PACKAGING
The product packaging shown below represents a sample of that currently in use. Additional packaging may also be available.
SEE NEW DOSING INFORMATION
Children’s Dimetapp Long Acting Cough Plus Cold
CHLORPHENIRAMINE MALEATE (Antihistamine)
DEXTROMETHORPHAN HBr (Cough Suppressant)
Up to 8 hours of cough control
Relieves Nasal Symptoms
Plus Other Symptoms
For Ages 6 Yrs. & Over
4 FL OZ (118mL) alcohol free • grape flavor
For most recent product information visit www.dimetapp.com
We pledge to you that Dimetapp products contain only high quality ingredients and meet strict standards of quality and safety. You can trust Dimetapp products for your family.
Dosage Cup Provided
PARENTS: Learn about teen medicine abuse
www.StopMedicineAbuse.org
Wyeth Consumer Healthcare, Madison, NJ 07940 U.S.A. ©2008 Wyeth
Packaged with Tamper-Evident bottle cap. Do Not Use if breakable ring is separated or missing.


To start off, I've noticed I am more sensitive to certain drugs than other people. For example, 300mg of dextromethorphan is likely to screw me over COMPLETELY for good few hours, while my friends can function normally on that kind of dosage. So I have to play it safe and stay with lower dosages than other people.
Me and some of my friends had gone to the movies one Friday night in January, and I happen to have bought a pack of Benadryl earlier in the day because I had heard about how you can have a nice buzz on it. At about 10:00PM Me and one of my friends get bored, so I go into the bathroom and take one little package, which is 12 pills or half a box. I sit around talking with my friends for about an hour, when it starts to kick in. It wasn't anything major, just little things like something moves in my peripheral vision. Maybe a tree limb would shake even though it wasn't windy, small things like that. My mom comes to pick me up, and I crash in the living room to watch some TV.
After about another hour, I feel this intense drowsiness all over me. Not only this, but I couldn't go to sleep because I was beginning to get very restless. Like when you lay down and have to keep moving your legs, except all over my body, so I had to keep moving around and twitching to make it go away. To my dismay the feeling would return seconds later.
Then I tried to ignore it, and in the blink of an eye notice my friend sleeping on my couch (I was on the floor). I don't remember him ever going over, and to this day I can't remember if he was actually at my house, but he was asleep so it didn't bother me at the time. Then it started to really kick in. I looked over to my dining room and noticed a grandfather clock. When did we get that? I don't know, and it was gone the next day. I also started to see silhouettes forming in the corners, like someone was there but trying to avoid being seen. These shapes would jump around and then disappear. I also noticed my fridge kept opening and closing in the corner of my eye, and also the microwave too. Another thing is that the room started to change shape a little bit, like it would slowly stretch out to a figure-eight shape, then to a diamond, and back to normal over the course of a few minutes, or what seemed like a few minutes.
I eventually was able to go to sleep around 2AM, after fighting with the full-body restlessness once again. The next day I felt completely fine, no hangover or anything. Maybe a little dulled thinking and sluggishness, but not enough to stop me from going skateboarding.
Flash forward three weeks.  I open my eyes to a blurred form of my room, with the shape changing in a few seconds like when I was high on the diphenhydramine. My shirt I had put out to wear the next day was flapping around like a flag. I also noticed gigantic spiders crawling on my ceiling, which upon closer inspection turned out to be two air vents and a light fixture.
That was the first of what I think are probably flashbacks. It is now March 2005, almost two months later, and the little flashbacks happen about once or twice a week, always when I lay down to sleep. I think the darkness may have something to do with triggering them.  The last Monday of February 2005 I can remember what sounded like shuffling feet in my hallway, and even a humanlike moaning, and I just about had a heart attack from hearing all this.
I hope this stuff stops soon.
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.


TrailChat
Home
(current)
Register/Login
Zipper
Cat Chat
Food Chat
Dev Chat
Saas Chat
www.hotmail.com
www.google.com
www.seattleu.edu
www.gmail.com
Send
This is the Chat Window
Chat messages will show up in this area.


CertiPUR-US®
CertiPUR-US® is a certifying body administered by a nonprofit organization that certifies mattresses, home furnishings, upholstered furniture, crib mattresses, and accessory comfort products.
For mattresses, foams carrying the CertiPUR-US® seal has been carefully examined and scientifically tested to ensure it passes the program's strict guidelines and standards. During the evaluation, the contents of the foam are tested, along with other components. This program is the most comprehensive and widely recognized certification process for polyurethane foam.
In a nutshell, CertiPUR-US® certified foams are:
-
Made without ozone depleters
-
Made without PBDEs, TDCPP or TCEP ("Tris") flame retardants
-
Made without mercury, lead, and other heavy metals
-
Made without formaldehyde
-
Made without phthalates regulated by the Consumer Product Safety Commission
STANDARD 100 by OEKO-TEX®
It's one of the worlds most recognized labels for textiles tested for harmful substances. If a textile carries OEKO-TEX's STANDARD 100 seal, you can be certain that every component of this article from the threads used to the buttons and other accessories has been tested for harmful substances and that the textile is guaranteed harmless in human ecological terms.
All tests are governed by OEKO-TEX's criteria catalog that is updated at least once a year to accommodate new scientific knowledge about textiles and to meet statutory requirements.
All Icon Sleep mattresses carry these seals of quality that reflect consumer confidence and trust rating.
Because an icon like you deserves only the best.
Put our beds to the test and see what fits you
Put our beds to the test and see what fits you.


| Class | Orgmode::Parser |
| In: |
lib/org-ruby/parser.rb
|
| Parent: | Object |
Simple routines for loading / saving an ORG file.
| custom_keywords | [R] | Array of custom keywords. |
| header_lines | [R] | These are any lines before the first headline |
| headline_number_stack | [RW] | This stack is used to do proper outline numbering of headlines. |
| headlines | [R] | All of the headlines in the org file |
| in_buffer_settings | [R] | This contains any in-buffer settings from the org-mode file. See orgmode.org/manual/In_002dbuffer-settings.html#In_002dbuffer-settings |
| lines | [R] | All of the lines of the orgmode file |
| options | [R] | This contains in-buffer options; a special case of in-buffer settings. |
I can construct a parser object either with an array of lines or with a single string that I will split along \n boundaries.
# File lib/org-ruby/parser.rb, line 93 def initialize(lines) if lines.is_a? Array then @lines = lines elsif lines.is_a? String then @lines = lines.split("\n") else raise "Unsupported type for +lines+: #{lines.class}" end @custom_keywords = [] @headlines = Array.new @current_headline = nil @header_lines = [] @in_buffer_settings = { } @headline_number_stack = [] @options = { } mode = :normal previous_line = nil @lines.each do |line| case mode when :normal if (Headline.headline? line) then @current_headline = Headline.new line, self @headlines << @current_headline else line = Line.new line, self # If there is a setting on this line, remember it. line.in_buffer_setting? do |key, value| store_in_buffer_setting key, value end if line.table_separator? then previous_line.assigned_paragraph_type = :table_header if previous_line and previous_line.paragraph_type == :table_row end mode = :code if line.begin_block? and line.block_type == "EXAMPLE" if (@current_headline) then @current_headline.body_lines << line else @header_lines << line end end when :code # As long as we stay in code mode, force lines to be either blank or paragraphs. # Don't try to interpret structural items, like headings and tables. line = Line.new line if line.end_block? and line.block_type == "EXAMPLE" mode = :normal else line.assigned_paragraph_type = :paragraph unless line.blank? end if (@current_headline) then @current_headline.body_lines << line else @header_lines << line end end # case previous_line = line end # @lines.each end
Regexp that recognizes words in custom_keywords.
# File lib/org-ruby/parser.rb, line 32 def custom_keyword_regexp return nil if @custom_keywords.empty? Regexp.new("^(#{@custom_keywords.join('|')})\$") end
A set of tags that, if present on any headlines in the org-file, means that subtree will not get exported.
# File lib/org-ruby/parser.rb, line 46 def export_exclude_tags return Array.new unless @in_buffer_settings["EXPORT_EXCLUDE_TAGS"] @in_buffer_settings["EXPORT_EXCLUDE_TAGS"].split end
Returns true if we are to export heading numbers.
# File lib/org-ruby/parser.rb, line 60 def export_heading_number? "t" == @options["num"] end
A set of tags that, if present on any headlines in the org-file, means only those headings will get exported.
# File lib/org-ruby/parser.rb, line 39 def export_select_tags return Array.new unless @in_buffer_settings["EXPORT_SELECT_TAGS"] @in_buffer_settings["EXPORT_SELECT_TAGS"].split end
Should we export tables? Defaults to true, must be overridden with an explicit "nil"
# File lib/org-ruby/parser.rb, line 71 def export_tables? "nil" != @options["|"] end
Returns true if we are to export todo keywords on headings.
# File lib/org-ruby/parser.rb, line 52 def export_todo? "t" == @options["todo"] end
Gets the next headline number for a given level. The intent is this function is called sequentially for each headline that needs to get numbered. It does standard outline numbering.
# File lib/org-ruby/parser.rb, line 78 def get_next_headline_number(level) raise "Headline level not valid: #{level}" if level <= 0 while level > @headline_number_stack.length do @headline_number_stack.push 0 end while level < @headline_number_stack.length do @headline_number_stack.pop end raise "Oops, shouldn't happen" unless level == @headline_number_stack.length<EMAIL_ADDRESS>- 1] += 1 @headline_number_stack.join(".") end
Should we skip exporting text before the first heading?
# File lib/org-ruby/parser.rb, line 65 def skip_header_lines? "t" == @options["skip"] end
Converts the loaded org-mode file to HTML.
# File lib/org-ruby/parser.rb, line 172 def to_html mark_trees_for_export @headline_number_stack = [] export_options = { } export_options[:skip_tables] = true if not export_tables? output = "" if @in_buffer_settings["TITLE"] then output << "
#{@in_buffer_settings["TITLE"]}
\n" else export_options[:decorate_title] = true end output << Line.to_html(@header_lines, export_options) unless skip_header_lines? # If we've output anything at all, remove the :decorate_title option. export_options.delete(:decorate_title) if (output.length > 0) @headlines.each do |headline| output << headline.to_html(export_options) export_options.delete(:decorate_title) if (output.length > 0) end rp = RubyPants.new(output) rp.to_html end


Crazy Train!
Hahahaha!!!
Current Train schedule
Train name
Destination
Frequency (min)
Next Arrival
Minutes Away
Add Train
Train Name
Destination
First Train Time (HH:mm - military time)
Frequency (min)
Submit


Let's Learn WebGL
Home
Upload
{{ tutorial_txt }}
Open Editor
Assisted Code
Solution
{{ assisted_code }}
{{ solution_code }}
Run
Clear


FormValidation
Home
Login or Register
Search
Login
Register
Login
Username
Please enter your username.
Password
Please enter your password.
Remember me
Submit
Register
Username
Please enter a username.
Username length is too short.
Email
We'll never share your email with anyone else.
Please enter your email address.
Plase enter a valid email address.
Password
Please enter a password.
Password length is too short.
I accept the
Terms and Conditions
You must accept the terms and conditions.
Submit


Write destructors in such a way that they don't throw exceptions.
A destructor may be called when an exception is thrown. If a destructor throws an exception after being called from an exception being thrown, the program is likely to terminate. This may result in a denial-of-service vulnerability.
Perform the following actions to assure that destructors don't throw exceptions:
Identify destructors. Review your code and identify all destructors. This should be an easy task.
Search for destructors that throw exceptions. From the list of destructors, identify the ones that throw exceptions.
Rewrite destructors. Rewrite the destructors that throw exceptions in a way that doesn't involve throwing exceptions. This may be accomplished by simply removing code that throws exceptions from the destructors. If error handling must be done based on the results of the execution of the destructors, use error codes.


My Portfolio
Portfolio
Blog
About
Contact
Portfolio
Blog
About
Contact
Project 1
Read more
Project 2
Read more
Project 3
Read more
Project 4
Read more
Project 5
Read more
Project 6
Read more
P7
Read more
P8
Read more
P9
Read more


Trump Impeachment tweet-watch: 'I WANT NOTHING', Rudy Giuliani runs his mouth
by Xeni JardinWell, old Donald sure has got himself into a mighty fine pickle.
Gordon Sondland testified under oath today that yes there absolutely was a quid pro quo in the Rudy-Giuliani-led drug deal involving Javelins and the president of Ukraine, and Burisma and young Hunter Biden -- and that whatever he did, Sondland says he did it at the direction of the President of the United States.
Here's what Trump tweeted.
Donald J. Trump @realDonaldTrump
Impeachment Witch Hunt is now OVER! Ambassador Sondland asks U.S. President (me): “What do you want from Ukraine? I keep hearing all these different ideas & theories. What do you want? It was a very abrupt conversation. He was not in a good mood. He (the President) just said,”...
Next Trump tweet:
...”I WANT NOTHING! I WANT NOTHING! I WANT NO QUID PRO QUO! TELL PRESIDENT ZELENSKY TO DO THE RIGHT THING!” Later, Ambassador Sondland said that I told him, “Good, go tell the truth!” This Witch Hunt must end NOW. So bad for our Country!
And then, the Fox News video clip with the same phrase that was on his weird notes.
It's like he knows what's coming.
Giuliani is on a tear right now, too, livetweeting against the impeachment witnesses.
Their time in the barrel is coming.


Editable Icon Container (PubSub)
Start Edit
End Edit
Delete Confirmation
Are you sure you want to delete this app?
Delete
Cancel
About
My Phone
Network
Line
Songs


عربي
Home
Learn to code now
Resources
About
Join us
Coding
for
Refugee Women
If you are passionate about helping female refugees and coding ...


|
PortAudio
2.0
|
Files | |
| file | pa_devs.c |
| List available devices, including device information. | |
| file | pa_fuzz.c |
| Distort input like a fuzz box. | |
| file | paex_mono_asio_channel_select.c |
| Play a monophonic sine wave on a specific ASIO channel. | |
| file | paex_ocean_shore.c |
| Generate Pink Noise using Gardner method, and make "waves". Provides an example of how to post stuff to/from the audio callback using lock-free FIFOs implemented by the PA ringbuffer. | |
| file | paex_pink.c |
| Generate Pink Noise using Gardner method. | |
| file | paex_read_write_wire.c |
| Tests full duplex blocking I/O by passing input straight to output. | |
| file | paex_record.c |
| Record input into an array; Save array to a file; Playback recorded data. | |
| file | paex_record_file.c |
| Record input into a file, then playback recorded data from file (Windows only at the moment) | |
| file | paex_saw.c |
| Play a simple (aliasing) sawtooth wave. | |
| file | paex_sine.c |
| Play a sine wave for several seconds. | |
| file | paex_sine.c |
| Play a sine wave for several seconds. | |
| file | paex_wmme_ac3.c |
| Use WMME-specific interface to send raw AC3 data to a S/PDIF output. | |
| file | paex_wmme_surround.c |
| Use WMME-specific channelMask to request 5.1 surround sound output. | |
| file | paex_write_sine.c |
| Play a sine wave for several seconds using the blocking API (Pa_WriteStream()) | |
| file | paex_write_sine_nonint.c |
| Play a non-interleaved sine wave using the blocking API (Pa_WriteStream()) | |


Now let's turn our attention to the expressions that are on the
right-hand side of assignments.
In this tutorial, we will focus mostly on the basic arithmetic
operations.
Two of the most basic are addition and subtraction, which, as
you can probably guess, are notated with the `+' and `-' characters.
So the expression
a+b
in Tranquility will
evaluate
to be the sum of the two variables
a
and
b
.
Evaluating an expression means that we calculate the value of
that expression at that point in time.
Expressions can be used anywhere a value such as a constant or a variable can be used. For our purposes here, we'll focus on their use on the right-hand side of assignments. Consider the statement:
c : .a - .bAlthough we might think of this as a single step in our program, it's actually several steps inside the machine:
We've divided the steps as shown to highlight certain aspects
of the sequence.
To start with, depending on the machine design, Step 2
might be handled as a single step, or as two separate steps,
2a and 2b.
The second thing to highlight is that Steps 1 and 2
together comprise the evaluation of the expression
.a-.b
.
This is done prior to the assignment getting carried out.
It is important to remember that's the sequence of the timing of any
assignment statement.
First, the expression on the righ-hand side is evaluated, and then
the result is stored in the left-hand side.
The details of the sequence lead us directly into understanding
how such a statement is executed on the computer.
Using CARDIAC as an example, the statement:
c : .a - .bmight be compiled to the instruction sequence:
CLA a SUB b STO c
Before moving on, we should mention some of the other operators that can be used in expressions. The asterisk (*) character is used for multiplication, slash (/) is used for division, and percent (%) is used for the remainder after division (or modulus).


Issue 4839:
Script execution stopped at wrong line
Steps to reproduce
- Open Firebug, enable the Script panel and reload the page.
- Create a breakpoint on line
11
- Refresh this page
- Debugger should halt at line
11
- Step Over should go to line
12
- Another Step Over should resume the debugger
- Refresh this page
- Debugger should halt at line
11
- Press continue to resume the debugger
- Debugger should be resumed


PAMI\Message\Event\Factory\Impl\EventFactoryImpl
This factory knows which event to return according to a given raw message from ami.
PHP Version 5
- Author: Marcelo Gornstein<EMAIL_ADDRESS>- License: http://marcelog.github.com/PAMI/ Apache License 2.0
Synopsis
Methods
public
- __construct() — Constructor. Nothing to see here, move along.
- createFromRaw() — This is our factory method.


In this tutorial we introduce a number of basic operations using Gröbner bases, and at the same time become familiar with a range of useful Macaulay2 constructs.
To compute the Gröbner basis of an ideal (x2y,xy2+x3) in the polynomial ring in four variables we proceed as follows: Our favorite field
KK = ZZ/31991
The polynomial ring
R = KK[x,y,z,w]
and the ideal
I = ideal(x^2*y,x*y^2+x^3)
now the punch line:
J = gens gb I
From this we can for example compute the codimension, dimension, degree, and the whole Hilbert function and polynomial. This will be more fun if we work with an example having some meaning. We choose to work with the ideal defining the rational quartic curve in P3 given parametrically in an affine representation by
t ↦ (t,t3,t4).
(The reader who doesn’t understand this terminology may ignore it for the moment, and treat the ideal given below as a gift from the gods... .) We obtain the ideal by first making the polynomial ring in 4 variables (the homogeneous coordinate ring of P3)R = KK[a..d]
and then using a function monomialCurveIdeal, which we shall treat for now as a black box
I = monomialCurveIdeal(R,{1,3,4})
From Macaulay2’s point of view, I is an ideal, and the codimension of its support is 2, while its dimension is 2:
codim I
dim I
This is the codimension of R/I in R and the dimension of R/I. We could work with the module R/I as well. Precision requires writing R1 instead of R (R is a ring, and R1 is the free module of rank 1 over it)
codim (R^1/(I*R^1))
We could also extract the generators of I (as a matrix) and take the cokernel to get the same thing:
M = coker gens I
codim M
dim M
And similarly for the degree:
degree I
degree M
As one might expect, the degree of the quartic is 4 ! The Hilbert polynomial is obtained by
hilbertPolynomial M
The term Pi represents the Hilbert polynomial of projective i-space. This formula tells us that the Hilbert polynomial of M is H(m) = 4(m+1) - 3 = 4m + 1. Thus the degree is four, the dimension of the projective variety which is the support of M is 1 (and so the affine dimension is 2), and that the (arithmetic) genus is 0 (1 minus the constant term, for curves). The Hilbert series of M (the generating function for the dimensions of the graded pieces of M) is
hilbertSeries M
The indeterminate in this expression is $T. Another way to get information about the module M is to see its free resolution
Mres = res M
To get more precise information about Mres, we could do
betti Mres
The output displayed is chosen for compactness: the first line gives the total betti numbers, the same information given when we type the resolution. The remaining lines express the degrees of each of the generators of the free modules in the resolution. The jth column after the colons gives the degrees of generators of the jth module(counting from 0); an n in the jth column in the row headed by “d:” means that the jth free module has n generators of degree n+j. Thus for example in our case, the generator of the third (last) free module in the resolution has degree 3+2=5.
An interesting and illustrative open problem is to understand the initial ideal (and the Gröbner basis) of a “generic” regular sequence. To study a very simple case we take a matrix of 2 random forms in a polynomial ring in 3 variables:
R = KK[x,y,z]
F = random(R^1, R^{-2,-3})
makes F into a 1 ×2 matrix whose elements have degrees 2,3 (that is, F is a random map to the free module R1, which has its one generator in the (default) degree, 0, from the free module with generators in the listed degrees, {2,3}). We now can compute
GB = gens gb F
LT = leadTerm gens gb F
betti LT
shows that there are Gröbner basis elements of degrees 2,3, and 4. This result is dependent on the monomial order in the ring R; for example we could take the lexicographic order
R = KK[x,y,z, MonomialOrder => Lex]
(see help MonomialOrder for other possibilities). We get
F = random(R^1, R^{-2,-3})
GB = gens gb F
LT = leadTerm gens gb F
betti LT
and there are Gröbner basis elements of degrees 2,3,4,5,6.
A major application of Gröbner bases is to decide whether an element is in a given ideal, and whether two elements reduce to the same thing modulo an ideal. For example, everyone knows that the trace of a nilpotent matrix is 0. We can produce an ideal I that defines the variety X of nilpotent 3 ×3 matrices by taking the cube of a generic matrix and setting the entries equal to zero. Here’s how:
R = KK[a..i]
M = genericMatrix(R,a,3,3)
N = M^3
I = flatten N
(actually this produces a 1 x 9 matrix of of forms, not the ideal: J = ideal I; the matrix will be more useful to us). But the trace is not in I! This is obvious from the fact that the trace has degree 1, but the polynomials in I are of degree 3. We could also check by division with remainder:
Tr = trace M
Tr //I -- the quotient, which is 0
Tr % I -- the remainder, which is Tr again
(Here Tr is an element of R, not a matrix. We could do the same thing with a 1 ×1 matrix with Tr as its element.) This is of course because the entries of I do NOT generate the ideal of all forms vanishing on X -- this we may find with J = radical ideal I, (but this takes a while: see the documentation for radical on a faster way to find this) which shows that the radical is generated by the trace, the determinant, and the sum of the principal 2 ×2 minors, that is, by the coefficients of the characteristic polynomial. In particular, we can try the powers of the radical:
Tr^2 % I
Tr^3 % I
Tr^4 % I
Tr^5 % I
Tr^6 % I
Tr^7 % I
The seventh power is the first one in the ideal! (Bernard Mourrain has worked out a formula for which power in general.) In this case
Tr^6 // I
is not 0. It is a matrix that makes the following true:
Tr^6 == I * (Tr^6 // I) + (Tr^6 % I)
Consider the problem of projecting the “twisted cubic”, a curve in P3 defined by the three 2 ×2 minors of a certain 2 ×3 matrix into the plane. Such problems can be solved in a very simple and direct way using Gröbner bases. The technique lends itself to many extensions, and in its developed form can be used to find the closure of the image of any map of affine varieties. In this section we shall first give a simple direct treatment of the problem above, and then show how to use Macaulay2’s general tool to solve the problem. We first clear the earlier meaning of x to make it into a subscripted variable
x = global x
and then set
R = KK[x_0..x_3]
the homogeneous coordinate ring of P3 and
M = map(R^2, 3, (i,j)->x_(i+j))
I = gens minors(2,M)
a matrix whose image is the ideal of the twisted cubic. As projection center we take the point defined by
pideal = ideal(x_0+x_3, x_1, x_2)
To find the image we must intersect the ideal I with the subring generated by the generators of pideal. We make a change of variable so that these generators become the last three variables in the ring; that is, we write the ring as KK[y0..y3] where
y0 = x0, y1 = x1, y2 = x2, y3 = x0+x3
and thus x3 = y3-y0, etc. We want the new ring to have an “elimination order” for the first variable.y = global y
S = KK[y_0..y_3,MonomialOrder=> Eliminate 1]
Here is one way to make the substitution
I1 = substitute(I, matrix{{y_0,y_1,y_2,y_3-y_0}})
The elimination of 1 variable from the matrix of Gröbner basis elements proceeds as follows:
J = selectInSubring(1,gens gb I1)
and gives (a matrix with element) the cubic equation of a rational curve with one double point in the plane. However, we are still in a ring with 4 variables, so if we really want a plane curve (and not the cone over one) we must move to yet another ring:
S1 = KK[y_1..y_3]
J1 = substitute(J, S1)
This time we didn’t have to give so much detail to the substitute command because of the coincidence of the names of the variables. Having shown the primitive method, we now show a much more flexible and transparent one: we set up a ring map from the polynomial ring in 3 variables (representing the plane) to R/I, taking the variables y to the three linear forms that define the projection center. Then we just take the kernel of this map! (“Under the hood”, Macaulay2 is doing a more refined version of the same computation as before.) Here is the ring map
Rbar = R/(ideal I)
f = map(Rbar, S1, matrix(Rbar,{{x_0+x_3, x_1,x_2}}))
and the desired ideal
J1 = ker f
Another typical application of Gröbner bases and syzygies is to the computation of ideal quotients and saturations. Again we give an easy example that we can treat directly, and then introduce the tool used in Macaulay2 to treat the general case. If I and J are ideals in a ring R, we define (I:J), the ideal quotient, by
(I:J) = {f ∈R | fJ ⊂I}.
In our first examples we consider the case where J is generated by a single element g. This arises in practice, for example, in the problem of homogenizing an ideal. Suppose we consider the affine space curve parametrized by t ↦ (t,t2,t3). The ideal of polynomials vanishing on the curve is easily seen to be (b-a2, c-a3) (where we have taken a,b,c as the coordinates of affine space). To find the projective closure of the curve in P3, we must homogenize these equations with respect to a new variable d, getting db-a2, d2c-a3. But these forms do NOT define the projective closure! In general, homogenizing the generators of the ideal I of an affine variety one gets an ideal I1 that defines the projective closure UP TO a component supported on the hyperplane at infinity (the hyperplane d=0). To see the ideal of the closure we must remove any such components, for example by replacing I1 by the union I2 of all the ideals (I1:dn), where n ranges over positive integers. This is not so hard as it seems: First of all, we can successively compute the increasing sequence of ideals (I1:d), (I1:d2), ... until we get two that are the same; all succeeding ones will be equal, so we have found the union. A second method involves a special property of the reverse lex order, and is much more efficient in this case. We shall illustrate both. First we set up the example above:R = KK[a,b,c,d]
I1 = ideal(d*b-a^2, d^2*c-a^3)
How to compute the ideal quotient: If I is generated by f1,...,fn, we see that s∈(I:g) iff there are ring elements ri such that
∑i=1n ri fi + s g = 0.
Thus it suffices to compute the kernel (syzygies) of the 1 ×(n+1) matrix(f1, ... ,fn, g)
and collect the coefficients of g, that is, the entries of the last row of a matrix representing the kernel. Thus in our case we may compute (I1:d) by concatenating the matrix for I1 with the single variable dI1aug = (gens I1) | matrix{{d}}
augrelations = gens ker I1aug
There are 3 rows (numbered 0,1,2 !) and 2 columns, so to extract the last row we may do
I21 = submatrix(augrelations, {2}, {0,1})
But this is not an “ideal” properly speaking: first of all, it is a matrix, not an ideal, and second of all its target is not R1 but R(-1), the free module of rank 1 with generator in degree 1. We can fix both of these problems by
I21 = ideal I21
This is larger than the original ideal, having two quadratic generators instead of a quadric and a cubic, so we continue. Instead of doing the same computation again, we introduce the built-in command
I22 = I21 : d
which is again larger than I21, having three quadratic generators. Repeating,
I23 = I22 : d
we get another ideal with three quadratic generators. It must be the same as I21, but the generators are written differently because of the route taken to get it, so (being suspicious) we might check with
(gens I23) % (gens I22)
which returns 0, showing that I23 is contained in (gives remainder 0 when divided by) I22. Thus the homogeneous ideal I2 of the projective closure is equal to I23 (this is the homogeneous ideal of the twisted cubic, already encountered above). A more perspicuous way of approaching the computation of the union of the (I:dn), which is called the saturation of I with respect to d, and written (I:d∞), is first to compute a reverse lex Gröbner basis.
gens gb I1
This yields (a2-bd, abd-cd2, b2d2-acd2), meaning
(a2-bd, abd-cd2, b2d2-acd2).
We see that the second generator is divisible by d, and the third is divisible by d2. General theory says that we get the right answer simply by making these divisions, that is, the saturation is(a2-cd, ab-cd, b2-ac),
as previously computed. The same thing can be accomplished in one line byI2 = divideByVariable(gens gb I1,d)
This saturation may be found directly in Macaulay2:
saturate(I1, d)


LETHAL WEAPON 4 (Warner Bros. - 1998) Starring Mel Gibson, Danny Glover, Joe Pesci, Rene Russo, Chris Rock, Jet Li Screenplay by Channing Gibson Produced by Joel Silver, Richard Donner Directed by Richard Donner Running time: 127 minutes
** (out of four stars) Alternate Rating: C
Note: Some may consider portions of the following text to be spoilers. Be forewarned.
-------------------------------------------------------------
The venerable LETHAL WEAPON franchise continues its frightful tailspin in this tired fourth installment, a formulaic entry whose sole apparent purpose is to reunite its familiar cast of characters and recycle their old shtick -- we've got Riggs (Mel Gibson) and Murtaugh (Danny Glover) squabbling like an old married couple (which, after eleven years of onscreen partnership, they more or less are), Leo Getz (Joe Pesci) throwing another hissy fit, Lorna (Rene Russo) kicking butt (while pregnant, yet), Murtaugh's family endangered *yet* again, action and pyrotechnics galore .. hey, it even has Riggs doing his signature weirdo arm-socket popping thing!
Terrific, but haven't we seen this all before? In the studio's mad rush to get the picture in the can -- LETHAL WEAPON 4 began filming in January and hit theatres by July, a breakneck pace for a heavy-duty star-driven studio flick -- it's clear that the idea was to churn out cookie-cutter material by simply dusting off the increasingly-sanitized cops the audience has grown to love. Their escapades are all framed within some lazy excuse of a plot -- an uninspired piece of vapidity involving Chinese Triad members smuggling immigrants for slave labour -- which nobody takes very seriously, least of all the film's wisecracking characters. The filmmakers' obvious smug inference is that reassembling the cast and running them through the usual series of hijinx *should* be sufficiently entertaining. Familiarity breeds complacency, and apparently contempt.
Well, it almost comes together. The supporting cast accumulated from previous films are obligingly trotted out for requisite appearances, legitimately adding little to the mix other than a sense of assuring recognition. My hopes were pinned upon the traditional infusion of new blood for this entry coming in the form of outrageous comedian Chris Rock (and given the series' growing reliance on jokey sensibilities, it was inevitable that a bonafide comic would eventually be cast), joining the fray as brash rookie cop Lee Butters. Sadly, his formidable gifts are wasted here, stifled by the confines of his surprisingly straight character -- other than his eager-to-please relationship with Murtaugh, the film gives Butters has no personality of his own to speak of.
The franchise's indelible appeal, for better or worse (and it's the latter if you ask me -- consider its devolution from an edgy action thriller centered on a fearlessly suicidal cop to a resolutely mainstream product where everybody seems ready to break out into group hugs), is the good-natured sense of camaraderie in sickening full display here. From its action-packed opening to its photobook conclusion, LETHAL WEAPON 4 is a film *about* its characters -- this is, after all, a picture in which an explosive firefight with an armoured maniac actually serves as glossy window-dressing for scenes of character background and development -- and it's ultimately a showcase for the quintessential mismatched buddy team of Riggs and Murtaugh, trading quips as they bicker their way through the motions of cracking the case. By now, they've become as all-American as apple pie, and the polished, engaging chemistry of their actor counterparts remains intact, but by this stage of the game, they're going through the motions.
On the plus side, the film features a few inventively staged (albeit logically ludicrous) action sequences and some dynamic mano-a mano fight scenes courtesy of Hong Kong wunderkind Jet Li, but as the series creatively wheezes and sputters (an obvious tip-off: resorting to the use of a Cute Young Kid -- a typical death-knell), my idealistic side hopes that the filmmakers have the good sense to gracefully mothball the franchise after this picture. My cynical, anything-for-a-buck side, on the other hand...
 - Andrew Sarris
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews