X_ITE X3D Browser
Have you seen this?
X_ITE v4.6.11
Have you seen this?
X3D Reference
Accessing the External Browser
Accessing the External Browser
X_ITE is designed to provide access to the internal X3D browser and its contained scene graph via JavaScript, either within an internal X3D Script node or an external HTML script.
If you want combine DOM access with X3D access in your JavaScript functions then you probably want to access the external browser object if you want include an external JavaScript file in your HTML page and you don't wanna do it directly a in Script node.
There is the X3D object which is always available, it expects at least one function handler that is called when the browsers ( elements) are ready, or the second function handler is called if an error occurred.
The callback function is called when the browser is available. The callback function takes no arguments. The error callback is called if an error occurred, it has one argument error.
The external browser can be accessed by calling the X3D.getBrowser(selector) function, selector can be any CSS selector:
If something went wrong, the error callback is called:
X3D Object
X3D noConflict ()
In X_ITE's case, the X3D function object is the main entry function. If you need to use another JavaScript library alongside X_ITE, return control of the X3D function object back to the other library with a call to X3D.noConflict (). Old references of X3D function object are saved during X_ITE initialization; X3D.noConflict () simply restores them. The return value is the X3D function object itself.
If for some reason two versions of X_ITE are loaded (which is not recommended), calling X3D.noConflict () from the second version will return the globally scoped X3D object to those of the first version.
The following services can be used to establish a session and obtain the X3DBrowser object.
X3DBrowser getBrowser ([selector : String])
The selector argument must be a string containing a valid CSS selector expression to match elements against. If no selector was given, »X3DCanvas« is used as selector string. The return value is the appropriate X3DBrowser object.
X3DBrowser getBrowser (element : Object)
Given a DOM element that represents a X3DCanvas element, the getBrowser function returns the appropriate X3DBrowser object.
Object createBrowser ()
Creates a new X3DCanvas DOM element, initializes it and returns it. Throws an exception if the browser object cannot be created.
The X3D object has several properties, you can use any of the properties below.
The X3DConstants object defines values that can be useful for scripting.
All X3DFields (SFColor,..., MFBool, MFColor, and so on). The fields can be created using the object as construtor. Note: Scalar objects like SFBool, SFDouble, SFFloat, SFInt32, SFString, and SFTime have no constructor, just use the built-in JavaScript types Boolean, Number, and String.
Function Reference
A complete function reference for the X3DBrowser object and all other X3D JavaScript objects can be found here.
View scene in new window.
Adding HTML controls to your scene is no rocket science. We have added some HTML buttons below the X3DCanvas, which on click call a callback function.
The init function is called when the scene is loaded and installs a field callback that is called when the models are clicked. The various callback functions first obtains the different nodes and then alter a field of the nodes.
The scene defines different named nodes with the »DEF« attribute, which can be accessed later. Download adrenaline.x3d.
Cookies and other Technologies


text:
Andrew Nicholl RHA (_PHONE_) was the son of a Belfast bootmaker and started out as a compositor on the Northern Whig newspaper, but from an early age was interested in art. His artistic talents were spotted by Sir James Emerson Tennent, the Colonial Secretary, who became his patron, funding a trip to London in the early 1830s that enabled Nicholl to develop his style and technique. During this trip Nicholl studied the works in the Dulwich Picture Gallery.
Nicholl's style was greatly influenced by Turner. He often used the sgraffito technique, where the top layer of paint is scraped away to reveal a different colour underneath, to great effect particularly to highlight features such as flowers and grass. Nicholl's early hard edge landscape style later softened to a more romantic and haunting one. His paintings of wild flowers have a slightly surreal quality and many (unusually) have landscape backgrounds.
Nicholl first exhibited at the Royal Academy in 1832. In 1836, he became a founder member of the Belfast Association of Artists and exhibited his work in the Belfast Museum. A year later he became an associate of the Royal Hibernian Academy (RHA), Dublin and went on to become a full member in 1860.
Tennent helped Nicholl gain a government appointment to teach in Ceylon at the Colombo Academy. Nicholl went on to illustrate Tennent's own account of Tennent's career. Nicholl's brother William was also a great supporter and he organised an exhibition of 222 of Andrew's pictures at the Belfast Rambling and Sketching Club. Another large exhibition of his works was held in 1886 as a memorial show when 300 paintings were displayed.
Nicholl lived in Belfast, Ceylon and London and from 1862 until his death in 1886 he lived south of the River Thames including:
1862-63 33 Richmond Terrace (now 72 Richborne Terrace)
1865-69 315 Kennington Road
1871 102 Upper Kennington Lane (now the BP garage opposite Tescos on Kennington Lane)
1872 26 Osborne Terrace (now 55 Richborne Terrace)
1879-85 4 Meadow Road
1886 7 Camberwell Grove

source: m-a-p/FineFineWeb


text:
Rina joins African Hydrogen Partnership
Italian certification body Rina is boosting its presence in the hydrogen economy and joining the African Hydrogen Partnership Trade Association (AHP) to develop the green H2 value chain and the uptake of hydrogen-based chemicals.
The European Union is helping Africa to build its green hydrogen economy. Last year under the so-called REPowerEU plan, the EU boosted its hydrogen imports target to 20 million tonnes per year by 2030. That means around 10m t/y of green hydrogen will be imported from diverse suppliers, with Africa and the Mediterranean region expected to contribute significantly, Kallanish notes.
The AHP's mission is to help establish a solid hydrogen industry in all African nations and promote partnerships within the continent and with other international organisations. It vows to accelerate the uptake of renewable sources, green hydrogen and fuel cell technology and counts amongst its members the port of Rotterdam, AngloAmerican, HDF energy, Hydrogen Europe and Gencell.
"In conjunction with our African footprint, our expertise in technologies enables us to open new hydrogen corridors, supporting local and international initiatives while acting as a system integrator along the entire hydrogen value chain," Rina's carbon reduction executive vice president Andrea Bombardi says in a note, adding that the collaboration with AHP intends to build a bridge between Europe and Africa. Rina will contribute with its services in consulting engineering, inspection, testing and certification for African hydrogen projects. AHP expects Rina's membership to provide assurances to companies, investors and regulators.
"Renewable African hydrogen is essential to the world and Europe meeting its net-zero targets … As Africa ramps up its sustainable energy supply and many of its countries leapfrog to the new age of hydrogen technologies, the AHP is confident that clean, sustainable and renewable African hydrogen will price diesel and petrol out of the market between 2025 and 2030," AHP chairman Innocent Uwuijaren said when Belgium-based hydrogen and fuel cell association Hydrogen Europe joined AHP last year (see Kallanish 3 May 2022).
More free articles from our archive
More Global Prices
Take a Free trial
Get daily steel news redirect to your inbox each day,
along with prices.


text:
घृणा करना, नफ़रत
Meaning and definitions of abhor, translation in Hindi
language for abhor with similar and opposite words. Also find spoken pronunciation of abhor in Hindi and in English language.
What abhor means in Hindi, abhor meaning
in Hindi, abhor
definition, examples and pronunciation
of abhor in Hindi language.

source: openbmb/Ultra-FineWeb


text:
Undergraduate Honors Thesis for the Department of Psychology at the University of Kansas.
- University of Kansas Department of Psychology Best Honors Thesis
- Outstanding Research by an Undergraduate in Psychology
One aspect of higher order social cognition is empathy, a psychological construct comprising a cognitive (i.e., recognizing emotions) and an affective (i.e., responding to emotions) component. Empathy deficits have been linked to executive and emotion regulation dysfunction in depression that might underlie a patient's interpersonal difficulties. However, most studies measure empathy through the Interpersonal Reactivity Index (IRI), which may not accurately capture affective empathy. Critically, prior studies have not examined a potential dissociation between cognitive and affective empathy in depressed individuals. In Study 1, a factor analysis determined the appropriateness of using the IRI to measure affective empathy. Results showed poor model fit with the affective empathy factor. In Study 2, we developed a behavioral measure of empathy, and examined differences in empathic processing as it relates to depression and ruminative thought. Results revealed differences in empathy between depressed and healthy controls, as well as differences by level of rumination. We discuss the implications of these findings for depression treatment.


