Module : rabbitmq
Module overview
RabbitMQ is one of the most popular open-source enterprise messaging systems modelled on the Advanced Message Queuing Protocol (AMQP) standard. This guide covers the Ballerina RabbitMQ module and its public API. This module contains the functionality to support messaging with RabbitMQ broker (AMQP 0-9-1). It assumes that the most recent version of Ballerina is used and is built on top of the basics.
Key sections include:
- Connecting to RabbitMQ
- Using Exchanges and Queues
- Publishing Messages
- Consuming Messages Using Consumer Services
- Client Acknowledgements
Connecting to RabbitMQ
The core APIs are Connection
, Channel
, and Message
representing an AMQP 0-9-1 Connection, a Channel, and a Ballerina RabbitMQ Message respectively. The following code connects to a RabbitMQ node using the given parameters (host name, port number, etc.):
rabbitmq:Connection newConnection = new({ host: "localhost",
port: 5672,
username: “guest”,
password: “guest” });
The Connection
created above can then be used to open a Channel
.
rabbitmq:Channel newChannel = new(connection);
The Channel
can now be used to send and receive messages as described in the subsequent sections.
Enabling TLS
It is possible to encrypt the communication between the Ballerina client and the broker by using TLS-enabled connections. Client and server authentication (peer verification) is also supported. To enable the TLS support in the RabbitMQ broker, the node has to be configured to know the location of the Certificate Authority bundle, the server's certificate file, and the server's key. A TLS listener should also be configured to know what port to listen to for TLS-enabled client connections.
Connecting to a TLS-enabled RabbitMQ node using the Ballerina client can be done by passing a SecureSocket
record with the appropriate values to the ConnectionConfiguration
record when initializing the connection.
rabbitmq:Connection connection = new({ host: "localhost",
port: 5671,
secureSocket: { trustStore: { path: "/path/to/trustStore",
password: "rabbitstore" },
keystore: { path: "/path/to/client_key.p12",
password: "MySecretPassword" },
verifyHostname: true }});
Disconnecting from RabbitMQ
To disconnect, simply close the open channels and the connections:
newChannel.close();
newConnection.close();
Note: Closing the
Channel
may be a good practice. However, it isn’t strictly necessary in this case as it will be done automatically when the underlyingConnection
is closed.
Using exchanges and queues
Client applications work with exchanges and queues, which are the high-level building blocks of the AMQP protocol. These must be declared before they can be used. The following code declares an exchange and a server-named queue and then binds them together.
var exchangeResult = newChannel->exchangeDeclare({ exchangeName: "MyExchange",
exchangeType: rabbitmq:DIRECT_EXCHANGE,
durable: true,
autoDelete: true });
if (exchangeResult is error) {
io:println("An error occurred while declaring the exchange");
}
var queueResult = newChannel->queueDeclare();
if (queueResult is string) {
var bindResult = newChannel.queueBind(queueResult, "MyExchange", "routing-key");
if (bindResult is error) {
io:println("Error ocurred while binding the queue to the exhchange");
}
}
else {
io:println("An error occurred while creating the queue.");
}
This sample code will declare,
- a durable auto-delete exchange of the type
rabbitmq:DIRECT_EXCHANGE
- a non-durable, exclusive auto-delete queue with an auto-generated name
Next, the above function calls bind the queue to the exchange with the given routing key.
var exchangeResult = newChannel->exchangeDeclare({ exchangeName: "MyExchange",
exchangeType: rabbitmq:DIRECT_EXCHANGE,
durable: true,
autoDelete: true });
if (exchangeResult is error) {
io:println("An error occurred while declaring the exchange");
}
var queueResult = newChannel->queueDeclare({ queueName: "MyQueue",
durable: true,
exclusive: false,
autoDelete: false });
if (queueResult is error) {
io:println("An error occurred while creating the MyQueue queue.");
}
var bindResult = newChannel.queueBind("MyQueue", "MyExchange", "routing-key");
if (bindResult is error) {
io:println("Error ocurred while binding the queue to the exhchange");
}
This sample code will declare,
- a durable auto-delete exchange of the type
rabbitmq:DIRECT_EXCHANGE
- a durable, non-exclusive non-auto-delete queue with a well-known name
Deleting entities and purging queues
- Delete a queue:
newChannel->queueDelete("MyQueue");
- Delete a queue only if it is empty:
newChannel->queueDelete("MyQueue", false, true);
- Delete a queue only if it is unused (does not have any consumers):
newChannel->queueDelete("MyQueue", true, false);
- Delete an exchange:
newChannel->exchangeDelete("MyExchange");
- Purge a queue (delete all of its messages):
newChannel->queuePurge("MyQueue");
Publishing messages
To publish a message to an exchange, use the basicPublish()
function as follows:
var sendResult = newChannel->basicPublish("Hello from Ballerina", "MyQueue");
if (sendResult is error) {
io:println("An error occurred while sending the message to MyQueue using newChannel.");
}
Setting other properties of the message such as routing headers can be done by using the BasicProperties
record with the appropriate values.
Consuming messages using consumer services
The most efficient way to receive messages is to set up a subscription using a Ballerina RabbitMQ Listener
and any number of consumer services. The messages will then be delivered automatically as they arrive rather than having to be explicitly requested.
Multiple consumer services can be bound to one Ballerina RabbitMQ Listener
. The queue, which the service is listening to is configured in the ServiceConfig
annotation of the service.
listener rabbitmq:Listener channelListener= new(newConnection);
@rabbitmq:ServiceConfig {
queueConfig: {
queueName: "MyQueue"
}
}
service rabbitmqConsumer on channelListener {
resource function onMessage(rabbitmq:Message message) {
var messageContent = message.getTextContent();
if (messageContent is string) {
log:printInfo("The message received: " + messageContent);
} else {
log:printError("Error occurred while retrieving the message content.");
}
}
}
The Message
object received can be used to retrieve its contents and for manual client acknowledgements.
Client acknowledgements
The message consuming is supported by mainly two types of acknowledgement modes, which are auto acknowledgements and client acknowledgements. Client acknowledgements can further be divided into to two different types as positive and negative acknowledgements. The default acknowledgement mode is auto-ack (messages are acknowledged immediately after consuming).
WARNING: To ensure the reliability of receiving messages, use the client-ack mode.
The negatively-acknowledged (rejected) messages can be re-queued.
Note: The default thread pool size used in Ballerina is number of processors available * 2. You can configure the thread pool size by using the
BALLERINA_MAX_POOL_SIZE
environment variable.
| BasicProperties | Holds other properties of the message - routing headers etc. |
| ConnectionConfiguration | Holds the parameters used to create a RabbitMQ `Connection`. |
| Detail | Record type to hold the details of an error. |
| ExchangeConfiguration | Holds the parameters used to declare an exchange. |
| QueueConfiguration | Holds the parameters used to declare a queue. |
| RabbitMQServiceConfig | Represents the list of parameters required to create a subscription. |
| SecureSocket | Provides configurations for facilitating secure connections. |
| Connection | Represents a single network connection to the RabbitMQ broker. |
| Channel | Ballerina interface to provide AMQP |
| Message | Provides the functionality to manipulate the messages received by the consumer services. |
| Listener | Ballerina RabbitMQ Message Listener. Provides a listener to consume messages from the RabbitMQ server. |
| DIRECT_EXCHANGE | Constant for the RabbitMQ Direct Exchange type. |
| FANOUT_EXCHANGE | Constant for the RabbitMQ Fan-out Exchange type. |
| TOPIC_EXCHANGE | Constant for the RabbitMQ Topic Exchange type. |
| AUTO_ACK | Constant for the RabbitMQ auto acknowledgement mode. |
| CLIENT_ACK | Constant for the RabbitMQ client acknowledgement mode. |
| RABBITMQ_ERROR |
| ServiceConfig | Service descriptor data generated at compile time. |
| AcknowledgementMode | Types of acknowledgement modes supported by the Ballerina RabbitMQ Connector. |
| MessageContent | Holds the types of message content that can be published. |
| Error |


Barcode scanner dialog¶
The barcode scanner dialog, scannerDlg, can be used to query FlyF database for information associated with a barcode. Note, the .m and .fig files for the scannerDlg can in the src/dialog subdirectory of the jfrc_metadata_tools project.
The barcode scanner dialog can be used as follows:
[scanValues, propagateValue] = scannerDlg(propagateValue, propagateEnable)
Input arguments:
- propagateValue - (true/false) sets the initial value of the propagate checkbox.
- propagateEnable - (‘on’/’off’) determine whether the propagate checkbox is enabled.
Note, both input arguments are optional. Their default values are true and ‘on’ respectively.
Output values:
- scanValues - matlab structure of the values returned from the database query.
- propagateValue - the value of the propagate checkbox when the dialog was closed.
Currently the scanValue structure has the following fields:
- Line_Name
- Date_Crossed
- Effector
- Set_Number


|
Graphical-based RPG
|
#include <inventory.hpp>
Public Member Functions | |
| CBack_pack (const int &n_size=10, const int &n_tmp=0) | |
| Construcutor. | |
| CBack_pack (const CBack_pack &other) | |
| Copy Constructor. | |
| CBack_pack & | operator= (CBack_pack other) |
| Assigment Operator. | |
| virtual | ~CBack_pack () |
| Destructor. | |
| CBack_pack & | addItem (CItems *obj) |
| add item to the unsorted vector | |
| CBack_pack & | delItem (const int &pos) |
| delete item froms the unsorted vector | |
| CBack_pack & | increaseSize () |
| increase m_size on some value*/ | |
| CBack_pack & | clearItems () |
| clear items in the vector ( for the loading from the savings ) | |
| CItems * | operator[] (const int &pos) |
| subscription operator | |
| std::ostream & | printInfoPlayer (std::ostream &os) |
| print info in "playerstyle" (as backpack) | |
| std::ostream & | printInfoChest (std::ostream &os) |
| print info in "cheststyle" (as inventory inside chest) | |
| std::ostream & | getItemInfo (std::ostream &os, const int &pos) |
| print info in about item which player chose | |
| void | saveProgress (std::ofstream &save_file) |
| save invetory in file | |
| size_t | getSize () const |
| get my_items.size() | |
| int | getOveralSize () const |
| get m_size | |
| int | getTmpSize () const |
| get m_tmp_size | |
Inventory Main idea: Inventory has vector of items in private, size of inventory. Main methods helps to add, delete, use items in vector. Inventory uses generally in CPlayer and CChest;


