Difference between DISTINCT and GROUP BY
Today we had an interesting situation where the same query was executed significantly slower when it was written with GROUP BY instead of DISTINCT and I saw many people still had the assumption that these two types of queries are actually equivalent which is simply not true. Although DISTINCT queries can be implemented using GROUP BY but not every GROUP BY query can be translated to DISTINCT. Depending on the brand and the optimizer the database server may actually use group by internally for the execution of distinct but that won't make them equivalent. Let's see why…
GROUP BY as the name suggest groups the result by some set of parameters and evaluate the whole result set. In most databases group by is implemented based on sorting and the same rules applies to it as well.
DISTINCT will make sure that the same row won't be returned in the result set twice. Distinct doesn't necessary need sorting. It can be implemented with a temporary table where during execution rows can be checked if they are in already or not and act in that regard.
The temporary table method can be very expensive for group by as it usually means counting, calculating, aggregating something while distinct doesn't do any of these and can be much faster than sorting especially if not everything (filters and sorts) is covered by indexes. Smart developers programmed this assumption in the query optimizers as well.
Real situation in MySQL
The queries are actual queries from one of our system but I changed them in order to hide sensitive informations. The table has many indexes unfortunately none of them were entirely optimal for the group by but the order could be done by one of them. Here's what happened:
Execution
GROUP BY:
MySQL preferred to use the index and read it in the t1.some_id order as it assumes (99% of the times correctly) that it is faster for the GROUP BY than doing random read. In this case though it wasn't true. It had to do read_next 410429 times because the index wasn't perfect for the filtering and sorting. Query time was 200 milliseconds. Not bad but …
DISTINCT
MySQL figured it out that it doesn't have to do any kind of sorting so why bother reading in any type of order. You can see it had the same 260 read_key and then it did 254 read_next instead of the previous ~400k and 194 read_rnd_next. Of course it had to write too to the temporary table which resulted in 192 handler_write (the size of the result set). Query time was 0.00 sec.
Profiles
Turning profile on is always useful for troubleshooting query performance to see what was the bottleneck.
The significant time for group by was to talk to the storage engine (sending data) and for the distinct it was creating the temporary table (Copying to tmp table). 197 milliseconds vs 2 milliseconds. This is where the speed difference came from. So it was a tread off between memory and time.
Does this mean distinct is better than group by? NO! It only means that in this particular situation it was a better choice. If you have proper indexes group by actually runs faster because the you can avoid the temporary table writes and read only the rows you actually need for the result set.
Conclusion
 1. DISTINCT and GROUP BY are not equivalent and interchangeable even though DISTINCT can be rewritten by using GROUP BY.
 2. Both have their own purpose and should be used when appropriate.
 3. Always test your queries, the query execution. That tells you much more than explain can which is a good start but not comprehensive debug and/or profiling tool.