Wular Lake of Jammu & Kashmir – History, Access, Topography, Geology, Hydrology, Flora, Wildlife and Restoration Plans
Wular Lake is a large freshwater lake in the Bandipore district in Jammu and Kashmir. The lake was declared a Ramsar site on March 23, 1990, because of its biological, hydrological, and socio-economic values.
History of the Place
During the ancient period, this lake is called Mahapadmasar. In 1444, Zain-ul-Abidin the Kashmiri Sultan constructed the artificial lake. The Kashmiri sultan also constructed a mosque and other buildings and gave the islet the name of Lanka.
Wular Lake is said to be a remnant of Satisar Lake, a lake of ancient times and the premises of this lake was a famous sunset point. A traditional myth says that a king named Raja Sundrasen once lived in the lake area. Because of his criminal activities, the Euler lake swallowed him and his subjects.
During the 1980s, the Central Government of India proposed to construct the Wular barrage into dam water inflow, but the project was shelved after the rise of militancy in the state. After that, it got the Ramsar tag.
The lake basin was formed due to tectonic activity and is fed by the Jhelum River and stream Madhumati.
Access to the Wetland
Wular Lake of Jammu and Kashmir is enclosed by hills and dense forest, accounting for 60% of the total fish production in the state. This lake is 40 kilometers m from Srinagar.
The nearest airport in this place is Sheikh Ul Alam International Airport. The nearest railway station, on the other hand, is Srinagar Railway Station.
Jammu and Kashmir State Road Transport Corporation (JKSRTC) and private buses are available for neighboring areas. They are the quickest and the cheapest means of transport in Srinagar. Most public transport is functional from 4 am to 8 pm.
Topography of Area
The maximum length of the Wular Lake is 16 kilometers, while its maximum width is 9.6 kilometers. The Wulkar Lake surface area is around 12 to 100 square miles. The maximum depth of the lake is 14 m (46 ft). The lake's surface elevation is 1,580 m (5,180 ft).
Geology of Area
According to the geographical coordinate system, the place is located at 34°20′N 74°36′E.
The lake sediments and source rock chemistry are comparable, implying a low to moderate weathering history of the source region, which is compatible with cold regions and steep slope areas.
Unusual enrichment of Cr in the sediments compared to source rocks signifies a process of sediment-water interaction where Cr is removed from the water and preferentially adsorbed onto the clay fraction of sediments.
Geologists believe that Kashmir Valley where the Wular Lake is located was earlier affected by earthquakes.
Hydrology of the Land
Wular Lake is one of the largest freshwater lakes in Asia. This lake is fed by the Jhelum River and a major tributary of the Indus basin. The lake's average annual inflows or outflows are nearly 7 billion cubic meters. The size of this lake varies from 12 to 100 square miles (30 to 260 square kilometers), depending on the season.
Flora Found
Wular Lake is a significant fish habitat. The main species that can be found here are Common carp (Cyprinus carpio), Rosy barb (Barbus conchonius), Mosquitofish (Gambusia affinis), Nemacheilus species, Crossocheilus latius, Snowtrout species in the genera Schizopyge and Schizothorax.
Wildlife Around
The Wular Lake and its surroundings have extensive marshes, which are important natural wildlife. It maintains a rich population of birds.
Terrestrial birds observed around the lake are Black-eared kite, Eurasian sparrowhawk, Short-toed eagle, Himalayan golden eagle, Himalayan monal, Chukar partridge, Koklass pheasant, Rock dove, Common cuckoo, Alpine swift, Indian roller, Himalayan Woodpecker, Hoopoe, Barn swallow, and Golden oriole.
Islands in the Lake
Zain Lank island was suited in the middle of the Wular lake in Bandipore District.
The island was built by King Zain ul Abideen Budshah, 14th- century ruler of Kashmir. He made this island to safeguard the people from floods near the lake. Even if the water level in the Wular Lake increases, it can't enter the island area. The fencing of the island was built with massive stones.
Now the island is under State Government's control.
Economic Evaluation of the Lake's Resources
Based on a study by Wetland International, around 32,000 families, including 2,300 fisher households, live on Wular's shores and are dependent on it for livelihood.
In Dar's village, 600 fisher families live off Wular's resources. Hundreds of other local villagers are employed by cooperative societies that trade the fish catch.
In collaboration with Kerala Tourism and J&K Tourism, the Government of India Tourism jointly launched boating, water sports, and water skiing in the area.
Deterioration of the Lake Environment
To revive the region's flood basin, more than 2 million trees around Wulkar Lake were cut down.
Conservation group wetlands International conducted a study in 200 revealed that Wulkar Lake is originally covered an area of almost 218 square kilometers, but the lake shanked to 158 sq kilometers in 1911 to 87 sq km in 2007 as it was used for agriculture and willow plantations.
The Wulkar Lake water level drastically went down. This resulted in the deduction of fish stocks. Because of the heavy siltation in the lake, Wular lake is losing its erstwhile glory.
Restoration Plans
The Jammu & Kashmir government has charted out a program for the conservation of the lake.
A Forest Conservator, Irfan Rasool, who looks after the lake restoration work being carried out by the state government's Wular Conservation and Management Authority (WUCMA), said that the lake would soon be de-silted.
There are plans to remove over two million willow trees from the lake to achieve hydrological and ecological balance. According to elderly fishermen such as Subhan Dar and a study by Wetland International, willow plantation in the lake through government-sponsored schemes in the 1970s has led to fragmentation of the wetland, rapid siltation, and deterioration in water quality.
But, Shakil Romshoo of Kashmir University's Earth Sciences department firmly instructs to stop the silt at the source if Kashmir's wetlands have to be conserved. The act banned around this lake is hunting waterfowl, migratory birds, and weed infestation in the lake itself.


text:
The Mochi-Jet Reaction takes place when any form of Jet and any form of Mochi touch, this includes the JM recipe but the reaction will only occur if JM touches another element. The reaction causes small compound particles to fly around chaotically, combining and recombining as they do so.
If 'drain' is activated, most of the particles fly off the screen, leaving a small number of compound particles that spin in a tight circle (although often there appears to be four particles, there is only one; this can be shown by pausing the simulation), creating the pinwheel effect and is almost like a pinwheel. Contact with a relatively small amount of material, especially solids, will cause the compound particles to destabilize and fly off in a random direction. Under some circumstances, other materials can become incorporated into the particles, giving them other properties.


text:
Learning - When You Want It, Where You Want It
OSIsoft recently released a new offering called the "On Demand Library". This library is in the form of voice and video recordings that are designed to be as easy-to-use as possible. They are based on the same tasks and objectives that form the basis for our classroom training. Users can search for the instruction they need, or go through the videos as if they were in a classroom setting. The Library also contains access to our Virtual Learning Lab environment, where users can test their new skills in real-time using a PI System "sandbox." During this presentation, Nick D'Orazio, E-Learning Manager and Pablo Benvenuto, Instructional Technologist, will discuss the subscription model, including pricing, options, access for EA customers and browser requirements. They will also cover the Virtual Labs, new trends in training and the future direction of the OSIsoft online training offering. As part of the presentation they will show how to register and launch the On Demand Library successfully. They will also demo the new features such as search, the content currently searchable and the Virtual Environment.


text:
Smart Sensors And Controllers Information Technology Essay
Smart sensors are sensors with integrated electronics that can do one or move following functions:- Logic functions, two-way communication, make decisions. It consists of transduction element, signal conditioning electronic and controller or processor that supports some intelligence in a single package. This paper introduces concept of smart sensors and controllers systematically. The progress in the integrated circuits become possible because of the tremendous progress in semiconductor technology, resulted in the low cost microprocessor. By designing a low cost sensor which is silicon based the overall cost of the control system can be reduced. The usefulness of silicon technology as a smart sensor, physical phenomena of conversion to electrical output using silicon sensors, characteristics of smart sensors. The silicon sensor can produce output, as voltage, current, resistance or capacitances, output format can be analog or digital. Suitable signal conditioning circuits along with processor can easily designed using silicon technology. The presence of controller or processor in smart sensor has lead to corrections for different undesirable sensor characteristics which include input offset and span variations, non-linearity and cross sensitivity. As these are carried in software, no additional hardware is required and thus calibration becomes an electronic process. Reduced cost of bulk cables and connectors, cost improvement and remote diagnostics are the qualities of smart sensors. In this paper specifically laser based smart displaced sensor is explained, how smart sensors help anesthesiologist in Anaesthesia supervision is elaborated. An effort is made to demonstrate a prototype Sensor system. "Smart dishwasher controller". Features of smart valve controller ends this paper.
Introduction (Smart Sensors)
Usefulness of silicon technology in smart sensor
General architecture of smart sensor
Importance and Adoption of smart sensor
Distributed smart sensor system
Application in Anaesthesia supervision
Smart Controller(Smart Dishwasher Controller)
Smart Valve Controller
1. INTRODUCTION: We can have integrated a sensor, which has electronics and the transduction element together on one silicon chip. This complete system can be called as system-on-chip.The main aim of integrating the electronics and the sensor is to make an intelligent sensor, which can be called as smart sensor. Smart sensors then have the ability to make some decision. Physically a smart sensor consists of transduction element, signal conditioning electronic and controller/processor that support some intelligence in a single package. Definition: -Smart sensors are sensors with integrated electronics that can perform one or more function, a) logic functions b) two-way communication c) make decisions.
2. USEFULNESS OF SILICON TECHNOLOGY IN SMART SENSOR: There are very convincing advantages of using silicon technology in the construction of smart sensor. All integrated circuits employ silicon technology. A smart sensor is made with the same technology as integrated circuits.
A smart sensor utilizes the transduction properties of
one class of materials and electronic properties of silicon (GaAs). A transduction element either includes thin metal films, zinc oxide and polymeric films. Integrating electronics circuits on the sensor chip makes it possible to have single chip solution. Integrated sensors provide significant advantages in terms of overall size and the ability to use small signals from the transduction element.
Different silicon sensors can be obtained by employing above effects. The silicon sensor can produce output as voltage, current, resistance or capacitance. Output format can be analog or digital. Suitable signal conditioning circuits along with processor can easily be designed using silicon technology. The presence of controller or processor in smart sensor has lead to corrections for different undesirable sensor characteristics, which include input, offset and span variations, on linearity and cross sensitivity. As these are carried out in software, no additional hardware is required and thus calibration becomes an electronic process.
Signal conversion effects:
Examples(Physical Effects in silicon)
Light Intensity, polarization
Photovoltaic-effect, photoelectric effect
Force, pressure, flow, vaccum
Temp, Temp. gradient
Concentration, pH, toxicity
Ion sensitive field effect
Field intensity, flux density
3. General Architecture of Smart Sensor: It is similar to a data acquisition system, the only difference being the presence of complete system on a single silicon chip. In addition to this it has on-chip offset and temperature compensation.
BLOCK LEVEL DESIGN CONSIDERATIONS FOR SMART SENSOR: - Design choice of smart sensor depends on the specific application for which the sensor is required and also related to specific industry.
4. Importance and Adoption of Smart Sensor: Following are qualities of smart sensor:
a) Reduced cost of bulk cables and connectors, b) Remote Diagnostics
4.1 Enhancement of Application:-
Smart sensor also enhances the following applications
a) Self calibration b) Computation c) Communication d) Multisensing.
4.2 System Reliability:
System reliability is significantly improved due to the utilization of smart sensors. One is due to the reduction in system wiring and second is the ability of the sensor to diagnose its own faults and their effect.
4.3 Improvement in Characteristics:
There is improvement in following characteristics:
Non-linearity, Cross-sensitivity, Offset, Parameter drift and component values.
4.4 Summary of Different Smart Sensors:
Some of the smart sensors developed at different research institutes are as follow:
Optical Sensor: -
Optical sensor is one of the examples of smart sensor, which are used for measuring exposure in cameras, optical angle encoders and optical arrays. Similar examples are load cells silicon based pressure sensors.
Accelerometer fabricated at the IBM Research laboratory at San Jose California, which consists of the sensing element and electronics on silicon. The accelerometer itself is a metal-coated SiO2 cantilever beam that is fabricated on silicon chip
Integrated multi-sensor chip developed at the electronics research Laboratory University of California. This chip contains MOS devices for signal conditioning with on chip sensor, a gas flow sensor, an infrared sensing array, a chemical reaction sensor, a cantilever beam, accelerometer, surface acoustic wave vapor sensor, a tactile sensor array and an infrared charge coupled device imager.
5. Distributed Smart Sensor System:
A distributed smart sensor system consists of a network backbone, on which reside many nodes. Nodes may be loosely classified as either sensor nodes or controller nodes. Sensor nodes are those, which tend to send data to the network, and controller nodes are those, which tend to gather data from the network.
A prototypical smart sensor node consists of three elements: a physical transducer, a network interface, and a processor/memory core. The transducer senses the physical quantity being measured and converts it into an electrical signal. Then the signal is fed to an A/D converter, and is now ready for use by the processor. The processor will perform some signal processing on the data, and depending on how it is programmed, may send the resulting information out to the network. Network transactions are handled by the network interface block. Note that these are only functional definitions and that MEMS technology potentially allows all three blocks to be implemented on a single die. A prototypical controller node consists of processor/memory, a network interface, and input/output devices for communicating with human users. It is used to collect information from the sensor nodes, to program the sensor nodes, and to provide feedback to the user. Placing all the sensors on a common network bus enables "plug and play" ease of installation. That is, no new wires have to be routed to accommodate new nodes.
Fig.No.5 Smart Sensor System Fig.No.6Prototype Smart Sensor Node
6. Specific Application Of Smart Sensor In Medical Field : The Anaesthesia Supervision: Actually, the essential difficulty of anaesthesia supervision results of the fact that, each characteristic signal (adequate ventilation of lungs, adequate circulation, and intra cranial pressure) is assessed separately. Consequently, it is difficult for the anesthesiologist to evaluate the patient's conditions. Moreover, he should able to distinguish equipment's dysfunction of a real variation of the patient state. So propose a new architecture for anaesthesia supervision, based on concept of smart sensor.
The Contribution of This System Are As Follows:-
1. The elaboration of a rate order from the trend curve of pressure measure and precedent rate.2. The supervision of the difference between the intracranial pressure and mean arterial pressure.
Validation data processing
Validated data bare
Rough Data Base
Elaborated Information and newservices
Central Supervision Unit
Communication medium of field bus type
Fig.No.7Central Data Processing Unit Fig.No.8.uture Architecture of Anaesthesia Supervision
7.Smart Controller: Smart controller is the latest inventory mode of controller.
Smart Dishwasher Controller:Current dishwashers enable the user to choose cycle selection, heat selection, and a start delay. Our Smart Controller will remove the cycle options by utilizing a turbidity sensor. The Smart Controller will interface with two modules: the control panel and the dishwasher hardware. Based on user inputs of heat and delay, the controller will send control signals to the proper dishwasher components. The addition of new sensors allows a more accurate pre-wash cycle that can rinse the dishes as long as necessary to remove the loose grit before starting the main cycle. This saves time, energy, and water--after all, even if the pre-wash cycle actually takes LONGER to run, the user will not have to rewash dishes!It will have inputs both from the user and from onboard sensors; the micro controller that will process the information and provide the appropriate instructions to operate the dishwasher; an amplification circuit to provide the correct signal voltage level to operate the various loads. With the use of a turbidity sensor and a microprocessor, we can take advantage of knowing that the dishes are clean. This will allow us to change the dishwasher operation from static cycles to dynamic cycles. This will undoubtedly result in more efficient wash cycles.
8. Smart Valve Controller:
Fig. No. 9 Smart Valve Controller
The Smart Valve Controller mounts to a valve solenoid quickly and easily– without screws, drills or additional wires. This rugged


