text:
Simulation of jet-induced geysers in reduced gravity
Control of cryogenic propellant tank pressure during tank refueling and expulsion in low gravity is an important technical challenge to overcome for future long duration missions in space. One method proposed to control tank pressurization involves the use of jet-induced geysers. Two-dimensional computational models have been developed and used with limited success in previous efforts to predict geyser heights in microgravity. A three-dimensional flow simulation is used to model jet-induced geysers in reduced gravity. Geyser flows are commonly characterized by the presence of turbulent jets, transient flow, deforming free surfaces, and surface tension effects. As is the case for many turbulent flow applications, accuracy in simulating complex turbulent flows is critically dependent on the selection of a suitable turbulence model. The sensitivity of the simulation geyser predictions to a suite of popular turbulence models is assessed. Simulation results are compared to available experiment results. By expanding upon the work already completed, the model is used to simulate a broad range of cases within the experiment test matrix. Simulation results suggest the two dimensional simulation using the k-ε turbulence model provides the most accurate results for jet-induced geysers in reduced gravity when compared to available experiment data. © 2008 Springer Science+Business Media B.V.
Microgravity Science and Technology
Marchetta, J., & Benedetti, R. (2010). Simulation of jet-induced geysers in reduced gravity. Microgravity Science and Technology, 22 (1), 7-16. _URL_


text:
Multiport power electronics circuitry for integration of renewable energy sources in low power applications : a thesis presented in partial fulfilment of the requirements for the degree of Doctor of Philosophy in Electrical Engineering at Massey University, Palmerston North, New Zealand
The increasing demand for electricity and the global concern about environment has led energy planners and developers to explore and develop clean energy sources. Under such circumstances, renewable energy sources (RES) have emerged as an alternative source of energy generation. Immense development has been made in renewable energy fields and methods to harvest it. To replace conventional generation system, these renewable energy sources must be sustainable, reliable, stable, and efficient. But these sources have their own distinguished characteristics. Due to sporadic nature of renewable energy sources, the uninterrupted power availability cannot be guaranteed. Handling and integration of such diversified power sources is not a trivial process. It requires high degree of efficiency in power extraction, transformation, and utilization. These objectives can only be achieved with the use of highly efficient, reliable, secure and cost-effective power electronics interface. Power electronics devices have made tremendous developments in the recent past. Numerous single and multi-port converter topologies have been developed for processing and delivering the renewable energy.
Various multiport converter topologies have been presented to integrate RES, however some limitations have been identified in these topologies in terms of efficiency, reliability, component count and size. Therefore, further research is required to develop a multiport interface and to address the highlighted issues.
In this work, a multi-port power electronics circuitry for integration of multiple renewable energy sources is developed. The proposed circuitry assimilates different renewable sources to power up the load with different voltage levels while maintaining high power transfer efficiency and reliability with a simple and reliable control scheme.
This research work presents a new multiport non-isolated DC-DC buck converter. The new topology accommodates two different energy sources at the input to power up a variable load. The power sources can be employed independently and concurrently. The converter also has a bidirectional port which houses a storage device like battery to store the surplus energy under light load conditions and can serve as an input source in case of absence of energy sources.
The new presented circuitry is analytically examined to validate its effectiveness for multiport interface. System parameters are defined and the design of different components used, is presented.
After successful mathematical interpretation, a simulation platform is developed in MATLAB/Simscape to conduct simulations studies to verify analytical results and to carry out stability analysis.
In the final stage, a low power, low voltage prototype model is developed to authenticate the results obtained in simulation studies. The converter is tested under different operating modes and variable source and load conditions.
The simulation and experimental results are compiled in terms of converter's efficiency, reliability, stability.
The results are presented to prove the presented topology as a highly reliable, stable and efficient multiport interface, with small size and minimum number of components, for integration of renewable energy sources.

source: m-a-p/FineFineWeb


text:
Isogeometric collocation for implicit dynamics of three-dimensional beams undergoing finite motions
Journal article, Peer reviewed
MetadataShow full item record
Original versionComputer Methods in Applied Mechanics and Engineering. 2019, 356 548-570. 10.1016/j.cma.2019.07.013
We propose a novel approach to the implicit dynamics of shear-deformable geometrically exact beams, based on the isogeometric collocation method combined with the Newmark time integration scheme extended to the rotation group SO(3). The proposed formulation is fully consistent with the underlying geometric structure of the configuration manifold. The method is highly efficient, stable, and does not suffer from any singularity problem due to the (material) incremental rotation vector employed to describe the evolution of finite rotations. Consistent linearization of the governing equations, variables initialization and update procedures are the most critical issues which are discussed in detail in the paper. Numerical applications involving very large motions and different boundary conditions demonstrate the capabilities of the method and reveal the critical role that the high-order approximation in space may have in improving the accuracy of the solution.

source: openbmb/Ultra-FineWeb


text:
The shape of the American football derived from the shape of the rugby ball, a European sport from which football was based. The rugby ball got its shape because in the days before rubber, other natural materials had to be used that could be inflated and hold the air in. The material used for early rugby balls was a pig's bladder, which is about twice as long as it is wide. The football was later tweaked to the American style of play, but it kept a piece of its origins with the nickname pigskin.
The exact term for the shape of an American football and a rugby ball is prolate spheroid, even though the two balls are of different design, today. A prolate spheroid describes an object that is essentially round, but is longer than it is wide. Rugby was a sport that was imported to the United States in the mid 1800s. It began to be played at Ivy League universities in the 1860s.
By 1875, the rules had changed enough from those of rugby for football to be considered a separate sport, but the balls were made nearly the same with an inner bladder covered with an outer leather shell tied together with laces. Sometime in the 1860s, the pig's bladder was replaced by a leather or rubber bladder, and the ball gradually became more elongated so it could be carried more easily.
The American football has much more in common with the original rugby ball than does the modern rugby ball. Modern rugby balls are now made with synthetic materials, including plastic, polyester and latex. American footballs are still made of natural leather.
Today, the football is standardized for use by the NFL and the NCAA, but there is some slight variation. It is 11 to 11.5 inches long and has a center circumference of 28 to 28.5 inches. The ends are from 20.75 to 21.25 inches in diameter, and the ball weighs from 14 to 15 ounces. One difference between pro footballs and college footballs is that college balls have white lines painted halfway around each end. High school footballs have the white lines painted all the way around each end.
Posted 1102 day ago


How to Scrape Google Maps: Code and No-Code Approach
This article outlines a few methods for scraping Google Maps. This could effectively export Google Maps data to Excel or other formats for easier access and use.
There are two methods for scraping Google Maps
Building a Web Scraper in Python or JavaScript to Extract Google Maps Data
In this section, we will guide you on how to scrape data from Google Maps using Python or JavaScript. We will utilize the browser automation framework Playwright, to emulate browser behavior in our code.
The advantages of using this method include its ability to bypass common blocks put in place to prevent scraping. However, familiarity with the Playwright API is necessary to use it effectively.
You could also use Python Requests, LXML, or BeautifulSoup to build a Google Map scraper without using a browser or a browser automation library. But bypassing the anti-scraping mechanisms put in place can be challenging and is beyond the scope of this article.
Here are the steps for scraping Google Maps data using Playwright:
Step 1: Choose either Python or JavaScript as your programming language.
Step 2: Install Playwright for your preferred language:

Step 3: Write your code to emulate browser behavior and extract the desired data from Google Maps using the Playwright API. You can use the code:
This code shows scraping Google Maps' restaurant information using Playwright in both Python and JavaScript.
The corresponding scripts have two main functions, namely:
 - run function: This function takes a Playwright instance as an input and performs the scraping process. The function launches a Chromium browser instance, navigates to Google Maps, fills in a search term, clicks the search button, and waits for the results to be displayed on the page.
 The extract_details function is then called to extract the restaurant details and store the data in a JSON file.
 - extract_details function: This function takes a Playwright page object as an input and returns a list of dictionaries containing restaurant details. The details include the title, review count, rating, address, and phone number of each restaurant.
Finally, the main function uses the async_playwright context manager to execute the run function. A JSON file would be created that contains the listings of the Google Maps script that you just executed.
Step 4: Run your code and collect the scraped data from Google Maps.
You can access the code for Google Maps in Python and JavaScript on GitHub.
Using No-Code Google Maps Scraper by ScrapeHero Cloud
The Google Maps scraper by ScrapeHero Cloud is a convenient solution for scraping Google Maps search results. It provides an easy, no-code method for scraping Google Maps data, making it accessible for individuals with limited technical skills.
In this section, we'll guide you through the steps required to set up and use the Google Map scraper.
 1. Sign up or log in to your ScrapeHero Cloud account.
 If you don't like or want to code, ScrapeHero Cloud is just right for you!
 Skip the hassle of installing software, programming and maintaining the code. Download this data using ScrapeHero cloud within seconds.
 Get Started for Free
 Deploy to ScrapeHero Cloud
 2. Go to the ScrapeHero Google Maps Search Results scraper by ScrapeHero Cloud.
 Choosing ScrapeHero Google Maps Search Results scraper from ScrapeHero Cloud Crawlers page
 3. Add the scraper to your account. (Don't forget to verify your email if you haven't already.)
 Adding ScrapeHero Google Maps Search Results scraper from ScrapeHero Cloud to the user's account
 4. ScrapeHero Google Maps scraper allows you to search with a query. A query is a question or a phrase about what your requirement is, say, McDonalds in Seattle. This you can verify in Google Maps, as shown.
 Verifying the search query and viewing the actual location in Google Maps.
 5. You can enter this search query in the field provided and choose the number of pages to scrape.
 Entering the query and the number of pages to scrape.
 6. To scrape multiple queries, switch to Advanced Mode, and in the Input tab, add the queries to the Search Query field and save the settings.
 Switching to advanced mode for multiple queries.
 7. To start the scraper, click on the Gather Data button.
 Clicking the Gather Data button to start the scraper.
 8. The scraper will start fetching data for your queries, and you can track its progress under the Jobs tab.
 9. Once it is finished, you can view or download the data from the same.
 Downloading the results
 10. You can also pull Google Maps data into a spreadsheet from here. Just click on the Download Data and select "Excel" and open the downloaded file using Microsoft Excel.
 web scraping google maps using scrapehero cloud without coding
