Dataset Viewer
instruction
stringlengths 43
146
| response
stringlengths 750
13.7k
| rating
int64 1
5
|
---|---|---|
smile and say "thank you", but here are a few other options:
"I appreciate your input, but I'm already taking | When someone gives you unsolicited advice, it can be tricky to know how to respond, no matter how well-intentioned it is. You don't want to hurt their feelings, but you also may not want to leave room for further advice. Sometimes, all you can do is politely acknowledge the advice and move forward. In other cases, however, you may need to shut the advice-giver down for crossing a boundary, or even leave the conversation.
## Keep your cool
1. Try to remember that the person is probably just trying to be helpful. They may not realize when they overstep their bounds, and they might hope that you will genuinely benefit from their advice. Sometimes, unsolicited advice just means that the person cares about you and wants to make your life easier. It is easy to take unsolicited advice as criticism. While this can be true, take their perspective into account and try to see if they are offering genuine, yet misguided support.
2. Take a moment to put yourself in the other person's shoes. While it does not excuse their rude behavior, keep in mind that people often give unsolicited advice because they feel the need to be heard, or because it's what they're used to receiving from other people. Think about what may have led this person to share a piece of advice you did not need. Some examples of experiences that might lead someone to give unsolicited advice are feeling unheard while growing up, going through a difficult time and projecting their own problems onto you, or they feel undermined in other areas of their life and give advice to feel more competent. In other cases, the person may feel more powerful by giving advice that no one asked for, or they may be overconfident in their abilities. Gender is another factor, as men tend to give women more unsolicited advice, often as a result of undervaluing their skills.
3. Maintain a sense of humor. It’s often easiest to smile or laugh off unsolicited advice. By having a sense of humor about the situation, you can put yourself in the right frame of mind to shrug off the comment. For small, harmless suggestions, especially from strangers, put the situation in perspective and let your humor guide your response. Think about how the situation will make a funny story to tell your friends later, or how absurd it is for someone to think you might not know how to do a simple task. You can convey good-natured humor in your response out of politeness, even when you find the suggestion silly or ignorant. By saying something like, “Well, that’s a great idea! Why didn’t I think of that?” you may be enabling them to continue to offer unprompted advice, but it can help you avoid conflict.
4. Avoid the impulse to lash out. It is easy to feel defensive when you receive unsolicited advice, in part because it can feel like the other person doesn’t trust you to handle things themselves. Sarcasm and criticism can make the person who gave you advice feel victimized, however, as they most likely won’t see what they did wrong. Think about your relationship with the person. Especially if they are a friend or family member, you may not want to upset them. When interacting with a stranger, it can be easy to be dismissive or rude, but try responding in a firm, yet polite way if laughing off the advice doesn’t work.
## Move on with the conversation
1. Hear the advice-giver out. In many cases, the person just wants to feel heard or contribute to the conversation. Let them say their piece, even if it's unhelpful or completely wrong. They'll probably feel better once they finish talking and often just stop. Once they have finished, the conversation can move on.
2. Acknowledge the advice and move on. Sometimes the easiest thing to do is nod, smile, say okay, and go ahead with your plans anyway. Particularly if the person is in a position of power, you might feel obligated to thank them before moving forward or changing the subject. "Thank you. I'll consider that." "Let me write that down so I can think it over." "I already have a plan for handling this, but thank you for your perspective. I'll take it into consideration."
3. Turn it into a joke about yourself. A little humor can turn around an awkward situation. If you think of something silly to say, try saying it out loud. The two of you might be able to have a good laugh and move on. "If you think my desk is messy, you should see my bedroom. Some of my clothes have probably fossilized by now." "You know me. I love carbs far too much to change my diet." "I would, but my husband banned me from the kitchen after the second time I set myself on fire."
4. Address their motive, if they have one. Sometimes people who give advice have an ulterior motive (for better or for worse). If you can tell that an advice-giver is hoping you'll do something that makes them happy, try offering an alternative or addressing it directly. "Are you trying to make an excuse to spend more time with me? Because you don't need one! Are you free this weekend?" "I know that it's been a big change since I moved away from home. I enjoy living in the city, so I plan to stay there. Why don't we set some dates for you to come visit?"
5. Ask a question to switch to a new topic. Changing the subject by asking a question can be a good way to distract a person who was piling on advice. Try asking about them, or about something you know they're interested in. This way, they're likely to stay engaged in the new topic. "I'll keep that in mind. But enough about me. How was your day?" "My partner and I are going to make all our birthing decisions together. Do you know of any good parent and me classes?" "Thanks for the advice! You mentioned having two dogs. What are their names?"
6. Turn down the advice politely if the person doesn't get the hint.. Try to keep it positive by saying that it isn't right for you personally, while acknowledging that it could be right for them or someone else. This will help the other person realize that they gave advice you didn’t ask for. "Thank you for trying to help, but I may have given the wrong impression. I'm not looking for advice right now." "I've tried that, but I found that it doesn't help me personally." "I'll make treatment decisions with my doctor." "That's not in line with my personal values."
## Confront the advice-giver
1. Express your discomfort if the advice-giver crosses a line. Sometimes, people say things that are downright rude, mean, or overly familiar. In that case, you may want to tell them that they've offended you or hurt your feelings. Try to make "I" statements (e.g. "I'm upset") instead of a "you" statement (e.g. "you're rude") so that you don't put them on the defensive. One way to shut down a piece of unwanted advice would be to say, "I feel upset about this line of conversation. Let's please change the subject."
2. Set a boundary with a regular advice-giver. If someone is repeatedly trying to give advice when it's not what you want, you may want to express your frustration in a constructive way. You can set a boundary in the conversation, or in general, if the person has a track record of offering unsolicited advice. For a specific instance of needing to set a boundary you could say, "I know you're trying to help, but I really just need a listening ear right now," or simply "I'm not looking for advice at the moment." If someone has been giving you unsolicited advice for weeks, months, or years, try saying something like, “I often feel like you try to help in ways that show you don’t trust me to help myself,” or “I will ask for advice if I need to, but I need you to let me talk about this without trying to help.”
3. Exit the conversation if needed. Sometimes people pile on unsolicited advice despite your attempts to redirect the conversation or set a boundary. In these situations, it may be easier to leave the conversation for a minute or end the conversation altogether. "Please excuse me. I remembered… "
* "I need to get going now so I'm not late." "I need to get to an appointment. It was nice talking to you!"
| 2 |
alsy);
$('.inputDisabled').prop("disabled", true);
$(this).prop(" | Always use the ```prop()``` method to enable or disable elements when using jQuery (see below for why).
In your case, it would be:
```$("#edit").click(function(event){
event.preventDefault();
$('.inputDisabled').prop("disabled", false); // Element(s) are now enabled.
});
```
jsFiddle example here.
Why use ```prop()``` when you could use ```attr()```/```removeAttr()``` to do this?
Basically, ```prop()``` should be used when getting or setting properties (such as ```autoplay```, ```checked```, ```disabled``` and ```required``` amongst others).
While what you want to do can technically be done using ```attr()```/```removeAttr()```, it doesn't mean it should be done - and can cause strange/problematic behaviour, as in this case.
"The difference between attributes and properties can be important in
specific situations. Before jQuery 1.6, the ```.attr()``` method sometimes
took property values into account when retrieving some attributes,
which could cause inconsistent behavior. As of jQuery 1.6, the ```.prop()```
method provides a way to explicitly retrieve property values, while
```.attr()``` retrieves attributes."
"Properties generally affect the dynamic state of a DOM element without
changing the serialized HTML attribute. Examples include the ```value```
property of input elements, the ```disabled``` property of inputs and
buttons, or the ```checked``` property of a checkbox. The ```.prop()``` method
should be used to set ```disabled``` and ```checked``` instead of the ```.attr()```
method. The ```.val()``` method should be used for getting and setting
```value```." - jQuery documentation for prop()
Pre-jQuery 3.0 (before 2016)
The reason why you should use ```prop``` over ```removeAttr()``` is that ```removeAttr()``` completely removes the ```disabled``` attribute itself - as this method would simply set the corresponding property name to ```false```:
Prior to jQuery 3.0, using .removeAttr() on a boolean attribute such
as checked, selected, or readonly would also set the corresponding
named property to false. This behavior was required for ancient
versions of Internet Explorer but is not correct for modern browsers
because the attribute represents the initial value and the property
represents the current (dynamic) value. - jQuery 3.0 Breaking Changes
While ```prop()``` merely sets the property's underlying boolean value to false. | 1 |
ld |
| localhost | root |
| localhost | mysql_innodb |
| localhost | mysql_percona | | By default after deployment MySQL has following connection restrictions:
```mysql> select host, user from mysql.user;
+-----------+---------------+
| host | user |
+-----------+---------------+
| localhost | healthchecker |
| localhost | mysql.session |
| localhost | mysql.sys |
| localhost | root |
+-----------+---------------+
4 rows in set (0.00 sec)
```
Apparently, for the security purposes you will not be able to connect to it outside of the docker image.
If you need to change that to allow root to connect from any host (say, for development purposes), do:
* Start your mysql image with all port mappings required:
```docker run -p 3306:3306 --name=mysql57 -d mysql/mysql-server:5.7```
or, if the complete port mapping is required:
```docker run -p 3306:3306 -p 33060:33060 --name=mysql57 -d mysql/mysql-server:5.7
```
* If this is the fresh installation - grab the default password:
```docker logs mysql57 2>&1 | grep GENERATED```
* Connect using ```mysql``` client directly to the mysqld in docker:
```docker exec -it mysql57 mysql -uroot -p```
* If this is the fresh installation you will be asked to change the password using ```ALTER USER``` command. Do it.
* Run SQL:
```update mysql.user set host = '%' where user='root';```
* Quit the ```mysql``` client.
* Restart the container:
```docker restart mysql57```
Now you will be able to connect from MySQL Workbench to
```host: `0.0.0.0`
port: `3306`
```
After all the changes the query will show:
```select host, user from mysql.user;
+-----------+---------------+
| host | user |
+-----------+---------------+
| % | root |
| localhost | healthchecker |
| localhost | mysql.session |
| localhost | mysql.sys |
+-----------+---------------+
``` | 1 |
ep cleaning can help to keep slate looking beautiful.
Q: How do I clean slate flooring?
A: Slate | Slate is a stone that brings natural beauty into the home, and can be expensive to install. Regular maintenance cleaning can help preserve slate. But sometimes, it needs a deep clean or stain removal. A combination of regular cleaning and an occasional deep clean can help keep your slate in good condition.
## Maintain a regular clean routine
1. Sweep or remove dust and debris regularly. If you have slate floors, it is important to sweep daily or several times a week. Dust can damage slate over time by wearing away the surface. Keeping a regular cleaning schedule can prevent this damage. Use a dry broom or cloth for this step.
2. Mix a solution of mild soap and water. For this, you will need a large bucket full of warm water. Mix in a little bit of soap. Dish soap works well for this.
3. Mop or wipe the surface. Gently wipe the surface of the slate using small circular motions. This motion will loosen and lift dried-on dust and dirt. Use a soft mop, made from materials such as a microfiber. Stiff bristles can damage the stone. For vertical surfaces, clean from the bottom up. Slate should be cleaned with soap every 2-3 months.
4. Rinse the slate with water. Rinse out your bucket and mop first, and then use them to rinse the slate with water. Soap buildup can attract more dirt, meaning you will have to clean your slate again.
5. Dry the slate with a fresh, dry, soft cloth. This will remove any streaks from forming on the slate that may occur from air drying and prevent slipping on floor surfaces.
## Clean deeply
1. Sweep and mop the slate. Start with removing dry dust and debris by sweeping. Then mop or wipe the slate surface with a soft cloth or microfiber mop in soapy water. Allow the surface to dry.
2. Apply teak oil to the slate. After the surface is completely dry, apply teak oil to a clean, dry cloth. Using small, circular motions, apply cloth to the slate to cover it in a thin layer of teak oil. Designated slate oil is also available to buy at some hardware stores. However, it tends to be more expensive. Teak oil will achieve the same results.
3. Clean grout between slate tiles. Mix a solution in a spray bottle that is 50% hydrogen peroxide and 50% water. You can find hydrogen peroxide at hardware stores or pharmacies. Spray the solution onto the grout. Avoid direct contact with the eyes when using hydrogen peroxide. Repeat this step as needed if the grout doesn't look clean after the first round.
4. Reapply sealant as needed. Sealant protects slate from some everyday wear and tear, and is used on interior surfaces. Each sealant is different, so be sure to follow the specific instructions that come with it. In general, apply at least two layers and allow the sealant to dry completely between coats. Each sealant will come with instructions about how often to reapply it.
## Remove a stain
1. Mix a solution in a spray bottle that is 50% hydrogen peroxide and 50% water. Allow the mixture to sit for around 10 minutes.
2. Spray the solution onto the stain and scrub. Using a soft-bristled brush or microfiber cloth, scrub the stain with small, circular motions. If the stain does not come out, a stronger solution may be needed.
3. Mix a solution of hydrogen peroxide and baking soda. Add a few spoonfuls of baking soda to the peroxide until the mixture becomes bubbly. Wait until the bubbles stop.
4. Apply the solution to the stain. Once the peroxide and baking soda mix has set, you can wipe it away with a clean cloth.
| 2 |
/templates/used```
In this case, the ```&&``` operator will only execute the ```cp /templates/used /templates/used``` | You are using ```|``` (pipe) to direct the output of a command into another command. What you are looking for is ```&&``` operator to execute the next command only if the previous one succeeded:
```cp /templates/apple /templates/used && cp /templates/apple /templates/inuse && rm /templates/apple
```
Or
```cp /templates/apple /templates/used && mv /templates/apple /templates/inuse
```
To summarize (non-exhaustively) bash's command operators/separators:
* ```|``` pipes (pipelines) the standard output (```stdout```) of one command into the standard input of another one. Note that ```stderr``` still goes into its default destination, whatever that happen to be.
* ```|&```pipes both ```stdout``` and ```stderr``` of one command into the standard input of another one. Very useful, available in bash version 4 and above.
* ```&&``` executes the right-hand command of ```&&``` only if the previous one succeeded.
* ```||``` executes the right-hand command of ```||``` only it the previous one failed.
* ```;``` executes the right-hand command of ```;``` always regardless whether the previous command succeeded or failed. Unless ```set -e``` was previously invoked, which causes ```bash``` to fail on an error.
| 5 |
. A system app could potentially read all of the user's text messages.
I don't know of any concrete examples of this being | It's a security concern. The Android documentation doesn't provide a lot of elaboration, stating simply:
The procedure must be confirmed on-screen, and deletes the user data for privacy reasons.
However, the privacy concern is relatively straightforward to extrapolate. Once the bootloader is unlocked, the device can be flashed with unsigned images. This means that it is relatively trivial to root the device, and there are actually multiple ways it can be done, such as:
* Flashing a system image with root tools built in
* Flashing a boot image that runs ```adbd``` with root by default (an "unsecure" image)
* Flashing a recovery image, then using that to overwrite the system or boot partitions with ones that allow root access
Once root is obtained, all of the information on ```/data``` essentially becomes accessible. This could be emails, contact information, or many other pieces of personal information that you likely don't want in the wrong hands.
Therefore, it makes sense to wipe all of this data during the unlocking procedure to ensure that there is no off-the-shelf "official" way of bypassing the sandboxing restrictions implemented by the Android operating system, which would thereby allow someone to steal personal data.
Of course, there may be ways to root without wiping on some devices, but they rely on exploits rather than official methods like a bootloader unlock, meaning they are basically bugs. | 1 |
tell me about yes, it is definitely doable? | Yes, it is definitely doable. -20°C is only -4°F. The real question is whether it is doable by you at the level of discomfort and hassle you are willing to put up with. Only you can answer that. At best we can point out what the hassles and discomforts will be.
First, your fear of dying of cold in your sleep is silly. You'd have to do something pretty stupid to die of hypothermia, and even that's not going to happen when you're inside the sleeping bag. The main danger will be from frostbite, but that again would largely need stupidity to help it along, although that's easier to do than outright death from hypothermia.
Your tent will be a long term fixed installation you set up once at a time and conditions of your choosing. You can therefore afford a larger and heavier tent with more stuff you bring in once. Definitely get a tent you can stand upright in. That will make changing clothes much quicker and more comfortable. Since you should be able to keep water out of the tent, get a nice down sleeping bag and a few light blankets. The down bag should be rated for most nights, then put the blankets on top for the few unusually cold nights. Since again weight is not really a issue, get a full sleeping bag, not a mummy bag. They are simply more comfortable. Get a good insulating pad, and another two as backup. Get a tent large enough to fit your sleeping bag and something to sit on next to it, like a folding chair. Put something under the legs to spread out the weight to that they don't hurt the tent floor. Get one of those rubber-backed mats people sometimes put just inside their doors and put it just inside your tent. That allows a place to step with boots still on, then you can sit down on the chair with boots still on the mat to take them off. The crud stays on the mat, which you can shake clean by reaching outside after having put on your down hut booties.
Some things are going to be a hassle. At -4°F you want to keep your gloves on whenever possible, but some tasks will be difficult that way. You end up taking your gloves on and off a lot, trading off efficiency with cold fingers. Get a pair of polypro glove liners. They are thin and still allow many tasks to be done, but provide at least a little insulation. Their main advantage is that any metal you touch won't immediately conduct the heet from your hand away. Touching bare metal at -4°F is a good way to get frostbite.
Be prepared for some discomfort no matter what equipment you have. The toughest part will be getting yourself out of the sleeping bag in the morning. You'll really have to will yourself to leave the warm comfort of the bag and get into the air at probably the coldest part of the day. At some point you'll have to change your clothes and get undressed in the process. That's going to be cold. It won't be cold long enough to be any real danger, so it's really a mindset issue to get over. Whether you can or not and are willing to push yourself in that way only you can say.
You say you have access to heated buildings during the day, so it would make things a lot simpler for you if you don't have to deal with cooking and eating at your camp. Perparing food outside in the cold takes a lot longer than in a heated kitchen, severly limits what you can do, and may also risk predator encounters depending on what is around your area in the winter. | 4 |
why is possible actions:
1
```func scrolltofirstrow() {
let indexpath = nsindexpath(forrow: 0, insection: 0)
self? | Possible Actions:
1
```func scrollToFirstRow() {
let indexPath = NSIndexPath(forRow: 0, inSection: 0)
self.tableView.scrollToRowAtIndexPath(indexPath, atScrollPosition: .Top, animated: true)
}
```
2
```func scrollToLastRow() {
let indexPath = NSIndexPath(forRow: objects.count - 1, inSection: 0)
self.tableView.scrollToRowAtIndexPath(indexPath, atScrollPosition: .Bottom, animated: true)
}
```
3
```func scrollToSelectedRow() {
let selectedRows = self.tableView.indexPathsForSelectedRows
if let selectedRow = selectedRows?[0] as? NSIndexPath {
self.tableView.scrollToRowAtIndexPath(selectedRow, atScrollPosition: .Middle, animated: true)
}
}
```
4
```func scrollToHeader() {
self.tableView.scrollRectToVisible(CGRect(x: 0, y: 0, width: 1, height: 1), animated: true)
}
```
5
```func scrollToTop(){
self.tableView.setContentOffset(CGPointMake(0, UIApplication.sharedApplication().statusBarFrame.height ), animated: true)
}
```
Disable Scroll To Top:
```func disableScrollsToTopPropertyOnAllSubviewsOf(view: UIView) {
for subview in view.subviews {
if let scrollView = subview as? UIScrollView {
(scrollView as UIScrollView).scrollsToTop = false
}
self.disableScrollsToTopPropertyOnAllSubviewsOf(subview as UIView)
}
}
```
Modify and use it as per requirement.
Swift 4
``` func scrollToFirstRow() {
let indexPath = IndexPath(row: 0, section: 0)
self.tableView.scrollToRow(at: indexPath, at: .top, animated: true)
}
``` | 4 |
how does queens are typically addressed as "your majesty," but in modern times there is rarely any enforcement or punishment for getting it wrong? | Queens are typically addressed as "Your Majesty," but in modern times there is rarely any enforcement or punishment for getting it wrong. Queen Elizabeth II, the most famous living monarch, has been winked at by a U.S. president, among many other gaffes she's witnessed over the years. The royal family lives on, and the correct etiquette to use remains, at least in the British case, a suggested tradition rather than a requirement.
## Address queen elizabeth ii in a letter
1. Decide whether to use traditional forms. According to the Royal Family's official policy, you should be free to write in whatever style you like. Politeness and respect will make any letter more kindly received, but that does not necessarily equate to using formal terms. Stay sincere, and do not use the formal terms below if they make you uncomfortable.
2. Begin the letter with "Madam." At the top of your letter, write "Madam," skip a line, and start writing your letter on the line below it. This is the formal and traditional term of address when writing a letter to the Queen of the United Kingdom.
3. Conclude the letter with a respectful term. The traditional written conclusion is I have the honour to be, Madam, Your Majesty's most humble and obedient servant, followed by your name. If you find this conclusion distasteful due to the declaration of servitude, or the insertion of the letter u in honour, consider one of the following respectful conclusions instead:
* With greatest respect,
* Yours faithfully,
* Yours sincerely,
4. Mail the letter. On the envelope, write the following postal address, using the last line only if you are mailing the letter from outside the UK:
* The Queen
* Buckingham Palace
* London SW1A 1AA
* United Kingdom
## Address queen elizabeth ii in person
1. Make a small curtsy, bow, or nod. Traditionally, women do a discreet curtsy and men bow from the neck when they meet the Queen of the United Kingdom. This is no longer required, but citizens of the Commonwealth usually choose to use this greeting. People who are not subjects of the Queen often prefer to use a slight nod instead. Do not bow from the waist.
2. Politely shake the Queen's hand if offered. The Queen may or may not offer her hand, although there is no special significance to one decision or the other. If she does offer her hand, take it in a brief, gentle handshake. Do not offer your hand first.
3. Wait for Her Majesty to address you. A good general rule, in fact, is not to initiate an action or conversation until the Queen has addressed you directly. Needless to say, wait until the Queen finishes speaking before you reply.
4. Address her as "Your Majesty" the first time in the conversation. If you are stuck for words, say "Hello, Your Majesty. I am delighted to meet you." Any polite greeting is acceptable, however.
5. Address her as "Ma'am" for the rest of the conversation. For the rest of the conversation, say, "Ma'am," pronounced to rhyme with "jam." You may use the term "Your Majesty" again if you are asking her a question or introducing someone, but "Ma'am" will do most of the time.
6. Don't ask personal questions. Most likely, the Queen will be guiding the conversation. But if you contribute your own small talk, avoid asking her about her family or personal life.
7. Don't turn your back on the Queen until the conversation is over. Remain facing her or standing to the side throughout the conversation. Turn away or leave only when the conversation is over. And of course, don't forget to give her a proper good-bye and thank Her Majesty for the unexpected opportunity.
## Address queen of other nations
1. Try to find the specific form of address. Monarchies often have specific terms of address borne of their countries' traditions. Search online or in etiquette books for the terms of address for the specific monarchy.
2. When in doubt, use "Your Majesty." The term "Your Majesty" is common and unlikely to cause offense. This term is the proper way to address most queens, from Queen Pengiran Anak Saleha of Brunei, to Queen Mathilde of Belgium. Use "Her Majesty" instead of "her" when writing or speaking about these queens in the third person.
3. Address Empresses as "Her Imperial Majesty." If a monarch's title includes "Empress," or if the nation she heads traditionally considers itself an empire, she should be addressed as "Her Imperial Majesty."
| 2 |
what is in few words, rooting an android system means overcome the limitations that were imposed over it by the manufacturer? | In few words, rooting an Android system means overcome the limitations that were imposed over it by the manufacturer. People may want that for different reasons, but the main one is freedom. Having a rooted phone means you've got all the control over your device.
The main reason people root phones is to install a custom ROM. Custom ROMs are often known for improvements in performance and exclusive features that are not present on manufacturer ROMs, like installing apps on sdcard or taking screenshots. Custom ROMS can also become a system update alternative for those devices that were abandoned by their manufacturers. You can see a review of popular ROMS, as an example, here.
Rooting Android also allows you to uninstall stock apps that you don't use or don't want, besides those that violates user's privacy (see CarrierIQ). Another main reason for doing that is to gain more space on internal storage. A rooted device lets you install almost any app that requires root access. Those apps generally aim to do something that would not be possible without that privilege. A lot of useful apps were shown on the previous answer, but you may find a lot more available on Google Play. You can find a list of good apps here. | 3 |
how does homelessness can feel like a daunting problem, especially as the population grows and living costs continue to rise? | Homelessness can feel like a daunting problem, especially as the population grows and living costs continue to rise. Helping to end homelessness will ensure no one has to go without a permanent, stable place to live. Give back to homeless organizations and participate in events that focus on ending homelessness. Advocating for changes to policies and laws around homelessness and treating homeless people with respect can also help to address this important issue.
## Support homeless organizations and group
1. Volunteer your time to a local homeless shelter. Start small by volunteering weekly or monthly at a homeless shelter in your area. Sign up to volunteer to serve food to the homeless or to create care packages for the homeless. You may challenge yourself to volunteer for 2-4 hours a week or twice a month. Or you may devote time during the holidays to work at a homeless shelter. Enlist friends or family to volunteer with you at a homeless shelter.
2. Donate your skills to a non-profit organization that focuses on homelessness. Search for non-profit groups and organizations that work on initiatives for ending homelessness in your area. Contact them and offer to help them in any way you can. Put skills you already have to good use by donating them to the organization. For example, if you have coding skills, you may offer to update the organization’s website. Or if you love talking to people, you may offer to work in a call center or go door to door to promote the non-profit organization.
3. Give monetary donations to homeless groups and organizations. Donating money to homeless organizations can go a long way to helping with this issue. You may give a large sum once a year to a specific program for the homeless or to the organization as whole. Regular giving, where you give a small amount once weekly or once a month, can also help. Donate to a homeless organization as a gift for a friend or in memory of someone close to you. Make a holiday donation to the organization as a way to give back. Raise money for these organizations by setting up a fundraiser online for them or by asking others for donations.
4. Go to fundraisers for homeless organizations. Show your support for ending homelessness by attending fundraisers and events that address the issue. Check your local community board for events to raise funds for a local homeless shelter or drop in center. Find out if there are fundraisers in your area that you can donate time or money to. Donate an item for a silent auction at an event for the homeless. Bid on items to help raise money for the issue. Invite friends and family to fundraisers to benefit the homeless so they can participate as well.
5. Participate in food and clothing drives for the homeless. Donate clothing or food for the drive. Volunteer to collect food and clothing for the drive. Promote the food and clothing drive on social media to get others to donate. Warm coats, socks, scarves, and hats are all good options for a clothing drive. Non-perishable food like canned goods, crackers, and granola bars are ideal donations for a food drive. Most communities will run annual food and clothing drives, especially around Christmas time when the weather is cold and homeless people need more support. Check your community board or at your community center for information on upcoming food or clothing drives. Your school or your church may also run a food and clothing drive for the homeless.
## Advocate for homeless policies and laws
1. Write or call your government representative about ending homelessness. Many long term solutions for homelessness require changes to existing policies and laws. Contact your representative in government and ask them what they are doing to help end homelessness. Remind them that homelessness is an important issue that their constituents care about and want to address. Search online for contact information for your government representative. Calling them directly will be more effective than writing a letter. Messaging them publicly on social media can also be effective. For example, you may write to your mayor or you may contact your senator. You can also reach out to city council members to find out how they plan to address the issue. In your letter or call, advocate for more investment in affordable housing and social services to help prevent homelessness. Discuss the need for services that help homeless people find permanent homes and stay off the street. Note the need for counseling and rehabilitation centers for homeless people with addiction issues so they can get better and find employment.
2. Support political candidates that care about ending homelessness. Put your right to vote to work by only supporting candidates who discuss ending homelessness in their platforms and during their campaigns. Promote them on social media and volunteer for their campaign. Cast your vote for them on election day. Tell friends and family about political candidates who discuss ending homelessness so they can stay informed and vote.
3. Organize a march or protest that focuses on support for the homeless. Let others know about this important issue by organizing a march or a peaceful protest that focuses on ending homelessness. Invite friends, family members, and colleagues to the march. Promote the march or protest on social media so others can participate. Make signs that note the importance of ending homelessness and bring them to the march. Use a megaphone at the protest to give speeches about the issue. Have the march or protest in a public space, such as in front of a government building or in a public square.
4. Work towards a career as a politician, lobbyist, or non-profit worker. Do well in your social studies and history classes in high school. Join a school debate team or public speaking club to get better at these skills. Take classes in political science, history, and conflict resolution in university. Get involved in local politics and non-profit organizations. Apply to positions as a lobbyist or a non-profit worker so you can work to actively end homelessness on a day to day basis. Run for local office with a platform that focuses on ending homelessness in your community.
## Treat homeless people with respect
1. Acknowledge the homeless person with a smile or nod. Rather than rushing by them without looking at them, make eye contact and smile or nod at them. Let them know that you see them and acknowledge them as a person. This is a small way for you to show empathy for them. Avoid yelling, shouting, or mocking the homeless person, as this will only make them feel more alienated and alone. Treat them like a friend or family member, showing care and respect for them.
2. Try starting a conversation with the homeless person. Ask them how they are doing. Find out where they are from. Keep the conversation open and friendly. Maintain eye contact when you talk to them so they know you care. For example, you may say, “How are you today?” or “Where are you from originally?”
* If the homeless person does not seem interested in answering your questions, don’t pressure them into answering. Let them decide if they want to engage with you on a deeper level.
3. Offer to buy the homeless person a meal. If you have the time and funds, offer to grab the person a cup of coffee or a sandwich from somewhere nearby. Getting the person a warm meal may make their day and help them feel less down about their situation. The meal does not have to be elaborate or expensive. A cup of coffee or a small snack would likely be appreciated by the person.
4. Give the homeless person a care package. Prepare a care package that contains important items like socks, warm gloves, toothpaste, lip balm, and non-perishable food like crackers or nuts. Give out the care packages to homeless people in your area so they have supplies that they need. Make it a habit to hand out care packages to homeless people once a month or regularly during the winter months.
5. Decide to give the person money if you feel comfortable. Giving money to a homeless person is a personal preference and completely up to you. Handing change or a few bucks to a homeless person can be a demonstration of empathy and help them in a very direct way. You may decide to give the person a meal, rather than money. Or you may sometimes give the person money and offer them food other times.
| 5 |
what is ## help your female cat give birth and care for newborns (0 to 4 weeks)
1? | ## Help your female cat give birth and care for newborns (0 to 4 weeks)
1. Provide a quiet place for the birth. Your female cat will chose a place where she feels safe to give birth. By all means, provide a large cardboard box, turn it on its side and line it with warm, dry bedding–but don't be disappointed if she has other ideas. Instinct tells her to find a quiet concealed spot, such as under a bed, behind a sofa, or inside a kitchen cabinet. To learn more about helping your cat give birth, see this article.
2. Do not disturb during the birth and first two days. The first 48 hours is a crucial time for the mother to bond with her kittens, so try not to disturb her. If she gives birth under your bed, leave her there. Moving the newborn kittens will distress the mother and in the worst scenario could cause her to reject them. Once she is firmly bonded, at around four or five days, if you feel it's necessary to move the kittens, do it then.
3. Leave food, water, and cat litter in the room. The mother won't want to leave her kittens for long in the first two weeks of their life. Always put food and water within stretching distance of her nest, and if possible, offer a litter tray in the same room so that she can stay within sight and sound of the kittens. If food is in another room, some mothers chose to starve rather than leave their newborn kittens to find it.
4. Feed the mother extra calories. She needs the extra calories to make milk for her kittens. Feed her kitten food, which has more calories than adult cat food.
5. Let Mom do most of the clean-ups. Instinct helps the mother to keep the nest clean. The newborn kittens do not urinate or defecate on their own, so the mother has to lick their bottoms before and after feeding to stimulate elimination. This way she keeps the nest clean. Try to disturb the nest as little as possible. If the bedding becomes soiled, wait until Mom hops out for a toilet break herself to take out the dirty bedding and pop in clean.
6. Check that the kittens are all nursing. If the mother cat is present, the kittens should nurse from her immediately after the last kitten is born. Newborn kittens will spend most of their time sleeping, waking up to nurse every two to three hours. If they do not appear to be nursing, or one kitten is being pushed away from the mother cat by its siblings, supplement with bottle feeding as described in Part 2.
7. Consider spaying the mother cat. Having your mother cat spayed (removing her womb) after the kittens are done nursing (they should be weaned by about 8 weeks) is highly recommended by veterinarians and humane organizations. This helps prevent the suffering of unwanted kittens, and can also have some health benefits for the spayed cat. Be aware that a cat can potentially fall pregnant again as little as three to four days after giving birth, so keep her indoors to avoid this risk.
8. Start to think about deworming the kittens. This can happen as early as two weeks if necessary. Consult a veterinarian for proper medication and dosing.
## Care for orphan kitten (0 to 4 weeks)
1. Feed the kittens a milk replacement. Powdered cat milk replacer (such as Cimicat) can be purchased from the vet clinic, major pet stores, or on the Internet. Another good milk replacer is KMR. This is the cat equivalent of infant formula, with the same composition as queen's (mother's) milk. The milk replacer has guidelines as to how much to feed in each meal. Do not feed cow's milk to the kitten as the lactose is likely to upset the kitten's stomach. If you have no milk replacement and a hungry kitten, offer some cooled boiled water in a dropper or syringe until you can get to the vet clinic or pet store. The water keeps the kitten hydrated and won't upset her tummy.
2. Use a kitten feeding bottle with a specially designed kitten teat. You can purchase this at a vet clinic, a major pet store, or on the Internet. In an emergency use an eyedropper or a small syringe to drip the milk replacement into the kitten's mouth.
3. Burp the kittens after each meal. You do this much as you would a baby: hold the kitten up straight against your shoulder, or place one hand under its belly. Gently pat and rub its back.
4. Stimulate the kittens to eliminate. Before and after each feed, wipe the kitten's bottom with a paper towel or gauze pad soaked in warm water. This stimulates the kitten to go to the toilet, which otherwise she would not do. Hold the kitten over a litter box and use the towel to rub the kitten's genitals and anal region after every meal. Continue to do this until the urination and defecation is over (when nothing else is coming out). Rub in just one direction–rubbing back and forth is irritating. Cotton balls or pads are not recommended because they shed.
5. Look for signs of healthy elimination. Urine should be pale yellow and odorless, and stools should be yellowish-brown, formed in tiny logs. Dark, pungent urine is a sign of dehydration; green stool may be a sign of over-feeding, while white stool could indicate malabsorption, a serious problem. Call your vet if you have any concerns. If the kitten does not urinate for 12 hours, take her to the vet's immediately. Most kittens poop once a day, but individual schedules vary. Take her to the vet's if she hasn't pooped in more than two days.
6. Follow the kittens' meal times. In the first two weeks of life the kitten feeds every two to three hours around the clock. The kitten will tell you she is hungry by crying and wriggling around as if hunting for a nipple. A full kitten often falls asleep while suckling and has a rounded belly. After two weeks, the feeds can be stretched out to to every three to four hours, with a gap of six hours overnight.
7. Keep the kittens warm with a covered heating pad. Neonatal kittens (under two weeks of age) cannot regulate their body temperature and usually keep warm by snuggling up to their mother. You can simulate this situation by keeping them on a heated pad designed for puppies or kittens. Avoid putting them in direct contact with the pad: if the kitten is in direct contact with the heat pad, she might be at risk of either local burns or overheating. However, these pads usually come in a fleece cover so it shouldn't be a problem, except for when you remove the cover for washing, in which case substitute a towel. As the kitten gets older (over two weeks), she is able to move away from the heat if she gets too hot.
8. Never feed a cold kitten. If a kitten's body feels cold, you need to warm her up gradually. A kitten is cold if her ears and/or the pads of her feet feel chilly to the touch. Put your finger in her mouth: if it feels cold, the kitten's body temperature is too low, which can be life-threatening. Warm her up slowly by wrapping her in a fleece blanket and holding her next to your body, rubbing her gently with your hands for one to two hours.
9. Learn more about taking care of orphaned kittens. You can start with this article. Contact a veterinarian for information and suggestions. Your vet can also provide vaccinations against common diseases and deworm the kittens. Orphaned kittens may be dewormed starting at two weeks, and, depending on their situation, can be vaccinated starting anywhere from two to eight weeks. They may have weaker immune systems because, unlike other kittens, they don't get the antibodies from their mother's milk.
## Wean and socialize your kitten (4 - 8 weeks)
1. Start to leave out extra kitten food. If Mom's around, the weaning process (switching from mother's milk to solid food) happens naturally from about four weeks. At this point, Mom gets tired of the kittens chewing on her teats and starts to spend time apart from them. In turn, the hungry kittens investigate food options around them and usually discover Mom's food. As the kittens start to take mouthfuls of her food, they begin the weaning process.
2. Provide water. Kittens do not need water until they start weaning, roughly around four weeks old. Any kitten above this age, however, should have constant access to a full water bowl. Change this water whenever it gets dirty (as it tends to if kittens step and/or poop in the bowl).
3. Put down kitten food for hand-reared kittens. If you've been bottle-feeding the kittens yourself, the weaning process is similar. It sometimes helps to put some milk-replacer in a saucer and put your finger just beneath the surface to teach the kitten to lap first. Then, it's a matter of mashing up some wet kitten food with the milk-replacer to make a porridge for the kitten to lap. As she gets the hang of that you can thicken up the porridge until she's happily taking most of her calories in solid form.
4. Socialize your kittens by introducing them to new things. Socialization is crucial during the three-to-nine-week window. From two to three weeks of age, handle the kittens as much as possible every day. Introduce them to different sights and sounds, such as the vacuum cleaner, hair dryer, men with beards, children . . . anything you can think of. During this six-week window the kitten is most open to new experiences, and what she encounters now she will accept without question as an adult, making her into a happy, well-adjusted and sociable cat. Use cat toys, balls, string, or other objects to play with them, but don't use objects small enough for them to swallow. (Note that cats may eat string or yarn if left unsupervised, so only allow this in your interactive play. It's a potential choking hazard.) Don't teach your kittens that human fingers and hands are toys, or the kitten may continue to bite and scratch them as an adult.
5. Provide non-clumping litter. Choose a spot for the litter box carefully, as once used to it, the kittens will probably continue to use that spot. If litter-training the kittens yourself, simply place the kittens there after each meal, or whenever a kitten starts to crouch and scratch the floor in preparation for pooping. Clean the litter box at least once a day, or the kittens may stop using it. Choose a box with low sides so it's easy for the kittens to get in and out. Avoid clumping litter, as kittens may eat the clumps, which could potentially harm their digestion. If a kitten seems like it doesn't want to stay in the litter box, gently take its paws and imitate digging in the litter. Then, provide the kitten with privacy so it can dig a hole, do its business, and cover it up with some litter.
6. Keep the cat inside until it has all its shots. Once your veterinarian allows it, you can let the cat outside to explore. Make sure you keep a close watch on it until you're sure it knows to return home. Let the kitten outside when it's a bit hungry. Entice it back in by calling its name and showing it food. This will remind your kitten that while outdoors is fun, its final destination will always be your home.
7. Give kittens away responsibly. If selling or giving away the kittens, you should wait until they are at least eight weeks old, but twelve weeks old is preferred. Take them to a vet and start their shots before they leave you. Always follow-up with the new owners to make sure the kitten is getting her shots and is scheduled to be spayed or neutered. Exchange phone numbers with the new owners so you can confirm your kitten is in good hands, or in case the owners want to return her (at least you can help her find another home).
## Take care of an adopt kitten (8 weeks and beyond)
1. Ask the breeder or shelter for a blanket that smells like the kitten's mother and siblings. These smells help to give the kitten comfort while she settles into her new home.
2. Ask what kind of food the kitten's been eating. Provide this for the first few days so that you don't make too many changes at once. When the kitten has settled in, this is your chance to change her food to one of your choosing, though do it gradually: replace a small quantity of her former food with the new food, increasing the amount slowly over the course of a week. If the kitten is eating dry kibble, leave a bowl out all day. If she is eating wet food, give her small meals every six hours. Continue to feed kitten food, not adult cat food, until one year of age.
3. Provide water. Kittens above four weeks of age need water, so clean water should always be available. Cats tend to be more interested in water that is not next to their food bowl. Encourage drinking by placing water bowls in different spots through the house.
4. Introduce the kitten to your house slowly. Expose the kitten to just one room initially: the whole house will be too overwhelming on the first day. Set up a bed (preferably one that has sides and a roof so the kitten feels safe in a nest), with food and water in one corner of the room, and a litter tray in the opposite corner. Show the kitten where her facilities are, and then leave her to rest. It's been a big day for the little kitten so let her adjust and sleep for a few hours.
5. Give the kitten as much attention as you can. Spend as much time as possible grooming, playing, fussing and interacting with the kitten. This helps her to grow into a well-socialized, friendly adult.
6. Keep the kitten and your possessions safe. Keep electrical cords and devices out of the kitten's reach to avoid her chewing on them. Child locks may be a wise investment for low cabinets if you have a particularly inquisitive kitten.
7. Plan a vet visit. At nine weeks old the kitten can have her first vaccination. This is the ideal time for a vet to examine her, worm her and start vaccinations. The basic kitten vaccine includes protection against cat flu and infectious enteritis. There is also the option to vaccinate against feline leukemia.
| 1 |
tell me about my dear [name],
as i write this letter, i am filled with a mix of emotions - sadness, regret, and gratitude? | My dear [Name],
As I write this letter, I am filled with a mix of emotions - sadness, regret, and gratitude. Sadness that I will soon be leaving this world and will no longer be able to share in the joys and challenges of life with you. Regret that there are things I wish I had said and done differently, and that there are moments that I will miss. But most of all, gratitude that I have had the privilege of knowing you and sharing in your life.
I want you to know that you have been one of the greatest blessings in my life. Your love, kindness, and support have sustained me through some of my darkest moments, and your laughter and joy have brought light and happiness to my life. I have cherished every moment we have spent together, and I will carry the memories of our time together with me always.
As I prepare to leave this world, I want you to know that I am at peace. I am grateful for the life I have lived and for the people I have met along the way. I am grateful for the love and friendship you have shown me, and for the many ways you have enriched my life.
I know that my passing will bring sadness and grief, but I hope that in time, you will find comfort in the memories we shared and in the knowledge that I loved you deeply. Remember that life is precious and that every moment is a gift. Live fully, love deeply, and cherish the people in your life.
With love and gratitude,
[Your Name] | 1 |
describe python provides two ways to sort a list, the built-in list method `list? | Python provides two ways to sort a list, the built-in list method `list.sort()` and the built-in function `sorted()`.
The primary difference between the two is that list.sort() will sort the list in-place, mutating its indexes and returning None, whereas sorted() will return a new sorted list leaving the original list unchanged. Another difference is that sorted() accepts any iterable while list.sort() is a method of the list class and can only be used with lists.
Here is an example of using `list.sort()`:
```
# the list to be sorted
x = [2, 3, 1, 5, 6, 4, 8]
# sort by list.sort()
x.sort()
print(x)
```
The output of the above code is
```
[1, 2, 3, 4, 5, 6, 7, 8]
```
Equivalently, you can use `sorted()`:
```
sorted_x = sorted(x)
``` | 1 |
describe if this is a medical application you are talking about it is serious stuff? | If this is a medical application you are talking about it is serious stuff. What if the bugs affected real users? Developers would be much less happy if they put in life threat someone or if management has to retire a product or make public excuses. Nowadays it is pretty standard for software having minor bugs, but a medical application should be as much as bug-free as possible.
A good developer should not be angry about bugs, but rather be happy, and a good manager already know how software development work so should not put under too much pressure its team unless really necessary:
* It has been caught before product release
* It is pretty standard for a programmer fixing bugs daily
* If you have to focus on programming it is hard also to focus on testing
* A tester Always reports bugs
* A regular user usually not (unless particularly angry or determined)
* If the user is your client, he will report bugs and he will not be happy if the project already cost him much money or required a good amount of time.
Literally a project for which bugs are not reported at least on a weekly basis:
* Too simple project: no value every other company could easily create a better clone
* Not much-used project: maybe there are bugs but no one incurred in them
* Bad management: if there are no bugs it's time to move on further work (extra features or different projects).
* Bug fixes should drive development, they give a correct idea of what should work and is not working, this allows to manage priorities between fixes and features
* In important projects it makes sense adding automated testing so that every fix and feature comes with new tests that avoid breaking pre-existing functionality
| 5 |
README.md exists but content is empty.
- Downloads last month
- 52