For the purposes of executive pay ratio reporting, how do companies calculate employees' pay?
The Companies (Miscellaneous Reporting) Regulations 2018 (SI 2018/860) introduce a requirement for quoted companies with more than 250 employees to publish the ratio between their CEO's total remuneration and the pay and benefits of employees on the 25th, 50th (median) and 75th percentile of pay and benefits of the company's UK employees for the relevant financial year.
Employees' "pay and benefits" for this purpose means the full-time equivalent pay and benefits, which are calculated using the components listed in para.7 of sch.8 to the Large and Medium-sized Companies and Groups (Accounts and Reports) Regulations 2008 (SI 2008/410). The components are:
 - wages and salary;
 - all taxable benefits (gross value);
 - performance-related pay or other assets, depending on when they were awarded and how final vesting is determined; and
 - pension-related benefits.
These components largely reflect those that employers must use to calculate the CEO's total remuneration for the purpose of calculating the ratio.


text: Changes in phospholipid and eicosanoid profiles of Atlantic salmon muscle after feeding diets with different levels of microbial oil, fish oil and canola oil were investigated using electrospray ionization (ESI)-MS-MS in a triple quadrupole mass spectrometer. A total of 43 PL species with various fatty acyl chain combinations was identified in the four dietary groups of salmons. The group fed with microbial oil, which contains a high level of DHA, showed an increased level of DHA in the structure of PC (phosphatidylcholine) and PS (phosphatidylserine) in muscle tissue compared to salmon fed with fish oil and the mixture of fish oil and canola oil. This indicates that DHA present in the diets (High and low microbial oil) was efficiently converted/synthesized into phospholipids, followed by accumulation in salmon muscle tissue. In addition, two eicosanoids, prostaglandin E2 and F3α, were also identified for the first time in salmon muscle tissue and their quantitative changes upon feeding four different diets will be discussed in detail. This study suggests that the shotgun lipidomic approach along with neutral loss and precursor ion scanning modes is a useful means for the lipidomic analysis of fish tissues.


