Artist gives brutalist architecture a singing voice
Brutalist architecture has gotten a bad rap over the years—so much so that Goldfinger, the villain of James Bond fame, was named after Ernő Goldfinger, an architect inspired by brutalism. Mo H. Zareei (aka mHz) is trying to fight back against this societal repulsion with his evocative sound sculptures. He's an Iranian electronic musician, sound artist, and music technology researcher, who is actively finding ways to use his interests in both brutalist architecture and noise to show how nuanced and poetic these two concepts can really be.
In his series machine brut(e), Zareei makes use of three sound sculptures rasper, Mutor and rippler, to make unusual audiovisual combinations. Each piece is a marriage between sound art and sculptural composition, accompanied by a concrete block to visually highlight the 'raw concrete' material and its links to brutalism. Zareei breaks down the different elements of brualist aesthetics which are compelling to him, as he says, "The monolithic appearance, visibility of material, valuation of crude concrete, strict geometries, repetitive modules, lack of nonfunctional ornamentation, these were all fundamental principles by which I have constructed my sound-sculptures."
Each piece is a marriage between sound art and sculptural composition
Zareei describes his childhood in Ekbatan, Tehran to Streaming Museum as growing up among "gray Lego-like giants," and speaks of the town and "the poetry of its parallel lines and right angles, its strict geometries, homogeneous grayness, and the perfection of its zigzag… a gracious haven of order and coherence in an enormous city of haphazardness." This background giving brutalist architecture an almost romantic sense undoubtedly affects Zareei's work, and allows him to express a perspective deeply contrasted to Ian Fleming's villainous portrayal, or the perceived mundanity and ugliness of the style.
Although the sound sculptures of this project may initially seem dull and monotonous, or even ugly and abrasive, if experienced in an open-minded and curious way, they can be incredibly and unexpectedly satisfying and poetic. Listening and watching Composition 0001 reminded me of tile floors and concrete, a turnstile moving with perfect flow. It also reminded me of oddly satisfying industrial processes (try to watch this muted, with Zareei's work below, playing in the background to get a sense of what I mean). As highlighted by The Creators Project, "Zareei's goal with the constant repetition is to create a "temporal monolithism" that matches brutalism's block-like aesthetics. The repetition is also designed to produce an 'instant audible structure'."
Zareei, speaking about the types of works that inspire him says: "it seems clear to me that the works of sound art and music that I am influenced by… can be summed up as the sensory experience of the conventionally non-interesting on a highly ordered and sensually accessible structure." This idea of the conventionally 'non-interesting' being sensually accessible, strongly comes through in his work, which will likely evoke a sensory reaction in all its viewers, in one way or another.
Mo H. Zareei is currently living in New Zealand, where he is pursuing his PhD research on noise music and mechatronics at Victoria University of Wellington. You can keep track of his work through his website and Facebook page


text:
Full Length Research Paper
Two sets of pot experiments were conducted to investigate the effect of different compost types (market compost, home compost and vermicompost) and their rates on growth of pot grown tomato. During the first experiment, two compost types (market and home composts) each applied at four rates (0, 200, 400 and 800 g/pot) were evaluated while during the second experiment all the three compost types including vermicompost each applied at five rates (0, 200, 400, 600 and 800 g/pot) were evaluated. The chemical compositions of the composts were analyzed using appropriate laboratory procedures. Results revealed that market compost had the highest available P, exchangeable K and total S content whereas vermicompost had the highest organic matter and total N content followed by market compost. Growth parameters increased with increasing rates of home compost and vermicompost, but decreased with increasing rate of market compost. Shoot nutrient content varied much between compost types than compost rates. Shoot nitrogen and potassium concentration was higher with the application of market compost; phosphorus concentration was higher with the application of vermicompost while sulphur concentration was the highest with the application of home compost. Growth reduction at the highest market compost application could be ascribed to higher pH and total soluble salt content, especially chloride and potassium.
Key words: Compost, salt stress, tomato, toxicity, vermicompost.
HC, home compost; VC, vermicompost; MC, market compost; OM, organic matter; N, nitrogen; Av.P, available phosphorus; Exch. K, exchangeable potassium; S, sulphur.
Copyright © 2023 Author(s) retain the copyright of this article.
This article is published under the terms of the Creative Commons Attribution License 4.0

source: m-a-p/FineFineWeb


Follow
Creating a Rehabilitation Clarification Order in SigmaCare - CM
Avatar Shonte Ofori
Created:
Updated:
Print Friendly
Upon admission, readmission or medical event an Evaluate, Screen and Treat order may be entered for a resident in SigmaCare. Once the order has been entered it will require clarification by a therapist in SigmaCare.
In order to Clarify the order the following tasks must be performed:
 1. Dashboard
 2. Click on a value in the Rehab notification box under the new column.
 3. Click on the icon under the Actions column.
 4. Click on the Assigned drop down and select the therapist that will be performing the treatment.
 5. Click on the Disposition drop down and select therapy disposition.
 6. Click on the Onset Date drop down and select the appropriate date.
 7. Type any notes in the Comment field, if necessary.
 8. Enter the Intensity in the therapy intensity fields, if necessary.
 9. Click the Duration drop down and select how long the therapy should last.
 10. Click on the Procedures tab and enter the necessary CPT code(s) for the order by the following Select Method: Resident History, Library or Search.
 11. Click on the Diagnoses tab.
 12. Select Treatment Diagnosis for the order by using the following Select Method radio button: Resident Hx or Search.
 13. Next Select the Medical Diagnosis by clicking on the ICD-10 Code/Description
 14. Review the order summary.
 15. Click Complete to create the clarification order and send it for physician approval.
Was this article helpful?
0 out of 0 found this helpful
Comments
Powered by Zendesk


text:
Swordfish – Indian Ocean
Swordfish is a large, pelagic species found throughout tropical and temperate waters around the globe. They grow at moderate rates and produce many eggs.
In the Indian Ocean, Swordfish are captured by fishing fleets from many nations including Taiwan, Spain, Pakistan and Japan. Their abundance decreased through the 1990s and early 2000s as catches increased, but current Swordfish abundance in the Indian Ocean is at a medium level.
The majority of Swordfish in the Indian Ocean are taken with pelagic longlines, and some with gillnets. These fishing gears result in minimal habitat damage, but may accidentally catch endangered and protected species like sea turtles. Regulations for Swordfish fisheries are set by the Indian Ocean Tuna Commission, but compliance with these regulations at the national level is poor.
This fish may have high levels of mercury that could pose a health risk to adults and children. More mercury info here.

source: HuggingFaceFW/fineweb-edu


text:
Skip to Main Content
We have successfully fabricated superconducting niobium nitride thin films on single crystals of magnesium oxide using a pulsed laser deposition technique where 1064 nm (photon energy ~1.16 eV) laser pulses from an Nd:YAG laser were used for ablation. A correlation between the superconducting transition temperature, the nitrogen base pressure during deposition and the lattice parameter of the produced NbN films was observed. Superconductor-insulator-normal metal junctions fabricated using these NbN films as the superconductor revealed nonlinear electrical characteristics at 4.2 K associated with quasiparticle tunneling.
Date of Publication: June 2011


Skip to main content
Video card is not visible in Device Manager
A number of PC users may encounter a situation where their video card is not displayed in the list of video adapters of the Device Manager. This happens especially often when there are two video cards on the computer - built-in and discrete, while the latter can suddenly "disappear" from the list of modules available on the PC. In this article I will explain why the video card is not visible in the device manager, what are the specifics of this dysfunction and how to fix it.
Видеокарты нет в диспетчере устройств
There is no video card in the device manager.
The content of the article:
Symptoms of the problem
In most cases, this problem occurs suddenly, and for no apparent reason. If earlier two video cards were visible in the Task Manager, then after the occurrence of dysfunction, only one (usually built-in) can be displayed, an "unknown device" often appears, and the graphics quality drops to the basic level.
Видеоадаптеры в диспетчере задач
Video adapters in task manager
All attempts to somehow detect the second video card or install drivers on it usually do not give results. When trying to install drivers for a missing discrete video card, the installer may signal the absence of this card on the computer.
Why the video card is not displayed in the device manager
So, why is the video card not visible in the device manager? This may occur for the following reasons:
 - Accidental failure of the operating system;
 - The lack of the necessary drivers for the graphics card (this is especially true for users of the modern Windows 10, under which the necessary drivers may simply not be released);
 - Unsuccessful updates of the operating system, as a result of which the drivers of one of the video cards stop working correctly, and the video card itself can "disappear" from the task manager;
 - Discrete video card is disabled in BIOS;
 - Malignant effect of viral programs;
 - Not tight connection of the graphics card to the motherboard.
 Сбой в компьютере
 Computer crash
Video card on computer disappeared - how to fix
How to fix a situation in which the video card is not displayed in the Device Manager of your computer? I recommend to perform the following actions:
 1. Restart your computer (if you have not done this before). If the failure has a random nature, it will disappear;
 2. If you have a desktop computer (desktop), and the video card is inserted into the corresponding connector of the motherboard, check the connection density of the video card to the corresponding connector of the motherboard;
 3. Reset BIOS to factory settings . Go to the BIOS when the computer starts up, select reset to factory settings and confirm the changes;
 Сброс Биос
 Reset bios
 - If the problem is observed in a laptop - shut it down, unplug the power supply cord from the outlet, and then remove the battery from the case of your laptop . Wait a minute, then return the battery and turn on your PC;
 - Display hidden devices in Task Manager . Go to the Task Manager (click on the "Start" button, enter devmgmt.msc in the search bar and press enter), click on "View" at the top, and select the "Show hidden devices" option.
Открываем скрытые устройства
We open the hidden devices
If the missing card is displayed - delete this device by clicking on it with the right mouse button and selecting "Delete". Then try reinstalling the drivers for your video card (you can use special software for this purpose to install drivers like DriverEasy or DriverPack Solution ).
 - Try to remove all the drivers for the missing graphics card, and then install them from scratch. To remove the drivers for the graphics card, use the functionality of the DDU program (Display Driver Uninstaller - Display Driver Uninstaller). Download and install this program, reboot your computer in "Safe mode" (Safe mode), run the DDU.
Then select a driver for your missing card (NVIDIA, ATI, etc.), and click on the "Clean and Restart" option. The program will completely remove the drivers for your card, then the system will reboot and try to reinstall the drivers for your graphics card (or do it yourself by downloading the latest drivers for your card from the site of the manufacturer of your graphics card (or your laptop)).
Display Driver Uninstaller
Display Driver Uninstaller
An alternative to the DDU could be the use of another similar utility - Driver Fusion with similar functionality and appropriate focus of actions;
 - Try to roll back the system to the recovery point, at which there were no problems with the "disappearance" of the video card. Click on the "Start" button, enter rstrui in the search bar and click on enter. Then select the desired restore point and roll back the system to a stable level;
 - Check your system for viruses (help Dr.Web CureIt !, Malware Anti-Malware and several others);
 Dr.Web CureIt!
Dr.Web CureIt!
 - Try to upgrade your BIOS to the latest version (look for the latest BIOS version on the website of the manufacturer of the motherboard of your PC).
Conclusion
If you are interested in how to return the video card to the Device Manager, then I recommend that you complete the entire set of tips suggested by me above. The most effective option among the above is to completely remove the drivers for the missing video card using the DDU or Driver Fusion, and then install the latest drivers for the video card downloaded on the manufacturer's website. This method showed its greatest effectiveness in correcting the problem "Video card is not visible in the device manager".
How do you rate the article?
Звёзд: 1Звёзд: 2Звёзд: 3Звёзд: 4Звёзд: 5 ( 15 ratings, average: 3.20 out of 5)
Loading...
" 13 Comments " Video card is not visible in the device manager
 1. Hello guys. Tell me what chip and 5 I can install on the motherboard the Evie bridge 22nm core socket РПГА988Б
 2. Good day. I decided to change the hardware on the sly (games) and stopped on the GTX 980. I also considered the GTX 780, it is also nothing, but slightly inferior in the characteristics of the 980th except for the bus width (384 vs. 256). For performance, I understand this is the main indicator. Question: which one is better to choose a video card in order to win in performance (I think I'm going to put a stone on the Intel® Core ™ i7-6700K).
 1. Gtx 1060 on 3gb with 196 bus take it, you can't go wrong price-performance ratio I bought from msi games in full HD I fly a percentage of 8320
 3. The joke is that the drivers for Nvidia cannot be removed in safe mode. Yes, and there is no sense in safe mode
 4. Who has Windows 7 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!
 Start> Penl Control> Hardware and Sound> Device Manager ..
 Everything is there and look!
 5. After removing the video card no longer appears, when updating the driver says that there is no compatible hardware
Add a comment
Your email will not be published.


text:
8. Predicates and Utilities
Now that we know how to create classes, access slots, and define
methods, it might be useful to verify that everything is doing ok. To
help with this a plethora of predicates have been created.
- Function: class-v class
- Return a vector with all the class's important parts in it. This vector
is not a copy. Changing this vector changes the class. The CLOS method
find-class will have the same effect.
- Function: find-class symbol &optional errorp
- CLOS function. In EIEIO it returns the vector definition of the class.
If there is no class,
nil is returned if errorp is
- Function: class-p class
- Return nonnil if class is a class type.
- Function: object-p obj
- Return nonnil if obj is an object.
- Function: slot-exists-p obj-or-class slot
- Return Nonnil if obj-or-class contains slot in its class.
- Function: slot-boundp object slot
nil if OBJECT's SLOT is bound.
Setting a slot's value makes it bound. Calling slot-makeunbound will
make a slot unbound.
OBJECT can be an instance or a class.
- Function: class-name class
- Return a string of the form # which should look
similar to other lisp objects like buffers and processes. Printing a
class results only in a symbol.
- Function: class-option class option
- Return the value in CLASS of a given OPTION.
(class-option eieio-default-superclass :documentation)
Will fetch the documentation string for
- Function: class-constructor class
- Return a symbol used as a constructor for class. This way you can
make an object of a passed in class without knowing what it is. This is
not a part of CLOS.
- Function: object-name obj
- Return a string of the form # for obj.
This should look like lisp symbols from other parts of emacs such as
buffers and processes, and is shorter and cleaner than printing the
object's vector. It is more useful to use
object-print to get
and object's print form, as this allows the object to add extra display
information into the symbol.
- Function: object-class obj
- Returns the class symbol from obj.
- Function: class-of obj
- CLOS symbol which does the same thing as
- Function: object-class-fast obj
- Same as
object-class except this is a macro, and no
type-checking is performed.
- Function: object-class-name obj
- Returns the symbol of obj's class.
- Function: class-parents class
- Returns the direct parents class of class. Returns
it is a superclass.
- Function: class-parents-fast class
- Just like
class-parent except it is a macro and no type checking
- Function: class-parent class
- Deprecated function which returns the first parent of class.
- Function: class-children class
- Return the list of classes inheriting from class.
- Function: class-children-fast class
- Just like
class-children, but with no checks.
- Function: same-class-p obj class
t if obj's class is the same as class.
- Function: same-class-fast-p obj class
- Same as
same-class-p except this is a macro and no type checking
- Function: object-of-class-p obj class
t if obj inherits anything from class. This
is different from
same-class-p because it checks for inheritance.
- Function: child-of-class-p child class
t if child is a subclass of class.
- Function: generic-p method-symbol
method-symbol is a generic function, as
opposed to a regular emacs list function.
It is also important to note, that for every created class, a two
predicates are created for it. Thus in our example, the function
data-object-p is created, and return
t if passed an object
of the appropriate type. Also, the function
is created which returns
t if the object passed to it is of a
type which inherits from
This document was generated
by XEmacs Webmaster on October, 2 2007


text:
The Influence of Microstructure and Chemical Composition on the Strength of Cast Iron Used for Railway Vehicles
Generally, the shape of graphite and the contents of elements strongly affect the tensile strength of cast iron. In this study, hardness tests and tensile tests for the two types of gray cast iron were carried out. The test results showed the similarity in the hardness but considerable difference in the tensile strength between two materials. Microstructure analysis and chemical analysis were conducted to determine the cause for the difference in the tensile strength between the two types of cast iron. The experimental results showed differences in the microstructure and chemical composition between the two materials. B-type brake disk material(B-type) that had higher tensile strength includes flake, vermicular and spheroidal graphite, whereas A-type brake disk material (A-type) included only flake graphite in the structure. Nodularity of graphite in the B-type was higher than that in the A-type. Also, the B-type had the higher Si content and lower Mn content. In addition, the B-type had Cu, while the A-type did not. Therefore, we concluded that the difference in the strength between the two types of cast iron was due to the difference in the shape of the graphite and the contents of Cu in the cast irons.
Seung-Seok Lee, Joon Hyun Lee, Ik Keun Park, Sung-Jin Song, Man Yong Choi
Y. M. Lee et al., "The Influence of Microstructure and Chemical Composition on the Strength of Cast Iron Used for Railway Vehicles", Key Engineering Materials, Vols. 321-323, pp. _PHONE_, 2006


text:
All Earth Ecobot Challenge Awaits You
Who wouldn't want their children to become creative and innovative during early school life? Learning begins at home and is refined by early schooling. This idea of creative learning and innovation was introduced in 2009 by Mr. Doug Kleiner, who is currently the CEO of Harris County Foundation which provides funds to the All Earth Ecobot Challenge.
The agenda of this challenge is to inspire young minds residing in Texas, by the following three key points:
- Stimulating the child's desire for wisdom
- Encouraging the young minds to think out of the box
- Creating thirst amongst the students to foresee their growth outside the school
Preparation of Young Minds
The Ecobot Challenge focuses on the creativity and learning of students that are between grade 5 and 8. The concept of this encounter is to design and give ideas about robots which can be environment friendly. The students are required to present their robots using presentations and Lego pieces. The event occurs only in Texas during the summers.
Benefits for Students
The All Earth Ecobot Challenge is a great opportunity for children to learn and enhance their mental capabilities. The reason for the popularity of the Ecobot Challenge is that, it is beneficial for everyone including teachers, principal, and students, as well as their parents. Students are aided in the following ways:
- They start believing in themselves.
- They are fascinated with the school based training programs.
- They develop an urge to learn more and more to make a better future.
- Students try to excel in their subjects way before the competition in order to succeed once the real competition starts.
Benefits for Others
According to the feedback of parents, they are unable to express their happiness when they witness how creative, innovative and intelligent their children have become during the challenge. The communication barriers are broken down by participating in the All Earth Ecobot Challenge as parents and their children are in communication with each other more than ever before.
Teachers and principals are dazzled by the amazing performance of their students. For them, it is a delight to see their students learn and develop their creativity at such a young age hence producing good results in school disciplines along with the Ecobot Challenge every year.
Each team consists of four members that assimilate disciplines like mathematics, physics and computer studies learned during their schooling to plan and shape their robots from scratch to perform tasks that are common in real life.
Once the robots are designed, the true Ecobot Challenge starts. Students are given different missions which they are required to complete in a time battle. The tasks are related to real world issues such as technical innovation, research in medicine, efficient use of energy resources, ecofriendly environment transport, and more.
Reason of Success
The simple answer is that "sponsors" are responsible for funding and making this event successful since 2009. At that time, there were only a few funders but now there are plenty and are increasing with time. Some of the major sponsors are:
- Cobalt International Energy
Everyone should try to take part in this noble cause by sponsoring such events because:
- These challenges are fun learning activities.
- They motivate the students to think outside the box.
- Such events provide opportunities to the students to recognize their mental capabilities.

source: openbmb/Ultra-FineWeb


text:
The luckiest day of the year - St Patrick's Day - is just around the corner!
The masses will be celebrating with corned beef, cabbage, Guinness, and endless smiles. Whatever your plans - why not order a Celtic-inspired ring so you can carry the Irish spirit with you all year.
Celtic history and culture intertwined with religious beliefs shaped the intricate patterns commonly seen in Celtic jewellery today. The distinctive geometric styles, with their rich histories, each tell a story.
Meaningful Celtic Patterns
The designs used in Celtic artwork and jewellery might look to be almost random at times. But every aspect of the geometric patterns is full of meaning.
The Celtic Love Knot
The Celtic Oval Knot, also known as the Celtic Love Knot, is one of the oldest and simplest Celtic designs. It's rumoured to go all the way back to 2,500 BCE.
Celts exchanged these knots on their wedding day, just as we do today with rings. The design represents the enduring love and connection between two people. (Awww!)
Arguably the most recognizable Celtic symbol, the Trinity Knot (also known as the Triquetra) is said to symbolize the Holy Trinity.
Pre-Christianity, the symbol was said to represent the three stages of a woman's life: The Maiden, The Mother, and The Crone. It makes a powerful statement about female empowerment and connection to the moon.
The Morrigan Titanium Ring is very dainty, but it's made from aircraft-grade Titanium so it's also very durable.
The Infinity Symbol
The mathematical concept of infinity is a relatively new discovery when compared to the rich history of the spiritual concept of infinity.
Historically, circles and Celtic knots have been seen to represent the 'endless' relationship between humans and the world around us. It's little wonder the symbol has maintained its meaning and popularity throughout the ages.
The Fairy Titanium Ring is a Celtic-inspired ring that represents infinity. More complex than the single infinity symbol jewellery, this pattern is as intricate as it is delicate.
Get Your Celtic-Inspired Titanium Ring Today
Celebrate St Paddy's Day with a Celtic-inspired ring. Treat yourself or someone you love to a ring that celebrates your love, affection, friendship, and relationship to our magnificent planet!
If you have a different design in mind, we're happy to work with you on your own custom ring.
Oh - and for anyone thinking about calling it St Patty's Day - read this PSA on PaddynotPatty.com before you do.


Vertical elliptic operator for efficient wave propagation in TTI media
Umair bin Waheed, Tariq Ali Alkhalifah
Research output: Contribution to journalArticlepeer-review
3 Scopus citations
Elliptic wave extrapolation operators require significantly less computational cost than the ones for transversely isotropic (TI) media. However, it does not provide accurate wavefield representation or imaging for the prevalent TI media. We propose a new vertical elliptically anisotropic (VEA) wave equation by decomposing the acoustic TI pseudo-differential wave equation. The decomposition results in a vertical elliptic differential equation and a scalar operator. The new VEA-like wave equation shares the same dispersion relation as that of the original acoustic TI wave equation. Therefore, the kinematic contents are correctly matched to the original equation. Moreover, the proposed decomposition yields better amplitude properties than the isotropic decomposition without increasing the computational load. Therefore, it exhibits better cost versus accuracy tradeoff compared to the isotropic or the tilted elliptic decompositions. We demonstrate with numerical examples that the proposed methodology is numerically stable for complex models and is free from shear-wave artifacts.
Original languageEnglish (US)
Pages (from-to)3560-3564
Number of pages5
JournalSEG Technical Program Expanded Abstracts 2015
StatePublished - Aug 19 2015
Dive into the research topics of 'Vertical elliptic operator for efficient wave propagation in TTI media'. Together they form a unique fingerprint.
Cite this


text:
Author(s): Jose M. Carrillo; Jorge Matos; Ruth Lopes; Antonio Vigueras-Rodriguez
Keywords: Labyrinth weir; Discharge capacity; Two-dimensional simulations; Iber
Abstract: It is well known that the flow over a labyrinth weir is fully tridimensional, with flow separation and non-hydrostatic pressure conditions near the weir. Its hydraulic behavior has been mainly studied in experimental models. More recently, few studies solved the three-dimensional flow behavior by using 3D computational fluid dynamics (CFD) models. However, these simulations require significant computational effort, and are time consuming when large areas need to be calculated, limiting their use in flooding simulations. In this study, the main flow characteristics of labyrinth weirs, such as the discharge capacity and the flow depths downstream of the labyrinth weir, were analyzed by using shallow water approaches, widely used in flooding modeling. Numerical results were compared with experimental data previously acquired in a relatively large-size labyrinth weir, with a 30º sidewall angle. As an example of 2D code, the free code Iber was selected. Reasonably good results were obtained for the discharge coefficient of the labyrinth weir, and for the flow depths near the downstream end of the channel reach, using the internal condition of Iber to model the weir. However, in the short vicinity of the weir, the flow depths were not accurately modeled, as expected, given the inherent limitations of the code for solving non-hydrostatic pressure regions.


text:
The Harm Reduction Home (HRH) Residential Program works to support individuals who are homeless or at risk of homelessness and who are also impacted by alcohol dependence.
The HRH Residential Program provides access to a managed alcohol program (MAP) where individuals are supported with housing and addressing primary care and mental health needs.
Individualized care planning assists individuals to work towards personal goals and enhanced overall wellbeing through a person centred approach that meets them where they are at. While the abstinence model works for many, for some the ability to abstain from drinking is not feasible. Alcohol is administered on a daily basis by medical personnel as per a schedule determined by a physician's medical assessment and direction.
The HRH program works to reduce the harms associated with consuming non-beverage forms of alcohol such as mouthwash, hand sanitizer and more. The HRH is staffed with qualified medical and social support personnel that oversee the individuals to ensure their day-to-day and primary care needs are being met.
Harm Reduction Home Availability
- Are 19 years or older;
- Live with severe alcohol use disorder (AUD), including those who are drinking non-beverage alcohol;
- Are impacted by homelessness or are precariously housed;
- May currently be frequent users of the healthcare system.
- You/the individual will be contacted to schedule an assessment and intake to the Harm Reduction Home Residential Program.
- The Severity of Alcohol Dependency (SADQ) scale and Eligibility Criteria will be used to assist in determining appropriateness of candidates for the program. These tools will be completed by intake staff upon assessment.


text:
Introduction: Refurnish Faded Calculator's LCD Display
The LCD display of an old calculator becomes faded and hardly to read in low light condition. The reflector behind the LCD turned dark due to aging.
Here are some simple steps to refurnished it, at least to an usable condition.
Step 1: Tools Needed
1. A sharp knife
2. Screw driver
3. Double side tape
4. Silver of white spray paint
5. A hot air blower
6. Some scrap papers
Step 2: Remove the Cover
Remove the screws with a screw driver, remove the back cover.
Remove the battery if required.
Step 3: Remove the Metal Protector of the LCD Screen
Set the blower to 180 degree Celsius, point and blow toward metal protector until the glue underneath is melted.
Important: In order to avoid the flexible cable of the LCD display melted and shrink, remember mask it with a piece of paper while blowing.
Once the glue is melted, the metal protector can easily be lifted by the screw driver or knife.
Caution: Beware of the hot surface, ESD protection may needed.
Step 4: Remove the Old Reflector
Lift the corner of the reflector by using a sharp knife then carefully peel it off by hand.
Clean the surface to ensure there is no residue of glue, make sure it is free from dust and grease too.
Step 5: Spray on the LCD
Mask out the entire calculator with a piece of paper, only expose the LCD.
Spray on the LCD, and let it dry.
Step 6: Reassembly
Apply the double side tape on the metal protector, reassembly the LCD and calculator.
Finally done, the LCD is become brighter and clearer :-)


_USER_ {Maximov2001175, title = {Ultravioletand Plasma-Enhanced Self-Assembled Growth and SPM Characterization of Pd Oxide Nanotips}, journal = {Physics of Low-Dimensional Structures}, volume = {2001}, number = {3-4}, year = {2001}, note = {cited By 0}, pages = {175-182}, abstract = {The results on the effect of ultraviolet radiation and of the high-frequency plasma discharge on self-assembled formation of the palladium oxide cone-shaped surface nanostructures during thermal oxidation in the oxygen ambient are presented. While for the thermal oxidation growth of the PdO tips takes place at oxidation temperatures T > 750{\textdegree}C only, in the presence of both UV and plasma discharge tip formation has been observed at lower temperatures (450-500{\textdegree}C). Reduction of the tip growth temperature by UV or plasma activation is favorable for proposed technological application of the PdO nanostructures as field emitters in vacuum microelectronics and in the field emitter displays.}, issn = {02043467}, author = {G.A. Maximov and O.N. Gorshkov and V.V. Novikov and A.S. Strahkov and D.O. Filatov and S.Yu. Zubkov and D.E. Nikolichev and S. Aggarwal and Ramamoorthy Ramesh and E. Williams} }


text:
The OmniVerdi Omega, a kind of artificial soilcrust, is designed to improve the growing conditions for the seedling in the field. Applying the Omega to each seedling in the field will decrease the overall project costs on the long run, especially by eliminating the need for weeding and less replanting.
Competition from herbaceous vegetation is partially avoided as none can establish closely to the seedling. During eventual bush fire the base of the seedling is more protected which thereby might resprout easier afterwards.
Evaluation after 1 year: preliminar results indicate a higher foliar biomass and total leaf surface for the seedlings with the OV Omega applied. On average the seedlings without the OV Omega had less and smaller leaves.
Earlier versions of the OmniVerdi Omega were too expensive and complicated to manufacture and transport. Finally, a very cheap and easy to cast-in-the-field version was developed. The total cost is about 0,15 to 0,50USD varying between countries due to different material prices and labour costs.
Also monitoring is greatly facilitated, even can be automatized by drones and image processing, as the seedling with the Omega applied stands free in the surrounding vegetation and has an uniform background around it looking from above.
The aerial image in the slideshow below shows an experimental plot where 8 seedlings were planted without and another 8 seedlings with the OmniVerdi Omega. The advantage of the improved visibility becomes very clear.
Previous versions of the Omega
These were a crucial part in the develpment of the idea, but are no longer used. Descibed here for information.
OmniVerdi Omega 1st version: Artificial insulation mulch layer (2013)
It is produced of recycled cardboard and has eco-friendly compostable additives for resistance to fire, fungi and termites and to make it impermeable. The amount of additives added determines the life-time it needs to remain functional under field conditions, for a few months to many years.
Its benefits and purposes:
- It creates a micro-climate in the soil near the seedling, which improves the conditions for mycorrhiza and other soil life to exist, which on their turn bring countless benefits.
- It holds the soil moisture for much longer time near the seedling, as direct sun radiation is blocked and soil temperature is decreased. The buried side-wings avoid the moisture from escaping.
- It decreases the competition for water, light and nutrients with weeds. Avoids the need of weeding.- Adding some water-gel-crystal on top of the soil beneath the Omni-Verdi can boost significantly its effect.
But it was not good enough yet……
- Weeds liked a lot to germinate right along the borders, because of the favorable conditions brought by the Omniverdi, and after several months of growing these weeds started to push upwards and to fold the Omniverdi, by which the main positive effects were soon lost.
- For Large scale production too much recyclable cardboard would need to be bought on the market, driving its prices and thereby might push existing recyclers out of business and might increase demand for virgin woodpulp, which would all lead to undesired side-effects.
- Production required too much energy. Production facility quite expensive and medium-high level technicians required.
- The composition was too flammable, for which I went to a Belgian fire-retardant manufacturer for solutions, who did have some solutions, but that increased far too much the production costs, and during bio-degradation some non-desired chemicals would be released. Their eco-friendly solution was even more expensive. The idea was to make it really un-flammable so that during a quick bushfire the base of the stem of the seedlings would be protected from too much direct heat and afterwards they could re-sprout from there. It needed to be really resistant to fire.
Alternative materials researched: iron sheets, bioplastics, etc…. all too expensive and too high CO2 footprint.
More thinking was needed….. the next version followed.
OmniVerdi Omega 2nd version: Gypsum plates (2016)
To lower the production costs significantly first of all the production process needed to be very simple with very low investment and requiring only low-tech or even unschooled labor. That in combination with choosing a raw material that is available everywhere would make it possible to completely decentralize the production. Gypsum was chosen, very cheap and available in every little construction shop, to be mixed with a bit of water and poured in silicon molds. All that was needed where a few 15USD molds, some buckets and a hand-drill to mix. The production was now possible at any place, as close as possible to the planting site. The overall costs and CO2 foot-print went seriously down.
- increase seedling survival in the field
- decrease post-planting maintenance costs
- facilitate field monitoring
How it is installed and used, to understand better its functions
The Omniverdi is a modular device; at least 2 units must be placed, directly on top of the soil, side by side to protect 1 seedling, forming a layer of 60x60cm which the seedling in the middle.
Recommended is the assembly of 8 units to form a patch of 120x120cm with 9 planting positions, ideal to create functional assemblies of divers species of different plant types for ecological restoration purposes.
In case of installation on slopes two tiny holes are provided in each unit to fix the Omniverdi in place with the aid of pins. Fixation might also be required in case of presence of digging and browsing wildlife that might lift of shift the Omniverdi.
The benefits of the Omniverdi Omega in Gypsit in more detail
- Omniverdi assist seedlings planted in the field to resist better to drought:
The micro-climate in the soil near the seedling is improved by the installation of the Omniverdi; the white 2cm thick layer protects against solar radiation decreasing drastically topsoil temperature near the seedlings and the impermeable bottom side of the layer decreases the loss of soil moisture. Hereby the conditions for mycorrhiza and other soil life to exist improves significantly, which on their turn bring countless benefits.
- Seedlings protected with Omniverdi suffer less from competition of surrounding herbal growth:
Each unit of OmniVerdi weights about 2kg and is installed directly onto the soil. By fitting at least 2 units together small planting spaces are created between them where the seedlings are positioned with little space left for weeds to establish. The weight ensures that germinating weedseeds below the units does not develop, avoiding hereby the growth of competing annuals closeby the planted trees/shrubs.
- Omniverdi, in contrast to similar technologies, enables the creation of multi-species assemblies, of vital importance in ecological restoration:
The design of the OmniVerdi is such that multiple units placed in certain configurations form several planting holes at well defined spacings. As shown in the first image 8 OmniVerdi together form a patch with 9 planting positions, which can be occupied by divers species in strategic ecological combinations of old-growth, pioneer, protective, N-fixing, shade and other species of different plant types. Hereby the crucial interactions between species can occur resulting in better plant survival and development, and thus so fortifying assisted natural regeneration.
- The use of Omniverdi can decrease the overall establishment and maintenance costs:
Less or even none weeding will be needed, avoiding losing seedlings by accidental cutting during weeding. Less soil moisture is lost, decreasing or even annulling the necessity of watering.
The seedlings become and remain for a significant period much more visible in the field making it easier for monitoring. Identification codes can be marked onto the Omniverdi nearby each seedling avoiding the need for other identification materials.
- Omniverdi can help secure litterfall in place:
Tiny vertical barriers have been included in the Omniverdi design to help avoid leaves and twigs being carried away by wind or waterflow, forming hopefully a layer of litterfall after a period of time. Transferring manually this litter placing it below the Omniverdi from time to time is highly recommended.
- Omniverdi facilitates automatized monitoring:
The Omniverdi installed in the field form a well defined shape of contrasting color which remains clearly recognizable for a significant period of time, up to several years. By software-driven processing of the image feed of overflying drones the planting spots can be recognized and geotagged automatically. Once the planting spots are known drones equipped with more advanced sensor technology can overfly the spots and gather more detailed data for each spot whereby the underlaying contrasting color patch of the Omniverdi helps significantly to narrow the data down to the planted trees/shrubs/etc. The possibilities here are open to imagination.
- Omniverdi can be used for fertilizing and soil corrections:
As the Omniverdi biodegrades over the years gradative supply of micronutrients can be released. The quantity of each nutrient can be defined and adjusted for each project case. The main component gypsum can act slightly in soil pH correction over the years until the Omniverdi is fully degraded. The degradation period can also be adjusted according to project requirements from several months to up to many years.
- Omniverdi and bush fire:
The Omniverdi is not flammable and hereby the seedling protected with Omniverdi might suffer less during eventual bush fires. In case a layer of dry biomass has been formed on top of


text:
International Conference on Mechanical and Electrical Technology, 3rd, (ICMET-China 2011), Volumes 1–3
219 A New Distributed Iterative Localization Algorithm for Wireless Sensor Networks
Download citation file:
- Ris (Zotero)
- Reference Manager
LCO (Localization with Convex Optimization technique) is a recent localization method which uses connectivity-induced constraints—who is within communications range of whom—to derive the locations of the nodes in the network. However, LCO is an inherently centralized algorithm restricted in many applications. In this paper, we propose a new LNNI (Localization with all Neighbor and Non-neighbor constraints and Iteration) algorithm that can be executed in a distributed fashion. We make extensive simulations to show that the new algorithm that incorporating non-neighbor constraints performs much better than the LCO method that only utilizing neighbor constraints.


text:
A Place of Discovery
Historic Fort Charrette Trading Post
by Bob McEowen
Brown sits by the fire in the living quarters of his restored 18th-century
trading post, Fort Charrette, located near Washington.
Nearly 200 years ago Meriwether
Lewis and William Clark set forth on their historic Corps of Discovery
exploration of the Missouri River. Not far into the journey they stopped
at a small outpost near present-day Washington, Mo. In
their diaries the explorers recalled La Charrette as the last white settlement
Established in 1762 by French
fur trader Joseph Chadron, the fortified village is long gone, abandoned
in the floods of 1842-43. But a sense of La Charrette which literally
translates as "little wagon" lives on thanks to the efforts of
architectural historian Crosby Brown.
Brown, who has restored historic
buildings throughout the United States, discovered the remains of the
old trading post in a farm field in the late 1960s and painstakingly relocated
it to a site east of Washington. Today, the restored trading post houses
an impressive collection of 18thand 19th-century artifacts and period
Divided into three rooms,
the post features a trade room, a blacksmith's shop and a recreation of
frontier living quarters.
The Fort Charrette trading
post is open for tours by groups and individuals only by appointment.
While admission is not charged, donations are encouraged.
For more information phone
Brown at _PHONE_.


text:
It won't clear the polluted air around Beijing, but the new IBM supercomputer purchased by the Beijing Meteorological Bureau (BMB) will go a long way to help forecast the weather and air-quality control in next year's Olympic games.
The System p575 is an 80-node machine with IBM's POWER5+ microprocessors, capable of delivering 9.8 teraflops per second. Based on the initial configuration, it will be among the top 10 supercomputers in China, according to the Top 500 list of the world's fastest supercomputers.
The IBM computer will provide 10 times the computational power of the BMB's current weather forecasting system and allow for hourly forecasts of weather and air quality in and around Beijing. The system is capable of sweeping an area up to 44,000 square kilometers to provide hourly numerical weather forecasts for each square kilometer.
Herb Schultz, marketing manager for IBM Deep Computing, said doing localized weather prediction is actually harder than big picture, regional forecasting because it requires more precise analysis and prediction.
"A supercomputer is needed for the size of memory required and precision and accuracy of the calculations and the scalability it brings," he told internetnews.com. "This system is capable of doing the kind of calculations you can't get on a commodity system. A basic Linux cluster would have a hard time. Even if it could do the calculations, it won't have the memory or redundancy needed."
The BMB system has the option of adding even more processing nodes to scale up. Each node can use up to 256GB of memory.


General tips and tricks
Interactively passing positional arguments
If you invoke tox like this:
tox -- -x tests/test_something.py
the arguments after the -- will be substituted everywhere where you specify {posargs} in your test commands, for example using pytest:
# in the testenv or testenv:NAME section of your tox.ini
commands = pytest {posargs}
or using nosetests:
commands = nosetests {posargs}
the above tox invocation will trigger the test runners to stop after the first failure and to only run a particular test file.
You can specify defaults for the positional arguments using this syntax:
commands = nosetests {posargs:--with-coverage}
Integrating "sphinx" documentation checks
In a testenv environment you can specify any command and thus you can easily integrate sphinx documentation integrity during a tox test run. Here is an example tox.ini configuration:
[testenv:docs]
changedir = doc
deps = sphinx
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
This will create a dedicated docs virtual environment and install the sphinx dependency which itself will install the sphinx-build tool which you can then use as a test command. Note that sphinx output is redirected to the virtualenv environment temporary directory to prevent sphinx from caching results between runs.
You can now call:
tox
which will make the sphinx tests part of your test run.
Selecting one or more environments to run tests against
Using the -e ENV[,ENV36,...] option you explicitly list the environments where you want to run tests against. For example, given the previous sphinx example you may call:
tox -e docs
which will make tox only manage the docs environment and call its test commands. You may specify more than one environment like this:
tox -e py27,py36
which would run the commands of the py27 and py36 testenvironments respectively. The special value ALL selects all environments.
You can also specify an environment list in your tox.ini:
[tox]
envlist = py27,py36
or override it from the command line or from the environment variable TOXENV:
export TOXENV=py27,py36 # in bash style shells
Access package artifacts between multiple tox-runs
If you have multiple projects using tox you can make use of a distshare directory where tox will copy in sdist-packages so that another tox run can find the "latest" dependency. This feature allows to test a package against an unreleased development version or even an uncommitted version on your own machine.
By default, {homedir}/.tox/distshare will be used for copying in and copying out artifacts (i.e. Python packages).
For project two to depend on the one package you use the following entry:
# example two/tox.ini
[testenv]
deps = {distshare}/one-*.zip # install latest package from "one" project
That's all. tox running on project one will copy the sdist-package into the distshare directory after which a tox run on project two will grab it because deps contain an entry with the one-*.zip pattern. If there is more than one matching package the highest version will be taken. tox uses verlib to compare version strings which must be compliant with PEP 386.
If you want to use this with Jenkins, also checkout the Access package artifacts between Jenkins jobs.
basepython defaults, overriding
For any pyXY test environment name the underlying pythonX.Y executable will be searched in your system PATH. Similarly, for jython and pypy the respective jython and pypy-c names will be looked for. The executable must exist in order to successfully create virtualenv environments. On Windows a pythonX.Y named executable will be searched in typical default locations using the C:\PythonX.Y\python.exe pattern.
All other targets will use the system python instead. You can override any of the default settings by defining the basepython variable in a specific test environment section, for example:
[testenv:docs]
basepython = python2.7
Avoiding expensive sdist
Some projects are large enough that running an sdist, followed by an install every time can be prohibitively costly. To solve this, there are two different options you can add to the tox section. First, you can simply ask tox to please not make an sdist:
[tox]
skipsdist=True
If you do this, your local software package will not be installed into the virtualenv. You should probably be okay with that, or take steps to deal with it in your commands section:
[testenv]
commands = python setup.py develop
 pytest
Running setup.py develop is a common enough model that it has its own option:
[testenv]
usedevelop=True
And a corresponding command line option --develop, which will set skipsdist to True and then perform the setup.py develop step at the place where tox normally performs the installation of the sdist. Specifically, it actually runs pip install -e . behind the scenes, which itself calls setup.py develop.
There is an optimization coded in to not bother re-running the command if $projectname.egg-info is newer than setup.py or setup.cfg.
Understanding InvocationError exit codes
When a command (defined by commands = in tox.ini) fails, it has a non-zero exit code, and an InvocationError exception is raised by tox:
ERROR: InvocationError for command
 '<command defined in tox.ini>' (exited with code 1)
If the command starts with pytest or python setup.py test for instance, then the pytest exit codes are relevant.
On unix systems, there are some rather common exit codes. This is why for exit codes larger than 128, if a signal with number equal to <exit code> - 128 is found in the signal module, an additional hint is given:
ERROR: InvocationError for command
 '<command>' (exited with code 139)
Note: this might indicate a fatal error signal (139 - 128 = 11: SIGSEGV)
where <command> is the command defined in tox.ini, with quotes removed.
The signal numbers (e.g. 11 for a segmentation fault) can be found in the "Standard signals" section of the signal man page. Their meaning is described in POSIX signals.
Beware that programs may issue custom exit codes with any value, so their documentation should be consulted.
Sometimes, no exit code is given at all. An example may be found in pytest-qt issue #170, where Qt was calling abort() instead of exit().


text:
Education and University Projects
Zervas Elementary School
The Town of Newton Massachusetts recently completed (2017) a three story 67,000 square foot academic building to replace the single story 1950's era classroom building as the preferred design option under the MSBA funding guidelines.
The structure is a steel frame with concrete floor slabs and foundations with a construction budget of $23 million. The challenging urban site required the foundations to bear on a rammed aggregate pier system and floor to floor heights to be minimized to allow the three story school to blend in without overpowering the residential neighborhood of Newton.
Frank H. Netter MD School Quinnipiac University
Challenge with a capital Q. Transform a 1970's office park into a state of the art medical facility for Quinnipiac University. The second phase of the North Haven campus master plan created space in the existing 200,000 square foot three story office building for classrooms, lecture halls, gross anatomy lab and support spaces.
An addition was also fit over and between the previously renovated and in use School of Health Science. Building Information Modeling was used to coordinate the new structure with existing building components and new Architecture and MEP systems to create spaces for a medical library, lecture hall and student lounge spaces.
Girard and Company provides structural engineering for a variety of educational projects serving both private and public agencies in Pre-K through 12 schools and secondary education markets.
We have extensive experience in both Connecticut and Massachusetts public schools with a comprehensive understanding of the state review processes and the ability to produce documents for fast track schedules that often require foundations and primary structural systems to be completed months ahead of the rest of the design team documents.
In the collegiate and private education markets, we provide our services for various building uses, from new construction projects to renovations and additions for residential housing, academic classrooms, athletic facilities, and campus infrastructure. Girard and Company is proud to have multiple projects at Western New England University, Quinnipiac University, Berkshire School, and The Rectory School.
Below are a few of our notable projects in the Education market.


text:
Many thanks to Abdul Hassan Rubel, Executive Director and Principal, Amader Pathshala, Dhaka, Bangladesh, in giving me space and time to work with the children of the school. Lastly, a big thank you to Ms. Jarin Shetu for assisting me throughout the workshop.
Amader Pathshala School is a social initiative for quality education of underprivileged children aged 4-16 years. It aims to deliver education, appropriate to their socio-economic condition and cultural background. They focus on creating lessons that interest the youth population. It also aims to support them in finding avenues to continue their studies. The initiative is privately funded and the donations are used directly for the students' education.
I designed, implemented, and conducted a one-day workshop that was rotated between three classes (due to space limitations). The workshop concentrated on the theme of 'Happiness' – something that the children witnessed in their lives or would foresee for themselves. There were three groups of students from Grade 4-8 who were simultaneously given the task to draw what they considered 'happy' in their lives. Warm-up exercises were initially directed to bring focus to the group and provide them a common platform to generate awareness through rhythm and movement.
For more information about the school, please follow the link:


Chemical castration
Many people consider sexual abuse one of the worst crimes a person can commit. In these circumstances, it has been proposed by some that such an offender should be punished, normally in addition to a jail term, by castration.
Also in Spanish
I'm pro Chemical Castration
 1. James [4] argued:
 If this is the only way to stop someone from sexually abusing others then great. Losing the ability to have sex is rough, but if you cannot control yourself we need to protect the public. So it should be used for those that cannot control their actions. Something like pedophilia. They are attracted to younger people and a prison sentence is not going to change that.
I'm against Chemical Castration
 1. Timmy Cheeks [1] argued:
 In prison child sex offenders often die, it's possible for someone to not rape again when they get out of prison y o u can't give one solution for any given problem involving humans because everyone is different
| | | | | |


text:
Item # P6-3550
Item can be ordered
The Hand Held Tesla Coil - 48,000 volts in the palm of your hand. If you've seen a Plasma Globe, you've seen our Hand Held Tesla Coil in action. Create impressive 3-inch sparks and more.
The Hand Held Tesla Coil - up to 48,000 volts in the palm of your hand!
Our Tesla Coil, also known as the Oudin Coil, fits nicely in the palm of your hand making it easy to perform Tesla Coil experiments. The Hand Held Tesla Coil is the equivalent of the larger Tesla Coils you may have seen but in a smaller package and capable of the same Tesla coil experiments.
Invented by Nicola Tesla, this high-frequency transformer can step up ordinary 120-volt electricity to thousands of volts. Create impressive 3-inch sparks or use the high potential to light bulbs such as our spectrum tubes or Neon Wand, without touching! Adjustable from 20,000 to 48,000 volts the Hand Held Tesla Coil has a momentary on/off switch in it's Bakelite handle for improved safety.
Tesla Coil is rated at 120V 60hz.
Products being sold are not toys. They are for Educational / Labratory use only. They are not for use by children 12 and under.
- Input voltage: 115 V, 50/60 Hz
- Output voltage: Between 20,000 V to 48,000 V, 500 kHz
- Current output of spark: 1 mA
- Primary coil output voltage: 1200 V, 50 or 60 Hz
- On/off switch and removable electrode tip
- Hand-held unit which generates a high voltage at a high frequency. It is intended for intermittent use, no more than 10 minutes at a time.
- When the electrode is held within ¼ to 1" from a metal object, a spark will jump to the metal
- A button on the side when pressed turns on the high voltage side of the coil. When it is depressed, the high voltage is turned off.
- The capacitance, resistance and inductance of this circuit is designed to oscillate, or ring, at a very high frequency, in this case 500 kHz


text:
Mon January 14, 2013
Three WKU Profs Honored for Nature Work
The state Nature Preserves Commission has given three WKU professors its annual award for work that protects biological diversity.
Alfred Meier, Ouida Meier and Scott Grubbs were given this year's Biological Diversity Protection Award for their work creating the Upper Green River Biological Preserve. The preserve is on the banks of the Green River in Hart County.
The Green River is the most important river in Kentucky for the conservation of rare native mussels and fish. It hosts 109 fish species and nearly 60 mussel species. The area is also important for an endangered bat species found on the preserve and as a breeding and migratory habitat for songbirds.
The Kentucky State Nature Preserves Commission was created in 1976 to protect the best remaining natural areas of Kentucky.


Matthew K. Matthew K. - 4 months ago 6x
HTML Question
How do I generate a list of random strings and hashes and output it in an HTML table?
I'm trying to generate a list of, let's say 10, random strings and it's SHA-256 hash in an HTML table.
I have found the following code submitted by another user to generate the random string:
function generateRandomString($length = 10) {
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$charactersLength = strlen($characters);
$randomString = '';
for ($i = 0; $i < $length; $i++) {
$randomString .= $characters[rand(0, $charactersLength - 1)];
}
return $randomString;
}
How do I loop the function and how do I output the string and the hash of the string in an HTML table?
Answer
Try this code:
<?php
function generate($length)
{
 $string = '';
 if($length > 128)
 {
 $string .= generate($length-128);
 }
 else
 {
 $string = substr(hash('sha512',mt_rand()),0,$length);
 }
 return $string;
}
$table = '
%s
';
$item = '
%s	%s
';
$res = '';
for($i=0;$i<10;$i++)
{
 $str = generate(10);
 $hash = hash('sha256', $str);
 $res .= sprintf($item, $hash, $str);
}
echo sprintf($table, $res);
Comments


Sunday, 19 May 2013
DIY Candy Wrapper Surprise
See the full instructions after the jump!
Supplies: thin wrapping paper (Party City's 99 cent rolls are perfect), double stick tape, heart stickers, perforating cutter (Fiskars sells a similar tool), ruler, scissors, wrapped candies.
 1. Cut a piece of wrapping paper however long you like but wide enough to wrap around your candies. I cut mine 3.5" by 12" and that was more than enough room for five Starbursts.
 2. Using your candies as a guide, fold the paper to create a pocket that meets just past the edge of the candies.
 3. Fold the other edge of the paper so that it overlaps the pocket, still being sure the candies fit inside.
 4. Unfold the paper and put a piece of double stick tape along the edge the middle panel. Place the candy next to it, and then add a second piece of tape on the other side of the candy.
 5. Refold one edge of the paper so that it adheres to the tape.
 6. Repeat for the rest of the candies.
 7. To seal the wrapper, put pieces of tape along the open edge. The easiest way to do this is to put a small piece for each seam dividing the compartments and then separate pieces along the edge that will fold over the candy. Leave a small gap between each piece of tape.
 8. Carefully refold the open edge over to meet the wrapper, pressing to adhere. Some bubbling is inevitable, but the gaps left between the tape allows it to distribute as evenly as possible. Trim any excess paper off the ends.
 9. Use your perforating tool to make a line down the centre of the seam between each compartment. This will make it easier to tear each candy off individually (which is so satisfying to do!).
Depending on the wrapping paper and candy packaging, you might be able to see the candy through the wrapping paper. The Starbursts pictured didn't pose a problem, but I've encountered this with mini Heath bars in the past. Do not fret! Putting a sticker on each candy compartment is not only cute, but also covers anything showing through. And there you have it - a simple way to add a fun little surprise to a birthday card!
What candy would you most like to receive in one of these wrappers? I think I'd have to say Reese cups would be my choice! If you can't decide on just one, try using different types of candy in each compartment for even more of a surprise!
 1. What a fun idea! So creative and unique
 1. Thanks Kelli! I use candy in crafts any chance I get ;)
 2. Cute idea! Thanks for commenting on my blog. I am following yours now!
 1. Aw thanks Amy! I get hungry just looking at the desserts you've styled on your blog!
 3. This comment has been removed by the author.
Related Posts Plugin for WordPress, Blogger...


text:
Buried beneath the streets and plazas of modern-day Mexico City are the ruins of ancient Aztec temples where human sacrifices were routinely performed to appease the gods. In the late 1990s, while excavating a circular temple dedicated to Ehecatl, the Aztec wind god, archeologists uncovered the remains of a 20-year-old boy, beheaded and squatting at the base of the temple's main stairway.
What made the Mexico City discovery so remarkable was that the skeleton of the human sacrifice was found clutching a pair of musical instruments in each hand. They were small, ceramic whistles decorated with a menacing skull's face. As the archeologists quickly realized, the skull image represented Mictlantecuhtli, the Aztec god of the underworld and of death itself.
And with that, the world became fascinated with a mysterious new instrument known as the "Aztec death whistle."
Today, if you Google "Aztec death whistle," you'll find articles claiming that the "haunting shrieks" of the death whistle were used to "terrify" the Aztecs' enemies in battle or to mimic the agonizing cries of sacrificial victims as their living hearts were torn from their chests. You can also watch this popular video clip of the late musician Xavier Yxayotl conjuring blood-chilling sounds from an oversized death whistle.
But the sober truth, experts say, is that we know very little about how the Aztecs really used these intriguing instruments or even how the instruments actually sounded when played by an ancient Aztec priest or musician. What we can safely infer from the find in Mexico City, is that death whistles undoubtedly had ritual and ceremonial significance, and that they may have been used to guide the spirits of the dead through the afterlife.


text:
"Reach for the Sky", an education resource book produced by the Yorkshire Air Museum and the Royal Aeronautical Society received an enthusiastic endorsement from the Rt. Hon. Rosie Winterton MP, Minister of State for Transport and Minister for The Yorkshire & Humber Regions, at a lively launch ceremony yesterday (Tuesday 24th June.). The event was held at the prestigious London headquarters of the Royal Aeronautical Society, at Hamilton Place on Hyde Park Corner.In her letter of acceptance to the invitation to launch this book, the Rt. Hon. Rosie Winterton, said: "I am delighted to see the diverse and innovative ways that the Yorkshire Air Museum is working with the Royal Aeronautical Society to promote interest in the aerospace industry using the rich history that this centennial year of British powered flight will celebrate."
Some 27 pupils from Frith Manor Primary School, Barnet, North London, attended the event and displayed projects on the theme of future flight that they had undertaken for the occasion, which caught the attention of the Minister of State and other guests and clearly demonstrated the ideas and ingenuity that lie in the minds of our children, waiting to be developed.
This collaboration between the Yorkshire Air Museum and the Royal Aeronautical Society is indeed a unique venture. With the tremendous support received from Yorkshire Forward, the Regional Development Agency, we are to send a free copy to all the 25,000 primary schools in Britain this year and we don't believe that any other museum has launched an education resource in such a manner before.
This KS2 level book has been written with the assistance of specialist schools advisors, the M.L.A. and the Government agency "Creative Minds" to fit into the current "STEM" (Science Technology, Engineering and Maths) targets. It is easy to read and covers all the milestones of aviation history and development, including Yorkshire's rich history in this. It features superb illustrations, 'Science Bytes' and activities and is designed for ease of copying for teachers. With the help of Virgin Galactic and EADS / Astrium, the book also covers the exciting developments in 'passenger space flight', which will once again fire the imaginations of children. It also explodes some myths about aviation in that Britain has the second largest aviation industry in the world and it is the second largest manufacturing industry in Britain.
As Ian Reed, Museum Director, points out: "We are very keen to engage our children in the science of flight at an early age and to inspire them with both Britain's, and particularly Yorkshire's extraordinary heritage in this field. We were delighted with the enthusiasm and interest shown by the Rt. Hon. Rosie Winterton the Minister of State for Transport at the launch of "Reach for the Sky", acknowledging the importance of this unique project".
Amongst those present at the launch were Thea Stein, Executive Director of Economic Inclusion, Yorkshire Forward, Sue Gradwell, Chief Executive of North Yorkshire Business & Education Partnership, Ian Reed, Yorkshire Air Museum Director, John Edmonds, Chairman of Trustees of the Yorkshire Air Museum and Amy Parkinson, formerly of NYBEP, who co-wrote the book with Ian Reed.
EADS / Astrium.
Astrium is the subsidiary of European Aeronautical Defence Systems which is developing a European 'passenger space vehicle', who along with Virgin Galactic, offered information and images for the book.


text:
10 Nov Spain ranks 15th among countries showing the highest share of their territory including fragile biodiversity and ecosystems
A recent report by Swiss Re Institute places Spain in the 15th position in the table of countries with the largest share of territory with its biodiversity and ecosystems in a fragile state among the 195 analyzed. This result derives from the analysis of the Swiss Re Biodiversity and Ecosystem Services Index (SRI), which measures the percentage of share of land in a fragile state as a percentage of country area vulnerability towards ecological disturbances increases, as well as the share of intact ecosystems and the dependence of nations on biodiversity and ecosystem services (BES).
According to the report, over half (55%) of global GDP, equal to USD 41.7 trillion, is dependent on high-functioning biodiversity and ecosystem services. However, a staggering fifth of countries globally (20%) are at risk of their ecosystems collapsing due to a decline in biodiversity and related beneficial services.
39 countries have ecosystems in a fragile state on more than a third of their land. Malta, Israel, Cyprus, Bahrain and Kazakhstan have the lowest Biodiversity and Ecosystems Services (BES) ranking, with 100%, 53 %, 50 %, 47 % y 43 % of their respective territories with their BES in situation of the greatest vulnerability (ranking "Very Low" BES class), and 0% of share of intact ecosystems.
Among G20 economies, South Africa and Australia are 6th and 8th place in the ranking of fragile BES, with 40% and 34%, respectively of their land. The well-known impact of water scarcity is a driver for these countries, alongside factors such as costal protection and pollination.
In relation to Spain, 23% of the Spanish territory falls within the "Very Low" BES class, and only 1% of Spanish biodiversity and ecosystem services remain intact.
The Swiss Re BES Index provides a more holistic, comparative view of the state of BES globally. It works by aggregating data from ten different BES categories addressing water security, timber provision, food provision, habitat intactness, pollination, soil fertility, water quality, regulation of air quality and local climate, erosion control and coastal protection.
The index also underlines the important need for nature-based insurance solutions and will create a new business segment for insurance, thereby strengthening resilience of affected regions and communities.
The insights from the index serve to highlight the importance of nature conservation for a functioning economy. Among the top ten countries with fragile ecosystems and high GDP dependency on natural services, it is the resource-rich developing countries with large agricultural sectors that stand out, such as Kenya, Vietnam, Pakistan, Indonesia and Nigeria. The study highlights the dangers of these economies potentially reaching critical tipping points when essential natural resources are disrupted. The report highlights the value of ongoing economic diversification combined with conservation and preservation efforts in such countries.
Major economies in Southeast Asia, Europe and America that already have diversified economies are nevertheless also exposed to risk from BES decline. This is because important individual economic sectors can be impacted by single BES factors such as water scarcity, which can have a disruptive effect on a country's manufacturing sectors, properties and supply chains.
The report discusses how addressing BES challenges through simple preservation actions can have significant impacts. For example, ecosystem restoration along the coast of Louisiana could reduce expected flood costs by USD 5.3 billion annually. Steps to ensure functioning coral reefs globally could lower estimated flood damages for 100-year storm events that would otherwise increase by 91% across the globe.
Image: Swiss Re.


both approaches described above is to use zoomUn* to "unzoom" from the child Component into the parent Component:
zoomUn
For example:
inputComponent
 :: eff st.
 { current :: ALens' st String
 , input :: ALens' st String
 }
 -> (st -> st)
 -> Component eff st
inputComponent focus delete = zoomR focus \unzoom -> div []
 [ div [ onClick \_ -> modify \st -> st { current = "" } ] [ text "Clear text" ]
 , unzoom $ div [ onClick \_ -> modify delete ] [ text "Delete" ]
 ]
parent = div [] [ inputComponent { current, input } ]
Traversals
Currently there are traversal combinators for Arrays and Maps. Each combinator is provided in a filtered or unfiltered, polymorphic, zoom + unzoom and zoom only variant.
For example, here's the polymorphic filtered Map traversal foreachMapF:
foreachMapF
Array traversals:
Filtered Polymorphic Zoom + Unzoom Zoom only
yes foreachF foreachUF foreachZF
no foreach foreachU foreachZ
Map traversals:
Filtered Polymorphic Zoom + Unzoom
yes foreachMapF foreachMapUF
no foreachMap foreachMapU
The reason why only the foreachMap* variants provide an st -> st function that deletes the current focused element is that with arrays it's easy to run into the following situation:
div [ onClick \_ -> do
 modify delete
 modifyL focus \st -> st ...
 ]
 []
which would first delete the focused element and only then attempt to modify it (in turn modifying the following element, if any, or resulting in a runtime error.) Since a Map is a one to one mapping of keys to values, attempting to modify an already deleted element will be a no-op and is thus safe.
React bindings
purescript-refract is a thin wrapper over React and thus presents direct access to the lifetime methods API:
type Spec eff st =
 { displayName :: String
 , componentWillMount :: Effect eff st Unit
 , componentDidMount :: Effect eff st Unit
 , componentWillUnmount :: Effect eff st Unit
 , componentWillUpdate :: st -> Effect eff st Unit
 , componentDidUpdate :: st -> Effect eff st Unit
 , shouldComponentUpdate :: st -> Boolean
 }
componentClass :: eff st. Spec eff st -> Component eff st -> ComponentClass eff st
component :: eff st. ComponentClass eff st -> Component eff st
Note that ComponentClasses should be defined at the top level, otherwise every rerender will create a new ComponentClass and consequently force React to immediately and repeatedly call componentWillMount, componentDidMount, etc.
Contributions
Comments, PRs, bug reports welcome.


, with alpha set to pctConvex[0, 1] in the Delaunay Triangulation method, the concave hull will not contain a hole unless allowHoles is set to true
Format:
ST_ConcaveHull (A: Geometry, pctConvex: Double)
ST_ConcaveHull (A: Geometry, pctConvex: Double, allowHoles: Boolean)
Since: v1.4.0
Spark SQL Example:
SELECT ST_ConcaveHull(ST_GeomFromWKT('POLYGON((175 150, 20 40, 50 60, 125 100, 175 150))'), 1)
Output:
POLYGON ((125 100, 20 40, 50 60, 175 150, 125 100))
ST_ConvexHull
Introduction: Return the Convex Hull of polygon A
Format: ST_ConvexHull (A: Geometry)
Since: v1.0.0
Spark SQL Example:
SELECT ST_ConvexHull(ST_GeomFromText('POLYGON((175 150, 20 40, 50 60, 125 100, 175 150))'))
Output:
POLYGON ((20 40, 175 150, 125 100, 20 40))
ST_CoordDim
Introduction: Returns the coordinate dimensions of the geometry. It is an alias of ST_NDims.
Format: ST_CoordDim(geom: Geometry)
Since: v1.5.0
Spark SQL Example with x, y, z coordinate:
SELECT ST_CoordDim(ST_GeomFromText('POINT(1 1 2'))
Output:
3
Spark SQL Example with x, y coordinate:
SELECT ST_CoordDim(ST_GeomFromWKT('POINT(3 7)'))
Output:
2
ST_Degrees
Introduction: Convert an angle in radian to degrees.
Format: ST_Degrees(angleInRadian)
Since: v1.5.0
Spark SQL Example:
SELECT ST_Degrees(0.19739555984988044)
Output:
11.309932474020195
ST_Difference
Introduction: Return the difference between geometry A and B (return part of geometry A that does not intersect geometry B)
Format: ST_Difference (A: Geometry, B: Geometry)
Since: v1.2.0
Spark SQL Example:
SELECT ST_Difference(ST_GeomFromWKT('POLYGON ((-3 -3, 3 -3, 3 3, -3 3, -3 -3))'), ST_GeomFromWKT('POLYGON ((0 -4, 4 -4, 4 4, 0 4, 0 -4))'))
Output:
POLYGON ((0 -3, -3 -3, -3 3, 0 3, 0 -3))
ST_Dimension
Introduction: Return the topological dimension of this Geometry object, which must be less than or equal to the coordinate dimension. OGC SPEC s2.1.1.1 - returns 0 for POINT, 1 for LINESTRING, 2 for POLYGON, and the largest dimension of the components of a GEOMETRYCOLLECTION. If the dimension is unknown (e.g. for an empty GEOMETRYCOLLECTION) 0 is returned.
Format: ST_Dimension (A: Geometry) | ST_Dimension (C: Geometrycollection)
Since: v1.5.0
Spark SQL Example:
SELECT ST_Dimension('GEOMETRYCOLLECTION(LINESTRING(1 1,0 0),POINT(0 0))');
Output:
1
ST_Distance
Introduction: Return the Euclidean distance between A and B
Format: ST_Distance (A: Geometry, B: Geometry)
Since: v1.0.0
Spark SQL Example:
SELECT ST_Distance(ST_GeomFromText('POINT(72 42)'), ST_GeomFromText('LINESTRING(-72 -42, 82 92)'))
Output:
31.155515639003543
ST_DistanceSphere
Introduction: Return the haversine / great-circle distance of A using a given earth radius (default radius: _PHONE_.0). Unit is meter. Compared to ST_Distance + ST_Transform, it works better for datasets that cover large regions such as continents or the entire planet. It is equivalent to PostGIS ST_Distance(geography, use_spheroid=false) and ST_DistanceSphere function and produces nearly identical results. It provides faster but less accurate result compared to ST_DistanceSpheroid.
Geometry must be in EPSG:4326 (WGS84) projection and must be in lon/lat order. You can use ST_FlipCoordinates to swap lat and lon. For non-point data, we first take the centroids of both geometries and then compute the distance.
Note
By default, this function uses lon/lat order since v1.5.0. Before, it used lat/lon order.
Format: ST_DistanceSphere (A: Geometry)
Since: v1.4.1
Spark SQL Example:
SELECT ST_DistanceSphere(ST_GeomFromWKT('POINT (-0.56 51.3168)'), ST_GeomFromWKT('POINT (-3.1883 55.9533)'))
Output:
543796._PHONE_
Spark SQL Example:
SELECT ST_DistanceSphere(ST_GeomFromWKT('POINT (-0.56 51.3168)'), ST_GeomFromWKT('POINT (-3.1883 55.9533)'), _PHONE_.0)
Output:
544405._PHONE_
ST_DistanceSpheroid
Introduction: Return the geodesic distance of A using WGS84 spheroid. Unit is meter. Compared to ST_Distance + ST_Transform, it works better for datasets that cover large regions such as continents or the entire planet. It is equivalent to PostGIS ST_Distance(geography, use_spheroid=true) and ST_DistanceSpheroid function and produces nearly identical results. It provides slower but more accurate result compared to ST_DistanceSphere.
Geometry must be in EPSG:4326 (WGS84) projection and must be in lon/lat order. You can use ST_FlipCoordinates to swap lat and lon. For non-point data, we first take the centroids of both geometries and then compute the distance.
Note
By default, this function uses lon/lat order since v1.5.0. Before, it used lat/lon order.
Format: ST_DistanceSpheroid (A: Geometry)
Since: v1.4.1
Spark SQL Example:
SELECT ST_DistanceSpheroid(ST_GeomFromWKT('POINT (-0.56 51.3168)'), ST_GeomFromWKT('POINT (-3.1883 55.9533)'))
Output:
544430._PHONE_
ST_Dump
Introduction: It expands the geometries. If the geometry is simple (Point, Polygon Linestring etc.) it returns the geometry itself, if the geometry is collection or multi it returns record for each of collection components.
Format: ST_Dump(geom: Geometry)
Since: v1.0.0
Spark SQL Example:
SELECT ST_Dump(ST_GeomFromText('MULTIPOINT ((10 40), (40 30), (20 20), (30 10))'))
Output:
[POINT (10 40), POINT (40 30), POINT (20 20), POINT (30 10)]
ST_DumpPoints
Introduction: Returns list of Points which geometry consists of.
Format: ST_DumpPoints(geom: Geometry)
Since: v1.0.0
Spark SQL Example:
SELECT ST_DumpPoints(ST_GeomFromText('LINESTRING (0 0, 1 1, 1 0)'))
Output:
[POINT (0 0), POINT (0 1), POINT (1 1), POINT (1 0), POINT (0 0)]
ST_EndPoint
Introduction: Returns last point of given linestring.
Format: ST_EndPoint(geom: Geometry)
Since: v1.0.0
Spark SQL Example:
SELECT ST_EndPoint(ST_GeomFromText('LINESTRING(100 150,50 60, 70 80, 160 170)'))
Output:
POINT(160 170)
ST_Envelope
Introduction: Return the envelope boundary of A
Format: ST_Envelope (A: Geometry)
Since: v1.0.0
Spark SQL Example:
SELECT ST_Envelope(ST_GeomFromWKT('LINESTRING(0 0, 1 3)'))
Output:
POLYGON ((0 0, 0 3, 1 3, 1 0, 0 0))
ST_ExteriorRing
Introduction: Returns a line string representing the exterior ring of the POLYGON geometry. Return NULL if the geometry is not a polygon.
Format: ST_ExteriorRing(geom: Geometry)
Since: v1.0.0
Spark SQL Example:
SELECT ST_ExteriorRing(ST_Geom


text:
This research project focuses on co-creativity between human and machine performers in improvised, electroacoustic music performance contexts. Agents are both informed by, and designed to engage in settings where co-creative activity is emergent and distributed. The name is taken from a 2013 journal article Van Nort wrote on this topic discussing the design and aesthetics of the FILTER and GREIS projects, and how they are engaged in performance. New lab work in this area builds upon these two projects by importing the same core concepts: applying compositional techniques and listening metaphors in the design and creation process that arise from the intersection of Deep Listening practice, auditory perception and the language of electroacoustic music, and building agent behaviours and musical structures on: principles of embodied cognition (action/sound gesture perception), the concept of episodic/semantic sonic memory, notions of style and temporal patterning, and engagement with non-human creativity.
Genetically Sonified Organisms
[Radical] Signs of Life


Forum Stats
 - 3,851,977 Users
 - 2,264,055 Discussions
 - 7,904,923 Comments
Discussions
Make NEXT_DAY() independent of the invoking session's NLS_DATE_LANGUAGE
mathguy
mathguy Member Posts: 10,674 Blue Diamond
edited Mar 10, 2017 10:54AM in SQL & PL/SQL
The function NEXT_DAY() takes two arguments. The first argument is a date and the second is a string expression, the name of a "day of the week". For example, if the second argument is 'Tuesday', the function will return the earliest date that is a Tuesday and is strictly later than the first argument. The "day of the week" argument must be in the NLS_DATE_LANGUAGE of the session in which the function is invoked. So, for example, if I ALTER SESSION to set the NLS_DATE_LANGUAGE to 'German' or 'French', I will get an error message if I use NEXT_DAY(..., 'Tuesday').
_URL_
Note (irrelevant for this discussion): only the first three letters in the day name are relevant, the rest is ignored so it can be garbage; I could use 'Tuemathguy' and the function would work OK in English. "Three" letters is for English; whatever the correct number of letters in the abbreviation of day-of-the-week names in the NLS_DATE_LANGUAGE is the relevant number of letters for the NEXT_DAY() function.
Unfortunately, unlike many other functions that have to do with dates, NEXT_DAY() does not take an argument for NLS_DATE_LANGUAGE. So a query that uses NEXT_DAY() will require a hack, if it is meant to be run in different locations and we don't want to ask the invoker to alter their session to set their NLS_DATE_LANGUAGE to a fixed value, such as 'English'.
I can think of two such hacks, but I don't like them. Question: Is there a better way? Of course, it would be best if Oracle would allow a third argument for nlsparam, as they do for other functions...
The hacks are: (1) we can take a known date for the desired day of the week, and use to_char(that_date, 'Day') as the second argument to NEXT_DAY(); (2) similarly, instead of using a hard-coded date that is known to be a certain day of the week, we can instead truncate SYSDATE to a Monday, using the 'iw' format model, and then add whatever number we need to get the desired day of the week. Both hacks use the fact that TO_CHAR() returns the name of the day in the NLS_DATE_LANGUAGE of the invoking session. Often we want to override that by specifying NLS_DATE_LANGUAGE explicitly in the function call, but in this case we want just the opposite.
In the illustrations below, I want to find the first Tuesday in August 2017. (Remember, that means I must apply NEXT_DAY() to the date preceding 2017-08-01, because NEXT_DAY() returns a date strictly greater than the first argument. To indicate that very clearly, I will not write 2017-07-31, but I will instead subtract 1 from 2017-08-01.)
SQL> alter session set nls_date_format = 'yyyy-mm-dd';
SQL> alter session set nls_date_language = 'English';SQL> select next_day(date '2017-08-01' - 1, 'Tuesday') as next_tue from dual;NEXT_TUE
----------
2017-08-01
OK, so far we know that 2017-08-01 will be a Tuesday. We can and will use this later. (Any other date that is known beforehand to be a Tuesday would work just as well.)
Now let's change the session's date language to German and try to run the same query. It should fail, and it does.
SQL> alter session set nls_date_language = 'German';SQL> select next_day(date '2017-08-01' - 1, 'Tuesday') as next_tue from dual;
select next_day(date '2017-08-01' - 1, 'Tuesday') as next_tue from dual *
ERROR at line 1:
ORA-01846: Kein gültiger Wochentag
OK, so let's use the date we know to be a Tuesday, and see what they call it in German. We can use that in our query (but, again, it will be hard-coded, just in a different language - German instead of English).
SQL> select to_char(date '2017-08-01', 'Day') from dual;TO_CHAR(DA
----------
DienstagSQL> select next_day(date '2017-08-01' - 1, 'Dienstag') as next_tue from dual;NEXT_TUE
----------
2017-08-01
Alright, now let's try the first hack. The query below is independent of the session NLS_DATE_LANGUAGE, but it hard-codes a date known to be a Tuesday. Still not very satisfying.
SQL> select next_day(date '2017-08-01' - 1, to_char(date '2017-08-01', 'Day')) as next_tue from dual;NEXT_TUE
----------
2017-08-01
Let's test the second hack. First we truncate any date to a Monday, using the 'iw' format model; we add whatever number (1 in this case) to get a Tuesday, and we use TO_CHAR() to get the name of Tuesday in German. Then we pass this value to NEXT_DAY() to make the query independent of NLS_DATE_LANGUAGE. This seems better, as it doesn't require advance knowledge of anything - but it's a lot of work for something that should be much easier. Certainly, if we needed to do this on many rows in a query, we would compute the translation of "Tuesday" in a subquery so we wouldn't have to perform the same computation once for every input row.
SQL> select next_day(date '2017-08-01' - 1, to_char(trunc(sysdate, 'iw') + 1, 'Day')) as next_tue from dual;NEXT_TUE
----------
2017-08-01
Let's change the NLS_DATE_LANGUAGE to French and test a little more.
SQL> alter session set nls_date_language = 'French';SQL> select to_char(trunc(sysdate, 'iw') + 1, 'Day') as french_tue from dual;FRENCH_TUE
----------
MardiSQL> select next_day(date '2017-08-01' - 1, to_char(trunc(sysdate, 'iw') + 1, 'Day')) as next_tue from dual;NEXT_TUE
----------
2017-08-01
User_ZUUODWilliam RobertsonMarwim
«134
Answers
 - Unknown
 edited Mar 6, 2017 8:42PM
 So, for example, if I ALTER SESSION to set the NLS_DATE_LANGUAGE to 'German' or 'French', I will get an error message if I use NEXT_DAY(..., 'Tuesday').
 And the OBVIOUS question is why you are changing your language to german if you want to use english for your functions?
 I can think of two such hacks, but I don't like them. Question: Is there a better way? Of course, it would be best if Oracle would allow a third argument for nlsparam , as they do for other functions...
 Why not use a third 'hack' and write your own function to wrap Oracle's. Then you can pass that third argument and have your function:
 1. alter the session to the needed setting
 2. call Oracle's function
 3. alter the sessin setting back
 Or take the 'slow boat to china' and submit an enhancement request to Oracle!
 - mathguy
 mathguy Member Posts: 10,674 Blue Diamond
 edited Mar 6, 2017 8:55PM
 I don't want to use English for my function, I want the query I write to run without changes (and without requiring the user to change their NLS_DATE_LANGUAGE to English before running the query) in a multi-lingual organization. I change my session's setting only for testing purposes. Imagine the same query must run across my organization, and we have offices in New Zealand, France and Germany. How do I write the query without hard-coding 'Tuesday' anywhere?
 Of course I could write a function; I am not sure if I can change session settings in


text: Dads rule! Cotton-top tamarin fathers play a major role in raising their offspring and are the main caretakers after birth. Siblings also help to raise youngsters and learn the skills they need to be parents when they are mature. We owe much to these little tamarins. Like humans, cotton-tops can spontaneously develop colon cancer. Since they are the only other primates to suffer from this affliction, many of our treatments for this disease have been developed from research done with cotton-top tamarins.


text:
We can reduce the incidence, duration, and impact of maltreatment experienced by children with disabilities... Give children, parents, and peers the opportunity to learn strategies for personal safety, self-protection, confidence and advocacy.
San Francisco, CA (PRWEB) December 20, 2012
Kidpower, an internationally acclaimed child safety education nonprofit, is endorsed in a recent ASHA Leader magazine feature article about child maltreatment and strategies to protect children with disabilities, "Protecting the Most Vulnerable from Abuse," by Harold Johnson, professor of special education.
Johnson tackles the difficult topic of child maltreatment with special urgency for children with disabilities: "Child maltreatment is a difficult topic to consider, discuss and study," he writes. "But the unpleasantness for professionals pales in comparison to the horrific, life-changing experience of children who are experiencing the maltreatment. This experience is even worse for children with disabilities because they lack understanding of what they are experiencing, the language and communication skills to convey that they are being harmed, and sufficient self-advocacy and self-protection skills to stop the maltreatment."
Johnson offers the following endorsement of Kidpower's personal safety curriculum: "We can reduce the incidence, duration, and impact of maltreatment experienced by children with disabilities and improve the children's performance if we... Give children, parents, and peers the opportunity to learn the strategies for personal safety, self-protection, confidence, and advocacy identified on the Kidpower Teenpower Fullpower International website (Kidpower.org) and described in The Kidpower Book for Caring Adults: Personal Safety, Self Protection, Confidence, and Advocacy for Young People (Van der Zande, 2012)."
The feature article appeared in the November issue of The ASHA Leader, a monthly news magazine whose circulation includes 150,000 speech-language pathologists, audiologists, speech, language, and hearing scientists and communication science students, and other subscribers. The ASHA Leader is an official publication of the American Speech-Language-Hearing Association.
"We are proud of our long history of adapting teaching methods and safety skills to help children with disabilities be safer," says Kidpower founder and executive director Irene van der Zande. "Our Kidpower Safety Signs, the Safety Comics series and many other elements of our program curriculum were developed specifically to help people with speech and hearing disabilities learn skills to protect themselves from abuse, bullying and other violence."
About Harold Johnson:
Harold Johnson, EdD, president-elect of DCDD, is a professor of special education in Michigan State University's Department of Counseling, Educational Psychology, and Special Education. His research focuses on how web-based technologies and resources can be used to reduce isolation, facilitate collaboration, recognize excellence, and enhance teaching/learning within K–20 deaf education, as well as to investigate the maltreatment of children with disabilities.
About Irene van der Zande and Kidpower:
Irene van der Zande has been featured as a personal safety expert by USA Today, CNN, and The Wall Street Journal and is also the author of The Kidpower Book for Caring Adults, a comprehensive guide for understanding personal safety, self-protection, confidence, and advocacy for young people, and the Kidpower Safety Comic Series, which many families and schools use in their child abuse and violence prevention training programs. She is also the founder and executive director of Kidpower, a non-profit leader in personal safety and confidence-building skills education, whose programs are highly recommended by experts worldwide for taking a positive, skills-based approach to preventing abuse, kidnapping, bullying and other violence. Kidpower workshops, K-12 safety curriculum, books, videos and the Kidpower.org free resource library have helped to protect more than 2 million people, including those with special needs, from abuse, bullying and other violence since 1989.
Media contact: email safety(at)kidpower(dot)org for more information or to request an interview.


text: Purpose: To describe the development and preliminary evaluation of the Multicontext Sitting Time Questionnaire (MSTQ). Method: During development of the MSTQ, contexts and domains of sitting behavior were utilized as recall cues to improve the accuracy of sitting assessment. The terms "workday" and "nonworkday" were used to disambiguate occupational and discretionary sitting. An expert panel evaluated content validity. Among 25 participants, test-retest reliability of the MSTQ items was assessed with intraclass correlation coefficients (ICCs). Convergent validity was assessed versus relative and absolute accelerometerestimated sedentary time and activity log using Pearson (r) or Spearman (r) correlation coefficients where appropriate. Results: Pilot testing revealed Web-based MSTQ administration was rapid, scalable, and inexpensive. Most items in the MSTQ demonstrated acceptable reliability (ICCs > .70). Compared with accelerometer-estimated sedentary time relative to total wear time, the MSTQ exhibited a low correlation on workdays (r = .34) and a moderately high correlation on nonworkdays (r = .61). Conclusions: The systematic development of the MSTQ resulted in several improvements over previous tools and may serve as a model for purpose-driven questionnaire design. Additional validation is needed to conclusively determine the utility of the MSTQ. Copyright © AAHPERD.