Dataset Viewer
Auto-converted to Parquet
instruction
stringlengths
0
2.62k
response
stringlengths
47
15.5k
score
int64
5
5
What do you know about the search for extraterrestrial life?
Humanity has yet to find evidence for life outside planet Earth. The current search for extraterrestrial life is largely focused on finding planets that are situated in an "habitable zone". Roughly put, a planet is in a habitable zone if its distance from nearby stars allows for liquid water to persist on its surface. So far, a few such planets have been found, but none yet with liquid water on its surface.
5
## Choose a new cartridge and drain the faucet 1. Purchase a cartridge that matches your faucet’s model. The cartridge varies depending on the faucet you have, so getting an identical replacement is important. Order a new cartridge by noting the manufacturer’s name and the faucet’s model number. The name is usually printed somewhere on the faucet handle. The model number can sometimes be found on the faucet as well, such as on a tag tied to the cold water line. The water lines are located underneath the sink for a sink faucet and in the wall for a showerhead. They won’t always be accessible, so look in the owner’s manual for the model number as well. If you are unable to find the information you need to get a replacement, pull the cartridge out first, then take it with you to a hardware store. New cartridges can also be ordered online from the manufacturer. 2. Turn the water control valve clockwise to shut off the water flow. If you’re replacing a sink faucet, check underneath the sink. Look for a pair of water lines running from the handle, each with its own valve. If that isn’t an option, locate the main shut-off valve in your home instead. It will be on the lowest floor of your home, close to the water heater. If you’re having a hard time finding the valves, follow the water lines. For example, find where the main water line enters your home. Follow it to the water meter and the shut-off valve. The main shut-off valve can vary. It could be a colored wheel that you rotate or a handle that you position horizontally to stop the water flow. It may also be outside of your home. 3. Open the faucet to release any water still inside it. Go back to the faucet you are replacing and activate it. If the water has been shut off, it won’t shoot out its normal jet of water. Instead, any water trapped in the line will spill out. Wait until the faucet stops gurgling and dripping before attempting to replace the cartridge. Draining the line won’t take long. The lines can’t store much water, so they clear within several seconds. 4. Remove the old cartridge from the faucet. If you’re replacing a sink faucet, unscrew the cartridge from the faucet handle. If you’re replacing a showerhead, unscrew the cart
## Choose a new cartridge and drain the faucet 1. Purchase a cartridge that matches your faucet’s model. The cartridge varies depending on the faucet you have, so getting an identical replacement is important. Order a new cartridge by noting the manufacturer’s name and the faucet’s model number. The name is usually printed somewhere on the faucet handle. The model number can sometimes be found on the faucet as well, such as on a tag tied to the cold water line. The water lines are located underneath the sink for a sink faucet and in the wall for a showerhead. They won’t always be accessible, so look in the owner’s manual for the model number as well. If you are unable to find the information you need to get a replacement, pull the cartridge out first, then take it with you to a hardware store. New cartridges can also be ordered online from the manufacturer. 2. Turn the water control valve clockwise to shut off the water flow. If you’re replacing a sink faucet, check underneath the sink. Look for a pair of water lines running from the handle, each with its own valve. If that isn’t an option, locate the main shut-off valve in your home instead. It will be on the lowest floor of your home, close to the water heater. If you’re having a hard time finding the valves, follow the water lines. For example, find where the main water line enters your home. Follow it to the water meter and the shut-off valve. The main shut-off valve can vary. It could be a colored wheel that you rotate or a handle that you position horizontally to stop the water flow. It may also be outside of your home. 3. Open the faucet to release any water still inside it. Go back to the faucet you are replacing and activate it. If the water has been shut off, it won’t shoot out its normal jet of water. Instead, any water trapped in the line will spill out. Wait until the faucet stops gurgling and dripping before attempting to replace the cartridge. Draining the line won’t take long. The lines can’t store much water, so they clear within several seconds. 4. Cover the drain to prevent anything from falling down it. Faucets have some small screws and other parts that could cause a lot of unnecessary hassle if they were to get lost. To prevent accidents, fit the drain’s plug into place. If it doesn’t have a plug, place a towel over it. Make sure the drain is completely covered. Anything that falls down the drain will be difficult to remove and could damage your plumbing. If you happen to lose a part, order a replacement online or from a hardware store. ## Handle a sink faucet 1. Pry off the faucet cap with a flathead screwdriver. The decorative cap is at the very top of the faucet stem. Find the bottom edge of the cap, then slide the tip of the screwdriver underneath it. Push the cap up until it pops off the faucet. If the cap is stuck, pry it at a few different angles. Keep working around the edges until it is loose enough to lift off the faucet. Note that every handle is separate. If your faucet has separate cold and hot water handles, they have their own cartridges. Single-handle faucets only have one cartridge. 2. Unscrew the handle with a Phillips screwdriver. Check the top of the faucet. There will be a small hole in the center where the cap was. Stick a small Phillips screwdriver into the hole to reach the screw, then turn it counterclockwise until you are able to remove it. Pull the faucet handles off afterward. Some faucets open with an Allen wrench instead. If the screw has a hexagonal opening on top, use an Allen wrench. 3. Remove the nut on the faucet with a crescent wrench. Removing the handle exposes a circular metal nut on the base of the faucet. Clamp the wrench around the nut, then turn it counterclockwise. Once the nut comes loose, you can finish turning it by hand. Continue rotating it until you’re able to lift it off of the faucet. You could also use pliers to remove the nut. Water pump pliers are designed for dealing with plumbing nuts and bolts, but you may be able to remove it with different tools. 4. Pull the cartridge out of the faucet by hand. The only thing left in the faucet is the cartridge. It has a wide base with a metal or plastic column in the center. You can use the column to get a grip on the cartridge. Just pull it straight up from the faucet to remove it. The old cartridge can be thrown out in the trash. Cartridges have traditionally been made of brass, recognizable because of its dull yellow coloring. Your faucet may have a silvery cartridge made of chrome or zinc, or a white one made of plastic. If you’re having a hard time holding onto the cartridge, grab it with pliers. Needle nose pliers are great for such delicate work. 5. Insert the new cartridge into the faucet stem. The new cartridge won’t fit unless it aligns with the stem slot properly. Check the bottom edge of the cartridge for a small tab. The inner part of the faucet stem will have a matching slot. Simply align the tab with the slot and slide the cartridge in to install it. Make sure the new cartridge is properly aligned with the opening so it you don’t inadvertently damage it. Handle it with care! 6. Reassemble the remaining handle parts to finish the installation. Put the parts back in reverse order. Start with the nut, tightening it by rotating it clockwise with a wrench once it’s on the faucet stem. Place the handle on top of it, inserting and tightening its screw with a Phillips screwdriver. Finish by pressing the cap onto the top of the handle. If your faucet is connected to multiple handles, remember to replace the cartridge in the other handle as well if necessary. Once you have finished, reactivate the water line to test out the new cartridge! ## Fix a shower faucet 1. Unscrew the shower handle with a Phillips screwdriver. Rotate the handle until you spot a small opening with a screw inside. Turn the screw counterclockwise until you’re able to remove it. Once the screw is gone, the handle won’t have anything holding it to the wall. Slide it off the wall and set it aside. The cartridge is located behind the handle, so you won’t be able to reach it without removing the handle first. Some shower handles have alternative types of screws. You may need an Allen wrench instead of a Phillips screwdriver. 2. Use a Phillips screwdriver to remove the handle adapter. The handle is held in place by a round plate with an adapter in the middle. In the center of the adapter, you will see a screw. Turn the screw counterclockwise until you’re able to remove it. Then, slide the adapter forward to detach it from the faceplate. Sometimes the adapter can be removed by twisting it off. It depends on the model, but, if you don’t see a screw, you most likely have to twist it off. Note that you may need to remove the faceplate in some cases. It usually isn’t necessary, but every cartridge system is a little different. If you don’t see the cartridge, check the faceplate to see if it can be unscrewed too. 3. Slip off the stem cover and anything else in front of the cartridge. Removing the adapter will reveal a small metal cylinder in the center of the wall opening. However, many shower cartridge systems have a few extra layers of protection around it. Yours may have a white plastic cap, followed by a metal ring. Pull both of them off the cartridge by hand and set them aside. These components are for adjusting and limiting the water temperature. They aren’t present in all faucet models, but save them if you have them. 4. Use pliers to pull out the clip holding the cartridge in place. Look along the top edge of the cartridge for the clip. It is usually made of steel and situated in a groove on the cartridge. Reach in with a pair of needle nose pliers, then lift it to pop it out of the slot. Pull it toward you to remove it, then dispose of it in the trash. Some faucets have a nut instead of a clip. If you see a ring around the cartridge but no clip, use pliers or a wrench to turn the nut counterclockwise. Once it comes loose, slide it off the wall. 5. Remove the cartridge by gripping it with a pair of pliers. Once everything else is out of the way, the cartridge isn’t tough to remove. Grip the stem, then attempt to pull it toward you. If it doesn’t come out right away, take a closer look at it. Some cartridges have to be rotated slightly to align with a slot in the wall before they can be removed. The cartridge is recognizable because of its column-like stem jutting out from the wall. The cartridge’s base is round and fits inside the wall opening. The cartridge is usually made of brass, which has a yellow coloring. Some cartridges are made of silvery steel or white plastic instead. 6. Install the new cartridge by aligning it with the wall opening. Check the cartridge stem to see if it has a notch on it. If the notch is present, align it with the groove in the wall slot. Then, slide the cartridge in with pliers or a wrench. Make sure it is plugged all the way in before putting anything else on top of it. If the new cartridge came with a packet of grease, rub it onto the cartridge before putting it back. The grease protects the cartridge from damage during the installation. You could also apply your own plumber’s grease to it. 7. Replace the remaining parts to finish the installation. Replace the parts one by one in reverse order from how you took them out. Start with the retaining clip or nut, tightening it after putting it back. Return any stem coverings next, followed by the screw-on handle adapter. When you’re done, add the handle and screw it into place. Test the faucet afterward. If it doesn’t seem to be working the way you want, check all of the parts to ensure they are undamaged and have been put back correctly.
5
By definition, nothing's going to happen in an empty room (though see below). There are no hidden doors to find, no puzzles to solve, no enemies to fight. So what's their purpose? ## Bringing the dungeon to life While all the orcs may sit around in a guard room waiting for PCs to show up, where do they sleep, what do they eat, what happens to their trash? Think of a dungeon not just as a place to have fights in, but as an actual place that serves a purpose. Once you do, the dungeon will start making sense. "Empty" rooms will increase immersion for the players, and force you to consider things you may not have otherwise. Should there be a pet otyugh that eats the trash? Are the orcs demanding cows from the local farmers for "protection"? Do they keep a famed halfling cook enslaved, to make them rare steaks? ## Foreshadowing Once the dungeon makes sense, you can use that to place clues for things that dwell deeper within. Has a horde of zombies marched through to guard the necromancer's abode within, and left a few rotten body parts here and there? Has a malevolent force been summoned and spoiled all the meat and milk in the dungeon? Is there a golem maintenance station, with oil to grease them, rags to polish them, and a mad goblin mechanic? These may be vital clues PCs need to prepare for a tough fight, or they can simply let them form theories and feel smart about being right once they do come upon a golem or three. #Currently empty These rooms are empty now, but they don't have to stay that way. PCs may choose to fortify a room and bring the enemy to them - such tactical choices could be an important part of dungeoncrawling. Orcs may chase PCs through the dungeon, or randomly come across them in a kitchen because they were feeling peckish. Note that some of these ideas would introduce creatures or things into rooms that PCs may choose to interact with, which would make them non-empty. In a way that's a good thing, as it makes the dungeon feel more alive, but it's something to keep in mind.
By definition, nothing's going to happen in an empty room (though see below). There are no hidden doors to find, no puzzles to solve, no enemies to fight. So what's their purpose? ## Bringing the dungeon to life While all the orcs may sit around in a guard room waiting for PCs to show up, where do they sleep, what do they eat, what happens to their trash? Think of a dungeon not just as a place to have fights in, but as an actual place that serves a purpose. Once you do, the dungeon will start making sense. "Empty" rooms will increase immersion for the players, and force you to consider things you may not have otherwise. Should there be a pet otyugh that eats the trash? Are the orcs demanding cows from the local farmers for "protection"? Do they keep a famed halfling cook enslaved, to make them rare steaks? ## Foreshadowing Once the dungeon makes sense, you can use that to place clues for things that dwell deeper within. Has a horde of zombies marched through to guard the necromancer's abode within, and left a few rotten body parts here and there? Has a malevolent force been summoned and spoiled all the meat and milk in the dungeon? Is there a golem maintenance station, with oil to grease them, rags to polish them, and a mad goblin mechanic? These may be vital clues PCs need to prepare for a tough fight, or they can simply let them form theories and feel smart about being right once they do come upon a golem or three. #Currently empty These rooms are empty now, but they don't have to stay that way. PCs may choose to fortify a room and bring the enemy to them - such tactical choices could be an important part of dungeoncrawling. Orcs may chase PCs through the dungeon, or randomly come across them in a kitchen because they were feeling peckish. Note that some of these ideas would introduce creatures or things into rooms that PCs may choose to interact with, which would make them non-empty. In a way that's fine: you started with an empty room but found something interesting to put inside after all. If that's not your intention, well, don't put goblins or halflings or otyughs in. Stick to body parts and greasy pots and shadowy portraits and bloodstains and scent of brimstone and fresh flowers and broken mirrors and... Tell a story with your empty rooms, or offer tactical choices. Preferably both.
5
What's the weather like today?
I am sorry, but I am not programmed to have access to real-time information, such as the weather and stock information. Feel free to ask me something else.
5
What is the difference between a class and an object in JavaScript?
As you must already be aware by now there are no classes in JavaScript. Instead functions in JavaScript may be made to behave like constructors by preceding a function call with the ```new``` keyword. This is known as the constructor pattern. In JavaScript everything is an object except for the primitive data types (boolean, number and string), and ```undefined```. On the other hand ```null``` is actually an object reference even though you may at first believe otherwise. This is the reason ```typeof null``` returns ```"object"```. Functions in JavaScript are similar to functables in Lua (i.e. they are callable objects). Hence a function can be used in place of an object. Similarly arrays are also objects in JavaScript. On the other hand objects can be thought of as associative arrays. The most important point however is that there are no classes in JavaScript because JavaScript is a prototypal object oriented language. This means that objects in JavaScript directly inherit from other objects. Hence we don't need classes. All we need is a way to create and extend objects.
5
What is the purpose of the mail exchange (MX) record?
The whole idea behind the mail exchange (MX) record is to specify a host or hosts which can accept mail for a domain. As specified in RFC 1035, the MX record contains a domain name. It must therefore point to a host which itself can be resolved in the DNS. An IP address could not be used as it would be interpreted as an unqualified domain name, which cannot be resolved. The reasons for this in the 1980s, when the specs were originally written, are almost the same as the reasons for it today: A host may be connected to multiple networks and use multiple protocols. Back in the 80s, it was not uncommon to have mail gateways which connected both to the (relatively new) Internet which used TCP/IP and to other legacy networks, which often used other protocols. Specifying MX in this way allowed for DNS records which could identify how to reach such a host on a network other than the Internet, such as Chaosnet. In practice, though, this almost never happened; virtually everyone re-engineered their networks to become part of the Internet instead. Today, the situation is that a host may be reached by multiple protocols (IPv4 and IPv6) and by multiple IP addresses in each protocol. A single MX record can't possibly list more than one address, so the only option is to point to a host, where all of that host's addresses can then be looked up. (As a performance optimization, the DNS server will send along the address records for the host in the response additional section if it has authoritative records for them, saving a round trip.) There is also the situation that arises when your mail exchangers are provided by a third party (e.g. Google Apps or Office 365). You point your MX records to their hostnames, but it may occur that the service provider needs to change the mail servers' IP addresses. Since you have pointed to a host, the service provider can do this transparently and you don't have to make any changes to your records.
5
People make mistakes. Sometimes these mistakes are bad enough to cost us the respect of those around us or even our jobs. If you’ve made a bad professional error or hurt colleagues at work, though, the damage might not be permanent. You can put the past behind you, but you’ll have to work hard to rebuild relationships, become a model worker, and, in some cases, manage your reputation online. ## Rebuild relationships 1. Admit your mistake. If you’ve damaged your reputation – wronging a coworker, angering your boss, or just getting an overall bad name – the place to start is to own up to it. Admit the error of your ways. Take stock of your actions and accept responsibility for them, to yourself and in front of others. What happened? Where did you go wrong? Be brutally honest with yourself. For example, do you have bad personal habits? Did you try to cut corners and dodge work? Have you been an office gossip? Or, did you have a serious lapse of judgement? Perhaps you stole someone’s idea and got caught or plagiarized a report. Perhaps you just stole, embezzling money. 2. Apologize. Even if you don’t have a future at your workplace, you should apologize to the people you’ve hurt. Showing remorse is decent and will help you start to redeem yourself. You will not get very far with building bridges and repairing your reputation if you can’t say sorry. Act as soon as you can. The longer you wait to apologize, the more it seems like you aren’t really that sorry. Don’t make excuses. The point is to show remorse and accept that you were wrong. Don’t insert half-excuses or mealy-mouth language into your apology, for example “I’m sorry if you were offended that I took your idea. I only wanted to improve it.” * Be humble and own up. For instance, “It was really wrong of me to talk behind your back. I know I’ve hurt you and want to ask for your forgiveness.” * Be sincere. You won’t get credit if you don’t say specifically what you did. You also won’t credit if you don’t say it with sincerity. * Be specific. Don’t just say “I’m sorry” and leave it at that. Be specific about what you’re sorry for. * Don’t make excuses. Don’
People make mistakes. Sometimes these mistakes are bad enough to cost us the respect of those around us or even our jobs. If you’ve made a bad professional error or hurt colleagues at work, though, the damage might not be permanent. You can put the past behind you, but you’ll have to work hard to rebuild relationships, become a model worker, and, in some cases, manage your reputation online. ## Rebuild relationships 1. Admit your mistake. If you’ve damaged your reputation – wronging a coworker, angering your boss, or just getting an overall bad name – the place to start is to own up to it. Admit the error of your ways. Take stock of your actions and accept responsibility for them, to yourself and in front of others. What happened? Where did you go wrong? Be brutally honest with yourself. For example, do you have bad personal habits? Did you try to cut corners and dodge work? Have you been an office gossip? Or, did you have a serious lapse of judgement? Perhaps you stole someone’s idea and got caught or plagiarized a report. Perhaps you just stole, embezzling money. 2. Apologize. Even if you don’t have a future at your workplace, you should apologize to the people you’ve hurt. Showing remorse is decent and will help you start to redeem yourself. You will not get very far with building bridges and repairing your reputation if you can’t say sorry. Act as soon as you can. The longer you wait to apologize, the more it seems like you aren’t really that sorry. Don’t make excuses. The point is to show remorse and accept that you were wrong. Don’t insert half-excuses or mealy-mouth language into your apology, for example “I’m sorry if you were offended that I took your idea. I only wanted to improve it.” * Be humble and own up. For instance, “It was really wrong of me to talk behind your back. I know I’ve hurt you and want to ask for your forgiveness.” * Be sincere. You won’t get credit if you don’t say specifically what you did. You also won’t credit if you don’t say it apologetically and sincerely, showing that you won't repeat the behavior. 3. Commit to reform. Besides an apology, write out a plan for how you’ll change and ensure your mistake doesn’t happen again. This can be for you alone or, if you’re lucky to keep your job, to share with the powers that be in the organization. Outline what you did wrong and how you will avoid it. For example, “I made the mistake of getting too involved in workplace gossip and ended up saying harmful things about my coworkers. From now on, I plan to keep my head down, mind my own business, and avoid office politics.” * Don’t forget to “walk the walk” and follow your plan. You might arrange regular check-ins with your boss, for instance, to discuss your behavior. This will highlight your progress as well as show that you are willing and able to reform. 4. Keep your attitude in check. Repairing your reputation is going to be a humbling experience. You might feel angry or resentful. You might get annoyed, frustrated, or upset. Keep these emotions under control – you’ve had a bad attitude in the past and need others to see that you’re trying to change. Try to stay calm, collected, and positive. Be aware of the attitudes or emotions that added to your bad behavior in the past. Try to avoid them or situations that bring them out. If your problem is gossip, avoid the office gossipers as best you can. Stop and ask yourself throughout the day, “How’s my attitude? Am I positive? Am I productive?” Catch any problems early and try to readjust your mindset. ## Become a model employee 1. Get to work early. Apart from apologies and repairing relationships, set yourself up as a model employee to help you rebuild your work reputation. Be a go-getter. Arrive early and ready to impress. People will eventually start to notice. Getting to work early will make a good impression on your boss and perhaps your coworkers. Often, people aren’t around to see who leaves the office last. But they will notice your presence in the morning. Being early also means you don’t have to rush around. Use the quiet time to your advantage and plan out your day. It doesn’t hurt to take a short walk around the office first thing in the morning. People will see you and take note. 2. Prioritize. Some people have trouble keeping track of what they need to do during a given day or week. Take initiative and prioritize your work. Keep your nose to the grindstone to avoid returning to past mistakes and to present yourself as great employee. For instance, sit down and write out what you need to do for each day or, longer term, each week and month. If you’ve been coming to work early, use that time to set out daily priorities. Having a to-do list will help you focus your energy. You might also tailor the list to take advantage of your peak work hours. For instance, if you do your best work in the morning, save that time for your top priorities. Try to stick to the list. That said, be flexible in case your boss gives you special instructions. 3. Do your tasks thoroughly and on-time. Writing down your tasks isn’t all, of course. You actually need to follow through and do them well. Good work and dependability can make a past mistake fade over time. Build up a track record for reliability and your colleagues and boss will have more trust in you in the future. Meet your deadlines. What about that report that’s due next week? Prioritize it in your list on Monday. If you still can’t get it done during the week, consider finishing it at home or over the weekend rather than asking for more time. Be productive, especially if you have had consistency problems before. Take a short breather to stretch or use the restroom, but don’t try to skirt work. 4. Go above and beyond. Handing in finished work on time is good. To be a model employee, though, you will have to aim even higher and win (or win back) your boss’ trust. Track details, anticipate tasks, and work ahead to further develop a good reputation. If a colleague asks you to think of venues for an upcoming tradeshow, for example, don’t just stop at a list. Take the next steps: call them, ask about availability, and compare prices. When you take initiative like this, you’ll seem smart and like the logical go-to person for key projects. ## Repair your reputation online 1. Check your online metrics. If your error was very serious, or if you are well-known and hold a big position, you might want to think about your online presence when rebuilding your reputation. Don’t underestimate negative online info. To start, you will need to take stock of the situation. You can get a quick sense of your online reputation by checking Google’s autocomplete. Just go to the Google homepage. What appears when you type in your name, or your company name? When you enter your name, for example, do you get something positive or neutral like “Harold Bing Brew Co. CEO” and “Harold Bing business award”? Or is it damaging, like “Harold Bing mugshot”? Look at online news stories or reviews about you or your company, if applicable. Check local sites or other social media. Set up a Google Alert in your name, so that you’ll be notified any time something new is posted. 2. Deal with Google defamation. Programs like Google Suggest reflect real internet searches and should give you an idea of how people associate your name and reputation online. Did you find something unwelcome in your results? There are some things you can do. Do not try to manipulate the results. While some people suggest this approach, using techniques like crowdsourcing, you might end up causing more damage. You might try acquiring the search term and building an optimized page to tell your viewpoint. That way, when someone types “Juliette Page embezzler” she is directed to your side of the story – that the charge is false, misunderstood, or not reported right. You can also request that the search engine take down the autocomplete. This is hard and usually only works with results that suggest hate or violence, porn, or personal information. Still, it may be worthwhile to try. 3. Hire an online reputation manager. Your online reputation could get out of control. Don’t despair, however. There are people and agencies who can help you manage this kind of situation, like Reputation.com or BrandYourself.com. The work will be pricy, but it may just salvage your working reputation. Reputation managers won’t always be able to get rid of negative content from the web. But they should be able to highlight positives about you. For example, their services might include setting up a domain in your name for a page presenting your side of the story. They can also respond to negative comments or reviews and manage your online presence on sites like Facebook, Twitter, or Youtube. The goal is not to eliminate all negative info about you, but to tip the balance in your favor whenever someone searches for you online. Keep in mind that management services don’t come cheap. Expect to pay between $20 to $200 per month.
5
What is the stereotype about Asian people having tiny eyes?
Asian people having tiny eyes is a false stereotype and generally considered as racism. The eye shape of a person is determined by their genes, not race or ethinicity.
5
Setting up an aquarium can be quite difficult that involves a lot of patience, maintenance, and testing before you can even add any tank inhabitants. Despite this, setting up your aquarium correctly is vital for your pets' health and longevity. There are different ways to set up different types of aquariums. ## Choose an aquarium type 1. Decide if you want a freshwater aquarium or saltwater aquarium. There are many differences between having a freshwater aquarium versus having a saltwater aquarium. These differences include how you initially set up the aquarium and all ongoing care, maintenance, everyday chores, and costs requirements. There are several key issues you will need to consider while you choose: 2. Think about the size of tank you’d like. A small fish tank set up is generally more economical than a large fish tank. There are several issues you should consider when choosing the size of your tank: 3. Choose what type of saltwater aquarium you’d like to set up. There are three main saltwater aquarium types: Fish Only, Fish Only with Live Rock (FOWLR), and the Reef Tank. Fish Only Tanks: As the name suggests, this tank only houses saltwater fish. It is the least expensive way to set up a saltwater aquarium. However, it does have its disadvantages. Fish Only tanks take longer to set up, require more frequent tank maintenance and testing, and have a shorter shelf life than the other types of saltwater aquariums. Fish Only with Live Rock: FOWLR tanks are set up like Fish Only tanks but with the addition of live rock and better aquarium lighting. The live rock acts as a natural biological filter for saltwater and keeps your tank healthier than a Fish Only tank. A live rock has hundreds of tiny creatures and biological organisms living inside and on the surface of the rock. Reef Tank: If you choose this type of saltwater aquarium, you are most likely looking towards having invertebrates, corals, or anemones as the main focus of your aquarium and fish are just an afterthought. Reef tanks require daily water quality checks, high lighting levels, extra water supplements, heavy duty filtration systems and are generally the most expensive to maintain. Reef Tanks are recommended for more experienced aquarists. 4. Choose what type of freshwater aquarium you’d like to set up. There are three main freshwater aquarium types: Community Tank, Nano Tank, and Breeding Tank. Community T
Setting up an aquarium can be quite difficult that involves a lot of patience, maintenance, and testing before you can even add any tank inhabitants. Despite this, setting up your aquarium correctly is vital for your pets' health and longevity. There are different ways to set up different types of aquariums. ## Choose an aquarium type 1. Decide if you want a freshwater aquarium or saltwater aquarium. There are many differences between having a freshwater aquarium versus having a saltwater aquarium. These differences include how you initially set up the aquarium and all ongoing care, maintenance, everyday chores, and costs requirements. There are several key issues you will need to consider while you choose: 2. Think about the size of tank you’d like. A small fish tank set up is generally more economical than a large fish tank. There are several issues you should consider when choosing the size of your tank: 3. Choose what type of saltwater aquarium you’d like to set up. There are three main saltwater aquarium types: Fish Only, Fish Only with Live Rock (FOWLR), and the Reef Tank. Fish Only Tanks: As the name suggests, this tank only houses saltwater fish. It is the least expensive way to set up a saltwater aquarium. However, it does have its disadvantages. Fish Only tanks take longer to set up, require more frequent tank maintenance and testing, and have a shorter shelf life than the other types of saltwater aquariums. Fish Only with Live Rock: FOWLR tanks are set up like Fish Only tanks but with the addition of live rock and better aquarium lighting. The live rock acts as a natural biological filter for saltwater and keeps your tank healthier than a Fish Only tank. A live rock has hundreds of tiny creatures and biological organisms living inside and on the surface of the rock. Reef Tank: If you choose this type of saltwater aquarium, you are most likely looking towards having invertebrates, corals, or anemones as the main focus of your aquarium and fish are just an afterthought. Reef tanks require daily water quality checks, high lighting levels, extra water supplements, heavy duty filtration systems and are generally the most expensive to maintain. Reef Tanks are recommended for more experienced aquarium hobbyists. 4. Determine what the correct lighting and heating for your fish is. The kind of lighting and the temperature of your aquarium depend on what kind of aquarium you have and who your tank inhabitants are. The type of light you choose also affects the overall temperature of your tank. Aquariums that are Fish Only: This means your freshwater tank will not have real or live plants in it. In this case, you will most likely be using fluorescent lights that are between 18 and 40 watts. Freshwater aquariums with plants: The type of lighting you’ll need will depend on the depth of your tank, the plant species you have, and the desired growth rate of the plant. Usually, you should provide 2 to 5 watts of light per gallon in a planted freshwater aquarium. Always research and consult with your aquarium expert when you plan to have plants in your tank. Saltwater Reef Tanks: These tanks need high levels of light that are characteristic of high output fluorescent and metal halide lamps. Some corals may even need more intense levels of light that can be achieved with T5-HO, Very High Output (VHO), and metal halide lights. 5. Choose the appropriate type of filter or filters for your tank. All filters have three functions to them, which include mechanically filtering the water by trapping or removing free floating particles, biologically filtering the water by growing good bacteria, and chemically filtering the water by dissolving wastes. There are various types of filter: ## Set up a freshwater aquarium 1. Gather all the equipment needed for your aquarium. Before buying your fish, you need to prepare the aquarium. A typical freshwater aquarium needs: 2. Clean your tank, gravel, decorations, and filters. Never use soap or detergents to clean your tank. Using soaps or detergents can seriously injure and damage your tank inhabitants. Simply wash your tank and equipment with hot water. Use a sponge or clean washcloth and scrub the inside of your tank. Then hose it down to rid your tank of any impurities. Wash and soak your aquarium gravel or sand in a bucket. Use a pasta strainer to separate the dirtied water from the gravel. Wash and massage your filter’s cartridges under the tap or in a bucket. This is very important, especially if you’re using a carbon filter. Massaging or rubbing the filter activates the carbon inside the cartridge. Wash all decorations in clean water. 3. Set up your aquarium. This means putting your tank on its stand, filling the tank with gravel, arranging your decorations and airstones, and setting up the lighting and heating for your aquarium. If you are using an undergravel filter, place the bottom plates into your tank and attach all necessary tubes, airline, gang valves, and air pumps before adding your gravel. Don’t plug in your filter. Set it up and place it in the correct position but don’t turn it on until you have water in the tank. Having it on without water can damage your filter. 4. Add water to your freshwater aquarium. It’s vital you treat your water with conditioner to remove chlorine and chloramine. You can find water conditioners at your local pet store with instructions on how much to add depending on how big of a tank you have. Don’t fill the tank with water until you are sure of your aquarium’s layout. It can get quite messy if you stick your hand in a full tank to move things around. Place a plate over your gravel to avoid messing up your tank layout. Pour water directly onto the plate so the pressure of a stream of water won’t make a hole in your gravel or move your decorations around. Remove the place once your tank is full. 5. Turn on your aquarium’s filter, lights, and heater. This will begin your tank’s nitrogen cycle. Ensure your tank is safe electrically before turning or plugging everything in. A power cord in the wrong place can cause serious injury to you. 6. Wait a few days before adding fish to your tank. The nitrogen cycle takes a few days for it to completely stabilize. You might notice your tank becoming cloudy which means the cycle is kicking in. You can add some hardy fish like feeder goldfish to your tank to speed up the nitrogen cycle. However, don’t expect the fish to survive, as the harsh conditions of a new aquarium can be quite stressful and inhospitable. Use a nitrate testing kit to ensure your aquarium is at its best quality before adding your fish. ## Set up a saltwater aquarium 1. Gather all the equipment needed for your aquarium. Before buying your fish, you need to prepare the aquarium. A typical saltwater aquarium needs: 2. Clean your tank, decorations, and filters. Never use soap or detergents to clean your tank. Using soaps or detergents can seriously injure and damage your tank inhabitants. Simply wash your tank and equipment with hot water. Use a sponge or clean washcloth and scrub the inside of your tank. Then hose it down to rid your tank of any impurities. Wash and massage your filter’s cartridges under the tap or in a bucket. This is very important, especially if you’re using a carbon filter. Massaging or rubbing the filter activates the carbon inside the cartridge. Wash all decorations in clean water. Your substrate will be cleaned after your aquarium is set up. 3. Set up your aquarium. This means putting your tank on its stand, arranging your power heads, and setting up the lighting and heating for your aquarium. If you are adding a live rock, do not add substrate or decorations to your tank. You must cure your live rock before you can do this. Don’t plug in your filter. Set it up and place it in the correct position but don’t turn it on until you have water in the tank. Having it on without water can damage your filter. 4. Add saltwater to your aquarium. The saltwater mix you purchased should have detailed instructions on how to prepare your saltwater. Generally, you will be mixing room temperature water with the salt mix in a bucket or several buckets. If you don’t have enough buckets, you will need to prepare your water in parts or mix the salt right in the tank. Check your salt levels with your refractometer. Typically, the specific gravity reading should be between 1.021 and 1.024 depending on the temperature of your water. Measuring the specific gravity of your saltwater means measuring the density of your water since adding salt to water increases the density of water. 5. Cure your live rock. If you have FOWLR tank, you will need to start the process of curing your live rock, which could take up to 2 months to complete. To begin the process: 6. Prepare your substrate before adding it to your tank. Before adding any substrate to your tank, you will need to prepare a bucket of saltwater to help clean it. Add your substrate into the bucket and stir. This allows the dust and dirt from your substrate to rise for you to siphon out with your aquarium vacuum. Use a cup or ladle to add your clean substrate to the tank. You will need to drain more water out of your aquarium to accommodate the addition of your substrate and any decorations. 7. Wait a few days before adding fish to your aquarium. Thoroughly check your aquarium’s water salinity, pH, ammonia, nitrate, and hardness levels using your test kits before adding any fish. The ideal readings for a saltwater aquarium with a live rock are:
5
What happened to Cannibal the dog after he died?
And suddenly, a great peace washed over the newly deceased dog. He had never felt so good in his life. He awoke in a beautiful meadow with wild flowers and a bubbling creek. "Cannibal! What kind of name is that?" He looked to the left. It was his mother! She came up to him and licked his face. He was overjoyed. He had never expected to see her again, but there she was! He felt love only a mother could give. He was happy. "Come on, my sweet baby, you must be hungry." said his mother. Cannibal was excited! "This is Heaven, isn't it?" He asked. "It is, my sweet baby, it is" said his mother. "It's wonderful." "Well of course it is! It's Heaven! Now follow me!" Cannibal went with his mother. They came across beautiful white dog bowls that smelled better than anything he had smelled before (and he had sniffed his owner's butt!) and what was in them? A gigantic Rib-Eye steak, cooked medium rare (his favorite!), waiting to be eaten by the bestest of boys, who are now in eternal peace.
5
What should I say to a CEO of an automotive company if he asks me to run a marketing campaign for his company?
Run (and run fast) - here are just a few points to consider: * That's a very unorthodox task for somebody still in the interviewing stage. * How you going to present a solution you aren't familiar with? * Since you aren't an employee of said company yet you have no grounds to represent them or even hustle their products. * You aren't on their payroll yet so why should you waste your time looking for customers? * There are a bunch of legal issues arising from such a 'task' (think NDA etc..). * How will your potential employer determine if your task has been carried out successfully? * Any CEO/CTO or even higher management of any automotive company will NOT engage in such a conversation with a random stranger. * Such an unprofessional approach is extremely disrespectful of the prospective customer's time. These are all major red flags and should lead any mentally sane person to the conclusion that the person asked for such tasks is unreasonable and has no clue about business in general. Additionally - what kind of impression do you think they will have of you or your potential, future employer considering the above mentioned points? Thank them for their time and continue applying elsewhere because this company is a nut-house.
5
What does the shebang #! do in a python script?
In order to run the python script, we need to tell the shell three things: * That the file is a script * Which interpreter we want to execute the script * The path of said interpreter The shebang ```#!``` accomplishes (1.). The shebang begins with a ```#``` because the ```#``` character is a comment marker in many scripting languages. The contents of the shebang line are therefore automatically ignored by the interpreter. The ```env``` command accomplishes (2.) and (3.). To quote "grawity," > A common use of the ```env``` command is to launch interpreters, by making use of the fact that env will search $PATH for the command it is told to launch. Since the shebang line requires an absolute path to be specified, and since the location of various interpreters (perl, bash, python) may vary a lot, it is common to use: ```#!/usr/bin/env perl``` instead of trying to guess whether it is /bin/perl, /usr/bin/perl, /usr/local/bin/perl, /usr/local/pkg/perl, /fileserver/usr/bin/perl, or /home/MrDaniel/usr/bin/perl on the user's system... > On the other hand, env is almost always in /usr/bin/env. (Except in cases when it isn't; some systems might use /bin/env, but that's a fairly rare occassion and only happens on non-Linux systems.)
5
What does CO2 taste like?
CO2 tastes good! Carbonated water is actually a weak carbonic acid solution; this is what you taste. It's like "salt and pepper", but for water. Slightly acidic water is usually popular, hence lemon juice is sometimes used to taint a jug of water in times when no carbonated water is available. Carbonated water releases CO2 bubbles for many minutes after pressure is released (dissolved carbonic acid reforming), which is an important presentation effect that other gases do not generally have. In many countries the local water supply is slightly alkaline (due to limestone rock being very common), and this can leave a bad after-taste, and make food in your mouth taste soapy. The addition of weak acids to water helps with neutralising this effect. Around the world, some lucky towns have natural springs with effervescent water (carbonated water), and man-made carbonated water is just imitating this. In history people have often travelled great distances to try effervescent water, so its popularity is well recorded. Nitrogen is used for water pressurisation in brewing and cooking as it leaves little or no taste, and generally does not form other chemical compounds. It's used mainly when bubbles are required, but not an acidic taste. Oxygen is unsuitable for water pressurisation as very little can be dissolved at normal soda pressures, and it has no taste, but may readily form unwanted chemical compounds. In the 18th century, Joseph Priestley was the first person to document this manufacturing discovery. He noted precisely that it tasted good, and that it was similar to the German Selters water. He was discovering "airs" (gases), and uniquely identified quite a few different gases. CO2 was the only one he listed as tasting good. His cheap source of CO2 was the fermenting grains from the nearby brewery.
5
How can I keep my clothes easily accessible and less messy?
To keep you clothes easily accessible and less messy, one option is getting an IVAR side panel from IKEA. Lean it against a wall at a slight angle and put these “limbo” clothes over the horizontal bars. It comes in different sizes, and stands almost entirely flat against the wall if you don't use it. If you want it hidden, it usually fits behind a door pretty well. In addition, it will also look rather unique compared to most people’s clothes-chair solution.
5
What are the pros and cons of implementing instant replay in football?
There are a few fundamental considerations: * Uncertainty is a part of the game. The referee and linesmen are the arbiters of the action. Instant replay would limit their authority. * Football is global. Many places do not have access to the technology necessary to implement instant replay. * Football is a fast-paced game with few opportunities for stoppage. Instant replay would unnecessarily slow the pace. In 2008, FiFA President Sepp Blatter said: "Let it be as it is and let's leave [football] with errors. The television companies will have the right to say [the referee] was right or wrong, but still the referee makes the decision – a man, not a machine." Blatter and others at FIFA have repeatedly argued against using instant replay. But lately, FIFA has begun to come around on the idea. At FIFA's Congress in São Paulo prior to the 2014 World Cup, Blatter proposed allowing managers 2 challenges per game, much like the NFL handles challenges today. Although it's not quite "instant replay," in 2012 FIFA approved two different goal-line technologies to improve referee accuracy: "Hawk-Eye" -- which uses visual triangulation to determine ball location -- and "GoalRef" -- which uses a microchip in the ball and magnetic sensors within goalposts. (Many say FIFA approved the technologies in response to Frank Lampard's snubbed "goal" against Germany in the 2010 World Cup.) In 2013, FIFA announced it would use GoalControl, a German competitor to Hawk-Eye, at the Confederations Cup, basically a rehearsal for the World Cup. After a successful run at that tournament, FIFA announced it would implement GoalControl at the 2014 World Cup. The Guardian provides a pretty helpful FAQ on the technology. FIFA may choose to implement further changes to approved goal-line technology and referee rules when it meets again after the World Cup.
5
Everyone needs to use a car from time to time, but gas can be expensive. Driving more economically can save you money and keep your car’s parts from wearing quickly. By avoiding aggressive driving, managing gears and electronics, and performing regular maintenance, you can drive more economically no matter where you’re going. ## Avoid aggressive drive 1. Brake in a controlled manner. Braking quickly makes your car lose any forward momentum you’ve built up while driving. By braking gently and gradually, you may find that a stop light changes to green during your gradual approach, and you don’t need to stop completely at all. This slow and steady approach saves you fuel. 2. Accelerate smoothly. Taking off from a full stop and accelerating quickly requires your car move through progressive gears quickly. This uses a lot of gas. Accelerating slowly and more steadily will require less of your car and save you money. 3. Minimize distractions. Whether you’re distracted by a phone call, music or your kids, distracted driving can cause you to brake abruptly and accelerate quickly. This burns lots of gas and is hard on your car. It can also make you more prone to a costly accident. Try to focus on the task at hand while driving and sideline loud music and phone interruptions. Distracted driving is more than just bad economics. It’s also dangerous. Take the safety of yourself and your passengers into account when you drive by giving the road your full attention. ## Manage gear and electronics 1. Use air conditioning wisely. At low speeds, using your air conditioning increases fuel consumption. Save your air conditioner for driving at higher speeds or roll your windows down to get a little air in a more economic way. 2. Cut down on electronics. Your car’s electronics, such as the headlights and window defrosters, require energy to run just as your car does. Turn off electronics when you aren’t using them to drive more economically. If certain electronic elements come on automatically when you start your car, see if you can disable those settings. 3. Use your gears effectively. Driving in a higher gear when appropriate can reduce fuel consumption. For example, if you’re driving on a flat road, you may be able to drive in a higher gear than if you’re driving uphill. ## Perform regular maintenance 1. Check your t
Everyone needs to use a car from time to time, but gas can be expensive. Driving more economically can save you money and keep your car’s parts from wearing quickly. By avoiding aggressive driving, managing gears and electronics, and performing regular maintenance, you can drive more economically no matter where you’re going. ## Avoid aggressive drive 1. Brake in a controlled manner. Braking quickly makes your car lose any forward momentum you’ve built up while driving. By braking gently and gradually, you may find that a stop light changes to green during your gradual approach, and you don’t need to stop completely at all. This slow and steady approach saves you fuel. 2. Accelerate smoothly. Taking off from a full stop and accelerating quickly requires your car move through progressive gears quickly. This uses a lot of gas. Accelerating slowly and more steadily will require less of your car and save you money. 3. Minimize distractions. Whether you’re distracted by a phone call, music or your kids, distracted driving can cause you to brake abruptly and accelerate quickly. This burns lots of gas and is hard on your car. It can also make you more prone to a costly accident. Try to focus on the task at hand while driving and sideline loud music and phone interruptions. Distracted driving is more than just bad economics. It’s also dangerous. Take the safety of yourself and your passengers into account when you drive by giving the road your full attention. ## Manage gear and electronics 1. Use air conditioning wisely. At low speeds, using your air conditioning increases fuel consumption. Save your air conditioner for driving at higher speeds or roll your windows down to get a little air in a more economic way. 2. Cut down on electronics. Your car’s electronics, such as the headlights and window defrosters, require energy to run just as your car does. Turn off electronics when you aren’t using them to drive more economically. If certain electronic elements come on automatically when you start your car, see if you can disable those settings. 3. Use your gears effectively. Driving in a higher gear when appropriate can reduce fuel consumption and be more efficient for your car’s engine. To that end, avoid changing through every intermediate gear as you drive. Skipping gears keeps engine speed and fuel consumption low during acceleration. While this technique only applies to manual vehicles, it can save you gas money and help you drive more efficiently. Several online tutorials can teach you to do this safely if you’re new to the technique. ## Perform routine maintenance 1. Check your tire pressure regularly. Keeping your tires at the high end of the recommended tire-pressure range creates less resistance as you drive. This saves you fuel and money. You might also consider having your tire alignment checked to ensure your car is running straight and efficiently. 2. Use the right specification of engine oil. Providing your car with the specific engine oil it requires can decrease engine friction. This will help your car function most efficiently, saving you fuel and money. You can find out what particular oil your car requires by reading the owner’s manual. 3. Get your car serviced regularly. Take your car to a good local mechanic to have it examined. Getting your car serviced regularly keeps all of its parts in good working order. When all parts of your car are clean and working optimally, your car will perform its best. ## Plan your trip 1. Pack light. Bringing extra luggage or hauling large items requires more gas to get your car from place to place. Drive more economically by managing the load on your vehicle. 2. Map your journey. Getting lost certainly won’t do anything for your fuel economy. Plan your trip ahead of time if you’re going somewhere unfamiliar. Bringing a phone with a mapping app or GPS can make your driving more efficient. 3. Carpool when possible. Carpooling saves gas and shares the burden of driving. Organize a carpool with a friend to places you visit frequently, such as work or school, to cut down on costs. You’ll also save your car from more wear and tear. 4. Combine errands. Rather than making lots of short trips, try to combine errands to save gas. This requires your car to start “cold” less frequently, which saves you fuel and money. It can be helpful to plan out the errands you have to do in a given week, so you can see what can be combined into one trip.
5
What is the best way to avoid SQL injection attacks in PHP?
The correct way to avoid SQL injection attacks, no matter which database you use, is to separate the data from SQL, so that data stays data and will never be interpreted as commands by the SQL parser. It is possible to create an SQL statement with correctly formatted data parts, but if you don't fully understand the details, you should always use prepared statements and parameterized queries. These are SQL statements that are sent to and parsed by the database server separately from any parameters. This way it is impossible for an attacker to inject malicious SQL. You basically have two options to achieve this: 1. Using PDO (for any supported database driver): ``` $stmt = $pdo->prepare('SELECT * FROM employees WHERE name = :name'); $stmt->execute([ 'name' => $name ]); foreach ($stmt as $row) { // Do something with $row } ``` 2. Using MySQLi (for MySQL): Since PHP 8.2+ we can make use of execute_query() which prepares, binds parameters, and executes SQL statement in one method: ``` $result = $dbConnection->execute_query('SELECT * FROM employees WHERE name = ?', [$name]); while ($row = $result->fetch_assoc()) { // Do something with $row } ``` Up to PHP8.1: ``` $stmt = $dbConnection->prepare('SELECT * FROM employees WHERE name = ?'); $stmt->bind_param('s', $name); // 's' specifies the variable type => 'string' $stmt->execute(); $result = $stmt->get_result(); while ($row = $result->fetch_assoc()) { // Do something with $row } ``` If you're connecting to a database other than MySQL, there is a driver-specific second option that you can refer to (for example, pg_prepare() and pg_execute() for PostgreSQL). PDO is the universal option.
5
Halflings were originally called hobbits prior to a legal challenge. According to Gary Gygax himself, it was due to a legal claim on "hobbit" by a company who purchased the merchandising rights on Tolkien's works in 1976: TSR was served with papers threatening damages to the tune of half a mil by the Saul Zantes (sp?) division of Elan Merchandising on behalf of the tolkien Estate. The main objection was to the boardgame we were publishing, The Battle of Five Armies. The author of that game had given us a letter from his attorney claiming the work was grandfathered because it was published after the copyrights for JRRT's works had lapsed and before any renewals were made. The action also demanded we remove balrog, dragon, dwarf, elf, ent, goblin, hobbit, orc, and warg from the D&D game. Although only balrog and warg were unique names we agreed to hobbit as well, kept the rest, of course. The boardgame was dumped, and thus the suit was settled out of court at that. Halflings were originally called "hobbits" in the Dungeons & Dragons box set first released in 1974. Later printings changed this to "halfling". According to The Acaeum, this change occurred between the fifth printing (Dec 1975 - Apr 1976) and sixth printing (1977), with the six printing being marked the Original Collector's Edition. However, Tim Kask has said that box sets were generally thrown together with whichever printings of the books were on hand, so the distinctions between printings are inexact. The Acaeum notes at least one box set shipped having the revised booklets but no Original Collector's Edition mark. Due to an oversight, a single reference to "hobbit" remained on page 6 of Men & Magic, which was fixed in the 2013 Deluxe reprint and PDF copies. According to Wikipedia, J.R.R. Tolkien's estate sued TSR for trademark infringement in 1978. The suit was settled out of court, with TSR agreeing to change the name "hob
Halflings were originally called hobbits prior to a legal challenge. According to Gary Gygax himself, it was due to a legal claim on "hobbit" by a company who purchased the merchandising rights on Tolkien's works in 1976: TSR was served with papers threatening damages to the tune of half a mil by the Saul Zantes (sp?) division of Elan Merchandising on behalf of the tolkien Estate. The main objection was to the boardgame we were publishing, The Battle of Five Armies. The author of that game had given us a letter from his attorney claiming the work was grandfathered because it was published after the copyrights for JRRT's works had lapsed and before any renewals were made. The action also demanded we remove balrog, dragon, dwarf, elf, ent, goblin, hobbit, orc, and warg from the D&D game. Although only balrog and warg were unique names we agreed to hobbit as well, kept the rest, of course. The boardgame was dumped, and thus the suit was settled out of court at that. Halflings were originally called "hobbits" in the Dungeons & Dragons box set first released in 1974. Later printings changed this to "halfling". According to The Acaeum, this change occurred between the fifth printing (Dec 1975 - Apr 1976) and sixth printing (1977), with the six printing being marked the Original Collector's Edition. However, Tim Kask has said that box sets were generally thrown together with whichever printings of the books were on hand, so the distinctions between printings are inexact. The Acaeum notes at least one box set shipped having the revised booklets but no Original Collector's Edition mark. Due to an oversight, a single reference to "hobbit" remained on page 6 of Men & Magic, which was fixed in the 2013 Deluxe reprint and PDF copies. According to Wikipedia, J.R.R. Tolkien sold the film, stage, and merchandising rights to The Hobbit and Lord of the Rings to United Artists in 1968, who sold them in turn to Saul Zaentz in 1976. Zaents would go on to produce the 1978 Lord of the Rings animated movie.
5
PHP If you don't know enough about the array (you're not sure whether the first key is foo or bar) then the array might well also be, maybe, empty. So it would be best to check, especially if there is the chance that the returned value might be the boolean FALSE: ```$value = empty($arr) ? $default : reset($arr); ``` The above code uses ```reset``` and so has side effects (it resets the internal pointer of the array), so you might prefer using ```array_slice``` to quickly access a copy of the first element of the array: ```$value = $default; foreach(array_slice($arr, 0, 1) as $value); ``` Assuming you want to get both the key and the value separately, you need to add the fourth parameter to ```array_slice```: ```foreach(array_slice($arr, 0, 1, true) as $key => $value); ``` To get the first item as a pair (```key => value```): ```$item = array_slice($arr, 0, 1, true); ``` Simple modification to get the last item, key and value separately: ```foreach(array_slice($arr, -1, 1, true) as $key => $value); ``` performance If the array is not really big, you don't actually need ```array_slice``` and can rather get a copy of the whole keys array, then get the first item: ```$key = count($arr) ? array_keys($arr)[0] : null; ``` If you have a very big array, though, the call to ```array_keys``` will require significant time and memory more than ```array_slice``` (both functions walk the array, but the latter terminates as soon as it has gathered the required number of items - which is one). A notable exception is when you have the first key which points to a very large and convoluted object. In that case ```array_slice``` will duplicate that first large object, while ```array_keys``` will only grab the keys. PHP 7.3+ PHP 7.3 onwards implements ```array_key_first()``` as well as ```array_key_last()```. These are explicitly provided to access the first and last key of an array. ```$key = array_key_first($arr); ``` ```$value = array_key_last($arr); ```
PHP If you don't know enough about the array (you're not sure whether the first key is foo or bar) then the array might well also be, maybe, empty. So it would be best to check, especially if there is the chance that the returned value might be the boolean FALSE: ```$value = empty($arr) ? $default : reset($arr); ``` The above code uses ```reset``` and so has side effects (it resets the internal pointer of the array), so you might prefer using ```array_slice``` to quickly access a copy of the first element of the array: ```$value = $default; foreach(array_slice($arr, 0, 1) as $value); ``` Assuming you want to get both the key and the value separately, you need to add the fourth parameter to ```array_slice```: ```foreach(array_slice($arr, 0, 1, true) as $key => $value); ``` To get the first item as a pair (```key => value```): ```$item = array_slice($arr, 0, 1, true); ``` Simple modification to get the last item, key and value separately: ```foreach(array_slice($arr, -1, 1, true) as $key => $value); ``` performance If the array is not really big, you don't actually need ```array_slice``` and can rather get a copy of the whole keys array, then get the first item: ```$key = count($arr) ? array_keys($arr)[0] : null; ``` If you have a very big array, though, the call to ```array_keys``` will require significant time and memory more than ```array_slice``` (both functions walk the array, but the latter terminates as soon as it has gathered the required number of items - which is one). A notable exception is when you have the first key which points to a very large and convoluted object. In that case ```array_slice``` will duplicate that first large object, while ```array_keys``` will only grab the keys. PHP 7.3+ PHP 7.3 onwards implements ```array_key_first()``` as well as ```array_key_last()```. These are explicitly provided to access first and last keys efficiently without resetting the array's internal state as a side effect. So since PHP 7.3 the first value of ```$array``` may be accessed with ```$array[array_key_first($array)]; ``` You still had better check that the array is not empty though, or you will get an error: ```$firstKey = array_key_first($array); if (null === $firstKey) { $value = "Array is empty"; // An error should be handled here } else { $value = $array[$firstKey]; } ```
5
What is the difference between convolution and correlation?
Convolution is correlation with the filter rotated 180 degrees. This makes no difference, if the filter is symmetric, like a Gaussian, or a Laplacian. But it makes a whole lot of difference, when the filter is not symmetric, like a derivative. The reason we need convolution is that it is associative, while correlation, in general, is not. To see why this is true, remember that convolution is multiplication in the frequency domain, which is obviously associative. On the other hand, correlation in the frequency domain is multiplication by the complex conjugate, which is not associative. The associativity of convolution is what allows you to "pre-convolve" the filters, so that you only need to convolve the image with a single filter. For example, let's say you have an image $f$, which you need to convolve with $g$ and then with $h$. $f * g * h = f * (g * h)$. That means you can convolve $g$ and $h$ first into a single filter, and then convolve $f$ with it. This is useful, if you need to convolve many images with $g$ and $h$. You can pre-compute $k = g * h$, and then reuse $k$ multple times. So if you are doing template matching, i. e. looking for a single template, correlation is sufficient. But if you need to use multiple filters in succession, and you need to perform this operation on multiple images, it makes sense to convolve the multiple filters into a single filter ahead of time.
5
What do you think about on a daily basis on your down time at work?
Hannah, You really want to know what I think about on a daily basis on my down time at work? Do you really want to know what goes on in the inner workings of my mind while you're not around? Well. Here it goes. My mind is ravaged with thoughts of what my life would be like without you and I don't like it. I'm too young to know many things for certain, but I do know that if I were to have to live my life without you in it, it would in no way, shape, or form be as fulfilling as it is now. You bring me the most unimaginable joy whenever I see your face. There are times where I feel like we could talk all night about anything and I wouldn't care how tired I was in the morning for work. Your work ethic and drive to be the best you can be is inspiring. There have been many times where I have found myself wishing for the same work ethic. But what really seals the deal is your compassion and empathy towards others. You want everyone to have the same opportunities and care in life that you have received and that has spurred me on to be more giving with my time and money towards causes that need it. I cannot wait to spend the rest of my days with you. You are beautiful beyond measure both on the inside and outside. Sincerely, Ryan
5
At the moment, 1990s-themed parties are hugely popular and can be immensely fun if you show up in the right outfit. Start by doing some research into popular celebrities and film or TV characters from the decade to get a sense for the fashions of the 90s. Then decide whether you want to copy an iconic look or riff off a popular trend. Choose one of the decade’s overarching trends and try to emulate the trend’s color palette and overall silhouettes in your outfit. Once you’re dressed the part, “party like it’s 1999”! ## Recreate a 90s grunge look 1. Opt for drab, slouchy clothes. Create an outfit made up of dark, murky colors and oversized garments. Try pairing baggy ripped jeans with a slouchy striped sweater in drab hues. Or throw an oversized, boxy leather jacket over a lived-in t-shirt featuring your favorite 90s grunge band. Look to Kurt Cobain for grunge inspiration. You could also try a slouchy top half with an acid-wash miniskirt and shredded tights for a more girly take on grunge. Finish off your look with long stringy hair and add some red eye makeup under your eyes to get that exhausted grunge appearance. 2. Mix in satin, lace, and floral prints for a romantic grunge look. Try a more glamorous take on grunge by assembling an outfit inspired by Courtney Love. Start with a feminine piece like a lace-trimmed satin slip dress or a cotton floral-printed dress. Then layer grunge elements over it. Drape an oversized cardigan or plaid flannel shirt over your dress and accessorize with chokers and chains and combat boots. Add smudged black eyeliner and deep red lipstick to complete your look. 3. Don’t forget to add an oversized plaid flannel shirt to your outfit. These shirts were a staple in 90s grunge. The oversized flannel plaid shirt was a staple in the 90s grunge look. The oversized flannel plaid shirt was a staple in the 90s grunge look. The oversized flannel pla
At the moment, 1990s-themed parties are hugely popular and can be immensely fun if you show up in the right outfit. Start by doing some research into popular celebrities and film or TV characters from the decade to get a sense for the fashions of the 90s. Then decide whether you want to copy an iconic look or riff off a popular trend. Choose one of the decade’s overarching trends and try to emulate the trend’s color palette and overall silhouettes in your outfit. Once you’re dressed the part, “party like it’s 1999”! ## Recreate a 90s grunge look 1. Opt for drab, slouchy clothes. Create an outfit made up of dark, murky colors and oversized garments. Try pairing baggy ripped jeans with a slouchy striped sweater in drab hues. Or throw an oversized, boxy leather jacket over a lived-in t-shirt featuring your favorite 90s grunge band. Look to Kurt Cobain for grunge inspiration. You could also try a slouchy top half with an acid-wash miniskirt and shredded tights for a more girly take on grunge. Finish off your look with long stringy hair and add some red eye makeup under your eyes to get that exhausted grunge appearance. 2. Mix in satin, lace, and floral prints for a romantic grunge look. Try a more glamorous take on grunge by assembling an outfit inspired by Courtney Love. Start with a feminine piece like a lace-trimmed satin slip dress or a cotton floral-printed dress. Then layer grunge elements over it. Drape an oversized cardigan or plaid flannel shirt over your dress and accessorize with chokers and chains and combat boots. Add smudged black eyeliner and deep red lipstick to complete your look. 3. Don’t forget to add an oversized plaid flannel shirt to your outfit. These shirts were a staple in 90s grunge. The oversized flannel plaid button-down can be worn with practically anything. Just be sure to pick one that’s about 3 sizes too big and that features dull, drab colors. Throw your flannel shirt over a lived-in graphic t-shirt or a feminine dress. Or tie it around your waist for a casual, careless look. 4. Incorporate acid-wash denim into your look. Opt for light- or medium-wash hues and acid or stonewashed textures. Try using it sparingly with 1 garment, like an oversized denim jacket or ripped baggy jeans. If you have time to do some DIY-ing, try creating a patchwork denim dress or skirt. If you want to really make an entrance, go all-out with a head-to-toe denim outfit. Acid-wash denim can also be glammed up with silver-toned accessories and more formal silhouettes. Look up the iconic denim outfits worn by Britney Spears and Justin Timberlake to see what’s possible. 5. Finish off your grunge look with a pair of combat boots. Whether you’re wearing baggy bottoms or black tights slip into a pair of combat boots. Aim for shoes in the style of Doc Martens or Timberland. Try a pair of second-hand shoes – the more worn-in, the better. ## Dress like a 90s prep 1. Start with bold plaid suiting. For guys, this means choosing plaid trousers or a boxy plaid sports jacket with roomy trousers. For women, pick a bold-colored tweed or plaid blazer and pleated miniskirt to achieve the schoolgirl look that was prevalent in the 90s. Add over-the-knee white socks and Mary Jane shoes to a plaid miniskirt. For a sassier schoolgirl look, try a white crop top or tied button-down under the blazer to show off your belly button. Model your outfit after the costumes in Clueless or Britney Spears’ “...Baby One More Time” look. You can either recreate one of these iconic costumes or pick out elements to inspire an original outfit. 2. Mix brightly-colored tops, bottoms, and sunglasses. The fashion of the 1990s contained some holdovers from the 1980s, most notably the saturated, fluorescent colors and prints. Work these into your preppy outfit with a color-blocked windbreaker. Or pair a bold-colored top with equally saturated trousers in a clashing color. Accessorize with Oakley-style sunglasses with slim oval or rectangular rims featuring tinted lenses. Play with color combinations like orange and pink, yellow and blue, or red and purple. For a masculine high school prep look, wear an oversized letterman jacket, a pastel-colored polo with a popped collar, and pastel trousers. Alternatively, try creating a more casual and youthful outfit with all of this color, like those worn in Saved By the Bell. 3. Try an oversized button-down and trousers for a take on 90s business casual. Graduate your preppy look to a yuppie one and riff on the decade’s emerging business casual look. Pair pleated trousers with a boxy sports jacket, or choose chinos and an oversized but tucked-in dress shirt with bright vertical stripes. Opt for a black crewneck t-shirt under a boxy sports jacket. Re-watch Friends and pay close attention to the workwear outfits shown. ## Follow 90s urban trend 1. Choose bold and baggy pieces for a hip-hop or R&B-inspired outfit. Artists of the time mixed brightly colored African-influenced prints with high-end sportswear and baggy bottoms and jackets. For a men’s outfit, combine these influences in an all-oversized look. For a women’s outfit, pair baggier pieces with fitted pieces to nail the look while showing off your curves. Get inspired by the outfits worn by girl groups like TLC or Salt-N-Pepa or male soloists like Ice Cube and Tupac Shakur. As a woman, try either pairing a baggy jacket with slim leggings or a crop top with loose-fitting cargo pants. Accessorize with big hoop earrings or a bandana. 2. Choose athletic pieces like track gear and chunky sneakers. Air Jordans were huge at the time, so pick out a pair of flashy, bulky sneakers. Try a muscle tank or a zip-up track jacket with stripes running down the sleeves. Beyond hip-hop artists, quite a few 90s boy bands sported the athletic-inspired outfits. Check out photos of Dream Street for reference. Rep your favorite team with a swishy starter jacket or old sports jersey. Women can get the look by slightly altering the silhouette. Try a high ponytail and a fitted crop top over low-slung track pants and platform sneakers à la Sporty Spice. 3. Top off your outfit with a 90s bucket hat, snapback hat, or scrunchie. Popular 90s headgear crossed the boundaries from hip-hop to preppy, so feel free to experiment. Bucket hats are great for masculine and feminine looks alike. Try a snapback for a more masculine effect or a scrunchie to make your outfit more girly. Tie your hair up in a high ponytail or 2 pigtails with a colorful scrunchie. To get an authentic-looking 90s outfit, pick up a snapback hat from the decade itself. Consider wearing your snapback hat backward with the adjustable strap at your forehead. Choose a classic bucket hat in a solid-color canvas, or go wild with a plaid or fuzzy-textured bucket hat. 4. Accessorize with chains. Try a chain belt slung low on the hips over flared denim. For a more masculine look, wear a thick chain connected to your belt loop and wallet. You can lean towards bling with elaborate gold chains. Or keep your look grungey with heavy silver-toned or gunmetal chains. ## Sport 90s mainstream and high fashion 1. Choose loud prints and graphics to recall casual 90s apparel. In the 90s, practically no print was off-limits. Play around with animal prints, paisley, small florals, plaid, Hawaiian florals, and camouflage. Or throw on a baggy graphic t-shirt featuring your favorite 90s bans or TV show. Skate culture blew up in the 90s. Try a skater-inspired t-shirt and look to characters like Travis in Clueless for ideas. Try camo and animal prints in either natural colors or bold, saturated hues. 2. Wear flares, halter tops, and flashy fabrics to nail the 90s disco revival. Just as the 1990s are being revived in the 2010s, the 1970s were being revived in the 1990s! This revealed itself through halter tops, flared jeans, platform shoes, and materials like sequins and colorful pleather. For women, try a pair of hip-hugging flare jeans with a cropped halter top to get the best of the-90s-does-the-70s fashion. 3. Try a metallic mini-dress for supermodel-inspired evening attire. Before the year 2000 (Y2K), space- and tech-inspired silvery, frosted colors and fabrics were popular. Recreate this look with a shiny silver or frosted pastel dress. Look for one with tank or spaghetti straps and either an empire waist or a shift dress silhouette. Add maribou trim to your dress’ hemline to get even more in the 90s mood. Try pairing pastel platform heels or strappy silver stilettos with your dress. Look at photos of supermodels like Kate Moss and Naomi Campbell, as well as the iconic party dresses worn in Romy and Michele, for inspiration. 4. Accessorize with popular 90s jewelry items like chokers and mood rings. For women, pick out a black plastic stretchy choker to add some 90s sass to your outfit. Slip on a color-changing mood ring to really get in the mood. Piercings were popular during the 90s, so slip on a fake belly-button ring (for ladies) or a small stud or hoop (for guys) if you don’t already have a piercing. Sport a brightly colored and patterned snap bracelet on your wrist. Add a hemp bracelet or choker to a slouchy masculine outfit.
5
Editing or overriding the row in Twitter bootstrap is a bad idea, because this is a core part of the page scaffolding and you will need rows without a top margin. To solve this, instead create a new class "top-
Editing or overriding the row in Twitter bootstrap is a bad idea, because this is a core part of the page scaffolding and you will need rows without a top margin. To solve this, instead create a new class "top-buffer" that adds the standard margin that you need. ```.top-buffer { margin-top:20px; }``` And then use it on the row divs where you need a top margin. ```<div class="row top-buffer"> ...```
5
Why can't Gaia be sent to the L2 point behind Neptune?
Well, you thought about the spatial aspect of a parallax measurement, but not about the temporal one. Gaia's intention is to measure 3D positions as well as 3D velocities. For the distance, you need accurate parallactic measurement, which come in with your orbital period. For a typical Gaia-star with several measurement per year, you'll get 5 values of the parallax after 5 years of time, which you then average. If you'd send Gaia towards Neptune (besides the fact that no one has ever sent an orbiter, to say nothing of a L2 mission that far out) that has a period of 168 years, then after 5 years you'd get... 5/168 th of one paralactic measurement. It simply couldn't achieve its science goals if put around the L2 behind Neptune. Also no one on this planet has any experience in putting something into a outer system L2 point. This is different than putting it into Earth's L2, because reaching the L2 around one of the giants has vast and very precise $\Delta v$ requirements. This would be a massive technological leap, and things don't work that way in space. Small, incremental technological steps are required in an anyways unfriendly environment, to make sure everything works properly and no millions of dollars have been wasted. Compare that to Gaia's predecessor, the Hipparcos satellite, which was parked in geostationary orbit. Now you could still say, why not use Jupiter hypothetically anyways. Well, the orbital period there is still 11 years, and Jupiter's L2 still suffers from the intense radiation environment that is provided by Jupiter's magnetosphere. This would lead to rapid degradation of the CCDs used for scanning across the sky.
5
What's the in-universe explanation for why a gnome is stronger than a goliath in D&D?
D&D is a terrible reality simulator. The problem that you're having here is that, in real life, most people who are 7 feet tall are going to be faster, stronger, and all-around more physically powerful than a person who is 3 feet tall. If you compare two people of similar athleticism, the person who is 4 feet taller is going to be able to physically dominate the other. However, D&D is not a game built to simulate reality. It's a game built to let you play through stories about heroes who fight against a large variety of evil things. It's built to let players build a wide array of kinds of hero, and let them generally be effective at their role, even if the character options they picked wouldn't work in real life. This means that the game will let you build a gnome strongman, if that's the kind of character you want to play. The designers wouldn't want your gnome strongman to be much worse at being a strongman than a character of a different race, so the only racial 'penalty' to being a strongman that you get is that you don't get a racial bonus to Strength. All of this is based on intentional design choices to make as many player archetypes as possible viable. In-universe, they'd explain this just like we would in real life. If a really buff but physically small person wins, say, an arm-wrestling contest with someone pushing 7 feet, we'd be impressed. It would be odd, for sure, but it wouldn't be something impossible. In a world where divine blessings and magic are commonplace, the idea of a strong gnome beating a goliath in a contest of strength becomes less unbelievable, and more possible.
5
I am Fear Lord! Scourge of Humanity, Vanquisher of Captain Pillow, and Grand Ruler of 2/3 of Australia! Bow before me! I write you today on behalf of Consuela! Sc
To whom it may concern, I am Fear Lord! Scourge of Humanity, Vanquisher of Captain Pillow, and Grand Ruler of 2/3 of Australia! Bow before me! I write you today on behalf of Consuela! Scourge of Dust, Vanquisher of Laundry, and Grand Maid of Fear Lord Tower. You shall hire Consuela to do your bidding or you shall hear from Fear Lord! Consuela is the most astute servant that Fear Lord has ever seen. Should my plans include killing the human race, I would spare Consuela for her ability to rid the world of the bodies. Her services are above reproach, any who say otherwise shall incur the wrath of me! Fear Lord! Muahaha! So, puny potential employer, take note of her abilities. She masterfully cleans blood from carpets! She is able to attach laser beams to various animals! She has the magical ability to fold fitted sheets! Consuela is too good for you! Hire her at once. Sincerely, Fear Lord! Scourge of Humanity, Vanquisher of Captain Pillow, and Grand Ruler of 2/3 of Australia! p.s. Bow before me!
5
Most people have heard of Down syndrome. But there are hundreds of other chromosome disorders a child can have, many of which are diagnosed in only a few children, or may even be unique to that child. ## Get information 1. Learn about genetics. Most people have 46 chromosomes, arranged in 23 pairs. One pair is the sex chromosomes, which in males is usually XY and in females XX. The other 22 pairs, known as autosomes, are numbered by size, with chromosome 1 being the biggest. Each chromosome has a longer arm, called the q arm, and a shorter arm, called the p arm. Each arm has bands that are numbered, with the band closest to the middle (centromere) being numbered 11.1. Terminus (shortened to "ter") refers to a tip of a chromosome. A "terminal" chromosome disorder is not fatal; it just involves the terminus. Learn about the types of changes. Nullisomy means that there are zero copies of a chromosome. Deletion/monosomy means that there is only one copy of the chromosome or piece of chromosome. Duplication/trisomy means that there are 3 copies. Tetrasomy and pentasomy refer to 4 and 5 copies, respectively. Translocations are when chromosomes swap material. If it is balanced, this means the same number of copies of material is present, but they are arranged differently - for example they have part of 3q on 2q and part of 2q on 3q, but it all adds up to the same thing. If it is unbalanced, the child has trisomy and/or monosomy for some part of the involved chromosomes. Very often, an unbalanced translocation is inherited from a parent with a balanced translocation, but it can also occur as a new mutation, which is called 'de novo'. For example, they may have part of 2q missing and part of 3q in its place, causing partial monosomy of 2q and partial trisomy of 3q. In an unbalanced translocation, the abnormal chromosome is called the derivative chromosome, and the normal chromosome is called the donor chromosome. 2. Learn about the types of chromosome disorders. Chromosome disorders can be classified by the type of chromosome abnormal
Most people have heard of Down syndrome. But there are hundreds of other chromosome disorders a child can have, many of which are diagnosed in only a few children, or may even be unique to that child. ## Get information 1. Learn about genetics. Most people have 46 chromosomes, arranged in 23 pairs. One pair is the sex chromosomes, which in males is usually XY and in females XX. The other 22 pairs, known as autosomes, are numbered by size, with chromosome 1 being the biggest. Each chromosome has a longer arm, called the q arm, and a shorter arm, called the p arm. Each arm has bands that are numbered, with the band closest to the middle (centromere) being numbered 11.1. Terminus (shortened to "ter") refers to a tip of a chromosome. A "terminal" chromosome disorder is not fatal; it just involves the terminus. Learn about the types of changes. Nullisomy means that there are zero copies of a chromosome. Deletion/monosomy means that there is only one copy of the chromosome or piece of chromosome. Duplication/trisomy means that there are 3 copies. Tetrasomy and pentasomy refer to 4 and 5 copies, respectively. Translocations are when chromosomes swap material. If it is balanced, this means the same number of copies of material is present, but they are arranged differently - for example they have part of 3q on 2q and part of 2q on 3q, but it all adds up to the same thing. If it is unbalanced, the child has trisomy and/or monosomy for some part of the involved chromosomes. Very often, an unbalanced translocation is inherited from a parent with a balanced translocation, but it can also occur as a new mutation, which is called 'de novo'. For example, they may have part of 2q missing and part of 3q in its place, causing partial monosomy of 2q and partial trisomy of 3q. In an unbalanced translocation, the abnormal chromosome is called the derivative chromosome, or der for short. So they may write t(2;3)der(2) to indicate the child has the 2 with chromosome 3 material instead of the 3 with chromosome 2 material. 2. Find medical information on your child's condition. There may not be much out there, but find what you can, because it can give you an idea what to expect for your child. Be careful to pay attention to what specific chromosome region is affected, including what bands are involved - even though they both have 22q deletion, kids with 22q11 deletion have a totally different syndrome from 22q13 deletion. Also keep in mind duplication/trisomy versus deletion/monosomy, because these are genetic opposites. When reading medical case studies, remember that they focus on the negative. You're probably not going to hear the doctor talk about how sweet and caring the child is, or how much their parents feel lucky for knowing them, because it's not medically relevant. You will learn about some of the health problems your kid could face. 3. See if parents have written about your child's condition. Depending on how rare the condition is, there may be other parents out there who have written about what it is like to raise a child who has it. 4. Look for adults with your child's condition. Many adults with genetic disabilities are able to use computers when they become adults. Do any of them have blogs or social media accounts? They may be able to offer good advice. Here are some benefits of learning from adults with disabilities: * They can tell you about the parenting strategies that did and didn't help. They may be able to offer detailed advice about your child. Watching them can help you envision what your child's life will be like someday. ## Cop 1. Don't assume the worst. Many doctors, when they don't know the prognosis for a condition, will act like it's more severe than it really is. Even parents of kids with very mild chromosome disorders have been told their child will never walk or talk and/or will die in infancy. If your child has a rare syndrome, take dire prognoses with a grain of salt. 2. Recognize that infancy is the worst time. For many chromosomal conditions, the first year or two of life are the hardest, as caregivers and healthcare providers try to figure out the child's needs. It won't always be this bad, and it's likely to get easier. If you've been told that your child may die, recognize that extreme early death usually happens in the first 3 years of life, or not at all. If your child is fine at age 4, they'll probably be fine at age 24 and age 44. 3. Give yourself time to process. You may feel a range of emotions as you realize that your child's life will look different than you thought it would. This is normal. Don't expect yourself to adjust immediately. 4. Tell other people how they can support you. People around you may want to help, but not know what they can do. Let them know what your family needs, and give them the opportunity to help. "Between all the doctor appointments, we barely have time to cook. It would be really nice to have someone prepare a meal or maybe invite us for dinner once in a while." "We could really use a babysitter on weekends." "We're so busy for with the baby that the kids can feel left out. If they could go to your house to play with your kids sometimes, it might help cheer them up." "I'm really worried about the upcoming surgery. My wife can't be there due to her conference. It would really help to have someone there with me." 5. Make peace with the fact that life will be different. Your child is going to learn differently, behave differently, and show you how much they love you differently. Sometimes it will be harder, but there will also be beautiful parts. Remember that not every quirk is a deficit. Some differences are positives, and others are neither good nor bad. It's okay for your child to be unique. 6. Take time for yourself. You can't pour from an empty cup, and you can't help your child much if you're physically and emotionally exhausted. Try to set aside a little "me time" each day, even if it's only 5 minutes. Ask yourself "What would help me feel better right now?" Could it be a shower? A cup of tea? A hug? Try to get it. ## Move forward 1. Seek out parent support groups. If you can find other parents of kids with the same or overlapping chromosome disorders, great, but even parents of kids with completely different conditions can be a great source of support. UNIQUE has leaflets on many rare conditions. 2. Get therapy early. Early intervention is important. As soon as your child is medically stable, sign them up for physical, occupational and/or speech therapy - even if they are still a tiny baby. This will help them reach their full potential. Although very few kids with chromosome disorders are so affected that they can't walk or talk, most have some degree of cognitive or learning disability. The more they can do for themselves, the less support they will need from others in adulthood. Take notes during therapy and ask for activities that you can do at home. Bad therapists do exist. If a therapist tells you to be cruel or punitive towards your child, find a new therapist. Childhood should be fun, not scary. You don't want your child to gain an anxiety disorder along with their new skills. 3. Make time for your child's siblings, if there are any. At times, they may feel left out, especially if you're busy taking care of your disabled child's needs. Try to spend quality time with each of your children every day. If you don't spend time with a child on one day, try to make up for it during the weekend. 4. Celebrate your child! Your child is different, and they have their own special combination of traits that make them who they are. Love them for who they are, and treasure the good moments. Some conditions, such as Williams syndrome, include positive aspects. Let go of the idea of the child you could have had, and focus on the real child you have right now. They need your love.
5
How can I get the indices of the n highest elements of an array in Python?
If you negate an array, the lowest elements become the highest elements and vice-versa. Therefore, the indices of the `n` highest elements are: ``` (-avgDists).argsort()[:n] ``` Another way to reason about this, as mentioned in the comments, is to observe that the big elements are coming last in the argsort. So, you can read from the tail of the argsort to find the `n` highest elements: ``` avgDists.argsort()[::-1][:n] ``` Both methods are O(n log n) in time complexity, because the argsort call is the dominant term here. But the second approach has a nice advantage: it replaces an O(n) negation of the array with an O(1) slice. If you're working with small arrays inside loops then you may get some performance gains from avoiding that negation, and if you're working with huge arrays then you can save on memory usage because the negation creates a copy of the entire array. Note that these methods do not always give equivalent results: if a stable sort implementation is requested to argsort, e.g. by passing the keyword argument kind='mergesort', then the first strategy will preserve the sorting stability, but the second strategy will break stability (i.e. the positions of equal items will get reversed).
5
What is the camel's back?
That's it... the camels back was finally broken. Author had at last wasted what was the last of James' dwindling patience, and for what? to ship him with the GOD DAMN VILLAIN? everything he's been through, every bit of unwelcome trauma and stress had lead to another overused and boring cliché. he would have preferred his author ship him with a leech than with August, but NO....they HAD to fall in love didn't they? and worse still was that they HAD to have an intense seen before kissing and spending eternity together... just thinking of it made James gag. he wondered what kind of people would actually read this kind of stuff... did those people ACTUALLY believe that He and August belonged together? he tolerated all the other stuff; the love triangles, the betrayals, the disapprovals and the unforeseen deaths of beloved fellow characters... but enemies to lovers was not the genre he wanted to exist in. He refused to play along, He was nobodies puppet and he would bow to no one... not even almighty Author. he knew that his story would have him go to August, to fight her for the final time before he confessed to always having loved her. This time he would hold the pen... he would write his own ending and live a life he DESERVED....
5
What is the difference between list.sort() and sorted()?
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) ```
5
What is the counter variable inside the loop called in jinja2?
The counter variable inside the loop is called loop.index in Jinja2. ``` >>> from jinja2 import Template >>> s = "{% for element in elements %}{{loop.index}} {% endfor %}" >>> Template(s).render(elements=["a", "b", "c", "d"]) 1 2 3 4 ``` In addition to `loop.index`, there is also * `loop.index0` (index starting at `0`) * `loop.revindex` (reverse index; ending at `1`) * `loop.revindex0` (reverse index; ending at `0`) etc.
5
> The original IBM PC and later variants used an Intel 8253 or 8254 as a sound chip. The 8253 is a timer circuit, containing three timers able to generate timed interrupts or square-wave output with programmed frequencies. On the PC the third timer's output is, via an amplifier, connected to a simple speaker. As said before, calling a 'simple' timer a sound chip is quite a stretch. Since it's a digital output, no level control is available. Only on or off is possible. At best this results in rather nasty sounding square waves. There is no provision to smooth the signal (beside the inertia of the speaker membrane). Also, the only frequencies that can be selected are those that result from dividing the base frequency (1,193,181.8 Hz) by an integer in the range of 1&ndash;65535. So even when accepting the meager signal quality, only very few notes can be played at correct frequency. Already the basic 440 Hz concert pitch will be off by .5Hz. So whatever is played using the timer will sound off pitch. Music can still sound good if a little off pitch, but only when all notes are off in the same way (*1) - which is not the case with this 'sound chip'. Of course, there are also ways to manipulate the sound even a bit better by manually handling the output - which results in 100% CPU time usage. > Why did users add sound cards such as the Adlib or Sound Blaster. Simply because they wanted sound - or at least music. Not just a beeper. > What was lacking with the original PC sound chip? As said before, it's no sound chip at all. A sound chip will need programmable oscillators for different wave forms and at least some analogue ciruitry to make a smooth, more natural sound. Ofcourse, from an enginering point, the PC's use of a timer was a great improvement over the Apple II, its model and competition, as it allowed the beeping in parallel - not that this feature was used by BIOS or DOS. Last but not least, the PC is an open system. It is made of parts that can be replaced by other parts. If you don't like the beeper, you can replace it with a sound card. > What was lacking with the original PC sound chip that users added sound cards such as the
> The original IBM PC and later variants used an Intel 8253 or 8254 as a sound chip. The 8253 is a timer circuit, containing three timers able to generate timed interrupts or square-wave output with programmed frequencies. On the PC the third timer's output is, via an amplifier, connected to a simple speaker. As said before, calling a 'simple' timer a sound chip is quite a stretch. Since it's a digital output, no level control is available. Only on or off is possible. At best this results in rather nasty sounding square waves. There is no provision to smooth the signal (beside the inertia of the speaker membrane). Also, the only frequencies that can be selected are those that result from dividing the base frequency (1,193,181.8 Hz) by an integer in the range of 1&ndash;65535. So even when accepting the meager signal quality, only very few notes can be played at correct frequency. Already the basic 440 Hz concert pitch will be off by .5Hz. So whatever is played using the timer will sound off pitch. Music can still sound good if a little off pitch, but only when all notes are off in the same way (*1) - which is not the case with this 'sound chip'. Of course, there are also ways to manipulate the sound even a bit better by manually handling the output - which results in 100% CPU time usage. > Why did users add sound cards such as the Adlib or Sound Blaster. Simply because they wanted sound - or at least music. Not just a beeper. > What was lacking with the original PC sound chip? As said before, it's no sound chip at all. A sound chip will need programmable oscillators for different wave forms and at least some analogue ciruitry to make a smooth, more natural sound. Ofcourse, from an enginering point, the PC's use of a timer was a great improvement over the Apple II, its model and competition, as it allowed the beeping in parallel - not that this feature was used by BIOS or DOS. Last but not least, the PC is an open system. It is made to add new/better hardware. So why shoudn't there be a real sound card? Improving the machine is a core feature of the design. Addendum: agtoever added a comment with a great example of what was possible with the direct fiddling with the speaker. Awesome, but less than apealing when compared to even the cheapest form of soundcard, the AdLib of the same time, as used by Monkey Island. Next to zero CPU usage and crisp clear sound. Not to mention easy programming. I'd call that a huge advantage. *1 - The average human decodes frequencies relative to each other. As a result sound is still perceived as good, even if the whole scale is shifted, as long as it's in the same direction and same percentage. Output needs to be way off to be noticed by an average listener. In contrast, if notes are off by a different margin and in different directions, even less trained listeners will notice.
5
###Piloting A crew member who is controlling a helm gains one point of experience for each incoming projectile that is dodged during combat. This includes asteroids, so long as you are in combat at the time. (Note that the dodges do not count while you ship is under the effects of +60% evasion from a cloak.) This can be explicitly trained by finding an enemy that cannot break through your shields, and letting him fire at you. Increasing your dodge chance (i.e. more power to engines) will help this occur quicker, but even with the default chance you can max out the skill eventually. ###Engines Exactly as for piloting, a crew member manning the engines gains one point of XP for each projectile evaded while uncloaked in combat - and so it can be trained in the same way. ###Weapons A crew member who is manning the weapons station gains one point of experience for each weapon that is fired. It doesn't matter whether it hits or misses, or whether it can do damage (e.g. a beam weapon fired at a shield). (Multi-shot weapons such as burst lasers still count as a single fire order and hence a single XP.) This can be trained by firing non-lethal weapons (e.g. ones that do ion damage) repeatedly against a target that cannot damage you. ###Shields A crew member manning the shields station gains one point of experience for each shield "bubble" that is brought back up during combat. It doesn't matter why the shields were down, be that direct enemy fire, ion damage, asteroid strikes, or even manually removing and then restoring power to the shield systems. This can be trained by letting a target that cannot break through all of your shields repeatedly take one layer down. (For fastest results, move your pilot away from the helm, or reduce your engines to 0 power. This will reduce your dodge chance to 0%, ensuring that everything hits your shields.) Note that you used to be able to manually remove power and restore it in combat, to get points, but this has been patched. ###Repair A crew member gains one point of experience for getting the "repair" skill up to 100%. This can be trained by repairing your ship's hull. ###Engineering A crew member gains one point of experience for getting the "engineering" skill
###Piloting A crew member who is controlling a helm gains one point of experience for each incoming projectile that is dodged during combat. This includes asteroids, so long as you are in combat at the time. (Note that the dodges do not count while you ship is under the effects of +60% evasion from a cloak.) This can be explicitly trained by finding an enemy that cannot break through your shields, and letting him fire at you. Increasing your dodge chance (i.e. more power to engines) will help this occur quicker, but even with the default chance you can max out the skill eventually. ###Engines Exactly as for piloting, a crew member manning the engines gains one point of XP for each projectile evaded while uncloaked in combat - and so it can be trained in the same way. ###Weapons A crew member who is manning the weapons station gains one point of experience for each weapon that is fired. It doesn't matter whether it hits or misses, or whether it can do damage (e.g. a beam weapon fired at a shield). (Multi-shot weapons such as burst lasers still count as a single fire order and hence a single XP.) This can be trained by firing non-lethal weapons (e.g. ones that do ion damage) repeatedly against a target that cannot damage you. ###Shields A crew member manning the shields station gains one point of experience for each shield "bubble" that is brought back up during combat. It doesn't matter why the shields were down, be that direct enemy fire, ion damage, asteroid strikes, or even manually removing and then restoring power to the shield systems. This can be trained by letting a target that cannot break through all of your shields repeatedly take one layer down. (For fastest results, move your pilot away from the helm, or reduce your engines to 0 power. This will reduce your dodge chance to 0%, ensuring that everything hits your shields.) Note that you used to be able to manually remove power and restore it in combat, to get points, but this has been patched. ###Repair A crew member gains one point of experience for getting the "finishing blow" when repairing a (sub)system. Note that hull breaches provide no repair experience. There's no specific way to train this as it requires your systems to be damaged. Though you can focus the XP gains by always having the same person run around and repair everything after a battle. ###Combat A crew member gains one point of experience for getting the finishing blow when fighting an enemy crew member or (sub)system. This generally gets trained in "real" situations. However, since XP is gained for taking out systems, a few extra XP can be gained from boarding if one tries to take out the enemy's systems before the crew.
5
What is the best way to create a temporary file in Android?
Here is an example: ``` File outputDir = context.getCacheDir(); // context being the Activity pointer File outputFile = File.createTempFile("prefix", ".extension", outputDir); ``` Explanation: 1. The `getCacheDir()` method returns the directory on the filesystem where your app can create cache files. 2. The `createTempFile()` function creates a temporary file in a given directory.
5
🚨Life Update🚨
🚨Life Update🚨 From next week I’m C-Data-O of Awesome.AI! 🤩 🙏 Radical.AI - will miss you all!
5
You can do stretches, strengthening and breathing exercises to improve your posture. But you also have to become aware of your posture and find a way to interrupt prolonged sitting intervals with brief breaks. A good ergonomic chair is also helpful. ## Musculo-Skeletal Effects of Poor Sitting Posture Poor sitting posture can create muscle imbalances over time. * In general, your front stuctures shorten, with muscles like your hip flexors and pectorals tightening up - pulling you into a ball. Your crunched sitting posture caves your lower ribs down towards your abdomen which prevents the diaphragm from expanding freely. * At the same time the muscles of your back stretch out and weaken, especially in the range where they should be working to maintain your posture. As this posture persists over time, you joints begin to lose normal range of motion as well making it more difficult to assume a good posture. ## Correcting Slumped Sitting Posture Tailor an exercise program to stretch tightened muscles and strengthen weakened muscles. Additionally, you need a method to become aware of your posture and correct it while you are sitting. This is difficult because as you say, your attention is on your work. Exercise programs like Yoga, Tai-Chi and Pilates are good because they all address and make you very aware of your posture, joint alignments, flexibility, core control and breathing. Use Specific Exercises to Correct Muscle Imbalances: * Back, Upper Back and Scapular muscles: Back Extensions strengthen your paraspinals. Use different arm positions (Y, T, W, L) to target your lower traps, mid traps, rhomboids and scapular stabilizors. Learn the feel of retracting your scapulas. You can do these on the floor next to your desk. Or if you prefer not to get on the floor, use resistance bands for reverse flys, wide rows, narrow rows and rotations. Away from work, you can also strengthen these muscles using weights, cables and body weight exercises like inverted rows. * Hip Flexors and Quadriceps: Sit on the floor next to your desk with your legs straight out in front of you. Pull your knees up to your chest and hold.
You can do stretches, strengthening and breathing exercises to improve your posture. But you also have to become aware of your posture and find a way to interrupt prolonged sitting intervals with brief breaks. A good ergonomic chair is also helpful. ## Musculo-Skeletal Effects of Poor Sitting Posture Poor sitting posture can create muscle imbalances over time. * In general, your front stuctures shorten, with muscles like your hip flexors and pectorals tightening up - pulling you into a ball. Your crunched sitting posture caves your lower ribs down towards your abdomen which prevents the diaphragm from expanding freely. * At the same time the muscles of your back stretch out and weaken, especially in the range where they should be working to maintain your posture. As this posture persists over time, you joints begin to lose normal range of motion as well making it more difficult to assume a good posture. ## Correcting Slumped Sitting Posture Tailor an exercise program to stretch tightened muscles and strengthen weakened muscles. Additionally, you need a method to become aware of your posture and correct it while you are sitting. This is difficult because as you say, your attention is on your work. Exercise programs like Yoga, Tai-Chi and Pilates are good because they all address and make you very aware of your posture, joint alignments, flexibility, core control and breathing. Use Specific Exercises to Correct Muscle Imbalances: * Back, Upper Back and Scapular muscles: Back Extensions strengthen your paraspinals. Use different arm positions (Y, T, W, L) to target your lower traps, mid traps, rhomboids and scapular stabilizors. Learn the feel of retracting your scapulas. You can do these on the floor next to your desk. Or if you prefer not to get on the floor, use resistance bands for reverse flys, wide rows, narrow rows and rotations. Away from work, you can also strengthen these muscles using weights, cables and body weight exercises like inverted rows, cable rows, bent over rows, reverse flys etc. And squats are a good for strengthening multiple muscles important to posture. * Core: Plank, Side Plank, Bird Dog and Bridge will stabilize your trunk and spine. * Stretches: - Hip Flexors, Hamstrings, Abs and Pecs. The wall pec stretch stretches the pecs but also contracts the rhomboid and trapezius scapular muscles to help improve the positioning of the shoulder and shoulder blade and is easy to do at work. * Sitting Posture and Breathing Awareness - This sitting posture exercise helps make you aware of your sitting alignment and expanding your diaphragm. Practice a few diaphramatic breaths throughout the day along with this sitting exercise to elongate your spine. Create your ideal short exercise routine that you can do during short breaks during the day. An exercise ball next to your desk can help you target these muscles in just a few minutes: * Lie back over the ball and stretch out your front * Lie face down over the ball and do the Y, W, T, L exercises. And consider using the ball as your desk chair for short periods. ## Remembering your Posture throughout the day: This is the hard part. As your muscle imbalances begin to resolve and your diaphragmatic breathing improves, you’ll find that the slouched posture becomes less comfortable and you will automatically begin to sit better. Until then, use a timed reminder or try tying your posture corrections to tasks that you do at the computer regularly. For example, correct your posture each time you check your email or some other specific link. Turn on your web cam for visual reminders. Keep at it until you feel the improvement. You'll have less problems going forward if you improve your posture. It either gets better - or it gets worse.
5
What is the worst thing that could happen to Alex?
An awful ache appeared as Alex, abused and alone, agonisingly approached annihilation - and an afterlife.
5
What do you do when you find a book titled "I Know Your Secret, Elongated Muskrat"?
I stand there, shocked, unmoving as people scuttle by through the busy streets of New York. Some even give me confused looks. I return the look- the confusion isn’t directed at them though, it’s directed at the small, pamphlet-type book that sits alone on a small bookshelf in this even smaller shop. I stumble in, forgetting exactly what it was I was doing before my eyes had glanced upon this book. As I strode in, I ran for the book, not paying attention to the confused glances of all the shop’s inhabitants. As I pick it up, sweating profusely, I read the title, horrified. *I Know Your Secret, Elongated Muskrat*
5
```git cherry-pick -p``` doesn't exist. What can I do instead?
The core thing you're going to want here is ```git add -p``` (```-p``` is a synonym for ```--patch```). This provides an interactive way to add in content, letting you decide whether each hunk should go in or not, and even letting you manually edit the patch if necessary. To use it in combination with cherry-pick: ```git cherry-pick -n # get your patch, but don't commit (-n = --no-commit) git reset # unstage the changes from the cherry-picked commit git add -p # make all your choices (add the changes you do want) git commit # make the commit! ``` ``git-cherry-pick``` has a ```--no-commit``` option, and you need to do ```git reset```. If you only want to leave a few things out of the commit, you could use ```git reset ...``` to unstage just those files.) You can provide specific paths to ```add -p``` if necessary. If you're starting with a patch you could replace the ```cherry-pick``` with ```apply```. If you really want to ```git cherry-pick -p ``` (that option does not exist), you can use ```git checkout -p ``` That will diff the current commit against the commit you specify, and allow you to apply hunks from that diff individually. This option may be more useful if the commit you're pulling in has merge conflicts in part of the commit you're not interested in. (Note, however, that ```checkout``` differs from ```cherry-pick```: ```checkout``` tries to apply ``````'s contents entirely, while ```cherry-pick``` applies the diff of the specified commit from it's parent. This means that ```checkout``` can apply more than just that commit, which might be more than you want.)
5
```git checkout -f donor-branch # replace bothersome files with tracked versions git checkout receiving-branch # tracked bothersome files disappear git merge donor-branch # merge works``` ```git
Safely remove/overwrite only bothersome files When you want to ```merge```: ```git checkout -f donor-branch # replace bothersome files with tracked versions git checkout receiving-branch # tracked bothersome files disappear git merge donor-branch # merge works ``` When you want to ```pull```: ```git fetch git checkout -f origin/mybranch # replace bothersome files with tracked versions git checkout mybranch # tracked bothersome files disappear git pull origin/mybranch # pull works ``` That's all you need to know to use this. Below is an explanation. Detailed explanation The Bothersome Files that we are going to remove: * exist in the donor branch (for ```git pull```: the upstream branch), * do not exist in the receiving branch, * and are blocking the merge because they are present and untracked in your working directory. ```git merge -f``` and ```git pull -f``` do not exist, but ```git checkout -f``` does. We will use ```git checkout -f``` + ```git checkout``` to track + remove the Bothersome Files, and then your merge can proceed normally. Step 1. This step forcibly replaces untracked Bothersome Files with tracked versions of the donor branch (it also checks out the donor branch, and updates the rest of the working dir). ```git checkout -f donor-branch ``` Step 2. This step removes the Bothersome Files because they they are tracked in our current (donor) branch, and absent in the ```receiving-branch``` we switch to. ```git checkout receiving-branch ``` Step 3. Now that the Bothersome Files are absent, merging in the donor branch will not overwrite any untracked files, so we get no errors. ```git merge donor-branch ```
5
The ability to hold your breath for a long period of time is a much sought-after skill. Maybe you want to last longer underwater while diving or surfing, or maybe you're just looking for an impressive party trick. Whatever the reason, it is actually surprisingly easy to increase the amount of time you can go without breathing, provided you use the right training techniques and follow adequate safety precautions. Read below to find out how. ## Optimize your lung capacity 1. Do exercises to increase your lung capacity. While there is no way to increase your lung size, there are many ways to increase the amount of air your lungs take in, and the efficiency with which they capture oxygen. In particular, a rigorous exercise routine can help to strengthen your lungs and maximize their capacity to hold air. Do plenty of cardio. Incorporating some intense cardio workouts into your weekly routine can do wonders for your lungs. Running, skipping, aerobics and swimming are all great forms of cardiovascular exercise which get the blood pumping and the lungs working hard to supply the body with the oxygen it needs to keep going. Try doing exercising in intense 30 minute bursts, pushing your body to its limits, to achieve the best result. Exercise in water. Exercising in water (swimming, water aerobics, underwater weight training) is also a form of cardio exercise, but the water provides an element of resistance which requires the body to work harder to complete each task. As a result, the lungs need to work harder to supply the body with oxygen, causing their air capacity to increase significantly over time. Work-out at high elevation. At higher elevations, there is less oxygen in the air, meaning your lungs have to work harder to supply the body with oxygen. This is an excellent way to strengthen the lungs, but you must be careful not to train to hard, or you could potentially fall victim to altitude sickness. 2. Lose weight. Any excess baggage reduces your body's efficiency in using oxygen, as there is increased body mass to which your blood must pump oxygen. As a result, many competitive breath holders will attempt to shed any extra pounds in the weeks coming up to a competition. ## Improve your breathing technique 1. Breathe through your nose. Breathing through your nose is much more efficient than breathing through your mouth. When you breathe through your nose, the
The ability to hold your breath for a long period of time is a much sought-after skill. Maybe you want to last longer underwater while diving or surfing, or maybe you're just looking for an impressive party trick. Whatever the reason, it is actually surprisingly easy to increase the amount of time you can go without breathing, provided you use the right training techniques and follow adequate safety precautions. Read below to find out how. ## Optimize your lung capacity 1. Do exercises to increase your lung capacity. While there is no way to increase your lung size, there are many ways to increase the amount of air your lungs take in, and the efficiency with which they capture oxygen. In particular, a rigorous exercise routine can help to strengthen your lungs and maximize their capacity to hold air. Do plenty of cardio. Incorporating some intense cardio workouts into your weekly routine can do wonders for your lungs. Running, skipping, aerobics and swimming are all great forms of cardiovascular exercise which get the blood pumping and the lungs working hard to supply the body with the oxygen it needs to keep going. Try doing exercising in intense 30 minute bursts, pushing your body to its limits, to achieve the best result. Exercise in water. Exercising in water (swimming, water aerobics, underwater weight training) is also a form of cardio exercise, but the water provides an element of resistance which requires the body to work harder to complete each task. As a result, the lungs need to work harder to supply the body with oxygen, causing their air capacity to increase significantly over time. Work-out at high elevation. At higher elevations, there is less oxygen in the air, meaning your lungs have to work harder to supply the body with oxygen. This is an excellent way to strengthen the lungs, but you must be careful not to train to hard, or you could potentially fall victim to altitude sickness. 2. Lose weight. Any excess baggage reduces your body's efficiency in using oxygen, as there is increased body mass to which your blood must pump oxygen. As a result, many competitive breath holders will attempt to shed any extra pounds in the weeks coming up to a competition. This weight loss should be achieved in a strictly healthy way - through exercise and balanced diet - as weakening your body through crash dieting will negatively impact your ability to hold your breath. The world record breath holder, Aleix Segura Vendrell, is reported to have lost weight for 4 months before attempting to beat the world record for holding breath underwater, in an effort to improve his ratio of body volume to lung volume. 3. Quit smoking. The fact that smoking has a negative impact on lung strength and capacity is common knowledge. Quitting can considerably increase your lungs' ability to release carbon dioxide and absorb oxygen, even within a matter of weeks. So if you are trying to strengthen your lungs and increase their capacity, giving up smoking is undoubtedly the first thing on the to-do list. You should also try to avoid second-hand smoke as far as possible, as inhaling someone else's cigarette smoke can have a negative effect on your lungs. 4. Take up a wind or brass instrument. These types of instruments require plenty of lung power, making them a great way to improve lung strength and increase your ability to control your breathing. And aside from that, playing an instrument is a fantastic life skill, which can provide immense personal satisfaction. The flute, clarinet, oboe and saxophone are all good options when it comes to wind instruments, while the trumpet, trombone and tuba are popular brass options. If you have a good voice, singing is another great musical aid to improving lung power. Singing requires immense control of one's breathing, making it an excellent complimentary activity for aspiring breath-holders. ## Train techniques for hold your breath 1. Practice deep breathing. Before holding your breath, inhale and exhale slowly from deep within your diaphragm. By doing this, you're ridding your lungs of low-quality air. Spend five seconds breathing in, then hold the breath for one second, before breathing out for ten seconds. Continue deep breathing for two minutes, and be sure that when you exhale, you push out every last "drop" of air. As you exhale, push your tongue up against your teeth.This forms a valve which helps to control the release of air. Your breath should make a hissing sound as it is released. Deep breathing allows your body to take in excess oxygen, which it can then store in the blood cells. This helps when holding your breath as your body can use the stored oxygen to continue functioning, even when you are not breathing. 2. Purge the CO2 from your lungs. When holding your breath, the pressure you feel in your lungs is not the result of a need to breathe, but rather the result of a build-up of CO2, fighting to be released. This build-up of CO2 becomes increasingly painful as time goes on. To minimize this build-up, it is necessary to purge any pre-existing CO2 from your lungs, before holding your breath. To do this: * Exhale forcefully, pushing as much air out of your lungs as possible. Puff out your cheeks as you do this, and imagine you are trying to blow a toy sailboat across a stretch of water. Once you have exhaled completely, inhale quickly and repeat. Try to keep your body as still as possible while you do this, to avoid expending any of the stored oxygen from the previous step. 3. Take a breath and hold it for one minute and thirty seconds. This is a practice run which will allow your body to adjust to the sensation of going without air. Use a timer to count down the 90 seconds, and don't attempt to hold your breath for any longer just yet. When you inhale, don't breathe in so much that you're about to pop; this creates tension in your body and causes you to expend more energy. Instead, fill your lung capacity to about 80-85% capacity so that you still have room to relax. Once the 90 seconds is up, exhale briefly to rid your lungs of the used air, then take three breaths, inhaling and exhaling fully. This is known as semi-purging. 4. Repeat the process of deep breathing and purging, then hold your breath for two minutes and thirty seconds. Once the first 90 second practice run is up, repeat the deep breathing and purging exercises. Perform each exercise for a duration of one minute and thirty seconds. Once this is done, take a breath and hold it for two minutes and thirty seconds, timing it on a stopwatch. Do not attempt to hold your breath for any longer than this. Once the time is up, exhale to release the used air and take three semi-purge breaths. Follow this with two minutes of deep breathing and a minute and a half of purging. You are now ready to try holding your breath for as long as possible. 5. Splash cold water on your face. At this point, you may decide to splash your face with some cold water before attempting to hold your breath. It has been observed that putting a person's face in contact with cold water triggers bradycardia, or the slowing of the heart rate, which is the first phase of the mammalian diving reflex. However, this step is purely optional. You don't need to actually put your entire head underwater, though. Just splash some cold water on your face right before you hold your breath, or try using a cold, wet washcloth. Don't use an ice pack instead of water, though; the same study suggests that the shock of something too cold triggers other reflexes. Just make sure the water is at a temperature of approximately 70 °F (21 °C) and that the rest of your body is in a relaxed position. 6. Take a breath and hold it for as long as possible. Assume a comfortable seated position and take a deep breath, filling your lungs to about 80-85% of capacity. Hold your breath for as long as possible, staying completely still to avoid expending unnecessary energy and wasting oxygen. It is usually better to have someone else timing your progress, as time will pass more quickly and you will be able to hold your breath for longer if you are not constantly watching the clock. Holding your breath for long periods of time can be painful, and it usually necessary to find a way to distract yourself if you are to successfully achieve your goal. One popular distraction technique is to move through the alphabet from A to Z, thinking of a friend, celebrity or historical figure whose name begins with each letter. Aleix Segura Vendrell, who set a world record for holding his breath underwater for 24 minutes and 3 seconds, is a proponent of this very technique. Don't hold air in your cheeks. This method is meant for an air reserve, which requires "letting go" of the air in your lungs and switching it with the air in your cheeks. This is known as "circular breathing" and can be very difficult to achieve, usually resulting in the breath-holder losing both air reserves. Therefore, it may be best to avoid this method for the time being. 7. Relax every muscle in your body. It is vital that you relax completely and release any tension from your body as you hold your breath. Close your eyes and focus on releasing the tension from each body part in turn, starting with your feet, and moving slowly upwards along your body, all the way up to your neck and head. By doing this, it is possible to significantly lower your heart rate and increase the time you are able to hold your breath for. Concentrate on something that's relaxing to you. When you can't concentrate anymore, distract yourself by doing something with your hands, like counting to 99 with your fingers. Try not to move during any point when holding your breath. When you move, you waste oxygen and that will cut down the time you're able to go without breathing. Stay still. 8. Exhale slowly. When you can't hold your breath anymore, try to avoid exhaling all the air in your lungs in a mad rush. First, exhale about 20% of your air, then inhale again so that oxygen gets to your most critical areas faster. Then you can exhale and inhale completely. 9. Repeat these steps 3-4 times per session. It is not recommended to do this any more, as it could damage your lungs and body. Try one session in the morning and one session at night if you wish. Keep practicing and before you know it, you will be able to hold your breath for several minutes. ## Take the necessary safety precautions 1. Always practice with a partner. It is highly advisable that you practice holding your breath with a partner. The main reason for this is that they can ensure your safety if you happen to pass out (which is fairly common during limit-testing training sessions), preventing you from hurting yourself and taking care of you while you recover your senses. In addition, a partner can help to time your breath-holding sessions, notifying you at each 30 second interval. 2. Practice sitting up, rather than lying down. The best position to practice holding your breath in is sitting upright in a comfortable position, such as on a sofa or armchair. This allows you to expend as little energy as possible while holding your breath. It is not advised that you lie down while holding your breath, as you run the risk of choking on your tongue if you happen to pass out. 3. Do not attempt to do this underwater, unless supervised by a professional. Although the purpose of learning to hold your breath for longer is usually for use underwater, you should never do underwater training alone, without supervision. As mentioned before, it is quite common for people to black out or lose consciousness after holding their breath for prolonged periods, and if this happens underwater it can lead to drowning. Even practicing with a partner can be dangerous, as an untrained eye may be unable to tell the difference between someone who is holding their breath and someone who has passed out. If you do decide to practice with a partner, make sure that you decide on a hand signal which you can give at regular intervals to indicate to your partner that you are okay.
5
What technologies do you think will become obsolete within the next decade?
Given the fast pace of technological advances, it is difficult to predict which technologies will become obsolete over the next decade. Here are a few possibilities: * Flash drives: As wireless communication between all devices becomes easier and faster, the need to use physical drives to transfer data will become relegated to only high-security air-gapped networks. * Passwords: Passwords are increasingly vulnerable to hacking, and alternative authentication methods such as biometric authentication could become more common. * Plastic credit cards: As mobile payment options become more widespread, plastic credit and debit cards could become unnecessary. * Charging cables: Wireless charging is becoming ubiquitous, eliminating the need to carry charging cables. * Human-driven cars: Though autonomous driving has yet to mature, the exponential pace of progress in AI may yield reliable self-driving cars by 2030. Of course, this is just a speculative and incomplete list of technologies that may become obsolete within 10 years. It will certainly be interesting to find out what future technologies hold in store!
5
strong/weak can be thought of in relation to how the compiler, if applicable, handles typing. * Weakly typed means the compiler, if applicable, doesn't enforce correct typing. Without implicit compiler interjection, the instruction will error during run-time. ```"12345" * 1 === 12345 // string * number => number ``` Strongly typed means there is a compiler, and it wants you an explicit cast from string to integer. ```(int) "12345" * 1 === 12345 ``` In either case, some compiler's features can implicitly alter the instruction during compile-time to do conversions for you, if it can determine that is the right thing to do. Thus far, JavaScript can be categorized as Not-Strongly-Typed. That either means it's weakly-typed or un-typed. dynamic/static can be thought of in relation to how the language instructions manipulate types. * Dynamically typed means the value's type is enforced, but the variable simply represents any value of any type. ```x = 12345; // number x = "string"; // string x = { key: "value" }; // object y = 123 + x; // error or implicit conversion must take place. ``` Statically typed means the variable type is strongly enforced, and the value type is less-so enforced. ```int x = 12345; // binds x to the type int x = "string"; // too late, x is an integer - error string y = 123; // error or implicit conversion must take place. ``` Thus far, JavaScript can be categorized as Not-Statically-Typed. Also, it appears to be Dynamically Typed, if typed at all. So we need to see what Typing means. Typed means that the language distinguishes between different types such as string, number, boolean, object, array, null, undefined and so on. Also each operation is bound to specific types. So you cannot divide an integer by a string. ``` 2 / "blah" // produces NaN ``` Untyped means the operation is not bound to specific types. So you can divide an integer by a string. ``` 2 / "blah" // produces 0.5 ``` Thus far, JavaScript can be categorized as Untyped.
strong/weak can be thought of in relation to how the compiler, if applicable, handles typing. * Weakly typed means the compiler, if applicable, doesn't enforce correct typing. Without implicit compiler interjection, the instruction will error during run-time. ```"12345" * 1 === 12345 // string * number => number ``` Strongly typed means there is a compiler, and it wants you an explicit cast from string to integer. ```(int) "12345" * 1 === 12345 ``` In either case, some compiler's features can implicitly alter the instruction during compile-time to do conversions for you, if it can determine that is the right thing to do. Thus far, JavaScript can be categorized as Not-Strongly-Typed. That either means it's weakly-typed or un-typed. dynamic/static can be thought of in relation to how the language instructions manipulate types. * Dynamically typed means the value's type is enforced, but the variable simply represents any value of any type. ```x = 12345; // number x = "string"; // string x = { key: "value" }; // object y = 123 + x; // error or implicit conversion must take place. ``` Statically typed means the variable type is strongly enforced, and the value type is less-so enforced. ```int x = 12345; // binds x to the type int x = "string"; // too late, x is an integer - error string y = 123; // error or implicit conversion must take place. ``` Thus far, JavaScript can be categorized as Not-Statically-Typed. Also, it appears to be Dynamically Typed, if typed at all. So we need to see what Typing means. Typed means that the language distinguishes between different types such as string, number, boolean, object, array, null, undefined and so on. Also each operation is bound to specific types. So you cannot divide an integer by a string. ``` 2 / "blah" // produces NaN ``` Untyped means the operation of dividing integer by string would result in treating the first four bytes of string as integer. This is because Untyped operations take place directly on bits, there are no types to observe. The outcome will be something quite unexpected: ``` 2 / "blah" // will be treated as 2 / 1500275048 ``` Since JavaScript behaves according to the definition of being Typed, it must be. And therefore it must be Dynamically Typed, and Weakly Typed. If anybody claims JavaScript is Untyped, it is merely for academic theory, not for practical application.
5
How did you come up with the characters Tom Sawyer and Huckleberry Finn?
Dear [Author Name], It has come to my attention that you have published a series of books about the characters Tom Sawyer and Huckleberry Finn. I would like to know, sir, where you received your inspiration for these characters. When I was a young man, and an aspiring writer, I invented two characters who had a variety of adventures along the Mississippi River. Now, as you may have guessed, my characters names were Tom Sawyer and Huckleberry Finn. After reading your novels I have come to the conclusion that you somehow gained access to my notes. I do not have time to speculate on how you managed this, but I intend to find out. You will contact me, inform me how and why you have stolen my characters, and acknowledge me in your works. I expect your response in a timely manner, or my lawyer will be contacting you. Regards, [Your Name]
5
What is the difference between network encryption and application encryption?
Network encryption protects against different set of threats than application layer encryption like TLS. In particular, network encryption like Wifi encryption are primarily designed to protect from a local attacker from being able to watch network patterns (by recording who you're making connections with, and discovering what devices are on the local network), observing/tampering of low level messages like ARP/DNS, and protecting network broadcasts from devices that aren't supposed to be in the network, and from tampering or selective interference. TLS doesn't protect the low level TCP/IP packets, which leaks information like the IP address of the machine you're connecting with, and the TLS handshake also by design leaks a number of information about the connection like Server Name Indication (SNI) header. The side effect of needing to do all this is that Wifi hardware already need to have enough code and processing power to handle encryption, so it becomes easier to just encrypt all wifi packets rather than selectively figuring out what needs protection or not. This come also with the side benefit that unsecured HTTP connection will still be at least marginally protected, even if at least to protect users of the infrastructure from each other, but not from the infrastructure provider. Network encryption is designed to protect the network, not the service. Application encryption is designed to protect the connection to the service, but it doesn't protect the network. They complement each other, but neither completely makes the other unnecessary.
5
How do I make a virtual directory in IIS?
When this happens the easiest solution is to make the virtual directory manually. First of all, you need to make sure you have the right version of ASP.Net installed and that you have installed the IIS extensions. To do this, go to the relevant .net version's folder in C:\(Windows)\Microsoft.NET\Framework\(dotnetver)\ (substituting the bracketed folders for the right folders on your PC) and run this command ```aspnet_regiis.exe -i ``` Next once that's run and finished, sometimes running ```iisreset ``` from the command line helps, sometimes you don't need to. Next, go to your IIS Manager and find you localhost website and choose add a folder. Browse to the folder in your project that contains the actual ASP.Net project and add that. Finally, right click on the folder you added and you should have an option that says 'convert to application' or 'create virtual directory' or something similar. Please make sure the Virtual directory has the name 'MyWebApp'!! Reload your solution and it should work. Good luck!
5
What happened to George Washington?
The young man was walking by the street when he stepped on a small, thin, white book. He looked at it, kneeling down to pick it up. The man analyzed it left to right. It looked familiar, like one of those Anime's he watched, except the wording was different. It said life instead of death, which was weird. The man thought nothing of it, simply taking oht a pen from his shirt pocket and writing the first name to come to mind. Of course the first president was the first name. He wasn't very creative, so he sloppily wrote it down, throwing the notebook down afterwards and walking off. The next day, he was making breakfast, looking at the tiny tv sitting in the kitchen until he heard something he never thought he'd hear from a news source. "George Washington is alive? Is it an imposter? He seems to be very serious about it." The mans jaw gaped open, seeing pictures of the man in the modern era. "Guess he'll have to survive this."
5
What are the major factors that affect depth of field in photography?
I'm going to dispense with the formulas, photos of rulers and definitions of "magnification" and go with what you actually experience in practice. The major factors that actually matter to shooting are: * Aperture. Wide aperture lenses give you a shallower depth of field. This is probably the least controversial factor! This is important as some lenses have much larger apertures e.g. 18-55 f/3.5-5.6 vs. 50 f/1.8 * Subject distance. This is a really important consideration. Depth of field gets drastically shallower when you start to get really close. This is important as at macro focussing distances DoF is a major problem. It also means you can get shallow DoF regardless of aperture if you get close enough, and that if you want deep DoF in low light compose to focus further away. * Focal length. This does affect depth of field, but only in certain ranges, when maintaining subject size. Wide lenses have very deep depth of field at most subject distances. Once you get past a certain point, DoF changes very little with focal length. This is important again because if you want to increase / decrease DoF you can use focal length to do this whilst still filling the frame with your subject. * Sensor size. This affects DoF when you maintain the same subject distance and field of view between sensor sizes. The bigger the sensor the shallower the depth of field. DSLRs have much bigger sensors than compacts, and so for the same FoV and f-ratio they have shallower DoF. This is important because by the same token cropping images increases DoF when maintaining the same final output size, as it's akin to using a smaller sensor.
5
What is the University of Chicago Booth School of Business?
The University of Chicago Booth School of Business is one of the top business schools in the world. It offers a full-time MBA program as well as part-time and executive programs. The school has over 50,000 alumni around the globe who are leaders in their fields. Booth's rigorous curriculum emphasizes analytical thinking and problem solving. Students learn how to approach any business challenge with confidence and creativity. They develop practical skills they can use immediately in their careers, while also gaining a deeper understanding of how businesses work. The faculty at Booth are renowned experts in their fields. They conduct groundbreaking research that pushes the boundaries of knowledge and shapes business practices around the world. Their insights inform every aspect of the MBA experience, both inside and outside the classroom. Booth's flexible curriculum allows students to follow their own interests and choose courses that best suit their career goals. Students can specialize in finance, marketing, entrepreneurship, operations management, or other areas. They can also take elective classes across the university, exploring subjects like public policy, international relations, law, medicine, and more. Beyond the classroom, students can enhance their learning through hands-on experiences like internships, consulting projects, and entrepreneurial ventures. The Polsky Center for Entrepreneurship and Innovation provides resources and support for aspiring start-up founders. The Harper Center houses state-of-the-art facilities where students can practice their presentation skills and connect with peers. And Booth's global network of campuses gives students opportunities to study abroad and build connections around the world. With its rigorous curriculum, world-class faculty, and innovative approach to education, the University of Chicago Booth School of Business prepares students to become leaders in any field. Whether they pursue careers in finance, consulting, tech, healthcare, or another industry, Booth graduates have the skills and knowledge they need to succeed.
5
Why should I cover my mouth when I cough or sneeze?
One reason is to prevent droplet infection. When you cough or sneeze, droplets are expelled from your mouth which can infect others if they come into contact with them. By covering your mouth, you reduce the number of droplets in the air. Another reason is to prevent the spread of germs on surfaces. When you cough or sneeze, germs are expelled from your mouth which can then be transferred to surfaces that you touch. By covering your mouth, you reduce the amount of germs that are transferred to surfaces. These two effects together reduce the spread of infection.
5
Navigating the depths of love is hard to say the least. This is especially true when you're trying to be a good friend and tasked with investigating the true feelings of a friend's crush. With some intuition and old-fashioned honesty, you can make the complicated game of love a little bit easier. ## Make honesty work 1. Be up front. The easiest and most effective way is to just ask your friend's crush about their feelings. If you're having trouble working up the courage to ask such a personal question, there's a few ways to make the process easier. Consider the time and place you're going to have the conversation. Make sure the crush is in a comfortable area, probably out of earshot from anyone who could listen in. Be gentle. Don't use confrontational lines, such as "Everyone knows you like Ryan. Just come out and say it!" Instead, you might say "You seem really happy around Ryan. Do you think you might have feelings for him?" Don't pry too much if they seem uncomfortable. If the crush seems to get embarrassed during your conversation, back off a bit. They may need time before they're willing to divulge such sensitive feelings. 2. Ask about their love life. Instead of asking the crush directly about your friend, try starting with their love life in general. Ask to see if they're dating anyone or if they're currently looking to find a love interest. 3. Ask about your friend in a platonic way. Ask your friend's crush less leading questions about your friend, and see if they naturally bring up their potential attraction. Try questions such as, "So how did you and Cayla meet?" or "How long have you known each other?" ## Spot a flirt 1. Examine body language. People give off noticeable changes in their movements when they feel attracted to someone. While everyone has their own set of bodily cues, there are some common signs to look out for when someone's crushing. Open postures such as uncrossed legs, open arms, and palms facing up. People will often lean in much closer to a crush when speaking with them in comparison to the personal space they use with platonic friends. Sometimes people will play with their hair, jewelry, or clothing when they're attracted to someone. 2. Listen to the tone of voice. When someone's crushing on someone, they'll often speak in a higher-pitched voice
Navigating the depths of love is hard to say the least. This is especially true when you're trying to be a good friend and tasked with investigating the true feelings of a friend's crush. With some intuition and old-fashioned honesty, you can make the complicated game of love a little bit easier. ## Make honesty work 1. Be up front. The easiest and most effective way is to just ask your friend's crush about their feelings. If you're having trouble working up the courage to ask such a personal question, there's a few ways to make the process easier. Consider the time and place you're going to have the conversation. Make sure the crush is in a comfortable area, probably out of earshot from anyone who could listen in. Be gentle. Don't use confrontational lines, such as "Everyone knows you like Ryan. Just come out and say it!" Instead, you might say "You seem really happy around Ryan. Do you think you might have feelings for him?" Don't pry too much if they seem uncomfortable. If the crush seems to get embarrassed during your conversation, back off a bit. They may need time before they're willing to divulge such sensitive feelings. 2. Ask about their love life. Instead of asking the crush directly about your friend, try starting with their love life in general. Ask to see if they're dating anyone or if they're currently looking to find a love interest. 3. Ask about your friend in a platonic way. Ask your friend's crush less leading questions about your friend, and see if they naturally bring up their potential attraction. Try questions such as, "So how did you and Cayla meet?" or "How long have you known each other?" ## Spot a flirt 1. Examine body language. People give off noticeable changes in their movements when they feel attracted to someone. While everyone has their own set of bodily cues, there are some common signs to look out for when someone's crushing. Open postures such as uncrossed legs, open arms, and palms facing up. People will often lean in much closer to a crush when speaking with them in comparison to the personal space they use with platonic friends. Sometimes people will play with their hair, jewelry, or will simply make extended eye contact and smile during their conversations with crushes. 2. Watch for eye contact. Prolonged eye contact, even for just over a second, is a common sign of either aggression or romantic interest. Pay close attention to how long your friend's crush gazes at your buddy. If they fail to maintain consistent eye contact, then it could be a bad sign for any hopes of a relationship. On the contrary, it's an excellent signal of affection if they constantly stay locked onto each other's eyes during conversations. 3. Look at their social media communication. See if your friend's crush interacts with your friend frequently on social media accounts such as Facebook, Twitter, and Instagram. Pay attention to the language they use with your friend, and see if they use obvious signs such as smiley face or winky face emojis. 4. Look for compliments. People looking to give off signs of attraction will likely dole out many compliments to their crush. Watch to see if your friend's crush praises them on their talents or academic accomplishments. It's important to note that being complimentary isn't always a sign of affection, so it's crucial to pay attention to the frequency of their praise and admiration. Compliments on physical features are an especially key sign of flirting. Did your friend's crush notice their new glasses, haircut, or workout routine? Flirts tend to notice these subtle changes and point them out to convey affection. Sexual innuendos laced in jokes and conversations can also be not-so-subtle signs of a flirt's desire to spice up conversations with the person of their desire. 5. Listen for references on their availability. Flirts will commonly drop hints in conversations that reflect their relationship status, such as mentioning they're recently single or how lonely they've been. 6. Understand different kinds of flirts. Some people may flirt very openly and little guessing is required, while others can be introverted flirts with more subtle signs of affection. Physical flirts rely on body language cues to convey their feelings. They often use physical signs of affection before verbal cues, such as eye contact and playful touching. Traditional flirts tend to be more polite, preferring to convey affection over a longer period of time instead of using flashy and overt statements such as saying they're single or rubbing their crush's arm. These flirts also prefer professional environments like bookstores or study groups to build relationships over parties. Playful flirts use very clear signs of affection in a boisterous manner. For example, they may joke excessively in a sexual way with their crush or make bold physical complements about their crush's appearance. 7. Talk to your crush's friends. Find out who your crush's friends are and ask around to see if what the status of the crush's feelings are. Chances are if the crush is significant the word has already made its way around to people. ## Give your friend confidence 1. Give them affirmations. Another solution is to give your friend enough confidence ask their crush directly so you don't have to do the leg work. Discreetly feed your friend affirmations such as, "Everyone knows how confident you are, why not put it to use and ask Nicki how she feels?" Congratulate them on little steps, such as starting small talk with their crush or asking them for help with some schoolwork. Give them support even when they falter. If they lose their nerve to talk to their crush at a party, let them know it's okay to be afraid sometimes and that there will be other opportunities to develop a relationship. 2. Help them improve. If they feel uncomfortable with their body or lifestyle, start supporting healthy habits. Go to the gym with your friend, sign up for yoga classes, or start up a diet together. 3. Listen to their concerns. Sometimes people can gain confidence just by airing out their insecurities. Ask them why they feel uncomfortable confronting their crush, and let them know it's normal to feel anxiety about such an important question.
5
Washington DC is a great city to visit steeped in history and culture. You can definitely see a lot in two days. Here are some suggestions for your two-day itinerary: Day 1: * Sightseeing guideline: White House (1 hour) → Washington Monument (1 hour) → National WWII Memorial (1 hour) → Lincoln Memorial (1 hour) → Jefferson Memorial (0.5 hours) The first day’s tour begins from the iconic White House, where visitors can explore the historic and cultural heart of American politics by visiting the monuments, Lincoln Memorial, Jefferson Memorial, and the beautiful Tidal Basin. * Traffic guideline: Due to the concentration of attractions, most of the attractions are within walking distance. * Catering Guideline: Around the White House and Capitol Hill, there are fewer options, with fast food restaurants being predominant, but there are also some unique restaurants offering Mediterranean, Asian, and other international cuisines worth trying. With extensive routes covering the entire city, riding the metro is the best option for getting around, with peak fares ranging from $2.15 to $5.90, and off-peak fares ranging from $1.75 to $3.60. Tourists can also purchase a One Day Pass ($14 per ticket) at any metro station, which is valid for both metro and buses. Day 2: * Sightseeing guideline: Smithsonian National Museum of Natural History (2 hours) → National Gallery of Art (2 hours) → Smithsonian National Air and Space Museum (2 hours) → U.S. Capitol (1 hour) On the second day, visit some of Washington D.C.'s most famous museums to experience nature, history, art, and aerospace technology in an all-encompassing way, and then proceed to the majestic U.S. Capitol, the highest legislative body. * Traffic guideline: All of the sites on the second day are within walking distance. Tourists can also purchase a One Day Pass ($14 per ticket) at any metro station, which is valid for both metro and buses. * Catering Guideline: Around the White House and Capitol Hill, there are fewer options, with fast food restaurants being predominant, but there are also some unique restaurants offering Mediterranean, Asian, and other international cuisines worth trying
Washington DC is a great city to visit steeped in history and culture. You can definitely see a lot in two days. Here are some suggestions for your two-day itinerary: Day 1: * Sightseeing guideline: White House (1 hour) → Washington Monument (1 hour) → National WWII Memorial (1 hour) → Lincoln Memorial (1 hour) → Jefferson Memorial (0.5 hours) The first day’s tour begins from the iconic White House, where visitors can explore the historic and cultural heart of American politics by visiting the monuments, Lincoln Memorial, Jefferson Memorial, and the beautiful Tidal Basin. * Traffic guideline: Due to the concentration of attractions, most of the attractions are within walking distance. * Catering Guideline: Around the White House and Capitol Hill, there are fewer options, with fast food restaurants being predominant, but there are also some unique restaurants offering Mediterranean, Asian, and other international cuisines worth trying. With extensive routes covering the entire city, riding the metro is the best option for getting around, with peak fares ranging from $2.15 to $5.90, and off-peak fares ranging from $1.75 to $3.60. Tourists can also purchase a One Day Pass ($14 per ticket) at any metro station, which is valid for both metro and buses. Day 2: * Sightseeing guideline: Smithsonian National Museum of Natural History (2 hours) → National Gallery of Art (2 hours) → Smithsonian National Air and Space Museum (2 hours) → U.S. Capitol (1 hour) On the second day, visit some of Washington D.C.'s most famous museums to experience nature, history, art, and aerospace technology in an all-encompassing way, and then proceed to the majestic U.S. Capitol, the highest legislative body. * Traffic guideline: All of the sites on the second day are within walking distance. Tourists can also purchase a One Day Pass ($14 per ticket) at any metro station, which is valid for both metro and buses. * Catering Guideline: As a diverse metropolis and political center, Washington D.C. offers a wide range of dining options. You can visit the Northwest areas such as Georgetown, Dupont Circle, and Adams Morgan where the majority of restaurants are located. In general, the attractions in Washington D.C. are very concentrated, and most of them are within walking distance of each other, making it very convenient. Additionally, most of the attractions do not require tickets, but some may have strict security checks, so be mindful of the items you carry. In spring, you can also enjoy the beautiful cherry blossoms in Washington D.C..
5
Yes, some gases can diffuse into and through metal. It is the bane of the high-vacuum engineer's life. Hydrogen is the worst because it tends to dissociate into atoms at the surface and the nucleus, a single proton, can then leave its electron behind and wander through the metal lattice until it picks up another electron when it leaves. For example Mu-metal, favoured for some applications, typically has to be annealed in hydrogen at high temperature. Once that is over, it can take weeks or months for the residual hydrogen to diffuse out of the metal before a high enough vacuum can be achieved and the work proceed. A &quot;virtual leak&quot; occurs where a small bubble of gas is embedded in the material inside a vacuum chamber. The leak usually happens because a tiny hole exists for the gas to diffuse out through, but sometimes the &quot;hole&quot; is no more than an ultra-thin skin of metal (invisible to the frustrated technician) and the gas diffuses through it. These little horrors can keep going for months or even years and generally mean replacing suspected parts and pumping down over and over again until the dodgy one is finally stumbled on. Helium is both monatomic and the physically smallest atom. It can diffuse more easily than any other neutral atom or molecule, making certain metal foils unsuitable as say gas-tight liners for airships. As noted in another answer, in quantity it can also affect the bulk properties of the metal. On a more energetic scale, hydrogen and helium nuclei (protons and alpha particles) can pass through thin metal foils if fired with sufficient energy, and this has been used to establish the crystalline structures of some metals and alloys (where, for whatever reason, electrons were unsuitable). Other gases have much larger atoms (neon and other noble gases) or molecules (nitrogen and other diatomic molecules, water and other hydrides), but they can still diffuse extremely slowly through some metals. This can limit the lifetime of some microchips. A related phenomenon occurs where there is a defect in the lattice at the surface, such as a grain boundary, and a gas atom attaches itself to the defect. This is called a &quot;stuck atom&quot;.
Yes, some gases can diffuse into and through metal. It is the bane of the high-vacuum engineer's life. Hydrogen is the worst because it tends to dissociate into atoms at the surface and the nucleus, a single proton, can then leave its electron behind and wander through the metal lattice until it picks up another electron when it leaves. For example Mu-metal, favoured for some applications, typically has to be annealed in hydrogen at high temperature. Once that is over, it can take weeks or months for the residual hydrogen to diffuse out of the metal before a high enough vacuum can be achieved and the work proceed. A &quot;virtual leak&quot; occurs where a small bubble of gas is embedded in the material inside a vacuum chamber. The leak usually happens because a tiny hole exists for the gas to diffuse out through, but sometimes the &quot;hole&quot; is no more than an ultra-thin skin of metal (invisible to the frustrated technician) and the gas diffuses through it. These little horrors can keep going for months or even years and generally mean replacing suspected parts and pumping down over and over again until the dodgy one is finally stumbled on. Helium is both monatomic and the physically smallest atom. It can diffuse more easily than any other neutral atom or molecule, making certain metal foils unsuitable as say gas-tight liners for airships. As noted in another answer, in quantity it can also affect the bulk properties of the metal. On a more energetic scale, hydrogen and helium nuclei (protons and alpha particles) can pass through thin metal foils if fired with sufficient energy, and this has been used to establish the crystalline structures of some metals and alloys (where, for whatever reason, electrons were unsuitable). Other gases have much larger atoms (neon and other noble gases) or molecules (nitrogen and other diatomic molecules, water and other hydrides), but they can still diffuse extremely slowly through some metals. This can limit the lifetime of some microchips. A related phenomenon occurs where there is a defect in the lattice at the surface, such as a grain boundary, and a gas atom attaches to it. Defects are sometimes quite mobile and can migrate through the lattice; the gas atom will stabilise the defect and may be able to hitch a ride. Quantum processes such as tunnelling are not really relevant, as they work over distances smaller than the atomic wavelength, which in turn is typically far smaller than the thickness of any metal atom or foil. The probability of a gas atom tunnelling across is so infinitesimal as to be effectively zero.
5
When your Form I-140 petition is approved, you will receive a Form I-797 Notice of Action. You can get a copy of this notice by sending a request to the United States Citizenship and Immigration Services (USCIS) department. However, you might want a copy of the Form I-140 petition itself. In this situation, you will need to make a Freedom of Information Act (FOIA) request to USCIS. ## Request a copy of your approval notice 1. Download Form I-824. This is the form you need to fill out to get a copy of your Form I-797 Notice of Action. The form is available for download from the United States Citizenship and Immigration Services (USCIS) website. You should download it in PDF format and also get a copy of the instructions. You can also request a form by calling 1-800-375-5283. You cannot use this form if your approval notice has expired or been revoked. 2. Get a copy of the original petition or application. If available, send a copy of the original I-140 petition. If you don’t have a copy, then ask your employer to provide you with one. However, if you don’t have it, then you don’t need to include it. 3. Make a copy of your Form I-797. If you have your Form I-797 (but want an additional copy), then send a copy along with your application. You need to submit both the front and the back. If you don’t have the Form I-797, then you don’t need to send it. 4. Complete Form I-824. You can complete the form in PDF format. Type in the requested information. Answer all questions and type “N/A” or “not applicable” to anything that applies. The form will ask for the following information: * your reason for the request: check “A duplicate approval notice” * name * date of birth * country of birth * identifying information, such as Alien Registration Number, Social Security Number, IRS Tax Number, etc. mailing address * physical address 5. Pay a fee. You will need to pay a fee to get a copy of your Form I-797 Notice of Action. The fee is $85. You can pay by check or money order made out to “U.S. Department of Homeland
When your Form I-140 petition is approved, you will receive a Form I-797 Notice of Action. You can get a copy of this notice by sending a request to the United States Citizenship and Immigration Services (USCIS) department. However, you might want a copy of the Form I-140 petition itself. In this situation, you will need to make a Freedom of Information Act (FOIA) request to USCIS. ## Request a copy of your approval notice 1. Download Form I-824. This is the form you need to fill out to get a copy of your Form I-797 Notice of Action. The form is available for download from the United States Citizenship and Immigration Services (USCIS) website. You should download it in PDF format and also get a copy of the instructions. You can also request a form by calling 1-800-375-5283. You cannot use this form if your approval notice has expired or been revoked. 2. Get a copy of the original petition or application. If available, send a copy of the original I-140 petition. If you don’t have a copy, then ask your employer to provide you with one. However, if you don’t have it, then you don’t need to include it. 3. Make a copy of your Form I-797. If you have your Form I-797 (but want an additional copy), then send a copy along with your application. You need to submit both the front and the back. If you don’t have the Form I-797, then you don’t need to send it. 4. Complete Form I-824. You can complete the form in PDF format. Type in the requested information. Answer all questions and type “N/A” or “not applicable” to anything that applies. The form will ask for the following information: * your reason for the request: check “A duplicate approval notice” * name * date of birth * country of birth * identifying information, such as Alien Registration Number, Social Security Number, IRS Tax Number, etc. mailing address * physical address 5. Pay a fee. You have to pay a $405 filing fee. Make your check or money order payable to “U.S. Department of Homeland Security.” Don’t use abbreviations like “DHS” or “USDHS.” * Fees are subject to change. You should call 1-800-375-5283 for updated fee information. 6. Submit your application to the appropriate address. Make a copy of your complete application for your records. Then put your application in a secure envelope and mail it to the appropriate address. You can get the appropriate address by calling the National Customer Service Center at 1-800-375-5283. USCIS might contact you for more information. Please provide requested information promptly. ## Obtain a copy of the form i-140 petition 1. Ask your employer for a copy. Your employer files a Form I-140 petition when they want to sponsor you as an immigrant worker. Filing the form is necessary so that you can become a legal permanent resident in the U.S. and work here. Because your employer submitted this petition, you should ask them for a copy. Sometimes, however, your employer won’t give you a copy of the petition. In this situation, you will need to file a Freedom of Information Act (FOIA) request. Only submit an FOIA request if the petition has been approved. You cannot request a copy of a petition that is under consideration. Instead, call 1-800-375-5283 for inquiries about the status of your application. You can also call the United States Citizenship and Immigration Services (USCIS) office where the petition was filed. 2. Download Form G-639. This is the Freedom of Information Act request form. You should download the form and its instructions. You can also get a copy of the form by calling 1-800-375-5283. You don’t have to use the form. However, all requests must be in writing, and using the form is probably easiest. 3. Complete the form. Provide requested information by using a typewriter or writing clearly in black ink. If you need extra space to answer a question, then you can attach a sheet of paper. Make sure to put your name and Alien Registration Number (if applicable) at the top of each sheet. Also clearly identify the page number, part, and item number your additional information refers to. If a question doesn’t apply to you, then write “N/A” or “not applicable” in the space. Don’t just leave it blank. Make a copy of the form for your records. 4. Verify your identity. You will need to sign the form under penalty of perjury or in front of a notary public. You can find notaries in courthouses, town offices, and most large banks. Take acceptable forms of identification (such as a valid state-issued ID or passport) with you to the notary. If you are requesting a copy of someone else’s Form I-140, then you must get his or her permission. Typically, getting them to sign this form is sufficient. 5. Explain why you need the request expedited. Generally, it can take USCIS a month to process your request. However, you can request that USCIS speed up the process if you have a valid reason. For example, you might be in removal proceedings. If you are, then you should make a copy of your Notice to Appear or Notice of Hearing. You will need to submit these documents with your FOIA request. Also write a letter explaining in detail why you urgently need the information. You need to sign the letter under penalty of perjury. Include the following words above your signature: “The information contained in this letter is complete, true, and correct to the best of my knowledge and belief.” 6. Pay a fee, if required. You typically won’t have to pay a fee. You get the first 100 pages (and 2 hours of search time) free. Because your Form I-140 is not 100 pages, you shouldn’t have to pay anything. However, you might have to pay a fee if you order in bulk. For example, you might be an employer getting copies of your employees’ forms. In this situation, you have to pay ten cents per page. You won’t be billed until you have accrued at least $14 in charges. By submitting the form, you agree to pay at least $25 in fees. 7. Submit your request. Gather all of your documents and make a copy for your own records. You can submit your request using one of these three different methods: * Fax: send it to (816) 350-5785. Email: send the completed form and supporting documents as attachments to [email protected]. Mail: send your request certified mail, return receipt requested to National Records Center (NRC), FOIA/PA Office, PO Box 648010, Lee’s Summit, MO 64064-8010. 8. Provide additional information. USCIS might contact you and request additional information in order to process your request. You should provide all requested information promptly to USCIS.
5
Neck acne can be as frustrating as acne on your face. The skin on your neck is thicker than the skin on your face (the acne that appears here is more like body acne than face acne) and may produce more oil, sometimes leading to more severe acne or cystic lesions. The best way to get rid of neck acne is with a good cleansing routine and an occasional skin treatment. If your acne does not improve within a few months or if it appears infected, then you should see a doctor for help. ## Cleanse your neck 1. Wash your neck at least twice a day. Keeping your neck clean is the best way to start getting rid of neck acne. You should take a shower to wash your neck at least once per day. If you sweat a lot, such as after a workout, then take another shower. 2. Use a gentle cleanser to clean your neck. Find a gentle cleanser that is labeled as “non-comedogenic” or “oil-free” to use on your neck. Products that are non-comedogenic will not clog your pores so they should help to clear up your neck acne. Check the label to be sure that a product is non-comedogenic. Check to make sure that the products you buy are alcohol-free as well. Alcohol may irritate your neck acne and make it worse. 3. Apply cleanser to your neck using only your fingers. Do not use a washcloth, sponge, or other abrasive materials to apply cleanser to your neck because this can cause irritation, scarring, and worsen the existing acne. Instead, use your fingertips to gently apply the cleanser to your neck. Do not scrub aggressively. Rinse your neck well after you finish washing it. Pat your neck dry with a clean cotton towel. 4. Avoid irritants. You may not realize it, but your clothing or accessories may be contributing to your neck acne and making it worse. Avoid tight collared shirts, scarves, and turtlenecks, as these may irritate the acne. Make sure anything that touches your neck is made of a soft material that will not irritate your neck acne. ## Treat your neck 1. Apply an over-the-counter (OTC) acne treatment to your neck. There are
Neck acne can be as frustrating as acne on your face. The skin on your neck is thicker than the skin on your face (the acne that appears here is more like body acne than face acne) and may produce more oil, sometimes leading to more severe acne or cystic lesions. The best way to get rid of neck acne is with a good cleansing routine and an occasional skin treatment. If your acne does not improve within a few months or if it appears infected, then you should see a doctor for help. ## Cleanse your neck 1. Wash your neck at least twice a day. Keeping your neck clean is the best way to start getting rid of neck acne. You should take a shower to wash your neck at least once per day. If you sweat a lot, such as after a workout, then take another shower. 2. Use a gentle cleanser to clean your neck. Find a gentle cleanser that is labeled as “non-comedogenic” or “oil-free” to use on your neck. Products that are non-comedogenic will not clog your pores so they should help to clear up your neck acne. Check the label to be sure that a product is non-comedogenic. Check to make sure that the products you buy are alcohol-free as well. Alcohol may irritate your neck acne and make it worse. 3. Apply cleanser to your neck using only your fingers. Do not use a washcloth, sponge, or other abrasive materials to apply cleanser to your neck because this can cause irritation, scarring, and worsen the existing acne. Instead, use your fingertips to gently apply the cleanser to your neck. Do not scrub aggressively. Rinse your neck well after you finish washing it. Pat your neck dry with a clean cotton towel. 4. Avoid irritants. You may not realize it, but your clothing or accessories may be contributing to your neck acne and making it worse. Avoid tight collared shirts, scarves, and turtlenecks, as these may irritate the acne. Make sure anything that touches your neck is clean. Also, avoid touching the area and never pick at or scratch your acne, as this can cause scarring. Try not to use oily sunscreens and don't cover the acne with foundation or makeup. If you use a hairstyling product, make sure it doesn't come in contact with your neck. If you have long hair, the oil from your hair may be getting on the back of your neck. Try wearing your hair up in a ponytail while you treat your acne. ## Use a sea salt treatment 1. Gather your ingredients. Making a sea salt treatment is easy and the ingredients are available in most grocery stores. It exfoliates your skin and can dry out acne. To make a sea salt treatment, you will need: * 1 cup hot water * 1 teaspoon sea salt * Green tea bag and/or 1 – 2 tablespoons aloe vera 2. Brew a cup of green tea. Green tea extract has been found to be effective as a treatment for acne, but using a cup of green tea as a base for this treatment should also help. You can either use one teaspoon of green tea leaves in a tea infuser or use a green tea bag. Place the tea bag or infuser into a mug. Then, boil some water and pour about 1 cup of water over the green tea. Let the tea steep for about three minutes and then remove the tea bag or infuser. 3. Dissolve 1 teaspoon of sea salt in the tea. Measure out 1 teaspoon of sea salt and add it to the cup of tea. Stir the sea salt until it completely dissolves in the tea. 4. Add a tablespoon of aloe vera. Aloe vera has been found to be effective against acne and it also has moisturizing properties. You can add this instead of the tea, or try combining the green tea and aloe vera into one mixture. Add 1 tablespoon of aloe vera to the sea salt solution and stir well. If you want to skip the green tea and only use aloe vera, mix 2 tablespoons of aloe vera gel with 1 tablespoon of sea salt. This will make a scrub that you can apply directly to your neck. 5. Apply the mixture to your neck. Make sure that the solution is not so hot that it might burn your neck. Allow it to cool down a bit first. Then, you can apply the solution by soaking a clean cotton washcloth in the solution and placing the cloth over your neck. If you only have few places that you want to treat, then you can dip a cotton swab or cotton ball into the solution and apply it as needed. 6. Leave the solution on for about five minutes. Don’t leave the sea salt solution on your skin any longer or it may dry out your skin too much. After time is up, rinse off your neck with lukewarm water and gently dry off your neck with a clean, cotton towel. 7. Moisturize your neck. After the sea salt treatment, apply some moisturizer to your neck. Make sure that you use a non-comedogenic moisturizer to avoid making the acne worse. 8. Repeat the sea salt treatment once per day. Do not use this treatment more than once per day or you may dry out your skin too much, even if you moisturize after. Limit yourself to one sea salt treatment per day. ## Use an egg white mask 1. Gather your ingredients. Some of the things you can readily find in your kitchen are thought to have antibacterial and healing properties, allowing you to quickly whip up an acne-fighting mask. You will need: * 1/2 tablespoon of dark colored honey (darker honey has more antibacterial properties) * 1 egg white (do not use the yolk) * 1 teaspoon fresh lemon juice 2. Combine the ingredients in a small bowl. Use a whisk or fork to mix the egg white and lemon juice until it becomes frothy, then add the honey. Make sure that everything is well combined. You may wish to add other household items, such as 1 teaspoon of witch hazel (which has anti-inflammatory properties) or a few drops of an essential oil like peppermint, spearmint, lavender, or calendula, but it is unclear if these will enhance or reduce the effectiveness of the treatment. 3. Spread the paste over your neck. If you want to treat your whole neck, then you can use your fingers to spread the paste over your neck. If you want to treat a smaller area, then you can use a cotton swab or cotton ball to spread the paste over specific problem areas. 4. Allow the paste to dry on your neck and then rinse. Leave the paste alone for about 15 minutes, then rinse it away with lukewarm water. You may need to hop in the shower to do this. Use your fingers to break up the paste as you rinse it away. Pat your skin dry and then apply a non-comedogenic moisturizer to complete the treatment. ## Treat neck acne with medication 1. Try over-the-counter treatments. Face washes and topical treatments containing benzoyl peroxide, salicylic acid, sulfur, or resorcinol acid are all effective acne-fighters and are available over-the-counter. You may find products targeted specifically at treating body acne, which may be more effective than products meant to be used on your face. Just make sure you don't forget and use the body product on the delicate skin of your face or the front of your neck. 2. Ask about retinoid creams. Retinoid creams can help to unclog your pores and eliminate acne on your neck, but you will need to get a prescription from your doctor or dermatologist. 3. Discuss the use of antibiotics. Your doctor may prescribe a prescription-strength topical antibiotic, such as clindamycin, to apply to your neck, which kills acne-causing bacteria. It may also reduce redness. You will need to apply it twice daily and combine it with benzoyl peroxide, as this prevents the bacteria from becoming immune to the antibiotic. 4. Talk to your doctor about oral contraceptive pills if you are a woman. Oral contraceptives can help to reduce acne in some women, but only if the acne is related to shifts in your hormones. Keep in mind that oral contraceptives have side effects and they should not be used if you are planning to become pregnant. 5. Consider steroid injections for cystic acne. If your dermatologist determines that the acne on the back of your neck is a nodular or cystic lesion, your doctor may decide to inject the lesion directly with a steroid. This can quickly reduce swelling and heal the acne. It may also reduce scarring. Side effects of this treatment include thinning of the skin, increased sensitivity to light, and may temporarily case the fat under your skin to atrophy, giving the area a "sunken" appearance. 6. Consider isotretinoin for severe acne. Isotretinoin is a strong medicine that should only be used if other methods of controlling acne fail to work. Isotretinoin can clear up severe acne in a couple of months, but it also has some severe risks including: * Ulcerative colitis * Liver damage * Inflammatory bowel disease * Depression * Bone changes * Severe birth defects 7. Look into laser treatments for acne. Laser treatments can also help to get rid of acne by reducing the size of oil glands and making them less active as well. Some forms of laser therapy also use topical medicine to make the laser more effective. Keep in mind that you will need multiple treatments in order for laser therapy to work.
5
Tres formas diferentes de hacerlo: 1. Utilizando la función ```String.split()``` : ``` String str = "123-654321"; String[] parts = str.split("-"); ``` Esta solución utiliza expresiones regulares, así que no es lo más eficiente si no estas trabajando con ellas. 2. Utilizando la clase ```StringTokenizer``` : ```static private List fastSplit(final String text, final String separator, final boolean emptyStrings){ List result = new ArrayList(); final StringTokenizer st = new StringTokenizer(text, separator, true); String token = null; String lastToken = separator; while (st.hasMoreTokens()) { token = st.nextToken(); if (token.equals(separator)) { if (lastToken.equals(separator) && emptyStrings) { result.add(""); } } else { result.add(token); } lastToken = token; } return result; } ``` El problema con este método es que solo funciona bien cuando el delimitador tiene longitud 1. 3. Implementarlo usando ```String.indexOf()``` : En este caso si funcionará correctamente para delimitadores de cualquier longitud. ```static private List fastSplit2(final String text, final String separator, final boolean emptyStrings) { final List result = new ArrayList(); if (text != null && text.length() > 0) { int index1 = 0; int index2 = text.indexOf(separator); int sepLen = separator.length(); while (index2 >= 0) { String token = text.substring(index1, index2); if (!token.isEmpty() || emptyStrings){ result.add(token); } index1 = index2 + sepLen; index2 = text.indexOf(separator, index1); } if (index1 < text.length() - 1) { result.add(text.substring(index1)); } } return result; } ```
5
Doe's growth model (Doe, 2010)
This is, unfortunately, a case where English grammar can be tricky and exactly how you phrase things is going to matter. It is often seen a presumptuous to name something after yourself: "Newton's Laws" and "Hawking radiation" and "Rayleigh scattering" are retrospective judgements of significance by the community. Claiming a similar name is an assertion in advance that your work will be at a similar level of significance. The problem, then, is that if you say "Doe's growth model", it is ambiguous whether that is intended to be a construction like "Hawking radiation" or whether it just means "the growth model that happens to have been developed by Doe." This potential problem can be avoided by rephrasing to avoid the parallel construction: "the growth model by Doe et al (2010)", or better yet, "the growth model presented in (Doe, 2010)." The point here is that the significant item under discussion is the growth model, not Doe, and the sentence should be phrased to make that as clear as possible. Finally, note that these sorts of phrasings can work both for double blind review and for review where the authors' identities are known: even when the identity of the author is known, the important thing should be the relationship between the work, not the fraction of authors that are shared between two papers (unless you are specifically trying to talk about independent co-discovery).
5
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
36