Use Cases of Google Maps Data
If you're unsure as to why you should scrape, then here are some use cases for the location data from Google Maps:
 - Location-Based Marketing
 By scraping Google Maps, you will get location data that can be used to target advertising and promotional messages to users based in those locations.
 - Lead Generation
 Analyzing business locations, contact information, and other data points can help in generating leads, mainly for B2B opportunities based on location.
 - Visitor Insights
 Using the "popular times" data point from the Google Map scraper, you can generate insights on customer trends for a particular business listing.
 - Brand Sentiment
 Reviews and ratings data from Google Maps by customers on business listings can help in determining the general sentiment towards that particular business.
 - Competitor Analysis
 By scraping Google Maps data, it can be used to map out competitor locations, analyze competitor reviews and activities, such as hours of operation and new products, and identify gaps in the market.

Frequently Asked Questions
Scraping Google Maps means extracting data from Google Maps listings, including business names, addresses, phone numbers, reviews, and popular times.
Try using HTTP requests to fetch HTML content from a page and parse it using libraries like Requests and BeautifulSoup or LXML for scraping Google Maps.
Google Maps API is costly and challenging to set up, making it a significant cost for large-scale projects, while ScrapeHero Cloud offers a cheaper alternative.
You can check out the subscription fee for ScrapeHero Google Maps Scraper on the ScrapeHero pricing page.
Yes, you can pull Google Maps data into a spreadsheet. There are a few different methods to achieve this, ranging from using Google Maps APIs to integrating with Google Sheets directly.
Choosing the best Google Maps data scraper is challenging due to legal, ethical, and technical considerations. But you can use the ScrapeHero Google Maps Scraper or the ScrapeHero Google Reviews Scraper from ScrapeHero Cloud to extract details related to Google Maps as a safer option.
The legality of web scraping depends on the jurisdiction, but it is generally considered legal if you are scraping publicly available data. Please refer to Legal Information to learn more about the legality of web scraping.
Posted in: Featured, How to, ScrapeHero Cloud
Turn the Internet into meaningful, structured and usable data
ScrapeHero Logo
Can we help you get some data?


text:
Celebrate Princeton Invention: Craig Arnold
Posted December 21, 2009; 01:08 p.m.
Able to adjust its focus more than 100,000 times faster than the human eye, the TAG Lens invented by mechanical and aerospace engineering professor Craig Arnold and his colleagues has applications in materials processing and imaging. (Photo: Brian Wilson)
Name: Craig Arnold, associate professor of mechanical and aerospace engineering
Invention: Tunable Acoustic Gradient Index of Refraction Lens (TAG Lens)
What it does: The TAG lens features a cylinder made of a special material that vibrates when electricity is passed through it, enclosed inside a fluid-filled chamber. Controlling the flow of electricity changes the vibrations that propagate through the fluid, changing the lens' focus more than 100,000 times faster than the human eye can refocus.
Inspiration: After developing a low-cost lens to shape laser beam output into different patterns, Arnold and his colleagues focused their attention on understanding how the device worked and its potential applications. Finding that the lens had the unique ability to focus rapidly at a wide range of focal lengths, they realized its potential went far beyond the original intended purpose, with numerous applications in materials processing and imaging.
Collaborators: Euan McLeod, a 2009 Ph.D. recipient, and Alexander Mermillod-Blondin, a former postdoctoral researcher in the Arnold lab
Back to main story

source: HuggingFaceFW/fineweb-edu


as long as the time period specified.
Available percentile values: 25, 50, 75, 80, 90, 95, 98, 99, 100. Example: quantile (95,100ms,10s) instances Available when phantom module is included. Stop the test if instance count is larger then specified value. Example: instances(80%, 30) instances(50,1m). Exit code - 24 metric_lower and metric_higher Stop test if monitored metrics are lower/higher than specified for time period. Example: metric_lower(127.0.0.1,Memory_free,500,10). Exit code - 31 and 32 Note: metric names (except customs) are written with underline. For hostnames masks are allowed (i.e target-*.load.net) steady_cumulative Stops the test if cumulative percentiles does not change for specified interval.
Example: steady_cumulative(1m).
Exit code - 33 limit Will stop test after specified period of time. Example: limit(1m). Basic criteria aren't aggregated, they are tested for each second in specified period. For example autostop=time(50,15) means "stop if average responce time for every second in 15s interval is higher than 50ms" Advanced criteria types total_time Like time, but accumulate for all time period (responses that fit may not be one-after-another, but only lay into specified time period). 42 Chapter 6. Modules
Yandex.Tank Documentation - Release 1.1.1


text: Filipinos came to Vallejo as early as 1912, and some families here can count five generations back to their roots in the Philippines. Many came to Mare Island Naval Shipyard, where Filipinos found steady, well-paying jobs that spared them from menial work and stoop labor in the fields of California. With each major conflict of the 20th century, and finally with the relaxation of immigration quotas in 1965, waves of Filipino newcomers arrived on these shores. They advanced in their work at the shipyards, settled down, and started families, buying homes and establishing successful businesses. Now this active, politically empowered Filipino community numbers in the tens of thousands, yet traditional histories ignore its contribution to Vallejo's heritage.


text:
Chelan CountyPUD is gaining notoriety for its successful results on Habitat Conservation Plans for fish protection at Rock Island and Rocky Reach dams.
Chelan PUD worked with state and federal agencies for more than a decade to create the nation's first hydropower Habitat Conservation Plan to protect young salmon and steelhead as they migrate to the ocean.
PUD Director of Natural Resources, Keith Truscott, says the PUD recognizes its responsibilities to natural resources and stewardship obligations as operators of hydro-projects.
The PUD uses a combination of fish bypass and spill to help move the fish safely past the dams.
Keith adds that the PUD is required to measure juvenile fish survival rates to ensure the method is working.
Hydropower is America's largest source of clean, renewable electricity, avoiding 225 million metric tons of carbon emissions.
Chelan County PUD's innovative approach is said to be proof that it is possible to care for fish and the environment while ensuring the ability to generate clean, renewable hydropower."CLICK HERE" for Audio
"CLICK HERE" for Audio


Take the 2-minute tour ×
I'm wondering if tailf can generate blocking I/O which will slow down server responsiveness due to logging.
For ex. assuming the following setup:
Debian 5.1 linux server (foo) which is managed via terminal (foo is hosted on EC2).
Foo runs several applications, each writing to their own log file. For the sake of example, Apache httpd to /var/log/apache/access.log & Tomcat 5.5 to /var/log/tomcat5.5/myApp.log.
If I open an ssh connection to foo, (note: Internet link, high latency, relatively slow upload) and run tail -F /var/log/apache/access.log can't I reach a situation where the kernel blocks httpd's writes to this log file and thus slows down httpd's performance because of the wait enforced on each thread?
To give some numbers, let's assume that foo logs ~200kb of log data per second which needs to be pushed over the wire to the ssh client.
Another theoretical aspect: What would happen if the /var/log file system set on an infinite size ram (remember: Theoretically speaking) so that the hard disk seek time is eliminated?
Third aspect, what would happen if I'd open the ssh connection from a really slow link (Let's assume that foo is traffic shaped to push only 5kb/s upload)?
Would love to hear what you think guys.
Thanks for reading, Maxim.
share|improve this question
add comment
2 Answers
up vote 1 down vote accepted
I don't think there will be some blocking over I/O here. When you do "tail -f", what's happening is
 1. your shell process, let's say bash, will spawn a new process 'tail'.
 2. tail will open the file, move file pointer to the end, wait for 3 seconds and check whether there are new data.
 3. if there is new data, tail will push it back to the bash using unix pipe.
 4. this data gets transmitted from server to your machine by bash + ssh.
So as you can see, a slow internet connection won't affect step #2, which is the key for I/O performance anyway.
Plus, tail opens file in'read-only' mode and, an educated guess, logs are open in 'append-only' mode, so there shouldn't be much locking here to worry about. If this is still a bit concern for you, then you may want to try out the inotail which is based on latest linux inotify api to avoid polling the file.
Hope this helps, Alex
share|improve this answer
add comment
I don't think it is likely. I believe the writes will be cached in ram and since they were just written I imagine that tail will be reading those pages from ram as well. The pages will be periodically synced to disk. I would be surprised if Apache blocks on waiting for the logs to be written out to disk myself.
share|improve this answer
add comment
Your Answer


Heart Problems As a Contraindication to Getting Vaccinated
There are some contraindications to getting vaccinated if you have a few specific heart problems, but having an arrhythmia typically isn't one of them.
Vaccine Timeline and History of Vaccines
From historical safety concerns, like the Cutter Incident in 1955 or the withdrawal of the first rotavirus vaccine in 1999, to improvements in vaccine safety and the control, elimination, and eradication of vaccine-preventable diseases, understanding the history of vaccines can help you understand how important vaccines really are to us all.
%d bloggers like this:


