text:
Canada Safety Council
The Canada Safety Council is an independent, knowledge-based, charitable organization dedicated to the cause of safety. We provide national leadership in safety through information, education and collaboration. We are Canada's voice and resource for safety.
As a not-for-profit, non-government organization, the Council draws upon the dedication and commitment of its directors, committee members and instructors. Contributions from corporate and individual members enable a small professional staff to maintain programming and respond to inquiries from the public, professionals, the media and others.
- To minimize avoidable death, injury, and damage to property by devising, recognizing, encouraging and promoting methods and procedures leading to improved safety, protection and health among all persons in public and private places throughout Canada.
- To focus attention on the vital importance of safety.
- To arouse public interest and participation in safety measures.
- To publish and disseminate educational programs and information relating to safety.
- To promote and support the development of safer products and services.
- To provide incentives for leadership and to recognize achievement in safety.
- To assist in the drafting and enactment of safety legislation.
Saskatchewan Government Insurance (SGI) provides the following information for individuals relating to the use of snowmobiles, ATV's, and UTV's.
You don't need a special class of driver's licence or an endorsement to operate a snowmobile or ATV, but you must meet these requirements:
- You must hold a valid Class 1 to 5 driver's licence.
- You must be at least 16 years old.
- If you were born after Jan. 1, 1989, you must take an approved safety course.
If you're under 16 and/or have a Class 7 driver's licence, you can only operate a snowmobile or ATV while either:
- Accompanied by someone who holds a Class 1 to 5 licence.
- Supervised (within 5 m of and in view of) by someone on another machine that holds a Class 1 to 5 driver's licence.
Government of Saskatchewan
Legislation entitled "The All Terrain Vehicles Act " governs the use of all terrain and off-road vehicles with in the province of Saskatchewan. A copy of the complete Act can be downloaded from the Government of Saskatchewan website.
Occupational Health and Safety
In Saskatchewan the operation of motorized recreatioinal vehicles is governed by the Occupational Health and Safety Act, 1993 and the Occupational Health and Safety Act, 1996 under the section for Powered Mobile Equipment (PME). Table 14.1 in Section 154 establishes the minimum training requirments for competent operator of Power Mobile Equipment. Also available on the Government of Saskatchewan website is a list of frequently asked questions (FAQ) related to Operator Training Requirements.


text:
Pensar was engaged to design and construct two fishways and refurbish an existing tidal barrage weir on the Barwon River – maintaining water levels in the river and wetlands, protecting biodiversity and improving water management.
- An existing tidal barrage weir was decommissioned and redeveloped.
- A cone fishway was developed at the Barwon River tidal barrage site.
- A vertical slot fishway was developed at Reedy Lake.
- Innovative use of technology and materials – such as fibre reinforced polymer sheet piling – delivered substantial project improvements and savings.
- All works were completed in accordance with stringent environmental management specifications, maintaining existing water levels and tidal flows.
- Pensar worked closely with the Corangamite Catchment Management Authority, specialist consultants, and the local community to deliver successful outcomes for a project of considerable public interest and ecological significance.

source: m-a-p/FineFineWeb


The Best Documentaries Of 2021
2020 was a transformative year for cinema. As moviegoers worldwide were largely unable to go to theaters, more and more releases became available at home. In spite of the changes that last year brought, filmmakers continued to deliver important, impactful work.
In 2021, we've already seen a number of fascinating new films, and that's especially true in the world of nonfiction. 2021 has brought more movies that examine America's fraught political history, tell new stories about well-known people, and deliver remarkable renderings of works that originated in other media. Documentaries have continued to remind us why they can be such a stirring form of storytelling. They can shine a light on parts of the word that were previously unknown while captivating viewers the same way any great fictional story can.
Because of the pandemic, many of these movies are also available to stream, or will be in the months ahead. Some of these titles premiered at the Sundance Film Festival to great reviews, while others have already hit one streaming service or another. Here are the best documentaries released in 2021.
The story of Martin Luther King Jr. has already been covered fairly extensively on film. Even so, MLK/FBI finds a new angle by looking at the way the U.S. government harassed the Civil Rights icon for much of his time in the spotlight. As his power and influence grew, American intelligence agencies were constantly attempting to discredit King and the movement he led.
Largely through the use of archival footage and recently declassified files, director Sam Pollard shows how FBI director J. Edgar Hoover used and abused the power of the federal government to undermine King's efforts. King — who was treated as an enemy of the state while he was alive, and only became the legend we now know following his death — fought back. In telling the story of the American government's opposition to the progress King was trying to bring to America, MLK/FBI complicates the simplistic narrative of King that many Americans are taught at school.
MLK/FBI can be rented on a wide variety of streaming services, including YouTube and Amazon Prime.
A Glitch in the Matrix
Are we living in a simulation? That's the simple question at the heart of Rodney Ascher's new documentary, A Glitch in the Matrix. Through interviews, Ascher — who previously directed Room 237, a documentary about fan theories of Stanley Kubrick's The Shining – teases out the philosophies of people who believe that the world around us is a simulation. This topic has long loomed large in the popular imagination, from author Philip K. Dick's supposition that we're living in a computer-generated reality to The Matrix films (hence the title of this documentary).
Critics have praised the movie for paying attention to this theory and for showing the harm it can cause its most ardent believers, although some viewers have criticized it for underestimating the darker side of what this theory might mean. Audiences have also appreciated Ascher's unique visual style and his willingness to interview a diverse array of individuals. Whether we're living in a simulation or not, A Glitch in the Matrix is worth diving into.
A Glitch in the Matrix can be rented on a wide variety of streaming services, including YouTube and Amazon Prime.
In & Of Itself
Plenty of documentaries captivate their audiences with interviews, archival footage, and reenactments, but it's rare to find one that includes adapting a work that was originally designed for the stage. That's just what the inventive In & Of Itself does, capturing Derek DelGaudio's stage show of the same name on film.
Directed by Frank Oz, the movie faithfully depicts what it was like to sit in the audience at one of DelGaudio's shows. DelGaudio is a magician by trade, and In & Of Itself is first and foremost a magic show. By incorporating a narrative and drawing in his audience, DelGaudio turns playful tricks into profundity. The tricks themselves are better seen unspoiled; just know that it's difficult to understand how exactly he pulls them off. They're amazing to behold, but also offer insight into how people see themselves, and what it means to feel conflict about who you are and what you're meant to be.
In & Of Itself is now streaming on Hulu.
Summer of Soul
Summer of Soul (...Or, When the Revolution Could Not Be Televised) is one of the titles on this list that only those who were at this year's virtual Sundance Film Festival have seen. The movie received rave reviews for its heartfelt depiction of the 1969 Harlem Cultural Festival. The Roots frontman Questlove directed the film, which won the Documentary Grand Jury Prize at Sundance when it debuted there in January.
Featuring swaths of never-before-seen archival footage, Summer of Soul has performances from artists like Stevie Wonder, Sly and the Family Stone, and Nina Simone. The Harlem Cultural Festival took place the same year as Woodstock, but hasn't enjoyed the same legacy as that largely rockand folk-based festival. With Summer of Soul, Questlove and the rest of his creative team show Harlem's rightful place at the center of popular music.
Summer of Soul has been acquired by Hulu, but no official date has been announced for the movie's premiere.
A two-part documentary, Tiger tracks Tiger Woods from his childhood through his rise to prominence in the world of professional golf — and to his eventual downfall following allegations of affairs and sex addiction.
From minute one, Tiger makes it clear why Woods was once one of the highest-profile athletes in the world: He was ground-breaking, exceptionally skilled, and highly photogenic. Woods was an athlete who broke boundaries, and the movie celebrates this even as it highlights his flaws and shows how the scandal-hunting media machine tragically consumed him. Although Woods is no longer in his prime, Tiger ends on an optimistic note, reminding viewers that he's returned to the world of professional golf in recent years with some success.
Tiger is available to stream on HBO Max.
Street Gang: How We Got to Sesame Street
Another Sundance title, Street Gang: How We Got to Sesame Street tells a lighter story than many of the entries on this list. The movie is a sprawling, expansive look at how Sesame Street decided to educate children instead of selling them a product. It's an uplifting story, to be sure, and one that sits nicely alongside Morgan Neville's 2018 documentary about Mr. RogersWon't You Be My Neighbor?
Street Gang, directed by Marilyn Agrelo, takes a look at the lives of the many people who helped create Sesame Street. As the documentary suggests, Sesame Street's goal was to create a TV show that kids would like to watch that would also be good for them to watch. The task was easier said than done, but the show eventually became an enormous success and made the lives of everyone who watched it better.
Street Gang will air on HBO sometime this year.
Flee tells a compelling, moving story in an unconventional way. As he prepares to get married, a man named Amin feels compelled to tell his secret life story and does so in interviews with his friend, director Jonas Poher Rasmussen. The animated documentary shows how Amin endured years of horror after the Taliban's rise to power forced him and his family to leave Afghanistan
Rasmussen weaves these explorations of Amin's past with his present, where he's living in relative safety and thinking about buying a house with his partner. As Flee makes clear, though, Amin's past still affects every decision he makes. The movie's animation only makes the brutal reality of what he went through feel more immediate. It's a moving portrait of trauma and the way it can color everything about a person's worldview.
Flee was picked up by Participant and NEON out of Sundance, but is still awaiting a release date.
In the Same Breath
COVID-19 is still very much an issue for people around the world. In the Same Breath is one of the first documentaries to explicitly focus on the pandemic and how it was allowed to spread in early 2020. The film comes from director Nanfu Wang, who grew up in China but now lives in the U.S. The movie is a frank look at how multiple governments misled their citizens in the early days of the pandemic, ultimately worsening the degree of suffering related to the virus.
The movie examines the way the Chinese government repressed information about what was really happening in Wuhan, but it also puts other countries, including the U.S., under a microscope. The movie is riveting in spite of its focus on the recent past, and will likely be the first of many documentaries to tackle COVID-19.
In the Same Breath will premiere on HBO Max in the spring of 2021.
Try Harder!
Getting into college is a trying experience for every high school student who decides to apply, but it's especially so for the students at San Francisco's Lowell High School. Lowell, one of the most competitive high schools in the country, is the focus of Debbie Lum's film Try Harder! Lum tells the stories of the predominantly Asian-American students at the school who are taking extraordinary measures to get into the college of their choice.
The film is honest about the ways that college admissions boards tend to be biased against Asian-American students. Although the