You might like these too
MySQL Benchmark – updates by primary vs seco... (Note: when I'm talking about MySQL I usually assume InnoDB storage engine. Any other case I explicitly tell this is MyISAM or Memory etc.) I've he...
How to decrease IOPS when running MySQL on ZFS Recordsize on data volume This is the first thing you read when it comes to running MySQL on ZFS. InnoDB is using 16k pages so in theory this makes a...
Varchar vs Char in MySQL : understanding trailing ... MySQL is not a strictly typed database. Given that and the different character types some tricky situation might arise. Especially when it comes to tr...


text:
On the meteorological characteristics of polluted air masses at Barrow, Alaska
- Cite this article as:
- Raatz, W.E. PAGEOPH (1982) 120: 662. doi:10.1007/BF00876651
- 36 Downloads
Anthropogenic derived pollution episodes at Barrow, Alaska occur when air masses under anticyclonic influence emanate from the Arctic Basin. The high frequency of above-normal wind speeds and the only slightly above-normal pressures characteristic of these Arctic air masses suggest that pollutants are transported to Barrow along the periphery of the Arctic anticyclone within a zone of rapid transport.

source: openbmb/Ultra-FineWeb


How To Get Old Pecan Trees To Produce
Getting an old pecan tree to produce.
If your pecan tree harvest is declining, and you have not changed your maintenance habits, you might be dealing with an old tree that is just slowing down.
You can rejuvenate old pecan trees and get them to produce by interrupting the alternate-bearing process. This is done through proper maintenance, such as fertilizing correctly, sticking to a watering schedule, and managing common diseases. Extensive pruning, if done correctly, can also revive an old tree.
Pecan trees will start producing at different ages, depending on whether they were grafted or not. Grafted trees tend to produce earlier, starting at around 5 years old. Native trees can take anywhere from 10-15 years to begin production.
Once the production begins, trees can produce a crop every year, although some years will be lighter than others. This cycle of heavy production followed by light production is called alternate bearing (sourceOpens in a new tab.).
Pecan trees can live for over 100 years, with some reaching over 300 years old. Some trees will produce good harvests well into their old age, but most begin declining after 50-60 years of age.
If you aren't sure how old your tree is, you can roughly gauge the age of a tree by multiplying the diameter of the trunk in inches by the growth factor (how much it grows per year in inches).
If your tree is over 50 years old, consider the following rejuvenating tips.
Rejuvenating Old Pecan Trees
Rejuvenating old pecan trees is a process that takes time, effort, and a lot of love. To revive your aging pecan tree, take a look at the following recommendations.
Alternate Bearing
It is normal for pecan trees to go through periods of alternate bearing. This is partly due to the tree's life cycle. Pecan trees:
 1. Produce their harvest in the fall, which does not give the tree much time to save nutrients (particularly carbohydrates) before winter.
 2. Require large amounts of carbohydrates to produce the fats in the pecan nut.
This combination of draining the tree of carbohydrates and giving it a little amount of time to make up for that loss will naturally cause years of lighter harvests.
This is a natural cycle, even if the tree is healthy. However, the older a tree gets, the more prominent this cycle becomes. You can interrupt alternate bearing with good fertilization techniques.
The key to fertilizing pecan trees is balance. Over-fertilized trees will have softer limbs and fruits and untimely production (sourceOpens in a new tab.), while under-fertilized trees will produce poor yields and become susceptible to pests and diseases.
Two of the most important nutrients for pecan tree production are zinc and nitrogen. Both encourage leaf growth, which directly impacts nut production. It takes about 10 leaf compounds (gatherings of multiple leaves) to support one nut.
The best technique is to do a soil and leaf analysis to determine their nutritional makeup and to supplement accordingly. If that is not possible, apply "complete" fertilizer (like 12-12-12, or 10-10-10).
If you decide to apply nitrogen and/or zinc-specific fertilizers, consult NMSU's fertilization suggestionsOpens in a new tab. for application guidance.
Apply the fertilizer in mid-March. In mature trees, apply another round in the late summer if the crop is heavy, as those nutrients will need to be replaced for the next year.
To determine the amount, measure the width of the tree trunk in inches 4 feet from the ground. For each inch of width, spread 4 pounds of fertilizer but do not use more than 25 pounds. Start a few feet away from the trunk and move towards the edge of the branches (sourceOpens in a new tab.).
Irrigation Tips
Years of neglect can compound and speed up the aging process in pecan trees. Reintroducing proper maintenance can jolt a tree back into production. Since pecan trees need a lot of water, you may need to modify your irrigation schedule.
Over the years, inadequate watering will cause stunted roots, and they will not be able to reach water from the subsoil. The tree will stay small and the nuts will be small and hard. Overall, this could cut a tree's lifespan short.
Good watering habits can be hard for homeowners, because at the peak nut production stage a tree may need up to 350 gallons a day. Some of this will come from the soil. However, if insufficient watering habits continue, it can induce alternate bearing.
Depending on the soil type, your tree will need anywhere from 2"-6" of water 1-2 times a week. Sandy soil may need more water more frequently since it drains quickly. Loamy soils will need closer to 3" of water a week, and hard soils may need less because they do not drain well.
Water should soak in up to 3 feet deep from the trunk to the drip line (the edge of the branches). Sprinklers will not provide enough water to maintain both your lawn and the tree. Use soaking treatments, like soaker or drip hosesOpens in a new tab. (link to Amazon), evenly spaced underneath the canopy of the tree reaching from the trunk to the drip line. Start deep watering in March and continue through October.
Nuts fulfill their sizing stage (physical enlargement) from May to August; inadequate watering at this point will result in smaller nuts. Watering is also essential in the first few weeks of September when nuts reach the filling stage (August through October).
Managing Diseases
Newer pecan tree varieties are resistant to certain pests and diseases, especially common ones. Old trees do not have this modified protection, so you will need to actively manage disease threats.
The most prominent disease in pecan trees is pecan scab, especially in older trees that cannot naturally resist the disease's mutations.
Fusicladium effusum, the responsible fungi, can lay dormant in foliage over the winter and grow in early spring rains. The fungi can spread when old foliage and nuts are not cleared from beneath trees before the winter and when trees are poorly ventilated. Infected trees can potentially lose an entire crop (sourceOpens in a new tab.).
To help prevent pecan scab, remove fallen leaves and debris from around the tree just before winter. Create airflow through the tree by keeping branches cut back and thinned; the airflow will dry out potential breeding grounds for the fungi.
Rejuvenation Pruning
Rejuvenation pruning for old trees includes controversial techniques. Older advice suggests cutting back major portions of the tree at one time, but this may stunt growth. Pruning is effective, but only if it's done correctly.
Proper pruning should happen in smaller chunks. Remove dead and diseased branches annually, along with overcrowded branches. Thin these out enough to let enough sunlight reach the center of the tree.
Do not "de-horn" your tree. This technique, also known as pollarding, involves cutting each branch at the same point each year to permanently stunt the tree. This weakens the tree over time and will only produce suckers and water sprouts.
Instead, plan a long-term pruning schedule that spans over at least 3 years. Remove a few major branches each year when the tree is dormant, but do not cut them all the way back to the trunk. Leave a small stub, as this will reduce the risk of wood rot.
Starting Pecan Trees
You can enjoy a lifetime of abundant pecan harvests if you plant a tree correctly the first time. Make sure you plant trees in rich, loamy soil to provide nutrition and adequate water retention.
Space trees appropriately so they have ample room to grow. Finally, make sure you plant enough trees to cross-pollinate to ensure heavy nut production.
See our guide on starting pecan trees from cuttings.
Space and Soil Conditions
Trees need space for a large root system. Plant your new tree at least 40 feet away from other trees so they do not compete for water and nutrients. Keep them a similar distance away from buildings as well.
Pecan trees can survive in different types of soil, but the soil must be able to drain. Loamy soils are ideal, but sandy soils will work if you can replace the quick drainage with frequent irrigation and apply compost each spring. Hard soils are least conducive, as they will waterlog the roots.
Pecan trees are monoecious, meaning they produce both male and female flowers. If a tree's male flowers are ready first, the tree is Type I (male). If the female flower is ready first, the tree is Type II (female).
Since the flowers are not typically ready at the same time on the same tree, a second tree is usually needed. They need to be ready at coordinating times (male flowers on one tree are ready at the same time female flowers are ready on the other).
Consult your local extension office to see which trees coordinate well in your area. Plant them within 150 feet of each other, but not less than 40 feet.
Old pecan trees' crops will eventually slow down, but you can rejuvenate them with a few simple steps. Proper maintenance and pruning techniques can bring an old tree back to life. If you plan on starting trees, starting


text:
Do plants receive nutrients immediately after application?
No, which is the point of a slow-release plant food. Instead, Osmocote nutrients are released into the soil as replacements
for the nutrients being drawn into the plant's root system.
The temperature of the soil controls the rate at which nutrients are taken up by the plant and the rate at which nutrients are released by the Osmocote granules. The warmer the soil, the faster nutrients are released. Conversely, when soil temperatures drop, so does the release of nutrients.
Discover everything you've wanted to know about our products in our Frequently Asked Questions.View frequently asked questions.


text:
Special forest personnel has been searching the city's southern and northern parts for leopards, but the big cats sighted in the areas over the last four days have remained undetected so far.
Following leopard sightings on the outskirts of Bengaluru, the police have increased surveillance and are coordinating with forest officials. Police said special instructions have been issued to night patrol personnel working in police stations that have jurisdiction over areas attached to forest patches.
Over the last week, three leopards were spotted in the southern part of the city. One each in Turahalli and Kengeri and an area near the boundary of Ramanagara, reported Deccan Herald.
"Sighting of leopards in areas around the district boundary with Ramanagara is common. We have placed a cage near Turahalli and another on the Kengeri side.
"Two special teams have been set up to monitor the animals' movements. About 25 people are on the ground for the last three days but the leopards are not to be found," an official said.
Foresters in Bengaluru's north range searched the entire ITC factory premises, including the adjoining plantation area.
"We couldn't find the animal. Assuming that there is a plantation and a lake nearby, the leopard may have found a helpful habitat," another official stated.
A range forest officer said Turahalli was once a natural habitat for leopards, which also prowled parts of Kengeri that were connected with the adjoining forest areas.
"Leopards are common in Bengaluru south. There are rare incidents of cattle kills but attacks on humans are nil. What's new is the CCTV cameras attached to the new apartments that have come up in recent years," the officer said.

source: m-a-p/FineFineWeb


text: In this paper, a quantization scheme for haptic data compression is proposed and the results of its application to a motion copying system are described. The data compression of image and audio data has been researched a lot. However, the data compression of haptic data has not been much researched yet although the amount of haptic data is large in general. The discrete cosine transform (DCT) is used for the lossy compression of haptic data in this paper. A new quantization scheme using characteristics of DCT is proposed. By using a proposed method, a larger signal-to-noise ratio compared to conventional method is achieved. In the experiment, the validity of the proposed method was verified.


Install and Configure WordPress With NGINX on Ubuntu
481 0
Install and Configure WordPress With NGINX on Ubuntu
WordPress is popular, Dynamic and blog focused content management system. WordPress is by far the most famous and most used content management system for websites. There are 74,652,825 websites are using WordPress as a Content Management System for their websites and it is increasing day by day.
Many of the bloggers and webmasters like me are moving to SSD Cloud hosting for faster and better performance of their websites. So I decided to bring this tutorial, that would help you to install WordPress on SSD cloud, Ubuntu Server. Before you proceed, I would highly recommend to read and implement the Getting started guide and then secure your server. Once you complete both these steps then you can move to this WordPress Installation guide.
Before you begin make sure you have two things configured:
1. Hostname
Check your hostname by typing the following command:
hostname
hostname –f
The first command will output your hostname, while the second command will output the fully qualified domain name (FQDN).
2. MySQL Database.
Once you ensure that these two things are configured on your server, proceed to the next step and install MySQL Server by running the following command:
sudo apt-get install mysql-server
During the installation process, you will be prompted to set a root password. It is recommended that you choose a strong password.
Now harden the MySQL Server by running the mysql_secure_installation script.
sudo mysql_secure_installation
Now, login into your MySQL as a root user using the following command:
mysql -u root -p
Now enter the root login credentials to login into MySQL.
Once you enter into MySQL, create a database for your WordPress based website using the following command:
create database database-name;
Now, grant user privileges for the newly-created database. Replace user and password with the username and password you wish to use:
grant all on database-name.* to 'user' identified by 'password';
Now exit the MySQL:
quit
Deploy PHP with FastCGI
We all know that WordPress is PHP based and in order to deploy PHP applications, we need to implement the "PHP-FastCGI". This will allow NGINX to properly handle and serve PHP based web applications and websites.
For PHP5-FPM
apt-get install php5-cli php5-cgi php5-fpm
For PHP7.0-FPM
sudo apt-get install php7.0-cli php7.0-cgi php7.0-fpm
Once you are done deploying PHP5-FPM or PHP7.0-FPM, you need to move further and install the NGINX web Server.
NGINX Server Setup
Install NGINX
sudo apt-get install nginx
Now create a new config file for your websites:
sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/example.com
Now you need to open the config file, in our case, it is example.com, and edit it.
sudo vim /etc/nginx/sites-available/example.com
Now you need to configure this file, and your file should look like this:
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/website1.com/public_html;
index index.php;
# Make site accessible from http://localhost/
server_name example.com _URL_ *.example.com;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.php;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
#
# # With php5-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php5-fpm:
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
You can keep the exact copy of the above content as well. But do not forget to update the Website Directory and Server Name (server_name).
Once you've created and configured the file you can move on.
Next, we need to link this config file to the sites enabled directory. Do this you need to run the following command:
sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/
Now, remove the default config file from the sites enabled directory
sudo rm /etc/nginx/sites-enabled/default
Finally, restart the NGINX service
sudo service nginx restart
Changes Inside HOST file
Open the host file inside the etc directory and update your domain name inside the host file. It should look like something this:
hostname
Install WordPress

Create an src directory under your website's directory and download the latest copy of the WordPress. In this guide, I have chosen
/var/www/exmaple.com/
as a home directory. So, create that directory if you do not have:
sudo mkdir /var/www/example.com/src/
Now, navigate inside the src directory.
cd /var/www/example.com/src/
Now set the owner of the new directory to be your web server's user. In this instance, our web server is NGINX:
sudo chown -R www-data:www-data /var/www/
Now you need to download the latest version of WordPress and expand it:
sudo wget _URL_
sudo -u www-data tar -xvf latest.tar.gz
Now you need to move latest.tar.gz by renaming it as wordpress, followed by the date to store a pristine backup of the source files:
sudo mv latest.tar.gz wordpress-'date "+%Y-%m-%d"'.tar.gz
Copy the WordPress files to your public_html folder, then remove the empty wordpress folder in the src directory:
sudo cp -R wordpress/* ../public_html/
sudo rm -rf wordpress/
Configure WordPress
Method 1:
Now, visit your domain in the browser and follow the configuration process by entering Database Name, User Name, and Password. Keep Database Host and Table Prefix to default localhost and wp_ respectively.
Submit the information, and you are good to go.
Method 2:
Navigate to your website directory /var/www/example.com/public_html/ and look for the wp-config-sample.php file and make a duplicate copy with the name wp-config.php inside the same directory.
sudo cp wp-config-sample.php wp-config.php
Now edit the wp-config.php file using your favorite editor and enter the database information.
sudo vim wp-config.php
Once you enter the database details, exit the edit mode by pressing ESC and then then press :wq!, hit enter to save and exit. Now when you visit your website by entering the domain name into the browser, you can see a recent default WordPress theme based website. You can change theme and pages entering into the admin panel. You might face an issue while trying to update WordPress or install new themes or plugins. You will be asked to input your FTP information. Which sometimes feels very frustrating, especially if you are new to WordPress. To bypass this, you need to configure your wp-config.php file by adding the FS_METHOD:
/var/www/example.com/public_html/wp-config.php
/** Bypass FTP */
define('FS_METHOD', 'direct');
Once you are done, give WordPress permission to add and edit files in the public_html folder:
sudo chown -R www-data:www-data /var/www/example.com/public_html
Congratulations! Now, you have a successfully installed WordPress based website running.
Now you will be able to login into your new WordPress based website. Next, you can configure your website using web-based interface.
If you face any difficulty throughout this process, put it in the comment section below. I will give my best to resolve it.
Hope you will find this article useful. Please put your feedback in the comment section below and do not forget to


text:
A bandage dress is usually a tight-fitting, medium-sizing "hooded" garment that seems to be fashioned out of multiple thin strips of fabric sewn together, each strip shaped like small bandages. Historically, the bandage dress has been made by Azzedine AlaÃ¯a, an Egyptian designer who lived during the earliest years of the Common Era. The name "bandage" derives from Arabic origins and means "a sheet or cloth wound around the body." The word "bandage" itself comes from a mixture of two words: bahara, meaning "lining, and gharara, meaning "surgery". The term "bandage" is also related to the word "dressing" and "tissue" and thus refers to the act of wrapping or dressing. A bandage dress is typically made of fine cotton or silk material and has a very defined cut designed to fit a particular body shape, with typically high, straight lines and no shoulder seams.
A lot of the time, these dresses are made to look like gowns that have been elongated or a skirt that has been criss-crossed to give a flowing effect. In the past decade, however, this cut has become a very popular style, and many designers have taken this a step further by creating a feminine profile figure that incorporates a bandage dress as if it were a prom dress from the late nineteen-hundreds. The most recent variation of this silhouette is known as the bandage dress, which incorporates some amount of hem into the neckline, but it generally doesn't resemble a skirt at all and always has perfectly-shaped shoulders and a classic V-neck. The bandage dress has grown in popularity among celebrities over the last couple of years, and it's becoming increasingly difficult for stores to find enough styles to accommodate every woman who might want one.
Some women are concerned that wearing a bodycon dress, which typically has a slender waist and large bust area, may accentuate their hips or thighs instead of concealing them. This can be a valid concern if you have relatively large hips, but there's really nothing that prevents you from wearing a bodycon dress to cover up those areas anyway. One of the most effective ways to disguise large hips without drawing too much attention to the rest of your figure is to wear low-cut camisole tops. Bodycon dresses usually provide a good amount of coverage, especially if you're wearing one with a bit of a flared skirt or short sleeve shirt underneath it.
If you're concerned about how fabric feels against your skin, you'll find that polyester blends work the best against your skin. As an added bonus, polyester blends are usually quite lightweight and comfortable for your body. There are also other types of bandage dress fabric available such as gauze, cotton, and spandex. Gauze works very well as an undergarment, because it is easy to wear and doesn't irritate the skin at all. Cotton is very comfortable, but if you do get a lot of exposure to the sun, you might want to consider investing in some more advanced UV protection, especially if you usually wear a long-sleeved shirt underneath your bandages. Spandex has a little bit of elasticity, so it can be worn as a top.
The quality of the bandage dress you choose is certainly one of the most important factors when it comes to choosing one. Fortunately, because bandage dresses are meant to cover up rather than accentuate the natural curves of your body, they aren't designed to pinch, bind, or crumple as they're sometimes made to seem. Therefore, there is no need to worry that the fabric will make your skin sore, either. The majority of these types of dresses are made with a high-quality cotton blend that is soft and comfortable on the skin. This results in little discomfort and allows you to go about your daily activities without having to take special care of your body.
As you can see, choosing the perfect bodycon dress should not be overly difficult. When you know what your body is made out of (i.e., whether it's cotton spandex, or another material), you can choose the appropriate style, color, and even pattern for your body. Kim Kardashian is beautiful because she knows her body, and there's no reason why you shouldn't look the same way. There are many online retailers that offer flattering styles, so finding the right one for you shouldn't be a problem. Whether you're wearing a basic black bodycon dress, or a glamorous hipster dress, chances are you'll look and feel sexy!


November 16, 2020
Transportation Week Night Quiz (11-16-2020)
by Chompers
Background show artwork for Chompers
Do YOU know which train goes the fastest? Find out the answer to our quiz tonight on Chompers!
>> Rachel: Welcome back to Chompers, your morning and night toothbrushing show. Ready to find out the answer to today's quiz?
>> KIDS: Yeah!
>> Rachel: Well then we better start brushing! Get your toothbrush ready and start on the top of your mouth on one side, and don't brush too hard!
>> KIDS: 3, 2, 1 brush!
>> Rachel: In this morning's quiz, we wanted to know:
Which of these trains is as fast as some airplanes?
When you hear the answer you picked, raise your hand way up high!
A steam engine train (SFX TOOT TOOT)
A subway train (SFX SUBWAY )
A Maglev train (SFX HOVERING)
The answer is (SFX DRUMROLL) … a Maglev train can go almost 400 miles an hour, which is faster than some airplanes! (SFX KIDS WOW)
Switch your brushing to the other side of the top of your mouth and make sure to brush the inside, outside and the chewing side of each tooth.
This morning we learned Maglev trains are powered by MAGNETS
So MAGLEV trains use the power of magnets to "levitate." Which means to is to float in the air.
Magnets can either snap together, or push apart!
But how do magnets really work?
What makes magnets stick together or push apart is a part of the magnet called the POLE.
Switch your brushing to the bottom of your mouth, and keep brushing in small circles all around your teeth.
All magnets have TWO poles. A North Pole (SFX D NOTE), and a South Pole (SFX C NOTE).
If you take two magnets and try to put their NORTH poles together, those magnets will PUSH away from each other (SFX WRONG BUZZER). They won't stick together no matter what you try!
The same thing happens if you try to put the south pole side of two magnets together. They'll push away! (WRONG BUZZER)
Switch your brushing to the other side of the bottom of your mouth and make sure to brush all the way back to those molars!
So how DO magnets stick?
Well, if you put one magnet's north pole (SFX D NOTE) against another magnet's south pole (SFX C NOTE)
Bingo! (SFX DING-DONG) Those magnets will pull together. (SFX DING-DONG)
Alright you're all done brushing for today. Come back tomorrow for more Chompers and to learn about airplanes on Transportation Week. Get some good sleep, and don't forget to
>> KIDS: 3, 2, 1 spit!


Should You Allow Dogs In The Office? (Pros & Cons Of Bringing Dogs To Work)
Daniel Spielberger
As the old saying goes, "A dog is a man's best friend." In workplaces across the United States, employees are spending their days along their colleagues' fury, four-legged creatures.
Though a dog-friendly workplace is still relatively rare, it's gaining momentum and it's clearly no longer an outlandish idea. From the years 2013 to 2018, there was a 3% increase of offices which allowed owners to their dogs to work going from 5% to 8%.
Before you tell your coworkers that it's okay to bring their dogs to work, we highly recommend reviewing both the pros and cons of having dogs in the office.
Benefits of Having Dogs In The Office
There are numerous reasons why letting your colleagues to bring dogs to the workplace is a fantastic idea. Here are a few pros:
1. Great For Employee Morale
Studies have shown that dogs can help alleviate stress, anxiety, depression, and isolation. Even if a colleague loves their job, everyone is bound to have a tough day. And when they get stressed or anxious, the office dog could potentially help.
2. Fantastic for One-On-One Meetings
Are you tired of always grabbing coffee or lunch for a one-on-one meeting? Having an office dog will spice things up. Dogs need to be walked at least once or twice a day. You and your colleague can walk the dog around the block and get some exercise while discussing important matters.
3. Encourage Workplace Bonding
If multiple employees bring their pets to work, this could foster some friendships because it serves as an icebreaker. They could go on outings together to dog parks and dress their pets in matching outfits during special holidays. Though it may take some time for the dogs to get used to one another, there's nothing cuter than dogs becoming best friends.
4. Employees Can Get Some Exercise
Going for a walk has been shown to improve one's mood and overall physical health. When the dog-owner is occupied, they can assign the task of walking their pet to one of their colleagues. Feeling anxious before that big meeting? Go walk the dog!
5. Helps Employees That Can't Afford Sitters
For employees that can't bring their dogs to work, there are a ton of options ranging from daycares to dog-walking apps. However, not everyone can afford them. A CostHelper analysis concluded that dog daycares costs anywhere from $240 to $550 per month.
Drawbacks Of Having Dogs In The Office
Even though some employees might be happy to have their dogs come to work with them, there are some drawbacks you should consider:
1. Poop Happens
A healthy dog will urinate at least once every 8 to 12 hours and poop once a day. But this could be more depending on the canine's diet. If you allow dogs at work, you will have to accept that there could be a time in which a pet will go to the bathroom in a common space and cause an inconvenience.
2. It Can Get Pretty Distracting
Especially compared to other pets, dogs can require a lot of attention. Anyone with a dog could tell you that when they don't get enough of it, they can act out and cause a ruckus. Your colleague won't have the time to constantly be attending to their dog's needs —they will have meetings, projects, and general tasks. That means that some of your colleagues may have to pick up the slack. Is your entire workplace willing to do this?
3. Potential Property Damage
Bringing a dog to a brand new environment comes with its own set of risks. According to the American Kennel Club, anxious dogs can engage in "destructive behavior." And within the context of your workplace, that could very well mean property damage that's costly and inconvenient.
4. Allergies
A study conducted for the Allergy, Asthma, and Immunology Research journal, found that 12% of Americans have some form of an allergy to dogs. While this is a minority of people, having a dog at work can be a significant inconvenience for them that will take away from their productivity and workplace happiness. Even if none of your current colleagues are allergic, having a dog-friendly workplace could potentially scare off people considering working for your company.
Tips For Having Dogs In the Workplace
If your workplace decides to allow dogs, you should have rules in place to ensure that they don't take away from workplace happiness. Here are a few tips:
1. It's Ultimately The Owner's Responsibility
Whether it's cleaning up poop or making sure that their dog isn't frantically hungry, a pet's owner should be the one who is responsible. Before a colleague decides to bring their dog to work, communicate that to them.
2. Cut Down on Playtime If It's Distracting
There will be days when everyone is in the mood to watch a dog play, jump, and perform tricks. But there will surely be moments when people just want to work in silence. When a dog's playtime becomes distracting, talk to the dog-owner and ask if they can play with their dog outside.
3. Socializing Dogs Might Take A While
There's a good chance that if you allow for one dog, another employee might get the same idea. However, there are some risks to having multiple dogs at the office. Some canines are overly aggressive to other dogs and within the context of your office, this could lead to conflicts and distractions. If you allow for more than one dog, make sure that both of your colleagues read up on how to socialize their pets.
Do What's Right For Your Office
Allowing dogs at work isn't something that should be taken lightly. Just because it's trendy doesn't mean it's necessarily right for your office. What could be a perk for some companies could actually bring a stress for others. Ultimately, it will be a decision that you will have to decide together as a community.
One approach that many companies have taken is to designate specific days where dogs are allowed to be brought to the office. This way, any employees that prefer not to be around dogs can plan to work remotely on those days.
Are you interested in making your workplace more efficient? Check out what Eden's Workplace Management Platform can do for your office.
Learn more from an Eden Workplace team member today.
Try Eden Workplace


green_grrl (green_grrl) wrote in fandom_grammar,
Answer: Abbreviated titles
When is it appropriate to abbreviate titles (Mr., Dr.) and when should they be written out in full?
First, please note that a title directly precedes the person's name. Other uses are merely descriptive nouns and should always be written out.
Incorrect: Somebody ran for a Dr.
Correct: Somebody ran for a doctor.
Correct: Somebody ran for Dr. Fraiser.
Incorrect: She had the kind of glare that said butt out, Mr.
Correct: She had the kind of glare that said butt out, mister.
Correct: She had the kind of glare that said butt out, Mr. Bregman.
Let's look at the rules for titles, with some more examples from Stargate SG-1. There are different rules for when to abbreviate the various categories of what we call titles:
 - Social titles: Mr., Mrs., Ms., Dr.
 - Civil and military titles: President, Senator, General, Colonel, etc.
 - Honorifics, or titles with "the": the Honorable, the Reverend
The Chicago Manual of Style is a standard American style guide for formal writing, such as papers and books. According to Chicago, when a civil or military title comes before a full name, it is usually abbreviated. An honorific may be as well.
Jack quickly scanned Kinsey's invitation list:
Rev. Samuel Stevens
Sen. Harry Clarkson
Sen. Alan Graysmith
Rep. Martha Hanley
Hon. David Thornton
When only a last name is given, a civil or military title should be spelled out. When used with "the," "Honorable" and "Reverend" should always be spelled out.
All Jack knew of the Right Reverend Samuel Stevens was that he was popular in conservative circles. His inclusion in a list of Senator Kinsey's band of corrupt insiders was going to need looking into.
Chicago also says that the following social titles are always abbreviated: Mr., Mrs., Messrs., Ms., M., MM. Mme, Mlle, Dr.
Another source of rules on titles comes from formal invitation etiquette, which says that when addressing invitations, all titles other than Mr., Mrs., or Ms. should be spelled out.
General Hammond passed out oversized envelopes of thick white linen paper to each addressee. Colonel Jack O'Neill, Doctor Daniel Jackson, Captain Samantha Carter, Mr. Teal'c. When Doctor Jackson turned over his envelope and saw Catherine Langford and Ernest Littlefield's names on the reverse, General Hammond couldn't help but smile along with him.
What about the second "Doctor Jackson" in the example above? Chicago says that "Dr." is always abbreviated, and this second use was in the narrative, not the invitation address. So why did I spell it out here? In short, fiction writing, narrative and dialogue, does not always adhere to the rules for non-fiction. The main aim of the writer is to pull the reader into the story. Ideals to strive for include:
 - Avoid making the reader trip over your writing. The more your writing meets the reader's expectations, the more easily the reader will get into your story and flow along with it.
 - Write dialogue that allows the reader "hear" your characters speak. By spelling out as much as possible, you signal to the reader exactly what the character is saying.
 - Write narrative appropriate to your point of view (POV). The tighter your narrative is to a particular character's POV, the closer your narrative style should be to dialogue.
In dialogue, if you spell out everything, you give your reader the characters' exact words.
Lieutenant Grogan led the British representative to the IOA into the conference room and introduced him to the base commander: "General George Hammond, sir."
Grogan is pronouncing "jen-er-al" George Hammond, not "jen" George Hammond, and the reader won't have to think twice about it with the title spelled out. This can also give you room to provide more "flavor" for your characters' speech.
"Leftenant Carl Grogan," Chapman mused to the general. "Good man. So far I'm impressed by your people."
An American reader might not remember to mentally read "Lt." with Chapman's British pronunciation. Spelling the title out phonetically (it's properly spelled lieutenant in American and British English despite pronunciation) reminds the reader of his accent.
However, keep in mind reader expectations.
General Hammond gestured to the chairs at the conference table. "I hope you had a good trip, Mister Chapman."
General Hammond gestured to the chairs at the conference table. "I hope you had a good trip, Mr. Chapman."
Because of convention, and the Chicago and invitation rules above, it is very rare to see "Mister" spelled out in written English. It's even more rare to see "Missus"—and "Ms." doesn't actually expand at all. Seeing "Mister Chapman" written out is likely to interrupt the reader's flow by being unusual, while "Mr. Chapman" is likely to be read and mentally translated to the sound "mis-ter" automatically. The reader expects the abbreviation.
When writing your story from a particular character's point of view, your narrative is meant to reflect that character's thoughts, which are somewhat like mental speech.
Jack was starting to realize how important Prof. David Jordan had been in Daniel's life.
Jack was starting to realize how important Professor David Jordan had been in Daniel's life.
Jack is not going to think of the man as "Prof." He would hear the man's full title in his mind, so the spelled out version in the narrative lets the reader more accurately "hear" Jack's thoughts.
If the POV of your story is more objective, or if you are quoting a section of written text—such as the invitation list, above, or a newspaper article—then you may want to revert to Chicago rules.
The title "Doctor" falls between Chicago and invitation rules. The abbreviation "Dr." is common enough—more common than "Capt." or "Prof."—that a reader will probably have no problem mentally translating it quickly. However the reader also is used to seeing the word "doctor" spelled out; it's not an unusual word that would trip up a reader. My personal preference is to spell it out in dialogue to maintain the sound of the character's speech. Whether I spell it out in the narrative depends upon the POV.
Spelling out all titles other than Mr., Mrs., or Ms. in dialogue and narrative is only a recommendation, but it has a logic that works for fiction writers. The only real rule is that once you've decided how you want to deal with titles, keep your style consistent throughout your story.
 - Post a new comment
 Anonymous comments are disabled in this journal
 default userpic
 Your reply will be screened
 Your IP address will be recorded


Which is mathematically synonymous with:
(silence)(frog splash!) = old pond
old pond/frog splash! = silence
What we have done is to integrate the break of silence with the frog splash to define the old pond. Or the (the break of) silence is defined as the old pond divided by frog splash Furthermore we could also read it as the old pond divided by frog splash! Defines (the break of) silence.
I realize that I have added my own interpretation to El Konde's intention of 'silence' in his poem by redefining'silence' as 'the break of silence' but I think it is arguable that Basho was talking about the break in silence as opposed to silence itself. I believe my addition makes El Konde's version much more clear.
Now let's look at Bobs change to El Konde's Poem and its mathematical synonyms:
silence / frog splash! = old pond
silence / old pond = frog splash!
(frog splash!) (old pond) = silence
So what Bob expresses by his change is that the break of silence is defined by the integration of frog splash! and old pond or that the old pond is defined by the break of silence per frog splash and last but not least … frog splash is defined by the break of silence per old pond
Now that we have broke it down, you the reader can make your own decision on what version makes the most sense to you.
Note: (Bob's intention may have been to think of'silence' standing as itself, not as 'break in silence', but I doubt it especially since he has ignored it altogether in his new poem)
In conclusion lets look at Bob's Mathemaku for Basho:
(pond)(frog) = (((((((haiku)))))))
So it shows that Bob is consistent with multiplying pond and frog but he has 'defined haiku' as opposed to defining 'the break in silence'.
By putting parenthesis around the word haiku he has incorporated a vispo technique in his mathematical poem to imply splashing water waves.
So much for evolution,
R Mutt
Visit the National Gallery of Writing


text:
The forests of the mountain ranges of northern Greece are home to Europe's largest population of the protected brown bear. But the bears who have been given sanctuary by Arcturos are far from wild. Most are the infamous "dancing bears" abandoned or confiscated from gypsies when the practice was banned in 1969.
They "danced" because they had their front feet burnt on hot coals as youngsters while their masters played the tambourine. Traumatized by the experience, they would instinctively dance whenever the familiar tune was heard.
Even if saved from this fate, however, they could never survive back in the wild. Many had their teeth broken to stop them biting their owners and were psychologically scarred by their experience in captivity.
Having heard about their dilemma by chance from an English contact involved in the LiBEARrty campaign to preserve the brown bear in the Balkans, leading winemaker Yianni Boutari decided to help set up a sanctuary near his ancestral village of Nympheon.
"There was a law which outlawed dancing bears but no system for taking the bears off the gypsies and nowhere for them to go," he recalls. Boutari had been looking for a project to breath life back into the virtually abandoned stone village (he has since been instrumental in its revival as a charming historic town).
In 1992, Arcturos was formed as a non-profit organization and the following year began programs to protect the brown bear, eventually attracting EU and private sector support, as well as funds from WWF. Today, Arcturos has a team of 16 staff, 40 associates and another 40 volunteers whose work entails protecting and managing the area's natural environment and wildlife. They are also leading Balkan initiatives to monitor and protect the region's bear population.
Thirteen bears have found a home in the five-acre sanctuary, including an American black bear from a circus and three refugees from the Belgrade zoo brought in after the Yugoslavia wars.
In the nearby town of Aetos, there is a veterinary station and an innovative visitor center with excellent interactive displays and programs. Arcturos' "sponsor a bear" program and educational programs have helped raise awareness of the problem and of environmental issues throughout Greece. Along with the sanctuary, the center attracts about 30-35,000 visitors per year.
Arcturos also works with farming organizations to offer local farmers and bee-keepers support and compensation for damage to their livelihoods by wild bears. Whereas in the past many of these bears were shot, now farmers contact the center, which helps provide electrified fencing, shepherd dogs or other means of protection.
In 1998, Arcturos began a similar program aimed at protecting the region's wolves and has established a separate wolf sanctuary nearby. VK

source: HuggingFaceFW/fineweb-edu


text:
Negotiating between health-based contraceptive concerns and piety : the experiences of Muslim wives in the greater Durban area.
This qualitative, empirical study was located within a feminist research paradigm employing a phenomenological research design. The purpose was to understand the „lived experiences‟ of South African Muslim women in the Greater Durban area negotiating between their health-based contraceptive concerns and their pietistic concerns to observe God‟s will through the course of being good wives. The application of both phenomenological and feminist critical theoretical frameworks was beneficial to understand the forms of analyses applied to these negotiations that occurred within the gendered space of marriage. The conscious and goal-directed decisions to use contraception and to cultivate piety prompted the use of the theory of planned behaviour as the conceptual framework. Data was produced through in-depth, face-to-face interviews guided by open ended questions. This was followed by a reading task and guided written narrative to explore the impact of the discursive construct of gender and agency in popular Islamic literature. Data was analysed within a thematic framework. The findings of this study indicate that these South African Muslim wives do not perceive themselves to be negotiating between health-based contraceptive concerns and piety. Contraception is viewed in terms of the practical considerations of health and is unrelated to their pietistic concerns to observe God‟s will. Instead, these South African Muslim women face moral conflicts by prioritising domestic responsibility and sexual availability to their spouses irrespective of personal desire. These considerations more than contraceptive concerns are determined by the need to acquire God‟s favour through the observance of divine commands. Motivated by their desire to please God, though not oblivious to the deliberate choice to comply with normative prescriptions of women‟s roles which perpetuate androcentric norms and patriarchal structures, the women negotiate and renegotiate their living conditions as an assertion of their agentic positions in the process of pietistic self-making. This continuous process is fuelled by their ultimate desire for peace in their homes, the overall objective of marriage, and their pietistic aspirations of acquiring Heaven.


text:
Using two or more word lists in a single puzzle
You can use any number of word lists in a single puzzle. If any of the
word lists contains the same word as another word list in the same puzzle,
EclipseCrossword will use the clue from the first word list you opened, and
ignore the second clue.
- First, start the EclipseCrossword software. (How
do I do that?) From the EclipseCrossword main page
(in the EclipseCrossword software, not the EclipseCrossword.com website),
click I would like to start a new crossword and then Next.
- Click Let me create a word list from scratch now and then click
- Now you're at the page where you can add words to your word list.
From here, click the Tools button, and then Open word list.
- Choose the first word list you'd like to use and click Open.
- Click Tools again, and then Open word list again.
- Choose the second word list you'd like to use and click Open.
- EclipseCrossword will merge the second word list into the one you're
using. You can repeat steps 5 and 6 as many times as you'd like to add
more word lists to your puzzle. When you click Next, you can
save your big, combined word list as a new word list file if you'd like.
|The Tools button and Open word list
Keywords: Can I merge several word lists (EWL files) into one?


text:
How can I include abandoned cart items in a message?
You can start turning abandoned carts into completed orders by using an Abandoned cart block in a marketing automation message. The block is available in Pro, Max, and Enterprise accounts.
When you add the Abandoned cart block to an automation message, we create a placeholder with space for the product image, name, and price per unit. When someone doesn't complete their purchase, we fill the placeholder with the abandoned cart information. Images in the message link to product pages by default.
You can decide where in the message you want to display the items by dragging and stopping the block anywhere in the message template. You can also customize its text and design to suit your brand and add your own calls to action.
Keep on reading to learn how to add the Abandoned cart to a message and build a workflow that sends it.
Here's what you need to do before you start using the Abandoned cart block:
Configuring the Abandoned cart block is a two-part process. First, you create an automation message draft (if you don't have, or don't want to edit, an existing automation message). Then, you convert it to an automation message and use it in a workflow together with the Abandoned cart condition.
Adding the block to an automation message
1. In your GetResponse account, go to Automation and do one of the following:
- start creating a new automation message draft,
- start editing an existing automation message. Note: If this message is used in a workflow that doesn't start with the Abandoned cart condition, the message won't send.
2. In the message editor, navigate to the toolbar. Click the Ecommerce tab to expand it.
3. Drag and drop the Abandoned cart block to where you want it to appear in the message.
The placeholder shows two items, but the number of products displayed will automatically adjust to reflect the actual cart information when the message is sent.
4. Edit the text and buttons to suit your brand and encourage your customers to complete their purchase. The product picture, price, and name will be automatically filled when we send the message.
5. Click the Next step button to save the changes and return to the Automation messages page.
Now that you've created a message draft (or edited an existing message), you can use in a workflow.
Using the abandoned cart message in a workflow
Here you turn the message draft into an automation message and finish the setup of how to track abandoned carts. The workflow needs to have at least two elements — the Abandoned cart condition and the Send message action.
1. Build a workflow that starts with the Abandoned cart condition. You can build it from scratch or use any of the Abandoned cart automation templates.
2. Configure the Abandoned cart condition:
a. Select API for the integration method.
b. Select the store for which to track abandoned carts.
c. Set when to assume the cart was abandoned. After that time, the customer will be sent a reminder message showing the items in the abandoned cart.
d. Set the element to Run multiple times to trigger the workflow many times for the same contact. (Every time they abandon a cart, they receive a follow-up message.)
3. Configure the Send message action. How you configure the element depends on the type of message you want to use:
- If you've created a new automation message draft, you'll first need to convert it to an automation message. For message type, select Draft. Next, from the drop-down list, select the message containing the Abandoned cart block.
Then, confirm that you want to use it as an automation message. This will copy its layout and convert the draft into an automation message. You'll be able to use it in any other workflow you build in the future.
- If you're using an existing automation message to which you added the Abandoned cart block, select Automation for message type and then pick the message.
Set the element to Run multiple times to allow sending the message to the same customer every time they abandon a cart.
4. When you're done setting up the workflow, click Save and publish. Click Save and exit if you want to save it as a draft.
You're set. When a customer doesn't finish their purchase, they'll receive a message that shows them the items waiting for them in the cart.


Take the 2-minute tour ×
I have a bat script which runs a java application. If I press ctrl+c on it, it the application terminates gracefully, invoking all the shutdown hooks. However, if I just close the cmd window of the bat script, the shutdown hooks are never invoked.
Is there a way to solve this? Perhaps there's a way to tell the bat script how to terminate the invoked applications when its window is closed?
share|improve this question
add comment
3 Answers
up vote 10 down vote accepted
From addShutdownHook documentation:
In rare circumstances the virtual machine may abort, that is, stop running without shutting down cleanly. This occurs when the virtual machine is terminated externally, for example with the SIGKILL signal on Unix or the TerminateProcess call on Microsoft Windows.
So i think nothing to do here, unfortunately.
CTRL-CLOSE signal in Windows Console. Seems non-tweakable.
Quoting above link:
The system generates a CTRL+CLOSE signal when the user closes a console. All processes attached to the console receive the signal, giving each process an opportunity to clean up before termination. When a process receives this signal, the handler function can take one of the following actions after performing any cleanup operations:
 - Call ExitProcess to terminate the process.
 - Return FALSE. If none of the registered handler functions returns TRUE, the default handler terminates the process.
 - Return TRUE. In this case, no other handler functions are called, and a pop-up dialog box asks the user whether to terminate the process. If the user chooses not to terminate the process, the system does not close the console until the process finally terminates.
UPD. If native tweaks are acceptable for you, WinAPI SetConsoleCtrlHandler function opens way for suppressing of default behavior.
UPD2. Revelations on Java signal handling and termination relatively old article, but section Writing Java signal handlers really may contain what you need.
UPD3. I've tried Java signal handlers from article above. It works with SIGINT nicely, but it not what we need, and i decided to carry it with SetConsoleCtrlHandler. The result is a bit complicated and may be not worth to implement in your project. Anyway, it could help someone else.
So, the idea was:
 1. Keep reference to shutdown handler thread.
 2. Set custom native console handler routine with JNI.
 3. Call custom Java method on CTRL+CLOSE signal.
 4. Call shutdown handler from that method.
Java code:
public class TestConsoleHandler {
 private static Thread hook;
 public static void main(String[] args) {
 hook = new ShutdownHook();
 replaceConsoleHandler(); // actually not "replace" but "add"
 try {
 Thread.sleep(10000); // You have 10 seconds to close console
 } catch (InterruptedException e) {}
 public static void shutdown() {
 private static native void replaceConsoleHandler();
 static {
class ShutdownHook extends Thread {
 public void run() {
 try {
 // do some visible work
 new File("d:/shutdown.mark").createNewFile();
 } catch (IOException e) {
Native replaceConsoleHandler:
JNIEXPORT void JNICALL Java_TestConsoleHandler_replaceConsoleHandler(JNIEnv *env, jclass clazz) {
 SetConsoleCtrlHandler(&HandlerRoutine, TRUE);
And handler itself:
BOOL WINAPI HandlerRoutine(__in DWORD dwCtrlType) {
 if (dwCtrlType == CTRL_CLOSE_EVENT) {
 JNIEnv *env;
 jint res = jvm->AttachCurrentThread((void **)(&env), &env);
 jclass cls = env->FindClass("TestConsoleHandler");
 jmethodID mid = env->GetStaticMethodID(cls, "shutdown", "()V");
 env->CallStaticVoidMethod(cls, mid);
 return TRUE;
 return FALSE;
And it works. In JNI code all error checks are omitted for clearance. Shutdown handler creates empty file "d:\shutdown.mark" to indicate correct shutdown.
Complete sources with compiled test binaries here.
share|improve this answer
Yes, I've already read this. I was just wondering whether there's some kind of a shutdown hook in batch files. – Zoltán Feb 14 '12 at 13:35
I've updated answer. Maybe someone will suggest some magic for console. – Mersenne Feb 14 '12 at 13:40
Updated again with link to Chris White's article. – Mersenne Feb 14 '12 at 14:07
This doesn't seem to be true, because when I press ctrl+c to stop my batch script, the shutdown hooks are invoked, but when I just close the window, they're not. – Zoltán Feb 14 '12 at 14:12
Ctrl-C generates different signal. Right now i can't check solution described in article, but i'm concerned now and will look deeper soon. – Mersenne Feb 14 '12 at 14:20
show 6 more comments
Though the batch file may be terminated, the console (window) the batch file has been running in may be left open, depending on the operating system, the command processor, and how batch file execution was started (from a command prompt or through a shortcut).
taskkill is a good command for ending a program which is distributed with Windows (I'm assuming you want to stop a DIFFERENT program, not the batch file itself).
It is possible to end programs by process id, executable name, window title, status (i.e. not responding), DLL name, or service name.
Here are some examples based on how you might use this in your batch file:
Force "program.exe" to stop (often the /f "force" flag is needed to force the program to stop, just check whether it is needed for your application by trial and error):
taskkill /f /im program.exe
Stop any non-responsive programs:
taskkill /fi "Status eq NOT RESPONDING"
Stop a program based on its window title (* wildcard is allowed here to match anything):
taskkill /fi "WindowTitle eq Please Login"
taskkill /fi "WindowTitle eq Microsoft*"
You can even use it to stop a program on another computer on your network (although writing the password of an account in a batch file is just not a good idea).
taskkill /s JimsPC /u Jim /p James_007 /im firefox.exe
Another alternative also distributed with Windows is tskill. Although it doesn't have nearly as many options, the commands are a bit simpler.
I am not sure there is. I would think that closing the cmd window is akin to force-closing the app i.e. immediate termination with no further notice. This has the behavior of many applications that, when they are asked to force-close, they actually take a long time to finally terminate. This is because in the OS's efforts to release all resources, some resources (especially certain I/O and/or file resources) don't let go immediately.
IMO, there's nothing Java could even do about it if it wanted to. A force-close happens at the OS level, at which point it releases the memory, file and I/O handles in use, etc. Java does not (nor does any other program) have control over a force-close. At this point, the OS is taking charge.
Someone please correct me if I'm wrong.
share|improve this answer
I don't want to stop a program, this is not the issue. The issue is that when I close the cmd window (by pressing on the x in the top-right corner), the batch file terminates my java application in a manner that it doesn't invoke its shutdown hooks. – Zoltán Feb 14 '12 at 13:59
_USER_ See my edited comment above. I'm open to corrections. – Frankline Feb 14 '12 at 14:14
add comment
Further to the above answer of using SetConsoleCtrlHandler, you can also do this using JNA rather than writing your own native code.
You could create your own interface on kernel32 if you wanted, or use the one provided in this excellent framework: _URL_
Some example code:
import com.github.axet.desktop.os.win.GetLastErrorException;
import com.github.axet.desktop.os.win.handle.HANDLER_ROUTINE;
import com.github.axet.desktop.os.win.libs.Kernel32Ex;
private static HANDLER_ROUTINE handler =
 public long callback(long dwCtrlType) {
 if ((int)dwCtrlType == CTRL_CLOSE_EVENT) {
 // *** do your shutdown code here ***
 return 1;
 return 0;
public static void assignShutdownHook() {
 if (!Kernel32Ex.INSTANCE.SetConsoleCtrlHandler(handler, true))
 throw new GetLastErrorException();
Note that I assigned the anonymous class to a field. I originally defined it in the call to SetConsoleCtrlHandler, but I think it was getting collected by the JVM.
share|improve this answer
add comment
Your Answer


text:
Welcome to the Bamberton Historical Society
Video #1 Introduction
Video #2 Ideas for making figures
Video #3 Construct a figure
Bamberton Museum & Bus Tours
Step back in time to the early 1900s and relive life at Bamberton, one of the most important industrial sites in BC's history.
Bambertonís Mystery History
This site traces the history of the cement industry at Bamberton, located on Vancouver Island, British Columbia. An industry that changed and shaped the skyline of BC's cities, the shoreline of its harbours, and even the flow of its rivers with the millions of tons of cement that poured forth from the Bamberton plant. It illustrates the strong role the company played in the lives of the thousands of workers and their families who lived in the village over the years. People whose lives were shaped by the fortunes of the cement industry from 1904 to 1982.
Using photos, maps, actual memories and informative text we hope to acquaint the viewer with the compelling story of Bamberton, a community that went from "Dust to Bust".
DUST TO BUST AND BACK
The history of Bamberton - first time in print! Order your copy using this form.


text:
well,in this topic, i do have a powerful spell,but it's all about concentration.take any object that is of your liking which could be carried anywhere.
1. With your first and middle fingers trace a pentogram over the object.
2. Visualize electric blue or purple flames coming from your fingers.
3. Chant as you trace the pentogram "with this pentogram i do lay protection heare both night and day and to the one who should not touch let their fingers burn and twitch i know envoke thee: so mote it be"
if this is done properly it's quite effective.you can use it in case you get in real trouble.^_^


text:
Beautiful Garden State Initiative
Recognition to Local Authorities (PBT) who have implemented comprehensive landscape planning, development and management towards achieving the National Vision of Taman Terindah by 2020.
- Provide comprehensive landscape infrastructure planning and development.
- Manage landscape infrastructure well, systematically, economically and innovatively.
- A city that attracts local and foreign tourists.
- PBT has a complete Department / Division / Landscape Unit.
- Local authorities develop recognized landscape innovations.
- Involve the public in landscape planning, development and management.
- Obtain sponsorship in the development and management of landscape areas.


text:
Monero (XMR) Serves as a Stronger Testing Ground for Bitcoin Than Litecoin, Concludes DAR
Monero, the privacy based Cryptocurrency is often looked at as an experimental Testnet like Litecoin. Digital Asset Research concludes the other way around that Monero is a stronger testing ground for the experimental Bitcoin network than Litecoin.
Why do they conclude that? One Word: Bulletproof
The Monero Network went through a scheduled hard fork recently on October 18th to activate Bulletproofs.
What is Bulletproof?
Monero employs three major technologies to achieve Privacy: Ring Signatures, Confidential transactions, and Stealth Addresses. The Bulletproof upgrade is intended to address a major drawback of RingCT(a term used to represent Ring Signatures and Confidential Transactions) which is the size of the range proofs.
BulletProof was first proposed in a white paper authored by Standford University, University of London and Blockstream in 2017. With the implementation of BulletProofs the size of the Range proofs over 13kb to as less as 2.5kb which will help massively in scaling the network.
The technology can be compared to that of Zero-Knowledge Proofs in Zcash with a few tradeoffs. But ultimately the upgrade will improve privacy and potentially will help massively in scalability.
Monero Better Testnet than Litecoin?
Where it gets interesting is that in the BulletProof Whitepaper, they mention that if NIZKP's (Non-Interactive Zero-Knowledge Proofs – the technology used in BulletProof to aggregate range proofs of a confidential transaction) is implemented on the Bitcoin Blockchain then "total size of Bitcoin's UTXO set would be only 17 GB (compared to 160 GB) if Confidential Transactions were to be implemented."
In a report, Digital Asset Research concludes:
Monero at this time is serving as a stronger testing ground for experimental Bitcoin technologies than Litecoin, which is widely regarded as a "financially incentivized testnet" for Bitcoin.
BulletProofs along with other technologies like Schnorr Signatures, Mimble Wimble, etc are being explored on the Bitcoin Roadmap.
Litecoin has been a Testnet for Bitcoin for experimenting with technologies like Segwit and Lightning network on the Litecoin Blockchain first before implementing it on the Bitcoin Blockchain.
But Monero can be a bigger deal for Bitcoin as it will serve as a testing ground for privacy-focused technologies like Bullet Proof which is far more different that Litecoin which shares most of the properties with Bitcoin with a few changes.
Did you like the news you just read? Please leave a feedback to help us serve you better
Disclaimer: Blockmanity is a news portal and does not provide any financial advice. Blockmanity's role is to inform the cryptocurrency and blockchain community about what's going on in this space. Please do your own due diligence before making any investment. Blockmanity won't be responsible for any loss of funds.


text:
Given two fixed nonintersecting circles (shown here in red and blue), a Steiner chain is a sequence of circles, each tangent to the two given circles and each tangent to their neighboring circles in the sequence. When the chain is closed, the first and last circles in the chain are also tangent to each other. If a closed chain can be found for a given pair of circles, then infinitely many such chains can be found—use the rotation slider. Also, regardless of whether the chain is open or closed, the centers of circles of the chain lie on an ellipse, shown in green.
By manipulating the "rotation" slider, you can see different Steiner chains for the given red and blue circles, demonstrating Steiner's porism, which states that infinitely many such chains exist. By deselecting the "closed chain" checkbox, you can then adjust the radius of the red circle and create open chains. You can try to find the appropriately sized inner circle to create a closed chain for practice. When the inner circle radius is 0, the inner circle becomes a point and the Steiner chain becomes a closed chain of two circles.


Five Creepy Spiders Worksheet – Listen, Do, & Color
Can you run like a cat or crawl like a spider? Read the sentence to your students and have them do the action. Then, have students find the picture that matches the action and color it. Finally, listen to the song "Five Creepy Spiders" and follow along.
Contains 1 Page
Difficulty: Level 2
Related Songs


text:
Thing 1 and Thing 2 recently showed up at our house.
The kids came home from school last week very excited they could dress up as their favorite characters in celebration of Dr. Seuss. Logan and his best friend are in the same class so we immediately knew they had to be Thing 1 and Thing 2. We did not have enough time on our side to order a shirt so we put on our creativity caps and made our own. This was by far the easiest shirt we have ever made and now you can to.
How to create your own Dr. Seuss t-shirt
Supplies to create your own Dr. Seuss t-shirt:
- Red Shirt
- White Fabric Paint
- Black Puffy Paint
- A circular object that you can trace
- A piece of cardboard that will fit inside the shirt
Directions to create your own Dr. Seuss t-shirt:
1. Lay your shirt out flat and place a piece of cardboard on the inside of the shirt. This will keep the paint from seeping through to the other side of your shirt.
2. Place the circular object that you chose and put on top of the shirt and trace a circle onto the shirt. We used a 8 inch cake pan and it was perfect.
3. Paint the entire circle white and give it about 20 minutes to dry before moving onto step 4.
4. Using your black puffy paint write THING on the top arch on the inside of the white circle and a large number 1 or 2 in the middle of the circle.
5. Outline the white circle with the black puffy paint.
6. Let shirts dry overnight.
7. Wear and enjoy
The kids had so much fun wearing their Dr. Seuss shirts at school, they even convinced us to spray their hair blue. These would be fun shirts to make for the entire family for an outing, each family member could have their own number. These would also be very cute in a candid family portrait.
Where would you wear your Dr. Seuss shirts?
Have fun creating and be sure to share the pics with us, we would love to see them.
Click over for more Seuss-Inspired crafts.


text:
The webcam is located at in the inland in a height of 559 m NHN. The ground is visible for a clear identification of precipitation. The Sky is clearly visible to see clouds and weather.
Sunrise: UTC 03:20 CEST 05:20
Sunset: UTC 19:10 CEST 21:10
How is the current weather near webcam? You see 10 notes about surrounding webcams:
Please be as precise as possible about what is wrong:


Zylkene for Small Dogs & Cats (10 x 75mg Capsules)
 - Sale
 - Regular price £7.48
Zylkène is a natural product derived from milk proteins that has been proven to help your cat or dog cope in times of stress and adapt to change. Can be used for short periods or continuously if needed. it is a food supplement made from a protein found in milk (the same molecule that helps babies relax after a milk feed). the active ingredient is a peptide (a protein molecule) which is able to bind temporarily to certain receptors in the brain. This has a calming influence similar in some ways to tranquillizer drugs but without the side effects associated such as sedation or memory loss. It has been clinically proven to be effective in dogs and cats.it can be used for environmental changes (e.g. New pet new baby or house moves) multi-animal households, cattery or kennel stays, fireworks, home alone or travel anxieties.


text:
The River Ganges
A documentary film on various aspects of the river, in different locations, TV series.
Susan was invited to Bosnia by Dr Sam Osmanagich, in June 2017, at which time she shot visuals of many of the monuments and surrounding areas of the complex of newly discovered pyramids in the Visoko valley, just outside Sarajevo. She returned to Bosnia again in 2018 and 2019, culminating in her making the first draft of her movie on the Bosnian pyramid complex, in May 2020.
First Draft version of Susan's Bosnian movie
This is an artistic documentary containing 2 very prominent symbols, 'Crystal of Time' 'Diamond Lens, Doorway to Infinity' that she's made from examining the Bosnian Pyramid Complex at all possible levels, which themselves contain the meaning of aspects of Universal Truth in their makeup. These symbols are thus embedded into the timeline of the movie, so that they may transmit what they contain to the viewer, upon watching it.
Here, in the process of making this first draft of her movie on Bosnia, as well as in several, previous films Susan has made;
the art form of 'Kaleidoscopic Filmmaking' is born.
Now Susan will go through this first version, tidy up what's already there and polish it with its next layer of emanation.
Drops of Being
Firstly a film script will be written, based on the story told in 'Drops of Being' , which will subsequently be turned into a feature film.


> schema.object({ bignumber: schema.string() })
});
// Defining an extra validation step that checks if the BigNumber is NaN or infinite, since we don't want those kinds of numbers.
const validateBigNumber = (value: BigNumber): ValidationResult => {
if (value.isNaN()) {
return { error: 'Found NaN' };
} else if (!value.isFinite()) {
return { error: 'Found non-finite value' };
}
return {};
};
// Defining a custom schema
export const bigNumberSchema = schema.custom({
typeName: 'BigNumber',
serDes: bigNumberSerDes,
customValidation: validateBigNumber
});
When working with custom schemas, it's important to make sure they don't ambiguously overlap with other types that you'll use together. Notice in the above example that we serialize our values by encapsulating them in an object, like { bignumber: "3.14" }. If we had simply serialized the BigNumber as a string, then we'd have to be extra careful about using these schemas in places where also need plain strings. For example, schema.oneOf(bigNumberSchema, schema.string()) isn't very clear with respect to which type will be extracted. When custom serializer-deserializers are used, the first one, in declaration order, to decode a value, wins. While this is deterministic, it's not likely good design practice.
However, other strategies can be used as well. For example, we could have used a string prefix and regular expression pattern matching, with an encoding like "bignumber:3.14". In fact, we encode Date object as ISO 8601 strings and rely on regular expression parsing. Since ISO 8601 is such a precise format, it's easy to distinguish between date/time strings and other more arbitrary strings.
Thanks for checking it out. Feel free to create issues or otherwise provide feedback.
API Docs
Be sure to check out our other TypeScript OSS projects as well.


text: INFINITUM is an immersive art – architectural installation presented at the Sharjah Art Museum on the occasion of the Islamic Arts Festival 2019/20, 22nd Edition. Arches are typical in Mosques' design. […] Islamic Arches buildings are typically constructed of stone, wood being rarer in the original Middle Eastern homelands of the Umayyads. The rows of Columns and Arches give a visual impression of limitless space, as a metaphor of the progress for human civilization, maximizing spiritual symbolism and visual appeal – progressing towards an ideal civilization. It refers to centuries of human civilization and the creation of prospective in social spaces and the openness to open possibilities of human life.


text:
- Research Article
- Open Access
Higher-Order Statistics for the Detection of Small Objects in a Noisy Background Application on Sonar Imaging
EURASIP Journal on Advances in Signal Processing volume 2007, Article number: 047039 (2007)
An original algorithm for the detection of small objects in a noisy background is proposed. Its application to underwater objects detection by sonar imaging is addressed. This new method is based on the use of higher-order statistics (HOS) that are locally estimated on the images. The proposed algorithm is divided into two steps. In a first step, HOS (skewness and kurtosis) are estimated locally using a square sliding computation window. Small deterministic objects have different statistical properties from the background they are thus highlighted. The influence of the signal-to-noise ratio (SNR) on the results is studied in the case of Gaussian noise. Mathematical expressions of the estimators and of the expected performances are derived and are experimentally confirmed. In a second step, the results are focused by a matched filter using a theoretical model. This enables the precise localization of the regions of interest. The proposed method generalizes to other statistical distributions and we derive the theoretical expressions of the HOS estimators in the case of a Weibull distribution (both when only noise is present or when a small deterministic object is present within the filtering window). This enables the application of the proposed technique to the processing of synthetic aperture sonar data containing underwater mines whose echoes have to be detected and located. Results on real data sets are presented and quantitatively evaluated using receiver operating characteristic (ROC) curves.
Special issue on higher-order statistics, IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 38, no. 7
Special issue on higher-order statistics, Signal Processing vol. 36, no. 3
Special issue on higher-order statistics, Signal Processing vol. 53, no.2–3
Giannakis GB: Cumulants: a powerful tool in signal processing. Proceedings of the IEEE 1987,75(9):_PHONE_.
Mendel JM: Tutorial on higher-order statistics (spectra) in signal processing and system theory: theoretical results and some applications. Proceedings of the IEEE 1991,79(3):278-305. 10.1109/5.75086
Krob M, Benidir M: Blind identification of a linear-quadratic mixture: application to quadratic phase coupling estimation. Proceedings of IEEE Signal Processing Workshop on Higher-Order Statistics, June 1993, South Lake Tahoe, Calif, USA 351–355.
Fonollosa JR, Nikias CT: Wigner higher order moment spectra: definition, properties, computation and application to transient signal analysis. IEEE Transactions on Signal Processing 1993,41(1):245-266. 10.1109/TSP.1993.193143
Jacovitti G, Scarano G: Hybrid nonlinear moments in array processing and spectrum analysis. IEEE Transactions on Signal Processing 1994,42(7):_PHONE_. 10.1109/78.298278
Comon P: Independent component analysis. A new concept? Signal Processing 1994,36(3):287-314. 10.1016/0165-1684(94)90029-9
Yellin D, Weinstein E: Criteria for multichannel signal separation. IEEE Transactions on Signal Processing 1994,42(8):2158-2168. 10.1109/78.301850
Thi H-LN, Jutten C: Blind source separation for convolutive mixtures. Signal Processing 1995,45(2):209-229. 10.1016/0165-1684(95)00052-F
Jacovitti G: Applications of higher order statistics in image processing. Proceedings of International Signal Processing Workshop on Higher Order Statistics, July 1991, Chamrousse, France 241–247.
Coroyer C, Jorand C, Duvaut P: ROC curves of skewness and kurtosis statistical tests: application to textures. Proceedings of the 7th European Signal Processing Conference (EUSIPCO '94), September 1994, Edinburgh, Scotland, UK 1: 450–453.
Avilés-Cruz C, Rangel-Kuoppa R, Reyes-Ayala M, Andrade-Gonzalez A, Escarela-Perez R: High-order statistical texture analysis—font recognition applied. Pattern Recognition Letters 2005,26(2):135-145. 10.1016/j.patrec.2004.09.038
Rajagopalan AN, Jain A, Desai UB: Data clustering using hierarchical deterministic annealing and higher order statistics. IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing 1999,46(8):_PHONE_. 10.1109/82.782060
Carrato S, Ramponi G: Edge detection using generalized higher-order statistics. Proceedings of IEEE Signal Processing Workshop on Higher-Order Statistics, June 1993, South Lake Tahoe, Calif, USA 66–70.
Ramponi G, Carrato S: Performance of the Skewness-of-Gaussian (SoG) edge extractor. Proceedings of the 7th European Signal Processing Conference (EUSIPCO '94), September 1994, Edinburgh, Scotland, UK 1: 454–457.
Alexandrou D, de Moustier C, Haralabus G: Evaluation and verification of bottom acoustic reverberation statistics predicted by the point scattering model. Journal of the Acoustical Society of America 1992,91(3):_PHONE_. 10.1121/1.402471
Kendall MG, Stuart A: The Advanced Theory of Statistics. Volume 1. 2nd edition. Charles Griffin, London, UK; 1963.
di Gesu V, Maccarone MC, Tripiciano M: Mathematical Morphology based on Fuzzy Operators, Fuzzy Logic, edited by R. Lowen and M. Roudens. Kluwer Academic, Boston, Mass, USA; 1993.
Mignotte M, Collet C, Pérez P, Bouthemy P: Three-class Markovian segmentation of high-resolution sonar images. Computer Vision and Image Understanding 1999,76(3):191-204. 10.1006/cviu._PHONE_
Maussang F, Chanussot J, Hétet A: Automated segmentation of SAS images using the mean-standard deviation plane for the detection of underwater mines. Proceedings of MTS/IEEE Oceans Conference, September 2003, San Diego, Calif, USA 4: 2155–2160.
Maussang F, Chanussot J, Hétet A: On the use of higher order statistics in SAS imagery. Proceedings of IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP '04), May 2004, Montreal, Quebec, Canada 5: 269–272.
Hétet A: Evaluation of specific aspects of synthetic aperture sonar, by conducting at sea experiments with a rail, in the frame of mine hunting systems design. Proceedings of the 5th European Conference on Underwater Acoustics (ECUA '00), July 2000, Lyon, France 439–444.
Hétet A, Amate M, Zerr B, et al.: SAS processing results for the detection of buried objects with a ship-mounted sonar. Proceedings of the 7th European Conference on Underwater Acoustics (ECUA '04), July 2004, Delft, The Netherlands 1127–1132.
Sabel JC, Groen J, Colin MEGD, et al.: Experiments with a ship-mounted low frequency SAS for the detection of buried objects. Proceedings of the 7th European Conference on Underwater Acoustics (ECUA '04), July 2004, Delft, The Netherlands 1133–1138.
Maussang F, Chanussot J: Utilisation des statistiques d'ordres supérieurs en contrôle qualité de détecteurs de rayons X. Proceedings of the 20th GRETSI Symposium on Signal and Image Processing, September 2005, Louvain-la-Neuve, Belgium 117–120.
About this article
Cite this article
Maussang, F., Chanussot, J., Hétet, A. et al. Higher-Order Statistics for the Detection of Small Objects in a Noisy Background Application on Sonar Imaging. EURASIP J. Adv. Signal Process. 2007, 047039 (2007). _URL_
- Weibull Distribution
- Object Detection
- Small Object
- Matched Filter


text:
\ die engineering process
die engineering process
- The first step in die design. In this planning phase, the part needing the new die is analyzed to determine the die configuration and the press requirements. The process consists of deciding the type and thickness of the material used in making the part, the part configuration, the dimensional tolerances of the part, the quantity of parts to be made, and the funds available for the project.


Follow TEDxJackson
Nashlie Sephus: The Why and How of Diversity in Tech
Talk Info
Talk Description
Equitable opportunity is a fundamental building block for a thriving economy. Dr. Sephus is a rising star in the world of artificial intelligence software development and her career is a reference point for understanding both why there is a lack of diversity in technology-related industries and what can be done about it. Her talk focuses on her ideas and groundbreaking work on mentorship.


text:
Where are we?
Cibernàrium is present throughout the city
1. Cibernàrium 22@ Building: located in the district of Sant Martí, welcomes specialized and advanced technology training.
2. Cibernàrium Nou Barris: welcomes the basic technological training.
3. Barcelona public libraries: they welcome the basic technological training and courses to promote the scientific and technological vocations.
4. La Xarxa d'Ateneus de Fabricació Digital: they receive various basic and specialized and advanced technology training activities and courses for the promotion of scientific and technological vocations.
5. Antena Plaça Catalunya (Movistar Centre): there you can enjoy for free different basic technological activities and masterclass in order to improve your digital abilities.
6. Other spaces: spaces provided by some partners such as universities, educational centers, research centers and institutes, etc.


text:
Survey-Based Assessment of Household Borrowers' Financial Vulnerability
Discussion papers 1/2014
Summary: This Discussion Paper is an attempt to provide insight into the debt servicing capacity of Latvian households and its sustainability under the impact of different macroeconomic shocks based on individual household data obtained by surveying households with at least one loan for house purchase. To assess the financial situation of these households, changes in the household solvency are modelled under the impact of different economic shocks (shrinking employment income, rising interest rates, loss of jobs) and the obtained results are generalised to the aggregate portfolio of loans granted by Latvian credit institutions to households for house purchase. The results obtained lead to a conclusion that following the financial crisis household solvency is still fragile and possible negative shocks might contribute to higher potential losses of credit institutions. At the same time possible losses to lenders arising from such adverse shocks might be lower than two years ago since the value of collateral has increased with real estate prices moving up, while outstanding loans granted for house purchase have declined.
Key words: analysis of household solvency, stress tests, sensitivity analysis, financial margin, macroeconomic shock scenario, microdata
JEL codes: C15, C35, D14, E21, G21


text:
Deuteronomy uses unusual parallel terms "the shegar of your herd and the ashtorot of your flock" to describe the offspring of livestock. These are names of the ancient West Semitic fertility goddess known as Ashtoret or by her less familiar bi-name Sheger. Her consort is (sometimes) the god Ashtor. What do we know about these deities and what do they have to do with livestock?
The connection between the Israelite festival of Sukkot in the temple and the Ugaritic new year festival and its dwellings of branches for the gods.


text:
GALVESTON — The Texas Historical Commission has recognized Arthur John "Jack" Johnson as a significant part of Texas history by awarding him an Official Texas Historical Marker.
The designation honors Jack Johnson as an important and educational part of local history.
A dedication ceremony to commemorate the event will be at 10 a.m. Feb. 1 at Jack Johnson Park, 2601 Ave. M.
Speakers for the morning will include Ann Landeros and Alex Borger. The Galveston County Historical Commission welcomes the public to share in and witness this exciting historical event.
"The Official Texas Historical Marker program helps bring attention to community treasures and the importance of their preservation," said Mark Wolfe, executive director of the THC.
"Awareness and education are among the best ways to guarantee the preservation of our state's history. This designation is a tool that will increase public awareness of important cultural resources."
Johnson, born in 1878 in Galveston, was the first African-American world heavyweight boxing champion. He beat Tommy Burns of Canada in Sydney, Australia, in 1908 to win the world heavyweight title.
A subject qualifies for a marker if two basic criteria are met: historical significance and age. Historical significance is established by reviewing its role and importance in local history, and the age requirement depends on the topic.
The THC's Official Texas Marker Policies are outlined in the Official Texas Historical Marker Procedures, which may be obtained by contacting the History Programs Division, Texas Historical Commission, at _PHONE_ or visiting the website at _URL_.
"The citizens of Galveston are thrilled to honor our very own 'Galveston Giant.' This marker ceremony shall serve as a celebration of such a diverse cultural history that exists on Galveston Island," said Hank Thierry, chair of the Galveston Historical Foundation's African American Heritage Committee.
"To have both a city park and Texas Historic Marker in honor of Jack Johnson will allow generations of Texans to celebrate his life and Galveston's rich history."
There are three types of Texas Historical Markers. Subject markers are posted solely for public education awareness and awarded more frequently than the Recorded Texas Historic Landmark, which is a legal designation for historic structures and comes with a measure of protection.
Unlike subject markers, the RTHL must also meet a third criterion — architectural integrity. Historic Texas Cemetery markers identify cemeteries, which have obtained the HTC designation and whose histories have been researched in detail.
Texas has the largest marker program in the United States with approximately 15,000 markers. Seventeen states have used the Texas program as a model; the THC reviews more than 300 marker applications each year.
The Texas Historical Commission is the state agency for historic preservation. The agency administers a variety of programs to preserve the archeological, historical and cultural resources of Texas.


text:
The Liwerant Center for the Study of Latin America, Spain, Portugal and their Jewish Communities at the Hebrew University of Jerusalem is situated at the intersection between Humanities and Social Sciences, thus promoting disciplinary convergences and theoretical and methodological pluralism.
Main Fields of Research and Activities:
- Latin-American and Iberian civilization: new topics, issues and perspectives in history, sociology, politics and international relations. Coping with Multiple Modernities. Globalization processes – national, regional and world dimensions.
- Ibero-America, culture and literature: Disciplinary and interdisciplinary approaches to the study of Spanish, Portuguese and Latin American literature, the intersection and dialogue between Iberoamerican literature and Jewish culture.
- Contemporary Jewish life: Collective Jewish identities and processes of individualization. Shifting patterns of Jewish religiosity and ethnicity.
- Jewish communities: New institutional perspectives; changing borders and patterns of communal organization; interactions between public sphere and private domains.
- Israel-Latin America relations: bilateral and multilateral dynamics.
- Israel-Diaspora interactions in comparative perspective. Convergences and divergences.
- Transnationalism today. Redefining and expanding Jewish frontiers: Migration flows and relocation of Jewish life and culture. Jewish Diasporas generated by Ibero-American matrix.


text: A new methodology is proposed to mitigate the high computation cost required to derive accurate Monte Carlo (MC) based system matrix for tomographic image reconstruction. The strategy consists of taking advantage of the symmetries between the lines of response to increase the statistics of data collected for the determination of the system matrix coefficients. By using the rotation and axial symmetries of a cylindrical camera, the number of MC generated events can be reduced substantially without affecting the matrix coefficient accuracy. Moreover, using the GATE simulator list-mode saving capabilities for storing coincidence events, single events and/or single hits with all their relevant information, the MC simulation can be performed only once and system matrices for different system configurations be derived from the same simulation. Using for example Positron emission tomography (PET), the processing of the collected MC data can be fine tuned to the imaging system characteristics by setting accordingly the time and energy blurring, the detector efficiencies, the coincidence time window width and the energy thresholds. The system matrix can also include or exclude PET events like scatters and randoms. Furthermore, the system matrix can be computed for different image grids and basis functions without requiring a new MC simulation to be performed.


Take the 2-minute tour ×
Possible Duplicate:
ASP.NET MVC:Why does the CheckBoxFor render an additional input tag and how can I get the value using the FormCollection
I needed to create a check box and bind the model to the check box. Assume instead of the model value im just assigning false as the value. Code given bellow.
The output of the HTML being generated is shown above. I do understand why the hidden check box is put by the razor view engine. My question is if the value is false then the check box visible should be value="false" (unchecked).
Why it has put value="true" (checked). Same applies for the checkboxfor helper. What is wrong or could you explain how to implement this?
share|improve this question
add comment
marked as duplicate by Øyvind Knobloch-Bråthen, Mark, Robert Koritnik, NULL, Linger Nov 16 '12 at 14:05
2 Answers
up vote 2 down vote accepted
You should consider passing the value via the model:
_USER_.CheckBoxFor(model => model.abcd)
If you need to set it to be 'false' then you can do this by setting the abcd property to false in the Controller before returning the View.
share|improve this answer
add comment
Checkboxes don't have different checked/unchecked values, they only have a checked value. If you understand why razor outputs the hidden field then you understand this.
Imagine for a second that it did have value='false'. What would happen when you checked the checkbox? Would you expect the value to change? (hint: you shouldn't). You'd have a checked checkbox with value='false'. What does that even mean? Then, upon posting, you would post false as your value, and that would be nonsense.
So. Checkbox value attributes don't change. If you need to write code that uses the value, don't look for its value, look for whether or not it's checked.
share|improve this answer
So if i need the checkbox to be checked and unchecked based on the true or false that we pass eg _USER_.CheckBox("abcd",false) what should i do? Since i couldnt get what i wanted from your answer. – Desmond Nov 16 '12 at 9:01
_USER_ A checkbox inputs "checked" state is a separate property from its value. Notice that if you check and un-check a textbox the value property does not change, however the browser sees whether the checkbox is checked or not and if it's checked it posts the input name/value, if it's not checked it does not post anything at all. Hence why there's automatically a 2nd hidden input field with value set to false created, so if user checks the checkbox the server will receive two key/value pairs for both inputs, true and false and it will accept true in this case, if one just false. – LaserBeak Nov 17 '12 at 6:41
add comment