text: OBJECTIVE : This study aimed to characterize the risk of mental health problems among a representative sample of 6,310 4–17-year-olds, 147 of whom had parent-reported hearing problems. METHODS : The study used data from the Young Minds Matter survey. The Diagnostic Interview Schedule for Children (DISC-IV) assessed prevalence of mood, anxiety and behavioural disorders. The Strengths and Difficulties Questionnaire (SDQ) assessed social and emotional problems. Logistic regression models were used to estimate odds of having mental health problems adjusting for child factors (speech and language problems, global health, age and gender), family factors (family structure, parent income, education, financial strain and psychological distress) and school-related factors (bullying, school liking, school absence). RESULTS : In unadjusted analyses, children and young people with hearing problems had substantially higher odds of most mental health problems. Hearing problems were not associated with any mental health problem among 4–11-year-olds after adjusting for other child factors. After adjustments for child, family and school-related factors, 12–17-year-olds with a hearing problem remained at greater risk of social phobia and generalized anxiety (DISC-IV), and of peer and emotional problems (SDQ). CONCLUSIONS : Clinicians caring for children and young people with hearing problems should be alert for heightened risk of specific mental health problems based on age and the nature of hearing problems. Understanding a wider range of correlates associated with the higher prevalence of mental health problems may allow health professionals to be more informed about the nature of mental health problems that are comorbid to hearing problems.


Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I'd like to create a matplotlib pie chart which has the value of each wedge written on top of the wedge.
The documentation suggests I should use autopct to do this.
autopct: [ None | format string | format function ] If not None, is a string or function used to label the wedges with their numeric value. The label will be placed inside the wedge. If it is a format string, the label will be fmt%pct. If it is a function, it will be called.
Unfortunately, I'm unsure what this format string or format function is supposed to be.
Using this basic example below, how can I display each numerical value on top of its wedge?
plt.figure()
values = [3, 12, 5, 8]
labels = ['a', 'b', 'c', 'd']
plt.pie(values, labels=labels) #autopct??
plt.show()
share|improve this question
add comment
2 Answers 2
up vote 15 down vote accepted
autopct enables you to display the percent value using Python string formatting. For example, if autopct='%.2f', then for each pie wedge, the format string is '%.2f' and the numerical percent value for that wedge is pct, so the wedge label is set to the string '%.2f'%pct.
import matplotlib.pyplot as plt
plt.figure()
values = [3, 12, 5, 8]
labels = ['a', 'b', 'c', 'd']
plt.pie(values, labels=labels, autopct='%.2f')
plt.show()
yields enter image description here
You can do fancier things by supplying a callable to autopct. To display both the percent value and the original value, you could do this:
import matplotlib.pyplot as plt
plt.figure()
values = [3, 12, 5, 8]
labels = ['a', 'b', 'c', 'd']
def my_autopct(pct):
 total=sum(values)
 val=int(pct*total/100.0)
 return '{p:.2f}% ({v:d})'.format(p=pct,v=val)
plt.pie(values, labels=labels, autopct=my_autopct)
plt.show()
enter image description here
Again, for each pie wedge, matplotlib supplies the percent value pct as the argument, though this time it is sent as the argument to the function my_autopct. The wedge label is set to my_autopct(pct).
share|improve this answer

Great. This is all clear now. Thanks very much for you answer. – Kim May 29 '11 at 21:11
add comment
val=int(pct*total/100.0)
should be
val=int((pct*total/100.0)+0.5)
to prevent rounding errors.
share|improve this answer
add comment
Your Answer

discard
By posting your answer, you agree to the privacy policy and terms of service.
Not the answer you're looking for? Browse other questions tagged or ask your own question.


text:
EXPOSURE to mercury in the womb raises children's blood pressure in later life, according to a study in the Faeroe Islands. The datawhich indicate an effect at one-third of the current limit for mercury in foodare being examined by UN advisers meeting in Rome this week to review these limits.
Philippe Grandjean of Odense University in Denmark measured mercury in the umbilical cord blood of 917 babies born during 1986 and 1987 in the Faeroe Islands, where some mothers ate whalemeat containing mercury. An examination of the children seven years later revealed subtle impairments of their cognitive and motor skills, proportional to the level of mercury in cord blood (This Week, 22 November 1997, p 4). Further analysis of the data has now shown that the children exposed to higher levels of mercury in the womb also had significantly higher blood pressure.
Grandjean's study is the first to show ...
To continue reading this article, subscribe to receive access to all of newscientist.com, including 20 years of archive content.


text: We investigated the cellular behaviors that accompany the early stages of pharyngeal morphogenesis in Caenorhabditis elegans. The embryonic pharynx develops from a ball of cells into a linear tube connected anteriorly to the buccal cavity and posteriorly to the midgut. By using GFP reporters localized to discrete subcellular regions, we show that pharyngeal morphogenesis can be divided into three stages: (1) lengthening of the nascent pharyngeal lumen by reorientation of apicobasal polarity of anterior pharyngeal cells ("Reorientation"), (2) formation of an epithelium by the buccal cavity cells, which mechanically couples the buccal cavity to the pharynx and anterior epidermis ("Epithelialization"), and (3) a concomitant movement of the pharynx anteriorly and the epidermis of the mouth posteriorly to bring the pharynx, buccal cavity, and mouth into close apposition ("Contraction"). Several models can account for these cellular behaviors, and we distinguish between them by physically or genetically ablating cells within the digestive tract. These studies provide the first description of how the pharynx primordium develops into an epithelial tube, and reveal that pharyngeal morphogenesis resembles aspects of mammalian kidney tubulogenesis.


- Compatibility After Effects
 Please check exact version compatibility under the "COMPATIBILITY" tab below
Author: Real Creations
Try Add to Wishlist
Quick Overview
Maze algorithm is now much faster with cleaner path results. Create random vector mazes (labyrinths) in After Effects. mazeFX can also generate a unique solution with effect controls to fully control the appearance of the maze. Finally, it can use masks to control each maze's shape and place all of the needed parts in a single shape layer or create separate shape layers for each part of the maze.
Add Your Tags
mazeFX splash
mazeFX is a tool for Adobe After Effects, specifically designed to create random vector-based mazes (labyrinths). mazeFX is able to generate a unique solution for each maze and also create the appropriate effect controls, to take full control of the appearance of the maze. Finally, it has the ability to use masks to control the shape of each maze and also can put all of the needed parts in a single shape layer or create separate shape layers for each part of the maze.
mazeFX is a native After Effects tool and does not require or depend on any extra plug-ins.
mazeFX - circuitFX - Bundle
mazeFX - start end options
mazeFX - start end options
You can select between multiple position options individually for the Start & End points
of the generated solution path.
mazeFX - less paths
older versions v1.40 and newer
The speed and efficiency of the maze generation algorithm is vastly improved in version 1.40.
mazeFX now produces over 60% less vertices and path shapes!
On the above example of a 30x30 (900cells) maze, the new algorithm generated
579 paths instead of the 1801 paths the old version did.
mazeFX v1.1 - bezier masks
v1.0 v1.1 and newer
Old versions of mazeFX supported only masks with linear points/vertices. If your mask(s) contained any
bezier (curved) points, it would just be ignored. From v1.1, mazeFX supports bezier masks natively!
 mazeFX v1.1 - null helper
mazeFX can now generate a null helper layer that is attached at the tip of the solution
path and follows its position.
The main purpose of this new null helper is to make it easier to parent any layer to the tip of the solution path.
This option is only available in After Effects CC2018 and above.
You can easily adjust the the X and Y grid dimensions,
for a more dense or scattered pattern.
grid controls
 mazefx grid
 mazefx - filled boxes
 mazeFX start/end walls
Combining mazeFX with standard AE effects, produces interesting results.
Below are examples of using mazeFX along with
Polar Coordinates (Effect Menu > Distort > Polar Coordinates)
and CC Sphere (Effect Menu > Perspective > CC Sphere).
 You can use mazeFX as a good starting point for designing simple maze game-maps.
The examples below where created by generating separate shape layers for each part of the maze.
maze games
mediaFX custom effect
mazeFX creates the appropriate effect controls to allow you full control over the appearance of each maze.


text:
Use Messages in Test Sequences
Messages carry data between Test Sequence blocks and other blocks such as Stateflow® charts. Messages can be used to model asynchronous events. A message is queued until you evaluate it, which removes it from the queue. You can use messages and message data inside a test sequence. The message remains valid until you forward it, or the time step ends. For more information, see Messages in the Stateflow® documentation.
Receive Messages and Access Message Data
If your Test Sequence block has a message input, you can use queued messages in test sequence actions or transitions. Use the receive command before accessing message data or forwarding a message.
To create a message input, hover over Input in the Symbols sidebar, click the add message icon, and enter the message name.
receive(M) determines whether a message is present in the input queue M, and removes the message from the queue. receive(M) returns true if a message is in the queue, and false if not. Once the message is received, you can access the message data using the dot notation, M.data, or forward the message. The message is valid until it is forwarded or the current time step ends.
The order of message removal depends on the queue type. Set the queue type using the message properties dialog box. In the Symbols sidebar, click the edit icon next to the message input, and select the Queue type. For more information see Queuing Behavior of Stateflow Messages.
To send a message, create a message output and use the send command. To create a message output, hover over Output in the Symbols sidebar, click the add message icon, and enter the message name.
You can assign data to the message using the dot notation M.data, where M is the message output of the Test Sequence block. send(M) sends the message.
You can forward a message from an input message queue to an output port. To forward a message:
- Receive the message from the input queue using receive.
- Forward the message using the command forward(M,M_out) where M is the message input queue and M_out is the message output.
Compare Test Sequences Using Data and Messages
This example demonstrates message inputs and outputs, sending, and receiving a message. The model compares two pairs of test sequences. Each pair is comprised of a sending and receiving test sequence block. The first pair sends and receives data, and the second sends and receives a message.
Set the following path and model name variables.
filePath = fullfile(matlabroot,'examples','simulinktest'); model ='sltest_testsequence_data_vs_message';
Open the model.
Test Sequences Using Data
The DataSender block assigns a value to a data output M.
The DataReceiver block waits 3 seconds, then transitions to step S2. Step S2 transitions to step S3 using a condition comparing M to the expected value, and does the same for S3 to S4.
Test Sequences Using Messages
The MessageSender block assigns a value to the message data of a message output M_out, then sends the message to the MessageReceiver block.
The MessageReceiver block waits 3 seconds, then transitions to step S2. Step S2's transition evaluates the queue M with receive(M), removing the message from the queue. receive(M) returns true since the message is present. M.data == 3.5 compares the message data to the expected value. The statement is true, and the sequence transitions to step S3.
When step S3's transition condition evaluates, no messages are present in the queue. Therefore, S3 does not transition to S4.
Run the test and observe the output comparing the different behaviors of the test sequence pairs.
open_system([model '/Scope']) sim(model)