We strive to create a world where all people, without exception, can harness the power of the internet to prosper.
That means making data infrastructure as widely available in developing countries as power grids have become. We build affordable networks using TV white space and other radio technologies as well as fibre-optic lines. TV white space refers to a set of frequencies in the wireless spectrum previously used by terrestrial television. The gaps created by the switch to digital broadcasting freed up part of the spectrum and can now be used for broadband internet.
We connect homes and businesses using a proprietary network of towers and fibre lines. We also create public wifi hotspots in hundreds of communities where customers can log in with pay-as-you-go accounts. Furthermore, we create tailor-made digital products, IoT and cloud solutions, developed by an in-house software team working in conjunction with Microsoft. We employ several hundred people and have served more than 180,000 customers.
Mawingu has attracted a string of international investors and supporters. Microsoft put in the first corporate money as a shareholder and publicly champions the company. Satya Nadella, the Microsoft CEO, travelled to northern Kenya for the global launch of Windows 10 and used Mawingu's network to start the roll-out of Microsoft's flagship operating system worldwide. Barack Obama has publicly lauded Mawingu for "providing low-cost broadband" at scale.
We have been a for-profit business since 2014 and continue to expand rapidly.


Regex Tuesday Challenge #13 is to match strings which have a word repeated directly below the same word on the previous line (see the test cases if that isn't clear). The font is mono-spaced today, so the lines are all the same width. Be aware that the line wraps by itself if the last word is too long.
To test a regular expression on the test cases below, type it into the text input. Each test case will be marked as passed or failed respectively - you are aiming to get as many test cases as you can to pass. Note that JavaScript must be enabled for this feature to work. The regex engine used is the JavaScript regex engine; it is similar to PCRE, but with a few differences.


--- layout: post status: publish published: true title: Gotchas with Bash programming author: display_name: neil login: neil email<EMAIL_ADDRESS>url: '' author_login: neil author_email<EMAIL_ADDRESS>wordpress_id: 63 wordpress_url: https://www.millardtechnicalservices.co.uk/?p=63 date: '2016-03-30 11:09:06 +0000' date_gmt: '2016-03-30 10:09:06 +0000' categories: - Development - Infrastructure tags: - aws - bash comments: [] ---
Working with Linux servers and automating tasks requires the use of bash programming. This is quite an old language if you compare it to 'modern' languages such as ruby.
As such it has some very unfriendly ways. One of which bit me today.
One of the scripts purges old snapshot on AWS.
Bash tries to be helpful by file globbing and word splitting. This caused some undesired effects.
Fortunately, thanks to Greg's Wiki the fix is quite easy. use quotes.
snap_data=$(/home/ec2/bin/ec2-describe-snapshots $snapshot_id_evaluated --region $AWS_REGION)
snap_description=$(echo "$snap_data" | grep complete | awk '{print $9}')
snap_creation_date=$(echo "$snap_data" | grep complete | awk '{print $5}')
purge_after_fe=$(echo "$snap_data" | grep ^TAG.*PurgeAfterFE | cut -f 5)
Thanks


ABOUT THAILAND
Located in Southeast Asia, Thailand covers a total area of approximately 513,000 square kilometers (198,000 square miles) and is the 50th largest country in the world and the 12th largest in Asia!
The north of the country borders Myanmar and Laos. The northernmost point is Amphoe Mae Sai, Chiang Rai Province, with tourist attractions like Mae Sai Market, Golden Triangle, Wat Phra That Doi Wao, and Wat Thampla (locally known as Money Temple).
The south of the country is next to Malaysia and the Gulf of Thailand. The southernmost point is Amphoe Betong, Yala Province, which contains tourist attractions like La-ong Rung Waterfall (Rainbow Waterfall), Chaloem Phrakiat Waterfall (I-yer Khem Waterfall), Bala-Hala Forest, the sea of fog at Microwave Mountain, and Betong Hot Spring.


| Player | Blocks | Throwaways | Goals | Assists | Drops |
| Philip Throckmorton | 15 | 37 | 42 | 52 | 3 |
| Sam Good | 8 | 6 | 9 | 12 | 6 |
| Skyler Swafford | 13 | 10 | 14 | 6 | 2 |
| John Newman | 4 | 2 | 7 | 3 | 1 |
| Jacob Flowers | 65% | 69 | 1 | 65% | 69 |
| Matthew Freels | 2 | 14 | 2 | 9 | 0 |
Goals: 67
Scoring Conversion %: 73
Wins: 13
Total Turnovers: 54
Drops: 20
Throwaways: 34
Blocks: 42
Conversion %: 32


---
layout: archive
title: Lean Prover Zulip Chat Archive
permalink: 116395maths/87620mnmn.html
---
The archive URL format has changed. Please find this page at:
https://leanprover-community.github.io/archive/stream/116395-maths/topic/.E2.86.91(m.20*.20n).20.3D.20.E2.86.91m.20*.20.E2.86.91n.html


--- layout: page title: 'Tax Collector' ---
phone:<PHONE_NUMBER>
fax:<PHONE_NUMBER>
<EMAIL_ADDRESS>Hours: 8:30 – 4:30
Department Head: Bernadette Finelli, Tax Collector
Bernadette Caputo, Tax Cashier
The Tax Collector’s Office is responsible for the billing and collection of taxes.
A Drop Box is available at Borough Hall, on the Donaldson Avenue side of the building. Payments will only be received for the TAX COLLECTOR, BOROUGH CLERK and BUREAU of FIRE SAFETY. Make checks payable to Borough of Rutherford CHECKS ONLY for your safety, NO CASH. Payments received after 4:00 pm will be posted on the next business day and interest, if applicable, will accrue as of that next business day.
Quarterly Tax Payments Become Due:
Postmark is not accepted as a payment date, the payment date is the date that the payment is received in the Tax Collector's office, as per New Jersey State Law. NO POSTDATED CHECKS WILL BE ACCEPTED.
There is a ten day grace period each quarter; up to and including the 10th. Should the 10th fall on a weekend or a holiday, payments will be accepted the next business day without interest. The tax payment must be received within the designated grace period; if a payment is received after the grace period, interest is retroactive to the first day of the quarter. Interest in the amount of 8% per annum is charged on the first $1,500.00 of delinquency and 18% per annum on the amount over $1,500.00. Your account will remain at the 18% threshold until it is brought current. Interest accrues daily. For the correct amount due, please contact our office at<PHONE_NUMBER>.
It is the property owner’s responsibility to maintain records regarding the payment of property taxes. Receipted tax bills or cancelled checks are proof of payment. Tax bills will not be issued when property ownership is transferred. It is the responsibility of the property owner to be aware of tax payment amounts and due dates. Individuals transferring property are requested to turn over the tax bill to the new owner at time of title transfer.
NJ State Statute: NJSA 54:4-64 The validity of any tax or assessment, or the time at which it shall be payable, shall not be affected by the failure of a taxpayer to receive a tax bill, but every taxpayer is put on notice to ascertain from the proper official of the taxing district the amount which may be due for taxes or assessments against him or his property.
Payments may be mailed to:
Tax Collector – Borough Hall
176 Park Avenue
Rutherford, NJ 07070


This post title has a long word that could potentially overflow the content area.
A few things to check for:
- Non-breaking text in the title should have no adverse effects on layout or functionality.
- Check the browser window / tab title.
The following CSS property will help you support non-breaking text.
word-wrap: break-word;


 It's comes together so quickly yet it's sure to impress anyone. Pan seared salmon is perfectly delicious on it's own but when you add a bright dijon sauce like this it takes it to a whole new level!