text:
Siemens has developed a reprogrammable hearing aid designed to adapt along with the hearing changes of the growing child.
Fitting a hearing instrument for young children with hearing loss is one of the most difficult tasks faced by audiologists. Children born with impaired hearing can only communicate to a very limited degree, and they also have different auditory perception than adults who have suffered gradual loss of hearing. In the latter case, the brain loses its capacity to perceive high frequencies. Children with hearing loss, by contrast, need the full spectrum of sounds in order to "learn how to hear."
With the help of the latest findings from the field of pediatric audiology, Siemens Audiology has now developed a hearing instrument that meets such complex requirements. In addition to covering a considerably extended frequency range, the Explorer 500 P also boasts numerous functions such as speech-sensitive noise suppression and automatic situation detection, so the instrument can adapt to the constantly changing hearing requirements of a growing child.
In the framework of the Connexx adjustment software, Siemens has integrated ClinicalFit, which features a special workflow for children that automatically selects the full range of typical settings for each age level. To fit the instrument, the technician needs only to connect the device to a computer, enter the wearer's age, the hearing impairment, and the required functions, and the software automatically does the rest — such as activating a directional microphone or a direct audio connectivity to wireless transmission systems used in kindergarten or school, for example. The latter selectively transmit a teacher's words and help to suppress ambient noise.
Press release: A Hearing Aid for Children That Adapts With Age…

source: openbmb/Ultra-FineWeb