text:
Non-native Birds in the Elfin Forest
(where to look for the species):
c = maritime chaparral
o = coast live oak woodland
t = transit – occasionaly feed on periphery of the Forest.
z = oak/manzanita complex
-● = non-native species which is or has the potential to negatively impact the natives species of the Elfin Forest.


Home Discussion Forum How does Meditation help us focus on our goals and ambitions in...
How does Meditation help us focus on our goals and ambitions in life?
what should be the minimum time given to meditation everyday?
 1. It helps you distinguish between the things you really want and desire and the things that you think you want but wouldn't even think about within a few months. There is no minimum time to meditation as it varies for different people. Normally 10-20 minutes a day is enough time to help you focus and clear you mind, yet it may be more if you have been under a lot of stress.
 2. Meditation helps me to stay in the present moment. Whether it is a guided meditation or simply focusing on my breathing, it is all about being present with yourself at this moment. This ability to stay focused, and it does get better with practice, we take away from meditation into our everyday life.
 There is no minimum time…even a couple of minutes a day is good. Just try to do it at least a few minutes everyday. Enjoy!
 3. Besides finding that one's mind becomes more at peace, practitioners who persist in resting mind meditation develop a degree of suppleness such that they are very at ease and flexible in different conditions. A state of complete suppleness or flexibility and complete delight emerges. Higher degree of awareness to what is going on in and around one may result.
 At the outset, frequent, short sessions are recommended rather than longer sessions. Keep the awareness fresh. One should stop one's practice while still in a vivid state of calm abiding, so that one resumes the practice with enthusiasm and one's practice doesn't deteriorate.
Please enter your comment!
Please enter your name here


text:
Connect to share and comment
University of Kansas researchers found that people with a particular heart rhythm problem saw a reduction in their symptoms while practicing yoga.
A new study shows yoga can help with an irregular heartbeat.
Researchers at the University of Kansas found that people with a particular heart rhythm problem saw a reduction in their symptoms while practicing yoga.
Atrial fibrillation (AF) occurs when the heart's upper chamber shakes instead of contracting normally, reported Forbes.
The participants did yoga for three months during the study.
The patients saw a significant reduction in the recurrences of the heart episodes.
About 20 percent of those who had an episode in the control period had no episode while practicing yoga, said HealthDay.
"These findings underscore the therapeutic value of a low-cost non-invasive therapy such as yoga to effectively complement the conventional treatment strategies in improving atrial fibrillation patient care," wrote the study authors, according to MedPage Today.
"Given the high prevalence of [the condition] and costs of conventional therapy, the public health relevance of these findings is very pertinent."
Yoga can have relaxing effects on the nervous system.
It can also lower the heart rate and reduce blood pressure.
The findings were published in the Journal of the American College of Cardiology.