Pan Seared Salmon with Creamy Garlic Dijon SauceIngredients:
1. 4 (6 - 7 oz) skinless salmon fillets
2. 3 tsp olive oil
3. Salt and freshly ground black pepper
4. 3 garlic cloves, minced (1 Tbsp)
5. 1/2 tsp cornstarch
6. 1/2 cup heavy cream
7. 1 1/2 Tbsp dijon mustard (or a little more to taste)
8. 1/2 tsp honey
9. 1/2 cup low-sodium chicken broth
10. 1 Tbsp minced fresh dill
Instructions:
1. Heat a large non-stick skillets over medium-high heat (or use two skillets if you used large 7 - 8 oz fillets like I did so they aren't overcrowded).
2. Add 1 1/2 tsp olive oil to each skillet. Dab both sides of salmon dry with paper towels and season both sides with salt and pepper.
3. Place salmon in skillet (top of salmon turned down). Let sear until golden brown on bottom, about 4 minutes then flip and continue to cook to desired doneness, about 2 - 3 minutes longer.
4.Meanwhile, in a liquid measuring cup whisk together cornstarch with 1 tbsp cream, then mix in enough cream to measure 1/2 cup. Whisk in dijon mustard and honey.
5.Remove salmon from skillet and transfer to a plate, leaving oil in one skillet. Tent salmon with foil.
6.Add garlic to skillet with oil set over medium heat, saute until just barely golden brown, about 20 - 30 seconds. Pour in chicken broth.
7.Bring to a simmer then reduce heat to medium-low and let simmer until reduced by about 2/3, about 3 minutes.
8.Whisk cream mixture once more then pour into skillet. Cook and stir, bringing to a simmer. Let simmer gently, while stirring, for about 30 seconds.
9.Remove from heat stir in dill, return salmon fillets to pan, spoon sauce over salmon. Serve warm.
This is our favorite Curry recipe. Why? Because it's easy to make, it has the perfect flavor, creamy , hearty and tastes just like the one from Thai resturants but enjoyed in the comfort of your own home!
Thai Chicken curryIngredients:
1. 1 (14 oz) can coconut milk
2. 1/2 cup low-sodium chicken broth
3. 3 Tbsp red curry paste
4. 1 tsp brown sugar
5. 1/2 tsp ground coriander
6. 1/2 tsp ground cumin
7. 1 Tbsp peeled and minced ginger
8. 2 tsp peeled and minced garlic
9.  Cooked jasmine rice or brown rice, for serving
23. 1/3 cup chopped unsalted peanuts, for serving
Instructions:
1. In a 5 - 7 quart slow cooker stir together coconut milk, chicken broth, red curry paste, brown sugar, coriander, cumin, ginger and garlic. Season lightly with salt (about 1/4 tsp).
2. Add chicken, carrots and onions to slow cooker and submerge lemongrass in broth. Cover and cook on low heat until chicken is cooked through and tender, about 5 hours, while adding in bell pepper during last 45 minutes of cooking.
3. Remove chicken from slow cooker and let rest a few minutes then shred. Remove lemongrass if used.
4. Stir peanut butter, lime juice and fish sauce into mixture into slow cooker, then toss in chicken and half of the cilantro.
5. Season with a little more salt to taste (I needed another 1/4 tsp). Serve warm with rice, sprinkle with peanuts and remaining cilantro.
Bansari love that with this recipe, you are throwing all of the ingredients into one pot. Everything goes into the Instant Pot and there's no sauteing beforehand.
Instant Pot Creamy Tuscan Chicken PastaIngredients:
1. 1 (32 oz) carton low-sodium chicken broth
2. 1/2 cup oil packed sun dried tomatoes with herbs, drained and dab excess oil off with paper towels, chopped
3. 2 tsp Italian seasoning
4. 1 Tbsp minced garlic
5. Salt and freshly ground black pepper
6. 1 lb boneless skinless chicken breasts, cut into 1-inch cubes
7. 12 oz uncooked campanelle pasta
8. 5 oz fresh baby spinach
9. 1 (8 oz) pkg. light cream cheese, cut into cubes and softened
10. 1 cup finely shredded parmesan cheese (use fresh shredded)
11. 1/4 cup chopped fresh basil
Instructions:
1. In an instant pot insert stir together broth, tomatoes, Italian seasoning, garlic, 1/4 tsp salt and 1/4 tsp pepper (season with more at the end if needed).
2. Stir in chicken and pasta (and try to submerge down into broth).
3.Secure the lid in place, be sure pressure valve is set to "sealing" position. Select the "manual" setting or high pressure and set to 5 minutes.
4.After the time is up select "cancel" then use the quick release method to release pressure - which is to carefully turn the valve to "venting" position and step back as steam will release.
5.Once it stops sputtering open lid and immediately stir noodles to separate then stir in spinach, light cream cheese and parmesan.
6.Toss well. Let rest for about 5 - 10 minutes to thicken (it will seem like soup at first but as it rests and cools it will thicken right up).
7.Toss in basil just before serving and serve warm (you can also garnish with a few diced sun dried tomatoes if desired).


contact
The best way to contact me is via email at amillerfsu atatat gmail dotdotot comcomcom
You can also contact me through my social media links
{{template "postfooter.html" .}}{{set . "title" "contact | amiller.im"}} {{template "header.html" .}}
The best way to contact me is via email at amillerfsu atatat gmail dotdotot comcomcom
You can also contact me through my social media links
{{template "postfooter.html" .}}


Code listing for: ZR00_63C01
Description: Include ZR00_62C01
*&---------------------------------------------------------------------*
*& Include ZR00_62C01
*&---------------------------------------------------------------------*
CLASS lcl_event_handler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_data_changed
FOR EVENT data_changed OF cl_gui_alv_grid
IMPORTING er_data_changed,
handle_data_changed_finished
for event DATA_CHANGED_FINISHED of cl_gui_alv_grid
IMPORTING E_MODIFIED
ET_GOOD_CELLS.
ENDCLASS.
CLASS lcl_event_handler IMPLEMENTATION.
METHOD handle_data_changed.
PERFORM handle_data_changed USING er_data_changed.
ENDMETHOD.
METHOD handle_data_changed_finished.
PERFORM handle_data_changed_finished USING e_modified
ET_GOOD_CELLS.
ENDMETHOD.
ENDCLASS.
Extracted by Direct Download Enterprise version 1.3.1 - E.G.Mellodew. 1998-2005 UK. Sap Release 750


3.01 Teachers College Record
Average time to publication in academic journals is woefully slow. Because of this, research that aims to impact policy is often published too late to have an influence. For example, a large number of papers about the reauthorization of NCLB will be published after the decision is made. To address this problem, EdLab has helped the Teachers College Record (TCR) take some dramatic steps.
- All TCR papers are pre-published online. Once a paper is accepted for publication, it is sent to a copyeditor and scheduled for online publication.
- TCR commentaries are online research-based opinion pieces that address important educational problems as they arise.
- TCR reviews books online every week, thereby covering more of the field than a traditional journal can cover.
- TCR regularly curates special online issues on timely educational topics that reach an immediate audience.
- By building a weekly audience, TCR is also able to highlight its historical archive as well as related historical publications like Social Frontier/Frontiers of Education.
Taking a proactive approach to technology has allowed the journal to maintain its standards while also finding a way to speak to educational problems as they happen.


Discover Amazing Places
Don't know where to go? We will recommend you where you can go :)
Get recommendations for the right time, weather & your style!


Perfect Your Tan on the Mexican Riviera
Hotel Xcaret in Playa del Carmen, Q.R., Mexico is a luxury resort in the jungle you must visit. This resort features 10 pools and over 10 restaurants located in the Mexican Riviera. They boast 900 suites in 5 casas with state-of-the-art gyms and top of the line spa and wellness treatments for guest to enjoy. Some cabins even feature mini pools and views of the Riviera. This destination resort was named one of the most beautiful destinations in the world.


WITNESS LIST Jurisprudence Committee July 2, 2003 - 1:00P Redistricting FOR: Culberson, John Congressman (District 7), Houston, TX Garamillo, Jr., Robert (Self), Houston, TX Pate, A.J. (Self), Houston, TX Scott, Paul (Self), Houston, TX AGAINST: Alford, John (Self), Houston, TX Ayala, Irene (Self), Pasadena, TX Balch, F. Raymond (Self), Houston, TX Bartholow, Margaret (Self), Houston, TX Batten, George (Self), Houston, TX Beckerman, Bernice (Self), Houston, TX Breaux, J.M. (Pace International Union), Port Neches, TX Brown, Joe (Self), Bellaire, TX Byron, Michelle (Self), Houston, TX Cohen, Roberta (Self), Houston, TX Coleman, Garnet State Representative (District 147), Houston, TX Cortez, Richard Precinct Judge (Self), Houston, TX Davis, Willlie Pastor (Ministers Advisor to Mayor), Houston, TX Dunn, Mark (Self), Houston, TX Ellis, Rodney Senator (Senate District 13), Houston, TX Farrar, Jessica State Representative (Self), Houston, TX Fitzsimmons, Orell (Service Employees International Union Local 100), Houston, TX Gentry, Thomas (Self), Pasadena, TX George Smith, Linda (Self), Houston, TX Green, Mary Kay (Self), Houston, TX Griffin, Rodney (State Democratic Executive Committee), Missouri City, TX Hamilton, Elaine (League of Women Voters), Houston, TX Hernandez Bell, Deborah (Self), Houston, TX Horton, Caroline (Self), League City, TX Jackson Lee, Sheila Congresswoman (Self), Houston, TX Jackson Lusby, Julie (Self), Houston, TX Jennings, Joe (Self), Houston, TX Johnson, Dr. Luckett (NAACP-Houston Branch), Houston, TX Johnson, R.W. (Self), Houston, TX Keller, Victoria (Self), Webster, TX Kerner, Martin (Self), Houston, TX Korenek, Mark (Self), Katy, TX Kosatka, Julia (Self), Houston, TX Krieger, Monica (Self), Houston, TX Lampson, Nick Congressman (9th Congressional District), Beaumont, TX Leichtman, Ira (Self), Bellaire, TX Love, Michael (Self), Houston, TX Mata, Johnny (LULAC), Houston, TX Medley, Lee (Self), Santa Fe, TX Mendoza, Eugene (Self), Houston, TX Merriman, Stan (Progressive Populist Caucus), Houston, TX Moreno, Joe State Representative (Self), Houston, TX Mosier, Bruce (Self), Houston, TX Mosier, Diane (Self), Houston, TX Mosteit, Michael (IBEW Local 66), La Porte, TX Noriega, Rick State Representative (Dist. 145), Houston, TX Odam, John (Self), Houston, TX Ruthven, Les (Self), Houston, TX Smith, Brian (Self), Houston, TX Stewart, Craig (Self), Houston, TX Stogner, Virginia (Self), Houston, TX Tibbets, Marcia (Self), Houston, TX Turner, Jim Congressman, 2nd District (Self), Cockett, TX Wentland, Stephen (Self), Houston, TX Whitmire, John Senator (Senate District 15), Houston, TX Williams, Wright (Self), Houston, TX Womack, Gerald (Self), Houston, TX Young, Edwin (Self), Houston, TX Zampieri, Thomas (Self), Houston, TX ON: Gosling, Fred (Self), Beaumont, TX Hurt, Silas (Self), Houston, TX Milburn, Ruth (Common Cause), Houston, TX Registering, but not testifying: For: Alford, Zeb (Self), Houston, TX Brunner, Ron (Self), Houston, TX Campbell, John (Self), Pasadena, TX Carlson, H. (Self), Houston, TX Cooley, Sibley (Self), Houston, TX Holt, John (Self), League City, TX Jones, Dion (Harris County Republican Party), Houston, TX Medel, Rafael (Self), Houston, TX Michna, John (Presiding Elct. Judge, PCT 62), Houston, TX Nikolis, William (Self), Houston, TX Renand, John (Self), Houston, TX Schreiner, Raymond (Self), Houston, TX Weekley, Charles (League of Veteran and Military Voters), Houston, TX Woodfill, Jared (HCRP), Houston, TX Against: Alcorn, Sallie (Self), Houston, TX Allgood, Carolyn (Self), Houston, TX Auerbach, Lisa (Self), Houston, TX Baker, Willie (Self), Houston, TX Banks, Eugene (Self), Alvin, TX Bastine, Jr., Volly (Self), Houston, TX Batten, Barbara (Self), Houston, TX Bell, Chris (U.S. Congress District 25), Houston, TX Bellow, Vicki (Self), Houston, TX Billington, Tina (Self), Houston, TX Blake, Sheila (Self), Houston, TX Bleyl, Amy (Self), Dickinson, TX Boesel, Minnette (Self), Houston, TX Bogdan, Eric (Self), Houston, TX Brady, Gerald (Self), Houston, TX Brassard, Richard Dr. (T.C.C.), Pasadena, TX Breaux, Becky (Self), Port Neches, TX Brennan, Rick (Self), Houston, TX Brooks, Sylvia (Houston Area Urban League), Houston, TX Buie, William (Self), Houston, TX Burdett, Helen (Gene Green), Houston, TX Burke, Kellye (Self), Houston, TX Bush, Barbara (Self), Houston, TX Caldwell, Clara (A. Philip Randolph Institute), Houston, TX Caldwell, Wayne (Self), South Houston, TX Capu, Zeph (Self), Houston, TX Carney, Veronica (Self), Houston, TX Charles, Paul (Self), Houston, TX Chorush, Evelyn (Self), Houston, TX Clark, Mike (Self), Richmond, TX Clemons, Jr., Harvey (18th Congressional District), Houston, TX Cohen, Daniel (Self), Houston, TX Coleman, Bill (Self), Houston, TX Collier, Yvette (Acron), Houston, TX Coneo, Carmenza (Self), Houston, TX Coneo, Marco (Self), Houston, TX Coneo, Marco (Self), Houston, TX Corgey, Dean (Seafarers International Union), Houston, TX Coroy, Yolanda (Self), Houston, TX Cowles, Delia (Self), Houston, TX Cruz Flores, Steven (C.W.A.), Houston, TX Davila, Patricia (Self), Houston, TX Deese, Joe (Self), Houston, TX Dennis, Steven (Self), Channelview, TX Dent, Almeda (Self), Houston, TX DeLaFuente, M. Lourdes (Self), Houston, TX Diaz, Yvette (Self), Houston, TX Dodson, Mary (Self), Houston, TX Durden, Jessie (Acron), Houston, TX Duron, Linda Kay (Self), Houston, TX Eldred, Kevin (IBEN LU #527), Santa Fe, TX Fallas, Bernardo (CRECEN), Houston, TX Flores, Claudia (Self), Pasadena, TX Forbes, Elroy (Self), Houston, TX Gallagher, Marion (Self), Houston, TX Garcia, Angel (Self), Houston, TX Garcia, Linda (Self), Houston, TX Garcia, Richard (Self), Spring, TX Gartner, Robert (Self), Houston, TX Gentry, Jann (Self), Pasadena, TX Glaser, Eileen (Self), Houston, TX Glover, Jamie (Self), Houston, TX Godoy, Michael (Self), Houston, TX Gomez, Michael (Self), Houston, TX Gonzales, Sylvia (LULAC), Houston, TX Gonzales, Victor (Self), Houston, TX Goodman, Sally (Self), Houston, TX Gosnell, William (Self), Houston, TX Green, Carl (Self), Channelview, TX Griffiths, Mary Bates (Self), Houston, TX Guerrero, Ruben (Self), Houston, TX Hadnott, Crystal (Self), Houston, TX Hager, Helen (Self), Houston, TX Hager, Rex (Self), Houston, TX Haltom, Sandra (Self), Cypress, TX Harbers, Scott (Self) Harwood, J. (Self), Houston, TX Harwood, Jason (Self), Houston, TX Hendrix, Ann (Chris Bell), Houston, TX Hendrix, Howard (Self), Houston, TX Hill, Eunice (Self), Houston, TX Hill, Wimpfford (Self), Houston, TX Hinds-Rasheed, Deidre (Self), Houston, TX Horne, Jr., Henry (Self), Houston, TX Hosmer, Lyman (Self), Houston, TX Howard, Virginia (Self), Houston, TX Hutson, Geoffrey (Self), Houston, TX Ingram, Kim (ACORN), Houston, TX Ingram, Vilena (Self), Houston, TX Jensen, Ruby (Self), Houston, TX Jones, Sandra (Self), Sugarland, TX Jones, Vonnie (Self), Houston, TX Jones, Jr., Ray (Self), Houston, TX Keeper, Samuel (Self), Houston, TX Kerwin, Robert (Self), Houston, TX King, Victor (Self), Houston, TX Kirkpatrick, K. (Self), Houston, TX Kithcart, Phillip (Self), Sugarland, TX Knobler, Ivan (Self), Houston, TX Lasofsky, Brian (Self), Houston, TX Lasofsky, Brian (Self), Houston, TX Lavallies, Sheila (Self), Houston, TX LaVine, David (Self), Houston, TX Leal, Albert (Self), Houston, TX Leonard, Lou Anne (Self), Houston, TX Levine, Augusta (Self), Houston, TX Lewis, R.E. (Self), Houston, TX Loper, Karen (Self), Houston, TX Lopez, Faustino (Self), Houston, TX Luis Rodriguez, Jose (LULAC), Channelview, TX Macias, Imogene (Self), Houston, TX Manrique, Mary (Self), Houston, TX Manrique, Sr., Philip (Self), South Houston, TX Marroquin, G.G. (Self), Houston, TX Martinez, David (Self), Houston, TX Mavronicles, Linda (Self), Houston, TX McKamie, Reginald (Self), Houston, TX Medel, Aurelio (Self), Missouri City, TX Moore, Doreen (Self), Pearland, TX Morales, Linda (Self), Houston, TX Muhs, Amy (Self), Houston, TX Murillo, Art (Self), Houston, TX Myers, Paul (Self), Houston, TX Navarro Flores, Yolanda (Self), Houston, TX Oser, George (Self), Houston, TX Page, Oscar (Self), Baytown, TX Pampe, Marcia (Self), Houston, TX Payne, Laurence (Self), Bellaire, TX Pennywell, Patsy (Self), Houston, TX Percival, Gertrude (Self), Houston, TX Percival, Paul (Self), Houston, TX Peterson, Doug (Self), Houston, TX Picha, Dixie (Magnolia Park/ Pineview Place), Houston, TX Porrah, Jr., Alfred (Self), Houston, TX Ramirez, Macario (Self), Houston, TX Ramon, Jesus (Self), Houston, TX Reichek, Starla (Self), Houston, TX Reyna, Gerardo (Self), South Houston, TX Reyna, Jesse (Self), Houston, TX Reyna, Margarita (Self), Houston, TX Reynolds, Ladd (Self), Houston, TX Rich, Pearl (Self), Houston, TX Robbins, Earl (Self), Houston, TX Roberts, Dianne (Self), Spring, TX Robinson, John (Self), Houston, TX Rodriguez, Juana (Self), Houston, TX Rodriguez, R. Joseph (Self), Houston, TX Rodriguez, Raul (LULAC), Channelview, TX Rogers, Robert (Self), Houston, TX Roppolo, Sheryl (Self), Channelview, TX Rosenberg, Patricia (Self), Houston, TX Roth, Timothy (Self), Houston, TX Sadberry, Heslip (Self), Houston, TX Salazar, Angela (LALAC), Houston, TX Salumunek, Theresa (Mangolia/Pineview Civic Club), Houston, TX Schliemann, Frank (Self), Houston, TX Schutz, Mary Emily (Self), Houston, TX Serrano, Anita (Self), Houston, TX Seymore, Mary (Self), Houston, TX Sgitcovich, Elizabeth (Self), Houston, TX Sgitcovich, Philip (Self), Houston, TX Simmons, Walter (Self), Houston, TX Slater, Jarred (Self), Houston, TX Sliva-Thibaut, Kristi (Self), Houston, TX Smith, Brian (Self), Houston, TX Smith, Jaime (Self), Pasadena, TX Story, Annette (Self), Houston, TX Story, James (Self), Houston, TX Stoul, David (Self), Houston, TX Tanner, Charlene (Self), Humble, TX Thaker, Neha (Self), Houston, TX Thomas, William (Rainbow Push Coalition), Houston, TX Thorne, John (Woodland Heights Civic Association), Houston, TX Tillinghast, Scott (Self), Houston, TX Trojanowski, Robert (Self), Houston, TX Turner, Sylvester State Representative (Self), Houston, TX Vallarta, Edgar (Self), Houston, TX Vallejo, Margaret (Rainbow/Push Coalition), Houston, TX Vargocko, Ed (Ironworkers Local 84), Houston, TX Villarreal, Margarita (Magnolia/Pineview Civic Club), Houston, TX Vincent, Ken (Chris Bell), Houston, TX Vincent, Pam (Chris Bell), Houston, TX Walbom, Catherine (Self), Houston, TX Walker, John (Self), Houston, TX Walker, Mary (Self), Houston, TX Walle, Armando (Self), Houston, TX Walton, Jr., Damon (Self), Houston, TX Wegner, Susan (Self), Houston, TX Weiss, Janice (Self), Houston, TX West, Nathaniel (Self), Houston, TX Wheeler, Thomas Dr. (Self), Bellaire, TX Williams, Jr., Howard (Self), Katy, TX Wittner, Hannelore (Self), Houston, TX Ybarra, Edward (Self), Houston, TX Yruestaz, Eligio (Self), Houston, TX Zwiebel, Margret (Self), Houston, TX On: Nolan, Kathleen (Self), Alvin, TX Whatley, Orletta (Self), Houston, TX Providing written testimony: For: Culberson, John Congressman (District 7), Houston, TX Pate, A. J. (Self), Houston, TX Against: Cobarruvias, John (Self), Houston, TX Cohen, Roberta (Self), Houston, TX Hartung, Stephen (Self), Deer Park, TX Pondish, LaBeth (Self), Houston, TX Wright, Williams (Self), Houston, TX


Home
Events
Organizations
People
About Us
Join
Link Reference
Feautured Events
Coming Soon...
We're waiting for events from YOU!
Join
to add an event!


Roberto Mancini praises young Italy stars after Armenia rout
Ciro Immobile and Nicolo Zaniolo stepped up and scored two goals each.
Italy coach Roberto Mancini hailed his rising stars after they rounded off their Euro 2020 qualifying campaign in exhilarating fashion with a 9-1 win over Armenia in Palermo.
Ciro Immobile and Nicolo Zaniolo stepped up and scored two goals each as Mancini’s much-changed line-up ensured the Italians finished Group J with a 100 per cent record from their 10 games.
And Mancini admitted he now faced the agonising prospect of leaving some of his star players out of the squad for the finals, for which the Italians will now start as one of the favourites.
Mancini said: “Let’s enjoy these 10 games we have won in the group because it is something that has never happened.
“We have six months to prepare for the European Championships and we need to improve a few things, but the difficulty will be having to leave at home someone who deserves to be there.”
Immobile paid tribute to Mancini, who continues to improve the Azzurri’s fortunes just two years after their unthinkable failure to qualify for the World Cup in Russia.
The Lazio striker said: “I am happy for the players and staff and I’m glad the fans gave us a big push.
“Now we’re looking forward to see who we are drawn against. We are aware of our strengths and I hope to win something because the team deserves it.
“I want to thank the coach for the opportunity. Things have finally been fixed in the national team, and I was very keen to make the most of it.”


Retrieve, map and summarize data from the 'VertNet.org' archives (<http://vertnet.org/>). Functions allow searching by many parameters, including 'taxonomic' names, places, and dates. In addition, there is an interface for conducting spatially delimited searches, and another for requesting large 'datasets' via email.
| Version: | 0.7.0 |
| Imports: | jsonlite (≥ 1.5), crul (≥ 0.5.2), dplyr (≥ 0.5.0), ggplot2, maps |
| Suggests: | testthat, knitr |
| Published: | 2018-04-17 |
| Author: | Scott Chamberlain [aut, cre], Chris Ray [ctb], Vijay Barve [ctb] |
| Maintainer: | Scott Chamberlain <myrmecocystus at gmail.com> |
| BugReports: | https://github.com/ropensci/rvertnet/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/ropensci/rvertnet |
| NeedsCompilation: | no |
| Materials: | README NEWS |
| CRAN checks: | rvertnet results |
| Reference manual: | rvertnet.pdf |
| Vignettes: |
rvertnet introduction |
| Package source: | rvertnet_0.7.0.tar.gz |
| Windows binaries: | r-devel: rvertnet_0.7.0.zip, r-release: rvertnet_0.7.0.zip, r-oldrel: rvertnet_0.7.0.zip |
| OS X binaries: | r-release: rvertnet_0.7.0.tgz, r-oldrel: rvertnet_0.7.0.tgz |
| Old sources: | rvertnet archive |
| Reverse imports: | spocc |
Please use the canonical form https://CRAN.R-project.org/package=rvertnet to link to this page.


Automates fitting of double GLM in 'JAGS'. Includes automatic generation of 'JAGS' scripts, running 'JAGS' via 'rjags', and summarizing the resulting output.
| Version: | 0.3.0 |
| Depends: | R (≥ 3.0.0) |
| Imports: | rjags, coda, gdata, ggmcmc, dglm |
| Suggests: | knitr, ggplot2, dplyr |
| Published: | 2018-01-29 |
| Author: | Simon Bonner [aut, cre], Hanna Kim [aut] |
| Maintainer: | Simon Bonner <sbonner6 at uwo.ca> |
| License: | GPL-2 |
| NeedsCompilation: | no |
| CRAN checks: | dalmatian results |
| Reference manual: | dalmatian.pdf |
| Vignettes: |
Pied Flycatchers – Part I Pied Flycatchers – Part II Weighted Regression |
| Package source: | dalmatian_0.3.0.tar.gz |
| Windows binaries: | r-devel: dalmatian_0.3.0.zip, r-release: dalmatian_0.3.0.zip, r-oldrel: dalmatian_0.3.0.zip |
| OS X binaries: | r-release: dalmatian_0.3.0.tgz, r-oldrel: dalmatian_0.3.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=dalmatian to link to this page.


COM1005 Machines and Intelligence
| Summary |
This module provides an introduction to Artificial
Intelligence, and to key concepts and problems in the field,
such as whether a computer is capable of understanding, and
whether humans should themselves be viewed as machines. It
also provides a brief historical overview of the subject and
reviews the state-of-the-art and open questions in some of
the major subareas of AI, pointing out connections to
research work in the Department. As well as providing a
first encounter with the main issues that underlie attempts
to create Artificial Intelligence, the module also has a
more practical component that introduces algorithms and
data structures for AI problem solving through practical
programming examples, as well as hands-on experience with simple programming of robots. The emphasis here is on identifying
the abstract nature of the problem which is to be solved,
matching this to an appropriate algorithm or technique and
implementing a solution. It also serves as an introduction
to programming for research rather than for software
engineering. |
| Session |
Academic Year 2018/19 |
| Credits |
20 |
| Assessment |
Semester 1
- 5 assessed labs (4% each) = 20%
- 2 quizzes (15%) each) = 30%
Semester 2
- 2 assignments (12.5% each) = 25%
- Formal exam (MOLE) = 25%
|
| Lecturer(s) |
Prof. Rob Gaizauskas, Prof. Tony Prescott, Dr Heidi Christensen & Prof. Phil Green |
| Resources |
|
| Aims |
The aims of the module are
- to provide students with the historical and cultural
context of modern day research into artificial
intelligence
- to introduce the student to the AI research carried
out in the Department.
- to introduce a number of classic AI problem-solving
algorithms and data structures
- to develop an ability to select appropriate
techniques to address particular problems.
- to develop the technical knowledge necessary to
implement AI problem solving
- to provide experience of scientific programming as
opposed to software engineering.
|
| Objectives |
By the end of the course the students should:
- be aware of the main issues involved in defining
intelligence, and of the changing views of intelligence
- appreciate key representative programs developed
during the course of AI research
- be aware of the major sub-areas of AI and of the problems addressed in these sub-areas
- be aware of the ethical issues surrounding AI research and the potential consequences of this research
- understand a number of different algorithms and data
structures for AI problem solving
- understand the role of knowledge as information to
guide heuristic search
- be able to select appropriate techniques to address
particular problems
- be able to program search, inference and planning
algorithms
- be able assess the problem-solving performance of
such algorithms experimentally
- appreciate a number of AI applications that use the
techniques described
- be able to write simple programs to control the Miro robot.
|
| Content |
Semester 1 content:
Semester 1 addresses foundational questions in AI about
the nature and possibility of artificial intelligence,
provides a brief historical overview of the subject and
also reviews the state-of-the-art and open questions in
some of the major subareas of AI. The labs will introduce students to programming the Miro robot via a simulator.
Topics covered in Semester 1:
- What is intelligence? Is AI Possible?
- Turing Test
- Chinese Room Argument and Strong versus Weak AI
- Physical Symbol System Hypothesis and
Computationalism
- Origins and Early History of AI
- Open Questions in some of:
- Robotics
- Machine Learning
- Machine Vision
- Speech and Language Understanding
- Knowledge Representation and Reasoning
- Ethics and Artificial Intelligence
Semester 2 content:
In contrast to semester 1, the objective here is to give
students knowledge and experience of AI programming by
implementing classic symbolic problem-solving paradigms.
It also provides students with experience of programming
for scientific research in contrast with software
engineering.
Topics covered in Semester 2:
- State-space search: search algorithms and strategies.
- The dynamic programming principle and A* search
- Symbolic knowledge representation and pattern
matching.
- Reasoning in deductive systems: forward and backward
chaining, production systems, rule networks and the RETE
match algorithm.
- Planning and goal reduction
- AI, Connectionism and Perception - limitations of symbolic reasoning.
|
| Teaching Method |
Lecture based, with assignments and labs in semester 1. Assignments in semester 2. |
| Feedback |
Semester 1: Labs will be marked in lab sessions; short assignments will be marked via a simple tick scheme and returned within 3 weeks of submission.
Semester 2: Assignments will be marked using published
criteria and the submissions commented. They will be
returned within 3 weeks of submission. |
| Recommended Reading |
Comprehensive Textbook:
Russell and Norvig: Artificial Intelligence: A Modern
Approach [it is not necessary to buy this -- there is an e-copy in the library]
Other reading TBA |
|


WITNESS LIST Public Education Committee March 10, 1999-2:00P SB 1 For: Brewer, Lee (Self) Collyer, David (Self) Mallard-McFarland, Patricia (North Forest Independent School District) Malone, Hilman (Self) Rivers, Lula (Houston Federation of Teachers) Sharpe, Bonita (HOPE Charter School for Learning) Against: Crutchfield, Frances (Self) Cuellar, Olga (LULAC) Griffin, Linda (Metroplex African-American School Board Association) Whitfield, Edgar (Committee for Quality Education for All Students) On: Garner, Donna (Self) Moses, Mike (Texas Education Agency) Newsome, Shirley (Self) Philp, Dan (Self) Piskun, Jennifer (Governor's Office) Registering, but not testifying: For: Adams, Ed (Texans for Education) Willis, Horace (Self)


Robocon-RT provides a real-time framework that facilitates the design and construction of remote controllable and autonomous mobile robot platforms.
Real-time robot control is a relatively hot topic in recent literature. However, there has not been any effort to create a modular, real-time robot control framework primarily focusing on EtherCAT technology
Currently available examples and tools generally require custom development of a large number of components to deploy a robot platform and are hence quite prohibitive due to the large initial investment required. The primary differences of this project from existing examples comes from its performance, modularity and the provision of existing components to facilitate robot design and deployment. Expected users of this product will be the programmers who are interested in robotics.
This project is supported by Teknolus, which is a company located in Ankara specialized in producing custom servo motors. Necessary hardware components, such as single board computers, are supplied by the firm throughout the project development.
Simple & efficient robot control framework for embedded systems
A robust network interface allowing remote access to robot platform
Support wide range of hardware components
Abstraction for writing user-defined modules
Managing modules with static-scheduling
Low-level motor control interface
Real-time communication with EtherCAT
A robust network interface


Home
Development
Testing
Contact
Testing page
H3 title
This is the first paragraph!
This is the second paragraph!
This is a sentence with a little bit of text in it!
This is an other sentence...
Last line of text in this file.


identity map
The identity map in Mongoid is a current aid to assist with excessive database queries in relations, and is necessary for eager loading to work. It's functionality will be extended in future releases.
To enable the identity map, simply change the configuration option in your mongoid.yml.
identity_map_enabled: true
When a document is now loaded from the database, is is automatically added to the identity map by it's class and id. Subsequent request for that document by it's id will not hit the database, but rather pull the document back from the identity map itself. It's primary function in this capacity is to aid in cutting down queries for belongs_to relations when iterating over the parents.
access
You can access documents in the map directly via the get method. It requires the class of the document you want and an id.
Mongoid::IdentityMap.get(Person, id)
Note in future releases the Mongoid finders will hook directly into the map so you don't have to access it directly.
the unit of work
To prevent database objects from becoming stale, the documents in the identity map should only exist in a single unit of work, which is usually a single request to the application.
rails
No extra work is needed for Rails users, Mongoid will automatically clear out the identity map after each request.
sinatra
You can require the Mongoid identity map middleware in your application to clear out the map with each request:
use Rack::Mongoid::Middleware::IdentityMap
non rack based applications
For users not using rack based apps, you will need to wrap your requests or application defined unit of work in a Mongoid.unit_of_work block:
Mongoid.unit_of_work do Person.create(title: "Grand Poobah") end
testing
If you have the identity map enabled in your application, you should set up a global hook to clear out the map before each test so the test suite does not create memory bloat. For example in RSpec in spec_helper.rb.
RSpec.configure do |config| config.before(:each) { Mongoid::IdentityMap.clear } end


tuiValidator
allows set validators for form control on
the fly
Import an Angular module for forms and
TuiValidatorModule
in the same module where you
want to use our directive:
Add to the template:


When implementing a Fluid component, the difficult arises that the value of intensive quantities (such as p, T, ρ) shall be accessed from the upstream volume. For example, if the fluid flows from volume A to volume B, then the intensive quantities of volume B have no influence on the fluid between the two volumes. On the other hand, if the flow direction is reversed, the intensive quantities of volume A have no influence on the fluid between the two volumes.
In the Modelica.Fluid library, such a situation is handled with the following code fragment (from Interfaces.PartialTwoPortTransport):
replaceable package Medium = Modelica.Media.Interfaces.PartialMedium annotation(choicesAllMatching = true); Interfaces.FluidPort_a port_a(redeclare package Medium = Medium); Interfaces.FluidPort_b port_b(redeclare package Medium = Medium); Medium.ThermodynamicState port_a_state_inflow "Medium state close to port_a for inflowing mass flow"; Medium.ThermodynamicState port_b_state_inflow "Medium state close to port_b for inflowing mass flow"; equation // Isenthalpic state transformation (no storage and no loss of energy) port_a.h_outflow = inStream(port_b.h_outflow); port_b.h_outflow = inStream(port_a.h_outflow); port_a.Xi_outflow = inStream(port_b.Xi_outflow); port_b.Xi_outflow = inStream(port_a.Xi_outflow); // Mass balance port_a.m_flow + port_b.m_flow = 0; // Medium states for inflowing medium port_a_state_inflow = Medium.setState_phX(port_a.p, port_b.h_outflow, port_b.Xi_outflow); port_b_state_inflow = Medium.setState_phX(port_b.p, port_a.h_outflow, port_a.Xi_outflow); // Densities close to the parts when mass flows in to the respective port port_a_rho_inflow = Medium.density(port_a_state_inflow); port_b_rho_inflow = Medium.density(port_b_state_inflow); // Pressure drop correlation (k_ab, k_ba are the loss factors for the two flow // directions; e.g., for a circular device: k = 8*zeta/(pi*diameter)^2)^2) m_flow = Utilities.regRoot2(port_a.p - port_b.p, dp_small, port_a_rho_inflow/k1, port_b_rho_inflow/k2);
The medium states for inflowing media can be used to compute density and dynamic viscosity which in turn can be use to formulate the pressure drop equation. The standard pressure drop equation
dp = port_a - port_b; m_flow = sqrt(2/(zeta*diameter))*if dp >= 0 then sqrt(dp) else -sqrt(-dp)
cannot be used, since the function has an infinite derivative at dp=0. Instead the region around zero mass flow rate must be regularized using one of the regularization functions of Modelica.Fluid.Utilities. This requires to have density and/or other medium properties for both flow directions at the same time. These media properties can be computed from the medium states of the inflowing fluid at the two ports.
If the above component is connected between two volumes, i.e., the independent medium variables in port_a and port_b are usually states, then port_a.h and port_b.h are either states (i.e., known quantities in the model) or are computed from states. In either case they are "known". In such a situation, all equations can be directly evaluated without any problems. Zero or reversed mass flow rate does not pose any problems because the medium properties are always computed for both flow directions and are then used in the regularization function.
If 3 or more components are connected together, it can be shown that a system of non-linear algebraic equations appear. The equations are written by purpose in such a form, that a tool can select mass flow rates and pressures as iteration variables of this system. The advantage is that these iteration variables are continuous and even often differentiable. The alternative to use the medium states as iteration variables is not good, because T,h,d are discontinuous for reversing flow direction.


Select the file you wish to corrupt by browsing to it using the Browse… button or type it directly into the "File to Corrupt" text box. Select Random Corruption as the type of corruption. This is a good way to flush out file parsing bugs, Holodeck generates completely random bytes which also generates many unprintable and unexpected characters.
Holodeck creates a copy of the file to be corrupted and corrupts file on the first access, then uses that same file each time it is accessed unless "Regenerate the corruption at each access to the original file" is checked. Check this checkbox for better overall testing when using any kind of random corruption, uncheck this checkbox for help reproducing bugs.
In this case we want to corrupt the file as much as possible, to flush out easy file parsing bugs. More corruption will also be easier to find in the application once it has opened the file. We could opt to insert random characters into the file instead of overwriting them. Sometimes it is useful to insert a repeating character into the file for easy discovery within the application.
The Summary Page shows all the information about the wizard pertaining to this File Corruption Fault. You can go back and change any part of the fault by highlighting the value name and clicking edit. This will return you to the page in the wizard so you can change the options.


Package com.sun.msv.grammar.util
package com.sun.msv.grammar.util
Miscellaneous utility classes.
-
ClassDescriptionBase class for "finding" something from an expression.creates a string representation of the expression.Visits all reachable expressions but do nothing.Wraps
IDContextProvider
so that it can be used whereIDContextProvider2
is expected.Computes if two name classes collide or not.Abstract implementation of a functionMinimizes a name class.computes the possible names.removes all ReferenceExp from AGM.


The jQuery team hosts all of its meeting in the #jquery-meeting IRC channel on Freenode.net. Normally everyone in the channel is muted unless a meeting is going on. Please be respectful to those participating. You can connect to the channel using an IRC client or use webchat.


one
two
three
four
five
six
seven
eight
nine
ten
a paragraph
blah
blah
one
two
three
four
five
six
seven
eight
nine
ten


{% extends "base.html" %} {% block title %} The OLS Food Pantry {% endblock %} {% block content %}
This is a simple data management app for the volunteers who manage the Food Pantry at Our Lady of Sorrows Church, in South Orange, NJ.
Updated September 5, 2017
{% endblock %} {% block styles %} {% endblock %}


Python API Overview¶
The purpose of this document is to explain how Python and Blender fit together, covering some of the functionality that may not be obvious from reading the API references and example scripts.
Python in Blender¶
Blender has an embedded Python interpreter which is loaded when Blender is started and stays active while Blender is running. This interpreter runs scripts to draw the user interface and is used for some of Blender’s internal tools as well.
Blender’s embedded interpreter provides a typical Python environment, so code from tutorials
on how to write Python scripts can also be run with Blender’s interpreter. Blender provides its
Python modules, such as bpy
and mathutils
, to the embedded interpreter so they can
be imported into a script and give access to Blender’s data, classes, and functions. Scripts that
deal with Blender data will need to import the modules to work.
Here is a simple example which moves a vertex attached to an object named Cube:
import bpy
bpy.data.objects["Cube"].data.vertices[0].co.x += 1.0
This modifies Blender’s internal data directly. When you run this in the interactive console you will see the 3D viewport update.
The Default Environment¶
When developing your own scripts it may help to understand how Blender sets up its Python environment. Many Python scripts come bundled with Blender and can be used as a reference because they use the same API that script authors write tools in. Typical usage for scripts include: user interface, import/export, scene manipulation, automation, defining your own toolset and customization.
On startup Blender scans the scripts/startup/
directory for Python modules and imports them.
The exact location of this directory depends on your installation.
See the directory layout docs.
Script Loading¶
This may seem obvious, but it is important to note the difference between executing a script directly and importing a script as a module.
Extending Blender by executing a script directly means the classes that the script defines remain available inside Blender after the script finishes execution. Using scripts this way makes future access to their classes (to unregister them for example) more difficult compared to importing the scripts as modules. When a script is imported as a module, its class instances will remain inside the module and can be accessed later on by importing that module again.
For this reason it is preferable to avoid directly executing scripts that extend Blender by registering classes.
Here are some ways to run scripts directly in Blender.
Loaded in the text editor and press Run Script.
Typed or pasted into the interactive console.
Execute a Python file from the command line with Blender, eg:
blender --python /home/me/my_script.py
To run as modules:
- The obvious way,
import some_module
command from the text window or interactive console. - Open as a text block and tick “Register” option, this will load with the blend file.
- copy into one of the directories
scripts/startup
, where they will be automatically imported on startup. - define as an add-on, enabling the add-on will load it as a Python module.
Add-ons¶
Some of Blenders functionality is best kept optional,
alongside scripts loaded at startup we have add-ons which are kept in their own directory scripts/addons
,
and only load on startup if selected from the user preferences.
The only difference between add-ons and built-in Python modules is that add-ons must contain a bl_info
variable which Blender uses to read metadata such as name, author, category and URL.
The User Preferences add-on listing uses bl_info to display information about each add-on.
See Add-ons
for details on the bl_info
dictionary.
Integration through Classes¶
Running Python scripts in the text editor is useful for testing but you’ll want to extend Blender to make tools accessible like other built-in functionality.
The Blender Python api allows integration for:
bpy.types.Panel
bpy.types.Menu
bpy.types.Operator
bpy.types.PropertyGroup
bpy.types.KeyingSet
bpy.types.RenderEngine
This is intentionally limited. Currently, for more advanced features such as mesh modifiers, object types, or shader nodes, C/C++ must be used.
For Python integration Blender defines methods which are common to all types. This works by creating a Python subclass of a Blender class which contains variables and functions specified by the parent class which are pre-defined to interface with Blender.
For example:
import bpy
class SimpleOperator(bpy.types.Operator):
bl_idname = "object.simple_operator"
bl_label = "Tool Name"
def execute(self, context):
print("Hello World")
return {'FINISHED'}
bpy.utils.register_class(SimpleOperator)
First note that we subclass a member of bpy.types
,
this is common for all classes which can be integrated with Blender and
used so we know if this is an Operator and not a Panel when registering.
Both class properties start with a bl_
prefix.
This is a convention used to distinguish Blender properties from those you add yourself.
Next see the execute function, which takes an instance of the operator and the current context. A common prefix is not used for functions.
Lastly the register function is called, this takes the class and loads it into Blender. See Class Registration.
Regarding inheritance, Blender doesn’t impose restrictions on the kinds of class inheritance used, the registration checks will use attributes and functions defined in parent classes.
class mix-in example:
import bpy
class BaseOperator:
def execute(self, context):
print("Hello World BaseClass")
return {'FINISHED'}
class SimpleOperator(bpy.types.Operator, BaseOperator):
bl_idname = "object.simple_operator"
bl_label = "Tool Name"
bpy.utils.register_class(SimpleOperator)
Notice these classes don’t define an __init__(self)
function.
While __init__()
and __del__()
will be called if defined,
the class instances lifetime only spans the execution.
So a panel for example will have a new instance for every redraw,
for this reason there is rarely a cause to store variables in the panel instance.
Instead, persistent variables should be stored in Blenders
ata so that the state can be restored when Blender is restarted.
Note
Modal operators are an exception, keeping their instance variable as Blender runs, see modal operator template.
So once the class is registered with Blender, instancing the class and calling the functions is left up to Blender. In fact you cannot instance these classes from the script as you would expect with most Python API’s.
To run operators you can call them through the operator api, eg:
import bpy
bpy.ops.object.simple_operator()
User interface classes are given a context in which to draw, buttons window, file header, toolbar etc, then they are drawn when that area is displayed so they are never called by Python scripts directly.
Registration¶
Module Registration¶
Blender modules loaded at startup require register()
and unregister()
functions.
These are the only functions that Blender calls from your code, which is otherwise a regular Python module.
A simple Blender/Python module can look like this:
import bpy
class SimpleOperator(bpy.types.Operator):
""" See example above """
def register():
bpy.utils.register_class(SimpleOperator)
def unregister():
bpy.utils.unregister_class(SimpleOperator)
if __name__ == "__main__":
register()
These functions usually appear at the bottom of the script containing class registration sometimes adding menu items. You can also use them for internal purposes setting up data for your own tools but take care since register won’t re-run when a new blend file is loaded.
The register/unregister calls are used so it’s possible to toggle add-ons and reload scripts while Blender runs. If the register calls were placed in the body of the script, registration would be called on import, meaning there would be no distinction between importing a module or loading its classes into Blender.
This becomes problematic when a script imports classes from another module making it difficult to manage which classes are being loaded and when.
The last 2 lines are only for testing:
if __name__ == "__main__":
register()
This allows the script to be run directly in the text editor to test changes.
This register()
call won’t run when the script is imported as a module
since __main__
is reserved for direct execution.
Class Registration¶
Registering a class with Blender results in the class definition being loaded into Blender, where it becomes available alongside existing functionality.
Once this class is loaded you can access it from bpy.types
,
using the bl_idname rather than the classes original name.
When loading a class, Blender performs sanity checks making sure all required properties and functions are found, that properties have the correct type, and that functions have the right number of arguments.
Mostly you will not need concern yourself with this but if there is a problem with the class definition it will be raised on registering:
Using the function arguments def execute(self, context, spam)
, will raise an exception:
ValueError: expected Operator, SimpleOperator class "execute" function to have 2 args, found 3
Using bl_idname = 1
will raise.
TypeError: validating class error: Operator.bl_idname expected a string type, not int
Inter Classes Dependencies¶
When customizing Blender you may want to group your own settings together, after all, they will likely have to co-exist with other scripts. To group these properties classes need to be defined, for groups within groups or collections within groups you can find yourself having to deal with order of registration/unregistration.
Custom properties groups are themselves classes which need to be registered.
Say you want to store material settings for a custom engine.
# Create new property
# bpy.data.materials[0].my_custom_props.my_float
import bpy
class MyMaterialProps(bpy.types.PropertyGroup):
my_float: bpy.props.FloatProperty()
def register():
bpy.utils.register_class(MyMaterialProps)
bpy.types.Material.my_custom_props: bpy.props.PointerProperty(type=MyMaterialProps)
def unregister():
del bpy.types.Material.my_custom_props
bpy.utils.unregister_class(MyMaterialProps)
if __name__ == "__main__":
register()
Note
The class must be registered before being used in a property, failing to do so will raise an error:
ValueError: bpy_struct "Material" registration error: my_custom_props could not register
# Create new property group with a sub property
# bpy.data.materials[0].my_custom_props.sub_group.my_float
import bpy
class MyMaterialSubProps(bpy.types.PropertyGroup):
my_float: bpy.props.FloatProperty()
class MyMaterialGroupProps(bpy.types.PropertyGroup):
sub_group: bpy.props.PointerProperty(type=MyMaterialSubProps)
def register():
bpy.utils.register_class(MyMaterialSubProps)
bpy.utils.register_class(MyMaterialGroupProps)
bpy.types.Material.my_custom_props: bpy.props.PointerProperty(type=MyMaterialGroupProps)
def unregister():
del bpy.types.Material.my_custom_props
bpy.utils.unregister_class(MyMaterialGroupProps)
bpy.utils.unregister_class(MyMaterialSubProps)
if __name__ == "__main__":
register()
Note
The lower most class needs to be registered first and that unregister() is a mirror of register()
Manipulating Classes¶
Properties can be added and removed as Blender runs, normally happens on register or unregister but for some special cases it may be useful to modify types as the script runs.
For example:
# add a new property to an existing type
bpy.types.Object.my_float: bpy.props.FloatProperty()
# remove
del bpy.types.Object.my_float
This works just as well for PropertyGroup subclasses you define yourself.
class MyPropGroup(bpy.types.PropertyGroup):
pass
MyPropGroup.my_float: bpy.props.FloatProperty()
…this is equivalent to:
class MyPropGroup(bpy.types.PropertyGroup):
my_float: bpy.props.FloatProperty()
Dynamic Defined-Classes (Advanced)¶
In some cases the specifier for data may not be in Blender, renderman shader definitions for example, and it may be useful to define them as types and remove them on the fly.
for i in range(10):
idname = "object.operator_%d" % i
def func(self, context):
print("Hello World", self.bl_idname)
return {'FINISHED'}
opclass = type("DynOp%d" % i,
(bpy.types.Operator, ),
{"bl_idname": idname, "bl_label": "Test", "execute": func},
)
bpy.utils.register_class(opclass)
Note
type()
is called to define the class.
This is an alternative syntax for class creation in Python, better suited to constructing classes dynamically.
To call the operators from the previous example:
>>> bpy.ops.object.operator_1()
Hello World OBJECT_OT_operator_1
{'FINISHED'}
>>> bpy.ops.object.operator_2()
Hello World OBJECT_OT_operator_2
{'FINISHED'}


Safe
In
Login
Relief Disaster. Volunteer Now
1
Personal Information
2
Skills
Full name:
Phone number:
Phone number we can contact in case of emergency. e.g. Your parents, close friend, etc.
?
Emergency contact:
Email address:
Home address:
Please tell us if you have any health issue such as heart disease, asthma, diabetes, etc.
?
Health limitation:
I am willing to volunteer to relief:
Japan Eartquake Disaster
Hawai's Volcano Eruption Disaster
Continue


Meatcakes
1234 Real Blvd
Faketown, MO, 98765-432
PHONE
66-MEAT-CAKE
Click here to return to the homepage


Additional Information: Before starting, you might want to show the number of activities of a certain type that are currently running by using the WLM_GET_WORKLOAD_OCCURRENCE_ACTIVITIES_V97 table function.
If you are using a 9.5 database, you will need to run the WLM_GET_WORKLOAD_OCCURRENCE_ACTIVITIES table function instead. Since DB2 9.7, this table function has been deprecated and replaced by the WLM_GET_WORKLOAD_OCCURRENCE_ACTIVITIES_V97 table function. Click on the 'Edit mode' button in the top right panel, and edit the SQL before clicking on 'Run.'
To get information about the different types of activities that have run on your system over a given period of time, you can use work class sets and work actions.


|
Boilerplate
|
Standard HTML markup provided. |
CSS grids not included. |
CSS compilers not included. |
Comes with jQuery via CDN and local one for fall back and modernizer. |
Server-side scripts not included. |
Does not include any tools for external data handling. |
Browser support is provided via:
Browser upgrade not, htaccess, touch/favorite
MS touch tiles, normalize stylesheet
|
Simple frameworks meant to get a basic website up and running quickly. |
|
Bootstrap
|
Includes standard HTML markup and many preconfigured components. |
CSS grids use float properties to mimic pure CSS grid style. |
Includes precompiled LESS/SASS, can use Grunt to build LESS/SASS. |
Includes plenty of JS libraries to modify HTML elements behaviors. |
Server-side scripts not included. |
Does not include any tools for external data handling. |
Supports latest version of desktops browsers Chrome, Firefox, Internet Explorer, Opera, and Safari.
For mobile the latest versions of Chrome, Firefox, and Safari are supported.
|
More complex framework for and includes more libraries for a more interactive website. |
|
Angular.js
|
Includes standard HTML markup and allows the creation of reusable HTML components written in JS. |
CSS grids not included |
CSS compilers not included. |
AngularJS is a JS oriented framework, has tons of modular JS libraries you can use. |
Server-side scripts not included. |
Has limited functionality in JS for external data handling. |
Supports latest versions of Chrome, Firefox, Edge, Internet Explorer, Safari, iOS, Android, and Internet Explorer mobile |
Framework intended for developers that want to create an interactive website/web app in typescript or JS. |
|
Ruby on Rails
|
Includes standard HTML markup and has support for template files to make modular components. |
CSS grids not included. |
Includes support for SASS through a ruby gem thats installed by default. |
No JS included by default, supports JS libraries though. |
Framework is written in and requires Ruby on the server for development. |
External data handling is one of main pros of Ruby on Rails, has support for connecting to many popular databases. |
Ruby on Rails is a server side application, browser compatibility depends on the front end framework being used. |
Ruby on Rails intended for developers that want to create scalable applications with their choice of front end.
Has great support and documentation for websites/web app that use a database.
|


Welcome to FAHB LOGISTICS
Minimum Ride Starting: Rs. 250/-
Rs: *25/- KM per Day
Honda City, Aqua Hybrid


Most Common Three Page Sequences Accessed by Users
Source
Sequence (referral-source-destination)
Count
/test
/test1/ --> /test2/ --> /test3/
0


Designers are not usually involved in a change of language when it is only a change from the default language for a quotation of some kind. That is usually between the editors or writers and the developers.
Design responsibilities
{how it has to work or must do}Doing more than the minimum
There is potential for more inclusive design. For example, a designer might add a feature to change the text’s language. For example, a French flag accompanying a locution française 🇫🇷. Or some other visible annotation. Or an adjacent “Pronounce this out loud” button. This is not required, but goes beyond the minimum.
In a complex site or product, there may be additional features that are associated with a language change that may involve design. Generally the control to select the language is part of the visual design. The ease of discovery and use are often part of the design activity.
Language change controls, like all controls, need to conform to WCAG. For example, the color contrast must be sufficient for a person with color deficiency or low vision to be able to discover the control.
- You must ensure that the control to change the language can be discovered and operated by a person with a disability. This means that the control will have to meet WCAG.
- Make the control easy to use, especially by a person with a motor disability. Language lists are often very long and difficult to select by a person with a tremor or limited motor skills. Consider a search feature if the list of languages is long. Going beyond the minimum could include taking advantage of a user’s language preferences from their browser settings so a multilingual user who is accustomed to switching languages frequently in web-authored content would see their preferred languages prioritized inside a control."


Chapter 8 Dependent Samples t-Test
The dependent samples t-test is essentially the same analysis as the one sample t-test but on a difference score.
For example, let’s say that we were interested in determining if the weight of female patients with anorexia changed before the study compared to after the study.
For this example, we will be using the datasetAnorexia
dataset.
We use a difference score because the measures of weight are dependent on (or relate to) each other as they come from the same individual. In other words, weights from the same individual are more likely to be closer in value than weights between individuals. If we do not take this dependence (i.e., positive dependence) into account, the t-value will be artificially inflated (or higher than it should be). Thus, we are also more likely to artificially reduce the p-value and ultimately commit a Type I error.
In other cases, not properly accounting for the dependence of measures can artificially reduce the t-value if the measures are negatively dependent. Measuring responsibility of household chores in couples is an example of negative dependence because as one couple rates their household chore responsbility as high or low, the other couple will typically rate the opposite. In other words, the measures of responsibility of household chores are more likely to be different within couples than the responsibility of household chores between couples. The artificially reduced t-value would increase the p-value and are ultimately likely to commit a Type II error.
8.1 Null and research hypotheses
8.1.1 Traditional approach
\[H_0: \mu_{WeightDifference} = 0\] \[H_1: \mu_{WeightDifference} \ne 0\]
The null hypothesis states that there is no weight difference in female patients with anorexia before and after the study. The research hypothesis states there is a weight difference in female patients with anorexia before and after the study.
8.1.2 GLM approach
\[Model: WeightDifference = \beta_0 + \varepsilon\] \[H_0: \beta_0 = 0\] \[H_1: \beta_0 \ne 0\]
where \(\beta_0\) represents the intercept and \(\varepsilon\) represents the error
Just like in the one sample t-test, the intercept (\(\beta_{0}\)) represents the sample mean. However, in this case, the sample mean is the mean of the weight difference of the female patients with anorexia before and after the study. Thus, the intercept here is testing if the sample mean of the weight difference score is significantly different than 0 with identical null and research hypotheses.
8.2 Statistical analysis
8.2.1 Traditional approach
To perform the traditional dependent samples t-test, we can again use the t.test()
function. However, we will also set the paired
option to TRUE
.
##
## Paired t-test
##
## data: datasetAnorexia$PostWeight and datasetAnorexia$PreWeight
## t = 2.9376, df = 71, p-value = 0.004458
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
## 0.8878354 4.6399424
## sample estimates:
## mean of the differences
## 2.763889
From this output, we can see that the t-statistic (t
) is 2.9376
, degrees of freedom (df
) is 71
, and the p-value
is 0.004458
.
8.2.2 GLM approach
For the DV, we will input the difference of weight before and after treatment (i.e., PostWeight-PreWeight
) directly into the lm()
function. Since we are testing the intercept, we will again place 1
as the predictor.
##
## Call:
## lm(formula = PostWeight - PreWeight ~ 1, data = datasetAnorexia)
##
## Residuals:
## Min 1Q Median 3Q Max
## -14.964 -4.989 -1.114 6.336 18.736
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 2.7639 0.9409 2.938 0.00446 **
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 7.984 on 71 degrees of freedom
Notice that in both analyses the sample mean difference of 2.76
, the t-statistic of 2.94
with 71
degrees of freedom (df), and the p-value of .004
are identical with respective to place of rounding.
In this case, the systematic difference of the t-statistic is the difference in weight before and after a study and the unsystematic difference is standard error of the mean of the differences (in other words, random variability of the difference scores).
In this case, the probability of finding a t-statistic of 2.94
or more extreme is .004
, which is very small and not likely to occur by chance if the null hypothesis was true.
8.3 Statistical decision
Given the p-value of 0.004
is smaller than the alpha level (\(\alpha\)) of 0.05
, we will reject
the null hypothesis.
8.4 APA statement
A dependent samples t-test was performed to test if female patients with anorexia had changed their weight before and after the study. The female patients with anorexia significantly gained weight after the study (M = 85, SD = 8) compared to before the study (M = 82, SD = 5), t(71) = 2.94, p = .004.
8.5 Visualization
# calculate descriptive statistics along with the 95% CI
dataset_summary <- datasetAnorexia %>%
summarize(
mean = mean(PostWeight - PreWeight),
sd = sd(PostWeight - PreWeight),
n = n(),
sem = sd / sqrt(n),
tcrit = abs(qt(0.05 / 2, df = n - 1)),
ME = tcrit * sem,
LL95CI = mean - ME,
UL95CI = mean + ME
)
ggplot(datasetAnorexia, aes("", PostWeight - PreWeight)) +
geom_hline(yintercept = 0, alpha = .1, linetype = "dashed") +
geom_jitter(alpha = 0.25, width = 0.02) +
geom_errorbar(data = dataset_summary, aes(y = mean, ymin = LL95CI, ymax = UL95CI), width = 0.01, color = "#3182bd") +
geom_point(data = dataset_summary, aes("", mean), size = 3, color = "#3182bd") +
labs(x = 0, y = "Weight Difference (lbs)") +
theme_classic()


"Forgotten" African-American cemetery discovered under Florida high school
by David PescovitzAt least 145 coffins have been discovered underneath King High School in Tampa, Florida. Apparently a citizen researching area cemeteries advised the school district that in the first half of the 20th century, there was an African-American graveyard on the site. So far, ground-penetrating radar revealed 145 coffins just a few feet below the surface. From Bay News 9:
The pattern of the findings matches historical records for a "potter's field," or pauper's field, called Ridgewood Cemetery, the district said.
"Hillsborough County Public Schools remains committed to respecting the individuals who are buried there, and their families," officials said.
This is just the latest of several "forgotten" African-American cemeteries found in Tampa in the past year.