Take the 2-minute tour ×
Is there any known formulae for the derivative of the Bessel function with respect to the order of the Bessel function?
share|improve this question
which Bessel functions are you talking about? There are lots of different kinds. – Scott Morrison Nov 4 '09 at 0:26
5 Answers 5
series... from Maple
$${\frac {d}{dr}}{{\rm J}_r\left(2\right)}= \sum _{k=0}^{\infty }{\frac { \left( -1 \right) ^{k+1}\Psi \left( 1+r+k \right) }{\Gamma \left( 1+r+k \right) \Gamma \left( 1+k \right) }}$$
share|improve this answer
I suggest looking at Landau's paper:_URL_
share|improve this answer
Abramowitz and Stegun give a couple of special cases but don't give a general result. Starting from some of the integral or series representations and differentiating you can get a corresponding integral or series for the derivative, but I would guess that it's unlikely to simplify to a "known" function in the general case. An example they give is (for the spherical Bessel function $j_\nu(x)$):
$$[ \frac{d}{d\nu} j_\nu(x) ]_{\nu=0} = \frac{\pi}{2x}(\operatorname{Ci}(2x)\sin x - \operatorname{Si}(2x)\cos x)$$
They also give examples evaluated at $\nu=-1$ and similar results for the case of the "other" spherical bessel $y_\nu(x)$.
share|improve this answer
As I understand it you are looking for $D_\nu(x):=\frac{d}{d\nu} J_\nu(x)$. Perhaps you would like to explain a bit why you are looking at $D_\nu$?
I have worked a bit with the Legendre functions of the first ($P_\nu$) and second kind ($Q_\nu$). Where my primary interest was to find estimates in $\nu$ and both parameters. To find such estimates basically I used relations together with integral representations. At one point I estimated an integral expression for $\frac{d}{d\nu} Q_\nu(x)$ in order to see that for fixed $x>1$ it is decreasing with respect to $\nu$. (The main reason to these studies was to prove a Tauberian theorem for spaces like $L^1_w(G//K)$ - the double coset space of $G=SL(2,R)$ - where $\hat{f}(s)=\int_1^\infty f(x)P_s(x)dx$ is the Fourier transform.)
share|improve this answer
Your Answer


How Long Does a Tello Drone Take to Charge?
Tello drone is one of the most popular drones in the market. It is a small, lightweight and easy-to-use drone that is perfect for beginners and experts alike. The Tello drone comes with a powerful battery that allows it to fly for up to 13 minutes on a single charge.
So, how long does it take to charge the Tello drone? The answer depends on the type of charger that you are using. If you are using the standard charger that comes with the drone, then it will take around 2 hours to fully charge the battery.
However, if you are using a fast charger, then it will only take around 1 hour to charge the battery.
If you're thinking about picking up a Tello drone, you might be wondering how long it takes to charge. Well, the good news is that it doesn't take too long – about an hour or so. So if you're planning on using your Tello for some extended flying sessions, make sure to give it a full charge before you head out.
-How Long Does It Take to Charge the Tello Drone
Tello drone can be fully charged in about an hour.
How Long Does a Tello Drone Take to Charge?
Credit: _URL_
Conclusion
Tello drones are a great way to get into the drone world without spending a lot of money. One question people often have is how long does it take to charge a Tello drone? It takes about an hour and a half to charge the Tello drone battery.
This is using the standard USB charger that comes with the drone. If you are using a faster charger, it will charge quicker. It is important not to overcharge the battery, so make sure to keep an eye on it while it's charging.
Michael Sayers
Hi, this is your friend Michael Sayers. I'm an automobile engineer, but I have become an expert on RC cars. Seems funny to you! After graduating in automobile engineering, I worked for a renowned car manufacturing company for six months only. A few months later, I joined a popular RC vehicle manufacturing company as a quality in charge. However, I've created this site Altimarc, to share my decade of experience with people looking for an RC vehicle who don't have adequate knowledge about that.
Recent Posts


text:
We have investigated local element distributions in a Dy-doped Nd2Fe14B hot-deformed magnet by atomic-column resolution chemical mapping using an X-ray energy-dispersive spectrometer (XEDS) attached to an aberration-corrected scanning transmission electron microscope (Cscorrected STEM). The positions of the Nd and Dy atomic columns were visualized in the XEDS maps. The substitution of Dy was limited to a surface layer 2-3 unit cells thick in the Nd2Fe14B grains, and the Dy atoms preferentially occupied the 4f-Nd sites of Nd2Fe14B. These results provide further insights into the principal mechanism governing the coercivity enhancement due to Dy doping.
All Science Journal Classification (ASJC) codes
- Physics and Astronomy(all)


Documentation
Ingest models
You can ingest your models in the same way that you ingest datasets.
CLI
The CLI is the most convenient way to ingest models. You can ingest a model using the following CLI command:
eotdl models ingest -p "model-path"
Where model-path is the path to a folder containing your model and any other relevant files.
For Q0 models, a file named README.md is expected in the root of the folder. This file should contain the following information:
---
name: model-name
authors:
 - author 1 name
 - author 2 name
 - ...
license: model license
source: link to source
thumbnail: link to thumbnail (optional)
---
some markdown content (titles, text, links, code, images, ...)
If this file is not present, the ingestion process will fail.
After uploading a model with the CLI you can visiting the model page to edit this information.
You can update your model in multiple ways. If you modify your local folder and run the ingest command again, a new version will be created reflecting the new data structure and files.
If the metadata in the README.md file is not consistent with the one in the platform (either because you edited the file or because you edited the model in the platform), you should use:
 - the --force flag to overwrite the metadata in the platform with the one in the README.md file.
 - the --sync flag to update your file with the metadata in the platform.
Q1+ models are not supported yet
Library
You can ingest models using the following Python code:
from eotdl.models import ingest_model
ingest_model("model-path")
EOTDL is carried out under a programme of, and funded by the European Space Agency (ESA).
Disclaimer: The views expressed on this site shall not be construed to reflect the official opinion of ESA.
Contact Us
Contact
Follow Us


text:
Understanding the Environmental Impact of Cacao Trade
Cacao is a valuable commodity that is produced in many countries around the world. It is the main ingredient in chocolate, and is used in a variety of other products. Cacao is grown by smallholder farmers, who use the crop to generate income. The cacao trade is a global industry that involves the exchange of cacao between countries and regions. Unfortunately, the cacao trade has had a negative impact on the environment and local communities. In this article, we will explore the environmental and socioeconomic impacts of the cacao trade.
Cacao is the seed of the cacao tree, which is native to Central and South America. The seed is harvested from the fruit of the tree and dried, then processed into cocoa powder, cocoa butter, and other products. Cacao is an important crop for many smallholder farmers, who use it to generate income for their households.
Overview of Cacao Trade
The cacao trade is a global industry that involves the exchange of cacao between countries and regions. Cacao is produced in many countries around the world, including West Africa, Central America, and South America. The countries that produce the most cacao are Ivory Coast, Ghana, Indonesia, and Brazil. The cacao is then exported to other countries, where it is processed into chocolate and other products.
Environmental Impact of Cacao Trade
The cacao trade has had a significant impact on the environment. In particular, the industry has caused deforestation, soil degradation, and water pollution. In this section, we will explore the environmental impacts of the cacao trade in more detail.
Deforestation is one of the most significant environmental impacts of the cacao trade. Deforestation occurs when forests are cleared to make way for agricultural land. The clearing of forests for cacao production has had a devastating impact on the environment.
The primary cause of deforestation is the expansion of cacao plantations. Cacao plantations require large amounts of land, which is often obtained by clearing forests. In addition, some farmers use slash-and-burn techniques to clear land for cacao production.
Deforestation has a number of negative environmental impacts. Forests are home to a variety of plants and animals, and their destruction can have a devastating impact on biodiversity. In addition, forests play an important role in regulating the climate, and their destruction can lead to increased temperatures and decreased rainfall.
Soil degradation is another environmental impact of the cacao trade. Soil degradation occurs when the soil is unable to support plant growth due to poor management practices.
The primary cause of soil degradation is the use of chemical fertilizers and pesticides. These chemicals can damage the soil and make it difficult for plants to grow. In addition, over-cultivation of the soil can lead to soil erosion, which can reduce the fertility of the soil.
Soil degradation has a number of negative impacts. It can reduce crop yields and lead to the loss of valuable topsoil. In addition, soil degradation can lead to increased levels of air and water pollution, as well as an increase in the prevalence of pests and diseases.
Water pollution is another environmental impact of the cacao trade. Water pollution occurs when chemicals and other pollutants enter water sources, such as rivers and lakes.
The primary cause of water pollution is the use of chemical fertilizers and pesticides. These chemicals can leach into water sources and contaminate them. In addition, the improper disposal of wastewater from cacao processing can also lead to water pollution.
Water pollution has a number of negative impacts. It can lead to the contamination of drinking water, which can have serious health consequences. In addition, water pollution can result in the death of aquatic life, as well as the disruption of ecosystems.
In addition to the environmental impacts, the cacao trade has also had a significant impact on the socioeconomic environment. In this section, we will explore the socioeconomic impacts of the cacao trade in more detail.
Impact on Smallholder Farmers
The cacao trade has had a significant impact on smallholder farmers. In particular, the industry has resulted in low prices for cacao, as well as the use of child labor.
Low Prices for Cacao
The cacao trade has resulted in low prices for cacao. This is due to the fact that there are many large companies that are able to purchase large quantities of cacao at low prices. This has resulted in smallholder farmers receiving lower prices for their cacao, which has had a negative impact on their incomes.
Use of Child Labor
The cacao trade has also resulted in the use of child labor. In some cases, children are used to harvest cacao, as they can do the work more quickly and cheaply than adults. This has resulted in a number of negative consequences, including the exploitation of children and the denial of their right to an education.
Impact on Local Communities
The cacao trade has had a significant impact on local communities. In particular, the industry has resulted in the loss of habitat and the disruption of access to resources.
Loss of Habitat
The expansion of cacao plantations has resulted in the loss of habitat for a variety of plants and animals. This has had a negative impact on biodiversity and has led to the displacement of local communities.
Access to Resources
The cacao trade has also disrupted access to resources, such as water and land. In some cases, large companies have acquired land that was previously used by local communities. This has resulted in the displacement of local people and the disruption of their access to resources.
In order to mitigate the negative impacts of the cacao trade, there are a number of solutions that can be implemented. In this section, we will explore some of these solutions in more detail.
Sustainable Farming Practices
One solution is the implementation of sustainable farming practices. Sustainable farming practices include using organic methods of farming, such as the use of compost and cover crops, and employing agroforestry techniques, such as planting trees and shrubs alongside crops. These practices can help to reduce the environmental impacts of cacao production and improve the livelihoods of smallholder farmers.
Fair Trade Cacao
Fair trade cacao is another solution that can be implemented. Fair trade cacao is produced in accordance with fair trade standards, which ensure that smallholder farmers receive a fair price for their cacao. This can help to improve the livelihoods of smallholder farmers and reduce the use of child labor.
Finally, public awareness is an important solution. Consumers can play an important role in supporting sustainable and ethical cacao production by purchasing products made with fair trade cacao. In addition, raising awareness of the environmental and socioeconomic impacts of the cacao trade can help to drive change.
The cacao trade has had a significant environmental and socioeconomic impact on many countries around the world. In order to mitigate these impacts, it is important to implement sustainable farming practices, support fair trade cacao, and raise public awareness.
1. "Cacao: The Plant, Its Use, and Its Impact." World Cocoa Foundation, _URL_
2. "Cacao and the Environment." Rainforest Alliance, _URL_
3. "The Environmental Impact of the Cocoa Industry." World Cocoa Foundation, _URL_
4. "Child Labour in Cocoa Production." International Labour Organization, _URL_
5. "Sustainable Cacao Farming." Sustainable Agriculture Research and Education, _URL_


will have the name "imudp(w0″), the second "imudp(w1)" and so on. Note that workers are all equal. It doesn't really matter which worker processes which messages, so the actual worker ID is not of much concern. More interesting is to check how the load is spread between the worker. Also note that there is no fixed worker-to-listener relationship: all workers process messages from all listeners.
Note: worker thread statistics are available starting with rsyslog 7.5.5.
 - disallowed - total number of messages discarded due to disallowed sender
This counts the number of messages that have been discarded because they have been received by an disallowed sender. Note that if no allowed senders are configured (the default), this counter will always be zero.
This counter was introduced by rsyslog 8.35.0.
The following properties are maintained for each worker thread:
 - called.recvmmsg - number of recvmmsg() OS calls done
 - called.recvmsg - number of recvmsg() OS calls done
 - msgs.received - number of actual messages received
Caveats/Known Bugs
 - Scheduling parameters are set after privileges have been dropped. In most cases, this means that setting them will not be possible after privilege drop. This may be worked around by using a sufficiently-privileged user account.
Example 1
This sets up an UDP server on port 514:
Example 2
This sets up a UDP server on port 514 bound to device eth0:
input(type="imudp" port="514" device="eth0")
Example 3
The following sample is mostly equivalent to the first one, but request a larger rcvuf size. Note that 1m most probably will not be honored by the OS until the user is sufficiently privileged.
input(type="imudp" port="514" rcvbufSize="1m")
Example 4
In the next example, we set up three listeners at ports 10514, 10515 and 10516 and assign a listener name of "udp" to it, followed by the port number:
input(type="imudp" port=["10514","10515","10516"]
 inputname="udp" inputname.appendPort="on")
Example 5
The next example is almost equal to the previous one, but now the inputname property will just be set to the port number. So if a message was received on port 10515, the input name will be "10515" in this example whereas it was "udp10515" in the previous one. Note that to do that we set the inputname to the empty string.
 inputname="" inputname.appendPort="on")
Additional Information on Performance Tuning
Threads and Ports
The maximum number of threads is a module parameter. Thus there is no direct relation to the number of ports.
Every worker thread processes all inbound ports in parallel. To do so, it adds all listen ports to an epoll() set and waits for packets to arrive. If the system supports the recvmmsg() call, it tries to receive up to batchSize messages at once. This reduces the number of transitions between user and kernel space and as such overhead.
After the packages have been received, imudp processes each message and creates input batches which are then submitted according to the config file's queue definition. After that the a new cycle beings and imudp return to wait for new packets to arrive.
When multiple threads are defined, each thread performs the processing described above. All worker threads are created when imudp is started. Each of them will individually awoken from epoll as data is present. Each one reads as much available data as possible. With a low incoming volume this can be inefficient in that the threads compete against inbound data. At sufficiently high volumes this is not a problem because multiple workers permit to read data from the operating system buffers while other workers process the data they have read. It must be noted that "sufficiently high volume" is not a precise concept. A single thread can be very efficient. As such it is recommended to run impstats inside a performance testing lab to find out a good number of worker threads. If in doubt, start with a low number and increase only if performance actually increases by adding threads.
A word of caution: just looking at thread CPU use is not a proper way to monitor imudp processing capabilities. With too many threads the overhead can increase, even strongly. This can result in a much higher CPU utlization but still overall less processing capability.
Please also keep in your mind that additional input worker threads may cause more mutex contention when adding data to processing queues.
Too many threads may also reduce the number of messages received via a single recvmmsg() call, which in turn increases kernel/user space switching and thus system overhead.
If real time priority is used it must be ensured that not all operating system cores are used by imudp threads. The reason is that otherwise for heavy workloads there is no ability to actually process messages. While this may be desirable in some cases where queue settings permit for large bursts, it in general can lead to pushback from the queues.
For lower volumes, real time priority can increase the operating system overhead by awaking imudp more often than strictly necessary and thus reducing the effectiveness of recvmmsg().
imudp threads and queue worker threads
There is no direct relationship between these two entities. Imudp submits messages to the configured rulesets and places them into the respective queues. It is then up the the queue config, and outside of the scope or knowledge of imudp, how many queue worker threads will be spawned by the queue in question.
Note, however, that queue worker threads and imudp input worker threads compete for system ressources. As such the combined overall value should not overload the system. There is no strict rule to follow when sizing overall worker numbers: for queue workers it strongly depends on how compute-intense the workload is. For example, omfile actions need few worker threads as they are fast. On the contrary, omelasticsearch often waits for server replies and as such more worker threads can be beneficial. The queue subsystem auto-tuning of worker threads should handle the different needs in a useful way.
Additional Resources
See also
Help with configuring/using Rsyslog:
 - Mailing list - best route for general questions
See also
Contributing to Rsyslog:
Scroll to top


text:
Download postscript and pdf versions of manual plus all FORTRAN programs.
Cover picture: Showing, for a horizontal applied field, the horizontal currents around a circular inclusion of conductivity 10, embedded in a matrix of conductivity one, computed using a finite difference program. The magnitude of the currents go from red = high to black = low.
This manual has been prepared to show some of the theory behind, and the practical details for using, various finite element and finite difference computer programs that have been developed for computing the effective linear properties of random materials whose microstructure has been stored in a 2-D or 3-D digital image. Thirteen different computer programs are described, including finite element conductivity and elastic programs, finite difference programs for D.C. and A.C. conductivity, finite element elastic programs that include thermal strains (eigenstrains), and three auxiliary programs for Gaussian quadrature and phase percolation. All the programs are written in FORTRAN 77, and operate on an arbitrary digital image that is read from a file. Arbitrary symmetric conductivity tensors and arbitrary elastic moduli tensors can be used in the finite element programs. In the finite difference programs, the conductivity tensors must be diagonal. Only linear elastic and linear electrical conductivity problems are considered. The programs can of course be extended to other problems that have a similar mathematical basis.

source: HuggingFaceFW/fineweb-edu


text:
Instrument Stands Part 1: Brass
As I see it, there are three main ways to play an instrument adaptively:
1. Modify your technique
2. Modify the instrument itself
3. Modify the way the instrument is held
Musicians with limb differences need to use all of their functional body parts to play their instruments effectively. Therefore, holding an instrument should take as little effort as possible. Although some products exist on the market, many players have created their own instrument stands. In this post, I'll share some solutions for holding brass instruments.
Felix Klieser is a professional French Horn player from Germany. (His playing is stunning! Listen!) He plays with his left foot. Felix's horn rests on an adjustable stand with an extension for his heel.
ErgoBrass supports are available for purchase worldwide. They have created supports for trombone, trumpet, French horn, and euphonium. These supports do not allow the instrument to stand on its own, however, they reduce the strain on the player.
Do you use a support for playing a brass instrument? Leave a comment and share your solution!


text:
- The meaning of midterm elections
After his party received a drubbing in 1982, Ronald Reagan went on to a landslide victory in 1984. Bill Clinton shifted to the center after the disastrous 1994 midterms and became a popular two-term president. Midmorning looks at the lessons past presidents have learned from midterm elections.9:06 a.m.
Ron Elving: Senior Washington editor for NPR.
Russell Riley: Associate professor of history at the University of Virginia and chair of the Miller Center's Presidential Oral History program.
William Doyle: Author of "Inside the Oval Office: The White House Tapes from FDR to Clinton."
- How music can affect perception
This political season, candidates' ads have used music to frighten, inspire, and motivate voters to get out to the polls. Music can do a lot more to communicate a message in TV, films, and other multimedia. Midmorning's experts explain how.10:06 a.m.
Joel Dodson: Director of broadcast production at Olson, a Minneapolis advertising agency.
Scott Lipscomb: Professor of music education in the University of Minnesota's School of Music. He studies the role of music in multimedia.
You can follow Kerri Miller on Twitter at _USER_
Download each day's Midmorning to your computer or portable MP3 player. Each hour addresses a different topic. To receive both hours every day, you need to subscribe to both hour one and hour two.
Subscribe directly with iTunes:
You can also copy and paste these URLs into your podcast software:


text:
"BERNICE BOBS HER HAIR"
F. Scott Fitzgerald
DIRECTIONS: Read F.Scott Fitzgerald's short story "Bernice Bobs Her Hair" and circle the word that best completes the sentence. Provide evidence from your reading of the story to justify your choice.
1. Marjorie is different than Bernice because she is
2. In this story, Marjorie is to Bernice.
3. Bernice is a character.
are victims of feminine manipulation.
4. In this story, the young men
have more control over the women than the women have over them.
5. In this story, Fitzgerald the behavior of youth during the 1920s.
6. In this story, gets exactly what she deserved.


text:
Why Teach Engineering In High School?
This PDF document and this PowerPoint file from the American Society for Engineering Education provide an overview of why teaching engineering in high school makes sense. Some of the benefits include:
- Engineering topics are everywhere
- Engineering combines math and science topics into real world projects
- Engineering requires group work, so all students can participate while learning their math and science
- Engineering is fun and creative


text:
"A Finite Length Bearing Correction Factor for Short Bearing Theory,"
A rapid method for calculating the general nonlinear response of finite-length plain journal and squeeze film damper bearings is presented. The method incorporates a finite length correction factor which modifies the nonlinear forces obtained from short bearing theory. The steady-state rotational, precessive squeeze, and radial squeeze forces obtained with the correction factor compare extremely well with the forces obtained from an analytic solution of Reynolds equation using a variational approach up to L/D of 1.25 and hence covers the most commonly encountered L/D ratios. The method is no more time consuming than the short bearing analysis and is especially suited to nonlinear transient analysis of flexible rotors.


text:
This study presents the results from a survey issued to speech-language pathologists in the state of Kentucky regarding their perspectives on referral and assessment of bilingual speakers whose primary language is not English. The study was conducted to determine methods for decreasing the over-identification of bilingual students served for speech and language disorders. Literature review indicates an over-identification of non-English speakers in special education and related services programs nationwide. There are many possible reasons for this over-identification some of which include: lack of English instruction prior to testing in English, Speech-Language Pathologists' preparation level, and shortage of appropriately normed assessment tools. This study specifically addresses Kentucky Speech-Language Pathologists' preparation and comfort level with referral and assessment of non-English speaking students.
Advisor(s) or Committee Chair
Professor Leisa Hutchison
Bilingual, Multilingual, and Multicultural Education | Speech and Rhetorical Studies
Schulte, Kathleen M., "A Speech-Language Pathologiest Perspective on the Referral and Assessment of Bilingual Children whose Primary Language is not English" (2010). Honors College Capstone Experience/Thesis Projects. Paper 253.


text:
The current interest in using olive biophenols to promote functional ingredients and antioxidant additives is increasing. These compounds can be obtained from olive fruit and olive-derived biomasses using different technologies. However, other components can be co-extracted. Therefore, the main objective of this study was to evaluate the effect on protein solubilization of several extraction technologies, which were applied to obtain olive biophenols from olive-derived biomasses. For this purpose, conventional (Soxhlet and water bath) and non-conventional technologies (ultrasound and microwave) have been evaluated using water as solvent. The total phenolic content was estimated using the Folin-Ciocalteu method and the protein content using the Dumas combustion method. Overall, the highest total phenolic content was obtained using the Soxhlet method, while microwave-assisted extraction at 100ºC led to the highest protein solubilization (closer to 60%).
- 52 Reads


Sign up ×
How can I display a UTM Grid as a layer with Leaflet? Search a way to embed a OpenStreetMap map with Leaflet in a website. Particularity. I want to display a UTM Grid as a Layer. In addition, lower right UTM coordinate where the mouse is.
Example with UTM grid and UTM Number:
Does anyone an example?
share|improve this question
2 Answers 2
Have a look at these blog posts:
share|improve this answer
It would be helpful to summarize these blog posts as well, in case the links become broken in the future. – Taylor H. Feb 10 '13 at 2:55
I can tell you the answer for the second question: How to show UTM-coordinates in the lower right corner.
In leaflet the internal coordinate system is always longitude/latitude as far as I know, and you have to transform every time you need to work with your data.
First make sure you have installed proj4.js and proj4leaflet.js. To show your coordinates you can use the plugin:.
Then define your coordinate system and use when you define your map object:
var crs = new L.Proj.CRS.TMS('EPSG:25832',
 '+proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs',
 [120000, _PHONE_, _PHONE_, _PHONE_],
 {resolutions: [1638.4, 819.2, 0.1]
var map = new L.Map('map', {
 crs: crs,
 continuousWorld: true,
 worldCopyJump: false
The function _onMouseMove() should be modified to something like this:
_onMouseMove: function (e) {
 var my_crs =; // get the coordinate system
 var my_proj = my_crs.projection; // get the projection, which makes the transform
 var my_point = my_proj.project(e.latlng); // Here we transform back to UTM
 var lng = my_point.x;
 var lat = my_point.y;
 var value = this.options.lngFirst? lng + this.options.separator + lat : lat + this.options.separator + lng;
 var prefixAndValue = this.options.prefix +'' + value;
 this._container.innerHTML = prefixAndValue;
You will then get your mouse position in UTM. For more information see the documentation for proj4leaflet and leaflet.mouseposition.
share|improve this answer
Your Answer


text:
Key Words: Food quality; sensory analysis; e-nose; SVM classification; chicken meat.
Abstract. This paper discusses some more important aspects related to sensory characteristics, in particular the implementation of an „electronic nose" system. The aim of the study is to investigate the possibilities for assessing the quality and authenticity of food products, in particular fresh chicken meat. By using multisensory data fusion, an attempt has been made to overcome some of the difficulties and shortcomings inherent in organoleptic assessments. For the purposes of classification into classes used one-class SVM classifier. The procedure has been successfully tested to increase the accuracy of the classification by selecting the most informative sensors. The results show the potential of the proposed classifier that could be used as a quick, objective and non-destructive tool for assessing the quality of real-world recognition systems.


Tuesday, September 22, 2020
Home Tags Split
Tag: split
Split Row Into Multiple Rows
For this request we needed to loop through a number of rows and where candidate data was separated by a comma split the text into however many separate values are found between the comma's. As part of the split process to also divide an amount by the number of candidates to be split
Split Function
The Split function is a VBA function that is used for breaking strings into an array. The separation of string is identified by indicating a character or set of characters which are called delimiters. This function comes in handy, for example, when you have a list of whole names of people in a column of your worksheet and you want to split them in order to get the first and last names of each person.
LATEST
MOST VIEWED


text:
The WeCAN Early Intervention Programme (EIP) provides a comprehensive range of child services to support families and their children with autism aged 6 years and below. These services are autism-specific and specially tailored to meet the individual needs of the families and their children.
These child services include:
- Autism Intervention for Children
- Training for Families and Carers
- Transition Planning for Child
- Information and Referral
The WeCAN EIP follows the ARC(S) Intervention Focus Areas Pyramid
Intervention typically begins with the base of the pyramid (in a 1:2 context supported by teacher and carers) and works upwards towards social relationships (in a small group learning context)
Teachers will work closely with the parents on goal setting and implementation on a regular basis.
Every child who enters the programme begins a journey with us. The programme endeavours to provide the appropriate support to help each child move from one sign post to the next in this intervention journey.
The first step of the intervention journey begins with assessment of the child's learning needs.
Children are first assessed in the following areas:
- Interests / motivators
- Learning needs and styles
- Work habits
- Functional social and communication skills
- Risk Factors
Information from all sources is referenced to develop the most suitable individualised plan for the child.
Regardless of the level of entry, every child typically begins with a period of paired intervention (two children with one adult). They start in a smaller intervention room, focusing on basic intervention goals. Children are individually assessed and monitored on individualised goals.
Levels of Learning
There are three (3) main learning levels:
At this level, the focus is on areas of:
- Basic Compliance and Work Habits
- Engagement and Self-Regulation
- Functional Communication Using Conventional Means
Intervention at this level aims to prepare the child be ready for learning. We work on the skills in areas of child engagement and "learning to learn". This is done through intensive adult-led learning activities in direct teaching conducted in pairs. Parents and caregivers are actively involved in the intervention at this stage.
Typically, an individual session will be 1 hour and 30 minutes and cover the following:
- Arrival / Departure routines
- Work with teacher
- Circle time
- Art and Craft
- Independent work
- Play with Adult
- Parent training
At this level, our intervention focuses on teaching skills that help children become more independent and effective communicators.
Areas of focus include:
- Social Communication
- Group Learning
Children at this level learn in a group size of between 4-6 children with a minimum of two teachers.
Children may participate in a combination of different curriculum teaching focus areas during the course of each session. These include:
- Arrival / Departure
- Circle Time
- Play (Indoor and Outdoor)
- Art and Craft
- Table Activities
At this level, our intervention focuses on preparing our children for a social learning context. The children are in a ratio of between 6-8 children with at least two teachers.
Areas of focus include:
- Larger group learning
- Social Skills
- Problem Solving
Transition Planning and Preparation
Children in the WeCAN Early Intervention Programme (EIP) are served until the year they turn six (6). From day one when they join our programme, we pro-actively prepare parents and children for their post EIP placements which could be a mainstream setting, a special education school or a privately-run programme. Each child's journey in intervention will be different, and reflect the wide variety in learning needs and abilities.
At the end of every term, we review our children's progress on their individual goals and discuss with parents about the next steps of intervention. The recommendations could involve an extension of learning in achieved goal areas, a change in focus due to developing areas of learning needs or a move to a different group and classroom size to focus on learning in a different social context.
At the start of the year the child turns five (5), we will engage with parents in transition discussion and planning. Transition options are discussed and parents are guided on the steps for placement assessments.
Children at this stage will also learn transition skills that are relevant to them and these could include:
- School routines
- Managing test and exams
- Group learning
- Independent skills


OpenRAVE Documentation
simplegrasping Module
Shows how to use the grasping.GraspingModel to compute valid grasps for manipulation.
../../_images/simplegrasping.jpg
Running the Example:
openrave.py --example simplegrasping
Description
This type of example is suited for object geometries that are dynamically created from sensor data.
Command-line
Usage: openrave.py [options]
Shows how to use the grasping.GraspingModel to compute valid grasps for manipulation.
Options:
 -h, --help show this help message and exit
 --scene=SCENE Scene file to load (default=data/wamtest1.env.xml)
 --manipname=MANIPNAME
 Choose the manipulator to perform the grasping for
 OpenRAVE Environment Options:
 --loadplugin=_LOADPLUGINS
 List all plugins and the interfaces they provide.
 --collision=_COLLISION
 Default collision checker to use
 --physics=_PHYSICS physics engine to use (default=none)
 --viewer=_VIEWER viewer to use (default=qtcoin)
 --server=_SERVER server to use (default=None).
 --serverport=_SERVERPORT
 port to load server on (default=4765).
 --module=_MODULES module to load, can specify multiple modules. Two arguments are required: "name" "args".
 -l _LEVEL, --level=_LEVEL, --log_level=_LEVEL
 Debug level, one of (fatal,error,warn,info,debug,verbose,verifyplans)
 --testmode if set, will run the program in a finite amount of time and spend computation time validating results. Used for
 testing
Main Python Code
def main(env,options):
 "Main example code."
 env.Load(options.scene)
 robot = env.GetRobots()[0]
 if options.manipname is not None:
 robot.SetActiveManipulator(options.manipname)
 bodies = [b for b in env.GetBodies() if not b.IsRobot() and linalg.norm(b.ComputeAABB().extents()) < 0.2]
 target = bodies[random.randint(len(bodies))]
 print 'choosing target %s'%target
 ikmodel = databases.inversekinematics.InverseKinematicsModel(robot=robot,iktype=IkParameterization.Type.Transform6D)
 if not ikmodel.load():
 ikmodel.autogenerate()
 gmodel = databases.grasping.GraspingModel(robot,target)
 if not gmodel.load():
 print 'generating grasping model (one time computation)'
 gmodel.init(friction=0.4,avoidlinks=[])
 gmodel.generate(approachrays=gmodel.computeBoxApproachRays(delta=0.04,normalanglerange=0))
 gmodel.save()
 returnnum = 5
 print 'computing first %d valid grasps'%returnnum
 validgrasps,validindices = gmodel.computeValidGrasps(returnnum=returnnum)
 for validgrasp in validgrasps:
 gmodel.showgrasp(validgrasp)
 print 'choosing a random grasp and move to its preshape'
 basemanip = openravepy.interfaces.BaseManipulation(robot)
 with env:
 initialvalues = robot.GetDOFValues(gmodel.manip.GetArmIndices())
 for validgrasp in random.permutation(validgrasps):
 try:
 gmodel.moveToPreshape(validgrasp)
 print 'move robot arm to grasp'
 Tgrasp = gmodel.getGlobalGraspTransform(validgrasp,collisionfree=True)
 basemanip.MoveToHandPosition(matrices=[Tgrasp])
 break
 except planning_error,e:
 print 'try again: ',e
 robot.WaitForController(10)
 taskmanip = openravepy.interfaces.TaskManipulation(robot)
 taskmanip.CloseFingers()
 robot.WaitForController(10)
 with env:
 robot.Grab(target)
 raw_input('press any key to release')
 taskmanip.ReleaseFingers(target=target)
 robot.WaitForController(10)
 print 'initial values'
 basemanip.MoveManipulator(initialvalues)
 robot.WaitForController(10)
 print 'using the grasp iterator'
 with env:
 for validgrasp,validindex in gmodel.validGraspIterator():
 gmodel.showgrasp(validgrasp,useik=True,collisionfree=True,delay=0.4)
Class Definitions
openravepy.examples.simplegrasping.main(env, options)[source]
Main example code.
openravepy.examples.simplegrasping.run(*args, **kwargs)[source]
Command-line execution of the example.
Parameters:args – arguments for script to parse, if not specified will use sys.argv
Questions/Feedback
Having problems with OpenRAVE?


Suzy Vance Life Coach
Memoir In 17 Syllables
Capturing and Preserving…
Have you ever had an experience so marvelous that you wanted to capture it?
A trip filled with adventure…a sweet moment with family or friends…an insight that shifted your life?
Haiku Snapshots are a fun and easy way to bring your moments and memories to life.
Don't let those gems slip away!
Learn how to write a haiku…
 - Marriages, births, memorials, reunions, special journeys, times with friends and family, accomplishments following a collective effort…
 - Enriching a memory for the future when a loved-one's memory may fade…
With just a few key words…some precious pictures taken yesterday…a while ago…in your youth, capturing and preserving memories is possible…with a richness that never fades.
And…if you've been thinking of writing a memoir, this is a great way to begin!
how to write a haiku
how to write a haiku
how to write a haiku
how to write a haiku
Journey Together
As you begin to create, we'll venture together through your memories to create a memoir book that captures both your most treasured photographs and learn how to write a haiku that captures those moments in time.
Contact me to schedule a group session or a personal experience all your own.
Design Your Own
If you want to create a unique journey through your memories, let me know! I welcome the opportunity to build a truly special experience for you.


Rubble Railway Nuremberg
from Wikipedia, the free encyclopedia
Rubble Railway Nuremberg
Route of the rubble railway Nuremberg
Gauge : 900 mm ( narrow gauge )
The Trümmerbahn Nürnberg, popularly known as "Trümmer-Express" or "Moll-Bahn", was a rubble railway in Nuremberg. She served after the Second World War to eliminate the war rubble and ran from the old town on the Valznerweiher, the Nazi party rally grounds and the Silver Buck to Fischbach. The narrow-gauge railway had a track width of 900 millimeters and was built from 1946 to 1947 after around 90 percent of the buildings in the old town were destroyed or badly damaged by the air raids on Nuremberg and large quantities of rubble had to be removed. After the largest mountains of rubble in the old town and the eastern southern part of the city had been removed, the railway ceased operations in 1950. Similar systems existed in about three dozen other German cities.
In the city center, the loosely laid tracks often changed as required. The railway initially led eastwards, on the Prinzregentenufer out of the old town, along the Pegnitz, which was also partially buried by bombs, and crossed it at the Wöhrd valley crossing on a specially built iron girder bridge. After the Dürrenhof tunnel, it followed Regensburger Strasse, crossed St. Peter, passed the Nazi party rally grounds to the excavation pit for the defunct German stadium, where the rubble was first dumped. Right next to it was the Silberbuck, a 35-meter-high mountain made of toxic and chemical waste. At the Valznerweiher, a separate depot with a locomotive shed and sidings was built for the vehicles on today's 1. FC Nürnberg site. There the machines were serviced and supplied with water and coal. There were evasions at various points so that counter-trains could pass. When the capacities at the German Stadium were gradually exhausted and no further mountains of rubble that could be seen from afar, such as the Silberbuck or the Föhrenbuck in Maiach, were to be piled up, the route was extended over today's Breslauer Straße to Fischbach. The rubble of the Föhrenbuck comes from other parts of the city and was not delivered by the rubble railway, but transported by trucks and barges on the Ludwig-Danube-Main Canal, which at that time was almost completely navigable. Large forest areas were designated around Fischbach, in which the further debris should be spread as evenly and inconspicuously as possible. Therefore, the route of the rubble railway changed there almost daily. When fully expanded, the rubble railway comprised a route network of 17 kilometers and an additional three kilometers of operating routes.
Construction and operation
The Leonhard Moll AG from Munich was commissioned with the construction and operation of the rubble railway, which as one of the market leaders in the production of industrial railways had the corresponding capacities. Initially, the carts were pulled by horses or pushed by hand. The rubble train could transport several dozen cubic meters of rubble per trip. The route was traveled with small steam locomotives that pulled tipping lorries. Up to 18 small steam locomotives from Henschel or Krauss-Maffei with an output of 20 to 75 hp were used. While loaded trains could only travel uphill at walking pace, empty trains reached speeds of up to 40 km / h downhill. In the event of overloading and on the inclines, additional pushing or a second locomotive had to be pre-tensioned. The multiple traction was also necessary because the area after Fischbach from 295 to 345 m above sea level. NN rises constantly. There were several hundred open tilting lorries available. The companies commissioned with the rubble removal used all available wagons, which resulted in a great variety in terms of design, size and year of construction. Usually six to eight loaded wagons were transported by one or two locomotives in Nuremberg. On the return trip, 15 to 20 wagons could be pulled empty and firewood felled in the woods could be taken. In addition to the carts, platform wagons were used to transport beams, iron girders and other bulky material. If it was necessary to transport liquids, existing barrels were lashed.
Debris dump near Fischbach
Except for one derailment, no accidents or operational disruptions worth mentioning have been reported.
In contrast to other major German cities, the loading was carried out only to a small extent by the so-called rubble women. German prisoners of war who were assigned by the Allies were primarily used in Nuremberg. In 1946 the city council also introduced compulsory service that required all 16 to 29 year olds to do 50 hours of clearing work. Loading was mostly done manually or with wheelbarrows via specially built small loading ramps. As far as available, simple conveyor belts and excavators were later used when there was enough space, with material separation taking place. Materials and objects that were still usable were separated on site and recycled elsewhere. The total moved masses were traceably documented and amounted to around ten million tons up to the Silberbuck and probably two to three times more to the forests around Fischbach. The compulsory service was abolished again in 1948 and the work was continued by contracted construction companies.
After the tracks were dismantled in the 1950s, the lines were built over, reforested or otherwise renatured.
In the forest area between Valznerweiher and Fischbach, numerous heaped earth walls of the deposits and the former routes can still be seen today.
Web links
Commons : Trümmerbahn Nürnberg - Collection of images, videos and audio files
Individual evidence
 1. a b Silberbuck, Schuttberg, Kleinbahn
 2. a b c Moll-Bahn - rubble transport to Fischbach
 3. a b Press report Nürnberger Nachrichten of December 24, 2019 p.10
Coordinates: 49 ° 25 '47.9 " N, 11 ° 9' 28.3" E


text:
Amazingly, if we were actually able to convert matter perfectly to energy with 1 kg of matter being completely annihilated, the energy produced from just that small amount of matter is about 42.95 mega tons of TNT. So an adult male weighing in at around 200 pounds has somewhere in the vicinity of 4000 megatons of TNT potential in their matter if completely annihilated.
This is about 80 times more energy than was produced by the largest ever detonated nuclear bomb, the Tzar Bomba, which itself produced a blast about 1,400 times more powerful than the combined explosions of the bombs dropped on Hiroshima and Nagasaki.
To further illustrate, 1 megaton of TNT, when converted to kilowatt hours, makes enough electricity to power an average American home for about 100,000 years. It is also enough to power the entire United States for a little over 3 days. So 1 kg of some matter being completely annihilated would be able to power the entire United States for about four months. One average adult male then, when completely annihilated, would produce enough energy to power the U.S. for about 30 years. Energy crisis solved.
On a completely baffling scale, a typical supernova explosion will give off about 10,000,000,000,000,000,000,000,000,000 megatons of TNT. *cowers in the corner*


text:
Referencing Files in a Workbook
You can refer to the contents of data and Maple code files added to your workbook using Maple Workbook URIs.
Using a Workbook URI to Refer to Workbook Files
Workbook URI Syntax
The Workbook URI (Uniform Resource Identifier) is used to represent the identity and location of files within a Maple workbook or files residing inside another workbook in a given file directory.
A URI would look like this:
Using the URI mentioned above as an example,
The substring, "this://" identifies this URI as a reference to the current open workbook.
The third slash represents the root directory of the Maple workbook.
Finally, "MyCode.mpl" represents the Maple code file located in the root directory of the current workbook.
In general, the URI syntax is "this:////".
Referencing Files in Another Workbook
While URIs of the form "this:////" are used to represent files within a workbook, it is also possible to reference files contained in other workbooks.
The syntax for such a URI is:
"maple:////"
Creating a Workbook URI on Windows
The file separator on a Windows operating system is backslash "\". However, the backslash is also an escape character. So in order to use the backslash as a file separator, a second backslash is required.
A example of a workbook URI on Windows would be:
Creating a Workbook URI on Linux or Mac OS X
The forward slash "/" character is the valid file separator on Linux or Mac OS X.
An example of a workbook URI on Linux or Mac OS X would be:
Linking to a Workbook Attachment
Download Help Document
What kind of issue would you like to report? (Optional)


text:
UWinnipeg's Newest Canada Research Chair:
Focus on Indigenous Science Education
The University of Winnipeg's Dr. Dawn Sutherland was named Canada Research Chair in Indigenous Science Education Wednesday as part of a $66.9 million announcement in Ottawa of 90 Canada Research Chairs by the Honourable Maxime Bernier, federal Minister of Industry and minister responsible for the Canada Research Chairs program.
In her research, Dr. Sutherland, Associate Professor in Education, plans to explore the relationship between culture and science education in indigenous communities, in particular in Manitoba. One of her goals is to see the teachings of Aboriginal culture incorporated into school curricula so that science education is more meaningful, interesting, and relevant for Aboriginal students.
Dr. Lloyd Axworthy, University of Winnipeg President and Vice-Chancellor stated that this initiative is part of a broader strategy underway at UWinnipeg to make education more accessible to and inclusive of Aboriginal peoples and culture.
"This project complements our holistic approach to Aboriginal education," said Dr. Axworthy. "The Canada Research Chair in Indigenous Science Education builds on our University's growing expertise and resources in this area such as our new Aboriginal Student Services Centre and the innovative Wii Chiiwaakanak Learning Centre. This combined with the generous support of our partners in both the inner city of Winnipeg and the Aboriginal community as a whole are benefiting not only our students and researchers, but future generations of Aboriginal students."
A five-year, $500,000 appointment, this Canada Research Chair builds on Dr. Sutherland's expertise teaching education students in the field of science. Sutherland incorporates traditional Aboriginal knowledge into her science lessons, and participates in an international committee dedicated to exploring how culture, language, and gender influence learning. She is collaborating with colleagues from around the world to develop an academic framework for teaching science to Aboriginal students that teachers can follow in their classrooms. In addition, she is in the process of establishing a centre where research in this area can be carried out.
"The idea is to make science learning relevant and interesting—to put it into a context that students are exposed to day to day," said Dr. Sutherland. "For some students, this means developing creative techniques, such as incorporating the indigenous knowledge of trappers, Elders, Aboriginal community members who live off the land, to help students engage with the science curriculum."
Dr. Sutherland is the fifth University of Winnipeg professor named as a Canada Research Chair. Dr. Mavis Reimer is Canada Research Chair in the Culture of Childhood, Dr. Jennifer Brown is Canada Research Chair in Aboriginal Peoples in an Urban and Regional Context, Dr. Tom Carter is Canada Research Chair in Urban Change and Adaptation, and Dr. Jacques Tardif is Canada Research Chair in Tree Ring Research.
The Canada Research Chairs program, part of an overall Government of Canada plan to encourage Canada's innovation, promotes leading-edge research and innovation in universities; provides exciting opportunities for Canadian researchers; and, attracts the best research minds in the world to Canadian universities.


Errors
4 ways to fix Twitch Error code 5000
Twitch Error code 5000
Written by Sandip Lokhande
Encountered Twitch error code 5000 and wondering how to fix it? It's one of the common issues users have been facing. Thankfully, it's easy to solve. Here's how to fix it.
What is Twitch Error 5000?
data-preserver-spaces="true">Twitch Error 5000 is the most common error you can encounter. The error appears as Twitch Error 5000: Content not found. The error usually occurs when you try to stream on Twitch. You may not be able to do so due to some plugins or the Chrome extension associated with your browser.
In most cases, it's a flash player issue. The problem is not related to some specific plugins of extensions. The culprit could be any other plugin or extension.
What causes Twitch error 5000?
There can be many reasons for this error. This can involve
 - Cache and cookies: Browser caches are one of the main reasons you see problems. They are a feature that focuses on reducing the loading time of websites. However, sometimes due if the cache gets corrupted, you get a twitch error code of 5000.
 - Extensions: Extensions are one of the main reasons you see a Twitch error 5000. Extensions are compelling to control in determining how websites work in our browsers. That can be a problem. The "Ghostery" extension that caused the error is one such example.
 - Browser: Sometimes, the main culprit is your browser. So the browser you are using may have some issues.
 - DNS Issue: Finally, it could be a DNS issue, which can be the ultimate resolve. DNS translates the website name to the IP address and then connects to the website. In some cases, the DNS may be corrupted, and you may see a twitch error code 5000.
How to Fix Twitch Error 5000
To fix Twitch Error 5000, here are a couple of solutions that you can try:
Fix 1: Enable Flash Player
If you're getting this error when only using Chrome, it is a good idea to launch Flash Player. To launch the Flash Player, you can follow these steps:
 1. First, launch the Chrome browser on your computer.
 2. Then type Chrome://settings in the URL field and press Enter.
 3. This will take you to the settings page, scroll down from here, and click on Advanced.
 4. Now select the content settings.
 5. Then select Flash.
 6. Finally, turn on the Flash with the toggle button.
However, if this method does not work for you, here are some other solutions you can try:
Fix 2: Clear cookies and cache
Sometimes error 5000 occurs because the twitch server is inaccessible, which means it's a temporary issue. However, our browsers store cache and use them every time we try to access the website. So there are potential chances of conflict between website and cache files.
The cache browser does not allow the website to be loaded from the current time. Instead, the cache shows a copy of the website previously stored on your computer. This way, your website will load faster. Sometimes, the cache will not be updated on a recent web page. As a result, you will get a similar error even if the website is active. Therefore, cache clearing is the best option.
 1. Open history by pressing Ctrl + H.
 2. Click on clear browsing data.
 3. A window appears, in that click on Advanced Tab.
 4. In Time range, click on All time and tick all the boxes you see.
 5. Click on Clear Data.
 6. After this, restart your browser and check if the issue is resolved.
Fix 3: Disable extensions
Finally, you can disable extensions. Many users have complained that Twitch is not working in Chrome. This occurs due to conflict in some extensions. So, you can try disabling them and see if everything works properly. To disable extensions, you can follow these steps:
 1. Launch Chrome.
 2. In the address bar, type Chrome://extensions and press Enter. If you are using Firefox, you will need to type about: addons in the address bar and press Enter.
 3. Then here, you will find a list of extensions or plugins.
 4. Disable all plugins and extensions one by one.
 5. Now check if you are facing Twitch Error 5000 or not.
Additionally, you should pay extra attention to the extensions that are recently installed in your browser.
Fix 4: Use another browser.
Suppose you are still getting the error. It's a good idea to change your browser and see if everything works properly. For example, if you have a problem with Chrome, try downloading Mozilla Firefox and see if you get the same error. You can also test Microsoft's Edge browser and look for the issue. Similarly, if you are a Firefox user, try other browsers and see if it fixes the problem.

About the author
Sandip Lokhande
I'm a Blogger and very much Innovative and up to date. Also I would like to write about Technology, Business, Software, Finance & Gadgets. You can connect with me on - _EMAIL_
Leave a Comment


Take the 2-minute tour ×
I'm taking an algorithm course at the university, and for one of my projects I want to implement a red-black tree in C# (the implementation itself isn't the project, yet just something i decided to choose to help me out).
My red-black tree should hold string keys, and the object i created for each node looks like this :
class sRbTreeNode
 public sRbTreeNode Parent = null;
 public sRbTreeNode Right = null;
 public sRbTreeNode Left = null;
 public String Color;
 public String Key;
 public sRbTreeNode()
 public sRbTreeNode(String key)
 Key = key;
I already added some basic methods for printing the tree, finding the root, min/max key (by alphabet), etc...
I'm having trouble inserting nodes (hence, building the tree). Whoever's familiar with red-black trees knows that when adding a node to one side, you could have changed the balance of the tree. To fix this, you need to "rotate" around nodes on the tree in order to balance the tree out.
I wrote a RightRotate and LeftRotate method in pseudo-code, and then when i tried to implement it in C#, i ran into a bunch of reference problems with the sRbTreeNode object i created.
This is the pseudo-code I wrote for the LeftRotate method :
LeftRotate(root, node)
 y <- node.Right;
 node.Right <- y.Left;
 if (y.Left!= null)
 y.Left.Parent <- node;
 y.Parent <- node.Parent;
 if (node.Parent = null)
 root <- y;
 if (node = node.Parent.Left)
 node.Parent.Left = y;
 node.Parent.Right = y;
 y.Left <- node;
 node.Parent <- y
I received a suggestion to implement it straight forward, but without using the'ref' keyword, which i tried at first. This is how i did it :
public static void LeftRotate(sRbTreeNode root, sRbTreeNode node)
 sRbTreeNode y = node.Right;
 node.Right = y.Left;
 if (y.Left!= null)
 y.Left.Parent = node;
 y.Parent = node.Parent;
 if (node.Parent == null)
 root = y;
 if (node == node.Parent.Left)
 node.Parent.Left = y;
 node.Parent.Right = y;
 y.Left = node;
 node.Parent = y;
Now, when i debug, i see that it works fine, but the objects i pass to this method are only rotated within the scope of the method. When it leaves this method, it seems like there was no change to the actual nodes. That is why i thought of using the'ref' keywords in the first place.
What am i doing wrong?
share|improve this question
As Andras says, show us the code so far and we'll give it a shot. – C. Ross Feb 12 '10 at 13:20
add comment
3 Answers
up vote 2 down vote accepted
Because in the body of your method you do this:
root = y;
you need to pass root in with a ref modifier. node doesn't need one, becausenode itself is never updated to point at a different ndoe..
share|improve this answer
Just tried it, and it finally works!! I can't believe it was that easy, and i didn't realize that!... Thanks a lot! – gillyb Feb 12 '10 at 14:39
add comment
I don't see why you should have had any issues with references - the Left/Right/Parent nodes can be copied just as in this pseudo-code.
You should be able to expand it to C# without too much fuss - unless you're using the'ref' keyword, in which case you could very well get unpredictable results.
Perhaps if you could show the code you've actually written thus far, and we can help debug that.
share|improve this answer
Well, i was trying to use the ref keyword, and i thought that was the right way to do it... I'll try without using ref, and see how it goes, Thanks. – gillyb Feb 12 '10 at 13:24
I just edited the question with the code i tried so far, maybe it will help you help me, since it doesn't fully work, I explained why in the edited question above. – gillyb Feb 12 '10 at 14:27
Well - there you go - _USER_ sorted it for you! – Andras Zoltan Feb 12 '10 at 14:41
add comment
My recommendations:
 - Do not include parent pointers. They are not essential for the insertion or deletion algorithms and will make your code more complex. For example LeftRotate can be written with just one parameter and will be about half as long if you do not use parent pointers.
 - Use an enum for the Color property rather than a string, and initialise it in the constructor.
 - Read this article if you haven't already.
share|improve this answer
I need the parent pointers for something else that has to do with the structure. This will make it much faster to travel along the tree. – gillyb Feb 12 '10 at 13:21
Even if you do need them, it might be easier to implement the algorithms without them first and add them in later. – finnw Feb 12 '10 at 13:43
add comment
Your Answer


text:
13th March 2014, Cavendish Conference Centre, London
Practical, real world insights for deploying cost-effective and innovative ICT
Healthcare is changing
Rising costs, changing demographics and growing consumer expectations are changing healthcare. Providers and payers are seeking better quality care and improved outcomes whilst striving for much more efficient models of delivery. The recent reforms in the UK, the US and other countries are all part of this movement.IT facilitates a Health Information Revolution
These pressures for transformation are changing the status of IT in healthcare as it facilitates an information revolution in healthcare. Increasingly, ICT (information and communication technologies) is being used more collaboratively to support and drive substantial cultural and strategic change and provide the infrastructure, processes and tools to support this.How to leverage technology to implement effective change?
Ovum's Smart healthcare Summit has been developed to provide critical input for IT leaders in healthcare, providing objective, timely, evaluation of the different healthcare challenges and applications and solutions for tackling them.
The format of the event is discursive with roundtable discussions and case studies from leading CIO and Clinical Directors in healthcare providers, sharing their experiences on what works and what does not.