Bullet Character Controller
Bullet comes with a simple character controller already included. A character controller is a class intended to provide a simple way of controlling a player (or NPC) object the way we are used to from many first-person-shooters or role-playing-games. Achieving satisfying results for character movement is usually a difficult thing when using "physicals", e. g. rigid bodies. The solution is to use so-called "kinematic" objects, that is objects which don't respond to forces, and instead get moved by pushing/turning them around by hand.
Notice: The module panda3d.bullet doesn't implement it's own character controller. It simple exposes the character controller which comes with the Bullet physics engine. This character controller is still in an early stage, and it lacks a few features. In particular, Bullet does not implement a proper interaction between dynamic bodies and the character controller.
The following code will first create a shape with total height of 1.75 units and total width of 0.8 units. We have to subtract twice the radius from the total height in order to get the length of the cylindrical part of the capsule shape.
float height = 1.75;
float radius = 0.4;
PT(BulletCapsuleShape) c_shape = new BulletCapsuleShape(radius, height -2 * radius);
PT(BulletCharacterControllerNode) controller;
controller = new BulletCharacterControllerNode(c_shape, 0.4f, name.c_str());
NodePath cha_np = window->get_render().attach_new_node(controller);
cha_np.set_pos(-2, 0, 14);
Now that we have a character controller within our scene we need to control it's movement. The following code snippet shows one way of moving the character controller by keyboard input. Of course a character controller representing a NPC (non-player character) would not read the keyboard state but have the linear velocity (speed) and the angular velocity (omega) computed by some kind of AI algorithm.
void characterMove (std::vector *KeyMap) {
 LVecBase3 speed = LVecBase3(0, 0, 0);
 float omega = 0.0;
 if (KeyMap->at(MOVE_FORARD)) { speed.set_y (3.0); }
 if (KeyMap->at(MOVE_REVERSE)) { speed.set_y (-3.0); }
 if (KeyMap->at(MOVE_LEFT)) { speed.set_x (-3.0); }
 if (KeyMap->at(MOVE_RIGHT)) { speed.set_x (3.0); }
 if (keyMap->at(TURN_LEFT)) { omege = 120.0; }
 if (keyMap->at(TURN_RIGHT)) { omega = -120.0 }
 controller->set_linear_movement(speed, true);
Next we want to make the character controller jump. The following code snippet shows a sample method which will make the character jump. We could for example call this method when the player presses a specific key.
After setting the maximum jump height and the initial upward speed we need to trigger the jump using the
void do_jump(void ) {
By the way: we can check if the character controller is airborne using the method
Finally we want the character to crouch or duck. To achieve this we simply change the scale of the character's collision shape. Here in this example we reduce the vertical dimension to 60 percent (0.6) when crouching, while the normal vertical scale is 1.0. We don't change the horizontal scales.
Since we have the visual node of the player reparented to the character controller node it will change it's scale too automatically.


text:
The following is a short list of things to check when you have a problem.
- Did you call mongoc_init() in main()? If not, you will likely see a segfault.
- Have you leaked any clients or cursors as can be found with mongoc-stat ?
- Have packets been delivered to the server? See egress bytes from mongoc-stat .
- Does ASAN show any leaks? Ensure you call mongoc_cleanup() at the end of your process to cleanup lingering allocations from the MongoDB C driver.
- If compiling your own copy of MongoDB C Driver, consider using the cmake option -DENABLE_TRACING=ON to enable function tracing and hex dumps of network packets to STDERR and STDOUT.
The MongoDB C Driver comes with an optional and unique feature to help developers and sysadmins troubleshoot problems in production. Performance counters are available for each process using the C Driver. If available, the counters can be accessed outside of the application process via a shared memory segment. The counters may be used graph statistics about your application process easily from tools like Munin or Nagios. For example, the command watch --interval=0.5 -d mongoc-stat $PID may be used to monitor an application.
Performance counters are only available on Linux platforms and macOS arm64 platforms that support shared memory segments. On supported platforms, they are enabled by default. Applications can be built without the counters by specifying the cmake option -DENABLE_SHM_COUNTERS=OFF. Additionally, if performance counters are already compiled, they can be disabled at runtime by specifying the environment variable MONGOC_DISABLE_SHM.
Performance counters keep track of the following:
- Active and Disposed Cursors
- Active and Disposed Clients, Client Pools, and Socket Streams.
- Number of operations sent and received, by type.
- Bytes transferred and received.
- Authentication successes and failures.
- Number of wire protocol errors.
An operation is considered "sent" when one or more bytes of the corresponding message is written to the stream, regardless of whether the entire message is successfully written or if the operation ultimately succeeds or fails. This does not include bytes that may be written during the stream connection process, such as TLS handshake messages.
To access counters for a given process, simply provide the process id to the mongoc-stat program installed with the MongoDB C Driver.
$ mongoc-stat 22203 Operations : Egress Total : The number of sent operations. : 13247 Operations : Ingress Total : The number of received operations. : 13246 Operations : Egress Queries : The number of sent Query operations. : 13247 Operations : Ingress Queries : The number of received Query operations. : 0 Operations : Egress GetMore : The number of sent GetMore operations. : 0 Operations : Ingress GetMore : The number of received GetMore operations. : 0 Operations : Egress Insert : The number of sent Insert operations. : 0 Operations : Ingress Insert : The number of received Insert operations. : 0 Operations : Egress Delete : The number of sent Delete operations. : 0 Operations : Ingress Delete : The number of received Delete operations. : 0 Operations : Egress Update : The number of sent Update operations. : 0 Operations : Ingress Update : The number of received Update operations. : 0 Operations : Egress KillCursors : The number of sent KillCursors operations. : 0 Operations : Ingress KillCursors : The number of received KillCursors operations. : 0 Operations : Egress Msg : The number of sent Msg operations. : 0 Operations : Ingress Msg : The number of received Msg operations. : 0 Operations : Egress Reply : The number of sent Reply operations. : 0 Operations : Ingress Reply : The number of received Reply operations. : 13246 Cursors : Active : The number of active cursors. : 1 Cursors : Disposed : The number of disposed cursors. : 13246 Clients : Active : The number of active clients. : 1 Clients : Disposed : The number of disposed clients. : 0 Streams : Active : The number of active streams. : 1 Streams : Disposed : The number of disposed streams. : 0 Streams : Egress Bytes : The number of bytes sent. : 794931 Streams : Ingress Bytes : The number of bytes received. : 589694 Streams : N Socket Timeouts : The number of socket timeouts. : 0 Client Pools : Active : The number of active client pools. : 1 Client Pools : Disposed : The number of disposed client pools. : 0 Protocol : Ingress Errors : The number of protocol errors on ingress. : 0 Auth : Failures : The number of failed authentication requests. : 0 Auth : Success : The number of successful authentication requests. : 0
Submitting a Bug Report
Think you've found a bug? Want to see a new feature in the MongoDB C driver? Please open a case in our issue management tool, JIRA:
- Create an account and login.
- Navigate to the CDRIVER project.
- Click Create Issue - Please provide as much information as possible about the issue type and how to reproduce it.
Bug reports in JIRA for all driver projects (i.e. CDRIVER, CSHARP, JAVA) and the Core Server (i.e. SERVER) project are public.
2017-present, MongoDB, Inc


text:
Category:Gobies/Blennies - Common Names
From The Aquarium Wiki
|Contents||Top · 0-9 · A B C D E F G H I J K L M N O P Q R S T U V W X Y Z|
This category lists the common names of Gobies, Blennies, Jawfish and Dartfish. Whilst this name is often made up by resellers and has no scientific merit, it is the name often first associated to the animal by its locals, beginners and the casual aquarist.
- See here for a list of Gobies/Blennies etc by Latin name.
Pages in category "Gobies/Blennies - Common Names"
The following 143 pages are in this category, out of 143 total.


What does n centauri mean?
Definitions for n centauri
Here are all the possible meanings and translations of the word n centauri.
Wiktionary
 1. N Centauri(ProperNoun)
 A double star in the constellation of Centaurus.
Freebase
 1. N Centauri
 N Centauri is a double star in the constellation Centaurus. It is approximately 260 light years from Earth. The more luminous star is a blue-white B-type main sequence dwarf with an apparent magnitude of +5.26. Its fainter companion is a yellow-white F-type dwarf with an apparent magnitude of +7.72. The two stars show common proper motion, indicating they may be gravitationally bound. They are separated by 18 arcseconds.
Anagrams for n centauri »
 1. uncertain
 2. runcinate
Numerology
 1. Chaldean Numerology
 The numerical value of n centauri in Chaldean Numerology is: 5
 2. Pythagorean Numerology
 The numerical value of n centauri in Pythagorean Numerology is: 6
Sample Sentences & Example Usage
 1. Douglas Adams:
 In those days spirits were brave, the stakes were high, men were real men, women were real women and small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri.
 2. J. Michael Straczynski:
 No dictator, no invader, can hold an imprisoned population by force of arms forever. There is no greater power in the universe than the need for freedom. Against that power, governments and tyrants and armies cannot stand. The Centauri learned this lesson once. We will teach it to them again. Though it take a thousand years, we will be free.
 3. Philip Lubin:
 We could propel a 100 kilogram robotic craft to Mars in a few days. If you want to push something like shuttle class, it takes you roughly in order of month to get there, within 25 year light of Earth, there are actually quite a few potential exoplanets and habitable things to visit - that may be habitable. We don't know of course. There are many targets to choose from. The closest is Alpha Centauri, which is about four light years away.
Images & Illustrations of n centauri
 1. n centaurin centaurin centauri
Translation
Find a translation for the n centauri definition in other languages:
Select another language:
Discuss these n centauri definitions with the community:
Word of the Day
Would you like us to send you a FREE new word definition delivered to your inbox daily?
Please enter your email address:
Citation
Use the citation below to add this definition to your bibliography:
Style:MLAChicagoAPA
"n centauri." Definitions.net. STANDS4 LLC, 2018. Web. 24 Feb. 2018. <_URL_ centauri>.
Are we missing a good definition for n centauri? Don't keep it to yourself...
Nearby & related entries:
Alternative searches for n centauri:
Thanks for your vote! We truly appreciate your support.


How do you remember a name??? - Programmers Heaven
Howdy, Stranger!
How do you remember a name???
Eeehzzzz People,
i'm making an Flash game and i want People to enter a name at the beginning of the game...
And the later on in the gam they see that name,
HOW the heck do you do that in flash???
Allrighty thanxxxx
 - KnightKnight Posts: 34Member
 Its Simple.
 First create a text window and select Text options to input.
 Then you type in a variable name.
 Then you create a new text window anywhere in your flash game.
 and select the Text options to Dynamic Text.
 Then type in the variable name.
 A sample? (Open this in flash)
 - ajoyajoy Posts: 17Member
 hey there,
 1.first declare a variable which will contain your name
 2. when a user enters a name it gets stored into the variable
 3. when you call the movie in which you wnat to display the name you pass the value of this variable into the movie
 hope this works
 tell me if you need a fla file with a simple example
Sign In or Register to comment.


This block will introduce balanced and unbalanced forces. These forces are around us and we take many of them for granted. We don't even realise that they are there and so it comes as a surprise to try and work with them.
We are going to introduce many terms and some may seem confusing. Don't worry we will explain them and make it easier to understand them.
When we are describing forces we are concerned with two things:
1. Direction of the force
2. The size of the force.
We can show forces by using arrows (they are easy to draw and give lots of information about the force).
Look below at some examples.
Here is a ball. There are 2 forces acting on the ball. Just by looking at the arrows can you tell if it is moving or still. If you think it is moving which direction would you say?
Go to answer
The ball is moving to the right.
The biggest arrow is pointing to the right and a smaller arrow is pointing to the left.
If you wanted to show that the ball was still, What do you think the arrows would look like?
Go to answer
This shows that the two forces are equal. There is as much force from the left as there is from the right.
These forces are BALANCED. This means that the object is either still (at rest) or moving at constant speed.
Constant speed?
This seems tricky. I will try and explain.
Think of travelling in a car.
1. The car is at rest (still)
What are the forces on the car (we have left out gravity for the moment).
Where do you think the size and direction of the arrows will be?
Go to answer
Both arrows are equal size and opposite in direction.
The forces are balanced.
2. Now you want the car to move forward by pressing on the accelerator and providing power to the wheels to get the car moving. What do the arrows look like now?
Go to answer
Now the forces are unbalanced (the car is accelerating to the right)
3. You get to 60miles per hour and you don't want to go any faster. You want to keep going at the same speed (60 miles per hour). You have to keep the engine going by pressing the accelerator pedal (but not too far).
What happens to the arrows now?
Go to answer
That's right, the arrows are the same size (the forces are balanced again. You must keep the accelerator pressed, though).
What happens if you take your foot off the accelerator? You are going to slow down. How will you show this with arrows?
Go to answer
That's right the arrow on the right is bigger than the arrow on the left. This shows that the force from the right is greater than the force from the left so the car will slow down and eventually stop.
We know how to show that with arrows don't we?
But what can we say about the forces when the car is still (at rest)?
Go to answer
The forces are balanced. The arrows are equal and opposite.
So far we have looked at forces. We have not talked about what those forces are. We are only discussing the size and direction of forces at the moment.
Forces can be balanced or unbalanced.
Balanced forces mean that an object is either still (at rest) or moving with constant (the same) speed. The forces are equal but opposite.
Unbalanced forces means that an object is speeding up or slowing down. The forces are not equal.
Unbalanced forces change an object's speed shape or direction.
Think of throwing a ball up in the air. Here are the forces acting on the ball
Here is a picture of the ball going up and coming back down. Look at the forces. Does this picture make sense to you now?
1. The ball is at rest;
2. The ball accelerates upwards;
3. The ball is slowing down;
4. The ball starts to move back down;
5. The ball lands and is at rest again.
This can look hard but it really is easy and after we have covered this block you will wonder what was hard about it.
Well that is enough for today.
Next time we will look at the force of friction.
Return to top


text:
Gets or sets the source for the image.
Assembly: System.Windows (in System.Windows.dll)
Dependency property identifier field: SourceProperty
You can set the by specifying an absolute URL (e.g. _URL_ or specify a URL relative to the XAP file of your application.
You can set this property in XAML, but in this case you are setting the property as a URI. The XAML behavior relies on underlying type conversion that processes the string as a URI, and calls the BitmapImage(Uri) constructor. This in turn potentially requests a stream from that URI and returns the image source object.
The ImageFailed event can occur if the initial attribute value in XAML does not specify a valid source.
The following example shows how to create an image.
Image myImage = new Image(); myImage.Source = new BitmapImage(new Uri("myPicture.jpg", UriKind.RelativeOrAbsolute)); LayoutRoot.Children.Add(myImage);
In this example, the property is used to specify the location of the image you want to display. You can set the by specifying an absolute URL (e.g. _URL_ or specify a URL relative to the XAP file of your application. So for the previous example, you would need to have the XAP file in the same folder as myPicture.png.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.


like this:
class Routes(application: controllers.Application, assets: controllers.Assets) extends GeneratedRouter {
 def routes = {
 case ("GET", "/") => application.index
 case ("POST", "/save") => application.save
 case ("GET", "/assets/:file") => assets.versioned("/public", file)
 }
}
The default is to use the static routes generator. You must use this if you are not ready to migrate all of your Java actions to be non static methods, or your Scala actions to be classes. In most cases, this is quite straightforward to do, in Java it requires deleting the static keyword, in Scala it requires changing the word object to class. The static router still supports the @ operator, which will tell it to look up the action from a runtime Injector, you may find this useful if you are in a transitional period where some of your actions are static and some are injected.
If you wish to switch to the injected generator, add the following to your build settings in build.sbt:
routesGenerator := InjectedRoutesGenerator
By default Play will automatically handle the wiring of this router for you using Guice, but depending in the DI approach you're taking, you may be able to customise it.
The injected routes generator also supports the @ operator on routes, but it has a slightly different meaning (since everything is injected), if you prefix a controller with @, instead of that controller being directly injected, a JSR 330 Provider for that controller will be injected. This can be used, for example, to eliminate circular dependency issues, or if you want a new action instantiated per request.
In addition, Play now, by default, generates the router in the router package, instead of at the root package. This is to aid with dependency injection, so if needed it can be manually created or bound, since classes in the root package can't usually be referenced.
§Dependency Injected Components
While Play 2.4 won't force you to use the dependency injected versions of components, we do encourage you to start switching to them. The following tables show old static APIs that use global state and new injected APIs that you should be switching to:
§Scala
Old API New API Comments
Lang Langs
Messages MessagesApi Using one of the preferred methods, you can get a Messages instance.
DB DBApi or better, Database You can get a particular database using the @NamedDatabase annotation.
Cache CacheApi or better You can get a particular cache using the @NamedCache annotation.
Cached object Cached instance Use an injected instance instead of the companion object. You can use the @NamedCache annotation.
Akka N/A No longer needed, just declare a dependency on ActorSystem
WS WSClient
Crypto Crypto
GlobalSettings HttpErrorHandler, HttpRequestHandler, and HttpFilters Read the details in the GlobalSettings section below.
§Java
Old API New API Comments
Lang Langs Instances of Lang objects are still fine to use
Messages MessagesApi Using one of the preferred methods, you can get a Messages instance, and you can then use at to get messages for that lang.
DB DBApi or better, Database You can get a particular database using the @NamedDatabase annotation.
JPA JPAApi
Cache CacheApi You can get a particular cache using the @NamedCache annotation.
Akka N/A No longer needed, just declare a dependency on ActorSystem
WS WSClient
Crypto Crypto The old static methods have been removed, an instance can statically be accessed using play.Play.application().injector().instanceOf(Crypto.class)
GlobalSettings HttpErrorHandler, HttpRequestHandler, and HttpFilters Read the details in the GlobalSettings section below.
§GlobalSettings
If you are keen to use dependency injection, we are recommending that you move out of your GlobalSettings implementation class as much code as possible. Read the 'GlobalSettings' migration documentation for the gory details.
§Plugin deprecated
Both Java play.Plugin and Scala play.api.Plugin types have been deprecated. Read migrating Plugin to Module to update your code to use play.api.inject.Module.
§Configuration changes
Play 2.4 now uses reference.conf to document and specify defaults for all properties. You can easily find these by going here and searching for files called reference.conf.
Additionally, Play has now better namespaced a large number of its configuration properties. The old configuration paths will generally still work, but a deprecation warning will be output at runtime if you use them. Here is a summary of the changed keys:
Old key New key
application.secret play.crypto.secret
application.context play.http.context
session.* play.http.session.*
flash.* play.http.flash.*
application.router play.http.router
application.langs play.i18n.langs
application.lang.cookie play.i18n.langCookieName
parsers.text.maxLength play.http.parser.maxMemoryBuffer
csrf play.filters.csrf
evolutions.* play.evolutions.*
applyEvolutions.<db> play.evolutions.db.<db>.autoApply
ws play.ws
§Akka configuration
Play 2.4 now has just one actor system. Before, the internal actor system was configured under play.akka and the Akka plugin was configured under akka. The new combined actor system is configured under akka. There is no actor system configuration under play.akka anymore. However, several Play specific settings are still given under the play.akka prefix.
If you want to change how the actor system is configured, you can set play.akka.config = "my-akka", where my-akka is your chosen configuration prefix.
See the Java or Scala Akka page for more information.
§Thread pool configuration
Previously the two actor systems had slightly different thread pool configuration. Now that there is only one actor system, the configuration has been merged. We've also added a LIFO (stack-based) scheduling rule which should improve performance in most Play applications.
The following settings are the new defaults in Play 2.4. They've been shown to have good performance in our testing, but every application is different so you may need to tweak them or revert them to the Play 2.3 settings. You can do that by overriding any of these values in your application.conf. Here are the new settings:
akka {
 actor {
 default-dispatcher {
 fork-join-executor {
 parallelism-factor = 1.0
 parallelism-max = 24
 task-peeking-mode = LIFO
 }
 }
 }
}
In particular, you might want to try the default Akka settings:
akka {
 actor {
 default-dispatcher {
 fork-join-executor {
 parallelism-factor = 3.0
 parallelism-max = 64
 task-peeking-mode = FIFO
 }
 }
 }
}
See the thread pool configuration section for more information.
§HttpRequestHandler
The HttpRequestHandler that Play uses by default delegates to the legacy GlobalSettings methods. If you're not using GlobalSettings in your application then you can increase performance slightly by changing the handler. You can do that by adding the following to your settings:
play.http.requestHandler = "play.http.DefaultHttpRequestHandler"
§Logging
Logging is now configured solely via logback configuration files.
§JDBC connection pool
The default JDBC connection pool is now provided by HikariCP, instead of BoneCP.
To switch back to BoneCP, you can set the play.db.pool property in application.conf:
play.db.pool = bonecp
The full range of configuration options available to the Play connection pools can be found in the Play JDBC reference.conf.
You may run into the following exception:
Caused by: java.sql.SQLException: JDBC4 Connection.isValid() method not supported, connection test query must be configured
This occurs if your JDBC-Drivers do not support Connection.isValid(). The fastest and recommended fix is to make sure you use the latest version of your JDBC-Driver. If upgrading to the latest version does not help, you may specify the connectionTestQuery in your application.conf like this
#specify a connectionTestQuery. Only do this if upgrading the JDBC-Driver does not help
db.default.hikaricp.connectionTestQuery="SELECT TRUE"
More information on this can be found on the HikariCP Github Page
§Body Parsers
The default body parser is now play.api.mvc.BodyParsers.parse.default. It is similar to anyContent parser, except that it only parses the bodies of PATCH, POST, and PUT requests. To parse bodies for requests of other methods, explicitly pass the anyContent parser to Action.
def foo = Action(play.api.mvc.BodyParsers.parse.anyContent) { request =>


text:
DCT-OFDM tabanlı görünür ışık haberleşmesi
Type : Conference paper
Publication Status : published
Access : restrictedAccess
Visible light communication (VLC) is a short-range wireless transmission technique in which light emitting diodes (LEDs) are used as data transmitters. Because of non-coherent characteristics of LEDs, only intensity can be used in transmission, therefore, the signal driven to LEDs should be real valued and non-negative. The output of inverse discrete Fourier transform (IDFT) process in conventional orthogonal frequency division multiplexing (OFDM) is complex-valued. In VLC systems, to make the output of IDFT block real valued, Hermitian symmetry is applied at the input. This reduces spectral efficiency to half. In this paper, to prevent the decrease in spectral efficiency of VLC systems, discrete cosine transform (DCT)-based OFDM structure with real valued outputs is proposed. The error rate performance of the proposed system is compared with DFTbased OFDM system over indoor realistic VLC channel models.
Source : Signal Processing and Communication Application Conference (SIU), 2016 24th
Date : 2016
Share this page


Why Browser Detection is Bad ?
It is against the spirit of web standards
The whole reason that web standards exist is so that we don't have to write specific code for specific environments. We should write code that adheres establishment of standards and software in charge of displaying our code should display it as the standards dictate.
It relies on the browser user-agent string,which has a hilariously disastrous history and it is easily spoofable. Also tt can hinder devices
Example:
you detect for the iPhone and serve is special content. Now the iPhone can never see the web page as other browsers see it, despite it being fully capable of doing so.
why we do it?
We do it because different browsers handle things differently and browser detection can get us out of a pinch and get things working how they should.
sometimes the situations leading up to us resorting to browser-detection are rage-inducing. But remember it's often not the browser that is at fault. Even in the case of IE 6, it was the most standards-compliant and advanced browser of it's time when it was released. And some of the standards that we have today were not complete at that time.
What should we do instead?
Real-world web design sometimes needs quick fixes, and making damn sure features work as intended. This doesn't always allow for altruistic choices that leave out some functionality because it is the "right thing to do."
Ideally
we would do capability testing. That's the information we really need right? Test if the environment we are in is capable of what we want to do. If it is, do it.
-By
Nitin Uttarwar
Helical It Solution


text:
Trays of wild rice growing in the AWS office
It's been quite a winter (and now, basically, spring!) for these wild rice seeds, which have come a long way from when we harvested them last fall. Looking at what we've done to store and propagate them, it's really interesting to compare it to the normal cycle of life for a wild rice plant in our watershed.
Let's start with the seed. The wild rice around our watershed usually are ready to harvest around September, all the way through October. Around that time, as the fall weather gets colder and turns to winter, the wild rice seeds that remain are either eaten by the birds or lie dormant in pockets of mud.
The AWS education and stewardship teams were fortunate to have sixteen students from Georgetown Day School over on February 28 for a morning of watershed education, hard work, and even a little bit of fun. These students spent most of their time planting rice sprouts in preparation for a wetland stewardship project in several weeks. So far they have been responsible for creating a healthy sand and soil mixture, filling several flats with this mixture, and then very delicately placing the germinated seeds just under the surface of the soil. All told, we now have 512 new rice "plugs" under grow lights here in our office. It is obvious that these students did an excellent job, as many of these rice plants have sprouted stems of a couple centimeters and a few even have tiny leaves already! This was our first Rice Rangers planting activity of the season and it has set a great precedent for our work to come. Thanks to the Georgetown Day School students for all their hard work!
AWS Rice Rangers ready to restore the wetlands!
The North Face has awarded a $2,500 grant to the Anacostia Watershed Society to help children explore the outdoors through our Rice Rangers program. AWS was selected from hundreds of applications because of our commitment to innovative hands-on watershed education. In the final grant cycle of 2011, The North Face awarded $125,000 Explore Fund grants to 51 projects helping more than 30,000 kids to connect to nature.
"We believe in the importance of bringing youth together from diverse backgrounds and providing them with opportunities to get outdoors," said Ann Krcik, director of Outdoor Exploration at The North Face. "We support organizations that work to create these opportunities for youth because we've seen firsthand how these programs can ignite a passion for the outdoors and teach them the importance of protecting the places we play for generations to come."
Stay informed of the latest watershed issues by subscribing to our free email updates & event announcements.


text:
We report a case of pneumococcal neonatal meningitis in an Italian girl, occurred 3 days after birth. CSF microscopic examination revealed the presence of Gram Positive diplococci, identified as S. pneumoniae after detection of pneumococcal capsular antigen. Tests for Group B Streptococcus on mother and child were both negative. The case was peculiar because in industrialized countries the most common agents responsible of neonatal meningitis are GBS, E. coli and Listeria monocytogenes, where pneumococcal meningitis in the neonatal period is quite uncommon: It is then necessary to consider that, in any case of early onset neonatal meningitis, S. pneumoniae is a possible yet uncommon causative agent, and that the microbiological profile of early onset neonatal meningitis in industrialized countries might change substantially because of migratory streams and the subsequent diffusion of emerging microorganisms, which are unusual at the present time.
Mirri G, Borrominia A, Martinelli N, Maggiore F, Casero D, Veronelli E and Agosti M
All Published work is licensed under a Creative Commons Attribution 4.0 International License
Copyright © 2019 All rights reserved. iMedPub LTD Last revised : October 15, 2019


Board of Education Honors Science Olympiad Students
1 thumbnail167352
The Board of Education and central administrators honored the members of the High School West Science Olympiad team during the Feb. 25 board of education meeting.
The Science Olympiad team is comprised of 33 students that make up two teams of 15 with three alternates. The team is coached by Alyssa Marron and Catherine Abbott.
During their meetings, the students prepare for events for the regional competition. Some of these events include testing of knowledge in specific fields, inquiry labs (such as a chemistry titration) and building. This year's building event was for a gravity vehicle and a ping pong parachute. For these events, students must build within the criteria and constraints presented to them and test the performance of their project.
Some highlights from the regional competition include:
Ninth place school overall for the A team
10th place team overall for the A team
First place: Write It, Do It (Matt Supa and Vanessa Matthew)
Fourth place: Astronomy (Ivan Liu and Henna Chaudhry)
Sixth place: Experimental Design (Carolyn Qu, Sidney Padmanaban and Fiona Needham)
Sixth place: Designer Genes (Sidney and Fiona)
Ninth place: Write It, Do It (Sidney and Fiona)
Ninth place: Geological Mapping (Brett Carnival and Rehan Mian)
Ninth place: Code Busters (Carolyn, Maddie Raeihle and Fiona)


text:
Value: 60 Points
Due Date: June 2
Essential Question: How is _____(insert national park) beautiful, powerful and inspiring.
Transcendentalist in the 19th century viewed nature as beautiful, powerful and inspiring. In the 21st century individuals still view nature in the same way. The National Parks are celebrating their "100th birthday" and in this assessment students will analyze the essential question and apply to the National Park that has been assigned.
Insert Groan: This is an individual assessment.
Step 1: In order to analyze the essential question it is important research the topic in detail.
Step 2: Students need to type in the following url _URL_ and find their park.
Step 3: Each national park has their own website as well - go to it, explore, what do you see?Step 4: Take notes that will help you to answer the essential question. ( you will need them)
This tutorial guides students to :
1. Create an audioboom account using google chrome.
2.How to navigate audioboom.
3.How to create a voicethread.
4.YuckHated It - How to delete a voice thread from audioboom.
5.How to publish audioboom.
6.How to insert image.
I highly recommend that students create a script.
This tutorial guides students on the following:
If you already have an account from a previous class just log in and create.


text:
Air Compressor Duty Cycle Reduction in Passenger Bus Application
Today urban buses are equipped with more air consuming devices for an example pneumatic doors, exhaust brake, air suspension and in SCR system to name a few. This has resulted in higher air demand leading to high compressor duty cycles which cause conditions (such as higher compressor head temperatures) that may adversely affect air brake charging system performance. These conditions may require additional maintenance due to a higher amount of oil vapor droplets being passed along into the air brake system. Factors that add to the duty cycle are air suspension, additional air accessories, use of an undersized compressor, frequent stops, excessive air leakage from fittings, connections, lines, chambers or valves, etc. This paper discussed about methodology used to reduce air consumption of air consuming devices used in urban bus application. Performance assessment of air consuming devices with minimum available air pressure was conducted and found satisfactory.


...
C# Quickstart
This tutorial will help you set up a running example app.
The cheat sheet can be found here.
The C# SDK Documentation can be found here.
In this tutorial you will learn to:
 - Set up a backend with a custom class "Todo".
 - Deploy the backend
 - Create a simple Windows Phone App project with the generated SDK
 - Set up the connection to the backend and create a User
 - Have a look at the data in your backend
 - Create Todo objects in C# and store them in the backend
 - Query data from the backend
2. Now enter a unique name for your application e.g. "YourNameTodoList".
Since we plan to give developers the opportunity to share projects, application names must be unique in the system. You do not need any of the predefined modules in this tutorial.
4. Go to the "Class Editor"-Tab to create a class in our backend. You will be asked for a class name after entering the tab. Call the first class "Todo". Scroll down to the attributes and add a String "description", a Number "done" and a Date "untilDate".
5. Deploy your Backend by pressing the "Deploy"-Button.
6. Go to SDK Tab and download the C# library by pressing "Download SDK" button. You will get a zip file with your generated classes and all necessary libraries.
7. Start Visual Studio and create a new solution with a Windows Phone App project (in the New Project Wizard select Templates -> Visual C# -> Store Apps -> Windows Phone Apps -> Blank App (Windows Phone)). You should be able to run the still empty project on an emulator or a connected Windows Phone 8 device.
8. Create another project – this time a Portable Class Library. In the project properties you can define the PCL targets / profile. Choose at least Windows Phone 8.1 as target, but you can additionally choose Windows Store,.NET 4.5 as target and even Xamarin if you have installed its add-ins.
You cannot add Windows Phone 8.0 as target, because the System.Linq.Parallel namespace, which is used by the SDK, is not supported on that platform.
This means you can't use PCL Profile 259. Instead we recommend that you use PCL Profile 111. If your IDE doesn't show the profile number in the properties, you can open the.csproj file of the PCL project and see (and change) the profile there.
9. If your IDE generated a Class1.cs file, delete it. Then copy the folder "Com" from the downloaded SDK into the project (just drag and drop from the explorer). When you press F6 now, there will be compiled errors because some third-party libraries are missing. Right-click on References (in the Portable Class Library project) and select "Manage NuGet Packages…". Then choose "online" and "nuget.org".
Now you have to add the following NuGet-Packages to your PCL:
If you are targeting Windows Phone 8 or later and no previously added package depended on it, you also need to add Microsoft.Net.Http Version:2.2.29! Unfortunately, due to a problem with this package, GZip-Compression for outgoing and incoming requests won't be available in this case.
If you're not targeting Windows Phone 8 or later, please make sure that they're not selected as target frameworks in your project's build options.
Newer versions of the packages probably work as well, but we ran our tests with the versions mentioned above and thus only support them.
If you use the SDK as PCL project, you also have to install the NuGet Packages Xam.Plugin.Connectivity and SQLite Net PCL in the specific target projects. On some Windows targets (e.g. Windows 8 store app or Windows Phone 8.1 app), the SQLite-net PCL also requires you to reference the Microsoft Visual C++ Runtime Package for Windows (will throw System.TypeInitializationException from SQlitePCL.raw if required and missing).
When building your target project, the Xam.Plugin.Connectivity may complain about a duplicate "Plugin.Connectivity.pdb" on your build-path. You will have to delete the file either from folder [MyProjectFolder]/packages/Xam.Plugin.Connectivity.[Version]/lib/portable-[targets] or from MyProjectFolder/packages/Xam.Plugin.Connectivity.[Version]/lib/[target] (whereas "MyProjectFolder" is the main folder of your solution, "Version the installed version number of the package, "targets" the different supported targets for this library, as of writing "net45+wp80+wp81+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10+UAP10" and "target" your specific target for the project, e.g. win8).
When using MonoDevelop you might have to change the target framework to 4.5 in the project options if it's set to 4.0 by default. When using Linux, you'll also need Mono 3.0 or later, which might not be available through the official software repositories of some distributions.
When using Monodevelop in a Linux environment, you need to reference the mentioned libraries to both the library project containing the SDK and the very project itself. You also have to select the "Local Copy" option in preference dialog of each referenced library.
For "Universal Windows Platform" (UWP/UAP) apps, we tested our SDK in a "Universal Windows" library instead of a legacy Portable Class Library. We used the above mentioned NuGet dependencies and developed the test app on Windows 10 Fall Creators Update (Windows version 1709 build 16299.64) with Visual Studio 2017 (version 15.4.4), Windows SDK 10.0.16299.15 and targeted the app to Windows build 16299 (Fall Creators Update). If you encounter errors with another configuration, please contact our support.
Now all projects should compile successfully.
10. The two separate projects compile successfully, but they have to be brought together. The Windows Phone App project needs a reference to the SDK project. To do that, you can open the Add Reference Wizard for the Windows Phone App project and then select "solution" and then the SDK project.
The preparation is now finished and you can now start with the actual development of the app.
The example app we're going to create now won't be ready for use in production. Its only purpose is to show how to use the SDK. For example, we won't implement a login screen, but rather a hard coded login at app startup with credentials of an example user.
1. Let's login the user when the main screen gets shown.
For that event there's an event handler. It's called OnNavigatedTo. It's defined in the class "Page", which is a base class of the class "PhoneApplicationPage", which is a base class of the main page, which is where you add your code. So you can just override it. Open MainPage.xaml.cs, which is the code-behind of MainPage.xaml. Create a separate method for the sign up / login and call that method from within the OnNavigatedTo event handler. You have to mark OnNavigatedTo as asynchronous to do that:
protected override async void OnNavigatedTo(NavigationEventArgs e)
await LoginOrSignUpAsync();
private async Task LoginOrSignUpAsync()
User user = new User() { UserName = "MyUser1", Password = "secret" };
bool userExists = false;
await user.LoadMeAsync();
userExists = true;
catch (ApiomatRequestException ex)
if (ex.Status == Status.UNAUTHORIZED)
userExists = false;
throw ex;
if (!userExists)
await user.SaveAsync();
The code above tries to load the user and if the user doesn't exist yet, the user just gets saved / signed up. Also, the Datastore gets configured with the users's credentials. This is essential so that all following requests to the backend are sent with the credentials.
You'll also need the following using directives so that the User and Datastore classes are known to this class and so you can use Task as return value:
using System.Threading.Tasks;
using Com.Apiomat.Frontend;
using Com.Apiomat.Frontend.Basics;
11. Hit F6 to see if the code compiles. If it does, run the app in the emulator or on your device.
If everything runs correctly, the connection to your backend is now working. Have a look at the Data-Tab of your Dashboard to see the created user in your Backend.
12. Now let's get to the UI! Open MainPage.xaml.
The template already contains a LayoutRoot Grid and a title panel within it. Keep them where they are. You'll also see a ContentPanel. That's where we'll put our XAML:
It's a text box, a button and a list box. Right now nothing would happen if you clicked the button, so …
13. … let's add some logic to it.
We want something to happen when we click the button. In the XAML there is already an event handler mentioned: "Button_Click". This event handler now needs to be defined in the code-behind of the MainPage.xaml, which, as mentioned earlier, is MainPage.xaml.cs. Open that file.
First add the using directive with the namespace of your main module. That's the name


text:
Record Keeping for Small Businesses, Lunch & Learn
After completing this training, you will be able to: • Explain the concept of record keeping and why record keeping is important to a small business. • Identify record keeping practices, rules, and tools which are commonly available to a small business. • Explain how these record keeping practices, rules, and tools work. • Identify benefits a small business derives from proper record keeping. • Explain record keeping basics for a small business. • Identify software products available for small business record keeping.
Speaker(s): Woodforest National bank
Fee: No Cost


text:
Studies on the carbohydrate metabolism of sheep. IX. Metabolic effects of glucose and glycerol in undernourished pregnant ewes and in ewes with pregnancy toxaemia
Australian Journal of Agricultural Research
11(1) 42 - 47
AbstractThe rate of utilization of injected glucose by fasted pregnant ewes or ewes with pregnancy toxaemia is much more rapid than by fasted non-pregnant ewes. An apparent relation between the rate of utilization and the number of fetuses was observed; much of the injected glucose may be removed by the foetus(es).
The pronounced rise in blood glucose recorded after lambing and when foetuses apparently died in utero is also considered to reflect sudden cessation of high foetal demands for glucose.
Intravenous administration of glucose consistently reduced blood ketones in ewes with a moderate hyperketonaemia and showing no clinical signs of pregnancy toxaemia. Ketones declined in ewes fasted 1–3 days as soon as blood glucose began to increase at lambing. In ewes with pregnancy toxaemia there was usually no reduction of ketones in response to injected glucose; blood acetic acid levels, if previously high, did not decline; blood citric acid failed to increase.
Glycerol given per os to ewes with pregnancy toxaemia always caused a rapid decline in blood ketones, and in acetic acid if the latter was previously high; a, pronounced increase in blood citric acid always occurred. These changes were recorded although no clinical improvement was observed.
Glucose administered parenterally over 48 hr appeared to be less efficiently utilized by ewes with pregnancy toxaemia than by fasted pregnant ewes showing no clinical signs. Blood ketones declined to normal levels within 48 hr; in probable contrast to fasted ewes, this is considered to have occurred in the ewes with pregnancy toxaemia only because hyperglycaemia was continuously maintained.
These results are considered to support the hypothesis that gluoose metabolism is depressed in ewes with pregnancy toxaemia and that the metabolic abnormalities are consistent with those characteristic of a diabetic-like syndrome.
© CSIRO 1960


text:
The Australian Institute of Health and Welfare (AIHW) has established a National Centre for Monitoring Arthritis and Muskulosceletal Conditions to follow the impact of these conditions and the outcomes of management and prevention strategies. The centre monitors and reports in particular on the four focus areas of osteoarthritis, juvenile arthritis, rheumatoid arthritis and osteoporosis. Visit the centre's website to read more about their objectives, recent work and work in progress.
Arthritis and Osteoporosis in Australia 2008
Arthritis and osteoporosis are among the most common long term chronic health problems in Australia, affecting over 3 millions Australians, and impose a substantial burden on the Australian community. The Australian Institute of Health and Welfare (AIHW) has published a report with data and information from a wide variety of sources to provide a picture of arthritis and osteoporosis in Australia. The report addresses policy makers, the broader community, and anyone with an interest in arthritis and osteoporosis.
Content updated February 6, 2010


In Chapter 8 of To Kill a Mockingbird, why does Scout think that the world is going to end and on what does Mr. Avery blame this weather?
Asked on
1 Answer | Add Yours
bullgatortail's profile pic
Posted on (Answer #1)
Scout's response to waking up in the morning after a long night's sleep and seeing strange objects falling from the sky is probably not unusual for a small child living in the Deep South. It was her first sight of snow, and she had no idea what it was.
"The world's endin', Atticus!"
It was Jem's first look at snow as well, but at least he figured out what it was. When the kids went outside to play in Miss Maudie's yard (they were trying to save the snow in their own yard), they were harassed again by Mr. Avery. He had already blamed Jem and Scout for the unusually cold recent weather, telling them that it "was written on the Rosetta Stone" that children who behaved badly caused the seasons to change. This time he blamed them on the snow as well, telling them that it was the first time it had "snowed in Maycomb since Appomattox"--the sight of General Robert E. Lee's surrender of the Confederate Army of Northern Virginia in 1865.
We've answered 288,128 questions. We can answer yours, too.
Ask a question


text:
If you use Facebook for the sole purpose of keeping in touch with your friends and don't intend to play games provided on the social network, then the game invites you constantly receive from your friends are not always appreciated. This tutorial explains how to block constant game invites from your friends and at the same time prevent the games updates from invading your news feed.
Disable Apps Notifications
Connect to your Facebook Account. Go to on Settings > Notifications:
Go to What You Get Notified About and click on the Edit button located next to App requests and activity:
All apps that have access to your Facebook account are listed in this section. To disable notifications from a particular app, click on the drop-down menu appearing next to it and select Off:
Disable Game request
To block game invites from a particular contact, simply go to the Blocking section > Block app invites. Enter the names of the users who are constantly sending the annoying game invites:
You can also prevent apps from contacting you or access your Facebook information by typing their names in the Block apps field:
If you ever change your mind about games invites, then you can unblock them via the same menu.


Take the 2-minute tour ×
Let $X$ be an algebraic variety, $S \subset X$ its singular locus, and $x \in S$. Say that $x$ is good if for any neighborhood $U$ of $x$, any top differential form $\omega$ on $U \setminus S$ and some resolution of singularities $U' \rightarrow U$, the pullback of $\omega$ to $U'$ is regular.
An obvious necessary condition is that $S$ is of co-dimension at least 2. An example of a good point is $(0,0,0)$ in the variety defined by $x^2+y^2+z^2=0$. An example of a singular point which is not good is $(0,0,0)$ in the variety defined by $x^4+y^4+z^4=0$.
Here is the question:
Is the notion of good point related to other properties of singular points?
We are mainly interested in the case when $X$ is complete intersection.
share|improve this question
1 Answer 1
up vote 5 down vote accepted
The condition you want is very close to having rational singularities.
Definition: A variety $X$ of characteristic zero has rational singularities if it is:
 1. Cohen-Macaulay and,
 2. for some resolution of singularities $\pi : Y \to X$ we have $\pi_* \omega_Y = \omega_X$.
Now, let me explain why condition 2. is essentially the one you described. If $S$ is codimension 2, then $\omega_X$ is actually defined to be the pushforward of $\Omega^{\dim X}_{X\setminus S}$. In other words, $\omega_X$ is exactly those top forms coming from the smooth locus. Since $Y$ is a resolution and hence smooth, $\Omega^{\dim Y}_Y = \omega_Y$.
The statement that $\pi_* \omega_Y = \omega_X$ simply says that any form from the smooth locus of $X$, also comes from a form on $Y$. Which is exactly what you want.
It is worth noting that this definition is independent of the choice of resolution. In particular, if it holds for one resolution, it holds for all.
For further reading I would suggest Singularities of Pairs by János Kollár.
share|improve this answer
Thank you very much for your answer. There is one thing that I did not understand. Do you mean that if $X$ is Cohen-Macaulay and regular outside subvariety of co-dimension 2 then it is good? This will mean that the variety defined by $x^4+y^4+z^4=0$ is good, and I think that it is not true. Or do you mean that if $X$ is Cohen-Macaulay and have rational singularities than it is good. Thank you again, Rami Is it true that the variety defined by $x^4+y^4+z^4=0$ does not have rational singularities? – Rami Feb 3 '12 at 22:37
I've tried to clarify things. But also, if $X$ has rational singularities it is good. Rational singularities implies Cohen-Macaulay and being regular outside a set of codimension – Karl Schwede Feb 3 '12 at 23:50
Sorry for bothering you again, but I still have some qustions: 1. When you discuss direct image do you mean direct image in the derived category or in the abilian category of sheaves? 2. You say " $ω_X$ is actually defined to be the pushforward of $Ω^{dim X}_{X∖S}$." Why it is true? Do you mean that it is true whenever S is of co-dimension 2 or only under certain conditions that are satisfied in this case? what condition? I only see why it is true in the case that X is Gorenstein and only on the level of the abilian category. This should be enough for me but I still want to understand. – Rami Feb 4 '12 at 4:00
I think $\omega_X$ is the unique line bundle on $X$ extending $\Omega^{d}_{X^{\textrm{sm}}}$, where $d$ is the dimension of $X$ and $X^{\textrm{sm}}$ is the nonsingular locus of $X$. The existence and uniqueness of $\omega_X$ are actually not so easy; see Chapter 6.4 in Liu's "Algebraic geometry and arithmetic curves" for a general discussion. In general, if you have a good enough morphism $X\to Y$ of schemes, there exists a unique line bundle $\omega_{X/Y}$ (called the relative dualizing sheaf of $X\to Y$ I think) extending the line bundle $\Omega^r_{X^{sm}/Y}$, where $r$ is the rel. dim. – Ariyan Javanpeykar Feb 4 '12 at 7:34
1. I don't mean the derived pushforward. I mean the ordinary pushforward. In characteristic zero, one also has Grauert-Riemenschneider vanishing which makes $R \pi_* \omega_Y = \pi_* \omega_Y$. 2. This is not trivial, but it's true as I stated it, the Gorenstein condition is not needed. Whenever S has codim 2, $\omega_X$ is the pushforward of the top forms from the smooth locus, the point is that $\omega_X$ is always S2 and it agrees with the top forms on the smooth locus, thus it agrees with the pushforward from the smooth locus. – Karl Schwede Feb 4 '12 at 12:54
Your Answer