handled by an editor in a given time frame, which we can track from the assignments on GitHub issues since the start of onboarding. Looking at this over time, we can see how editor workloads changed in response to growing number of assignments and how we have attempted to manage this by expanding our editorial board:
issues <- gh("/repos/ropensci/software-review/issues?state=all&labels=package",.limit=1000)
edits = map_df(issues,
~data_frame(url =.$html_url,
editor =.$assignee$login %||% NA_character_,
opened = as.Date(.$created_at))) %>%
filter(! %>%
mutate(quarter = paste(year(opened), quarter(opened), sep="Q"),
half = paste(year(opened), if_else(quarter(opened) <= 2, 1, 2), sep="H"),
year = year(opened))
edits %>%
group_by(editor, half) %>%
summarize(n_assigned = n()) %>%
{ full_join(., crossing(editor = unique(.$editor), _TAG_'t get expand() to work.
half = unique(.$half))) } %>%
mutate(n_assigned = coalesce(n_assigned, 0L)) %>%
ggplot(aes(x=half, y=n_assigned, fill=editor)) +
geom_col(position="dodge") +
geom_hline(yintercept = c(3, 6)) +
xlab("Half / Year") + ylab("No. Issues Handled")+
 hrbrthemes::theme_ipsum() +
 theme(legend.position = "bottom") +
 viridis::scale_fill_viridis(discrete = TRUE)
number of assignments per editor per half ayear
As an side-note, the same data allows to visualize the increase in the number of submissions.
edits %>%
group_by(half) %>%
summarize(n_submissions = n()) %>%
ggplot(aes(x=half, y=n_submissions)) +
geom_col(position="dodge") +
xlab("Half / Year") + ylab("No. Submissions")+
number of submissions per half ayear
🔗 Outlook: decreasing work by automation
As mentioned in this blog post about the authors and reviewers survey, we're in the process of trying to maximize automation of all than can be automated in order to reduce and simplify work for everyone involved. This way, humans can focus on what they're best at. Our current automation efforts include two packages in development: one for package authors, rodev, by rOpenSci staff, and one for package reviewers, pkgreviewr, by community member (and guest editor!) Anna Krystalli. We also are working on automating most of the checks that use goodpractice::gp so they are run on CI infrastructure automatically on submission, rather than requiring editors to do so locally.
If you liked this data exploration, stay tuned for the third and final post of this series, about the social weather of onboarding as characterized by a tidy text analysis of onboarding threads! And don't forget to check out the first post of the series, about data collection, if you haven't read it yet.


Microsoft Research Fellowship Awards Underwrite Academic Excellence
REDMOND, Wash., Feb. 23, 2004 — Microsoft recently honored some of the keenest young minds in computer science, mathematics and electrical engineering by awarding Microsoft Research Fellowships to 13 promising graduate students in the United States and Canada. The scholarships provide students who are considered "the best and the brightest" with an opportunity to pursue doctorate-level research for two academic years.
Chandra Nair
To learn more about the nature of genius in higher education today, PressPass hosted a roundtable discussion with Jim Kajiya, director, at Microsoft Research and four of the students who were named MSR Fellows for 2004-05 (see sidebar for complete list):
 - Vladimir Jojic, a Ph.D. student in computer science within the Probabilistic and Statistical Inference Group at the University of Toronto, Canada, whose field is machine learning and computational molecular biology
 - Jinyang Li, a Ph.D. student in the Parallel and Distributed Operating Systems Group at Massachusetts Institute of Technology's Laboratory for Computer Science, whose research is in the areas of computer networks and distributed systems
 - Chandra Nair, a Ph.D. candidate in electrical engineering at Stanford University in California, whose research focuses on crossover areas in probability, combinatorics and statistical physics
 - Alan Nash, a Ph.D. candidate in mathematics at the University of California, San Diego, whose work focuses on applications of logic to computer science
PressPass: Why does Microsoft Research award fellowships?
Jim Kajiya: We want to recognize academic excellence by providing material support to outstanding students in computer science and closely related fields. Fellowships have been recognized as one of the most desirable and effective mechanisms for doing so. These awards also demonstrate our support for outstanding university departments throughout North America.
PressPass: What does MSR look for in award recipients? In other words, what characteristics define a good Fellow?
Kajiya: We look for candidates with the highest potential for contributing to their chosen field. These people are highly creative and very bright, and they have interesting views on the world.
PressPass: Would each of you summarize your work and describe the research that you plan to focus on in the coming year?
Vladimir Jojic: My research focuses on building probabilistic models for different mechanisms and processes in biological systems. For example I am interested in the mechanics of immune system response, reconstructing the phylogenetic tree of the evolution of species, and the design of peptides for use in RNA interference. These areas are of interest because understanding these processes has direct application in how we deal with viruses and diseases. For example, an evolutionary model allows us to investigate how SARS jumped species and then infer how likely other viruses are to do the same. Similarly, by modeling specificity of mechanisms such as RNA interference we can ensure that we obstruct the building of faulty protein in a cancerous cell while not interrupting the production of normal proteins.
Jinyang Li
Jinyang Li: My work deals specifically with routing in dynamic peer-to-peer networks, such as music-sharing networks like Kazaa or Gnutella. Routing is a way to figure out the best path for traffic to travel in your network to get to its destination. But the way peer-to-peer networks are formed is often very ad hoc, so to find a piece of data, essentially you have to flood the request to many people on the network. If you want to limit the expense of that, you sacrifice accuracy; in other words, you might fail to contact someone who holds the data. The scientific community has devised an idea called distributed hash table, which is a more intelligent way of organizing this overlay network such that searching is much easier. With DHT, a routing algorithm tells you which path to take to find a piece of data. My current work focuses on analyzing these routing algorithms and design choices and understanding how they perform, especially in a dynamic network where a lot of nodes join and leave.
Chandra Nair: My main work has been in the area of combinatorial optimization. A typical problem in this area takes the following form: I have some objective that I want to optimize — say, maximize profit or minimize cost — but the number of possible choices of variables is so extremely large that an exhaustive search is impossible. This field deals with finding out optimal solutions in a more efficient manner. My main work has been to prove a conjecture in a particular combinatorial optimization problem. Optimization occurs in nature. For example, leaves in a tree arrange themselves so that each leaf gets a large amount of sunlight. Statistical physicists use existing physical laws to simulate the optimization that nature would do, even to problems that don't occur naturally. Their results are stunning, but the arguments are not completely rigorous. I will focus on using my rigorous solution to the particular problem I worked on to understand, explain and rigorize the work of the statistical physicists.
Alan Nash
Alan Nash: I'm interested in roughly three areas in database theory and complexity theory. With regard to the more applied aspect of database theory, I'm interested in information integration. And in the more theoretical areas, I'm interested in two questions. One is the role of ordering in computation, and the other has to do with the open question of P vs. NP, which is one of the most important problems in theoretical computer science. This is difficult to explain, but it's easier to explain a related question: Roughly, what can we compute without using too much time, and what can we compute without using too much space? The intuition is that we should be able to compute more things if we're limited in space than if we're limited in time because you can reuse space but you can't reuse time. But people have been working on this for a long time and we have not been able to show yet that you can compute more things having limited space than you can having limited time. This is a big, open question, and I'm not by any means hoping to solve it, but I'm working on several questions related to it.
PressPass: What drives you to study in your particular area? What promise do you think it holds?
Nair: I'm interested in mathematics in general, and combinatorial optimization offers lots of exciting opportunities for solving difficult, open mathematical problems. Clearly, optimization problems occur in every walk of life in one way or another. We join the shortest queue in a grocery store, take the shortest path to our destination, and so forth. So I believe optimization problems are an important class of problems to study.
Jojic: Machine learning is very exciting because it allows you to get at the underlying truth using noisy and incomplete observations. In immunology, for example, we might ask, "Given the incomplete knowledge that we have today about immune systems, what are the factors that influence how an immune system would respond to a virus?" An observation of the rough data in different stages of the immune response, to my eye, would appear like a bunch of letters and numbers. But it's extremely interesting when you can postulate a probabilistic model of the data, find the important factors and discover an optimal solution for the problem at hand, for example, the best stimulus for the immune system.
PressPass: How do you think a fellowship like this affects your prospects? Do you see it opening up opportunities for you?
Li: I definitely see it opening up opportunities for me. I'm currently working on a specific research area, but with the Microsoft Research Fellowship, I have the freedom to pursue other areas if I have good ideas. I wouldn't have that same freedom in another position, for example, as a research assistant or teaching assistant at MIT.
Nair: It would have been difficult for me to go to any common funding agency and request money to work in an area that is extremely theoretical and from which there is probably no monetary gain for some time, in terms of product or practical applications. But a fellowship gives
you freedom to pursue fields that you feel really need to be pursued, both for furthering human understanding and for the impact this field will have several years down the line. Clearly, this fellowship also offers the opportunity for me to collaborate with the best theoretical group that exists outside of some top universities.
PressPass: What outlook do you see for IT as a career? Has computer science lost its luster in the post-dotcom boom? Or do college students today still see this as a good career choice?
Jojic: Sure, because innovation goes on and new technologies keep coming out. As far as research is concerned, there are popular areas, machine learning being one of them, as well as the merging of machine learning with other areas such as biology and speech/video/text processing. As long as people continue to be interested in solving problems, innovation in the computer science and IT area is going to continue. It might not be in terms of inventing new markets, which is what the dotcoms seemed to focus on, but there are definitely areas where you can work and solve interesting problems, and there are definitely business cases for solving such problems.
Nair: In the dotcom boom, non-genuine businesses got hyped up, causing a huge bubble. Now it's filtering out to the really good people who stayed in the field and are making real progress. What people expect today is slower but much steadier growth, not another huge boom. That's the general outlook I'm seeing among my peers. They're not hoping to become millionaires overnight.
Li: It's definitely healthier today. A couple years ago, people signed up for computer science because they thought it was going to make them quick money. Now they sign up more because they really like the subject. I see a lot of freshman signing up for computer science. It's down from a couple


text:
There is no need to finish the interior of the box, because it is protected from the weather and should you be fortunate to attract a colony, it will be necessary to discard the box at the end of the season of actual use. Discarding a used nest box is important because there is no practical way to sterilize a wood box. There are a wide variety of parasites, which feed off bumblebees and the nest contents during the season. Eggs of these parasites may be deposited in cracks and crevices. Nest boxes constructed of metal or plastic could probably be cleaned with steam or chemicals. Wood boxes are quickly made, and easy to replace.
Labels: Bumble Bees

source: HuggingFaceFW/fineweb-edu


text:
The Economic Impact of Montana's Renewable Portfolio Standard
Montana's renewable power mandates will force state electricity consumers to pay an extra $225 million in 2015 versus baseline figures. In addition, the mandate will bring few environmental benefits, as it is unclear whether the use of renewable power sources such as wind and solar actually reduces overall greenhouse gas emissions. Wind and solar power require significant fossil fuel-based backup power to accommodate variability in the availability of wind and sunlight for power conversion. A recent study published by the Bentek energy market analytics company found wind power can actually increase pollution and greenhouse gas emissions because the constant ramping up and ramping down of fossil-fuel backup systems is less efficient than running them at a steady pace.


Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Let's assume I have a class Object with one method which simply reports the ID number of the instance. Normally, I would hardcode the instantiation of the Object class like "Object obj_1" and the calling of the method like "obj_1.report"
My question is how do I instantiate objects procedurally, for example I want to create n number of Objects, going obj_1, obj_2 and so on till obj_n. Natural I am not asking about the actual loop but about how to instantiate the class using a variable, but taking the value of the variable instead of its name and adding it to the obj_ prefix. Perhaps with casting? Also how do I procedurally call the methods of specific instances by specifying only the ID. I think both the instantiation and the method calling will work in the same way, however as a newbie I have a hard time figuring how exactly to do it on the go instead of being hardcoded.
Thanks in advance!
EDIT: I am interested in c++ syntax
share|improve this question

Have you heard about arrays? Or std::vector? – Joachim Sauer Oct 12 '11 at 13:55

Yes, I am familiar with the basics of arrays, but my problem is related to using the value of a variable as the name of the instance. How to replace "Object obj_1" with "Object obj_(VAR)" where VAR is 1. – ddriver Oct 12 '11 at 14:10

and how would that be different from using an array obj where VAR is the index? – Joachim Sauer Oct 12 '11 at 14:11

I still don't get your point. I could use an array to store all the instances, but what I need is the actual syntax to instantiate a class object using the value of a variable or the index of an array as a name, plus the prefix. – ddriver Oct 12 '11 at 14:35
1
why? What advantage does that have? The names don't mean anything at runtime and all you get from this is a complicated way to emulate what an array does. Can you describe the actual requirement that requires you to "programatically" create such variables? Hint: when I ask "How would that be different?" it's not a rhetorical question. I actually hoped you could tell me the difference. – Joachim Sauer Oct 12 '11 at 14:37
1 Answer 1
The best solution I can think of is to store your objects in a Map, with your IDs ("obj_1", "obj_2", etc) being the keys that refer to those instances.
Java (since you didn't specify a language) sample code would look something like this:
Map<String, Object> objMap = new HashMap<String, Object>();
for(int i = 1; i <= 10; i++) {
 objMap.put("obj_" + 1, new Object());
}
for(int i = 1; i <= 10; i++) {
 if(objMap.containsKey("obj_" + i))
 objMap.get("obj_" + i).report();
}
share|improve this answer

It is my fault for not mentioning I am learning C++, in fact I have added c++ as a tag, but the site said 5 tags maximum so I deleted it. Anyway, I am specifically asking for C++ syntax, still thanks for your rapid reply :) – ddriver Oct 12 '11 at 13:36

@user991484: you should have removed one of the other tags. text for example doesn't really add much useful information, so I took the liberty to replace it with c++ for you. – Joachim Sauer Oct 12 '11 at 14:11
Your Answer

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


Library, Library Dashboatd Syste Perancangan dan Implementasi Dashboard Sistem Informasi UPT.Badan Perpustakaan Umum Siak Kecil Kabupaten Bengkalis Menggunakan Metodologi Prototyping
 - Nuriman iman mahasiswa
Public libraries are places that collect collections of books, printed materials and other records for the benefit of the general public. Public libraries can also be interpreted as various educational institutions for the general public by providing various kinds of scientific information, on the management of library book data, both those that are often borrowed and those that cannot be returned and the types of books in the library or recording book borrowing transactions such as book records still use the traditional way, this is one of the channels that is exceeded to meet and monitor the reading interest of visitors in Siak Kecil sub-district. On this basis, a Library System Dashboard will be developed using the Proptotyping methodology. This system is built using PHP (Hypertext Processor) as programming language and MySQL as database. Once done, blackbox testing can show that the system is running as expected. Based on the user acceptance test (UAT) that has been carried out, it shows that 94% of the systems built are well accepted and can be the head of the library in managing data and helping decision making.


A chassis is a physical package that encloses other elements; in this case, the enclosed elements are the Celerra Data Movers and Control Station.
NASChassis is instantiated for each Celerra Network Server (NASChassis object) found during the discovery process.
The NASChassis is related to the FileServer and Host objects through the PackagesSystems relationship. The NASChassis is also related to remote Control Station Host objects through the ConnectedTo relationship. The ConnectedTo relationship reflects inter-Celerra device communication.


text:
Waking up to the first snow of the season is a magical event. Suddenly seeing white when the day before, the landscape was covered with fading autumn hues, is always a surprise to the senses. Children are especially excited and full of wonder at the arrival of nature's most versatile plaything.
But, not everyone smiles at the sight of the season's first snow. It means more work for parents getting children ready to go outside, more time scraping the vehicle in the morning, more potential danger on the roads and worst of all, more shoveling.
Nevertheless, snow is beautiful, especially when it's still in mid-air, falling softly from the heavens or swirling in the wind. It covers the landscape, making the most of November's stark silhouettes. The colored leaves of autumn quickly pass from memory. Winter's on its way.
Soon it will be time to put out sunflower seeds for the squirrels and birds who have decided to stay for the winter. There will be more activity at the birdbath as the ground freezes and it becomes more difficult for wildlife to find food and fresh water.
As warmer weather is forecast over the next few days, this snow will probably melt as do most first snows here in Nova Scotia. Which leaves one to wonder… when the snow melts… where does the white go?


Download PNG image - Candles Png Picture
Candles Png Picture PNG Image
Candles Png Picture has a transparent background.
This PNG has a resolution of 256x256. You can download the PNG for free in the best resolution and use it for design and other purposes. Candles Png Picture just click on Download and save.
Candles or a candle is an object generally made of wax and sometimes is an ignitable wick embedded in wax or in any other flammable solid substance such as tallow, these substances are also chosen on the basis of the light they produce, and in some special cases, also on the basis of their fragrance. Some candles are used for the purpose of providing heat or keeping time as well. Chandler is traditionally a person who is known to make candles either professionally or for person interests. From ages, various devices an objects have been invented in order to keep candles, these have ranged from simple table top candlesticks which are also known as candle holders to elaborate forms of candelabra and chandeliers.
In order to burn a candle, there is a requirement of a heat source, commonly a naked flame from a matchstick or a lighter is used for the same, is used to light the candle's wick, which afterwards melts and vaporizes a small amount of fuel in the form of wax. Once the fuel or wax is vaporized, it combines with the oxygen present in air to ignite and form a constant flame and the flame provides heat and light.
Image Name: Candles Png Picture
Image category: Candles | Download Candles Zip
Parent category: Objects
Format: PNG image with alpha (transparent)
Resolution: 256x256
License: Creative Commons (CC BY-NC 4.0)
Size: 26.5KB
Rating: 4
Views: 1854
Author: Alexis Bailey
Date Added: 22-12-2016
PNG Downloads: 467
ICON Downloads: 176
Color Palette:
Similar PNG:


Supporting your high street Find out how »
Moral Calculations : Game Theory, Logic, and Human Frailty, PDF eBook
Moral Calculations : Game Theory, Logic, and Human Frailty PDF
Are people ever rational? Consider this: You auction off a one-dollar bill to the highest bidder, but you set the rules so that the second highest bidder also has to pay the amount of his last bid, even though he gets nothing.
Would people ever enter such an auction? Not only do they, but according to Martin Shubik, the game's inventor, the average winning bid (for a dollar, remember) is $3.40.
Many winners report that they bid so high only because their opponent "went completely crazy." This game lies at the intersection of three subjects of eternal fascination: human psychology, morality, and John von Neumann's game theory.
Hungarian game-theorist Laszlo Mero introduces us to the basics of game theory, including such concepts as zero-sum games, Prisoner's Dilemma and the origins of altruism; shows how game theory is applicable to fields ranging from physics to politics; and explores the role of rational thinking in the context of many different kinds of thinking.
This fascinating, urbane book will interest everyone who wonders what mathematics can tell us about the human condition.
Other Formats
Also by Laszlo Mero


text:
Optonova has extensive knowledge and experience of optical metrology, the science of measurement using optical methods, above all light in the visible spectrum. This is the dominant technology for non-contact measurement methods, which also include measuring with sound, electrical and magnetic methods and radioactive radiation.
Optical metrology covers numerous areas of knowledge in the measurement technology chain from light source to the finished measurement result. Here are some examples:
For example how light interacts with objects. An accurate physical description of defects and surface properties increases the scope to choose the right methods and geometries. The optical properties of a surface include light scattering, specular reflectance (gloss), polarisation, diffraction, spectral reflectance (colour) and fluorescence. Physical optics are one of the cornerstones of Optonova's business.
Optics and optical methods used include filter techniques, anamorphic optics, telecentric optics and scanning systems. We have software for designing and simulating optical systems.
Photodetectors, image sensors and cameras
We are increasingly using the new smart CMOS cameras in our vision systems. The advantages of the new technology can be summarised as "higher performance at a lower price", which manifests itself in:
- Random access to image elements (pixels)
- High frame rates
- A/D conversion on chip
- Smart image sensors with image processing options on chip
Optical measurement geometry and technology
Optonova's experience includes the following methods:
- Optical triangulation – methods for measuring distance, position and shape. There are 1D, 2D and 3D methods available.
- Photometric stereo – a new method for measuring surface topography.
- Photogrammetry - the traditional method for measuring topography and 3D shape. Automatic 3D sensing is possible using electronic cameras and machine vision.
- Interferometry – for very accurate measurements of flatness, contours and deviations.
- Autofocus – initially developed for CD players. Used in metrology for micro-topography measurements.
- Laser radar – used for scanning systems that measure 3D shapes. Compare with microwave radar.
- Shadowing and profile projections – laser or vision-based methods for measuring in one or two dimensions.
I.e. the art of choosing light sources and optics to achieve optimum lighting for an inspection task. Optonova develops complete lighting systems, for example.


text:
St. Catherine University partners with University of Minnesota to launch high-altitude weather balloon
During Minnesota Aerospace and Aviation Week, students and faculty from St. Catherine University teamed up with students and faculty from the University of Minnesota to launch a high-altitude weather balloon on Flight Day.
The goal of the flight was to use a helium-filled latex weather balloon to lift scientific payloads into "near space." Students and faculty would then recover the units, retrieving data that would later be used for scientific research.
Though the weather balloon did not reach its anticipated height on this particular day, the students conducted a successful launch.
For more information about liberal arts at St. Catherine University, visit the School of Humanities, Arts and Sciences website.


text:
Goal: The Project will complete the design plans to install an underground infiltration basin to capture, infiltrate, and treat a minimum of two hundred (200) AFY of urban storm water, augment groundwater recharge, and help reduce storm water impacts to Machado Lake. Purpose: The Project is part of an implementation plan to reduce trash, toxins, and nutrients in Machado Lake.
Key Components: The Project Specific Planning will conduct geotechnical analysis,groundwater model results, hydrology study, and preliminary design memorandum. The Project will complete CEQA for the implementation of the project. The Project will be designed to include capture, treatment, and infiltration of storm water and dry weather runoff collected from a minimum of 700 Acres of contributing drainage area. The design shall include an underground infiltration gallery holding a minimum of 19 AF of water and a pre-treatment system to capture debris and sediment before the infiltration gallery.
Torrance, City of
PSP for completing design plans to install an underground infiltration basin to help reduce stormwater impacts on Machado Lake.
Research/Planning (including Science)
Project Benefits a Disadvantaged Community (or SDAC):


Difference between Aluminum and Stainless Steel
Updated on February 14, 2018
Both aluminum and stainless steel are hard metals that have a wide range of applications. The metals look similar but they are very different in that one is an alloy while the other is not. They are also different in terms of composition, density, strength etc. Knowing the difference can help you determine which one you need for your project or which kitchen appliance you need to buy. Here are a few differences:
Definitions
Aluminum
Aluminum spoon
Aluminum is a silvery looking metal element that is both light and strong. These properties have led to its wide applications in making certain objects. For example, aluminum is preferred in making car bodies and airplanes.
Stainless Steel
Kitchen Knife Stainless Steel Cutting edge
Stainless steel is a metal alloy consisting of iron and chromium. The amount of chromium combined with iron can vary from 10 percent to 30 percent so as to achieve the desired characteristics of stainless steel. Some other elements such as titanium and nickel may be added to enhance specific qualities of steel.
Comparison Chart
AluminumStainless steel
Is an element but not an alloyAlloy of iron and chromium
Lighter and not very strong compared to steelHeavier and stronger than aluminum
Doesn't give out sparksGives out sparks when subjected to a grinder
CheaperExpensive
Less reactiveMore reactive than aluminum
Cheaper due to simple refining processMore expensive than aluminum because it involves a lengthy refining process
Aluminum vs Stainless Steel
What is the difference between aluminum and stainless steel? The difference between them lies in their composition, how they react to air and their uses.
 - To tell the difference between aluminum and stainless steel, most people subject them to a grinder. When subjected to a grinder, things made from aluminum do not give out sparks. Stainless steel items give out a lot of sparks when grinded (see video below).
 - Aluminum is an element. It is not a combination of two elements like in the case of stainless steel. Stainless steel is an alloy metal consisting of chromium and iron. Stainless steel does not rust or corrode easily like other metals. The amount of chromium used varies from 10 to 30 percent. Chromium is used so as to make the metal anti-corrosive and rust resistant. Chromium reacts with air to form an oxide film which protects the steel. Stainless steel has a variety of applications including those found in home and restaurant kitchens for making appliances such as rice cookers and utensils.
 - Aluminum is a bit weaker as compared to stainless steel, but it's a lot lighter and hence preferred in making aircraft bodies. Stainless steel is very strong and heavy.
 - Aluminum is available cheaply and it does not require much processing. It's also a good conductor of electricity, hence it is used in making power cables. Aluminum does not rust due to the formation of an oxide coating on its surface. Aluminum is preferred in making boilers and other heating vessels since it does not react with the contents, and conducts heat effectively.
 - Stainless steel, on the other hand, is expensive due to the lengthy refining process and alloying. In most cost conscious projects such as construction, aluminum is used instead of stainless steel.
Did this article help you?
Thank you!
Thank you!
What was wrong?


text:
Craft a "Recycled" Angel Tree Topper
This "recycled" angel may use old materials, but it will be a brand new addition to your family's holiday decoration lineup! Show your little one how to craft this adorable angel out of an ordinary soda bottle as the tree topper for this year's Christmas tree. As your family receives a cherished new holiday keepsake, your child will fine tune his creativity, fine motor skills, and ability to follow directions!
What You Need:
- 2-liter bottle
- Scrap material
- Glue dots
- Glitter (optional)
- A doll head
What You Do:
- Have your child read through all the instructions out loud so that you both know what needs to be done, and ask your child if she has any questions before you begin.
- Cut off the bottle portion of the 2-liter bottle, so that the bottle creates a cone that can go over the top of your Christmas tree. Cutting through a plastic bottle can be dangerous, so it is best for an adult to do this portion of the project.
- Use the scrap of material to drape around the bottle, so it looks like a loose fitting gown. Your child is free to choose the color of material and how long the gown is. An old t-shirt is great for this project! Your child can wrap the material around the bottle until he is happy with how it looks, and then can cut it down as necessary.
- Once the material is arranged the way your child wants it, hold the material in place as he glues it to the back of the bottle. Using glue dots will enable your child to easily attach the material without having to wait long for the glue to dry.
- Invite your child to draw angel wings onto the cardboard. If he wishes, he can practice on scrap paper first.
- Use a sharp pair of scissors to cut out the wings your child drew.
- Once the wings are cut out, instruct your child to go ahead and paint them. White, yellow, and gold are common traditional colors, but he can choose any color he likes!
- To achieve an extra sheen, invite your child to sprinkle glitter over the glue while it is still wet.
- While your child waits for the wings to dry, he can use the glue dots to glue the doll head to the top of the 2-liter bottle (just above the neckline of the material).
- Once the paint on the wings is dry, your child is free to glue the wings to the back of the angel.
One of the many great things about this project is that it really allows your child to get creative! Your child has the opportunity to decide on the color or pattern of the material, the type of doll head to use, the length of the dress, as well as the color and style of the wings.


Why a 'purposeful' workplace is the key to future success
Rebecca Edwards - Head of Digital Marketing & Content at Champions UK plc
Written by Rebecca Edwards
Does it sometimes feel as though you spend a lot of time at work? Well, you'd be right - around a third of our lives are spent working, according to research, which amounts to around 1,800 hours a year, or 90,000 hours over the course of a lifetime.
It is no secret that working demands a large portion of our lives, but our reasons for getting up every morning are shifting. Where many employees once saw the typical 9 to 5 as a means of earning a salary, more people than ever want to gain purpose and meaning from their job.
Employees these days crave open collaboration and in-depth projects, both creative and commercial, that reward them with a feeling of purpose.
Creating a 'purposeful' workplace is the key to building a successful business in the world today.
What is a purposeful workplace?
Employers these days should protect the emotional well-being of their employees if they want to stay ahead of the curve. A happy, fulfilled worker is a productive and profitable one and a purposeful workplace cultivates engagement, meaning and motivation.
From investing in personal development training, to encouraging inter-personal relationships, the traditional hierarchy of the workplace in recent years has gained another layer - to personally care for those you manage.
Why is a purposeful workplace important?
A purposeful workplace promotes an internal drive to learn, improve and succeed.
Employers need to provide a foundation for their employees to grow and to feel motivated, by encouraging autonomy over their responsibilities. They should be empowered to have control over their job role and their tasks, schedule and responsibilities. Without that, there is a risk that they may lose purpose.
Today, many modern offices or even the best coworking spaces are being designed to cater to both psychological and physical needs. Businesses are choosing to work in spaces that offer wider flexibility, psychological support and a bigger investment in developing their workforce's skill set.
Employees who feel supported and motivated are more likely to commit long term to their role and less likely to feel burnt out.
That also helps to reduce the amount of turnover a business experiences. Encouraging longevity does not just ensure strong connections and a dedicated workforce but it is also an investment - training a new employee can take some time.
How do I nurture a purposeful workplace?
Nurturing a purposeful workplace can be done by making small, meaningful changes. You can instil a sense of purpose in your employees by simply altering your management style.
Rather than relying on the simple equation that "meeting your job expectations = wage packet", encourage a collaborative effort for your businesses' future.
Consider these pointers to ensure your workforce is motivated:
 1. Complete assessments and implement the findings
Ask your employees what drives, inspires and motivates them. Explore with your team which area of their job does not give them purpose, or if there are any factors which prevent them from being productive.
Listen and don't judge - if an employee feels like their answer will land them in trouble, they will be more likely to hide the truth.
Once you learn about their day-to-day activities, find areas that you could improve on to encourage a heightened sense of purpose. For example, if your employee highlights that they don't feel valued in meetings, then try altering how you respond to their contributions, no matter whether the suggestion is right or wrong.
 1. Get to know your employees
Your employees are people with lives and issues outside of the office that can affect their workplace motivation.
Don't just ask your team how their projects are going, but also ask them if they have any issues they may want to discuss. Building strong interpersonal relations can create a heightened sense of unity.
 1. Deliver validation and gratification
Though it is important to highlight areas for improvement in a constructive way, expressing gratification and validation for your employees' hard work will be gladly received.
Try to avoid solely focusing on the quality of the work, and instead find a balance with validating the effort made. In doing so, they will value their hard work and purpose in the company.
 1. Always discuss "Why"
Never set a task without explaining why it is important. It is challenging to fully commit yourself to a task without understanding the influence it has on the bigger picture, and nobody knows this more than low-level employees.
Rather than imposing meaningless tasks, explain to your team why it is important that they complete the project efficiently. Not just because you said so, but because it is important to the business's future. If your employees understand why their role is important, then they will find purpose in their work.
 1. Encourage personal, not just professional, development
The benefits of a purposeful workplace are endless, ranging from monetary savings to increased productivity. Employees can be trained to do a professional job but it is the 'soft' skills, like teamwork, leadership and resilience, that will set your company apart from the rest.
Creating a purposeful workplace is all about making your employees feel valued, respected and needed. It involves nurturing an appreciation of them as individual people, each with unique issues and needs.
That will help them to experience a heightened sense of purpose towards their job role and lead to a collaborative, more meaningful future.
Let Office Freedom help you find your next office
3 Consultants Image
Call: 0203 _PHONE_


Calendar for mobile web browsers
You can use Google Calendar on almost any smartphone without downloading an app. Just go to in your mobile web browser. But if you have an Android phone or iPhone, it's simpler to sync with an app instead.
Get started
 1. Open the web browser on your phone or tablet (the same app you use to visit other websites).
 2. Go to
 3. Sign in to your Google Account.
View your calendar
View your day or month
Touch Day or Month at the top to switch between Day and Month view. Use the left and right arrows to go to other months and days. While in Month view, touch a day to see a list of the day's events.
You can always touch Today at the top to jump back to the current date.
View events while offline
If you recently viewed an event in Google Calendar on a mobile browser, you'll still be able to see your event when you don't have access to an Internet connection. You'll only be able to view events, not add or edit them.
Data stored on your device
When you access Google Calendar on your mobile browser, data may be stored on your device for improved performance. You may be able to access and clear this information in your browser's settings. For example, you can clear data for individual websites with Chrome for Android using these directions. Visit the help center for your browser to learn how to clear website data stored on your device.
Create & edit events
Add a new event
 1. Go to in your mobile web browser.
 2. In the top right corner, touch the plus icon +.
 3. Type in a title and choose the date and time.
 4. You can invite someone to your event by typing the person's email address under "Add a person to this meeting." They'll receive an invitation email.
 5. When you're done, touch Save at the top.
Note: You may not be able to add events if your web browser isn't supported. You can try downloading another popular web browser.
Edit and delete events
 1. Go to in your mobile web browser.
 2. Open the event you want to edit by going to the day, then touching the event.
 3. To edit the event, touch Edit in the top right. Make changes and touch Save.
 4. To delete the event, touch Delete in the top right.
Hide or show individual calendars
If you have multiple calendars in your account, you can choose whether to hide or show each calendar. When you hide a calendar, the events on that calendar won't show up when you view your schedule.
 1. Go to in your mobile web browser.
 2. Touch Settings at the bottom.
 4. Touch Save in the top right.
The mobile browser version of Google Calendar doesn't support notifications. However, if you'd like to get notifications on your phone, you can sync with an app instead. Learn more about syncing with mobile.
If you get an "Invalid certificate" or "Could not verify domain" error, or are generally experiencing problems accessing Google Calendar, your mobile browser may not be supported. Here are a few things you can try:
 - Download a different browser on your phone.
 - Make sure cookies are turned on for your browser. Look in the settings of your mobile browser.
 - Instead of using a mobile browser, sync with a mobile app.
Related articles
page author courtney
Was this article helpful?


text:
Question: How long does tennis court crack filler last?
Answer: Cracking of asphalt and concrete pavement surfaces is a common problem. Even if the asphalt or concrete is properly built, there are still variables beyond the control of the contractor and crack filler producer.
There are different reasons for pavement cracking, but a majority of the cracks on concrete and asphalt courts are structural. This means that the cracks go completely through the pavement layers, into the base of the tennis court.
Acrylic tennis court crack fillers are designed to fill and seal off the surface of the crack. This is designed to minimize water and moisture flowing into the crack and stone base of the court, and slow down degradation of the court through further cracking. The main problem is that once a structural crack opens, there are two separated slabs of pavement constantly moving back and forth. This expansion and contraction happens daily, depending on temperatures, moisture, and other environmental conditions. That being said, cracks that have been filled may open within days, weeks, months, or years of application. An Acrylic crack patch is an ideal solution for this common problem.
Even though we offer some elastomeric acrylic crack fillers, the degree of movement in the crack determines how long the product can perform before breaking open or pulling away from one side of the crack. Frequency of moisture, freeze-thaw, and various climate conditions are other factors that play a role in longevity of crack fillers and repair.
Crack filling is a maintenance role. The best way to maintain a tennis court crack is to fill it whenever you see it open. A good rule of thumb is to check the court(s) over in the spring and early fall (when temperatures are not getting below 50°F or 10°C) and perform necessary crack filling to extend the life of the facility. Many sport surfacing contractors also offer maintenance programs, where they make spring and fall visits annually, and advise court owners of needed crack repairs, resurfacing, or other issues.


Microsoft, privacy
Microsoft, privacy and biometrics
Microsoft moves to quell Windows 10 privacy fears (Daily Nation)
According to the company's privacy statement, some of the information collected include "your typed and handwritten words", emails, conversations users have with the digital assistant, Cortana, location data and selections, such as stocks a user follows in a finance app, or the team a user supports in a sports app. Articles detailing privacy concerns have appeared in The Guardian, Newsweek and the Financial Times.
In the statement supplied Monday, the company says Microsoft does not sell the information customers provide it, but makes it available to employees and third-party engineers to improve Microsoft services.
Users can choose the level of information they send to it and selectively remove the information that Cortana, the digital assistant, tracks, while no biometric data from Windows Hello is shared with third parties, the company said.
It looks like the attention Microsoft is getting for privacy concerns surrounding Windows 10 is mostly to do with default settings. It also appears that Microsoft treats biometric information differently by default, not sharing it even with trusted third-party developers.
Two of the issues, surrounding Wifi Sence and how Windows Update Delivery Optimization (WUDO), are covered very well by The Hacker News which provides simple instructions for how to address them by changing default settings.
Reading through both of the Hacker News pieces, a picture of Windows 10 emerges that shows Microsoft giving serious thought to how make connectivity simpler with Wifi Sense while making the Windows ecosystem more resilient to the security threats already out there and those that easier connectivity implies with WUDO.
Previous ArticleNext Article


Smoke grenade
From Wikipedia, the free encyclopedia
Jump to: navigation, search
Smoke grenades are canister-type grenades used as ground-to-ground or ground-to-air signaling devices, target or landing zone marking devices, or as screening devices for unit movements. Smoke grenades are normally considered non-lethal, although incorrect use may cause death. The body consists of a sheet steel cylinder with a four emission holes on top and one on the bottom to allow smoke release when the grenade is ignited. The filler consists of 250 to 350 grams of colored (red, green, orange, gray, yellow, blue, white, black, or violet) smoke composition (mostly potassium chlorate, lactose, and a dye). The reaction is exothermic and grenade casings will often remain scalding hot for some time even after the grenade is no longer emitting smoke. They are typically used for military purposes, but can be employed elsewhere safely, with non-lethal chemical compounds involved.
Another type of smoke grenade is the bursting variation. These are filled with white phosphorus (WP), which is spread by explosive action. White phosphorus catches fire in the presence of air, and burns with a brilliant yellow flame, while producing copious amounts of white smoke (phosphorus pentoxide). These double as incendiary grenades, and a variant of these are also launched from infantry-portable or armored fighting vehicle-mounted grenade launchers. Users must also be wary of wind direction when using smoke grenades.
Smoke grenades should not be confused with smoke bombs, which are typically started with an external fuse rather than a pin. Smoke grenades often cost around $40 USD compared to smoke bombs, which can often cost just a few cents. Smoke grenades generally emit a far larger amount of smoke than smoke bombs that are sold as fireworks.
Used to create smoke screens, the grenades can be used to provide opportunity for movement over ground covered by fire. Smoke grenades can also be used to signal aircraft. Thermal imaging is able to'see' through normal smoke screens (not modern "multi-spectral" smoke screens) and troops with thermal imaging sights can use smoke to conceal themselves against hostile forces while still being able to see them using thermal cameras.
Other uses[edit]
Smoke grenades are sometimes used in paintball or airsoft events, though these are not necessarily of military grade. Some devices utilized for the purpose of generating concealing smoke are high-volume smoke candles.
Smoke compositions can be also used as an aerosolization vehicle for other materials than dyes; popular applications are in dispersion of CN gas or more commonly CS gas, or in agriculture for dispersion of insecticides[citation needed].


text:
This article will show you how to download maps to use while offline and out of cell service, view and delete downloads, and check the progress of a map download.
2. Navigate to the area you would like to download by:
- Panning the map
- Search Points of interests or trails by tapping the Search icon
- Search using coordinates.
3. Tap the Create icon.
4. Tap Download Maps (Note: This menu option will not appear while offline)
5. Tap and drag the dots at the corners of the highlighted rectangle to cover the area to be downloaded
6. Use the Max Zoom slide bar to adjust the detail level for the map download.
- Higher zoom = more detail
- Increasing the zoom level also increase the file size
7. Tap "Save"
8. Add a name for your saved map or keep the auto-generated name
View and Delete Map Downloads
After the download is complete, you can view your map within the "Saved" menu.
1. Tap "Saved" in the bottom control bar
2. Tap on the Filter icon
3. Select Maps from the list of filters
4. Tap a map download to open the details screen
5. Tap the three dots
- Select 'Show on Main Map' to center your map download on the Main Map screen
- Select Delete to delete the download
The spinner will be displayed when a download is currently in progress.
- Tap on the spinner to view the download details screen.
- Gaia GPS must be running in order for downloads to complete. If you close Gaia GPS beforehand, you can Resume or Delete from the Saved Maps screen.
Downloading Multiple Maps
When you download new maps, already saved areas will display as colored boxes.
- The Red box with blue corner dots indicates the region you're currently downloading.


Can you run a car without a radiator fan?
Written by william zane
 - Share
 - Tweet
 - Share
 - Pin
 - Email
Can you run a car without a radiator fan?
(Thinkstock/Comstock/Getty Images)
The cooling system in your vehicle is of paramount importance to the health of the engine. All aspects of the cooling system, from the fan to the thermostat to the radiator hoses, must be in good operating condition to ensure that the engine does not overheat, which can lead to a costly repair bill. If the fan on your vehicle fails, you can drive it a short distance--and possibly farther--but you should avoid driving the vehicle if at all possible.
Other People Are Reading
Why You Can
The radiator fan on your car draws air in from the grille and over the radiator, where it cools the coolant in the radiator. In the absence of a fan, air still flows in, usually directed by the shroud. But the rate of air flow and the air temperature now depend on what speed the vehicle is travelling. In stop-and-go traffic, the vehicle will not be moving quickly and air flow will be severely restricted. However, on a clear freeway, enough air may flow to the radiator that the car will not run hot at all, even without a fan.
Why You Shouldn't
For almost every vehicle, the fan is an extremely important part of the cooling system, particularly when the vehicle is driven slowly or sitting in traffic with the engine idling. Many cars have fans that are attached to the crankshaft or water pump and are constantly turning and providing cool air. Other cars use electric fans controlled by thermostats that tell the fans when to come on. If the fan stops turning, then the car likely will overheat (especially at low speeds or idling), which can cause the head gasket to fail. This would mean an expensive repair bill.
When You Might Have To
Mechanical fans are driven by belts made of rubber that can dry out and crack over time. If they are not replaced periodically, they can break and stop turning the fans. An electric fan can fail from a blown fuse, wiring problem or if the motor in the fan fails. If this happens, the vehicle will need to be towed or possibly driven a short distance to a shop where it can be repaired.
How To Do It
If you absolutely must drive a car without a fan, go at a higher speed and at a constant rate of speed to keep the air flowing through the grille and onto the radiator. If possible drive on the freeway and keep the gearbox in the highest gear possible to keep the engine RPMs as low as possible, which will reduce heat produced by the engine. Closely monitor the temperature gauge to make sure the engine is not overheating. If it begins to overheat, turn off the engine immediately.
How To Make Sure You Don't Have To
To minimise the chance your vehicle fan will fail, periodically inspect and adjust the fan belt on a car with a belt-driven fan. If the belt is old and appears dry and cracked, replace it with a new fan belt. On a car with an electric fan, make sure the wiring is in good shape and keep extra fuses (and a relay if the fan uses one) in the car in case the fuse or relay fails while you are driving.
Don't Miss
Filter:
 - All types
 - Articles
 - Slideshows
 - Videos
Sort:
 - Most relevant
 - Most popular
 - Most recent
No articles available
No slideshows available
No videos available
By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.


text:
Tuesday 21 May
Banggai crow (Corvus unicolor)
What's the World's Favourite Species?Find out here.
Banggai crow fact file
- Find out more
- Print factsheet
Banggai crow description
This medium-sized crow is entirely black with a light iris and relatively short tail. The slender-billed crow (Corvus enca) is very similar to the Banggai crow, but can be distinguished by its larger overall size, bigger bill and proportionately longer tail (2).
- Length: 39 cm (2)
Banggai crow biology
No information exists on the social, reproductive or feeding behaviour of the Banggai crow (4).Top
Banggai crow range
Visits to the Banggai islands in 1981, 1991 and 1996 yielded no definite records of this species, but observations of black crows on Banggai Island in 1981, and a small crow seen at the western end of Peleng Island (within Banggai archipelago) in 1991 gave hope that the species still occurred (4). This hope was fulfilled when, in 2007, further surveys of Peleng Island successfully located two specimens of Banggai crow (5).Top
Banggai crow habitat
The Banggai crow occupies montane forest (5).Top
Banggai crow status
The Banggai crow is classified as Critically Endangered (CR) on the IUCN Red List (1).Top
Banggai crow threats
Based on the small number of records for this species, and the rapid rates of habitat loss within its range, the Banggai crow is likely to have only a very small population (2). Unfortunately, it remains hunted by local residents of Peleng Island (5).
In addition, extensive deforestation threatens to claim the last remaining areas of this species' habitat (2) (3) (4). The Banggai crow may also be affected by competition with the slender-billed crow (C. enca) (3).Top
Banggai crow conservation
Following its rediscovery, conservation efforts are being undertaken to protect the Banggai crow and its forest habitat, promoting sustainable agriculture, and possibly eco-tourism, as well as educating local people about the bird's plight (2) (5).
Along with these efforts, further surveys and the establishment of a protected area are necessary to ensure that the Banggai crow is not lost again (2).Top
Find out more
For further information on the Banggai crow see:
- BirdLife International (2001) Threatened birds of Asia: the BirdLife International Red Data Book. BirdLife International, Cambridge, UK.
This information is awaiting authentication by a species expert, and will be updated as soon as possible. If you are able to help please contact:
IUCN Red List (October, 2009)
BirdLife International (October, 2009)
Oriental Bird Club (October, 2009)
- BirdLife International. (2001) Threatened birds of Asia: the BirdLife International Red Data Book. BirdLife International, Cambridge, UK.
Wildlife Extra (October, 2009)
MyARKive offers the scrapbook feature to signed-up members, allowing you to organize your favourite ARKive images and videos and share them with friends.
Terms and Conditions of Use of Materials
Copyright in this website and materials contained on this website (Material) belongs to Wildscreen or its licensors.
Visitors to this website (End Users) are entitled to:
- view the contents of, and Material on, the website;
- download and retain copies of the Material on their personal systems in digital form in low resolution for their own personal use;
- teachers, lecturers and students may incorporate the Material in their educational material (including, but not limited to, their lesson plans, presentations, worksheets and projects) in hard copy and digital format for use within a registered educational establishment, provided that the integrity of the Material is maintained and that copyright ownership and authorship is appropriately acknowledged by the End User.
End Users shall not copy or otherwise extract, alter or manipulate Material other than as permitted in these Terms and Conditions of Use of Materials.
Additional use of flagged material
Green flagged material
Certain Material on this website (Licence 4 Material) displays a green flag next to the Material and is available for not-for-profit conservation or educational use. This material may be used by End Users, who are individuals or organisations that are in our opinion not-for-profit, for their not-for-profit conservation or not-for-profit educational purposes. Low resolution, watermarked images may be copied from this website by such End Users for such purposes. If you require high resolution or non-watermarked versions of the Material, please contact Wildscreen with details of your proposed use.
Creative commons material
Certain Material on this website has been licensed to Wildscreen under a Creative Commons Licence. These images are clearly marked with the Creative Commons buttons and may be used by End Users only in the way allowed by the specific Creative Commons Licence under which they have been submitted. Please see _URL_ for details.
Any other use
Please contact the copyright owners directly (copyright and contact details are shown for each media item) to negotiate terms and conditions for any use of Material other than those expressly permitted above. Please note that many of the contributors to ARKive are commercial operators and may request a fee for such use.
Save as permitted above, no person or organisation is permitted to incorporate any copyright material from this website into any other work or publication in any format (this includes but is not limited to: websites, Apps, CDs, DVDs, intranets, extranets, signage, digital communications or on printed materials for external or other distribution). Use of the Material for promotional, administrative or for-profit purposes is not permitted.


Take the 2-minute tour ×
I'm developing a simple particle system that should be able to perform on mobile devices (iOS, Andorid). My plan was to use GL_POINT_SPRITE/GL_PROGRAM_POINT_SIZE method because of it's efficiency (GL_POINTS are enough), but after some experimenting, I found myself in a trouble. Sprite size is limited (to usually 64 pixels). I'm calculating size using this formula
gl_PointSize = in_point_size * some_factor / distance_to_camera
to make particle sizes proportional to distance to camera. But at some point, when camera is close enough, problem with size limitation emerges and whole system starts looking unrealistic. Is there a way to avoid this problem?
If no, what's alternative? I was thinking of manually generating billboard quad for each particle. Now, I have some questions about that approach.
I guess minimum geometry data would be four vertices per particle and index array to make quads from these vertices (with GL_TRIANGLE_STRIP). Additionally, for each vertex I need a color and texture coordinate. I would put all that in an interleaved vertex array. But as you can see, there is much redundancy. All vertices of same particle share same color value, and four texture coordinates are same for all particles. Because of how glDrawArrays/Elements works, I see no way to optimise this. Do you know of a better approach on how to organise per-particle data?
Should I use buffers or vertex arrays, or there is no difference because each time I have to update all particles' data.
About particles simulation... Where to do it? On CPU or on a vertex processors? Something tells me that mobile's CPU would do it faster than it's vertex unit (at least today in 2012 :).
So, any advice on how to make a simple and efficient particle system without particle size limitation, for mobile device, would be appreciated.
(animation of camera passing through particles should be realistic)
share|improve this question
add comment
2 Answers
up vote 1 down vote accepted
Instancing isn't available in ES2 but ultimately it would provide the best approach.
In the absence of instancing there are a few other ways you can optimize the data. You know that the index array data is not going to change even if the vertex array data does, so the index array can become a static array. The same can apply to texture coords (assuming that you don't have an atlas of particle textures) so they can be also shifted into a static VBO, which would - of course - need to be non-interleaved. That effectively leaves position and colour as being the only dynamic per-vertex data that needs updating, with colour being the only attribute that is duplicated (and if you're using 4 unsigned bytes for colour then the duplication isn't so onerous).
None of this is perfect and you've correctly identified reasons to be unsure of it. However, before you go ripping things apart it would pay to benchmark and see if using duplicate data actually is a problem. This can fly in the face of instinct, but it's often the case that pulling tricks to reduce memory usage ends up having overall negative consequences for performance. Accepting extra memory usage and accepting some duplication of data - even if it does seem instinctively "wrong" - can frequently turn out to be the most optimal approach.
share|improve this answer
In this case using index buffers is just additional overhead. Each of the 4 vertices is only visited exactly once in drawing the quad. The post I linked does describe how to do hardware instancing on an ES 2 GPU – bobobobo Sep 30 '12 at 0:00
Thank you for suggestions. I've implemented particle system this way and it looks it could be good enough for now. Unfortunately I am unable to test it on device for a few days, but I'll be back with results when I get them. – Srđan Oct 2 '12 at 11:10
That hardware instancing implementation passes a modelview matrix per-vertex - an index buffer is utterly trivial overhead by comparison. Using an index buffer will also let you join multiple sprites together in a single draw call, which you can't do without one. Proper instancing - using glVertexAttribDivisor - is the kind of instancing I refer to, and that will give the best combination of low overhead and high performance. – Jimmy Shelter Oct 2 '12 at 15:10
add comment
Yeah, I would say go with a 4-vertex triangle stripped quad.
If you are drawing large numbers of these triangle strips using the same color, and the same set of texture coordinates, you could do 1 of 2 things:
1) Send the 4 vertices for each object and store the color and texcoords in uniforms
2) "Hardware instancing"
share|improve this answer
+1. OP should also be aware that point sprites have another problem -- each sprite clips out when its centre reaches the edge of the viewport, i.e. too soon. So useless for most applications. – Nick Wiggill Sep 29 '12 at 21:51
Thank you very much for this. That's what I actually needed in first place, but didn't know it is possible. For now I have system as described by mh01 bellow, but this is probably going to be an update. Thanks. – Srđan Oct 2 '12 at 11:14
add comment
Your Answer


The Formal reference article from the English Wikipedia on 24-Jul-2004
(provided by Fixed Reference: snapshots of Wikipedia from
You can make a difference by sponsoring a child
Formal - relating to form.
For example, formal logic reasons about a logical argument based only on the form and not on the meaning.
Socrates is a man
all men are mortal,
then Socrates is mortal
The conclusion follows from propositional logic. We can see the soundness of this argument by substituting in symbols to make the form clear.
S is a P
all P are M,
then S is M
Other Examples
Compare with


text:
Rapid development of science and technology, regardless of environmental aspects, have caused some obstacles in mankind daily life.
In order to achieve sustinable devlopment, envirnmental constraints must be considered. Otherwise economic development will degrade environment. Considering these facts, sound development of human activities need to take the resource limitations and environmental constraints into account planning
According to the above mentioned idea, one of the appropriate action for taking into account the environmental constraints is the determination of ecological susceptibility of ecosystems, aiming to direct intensity of development into less-developed ecosystems.
In relation to these ideas, a methodology for determination of ecological susceptibility. of ecosystems is introduced, using system analysis approach.
According to this methodology, first a system diagram is designed by the involved ecological factors including slope, asect, elevation, vegetation, isotemperature and isopercipitation. The system is analysed by interaction matrix method in order to objectively calculate significance of these factors. Second mapping of ecological factors is undertaken. Spatial data of these ecological factors are integrated by grid method.
Finally, according to Environmental Quality Index (EQI) formulate, an arbitrary index for determining ecological susceptibility of ecosystems is developed and mapped.


text:
You need to start by having a csv file with your calendar events. If you were migrated from Office-Logic Interchange and requested your Webscheduler to be moved, the Information Technology department would have sent you a csv file as an attachment. Save that file in a location known to you, then follow the steps below to import those calendar items into Google calendar.
To import events from iCalendar or CSV files, just follow these steps:
- Click the Add down-arrow button at the bottom of the calendar list on the left side of the page, and select Import Calendar.
- Click Browse and choose the file that contains your events, then click Open.
- Select the Google Calendar where you'd like to import events, then click Import.
Please note that recurring events may not be recognized when importing events from CSV files. In this case, individual items will be created for recurring events that fall between the dates you've selected.


text:
To achieve buff biceps, proper form for strength-training exercises is key, and people often turn to professional trainers to correct them and prevent injury. Cornell student engineers have developed an alternative: A simple electronic device that guides the user through a proper bicep curl.
Michael Lyons '11, M.Eng. '12; and Greg Meess '09, M.Eng. '10, invented their "haptic exercise coach" for an electrical engineering class project in spring 2010. Their teacher for ECE 4760, senior lecturer Bruce Land, recognized the project's uniqueness and encouraged the students to apply for a patent.
In September 2011, Lyons and Meess filed a provisional patent application for the device through Cornell Center for Technology Enterprise and Commercialization (CCTEC). The filing status is a yearlong placeholder to protect the intellectual property, giving CCTEC time to perform the necessary marketing and commercialization that will lead to a decision on whether to file a formal patent application.
The haptic exercise coach, which looks a bit like a blood pressure cuff, has two accelerometers that attach to the wrist and upper arm and track the wearer's movements. A microcontroller takes data from the accelerometers. When the wearer's form goes out of line with pre-calibrated specifications, the device vibrates in two places, alerting the wearer to adjust his or her form. By keeping proper form, the chance for injury diminishes, say the inventors.
Lyons said the project fuses two of his interests: electrical engineering and working out. He envisions such a device helping people cut down on the cost and time of a personal trainer.


text:
CLASS / COURSE: Finance
1. (15 Points) Over the past 4 years, large-company stocks and U.S. Treasury bills have produced the returns stated below. During this period, inflation averaged 3.4 percent. Given this information,
What are the average rates of return on large-company stocks and Treasury bills?
What are the standard deviation for large-company stocks and Treasury bills?
2. (20 Points) The risk-free rate is 3.5 percent and the expected return on the market is 11 percent. Stock A has a beta of 1.1 and an expected return of 12 percent. Stock B has a beta of.92 and an expected return of 10.25 percent. Are these stocks correctly priced? Why or why not?
3. (25 Points) A portfolio is invested 40 percent in stock A, 30 percent in stock B, and 30 percent in stock C. What is the expected return and standard deviation of this portfolio?
State of Probability of Rate of Return if State Occurs
Economy State of Economy Stock A Stock B Stock C
Boom.10.05.16.23
Normal.70.08.09.11
Recession.20.15 -.03 -.25
4. (10 points) You have a portfolio comprised of the following. If the portfolio beta is 1.15, what is the beta of stock C?
Stock Value Beta
A $3,000 1.4
B $4,000.8
C $2,000?
D $1,000.9
5. (15 points) KL Airlines paid an annual dividend of $1.42 a share last month. The company is planning on paying $1.50, $1.75, and $1.80 a share over the next 3 years, respectively. After that, the dividend will be constant at $2 per share per year. What is the market price of this stock if the market rate of return is 10.5 percent?
6. (15 points) Diets For You announced today that it will begin paying annual dividends next year. The first dividend will be $0.12 a share. The following dividends will be $0.15, $0.20, $0.50, and $0.60 a share annually for the following 4 years, respectively. After that, dividends are projected to increase by 4 percent per year. How much are you willing to pay to buy one share of this stock today if your desired rate of return is 8.5 percent?
Brain-Teaser Questions (extra Credit Questions)
1. You have 8 marbles, 7 of them weigh the same and one of them weighs different. You also have a balance scale. Within 2 weighings, how do you figure out which one is the weird one and whether it is heavier or lighter than one of the other 7? (5 points)
2. You have a string-like fuse that burns in exactly one minute. The fuse is inhomogeneous, and it may burn slowly at first, then quickly, then slowly, and so on. You have a match, and NO watch. How do you measure exactly 30 seconds? (5 points)
Completed Solution is attached. Click on Buy button and then download file to get full solution.
SUBJECTS / CATEGORIES:
2. Financial Management
3. Corporate Finance
4. Investment and Portfolio Management


Thoughts from the criminology team
Home » Consequentialism
Category Archives: Consequentialism
A utilitarian argument for human rights
I am minded to write something about both utilitarianism and human rights as a consequence of watching the news the other night. Two separate but linked news articles struck a chord. The first about police being heavy handed in applying the emergency laws surrounding the restricting of movement and the second about the emergency laws being passed to suspend jury trials in Scotland. Both have an impact in respect of human rights.
Turning to the first, the complaint is that the police across England and Wales have in some cases been disproportionate in their dealing with the public when attempting to manage the restrictions around movement. The example shown was the uploading of videos onto social media depicting people walking around the Peak District. The captions simply asked whether the trip was necessary.
The government guidance is pretty clear regarding staying at home but perhaps is a little less clear about travelling to a location to partake in exercise. I must admit though I am a little perplexed at the accusation of heavy handedness. The Human Rights Act 1998 provides for a right to life and it has been held that the government and its agencies have a positive obligation to facilitate this. There are of course some caveats as it would be almost impossible to ensure this in all circumstances. There is no doubt that people are dying from Covid-19. The approach to enforce social distancing, presently predominantly through information and the reliance on responsibility and good will, seems to be the only current viable approach to combating this killer. The curtailment of some Human Rights is it seems necessary to ensure the greater good and to preserve life. The latter of course is a primary duty that most police officers would recognise. The greater good for the many is it seems compatible with a key principle of human rights.
Turning to the second news article. The right to a fair trial is a fundamental human right. The suspension of a jury may be against longstanding legal principles but, the Human Rights Act does not specify that the trial should be before a jury, merely an independent judge. The argument could be made that trials should be suspended but this might be impinging on rights in respect of defendants being held in custody awaiting trial. The convening of a jury would flout the rationale behind current legislation in place to enforce social distancing and would quite simply be contrary to obligations to protect life.
The notions of utilitarianism are often viewed as in conflict with individual rights and therefore the Human Rights Act. Many see the two as incompatible, one relates to the many and the other the individual. This argument though fails to have vision, it is not truly consequentialist. Human Rights are utilitarian in their very nature. Is it not to the greater good that people have a right to life, a right to freedom of association, a right to a fair trail to name but a few? Should it not be considered that every individual case that is examined under the Human Rights Act has consequences for the many as well as the individual? A breach of the Act if unchallenged opens the way for abuses by governments and their agencies, it is utilitarian in nature, it is there for the greater good, not just the individual circumstances that are being examined. But should we also not consider that there is a need to prioritise rights, particularly in the circumstances the country and world finds itself in? Some parts of the Act are in clearly on occasions, incompatible with others. Curtailment of some freedoms and rights is necessary for the greater good but more importantly, it is necessary to save lives, perhaps even the life of the individual complaining of the curtailment. We can but hope that amidst all of this, good sense prevails.
%d bloggers like this:


Hello
I am trying to write data to a file.
When writing "STEPHEN", only STEP is written, can anyone help?
below is my code
fp = fopen(filename, "rb+" );
fseek(fp, final_seek_pos, SEEK_SET );
fwrite(update_record, sizeof(update_record),1 ,fp );
fclose(fp);
Recommended Answers
All 8 Replies
how is update_record defined? It would appear to be a structure, not a simple string as you illustrated. We need more information to help you.
char update_record[40];
What is final_seek_pos???
#include <stdio.h>
void main()
{
FILE *fp;
char update_record[40] = "STEPHEN";
fp = fopen("test.txt", "rb+" );
fseek(fp, 0, SEEK_SET );
fwrite(update_record, sizeof(update_record),1 ,fp );
fclose(fp);
}
This code is printing STEPHEN for me.
final_seek_pos is whatever position i am writing to in the file and is an int.
The flat file looks something like this
MR GRAHAM GRIFFITHS
I want to write at position set position to be 10 ( start of GRAHAM ), and overwrite with STEPHEN, but only overwriting first 4 characters
Can u send me ur whole prgrm????
/************************************************************************
* Function : write_records
* Description : write updated records to file
***********************************************************************/
void write_records(int row, int screen_pos, char *update_record, const int InLRecL, const int field, const int SchemaFlag, const char *filename, const char *schema, const unsigned int DisplayHexFlag, unsigned long long total_bytes )
{
FILE *fp;
long working_seek_pos;
long final_seek_pos;
int len=0;
row=row-3;
if ( RECORD_NUM >= 16 )
{
RECORD_NUM=RECORD_NUM-16;
working_seek_pos=RECORD_NUM+row;
working_seek_pos=working_seek_pos*InLRecL;
}
else
{
RECORD_NUM=RECORD_NUM-3;
working_seek_pos=InLRecL*row;
}
final_seek_pos=working_seek_pos+screen_pos-1;
len = strlen(update_record);
if ( len < InSchStruct[field].field_length )
{
do {
strcat(update_record, " " );
len++;
}while( len != InSchStruct[field].field_length );
}
/* Write records */
fp = fopen(filename, "rb+" );
fseek(fp, final_seek_pos, SEEK_SET );
fwrite(update_record, sizeof(update_record),1 ,fp );
fclose(fp);
}
I have one suggestion. Instead of giving sizeof(update_record),
in fwrite, directly give 40 and try. I think that is creating the problem.
The sizeof pointer will be 4 bytes so the first four bytes are getting printed. The best thing u can do is pass the sizeof string also as one arg and use it in fwrite.
It should work.
I have one suggestion. Instead of giving sizeof(update_record),
in fwrite, directly give 40 and try. I think that is creating the problem.
The sizeof pointer will be 4 bytes so the first four bytes are getting printed. The best thing u can do is pass the sizeof string also as one arg and use it in fwrite.
It should work.
Works!!!
Thank you very much
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.