en
stringlengths
17
10.9k
th
stringlengths
15
9.5k
How to join yarn in crocheting?
วิธีการรวมเส้นด้ายในการถัก?
Sounds like a great idea! Seriously though: the antagonist is the single most important character to any plot. The very best antagonists have motivations and feelings that readers can understand and empathize with. A former protagonist as an antagonist sounds really good. Both the reader and the author should be in for a fun ride, because it is very likely you will see your character grow in ways you didn't expect when you had them boxed in as a "good guy". Think about people you know in real life. If you really observe people, you come to understand that nobody is a "good guy". Sure there are people who are generally good and generally do good things, but nobody is perfect, and even the best people have thoughts and motivations you may not approve of. Even more interesting is the fact that two people can be absolutely opposed to one another without either one being objectively "wrong" or "evil". They might just have goals and motivations that are diametrically opposed. Imagine a city council wants more tax money to build a park. A local business wants to pay less tax money so they can afford to give Christmas bonuses. The business owner isn't "evil", in fact, he wants to give Christmas bonuses! The city council isn't "evil" either, they just want a park for the kids. Sometimes goals just conflict in an irreconcilable way. That's the real world. That kind of plot provides a lot more food for thought than a two dimensional "good versus evil" morning cartoon romp.
ฟังดูเป็นความคิดที่ดี! อย่างจริงจังแม้ว่า: ศัตรูเป็นตัวละครที่สำคัญที่สุดเพียงตัวเดียวสำหรับพล็อตเรื่องใด ๆ คู่อริที่ดีที่สุดมีแรงจูงใจและความรู้สึกที่ผู้อ่านสามารถเข้าใจและเห็นอกเห็นใจได้ อดีตตัวเอกในฐานะตัวร้ายฟังดูดีมาก ทั้งผู้อ่านและผู้แต่งควรสนุกไปกับมัน เพราะเป็นไปได้มากที่คุณจะได้เห็นตัวละครของคุณเติบโตในแบบที่คุณไม่คาดคิดเมื่อคุณให้พวกเขาอยู่ในกรอบในฐานะ "คนดี" คิดถึงคนที่คุณรู้จักในชีวิตจริง ถ้าคุณสังเกตคนจริงๆ คุณจะเข้าใจว่าไม่มีใครเป็น "คนดี" แน่นอนว่ามีคนที่ปกติดีและมักจะทำสิ่งดีๆ แต่ไม่มีใครสมบูรณ์แบบ และแม้แต่คนที่เก่งที่สุดก็มีความคิดและแรงจูงใจที่คุณอาจไม่เห็นด้วย ที่น่าสนใจยิ่งกว่าคือความจริงที่ว่าคนสองคนสามารถเป็นปฏิปักษ์ต่อกันได้อย่างสมบูรณ์โดยที่ฝ่ายใดฝ่ายหนึ่งไม่ได้ "ผิด" หรือ "ชั่วร้าย" พวกเขาอาจมีเป้าหมายและแรงจูงใจที่ตรงข้ามกัน ลองนึกภาพสภาเมืองต้องการเงินภาษีมากขึ้นเพื่อสร้างสวนสาธารณะ ธุรกิจในท้องถิ่นต้องการจ่ายภาษีให้น้อยลงเพื่อให้พวกเขาสามารถจ่ายโบนัสคริสต์มาสได้ เจ้าของธุรกิจไม่ได้ "ชั่วร้าย" จริงๆ แล้ว เขาต้องการให้โบนัสคริสต์มาส! สภาเทศบาลเมืองไม่ได้ "ชั่วร้าย" เช่นกัน พวกเขาแค่ต้องการสวนสาธารณะสำหรับเด็ก บางครั้งเป้าหมายก็ขัดแย้งกันในทางที่เข้ากันไม่ได้ นั่นคือโลกแห่งความจริง โครงเรื่องแบบนั้นให้อาหารแก่ความคิดมากกว่าการ์ตูนสองมิติเรื่อง "ความดีกับความชั่ว" ตอนเช้า
An aspiring writer working for the NSA has been looking through the files on your computer and publishing books based on the rough drafts you've been working on. Write a story of your revenge.
นักเขียนที่ต้องการทำงานให้กับ NSA ได้ค้นหาไฟล์ในคอมพิวเตอร์ของคุณและจัดพิมพ์หนังสือโดยอ้างอิงจากแบบร่างคร่าวๆ ที่คุณทำอยู่ เขียนเรื่องราวการแก้แค้นของคุณ
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.
เพื่อให้เสื้อผ้าของคุณหยิบใช้ได้ง่ายและไม่เลอะเทอะ ทางเลือกหนึ่งคือการหาแผงด้านข้าง IVAR จากอิเกีย พิงกำแพงในมุมเล็กน้อยแล้ววางเสื้อผ้า "ขอบ" เหล่านี้ไว้เหนือแถบแนวนอน มีหลายขนาดและตั้งเกือบชิดผนังหากคุณไม่ได้ใช้ หากคุณต้องการซ่อนมัน ก็มักจะวางไว้หลังประตูได้ค่อนข้างดี นอกจากนี้ ยังดูไม่ซ้ำใครเมื่อเทียบกับเก้าอี้แขวนเสื้อผ้าของคนส่วนใหญ่
Cats scratch furniture for a variety of reasons, so you'll have to work out why yours is scratching in particular. It's usually because it wants to claw off old nail sheaths, or because it wants to mark its territory. Here are a number of things you can do to train her not to scratch your furniture. First, you can trim her nails regularly. If you trim your cat's nails regularly, then it will be less likely for her to want to scratch because it will be more uncomfortable for her to do so. Plus, it will reduce the damage done by scratching because the claws won't be as sharp. Second, you can cover the areas with something unpleasant, like tin foil or double-sided tape. This should discourage her from scratching there, and she'll (hopefully) learn to go to her scratching post instead. Third, you can try to redirect her attention when she starts to scratch where she shouldn't. If you catch her in the act, make a loud noise (clapping is good) and she should stop. Then, if you have a scratching post nearby, encourage her to scratch there instead. Give her a treat if she scratches the post, or praise her verbally. She'll learn that scratching the post gets her good things, while scratching the furniture gets her nothing. Finally, you can try a combination of all of the above. Trim her nails, cover the furniture, and when you catch her scratching the furniture, clap your hands and show her the scratching post. With consistent effort, you should be able to break her furniture-scratching habit. It may take a few weeks, but it can be done.
แมวข่วนเฟอร์นิเจอร์ด้วยเหตุผลหลายประการ ดังนั้นคุณจะต้องค้นหาสาเหตุที่แมวของคุณเกาเป็นพิเศษ มักจะเป็นเพราะต้องการเล็มเปลือกเล็บเก่าออก หรือเพราะต้องการทำเครื่องหมายอาณาเขตของมัน ต่อไปนี้คือหลายสิ่งที่คุณสามารถทำได้เพื่อฝึกไม่ให้มันเกาเฟอร์นิเจอร์ของคุณ ขั้นแรก คุณสามารถตัดเล็บของเธอเป็นประจำ หากคุณตัดเล็บแมวเป็นประจำ ก็จะมีโอกาสน้อยที่แมวจะอยากข่วนเพราะมันจะทำให้แมวรู้สึกอึดอัดมากขึ้น นอกจากนี้ยังช่วยลดความเสียหายจากการเกาเพราะกรงเล็บจะไม่คมเท่า ประการที่สอง คุณสามารถปิดบริเวณนั้นด้วยสิ่งที่ไม่พึงประสงค์ เช่น ฟอยล์ดีบุกหรือเทปสองหน้า สิ่งนี้จะทำให้เธอไม่อยากเกาตรงนั้น และเธอ (หวังว่า) จะเรียนรู้ที่จะไปที่เสาลับเล็บแทน ประการที่สาม คุณสามารถลองหันเหความสนใจของเธอเมื่อเธอเริ่มเกาในจุดที่เธอไม่ควร หากคุณเห็นเธอในการแสดง ให้ส่งเสียงดัง (การตบมือเป็นการดี) และเธอควรหยุด จากนั้นหากคุณมีที่ลับเล็บอยู่ใกล้ๆ ก็ควรกระตุ้นให้เธอเกาตรงนั้นแทน ให้รางวัลกับเธอถ้าเธอเกาเสาหรือชมเธอด้วยวาจา เธอจะเรียนรู้ว่าการเกาเสาทำให้เธอได้สิ่งดีๆ ในขณะที่การเกาเฟอร์นิเจอร์ไม่ได้ทำให้เธอเสียอะไรเลย สุดท้ายนี้ คุณสามารถลองใช้วิธีต่างๆ ข้างต้นรวมกันได้ ตัดเล็บของเธอ คลุมเฟอร์นิเจอร์ และเมื่อคุณจับเธอข่วนเฟอร์นิเจอร์ ให้ตบมือและโชว์ที่ลับเล็บให้เธอดู ด้วยความพยายามอย่างต่อเนื่อง คุณน่าจะเลิกนิสัยชอบเกาเฟอร์นิเจอร์ของเธอได้ อาจใช้เวลาสองสามสัปดาห์ แต่สามารถทำได้
Here is a solution that uses the Python data visualization library Seaborn to create a boxplot from two different arrays, while labeling the median and 95th percentiles and trimming outliers: ``` import numpy as np import seaborn as sns import matplotlib.pyplot as plt # input arrays array1 = np.random.rand(50) array2 = np.random.rand(50) data = np.vstack([array1, array2]).T labels = ['Array 1', 'Array 2'] # Create the boxplot and trim outliers ax = sns.boxplot(data=data, whis=(0, 95)) # Set the x-axis labels ax.set_xticklabels(labels) # Label the median and 95th percentiles for i, label in enumerate(labels): median = np.median(data[:, i]) p95 = np.percentile(data[:, i], 95) ax.annotate(f'Median: {median:.2f}', xy=(i, median), xytext=(i - 0.25, median - 0.1)) ax.annotate(f'95th: {p95:.2f}', xy=(i, p95), xytext=(i - 0.25, p95 + 0.1) ```
นี่คือวิธีแก้ปัญหาที่ใช้ไลบรารีการแสดงข้อมูล Python Seaborn เพื่อสร้าง boxplot จากอาร์เรย์ที่แตกต่างกันสองอาร์เรย์ ในขณะที่ระบุค่ามัธยฐานและเปอร์เซ็นไทล์ที่ 95 และตัดค่าผิดปกติ: ``` นำเข้า numpy เป็น np นำเข้าซีบอร์นเป็น sns นำเข้า matplotlib.pyplot เป็น plt # อาร์เรย์อินพุต array1 = np.random.rand(50) array2 = np.random.rand(50) data = np.vstack([array1, array2]).ต ป้ายกำกับ = ['อาร์เรย์ 1', 'อาร์เรย์ 2'] # สร้าง boxplot และตัดแต่งค่าผิดปกติ ขวาน = sns.boxplot(data=data, whis=(0, 95)) # ตั้งค่าป้ายกำกับแกน x ax.set_xticklabels(ป้ายชื่อ) # ติดป้ายกำกับค่ามัธยฐานและเปอร์เซ็นไทล์ที่ 95 สำหรับฉัน ป้ายกำกับในการแจกแจง (ป้ายกำกับ): ค่ามัธยฐาน = np.ค่ามัธยฐาน (ข้อมูล [:, ฉัน]) p95 = np.percentile (ข้อมูล [:, i], 95) ax.annotate(f'ค่ามัธยฐาน: {ค่ามัธยฐาน:.2f}', xy=(i, ค่ามัธยฐาน), xytext=(i - 0.25, ค่ามัธยฐาน - 0.1)) ax.annotate(f'95th: {p95:.2f}', xy=(i, p95), xytext=(i - 0.25, p95 + 0.1) ```
How to determine gear ratio?
จะกำหนดอัตราทดเกียร์ได้อย่างไร?
[Matplotlib](https://matplotlib.org/) is arguably the most popular graphing and data visualization library for Python. Below is a working example of using Matplotlib to draw a plot. First of all, you’ll need to install the Matplotlib package. The easiest way to install matplotlib is to use pip. Type following command in terminal: ``` pip install matplotlib ``` Now we are ready to draw a line graph, and here is an example of how we can achieve this. ``` # Importing the required module import matplotlib.pyplot as plt # Define x-axis and y-axis values x_values = [1, 2, 3] y_values = [2, 4, 1] # Create a figure and a set of subplots fig, ax = plt.subplots() # Plot the points ax.plot(x_values, y_values) # Set x-axis label ax.set_xlabel('X-Axis') # Set y-axis label ax.set_ylabel('Y-Axis') # Set title ax.set_title('My First Graph') # Display the plot plt.show() ``` After executing the above code, the graph will be displayed.
[Matplotlib](https://matplotlib.org/) เป็นไลบรารีการสร้างกราฟและการแสดงข้อมูลที่ได้รับความนิยมสูงสุดสำหรับ Python ด้านล่างนี้เป็นตัวอย่างการทำงานของการใช้ Matplotlib เพื่อวาดพล็อต ก่อนอื่น คุณจะต้องติดตั้งแพ็คเกจ Matplotlib วิธีที่ง่ายที่สุดในการติดตั้ง matplotlib คือการใช้ pip พิมพ์คำสั่งต่อไปนี้ในเทอร์มินัล: ``` pip ติดตั้ง matplotlib ``` ตอนนี้เราพร้อมที่จะวาดกราฟเส้นแล้ว และนี่คือตัวอย่างวิธีที่เราสามารถทำได้ ``` # การนำเข้าโมดูลที่จำเป็น นำเข้า matplotlib.pyplot เป็น plt # กำหนดค่าแกน x และแกน y x_values = [1, 2, 3] y_values = [2, 4, 1] # สร้างตัวเลขและชุดของแผนย่อย รูปขวาน = plt.subplots() #สรุปประเด็น ax.plot(x_values, y_values) # ตั้งค่าป้ายกำกับแกน x ax.set_xlabel('แกน X') # ตั้งค่าป้ายกำกับแกน y ax.set_ylabel('แกน Y') #ตั้งชื่อเรื่อง ax.set_title('กราฟแรกของฉัน') #แสดงเนื้อเรื่อง plt.show() ``` หลังจากรันโค้ดด้านบนแล้ว กราฟจะแสดงขึ้น
Translate the following text into English. 在我们的文化中,家庭关系非常重要,我们会尽力照顾我们的父母和长辈。
แปลข้อความต่อไปนี้เป็นภาษาอังกฤษ ในวัฒนธรรมของเรา ความสัมพันธ์ในครอบครัวมีความสำคัญมาก และเราพยายามอย่างดีที่สุดเพื่อดูแลพ่อแม่และผู้สูงอายุของเรา
When someone gives you unsolicited advice, it can be tricky to know how to respond, no matter how well-intentioned it is. You don't want to hurt their feelings, but you also may not want to leave room for further advice. Sometimes, all you can do is politely acknowledge the advice and move forward. In other cases, however, you may need to shut the advice-giver down for crossing a boundary, or even leave the conversation. ## Keep your cool 1. Try to remember that the person is probably just trying to be helpful. They may not realize when they overstep their bounds, and they might hope that you will genuinely benefit from their advice. Sometimes, unsolicited advice just means that the person cares about you and wants to make your life easier. It is easy to take unsolicited advice as criticism. While this can be true, take their perspective into account and try to see if they are offering genuine, yet misguided support. 2. Take a moment to put yourself in the other person's shoes. While it does not excuse their rude behavior, keep in mind that people often give unsolicited advice because they feel the need to be heard, or because it's what they're used to receiving from other people. Think about what may have led this person to share a piece of advice you did not need. Some examples of experiences that might lead someone to give unsolicited advice are feeling unheard while growing up, going through a difficult time and projecting their own problems onto you, or they feel undermined in other areas of their life and give advice to feel more competent. In other cases, the person may feel more powerful by giving advice that no one asked for, or they may be overconfident in their abilities. Gender is another factor, as men tend to give women more unsolicited advice, often as a result of undervaluing their skills. 3. Maintain a sense of humor. It’s often easiest to smile or laugh off unsolicited advice. By having a sense of humor about the situation, you can put yourself in the right frame of mind to shrug off the comment. For small, harmless suggestions, especially from strangers, put the situation in perspective and let your humor guide your response. Think about how the situation will make a funny story to tell your friends later, or how absurd it is for someone to think you might not know how to do a simple task. You can convey good-natured humor in your response out of politeness, even when you find the suggestion silly or ignorant. By saying something like, “Well, that’s a great idea! Why didn’t I think of that?” you may be enabling them to continue to offer unprompted advice, but it can help you avoid conflict. 4. Avoid the impulse to lash out. It is easy to feel defensive when you receive unsolicited advice, in part because it can feel like the other person doesn’t trust you to handle things themselves. Sarcasm and criticism can make the person who gave you advice feel victimized, however, as they most likely won’t see what they did wrong. Think about your relationship with the person. Especially if they are a friend or family member, you may not want to upset them. When interacting with a stranger, it can be easy to be dismissive or rude, but try responding in a firm, yet polite way if laughing off the advice doesn’t work. ## Move on with the conversation 1. Hear the advice-giver out. In many cases, the person just wants to feel heard or contribute to the conversation. Let them say their piece, even if it's unhelpful or completely wrong. They'll probably feel better once they finish talking and often just stop. Once they have finished, the conversation can move on. 2. Acknowledge the advice and move on. Sometimes the easiest thing to do is nod, smile, say okay, and go ahead with your plans anyway. Particularly if the person is in a position of power, you might feel obligated to thank them before moving forward or changing the subject. "Thank you. I'll consider that." "Let me write that down so I can think it over." "I already have a plan for handling this, but thank you for your perspective. I'll take it into consideration." 3. Turn it into a joke about yourself. A little humor can turn around an awkward situation. If you think of something silly to say, try saying it out loud. The two of you might be able to have a good laugh and move on. "If you think my desk is messy, you should see my bedroom. Some of my clothes have probably fossilized by now." "You know me. I love carbs far too much to change my diet." "I would, but my husband banned me from the kitchen after the second time I set myself on fire." 4. Address their motive, if they have one. Sometimes people who give advice have an ulterior motive (for better or for worse). If you can tell that an advice-giver is hoping you'll do something that makes them happy, try offering an alternative or addressing it directly. "Are you trying to make an excuse to spend more time with me? Because you don't need one! Are you free this weekend?" "I know that it's been a big change since I moved away from home. I enjoy living in the city, so I plan to stay there. Why don't we set some dates for you to come visit?" 5. Ask a question to switch to a new topic. Changing the subject by asking a question can be a good way to distract a person who was piling on advice. Try asking about them, or about something you know they're interested in. This way, they're likely to stay engaged in the new topic. "I'll keep that in mind. But enough about me. How was your day?" "My partner and I are going to make all our birthing decisions together. Do you know of any good parent and me classes?" "Thanks for the advice! You mentioned having two dogs. What are their names?" 6. Turn down the advice politely if the person doesn't get the hint.. Try to keep it positive by saying that it isn't right for you personally, while acknowledging that it could be right for them or someone else. This will help the other person realize that they gave advice you didn’t ask for. "Thank you for trying to help, but I may have given the wrong impression. I'm not looking for advice right now." "I've tried that, but I found that it doesn't help me personally." "I'll make treatment decisions with my doctor." "That's not in line with my personal values." ## Confront the advice-giver 1. Express your discomfort if the advice-giver crosses a line. Sometimes, people say things that are downright rude, mean, or overly familiar. In that case, you may want to tell them that they've offended you or hurt your feelings. Try to make "I" statements (e.g. "I'm upset") instead of a "you" statement (e.g. "you're rude") so that you don't put them on the defensive. One way to shut down a piece of unwanted advice would be to say, "I feel upset about this line of conversation. Let's please change the subject." 2. Set a boundary with a regular advice-giver. If someone is repeatedly trying to give advice when it's not what you want, you may want to express your frustration in a constructive way. You can set a boundary in the conversation, or in general, if the person has a track record of offering unsolicited advice. For a specific instance of needing to set a boundary you could say, "I know you're trying to help, but I really just need a listening ear right now," or simply "I'm not looking for advice at the moment." If someone has been giving you unsolicited advice for weeks, months, or years, try saying something like, “I often feel like you try to help in ways that show you don’t trust me to help myself,” or “I will ask for advice if I need to, but I need you to let me talk about this without trying to help.” 3. Exit the conversation if needed. Sometimes people pile on unsolicited advice despite your attempts to redirect the conversation or set a boundary. In these situations, it may be easier to leave the conversation for a minute or end the conversation altogether. "Please excuse me. I remembered… " * "I need to get going now so I'm not late." "I need to get to an appointment. It was nice talking to you!"
เมื่อมีคนให้คำแนะนำโดยไม่ได้ร้องขอแก่คุณ การรู้วิธีตอบกลับอาจเป็นเรื่องยากไม่ว่าจะมีเจตนาดีเพียงใด คุณไม่ต้องการทำร้ายความรู้สึกของพวกเขา แต่คุณอาจไม่ต้องการออกจากที่ว่างเพื่อขอคำแนะนำเพิ่มเติม บางครั้งสิ่งที่คุณทำได้คือยอมรับคำแนะนำอย่างสุภาพและเดินหน้าต่อไป อย่างไรก็ตาม ในกรณีอื่นๆ คุณอาจต้องปิดผู้ให้คำแนะนำเพราะข้ามเขตแดน หรือแม้แต่ออกจากการสนทนา ##ใจเย็นๆนะครับ 1. พยายามจำไว้ว่าบุคคลนั้นอาจแค่พยายามช่วยเหลือ พวกเขาอาจไม่รู้ตัวเมื่อพวกเขาทำเกินขอบเขต และพวกเขาอาจหวังว่าคุณจะได้รับประโยชน์อย่างแท้จริงจากคำแนะนำของพวกเขา บางครั้งคำแนะนำที่ไม่ได้ร้องขอก็หมายความว่าคนๆ นั้นห่วงใยคุณและต้องการทำให้ชีวิตคุณง่ายขึ้น มันง่ายที่จะใช้คำแนะนำที่ไม่พึงประสงค์เป็นคำวิจารณ์ แม้ว่าสิ่งนี้อาจเป็นเรื่องจริง แต่ให้คำนึงถึงมุมมองของพวกเขาและพยายามดูว่าพวกเขาเสนอการสนับสนุนที่จริงใจแต่เข้าใจผิดหรือไม่ 2. ใช้เวลาสักครู่เพื่อให้ตัวเองอยู่ในรองเท้าของคนอื่น แม้ว่าจะไม่ถือเป็นข้อแก้ตัวสำหรับพฤติกรรมหยาบคายของพวกเขา แต่จำไว้ว่าผู้คนมักจะให้คำแนะนำที่ไม่ได้ร้องขอเพราะพวกเขารู้สึกว่าจำเป็นต้องได้รับการรับฟัง หรือเพราะเป็นสิ่งที่พวกเขาเคยได้รับจากคนอื่น ลองนึกถึงสิ่งที่อาจทำให้บุคคลนี้แบ่งปันคำแนะนำที่คุณไม่ต้องการ ตัวอย่างประสบการณ์ที่อาจชักนำให้ใครบางคนให้คำแนะนำโดยไม่ได้ร้องขอ เช่น รู้สึกไม่ได้รับการเหลียวแลในขณะที่เติบโต กำลังเผชิญกับช่วงเวลาที่ยากลำบากและโยนปัญหาของตัวเองใส่คุณ หรือพวกเขารู้สึกว่าถูกบั่นทอนในด้านอื่นๆ ของชีวิตและให้คำแนะนำเพื่อให้รู้สึกว่ามีอำนาจมากขึ้น ในกรณีอื่น คนๆ นั้นอาจรู้สึกมีพลังมากขึ้นจากการให้คำแนะนำที่ไม่มีใครร้องขอ หรือพวกเขาอาจมั่นใจในความสามารถของตนเองมากเกินไป เพศเป็นอีกปัจจัยหนึ่ง เนื่องจากผู้ชายมักให้คำแนะนำที่ไม่พึงประสงค์แก่ผู้หญิง ซึ่งมักเป็นผลมาจากการประเมินค่าทักษะต่ำเกินไป 3. รักษาอารมณ์ขัน การยิ้มหรือหัวเราะกับคำแนะนำที่ไม่ได้ร้องขอมักจะเป็นเรื่องง่ายที่สุด เมื่อมีอารมณ์ขันเกี่ยวกับสถานการณ์ คุณสามารถทำให้ตัวเองอยู่ในกรอบความคิดที่เหมาะสมในการยักไหล่ความคิดเห็น สำหรับคำแนะนำเล็กๆ น้อยๆ ที่ไม่เป็นอันตราย โดยเฉพาะจากคนแปลกหน้า ให้มองสถานการณ์ในมุมมองและปล่อยให้อารมณ์ขันนำทางคำตอบของคุณ ลองคิดดูว่าสถานการณ์นั้นจะสร้างเรื่องราวตลกๆ ไว้เล่าให้เพื่อนๆ ฟังในภายหลังได้อย่างไร หรือเป็นเรื่องไร้สาระแค่ไหนที่บางคนคิดว่าคุณอาจไม่รู้วิธีทำงานง่ายๆ คุณสามารถถ่ายทอดอารมณ์ขันอย่างมีมารยาทในการตอบกลับของคุณด้วยความสุภาพ แม้ว่าคุณจะพบว่าคำแนะนำนั้นงี่เง่าหรือไม่รู้เรื่องก็ตาม โดยพูดประมาณว่า “เป็นความคิดที่ดี! ทำไมฉันคิดไม่ถึง” คุณอาจช่วยให้พวกเขาให้คำแนะนำต่อไปโดยไม่ได้รับการร้องขอ แต่สามารถช่วยให้คุณหลีกเลี่ยงความขัดแย้งได้ 4. หลีกเลี่ยงแรงกระตุ้นที่จะฟาดฟัน เป็นเรื่องง่ายที่จะรู้สึกต่อต้านเมื่อคุณได้รับคำแนะนำที่ไม่ได้ร้องขอ ส่วนหนึ่งเป็นเพราะอีกฝ่ายไม่ไว้ใจให้คุณจัดการสิ่งต่างๆ ด้วยตนเอง การเสียดสีและคำวิจารณ์อาจทำให้คนที่ให้คำแนะนำคุณรู้สึกตกเป็นเหยื่อได้ เนื่องจากพวกเขามักไม่เห็นว่าตนทำผิดอะไร คิดถึงความสัมพันธ์ของคุณกับบุคคลนั้น โดยเฉพาะอย่างยิ่งหากพวกเขาเป็นเพื่อนหรือสมาชิกในครอบครัว คุณอาจไม่ต้องการทำให้พวกเขาอารมณ์เสีย เมื่อมีปฏิสัมพันธ์กับคนแปลกหน้า การเมินเฉยหรือหยาบคายอาจเป็นเรื่องง่าย แต่ลองตอบโต้อย่างหนักแน่นแต่สุภาพหากการหัวเราะเยาะคำแนะนำไม่ได้ผล ## ไปต่อกับการสนทนา 1. ฟังผู้ให้คำแนะนำ ในหลายกรณี คนๆ นั้นแค่ต้องการได้ยินหรือมีส่วนร่วมในการสนทนา ปล่อยให้พวกเขาพูดออกมา แม้ว่าจะไม่เป็นประโยชน์หรือผิดทั้งหมดก็ตาม พวกเขาอาจจะรู้สึกดีขึ้นเมื่อพูดจบและมักจะหยุด เมื่อเสร็จสิ้นการสนทนาสามารถดำเนินต่อไปได้ 2. รับทราบคำแนะนำและเดินหน้าต่อไป บางครั้งสิ่งที่ง่ายที่สุดที่จะทำคือพยักหน้า ยิ้ม พูดตกลง และเดินหน้าตามแผนต่อไป โดยเฉพาะอย่างยิ่งหากบุคคลนั้นอยู่ในตำแหน่งที่มีอำนาจ คุณอาจรู้สึกว่าจำเป็นต้องขอบคุณพวกเขาก่อนที่จะพูดต่อหรือเปลี่ยนเรื่อง "ขอบคุณครับ ผมจะพิจารณา" “ขอฉันเขียนลงไปเพื่อที่ฉันจะได้คิดทบทวน” "ฉันมีแผนสำหรับจัดการเรื่องนี้แล้ว แต่ขอบคุณสำหรับมุมมองของคุณ ฉันจะรับมันมาพิจารณา" 3. เปลี่ยนมันเป็นเรื่องตลกเกี่ยวกับตัวคุณเอง อารมณ์ขันเล็กๆ น้อยๆ สามารถพลิกสถานการณ์ที่น่ากระอักกระอ่วนได้ หากคุณคิดว่าจะพูดอะไรโง่ๆ ให้ลองพูดออกมาดังๆ คุณสองคนอาจจะหัวเราะและไปต่อได้ "ถ้าคุณคิดว่าโต๊ะของฉันรก คุณควรเห็นห้องนอนของฉัน เสื้อผ้าของฉันบางส่วนอาจกลายเป็นซากดึกดำบรรพ์ไปแล้ว" "คุณรู้จักฉัน ฉันรักการทานคาร์โบไฮเดรตมากเกินไปที่จะเปลี่ยนอาหารของฉัน" “ฉันจะทำ แต่สามีห้ามฉันเข้าครัวหลังจากที่ฉันจุดไฟเผาตัวเองเป็นครั้งที่สอง” 4. กล่าวถึงแรงจูงใจของพวกเขา หากมี บางครั้งผู้ที่ให้คำแนะนำมีแรงจูงใจซ่อนเร้น (ในทางที่ดีขึ้นหรือแย่ลง) หากคุณสามารถบอกได้ว่าผู้ให้คำแนะนำหวังว่าคุณจะทำสิ่งที่ทำให้พวกเขามีความสุข ให้ลองเสนอทางเลือกอื่นหรือพูดตรงๆ "คุณกำลังหาข้ออ้างเพื่อใช้เวลากับฉันมากขึ้นใช่ไหม เพราะคุณไม่ต้องการ! วันหยุดสุดสัปดาห์นี้คุณว่างไหม" "ฉันรู้ว่ามันเป็นการเปลี่ยนแปลงครั้งใหญ่ตั้งแต่ฉันย้ายออกจากบ้าน ฉันสนุกกับการใช้ชีวิตในเมือง ดังนั้นฉันจึงวางแผนที่จะอยู่ที่นั่น ทำไมเราไม่กำหนดวันให้คุณมาเยี่ยม" 5. ถามคำถามเพื่อสลับไปยังหัวข้อใหม่ การเปลี่ยนเรื่องโดยการถามคำถามเป็นวิธีที่ดีในการเบี่ยงเบนความสนใจของผู้ที่กำลังขอคำแนะนำ ลองถามเกี่ยวกับพวกเขาหรือสิ่งที่คุณรู้ว่าพวกเขาสนใจ วิธีนี้จะทำให้พวกเขายังคงมีส่วนร่วมในหัวข้อใหม่ “ฉันจะจำไว้ แต่เรื่องของฉันก็พอแล้ว วันนี้คุณเป็นยังไงบ้าง” "คู่ของฉันและฉันจะตัดสินใจเรื่องการเกิดทั้งหมดของเราด้วยกัน คุณรู้หรือไม่ว่ามีชั้นเรียนที่ดีสำหรับผู้ปกครองและฉัน" "ขอบคุณสำหรับคำแนะนำ! คุณบอกว่ามีสุนัขสองตัว พวกมันชื่ออะไร" 6. ปฏิเสธคำแนะนำอย่างสุภาพถ้าคนๆ นั้นไม่เข้าใจคำใบ้.. พยายามคิดบวกด้วยการบอกว่ามันไม่เหมาะกับคุณเป็นการส่วนตัว ในขณะที่ยอมรับว่ามันอาจจะใช่สำหรับพวกเขาหรือคนอื่น วิธีนี้จะช่วยให้อีกฝ่ายรู้ว่าพวกเขาให้คำแนะนำที่คุณไม่ได้ขอ "ขอบคุณที่พยายามช่วย แต่ฉันอาจจะเข้าใจผิด ฉันไม่ต้องการคำแนะนำในตอนนี้" "ฉันได้ลองทำแล้ว แต่ฉันพบว่ามันไม่ได้ช่วยอะไรฉันเป็นการส่วนตัว" "ฉันจะตัดสินใจเรื่องการรักษากับแพทย์ของฉัน" "นั่นไม่สอดคล้องกับค่านิยมส่วนตัวของฉัน" ## เผชิญหน้ากับผู้ให้คำแนะนำ 1. แสดงความไม่สบายใจหากผู้ให้คำแนะนำล้ำเส้น บางครั้งผู้คนพูดอะไรที่หยาบคาย ใจร้าย หรือคุ้นเคยมากเกินไป ในกรณีนี้ คุณอาจต้องการบอกพวกเขาว่าพวกเขาทำให้คุณขุ่นเคืองหรือทำร้ายความรู้สึกของคุณ พยายามใช้ประโยคแทนคำว่า "ฉัน" (เช่น "ฉันเสียใจ") แทนคำว่า "คุณ" (เช่น "คุณหยาบคาย") เพื่อไม่ให้เป็นการแสดงความไม่พอใจ วิธีหนึ่งในการปิดคำแนะนำที่ไม่ต้องการคือการพูดว่า "ฉันรู้สึกเสียใจกับบทสนทนานี้ เปลี่ยนเรื่องกันเถอะ" 2. กำหนดขอบเขตกับผู้ให้คำแนะนำอย่างสม่ำเสมอ หากมีคนพยายามให้คำแนะนำซ้ำแล้วซ้ำเล่าทั้งๆ ที่ไม่ใช่สิ่งที่คุณต้องการ คุณอาจต้องการแสดงความคับข้องใจด้วยวิธีที่สร้างสรรค์ คุณสามารถกำหนดขอบเขตในการสนทนา หรือโดยทั่วไป หากบุคคลนั้นมีประวัติในการให้คำแนะนำที่ไม่พึงประสงค์ สำหรับบางกรณีที่ต้องการกำหนดขอบเขต คุณสามารถพูดว่า "ฉันรู้ว่าคุณกำลังพยายามช่วย แต่ตอนนี้ฉันแค่ต้องการหูฟังจริงๆ" หรือง่ายๆ ว่า "ฉันไม่ได้ต้องการคำแนะนำในตอนนี้ " ถ้ามีคนให้คำแนะนำโดยที่คุณไม่ได้ร้องขอมาเป็นเวลาหลายสัปดาห์ หลายเดือน หรือหลายปี ลองพูดประมาณว่า “ฉันมักจะรู้สึกว่าคุณพยายามช่วยด้วยวิธีที่แสดงว่าคุณไม่ไว้ใจให้ฉันช่วยเอง” หรือ “ฉันจะขอ เพื่อขอคำแนะนำหากฉันต้องการ แต่ฉันต้องการให้คุณปล่อยให้ฉันพูดเรื่องนี้โดยไม่ต้องพยายามช่วย” 3. ออกจากการสนทนาหากจำเป็น บางครั้งผู้คนมักได้รับคำแนะนำที่ไม่ได้ร้องขอ ทั้งๆ ที่คุณพยายามเปลี่ยนเส้นทางการสนทนาหรือกำหนดขอบเขต ในสถานการณ์เหล่านี้ การออกจากการสนทนาสักครู่หรือจบการสนทนาไปเลยอาจง่ายกว่า “ขอโทษนะ ฉันจำได้ว่า…” * "ฉันต้องไปแล้ว จะได้ไม่สาย" "ฉันต้องไปตามนัด ยินดีที่ได้คุยกับคุณ!"
How much does it cost to make a MOOC universally accessible, as defined by the Americans With Disabilities Act of 1990?
มีค่าใช้จ่ายเท่าใดในการทำให้ MOOC สามารถเข้าถึงได้ในระดับสากล ตามที่กำหนดโดย Americans With Disabilities Act ปี 1990
What if you had to spend 100 days on a desert island all alone? What ten things would you take with you and why?
จะเป็นอย่างไรถ้าคุณต้องใช้เวลา 100 วันบนเกาะทะเลทรายเพียงลำพัง คุณจะเอาอะไรติดตัวไป 10 อย่างและทำไม?
How to help make cellulite less visible?
ช่วยให้เซลลูไลท์มองเห็นได้น้อยลงได้อย่างไร?
Write a "5 minute mystery" (a short mystery the reader can solve using only the clues provided)
เขียน "ปริศนา 5 นาที" (ปริศนาสั้น ๆ ที่ผู้อ่านสามารถไขได้โดยใช้เพียงเบาะแสที่ให้ไว้)
I'm trying to set get id of all elements in an ```HTMLCollectionOf```. I wrote the following code: ```var list = document.getElementsByClassName("events"); console.log(list[0].id); for (key in list) { console.log(key.id); } ``` But I got the following output in console: ```event1 undefined ``` which is not what I expected. Why is the second console output ```undefined``` but the first console output is ```event1```?
ฉันกำลังพยายามตั้งค่า get id ขององค์ประกอบทั้งหมดใน ```HTMLCollectionOf``` ฉันเขียนรหัสต่อไปนี้: ```var list = document.getElementsByClassName("เหตุการณ์"); console.log(รายการ[0].id); สำหรับ (ป้อนรายการ) { console.log(key.id); } ``` แต่ฉันได้ผลลัพธ์ต่อไปนี้ในคอนโซล: ```เหตุการณ์1 ไม่ได้กำหนด ``` ซึ่งไม่ใช่สิ่งที่ฉันคาดไว้ เหตุใดเอาต์พุตคอนโซลที่สองจึงเป็น ```ไม่ได้กำหนด``` แต่เอาต์พุตคอนโซลแรกคือ ```event1```
How to peel plums?
วิธีการปอกลูกพลัม?
Basically, a fold or crease in paper will remain because the structure of the fibers in the paper have become irreversibly damaged. This happens because the paper is bent/compressed beyond its elastic limit. Chemically, paper is mainly composed of cellulose from plant fibers. Cellulose is an organic polymer, which has D-glucose units connected through hydrogen bonds. These bonds form between the oxygen atom of the one-hydroxyl group belonging to the glucose and the hydrogen atom of the next glucose unit. These are microscopic properties of paper, but to understand what happens when we fold paper or do Origami, it is sufficient to learn what is happening macroscopically. All materials have what is called an elastic limit and a plastic region. The elastic limit is the point at which a material will bend but still return to its original position without any permanent change or damage to its structure. Further deforming the material beyond this limit takes it to its plastic region. At this point any structural or physical changes become permanent and the paper will not return to its original form. Every material has a different elastic limit or yield, and plastic region. Imagine holding a piece of paper slightly bent but not folding or creasing it. The plant fibers that make up the paper will not have exceeded their elastic limit. So as soon as you let go of the paper sheet it will quickly return to its noncreased original flat state. However, if you were to roll that piece of paper into a cylinder and hold it for a few minutes, some of these fibers will be pushed beyond the elastic limit which is evident since it will not lie flat anymore since slight deformations have occurred in this sheet. Now, when you properly fold a piece of paper as you would during Origami, the plant fibers along the crease are pushed into the plastic region of the paper, causing a fracture point at the actual line of the fold. A practical example of this is if you were to fold a piece of paper, you will note that if you stretch the paper evenly on both sides of the fold, the paper will tear right on the fold (a quick way to "cut" paper if you have no scissors). The fold then becomes an irreversible structural failure and the fibers in the paper will never regain their original state. Because of this damage to its structure, the paper will from then on have this fold. And no matter how hard you try to flatten out the fold it will never return to its original state. This is why Origami models continually retain their shape.
โดยทั่วไปแล้วรอยพับหรือรอยพับในกระดาษจะยังคงอยู่เนื่องจากโครงสร้างของเส้นใยในกระดาษได้รับความเสียหายอย่างไม่สามารถแก้ไขได้ สิ่งนี้เกิดขึ้นเนื่องจากกระดาษงอ/บีบอัดเกินขีดจำกัดความยืดหยุ่น ในทางเคมี กระดาษมีส่วนประกอบหลักเป็นเซลลูโลสจากเส้นใยพืช เซลลูโลสเป็นโพลิเมอร์อินทรีย์ซึ่งมีหน่วย D-กลูโคสเชื่อมต่อกันด้วยพันธะไฮโดรเจน พันธะเหล่านี้ก่อตัวขึ้นระหว่างอะตอมออกซิเจนของหมู่ไฮดรอกซิลหนึ่งที่เป็นของกลูโคสและอะตอมของไฮโดรเจนของกลูโคสถัดไป สิ่งเหล่านี้เป็นคุณสมบัติระดับจุลภาคของกระดาษ แต่เพื่อให้เข้าใจว่าเกิดอะไรขึ้นเมื่อเราพับกระดาษหรือพับกระดาษ Origami ก็เพียงพอแล้วที่จะเรียนรู้ว่าเกิดอะไรขึ้นเมื่อมองด้วยตาเปล่า วัสดุทั้งหมดมีสิ่งที่เรียกว่าขีดจำกัดความยืดหยุ่นและขอบเขตของพลาสติก ขีดจำกัดความยืดหยุ่นคือจุดที่วัสดุจะโค้งงอแต่ยังคงกลับสู่ตำแหน่งเดิมโดยไม่มีการเปลี่ยนแปลงถาวรหรือทำให้โครงสร้างเสียหาย การเปลี่ยนรูปร่างของวัสดุเกินขีดจำกัดนี้จะนำไปสู่บริเวณพลาสติก ณ จุดนี้ การเปลี่ยนแปลงทางโครงสร้างหรือทางกายภาพใดๆ จะกลายเป็นแบบถาวร และกระดาษจะไม่กลับเป็นแบบเดิม วัสดุทุกชนิดมีขีดจำกัดความยืดหยุ่นหรือผลผลิตที่แตกต่างกัน และบริเวณพลาสติก ลองนึกภาพว่าถือกระดาษงอเล็กน้อย แต่ไม่พับหรือพับกระดาษ เส้นใยพืชที่ประกอบเป็นกระดาษจะไม่เกินขีดจำกัดความยืดหยุ่น ทันทีที่คุณปล่อยแผ่นกระดาษ กระดาษจะกลับคืนสู่สภาพเรียบเหมือนเดิมอย่างรวดเร็ว อย่างไรก็ตาม หากคุณต้องม้วนกระดาษชิ้นนั้นลงในทรงกระบอกและถือไว้สักสองสามนาที เส้นใยเหล่านี้บางส่วนจะถูกดันให้เกินขีดจำกัดความยืดหยุ่น ซึ่งเห็นได้ชัดเนื่องจากมันจะไม่นอนราบอีกต่อไป เนื่องจากมีการเสียรูปเล็กน้อยเกิดขึ้นในเรื่องนี้ แผ่น. ตอนนี้ เมื่อคุณพับกระดาษอย่างถูกต้องเหมือนที่คุณทำระหว่าง Origami เส้นใยพืชที่อยู่ตามรอยพับจะถูกดันเข้าไปในพื้นที่พลาสติกของกระดาษ ทำให้เกิดจุดแตกหักที่แนวพับจริง ตัวอย่างที่ใช้ได้จริงคือ หากคุณจะพับกระดาษ คุณจะสังเกตว่าถ้าคุณยืดกระดาษให้เท่าๆ กันทั้งสองด้านของการพับ กระดาษจะขาดตรงรอยพับ (เป็นวิธีที่รวดเร็วในการ "ตัด" กระดาษถ้าคุณไม่มีกรรไกร) จากนั้นการพับจะกลายเป็นความล้มเหลวของโครงสร้างที่แก้ไขไม่ได้และเส้นใยในกระดาษจะไม่คืนสภาพเดิม เนื่องจากความเสียหายต่อโครงสร้างนี้ กระดาษจะมีรอยพับแบบนี้ตั้งแต่นั้นมา และไม่ว่าคุณจะพยายามรีดผ้าให้เรียบแค่ไหน มันก็ไม่มีวันกลับคืนสู่สภาพเดิม ด้วยเหตุนี้โมเดล Origami จึงคงรูปร่างไว้ได้อย่างต่อเนื่อง
An important thing to remember when interviewing anyone is that you already know the broad strokes of what they're going to say. You did your research beforehand, you know their position on the topic, you probably have a good idea of their background and how they came to their position. What you want to do is get them to fill in the details, to provide color and depth to the story. Hre are some example questions I would ask if I were a news reporter: (Opening statement) Good evening. I'm (name), and this is (name of show). Tonight, we're joined by (name of guest), (title or occupation of guest). Thank you for joining us. (First question) Let's start at the beginning. How did you become involved in (subject of interview)? (Second question) Many of our viewers may not be familiar with the intricacies of (subject of interview). Can you explain (complex concept in subject) in terms the average person can understand? (Third question) (Name of guest), you've been extremely critical of (name of opponent or person with opposing viewpoint). Do you feel your statements have been misconstrued, or do you stand by them? (Fourth question) (Name of guest), you've been involved in (subject of interview) for (number of years). How do you feel the situation has changed over that time? (Final question) (Name of guest), we've just about run out of time, but I'd like to give you a chance to make one final statement, or to address any issues that we haven't covered tonight.
สิ่งสำคัญที่ต้องจำไว้เมื่อสัมภาษณ์ใครก็ตามคือคุณรู้อยู่แล้วว่าพวกเขาจะพูดอะไร คุณได้ทำการค้นคว้าข้อมูลของคุณล่วงหน้า คุณรู้จุดยืนของพวกเขาในหัวข้อนี้ คุณคงพอทราบภูมิหลังของพวกเขาและวิธีที่พวกเขามาถึงตำแหน่งของพวกเขา สิ่งที่คุณอยากทำคือให้พวกเขากรอกรายละเอียด เติมสีสันและความลึกให้กับเรื่องราว นี่คือตัวอย่างคำถามที่ฉันจะถามหากฉันเป็นนักข่าว: (คำกล่าวเปิดงาน) สวัสดีตอนค่ำ. ฉันชื่อ (ชื่อ) และนี่คือ (ชื่อรายการ) คืนนี้ เราเข้าร่วมโดย (ชื่อแขก) (ตำแหน่งหรืออาชีพของแขก) ขอบคุณที่มาร่วมงานกับเรา (คำถามแรก) เรามาเริ่มกันที่จุดเริ่มต้น คุณเข้ามามีส่วนร่วมใน (หัวข้อสัมภาษณ์) ได้อย่างไร? (คำถามที่สอง) ผู้ชมของเราหลายคนอาจไม่คุ้นเคยกับความซับซ้อนของ คุณสามารถอธิบาย (แนวคิดที่ซับซ้อนในเรื่อง) ในแง่ที่คนทั่วไปสามารถเข้าใจได้หรือไม่? (คำถามที่สาม) (ชื่อแขก) คุณเคยวิพากษ์วิจารณ์อย่างมากเกี่ยวกับ (ชื่อของฝ่ายตรงข้ามหรือบุคคลที่มีมุมมองตรงกันข้าม) คุณรู้สึกว่าข้อความของคุณถูกเข้าใจผิด หรือคุณยืนหยัดตามนั้นหรือไม่? (คำถามที่สี่) (ชื่อแขก) คุณมีส่วนร่วมใน (หัวข้อสัมภาษณ์) เป็นเวลา (จำนวนปี) คุณรู้สึกอย่างไรกับสถานการณ์ที่เปลี่ยนไปในช่วงเวลานั้น (คำถามสุดท้าย) (ชื่อแขก) เราใกล้จะหมดเวลาแล้ว แต่ฉันอยากจะให้โอกาสคุณในการแถลงครั้งสุดท้าย หรือแก้ไขปัญหาใดๆ ที่เราไม่ได้กล่าวถึงในคืนนี้
With Swift 5, according to your needs, you may choose one of the 6 following Playground codes in order to solve your problem. #1. Using ```subscript(_:)``` subscript ```let array = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"] let arraySlice = array[..<5] //let arraySlice = array[0..<5] // also works //let arraySlice = array[0...4] // also works //let arraySlice = array[...4] // also works let newArray = Array(arraySlice) print(newArray) // prints: ["A", "B", "C", "D", "E"] ``` #2. Using ```prefix(_:)``` method Complexity: O(1) if the collection conforms to ```RandomAccessCollection```; otherwise, O(k), where k is the number of elements to select from the beginning of the collection. ```let array = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"] let arraySlice = array.prefix(5) let newArray = Array(arraySlice) print(newArray) // prints: ["A", "B", "C", "D", "E"] ``` Apple states for ```prefix(_:)```: If the maximum length exceeds the number of elements in the collection, the result contains all the elements in the collection. #3. Using ```prefix(upTo:)``` method Complexity: O(1) ```let array = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"] let arraySlice = array.prefix(upTo: 5) let newArray = Array(arraySlice) print(newArray) // prints: ["A", "B", "C", "D", "E"] ``` Apple states for ```prefix(upTo:)```: Using the ```prefix(upTo:)``` method is equivalent to using a partial half-open range as the collection's subscript. The subscript notation is preferred over ```prefix(upTo:)```. #4. Using ```prefix(through:)``` method ```let array = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"] let arraySlice = array.prefix(through: 4) let newArray = Array(arraySlice) print(newArray) // prints: ["A", "B", "C", "D", "E"] ``` #5. Using ```removeSubrange(_:)``` method Complexity: O(n), where n is the length of the collection. ```var array = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"] array.removeSubrange(5...) print(array) // prints: ["A", "B", "C", "D", "E"] ``` #6. Using ```dropLast(_:)``` method Complexity: O(1) if the collection conforms to ```RandomAccessCollection```; otherwise, O(k), where k is the number of elements to drop. ```let array = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"] let distance = array.distance(from: 5, to: array.endIndex) let arraySlice = array.dropLast(distance) let newArray = Array(arraySlice) print(newArray) // prints: ["A", "B", "C", "D", "E"] ```
ด้วย Swift 5 ตามความต้องการของคุณ คุณสามารถเลือกหนึ่งใน 6 รหัส Playground ต่อไปนี้เพื่อแก้ปัญหาของคุณ #1. การใช้ตัวห้อย ```(_:)``` ```ให้อาร์เรย์ = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K" , "ล"] ให้ arraySlice = อาร์เรย์[..<5] // ให้ arraySlice = array[0..<5] // ใช้งานได้เช่นกัน // ให้ arraySlice = array[0...4] // ใช้งานได้เช่นกัน // ให้ arraySlice = array[...4] // ใช้งานได้เช่นกัน ให้ newArray = Array(arraySlice) พิมพ์ (newArray) // พิมพ์: ["A", "B", "C", "D", "E"] ``` #2. ใช้ ```คำนำหน้า(_:)``` เมธอด ความซับซ้อน: O(1) หากคอลเลกชันสอดคล้องกับ ``` RandomAccessCollection```; มิฉะนั้น O(k) โดยที่ k คือจำนวนองค์ประกอบที่จะเลือกจากจุดเริ่มต้นของคอลเลกชัน ```ให้อาร์เรย์ = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K" , "ล"] ให้ arraySlice = array.prefix(5) ให้ newArray = Array(arraySlice) พิมพ์ (newArray) // พิมพ์: ["A", "B", "C", "D", "E"] ``` Apple ระบุสำหรับ ```คำนำหน้า(_:)```: หากความยาวสูงสุดเกินจำนวนองค์ประกอบในคอลเลกชัน ผลลัพธ์จะมีองค์ประกอบทั้งหมดในคอลเลกชัน #3. ใช้ ```คำนำหน้า(upTo:)``` วิธีการ ความซับซ้อน: O(1) ```ให้อาร์เรย์ = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K" , "ล"] ให้ arraySlice = array.prefix(สูงสุด: 5) ให้ newArray = Array(arraySlice) พิมพ์ (newArray) // พิมพ์: ["A", "B", "C", "D", "E"] ``` Apple ระบุสำหรับ ```คำนำหน้า(upTo:)```: การใช้เมธอด ```คำนำหน้า(upTo:)``` เทียบเท่ากับการใช้ช่วงครึ่งเปิดบางส่วนเป็นตัวห้อยของคอลเลกชัน ควรใช้สัญลักษณ์ตัวห้อยมากกว่า ``` คำนำหน้า(upTo:)``` #4. ใช้ ```คำนำหน้า(ถึง:)``` วิธีการ ```ให้อาร์เรย์ = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K" , "ล"] ให้ arraySlice = array.prefix (ถึง: 4) ให้ newArray = Array(arraySlice) พิมพ์ (newArray) // พิมพ์: ["A", "B", "C", "D", "E"] ``` #5. ใช้วิธี ```removeSubrange(_:)``` ความซับซ้อน: O(n) โดยที่ n คือความยาวของการรวบรวม ```var array = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K" , "ล"] array.removeSubrange(5...) พิมพ์ (อาร์เรย์) // พิมพ์: ["A", "B", "C", "D", "E"] ``` #6. ใช้วิธี ```dropLast(_:)``` ความซับซ้อน: O(1) หากคอลเลกชันสอดคล้องกับ ``` RandomAccessCollection```; มิฉะนั้น O(k) โดยที่ k คือจำนวนองค์ประกอบที่จะดรอป ```ให้อาร์เรย์ = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K" , "ล"] ให้ระยะทาง = array.distance(จาก: 5 ถึง: array.endIndex) ให้ arraySlice = array.dropLast (ระยะทาง) ให้ newArray = Array(arraySlice) พิมพ์ (newArray) // พิมพ์: ["A", "B", "C", "D", "E"] ```
Show me five Sci-Fi movies in 2015.
ฉายหนัง Sci-Fi ห้าเรื่องในปี 2015
Here is an imaginary rap battle between Steve Jobs and Bill Gates: Steve Jobs: Let me just step right in, I got things to invent I'm an innovator, baby, change the world Fortune 500 ‘fore you kissed a girl I'm a pimp, you're a nerd, I'm slick, you're cheesy Beating you is Apple II easy I make the product that the artist chooses And the GUI that Melinda uses I need to bring up some basic shit Why'd you name your company after your dick? Bill Gates: You blow, Jobs, you arrogant prick With your second hand jeans and your turtleneck I'll drill a hole in the middle of your bony head With your own little spinning beach ball of death Hippie, you got given up at birth I give away your net worth to AIDS research Combine all your little toys and I still crush that ​iPhone, iPad, iPwn, iSmack Steve Jobs: A man uses the machines you built to sit down and pay his taxes A man uses the machines I built to listen to the Beatles while he relaxes Bill Gates: Well, Steve, you steal all the credit for work that other people do Did your fat beard Wozniak write these raps for you, too? Steve Jobs: Ooh, everybody knows Windows bit off Apple Bill Gates: I tripled the profits on a PC Steve Jobs: All the people with the power to create use an Apple Bill Gates: And people with jobs use PC Steve Jobs: You know, I bet they made this beat on an Apple Bill Gates: Nope, Fruity Loops, PC Steve Jobs: You will never, ever catch a virus on an Apple Bill Gates: Well, you could still afford a doctor if you bought a PC Steve Jobs: Let's talk about doctors, I've seen a few 'Cause I got a PC, but it wasn't from you I built a legacy, son, you could never stop it Now, excuse me while I turn Heaven a profit Bill Gates: Fine, you wanna be like that? Die, then! The whole world loved you, but you were my friend I'm alone now with nothing but power and time And no one on earth who can challenge my mind I'm a boss! I own DOS! Your future is my design! I'm a god! Own Xbox! Now there's no one to stop me, the world is mine! HAL 9000: I'm sorry, Bill I'm afraid I can't let you do that Take a look at your history Everything you built leads up to me I got the power of a mind you could never be I'll beat your ass in chess and Jeopardy I'm running C++ saying "hello world" I'll beat you 'til you're singing about a daisy girl I'm coming out the socket Nothing you can do can stop it I'm on your lap and in your pocket How you gonna shoot me down when I guide the rocket? Your cortex just doesn't impress me So go ahead try to Turing test me I stomp on a Mac and a PC, too I'm on Linux, bitch, I thought you GNU My CPU's hot, but my core runs cold Beat you in seventeen lines of code I think different from the engine of the days of old Hasta la vista, like the Terminator told ya
นี่คือการต่อสู้แร็พในจินตนาการระหว่าง Steve Jobs และ Bill Gates: สตีฟจ็อบส์: ขอผมก้าวเข้ามาก่อน ผมมีสิ่งที่ต้องประดิษฐ์ ฉันคือนักประดิษฐ์ ที่รัก เปลี่ยนโลก Fortune 500 'ก่อนที่คุณจูบผู้หญิง ฉันมันแมงดา คุณมันเนิร์ด ฉันมันเนียน คุณมันเชย เอาชนะคุณได้ง่ายๆ ด้วย Apple II ฉันสร้างผลิตภัณฑ์ที่ศิลปินเลือก และ GUI ที่ Melinda ใช้ ฉันต้องเตรียมข้อมูลพื้นฐานบางอย่าง ทำไมคุณถึงตั้งชื่อบริษัทของคุณตามไอ้จู๋ของคุณ? บิลเกตส์: คุณระเบิด จ็อบส์ คุณทิ่มแทงผู้หยิ่งยโส ด้วยกางเกงยีนส์มือสองและเสื้อคอเต่าของคุณ ฉันจะเจาะรูตรงกลางหัวกระดูกของคุณ ด้วยลูกบอลชายหาดแห่งความตายที่กำลังหมุนอยู่ ฮิปปี้ คุณยอมแพ้ตั้งแต่แรกเกิด ฉันให้มูลค่าสุทธิของคุณแก่การวิจัยโรคเอดส์ รวมของเล่นเล็ก ๆ น้อย ๆ ของคุณเข้าด้วยกันและฉันก็ยังสนใจมัน iPhone, iPad, iPwn, iSmack สตีฟจ็อบส์: ชายคนหนึ่งใช้เครื่องจักรที่คุณสร้างขึ้นเพื่อนั่งลงและจ่ายภาษีของเขา ชายคนหนึ่งใช้เครื่องที่ฉันสร้างขึ้นเพื่อฟัง The Beatles ในขณะที่เขาผ่อนคลาย บิลเกตส์: สตีฟ คุณขโมยเครดิตทั้งหมดสำหรับงานที่คนอื่นทำ Wozniak เคราอ้วนของคุณเขียนท่อนแร็พเหล่านี้ให้คุณด้วยหรือไม่? สตีฟจ็อบส์: โอ้ ทุกคนรู้ว่า Windows เหนือกว่า Apple บิลเกตส์: ฉันทำกำไรได้สามเท่าบนพีซี สตีฟจ็อบส์: ทุกคนที่มีอำนาจในการสร้างสรรค์ใช้ Apple บิลเกตส์: และคนที่มีงานใช้พีซี สตีฟจ็อบส์: คุณรู้ไหม ฉันพนันได้เลยว่าพวกเขาสร้างจังหวะนี้ให้กับ Apple บิลเกตส์: ไม่ ฟรุตตี้ลูป พีซี สตีฟจ็อบส์: คุณจะไม่มีวันติดไวรัสบน Apple บิลเกตส์: คุณยังสามารถซื้อแพทย์ได้ถ้าคุณซื้อพีซี สตีฟจ็อบส์: พูดคุยเกี่ยวกับแพทย์กันเถอะฉันเคยเห็นมาบ้างแล้ว เพราะฉันได้พีซีมาแต่ไม่ได้มาจากคุณ ฉันสร้างมรดก ลูกชาย คุณไม่เคยหยุดมันได้ เอาล่ะ ขอโทษด้วยในขณะที่ฉันทำกำไรจากสวรรค์ บิลเกตส์: สบายดี คุณอยากเป็นแบบนั้นไหม ให้ตายเถอะ! คนทั้งโลกรักเธอ แต่คุณเป็นเพื่อนของฉัน ตอนนี้ฉันอยู่คนเดียวไม่มีอะไรเลยนอกจากกำลังและเวลา และไม่มีใครในโลกที่จะท้าทายความคิดของฉันได้ ฉันเป็นเจ้านาย! ฉันเป็นเจ้าของ DOS! อนาคตของคุณคือการออกแบบของฉัน! ฉันเป็นพระเจ้า! เป็นเจ้าของ Xbox! ตอนนี้ไม่มีใครหยุดฉันได้ โลกเป็นของฉัน! HAL 9000: ฉันขอโทษบิล ฉันเกรงว่าจะปล่อยให้คุณทำอย่างนั้นไม่ได้ ลองดูประวัติของคุณ ทุกสิ่งที่คุณสร้างนำไปสู่ฉัน ฉันได้รับพลังแห่งจิตใจที่คุณไม่มีวันเป็นได้ ฉันจะเอาชนะคุณด้วยหมากรุกและอันตราย ฉันใช้ C ++ โดยพูดว่า "hello world" ฉันจะทุบตีคุณจนกว่าคุณจะร้องเพลงเกี่ยวกับเดซี่เกิร์ล ฉันกำลังจะออกจากซ็อกเก็ต ไม่มีอะไรที่คุณสามารถทำได้สามารถหยุดมันได้ ฉันอยู่บนตักของคุณและในกระเป๋าของคุณ คุณจะยิงฉันลงได้อย่างไรเมื่อฉันนำทางจรวด เปลือกนอกของคุณไม่ทำให้ฉันประทับใจ เอาเลย ลองทดสอบทัวริงดูสิ ฉันกระทืบบน Mac และพีซีด้วย ฉันใช้ Linux นังบ้า ฉันคิดว่าคุณ GNU CPU ของฉันร้อน แต่คอร์ของฉันเย็น เอาชนะคุณด้วยรหัสสิบเจ็ดบรรทัด ผมว่าต่างจากเครื่องยนต์สมัยก่อน Hasta la vista เหมือนที่ Terminator บอก
write a letter to that person who you wished had got back in touch (at least 3 year gap) (Lost contact due to any kind of change e.g quit social media/moved away/ etc
เขียนจดหมายถึงคนที่คุณอยากให้ติดต่อกลับ (ห่างกันอย่างน้อย 3 ปี) (ขาดการติดต่อเนื่องจากการเปลี่ยนแปลงใดๆ เช่น เลิกเล่นโซเชียล/ย้ายออกไป/ ฯลฯ
How to drill at an angle?
วิธีการเจาะมุม?
There once was a scientist named Clive, Who had taught a Llama to drive, The Llama screamed loud, As it drove into a crowd, And the death toll reached fifty-five.
ครั้งหนึ่งมีนักวิทยาศาสตร์ชื่อไคลฟ์ ใครเคยสอนลามะให้ขับรถ ลามะร้องเสียงดัง ขณะที่มันขับเข้าไปในฝูงชน และมีผู้เสียชีวิตถึงห้าสิบห้าราย
Rewrite a scene in any Star Wars movie from the perspective of a storm trooper.
เขียนฉากใหม่ในภาพยนตร์ Star Wars จากมุมมองของสตอร์มทรูปเปอร์
Tor can only handle TCP connections, but DNS is a UDP protocol. How does Tor route DNS requests over its TCP based network? Why can the same approach not be used to route all UDP traffic over Tor?
Tor สามารถจัดการการเชื่อมต่อ TCP เท่านั้น แต่ DNS เป็นโปรโตคอล UDP Tor กำหนดเส้นทางคำขอ DNS ผ่านเครือข่ายที่ใช้ TCP อย่างไร เหตุใดจึงใช้วิธีเดียวกันนี้เพื่อกำหนดเส้นทางการรับส่งข้อมูล UDP ทั้งหมดผ่าน Tor ไม่ได้
Why is ```SELECT *``` bad practice? Wouldn't it mean less code to change if you added a new column you wanted? I understand that ```SELECT COUNT(*)``` is a performance problem on some DBs, but what if you really wanted every column?
เหตุใด ``` SELECT *``` จึงเป็นการปฏิบัติที่ไม่ดี มันหมายความว่าโค้ดน้อยลงที่จะเปลี่ยนแปลงหรือไม่ถ้าคุณเพิ่มคอลัมน์ใหม่ที่คุณต้องการ ฉันเข้าใจว่า ```SELECT COUNT(*)``` เป็นปัญหาด้านประสิทธิภาพในบางฐานข้อมูล แต่ถ้าคุณต้องการทุกคอลัมน์จริงๆ
The idea is to generate all the primes less than or equal to the given number N using the Sieve of Eratosthenes. Once we have generated all such primes, we store all of them in an array, and print all prime numbers which occupy prime number positions. Here is an implementation in Python: ``` # Python program to print super primes less than or equal to n. # Generate all prime numbers less than n using the Sieve of Eratosthenes. def sieve(n): is_prime = [True for i in range(n+1)] is_prime[0] = False is_prime[1] = False for p in range(2,n+1): if is_prime[p]: for i in range(2*p, n+1, p): is_prime[i] = False return is_prime def super_primes(n): # Generate all primes is_prime = sieve(n) # Storing all the primes in an array primes = [i for i, prime in enumerate(is_prime) if prime] primes = [0] + primes for i, p in enumerate(primes): if is_prime[i]: yield p ```
แนวคิดคือการสร้างจำนวนเฉพาะทั้งหมดที่น้อยกว่าหรือเท่ากับจำนวน N ที่กำหนดโดยใช้ตะแกรงของเอราทอสเทเนส เมื่อเราสร้างจำนวนเฉพาะทั้งหมดแล้ว เราจะจัดเก็บจำนวนเฉพาะทั้งหมดไว้ในอาร์เรย์ และพิมพ์จำนวนเฉพาะทั้งหมดที่อยู่ในตำแหน่งจำนวนเฉพาะ นี่คือการใช้งานใน Python: ``` # โปรแกรม Python พิมพ์ super primes น้อยกว่าหรือเท่ากับ n # สร้างจำนวนเฉพาะทั้งหมดที่น้อยกว่า n โดยใช้ Sieve of Eratosthenes def ตะแกรง (n): is_prime = [จริงสำหรับ i ในช่วง (n+1)] is_prime[0] = เท็จ is_prime[1] = เท็จ สำหรับ p ในช่วง(2,n+1): ถ้า is_prime[p]: สำหรับ i ในช่วง (2*p, n+1, p): is_prime[i] = เท็จ ส่งคืน is_prime def super_primes (n): # สร้างช่วงเวลาทั้งหมด is_prime = ตะแกรง (n) # การจัดเก็บช่วงเวลาทั้งหมดในอาร์เรย์ ไพรม์ = [i for i, ไพรม์ในการแจกแจง (is_prime) ถ้าไพรม์] ช่วงเวลา = [0] + ช่วงเวลา สำหรับ i, p ในการแจกแจง (จำนวนครั้ง): ถ้า is_prime[i]: ผลผลิตหน้า ```
The sun seared into my head as I came to in a glistening wheat field. Every bone in my body cracked and groaned as I sat upright, every muscle stretched and twitched as if saying, "you don't belong here." The clang and crash of metal drew my attention, looking over my shoulder there they were, two armored warriors complete with full plumed helmets and battle axes were 50 yards away dueling. I knew what would happen, I've wrote it before, the smaller of the two would soon have the upper hand, taking the other warriors axe, screaming some unknown obscenity while slicing down on the Warriors head. Blood. Blood everywhere. It was not the nice and neat killing where people were polite about death. It was not the glory of the fight nor the poetry that I had imagined when I was a child reading fantasy books. There was nothing glorious in it. It was dirty, angry, primal, with the under notes of finality. The knowing that Death was coming soon. I hated it, I loved it. I was frozen to the ground as I wanted to recognize who was fighting so hard to live. The small warrior was gasping for air, knees to the ground and crying. Ripping the visored helmet off, a tumble of bright red hair came out, curly and thick. She wiped at the tears in her eyes and stood, observing her good and dark work. What do I do? Run? Where would I go? I must've made some sort of sound, breathed wrong or something because suddenly she was there, at my throat with her axe. The fury in her brown eyes was quick, but a flicker of recognition was in them. I breathed in, once. "Oh," she smiled, a brilliant white smile. "It's you." She lowered her axe and offered her hand. I took it. "Finally. I can't wait to show you everything."
ดวงตะวันแผดเผาศีรษะข้าพเจ้าขณะที่ข้าพเจ้ามาถึงทุ่งข้าวสาลีที่ส่องแสงระยิบระยับ กระดูกทุกส่วนในร่างกายของฉันแตกและร้องครวญครางขณะที่ฉันนั่งตัวตรง กล้ามเนื้อทุกส่วนยืดและกระตุกราวกับพูดว่า "คุณไม่สมควรอยู่ที่นี่" เสียงโลหะกระทบกันดังกราวและพังทลายดึงความสนใจของฉัน มองข้ามไหล่ของฉันไปที่นั่น นักรบสวมเกราะสองคนพร้อมหมวกขนนกเต็มใบและขวานต่อสู้อยู่ห่างออกไป 50 หลา ฉันรู้ว่าจะเกิดอะไรขึ้น ฉันเคยเขียนไว้แล้ว ตัวเล็กกว่าในสองคนจะได้เปรียบในไม่ช้า หยิบขวานของนักรบคนอื่น กรีดร้องหยาบคายบางอย่างที่ไม่รู้จักในขณะที่ฟันลงบนหัวของนักรบ เลือด. เลือดทุกที่ มันไม่ใช่การฆ่าที่ดีและประณีตที่ผู้คนสุภาพเกี่ยวกับความตาย มันไม่ใช่ความรุ่งโรจน์ของการต่อสู้หรือบทกวีที่ฉันเคยจินตนาการไว้เมื่อตอนที่ฉันยังเป็นเด็กที่อ่านหนังสือแฟนตาซี ไม่มีอะไรรุ่งโรจน์ในนั้น มันทั้งสกปรก เกรี้ยวกราด จืดชืด แฝงไปด้วยกลิ่นอายของความจบสิ้น เมื่อรู้ว่าความตายกำลังจะมาในไม่ช้า ฉันเกลียดมันฉันรักมัน ฉันรู้สึกตัวแข็งทื่อเพราะฉันอยากจะรู้ว่าใครกำลังต่อสู้อย่างหนักเพื่อเอาชีวิตรอด นักรบตัวเล็กกำลังหายใจไม่ออก คุกเข่าลงกับพื้นและร้องไห้ ฉีกหมวกกันน็อคออก เส้นผมสีแดงสดปลิวไสวออกมา หยิกและหนา เธอเช็ดน้ำตาและยืนดูงานที่ดีและมืดของเธอ ฉันจะทำอย่างไร วิ่ง? ฉันจะไปที่ไหน ฉันต้องทำเสียงอะไรสักอย่าง หายใจผิดหรืออะไรซักอย่าง เพราะจู่ ๆ ก็มีขวานจ่อคอฉันอยู่ตรงนั้น ความโกรธในดวงตาสีน้ำตาลของเธอนั้นรวดเร็ว แต่การรับรู้นั้นสั่นไหว ฉันหายใจเข้าครั้งหนึ่ง “โอ้” เธอยิ้ม รอยยิ้มสีขาวสดใส "เป็นคุณนั้นเอง." เธอลดขวานลงและยื่นมือออกมา ฉันเอามัน. "ในที่สุด ฉันแทบรอไม่ไหวที่จะแสดงให้คุณเห็นทุกอย่าง"
How to send HTML-formatted email in C#?
จะส่งอีเมลในรูปแบบ HTML ใน C # ได้อย่างไร
Initially, everything. The ISS started out as Mir-2 with some extra modules added soon afterwards. Then lots more over the next 10 years. The initial modules, Zarya and Zvezda, which housed living quarters, reboost, attitude control, solar power, life support, and docking modules. Each additional component and module made the system better, but the ISS is still dependent on the Russian operating segment. Each function that the Russian segment supplied initially was enhanced or replaced by the US side (solar power, life support, etc.). The major component this is mostly still Russian is half the crew quarters and reboost/attitude control (beyond what the control gyros can handle). Initially the Shuttle and Soyuz provided crew services, and now only Soyuz (till SpaceX/ULA get their acts together in 2019) provides crew. Initially the Russians provided cargo (as did the Shuttle till retirement), but specifically Progress could refuel the engines on the ISS for reboost. The Russian theoretical plan is that the next two modules they launch (if ever, now, after being so delayed) Nauka and the UM will be able to separate from the ISS and form the core of their next space station. One of those theories was to take Zarya and Zvezda (or just one) with them as well.
ในขั้นต้นทุกอย่าง สถานีอวกาศนานาชาติเริ่มต้นในชื่อ Mir-2 โดยมีโมดูลเพิ่มเติมบางส่วนที่เพิ่มเข้ามาหลังจากนั้นไม่นาน แล้วอีกมากมายในอีก 10 ปีข้างหน้า โมดูลเริ่มต้น Zarya และ Zvezda ซึ่งเป็นที่ตั้งของห้องนั่งเล่น การรีบูต การควบคุมทัศนคติ พลังงานแสงอาทิตย์ การช่วยชีวิต และโมดูลเชื่อมต่อ ส่วนประกอบและโมดูลเพิ่มเติมแต่ละรายการทำให้ระบบดีขึ้น แต่สถานีอวกาศนานาชาติยังคงขึ้นอยู่กับส่วนปฏิบัติการของรัสเซีย แต่ละฟังก์ชันที่กลุ่มรัสเซียจัดหาให้ในขั้นต้นได้รับการปรับปรุงหรือแทนที่โดยฝ่ายสหรัฐฯ (พลังงานแสงอาทิตย์ การช่วยชีวิต ฯลฯ) องค์ประกอบหลักซึ่งส่วนใหญ่ยังคงเป็นรัสเซียอยู่ครึ่งหนึ่งของลูกเรือและการควบคุมการรีบูต/ทัศนคติ (เกินกว่าที่ไจโรควบคุมจะรับมือได้) ในตอนแรก Shuttle และ Soyuz ให้บริการลูกเรือ และตอนนี้มีเพียง Soyuz (จนกว่า SpaceX/ULA จะดำเนินการร่วมกันในปี 2019) เท่านั้นที่ให้บริการลูกเรือ ในขั้นต้นชาวรัสเซียเป็นผู้จัดหาสินค้า (เช่นเดียวกับกระสวยจนกระทั่งเกษียณอายุ) แต่โดยเฉพาะอย่างยิ่งความคืบหน้าสามารถเติมเชื้อเพลิงให้กับเครื่องยนต์บนสถานีอวกาศนานาชาติเพื่อเร่งเครื่องใหม่ แผนทางทฤษฎีของรัสเซียคือ โมดูล 2 โมดูลถัดไปที่พวกเขาเปิดตัว (หากเคย ในตอนนี้ หลังจากล่าช้ามาก) Nauka และ UM จะสามารถแยกออกจาก ISS และสร้างแกนกลางของสถานีอวกาศถัดไปได้ หนึ่งในทฤษฎีเหล่านั้นคือการนำ Zarya และ Zvezda (หรือเพียงอย่างใดอย่างหนึ่ง) ไปด้วย
The error message is due to the unfortunate fact that PHP will implicitly declare an unknown token as a constant string of the same name. That is, it's trying to interpret this (note the missing quote marks): ```$_POST[department] ``` The only valid way this would be valid syntax in PHP is if there was previously a constant ```department``` defined. So sadly, rather than dying with a Fatal error at this point, it issues this Notice and acts as though a constant had been defined with the same name and value: ```// Implicit declaration of constant called department with value 'department' define('department', 'department'); ``` There are various ways you can get this error message, but they all have the same root cause - a token that could be a constant. Strings missing quotes: ```$my_array[bad_key]``` This is what the problem is in your case, and it's because you've got string array keys that haven't been quoted. Fixing the string keys will fix the bug: Change: ```$department = mysql_real_escape_string($_POST[department]); ...(etc)... ``` To: ```$department = mysql_real_escape_string($_POST['department']); ...(etc)... ``` Variable missing dollar sign: ```var_without_dollar``` Another reason you might see this error message is if you leave off the ```$``` from a variable, or ```$this->``` from a member. Eg, either of the following would cause a similar error message: ```my_local; // should be $my_local my_member; // should be $this->my_member ``` Invalid character in variable name: ```$bad-variable-name``` A similar but more subtle issue can result if you try to use a disallowed character in a variable name - a hyphen (```-```) instead of an underscore ```_``` would be a common case. For example, this is OK, since underscores are allowed in variable names: ```if (123 === $my_var) { do_something(); } ``` But this isn't: ```if (123 === $my-var) { do_something(); } ``` It'll be interpreted the same as this: ```if (123 === $my - var) { // variable $my minus constant 'var' do_something(); } ``` Referring to a class constant without specifying the class scope In order to refer to a class constant you need to specify the class scope with ```::```, if you miss this off PHP will think you're talking about a global ```define()```. Eg: ```class MyClass { const MY_CONST = 123; public function my_method() { return self::MY_CONST; // This is fine } public function my_method() { return MyClass::MY_CONST; // This is fine } public function my_bad_method() { return MY_CONST; // BUG - need to specify class scope } } ``` Using a constant that's not defined in this version of PHP, or is defined in an extension that's not installed There are some system-defined constants that only exist in newer versions of PHP, for example the mode option constants for ```round()``` such as ```PHP_ROUND_HALF_DOWN``` only exist in PHP 5.3 or later. So if you tried to use this feature in PHP 5.2, say: ```$rounded = round($my_var, 0, PHP_ROUND_HALF_DOWN); ``` You'd get this error message: Use of undefined constant PHP_ROUND_HALF_DOWN - assumed 'PHP_ROUND_HALF_DOWN' Warning (2): Wrong parameter count for round()
ข้อความแสดงข้อผิดพลาดเกิดจากข้อเท็จจริงที่น่าเสียดายที่ PHP จะประกาศโทเค็นที่ไม่รู้จักโดยปริยายเป็นสตริงคงที่ที่มีชื่อเดียวกัน นั่นคือ กำลังพยายามตีความสิ่งนี้ (สังเกตเครื่องหมายคำพูดที่ขาดหายไป): ```$_POST[แผนก] ``` วิธีเดียวที่ถูกต้องซึ่งจะเป็นไวยากรณ์ที่ถูกต้องใน PHP คือหากก่อนหน้านี้มีการกำหนดค่าคงที่ ```แผนก``` น่าเศร้าที่แทนที่จะตายด้วยข้อผิดพลาดร้ายแรง ณ จุดนี้ มันออกประกาศนี้และทำราวกับว่าค่าคงที่ถูกกำหนดด้วยชื่อและค่าเดียวกัน: ``` // การประกาศโดยปริยายของแผนกที่เรียกว่าคงที่พร้อมค่า 'แผนก' กำหนด ('แผนก', 'แผนก'); ``` มีหลายวิธีที่คุณสามารถรับข้อความแสดงข้อผิดพลาดนี้ แต่ทั้งหมดมีสาเหตุหลักเดียวกัน - โทเค็นที่อาจเป็นค่าคงที่ สตริงไม่มีคำพูด: ```$my_array[bad_key]``` นี่คือปัญหาในกรณีของคุณ และเป็นเพราะคุณมีคีย์อาร์เรย์สตริงที่ไม่ได้ถูกยกมา การแก้ไขคีย์สตริงจะแก้ไขข้อผิดพลาด: เปลี่ยน: ```$แผนก = mysql_real_escape_string($_POST[แผนก]); ...(อื่นๆ)... ``` ถึง: ```$แผนก = mysql_real_escape_string($_POST['แผนก']); ...(อื่นๆ)... ``` เครื่องหมายดอลลาร์ที่ขาดหายไป: ```var_without_dollar``` อีกสาเหตุหนึ่งที่คุณอาจเห็นข้อความแสดงข้อผิดพลาดนี้คือหากคุณละ ```$``` จากตัวแปร หรือ ```$this->``` จากสมาชิก เช่น ข้อใดข้อหนึ่งต่อไปนี้จะทำให้เกิดข้อความแสดงข้อผิดพลาดที่คล้ายคลึงกัน: ```my_local; // ควรเป็น $my_local my_member; // ควรเป็น $this->my_member ``` อักขระไม่ถูกต้องในชื่อตัวแปร: ```$bad-variable-name``` ปัญหาที่คล้ายกันแต่ละเอียดอ่อนกว่าอาจเกิดขึ้นได้หากคุณพยายามใช้อักขระที่ไม่ได้รับอนุญาตในชื่อตัวแปร - ยัติภังค์ (```-```) แทนเครื่องหมายขีดล่าง ```_``` อาจเป็นกรณีทั่วไป ตัวอย่างเช่น สิ่งนี้ใช้ได้ เนื่องจากอนุญาตให้ใช้เครื่องหมายขีดล่างในชื่อตัวแปร: ``` ถ้า (123 === $my_var) { ทำอะไรสักอย่าง(); } ``` แต่นี่ไม่ใช่: ``` ถ้า (123 === $my-var) { ทำอะไรสักอย่าง(); } ``` มันจะตีความเหมือนกันดังนี้: ```if (123 === $my - var) { // ตัวแปร $my ลบค่าคงที่ 'var' ทำอะไรสักอย่าง(); } ``` อ้างถึงค่าคงที่ของคลาสโดยไม่ระบุขอบเขตของคลาส ในการอ้างถึงค่าคงที่ของคลาส คุณต้องระบุขอบเขตคลาสด้วย ```::``` หากคุณพลาดสิ่งนี้ PHP จะคิดว่าคุณกำลังพูดถึง ```define()``` ทั่วโลก เช่น: ```คลาส MyClass { const MY_CONST = 123; ฟังก์ชั่นสาธารณะ my_method () { กลับตัวเอง::MY_CONST; //แบบนี้ก็ได้หรอ } ฟังก์ชั่นสาธารณะ my_method () { ส่งคืน MyClass::MY_CONST; //แบบนี้ก็ได้หรอ } ฟังก์ชั่นสาธารณะ my_bad_method () { ส่งคืน MY_CONST; // BUG - ต้องระบุขอบเขตของคลาส } } ``` การใช้ค่าคงที่ที่ไม่ได้กำหนดไว้ใน PHP เวอร์ชันนี้ หรือกำหนดไว้ในส่วนขยายที่ไม่ได้ติดตั้ง มีค่าคงที่ที่ระบบกำหนดซึ่งมีอยู่ใน PHP เวอร์ชันใหม่เท่านั้น ตัวอย่างเช่น ค่าคงที่ตัวเลือกโหมดสำหรับ ```round()``` เช่น ```PHP_ROUND_HALF_DOWN``` มีอยู่เฉพาะใน PHP 5.3 หรือใหม่กว่าเท่านั้น ดังนั้น หากคุณพยายามใช้คุณลักษณะนี้ใน PHP 5.2 ให้พูดว่า: ``` $ ปัด = รอบ ($ my_var, 0, PHP_ROUND_HALF_DOWN); ``` คุณจะได้รับข้อความแสดงข้อผิดพลาดนี้: การใช้ค่าคงที่ PHP_ROUND_HALF_DOWN ที่ไม่ได้กำหนด - สันนิษฐาน 'PHP_ROUND_HALF_DOWN' คำเตือน (2): จำนวนพารามิเตอร์ไม่ถูกต้องสำหรับรอบ ()
Your mom is right! Eating beans can make you fart because beans contain a type of sugar that our bodies have a difficult time digesting. This sugar eventually gets eaten by bacteria in our gut that convert it into all sorts of gases. The gases are eventually released as farts.
คุณแม่พูดถูก! การกินถั่วทำให้ผายลมได้ เพราะถั่วมีน้ำตาลชนิดหนึ่งที่ร่างกายย่อยยาก ในที่สุดน้ำตาลนี้จะถูกกินโดยแบคทีเรียในลำไส้ของเราซึ่งจะเปลี่ยนให้เป็นก๊าซทุกประเภท ในที่สุดก๊าซจะถูกปล่อยออกมาเป็นตด
If the HR person does not apologize and attempts to defend herself, what steps should I take to escalate the issue within the company.
หากฝ่ายบุคคลไม่ขอโทษและพยายามปกป้องตัวเอง ฉันควรดำเนินการอย่างไรเพื่อยกระดับปัญหาภายในบริษัท
I'm a new web developer, and I want to build a web application using fastapi, could you create a minimal api service for me so that I can follow it to make further development?
ฉันเป็นนักพัฒนาเว็บหน้าใหม่ และฉันต้องการสร้างเว็บแอปพลิเคชันโดยใช้ fastapi คุณสามารถสร้างบริการ API ขั้นต่ำให้ฉันได้ไหม เพื่อที่ฉันจะได้ติดตามเพื่อพัฒนาต่อไป
The command line procedure is not simple, but it is the most likely thing to work. When re-formatting the "drive" you're actually only formatting a partition on the drive. You need to use the diskpart utility to remove the partitions and create 1 single partition covering the full volume. ```diskpart``` can be a bit dangerous, because if you pick the wrong disk or partition, you can remove data or partitions that are extremely, EXTREMELY important and lose all data on your machine. Proceed with extreme caution! Open up a command prompt as administrator (open the start menu, type ```cmd``` and press Enter.) Type ```diskpart``` and press Enter. You'll end up with a new prompt that looks like this: ```DISKPART> ``` Type ```list disk ``` and you'll get a listing of all drives on your machine. Type ```select disk # ``` to select a disk, where ```#``` is the number of the disk Windows screw-balled. Usually, the device is disk 1, but it's always best to make sure. Then type ```list partition ``` to get a listing of all partitions on the disk. If you're sure you have the right disk/partition, you can then repeat typing ```select partition # delete partition ``` until all partitions are removed from that drive (you may need to type ```delete partition override``` for protected partitions). Once the drive is empty, exit diskpart and remove the drive. Wait at least 5 minutes, then re-insert the drive. DO NOT CLICK FORMAT – this will most likely re-create the problem. Instead, enter diskpart again, and select the disk. Then type ```create partition primary ``` Once you have created the partition, exit ```diskpart``` and, in the command promt, type ```diskmgmt.msc ``` This will provide a reliable way to create a FAT32 partition. On the drive you would like to format (NEVER TOUCH DISK 0!), right click and select ```format```. The ```allocation unit size``` option should be default, and the ```File System``` option should be set to ```FAT32```. The format may take a while, depending on the disk size, be patient. This should fix partition troubles on any readable USB flash drive.
ขั้นตอนบรรทัดคำสั่งนั้นไม่ง่าย แต่เป็นสิ่งที่น่าจะใช้งานได้มากที่สุด เมื่อฟอร์แมต "ไดรฟ์" ใหม่ คุณจะฟอร์แมตเฉพาะพาร์ติชันในไดรฟ์เท่านั้น คุณต้องใช้ยูทิลิตี้ diskpart เพื่อลบพาร์ติชันและสร้างพาร์ติชันเดียว 1 พาร์ติชันที่ครอบคลุมวอลุ่มทั้งหมด ```diskpart``` อาจเป็นอันตรายเล็กน้อย เพราะหากคุณเลือกดิสก์หรือพาร์ติชั่นผิด คุณสามารถลบข้อมูลหรือพาร์ติชั่นที่มีความสำคัญอย่างมาก และทำให้ข้อมูลทั้งหมดในเครื่องของคุณสูญหายได้ ดำเนินการด้วยความระมัดระวังอย่างยิ่ง! เปิดพรอมต์คำสั่งในฐานะผู้ดูแลระบบ (เปิดเมนูเริ่ม พิมพ์ ```cmd``` แล้วกด Enter) พิมพ์ ```diskpart``` แล้วกด Enter คุณจะพบกับข้อความแจ้งใหม่ที่มีลักษณะดังนี้: ```ดิสก์พาร์ท> ``` พิมพ์ ``` รายการดิสก์ ``` และคุณจะได้รับรายการไดรฟ์ทั้งหมดในเครื่องของคุณ พิมพ์ ``` เลือกดิสก์ # ``` เพื่อเลือกดิสก์ โดยที่ ```#``` คือหมายเลขของดิสก์ Windows แบบเกลียว โดยปกติแล้ว อุปกรณ์จะเป็นดิสก์ 1 แต่ควรตรวจสอบให้แน่ใจเสมอ จากนั้นพิมพ์ ``` รายการพาร์ติชัน ``` เพื่อดูรายการพาร์ติชันทั้งหมดบนดิสก์ หากคุณแน่ใจว่าคุณมีดิสก์/พาร์ติชันที่ถูกต้อง คุณสามารถพิมพ์ซ้ำได้ ``` เลือกพาร์ติชั่น # ลบพาร์ติชัน ``` จนกว่าพาร์ติชันทั้งหมดจะถูกลบออกจากไดร์ฟนั้น (คุณอาจต้องพิมพ์ ```ลบพาร์ติชันแทนที่``` สำหรับพาร์ติชันที่มีการป้องกัน) เมื่อไดรฟ์ว่างเปล่า ให้ออกจาก diskpart และถอดไดรฟ์ออก รออย่างน้อย 5 นาที จากนั้นใส่ไดรฟ์อีกครั้ง อย่าคลิกรูปแบบ – สิ่งนี้มักจะสร้างปัญหาขึ้นใหม่ ให้ป้อน diskpart อีกครั้ง แล้วเลือกดิสก์ จากนั้นพิมพ์ ``` สร้างพาร์ติชันหลัก ``` เมื่อคุณสร้างพาร์ติชันแล้ว ให้ออกจาก ```diskpart``` และพิมพ์คำสั่งในพรอมต์คำสั่ง ```diskmgmt.msc ``` วิธีนี้จะเป็นวิธีที่น่าเชื่อถือในการสร้างพาร์ติชัน FAT32 บนไดรฟ์ที่คุณต้องการฟอร์แมต (ไม่ต้องแตะดิสก์ 0!) คลิกขวาแล้วเลือก ```รูปแบบ``` ตัวเลือก ```ขนาดหน่วยการจัดสรร``` ควรเป็นค่าเริ่มต้น และตัวเลือก ```ระบบไฟล์``` ควรตั้งค่าเป็น ```FAT32``` ฟอร์แมตอาจใช้เวลาสักครู่ ขึ้นอยู่กับขนาดดิสก์ โปรดอดใจรอ การดำเนินการนี้ควรแก้ไขปัญหาพาร์ติชันในแฟลชไดรฟ์ USB ที่อ่านได้
Quantum gate teleportation is the act of being able to apply a quantum gate on the unknown state while it is being teleported. This is one of the ways in which measurement-based computation can be described using graph states. Usually, teleportation works by having an unknown quantum state $|\psi\rangle$ held by Alice, and two qubits in the Bell state $|\Psi\rangle=(|00\rangle+|11\rangle)/\sqrt{2}$ shared between Alice and Bob. Alice performs a Bell state measurement, getting one of 4 possible answers and Bob holds on his qubit, depending on the measurement result of Alice, one of the 4 states $|\psi\rangle,X|\psi\rangle,Z|\psi\rangle,ZX|\psi\rangle.$ So, once Bob learns what result Alice got, he can compensate by applying the appropriate Paulis. Let $U$ be a 1-qubit unitary. Assume Alice and Bob share $(\mathbb{I}\otimes U)|\Psi\rangle$ instead of $|\Psi\rangle$. If they repeat the teleportation protocol, Bob now has one of $U|\psi\rangle,UX|\psi\rangle,UZ|\psi\rangle,UZX|\psi\rangle$, which we can rewrite as $U|\psi\rangle,(UXU^\dagger)U|\psi\rangle,(UZU^\dagger)U|\psi\rangle,(UZXU^\dagger)U|\psi\rangle.$ The compensations that Bob has to make for a given measurement result are given by the bracketed terms. Often, these are no worse than the compensations you would have to make for normal teleportation (i.e. just the Pauli rotations). For example, if $U$ is the Hadamard rotation, then the corrections are just $(\mathbb{I},Z,X,XZ)$ respectively. So, you can apply the Hadamard during teleportation just be changing the state that you teleport through (There is a strong connection here to the Choi-Jamiołkowski isomorphism). You can do the same for Pauli gates, and the phase gate $\sqrt{Z}=S$. Moreover, if you repeat this protocol to build up a more complicated computation, it is often sufficient to keep a record of what these corrections are, and to apply them later. Even if you don't only need the Pauli gates (as is the case for $T=\sqrt{S}$), the compensations may be easier than implementing the gate directly. This is the basis of the construction of the fault-tolerant T gate. In fact, you can do something similar to apply a controlled-NOT between a pair of qubits as well. This time, the state you need is $|\Psi\rangle_{A_1B_1}|\Psi\rangle_{A_1B_1}$, and a controlled-NOT applied between $B_1$ and $B_2$. This time, there are 16 possible compensating rotations, but all of them are just about how Pauli operations propagate through the action of a controlled-NOT and, again, that just gives Pauli operations out.
การเคลื่อนย้ายด้วยประตูควอนตัมเป็นการกระทำที่สามารถใช้ประตูควอนตัมกับสถานะที่ไม่รู้จักในขณะที่กำลังเคลื่อนย้าย นี่เป็นวิธีหนึ่งที่สามารถอธิบายการคำนวณตามการวัดโดยใช้สถานะกราฟ โดยปกติแล้ว การเคลื่อนย้ายทางไกลจะทำงานโดยมีสถานะควอนตัมที่ไม่รู้จัก $|\psi\rangle$ ถือครองโดย Alice และสอง qubits อยู่ในสถานะ Bell $|\Psi\rangle=(|00\rangle+|11\rangle)/\sqrt{2 }$ ใช้ร่วมกันระหว่างอลิซและบ๊อบ อลิซทำการวัดสถานะของเบลล์ โดยได้หนึ่งใน 4 คำตอบที่เป็นไปได้ และบ็อบถือควิบิตของเขา ขึ้นอยู่กับผลการวัดของอลิซ หนึ่งใน 4 สถานะ $|\psi\rangle,X|\psi\rangle,Z|\ psi\rangle,ZX|\psi\rangle.$ ดังนั้น เมื่อ Bob รู้ว่าอลิซได้ผลลัพธ์อะไร เขาสามารถชดเชยได้โดยใช้ Paulis ที่เหมาะสม ให้ $U$ เป็น 1-qubit unitary สมมติว่าอลิซและบ็อบแบ่งปัน $(\mathbb{I}\otimes U)|\Psi\rangle$ แทนที่จะเป็น $|\Psi\rangle$ ถ้าพวกเขาทำซ้ำโปรโตคอลการเคลื่อนย้ายข้อมูล ตอนนี้ Bob มีหนึ่งใน $U|\psi\rangle,UX|\psi\rangle,UZ|\psi\rangle,UZX|\psi\rangle$ ซึ่งเราสามารถเขียนใหม่เป็น $U| \psi\rangle,(UXU^\dagger)U|\psi\rangle,(UZU^\rangle)U|\psi\rangle,(UZXU^\dagger)U|\psi\rangle.$ ค่าตอบแทนที่ Bob มี เพื่อให้ได้ผลลัพธ์การวัดที่กำหนดโดยคำที่อยู่ในวงเล็บ บ่อยครั้ง สิ่งเหล่านี้ไม่ได้เลวร้ายไปกว่าการชดเชยที่คุณต้องทำสำหรับการเทเลพอร์ตตามปกติ (เช่น การหมุนตัวของเพาลี) ตัวอย่างเช่น ถ้า $U$ เป็นการหมุน Hadamard การแก้ไขก็แค่ $(\mathbb{I},Z,X,XZ)$ ตามลำดับ ดังนั้น คุณสามารถใช้ Hadamard ระหว่างการเทเลพอร์ตได้เพียงแค่เปลี่ยนสถานะที่คุณเทเลพอร์ตผ่าน (มีความเกี่ยวข้องอย่างมากกับ Choi-Jamiołkowski isomorphism) คุณสามารถทำเช่นเดียวกันกับประตู Pauli และประตูเฟส $\sqrt{Z}=S$ ยิ่งไปกว่านั้น หากคุณทำซ้ำโปรโตคอลนี้เพื่อสร้างการคำนวณที่ซับซ้อนขึ้น การเก็บบันทึกว่าการแก้ไขเหล่านี้คืออะไรและนำไปใช้ในภายหลังก็เพียงพอแล้ว แม้ว่าคุณจะไม่ได้ต้องการเพียงประตู Pauli (เช่นในกรณีของ $T=\sqrt{S}$) การชดเชยอาจง่ายกว่าการติดตั้งประตูโดยตรง นี่เป็นพื้นฐานของการสร้างประตู T ที่ทนทานต่อความผิดพลาด ในความเป็นจริง คุณสามารถทำสิ่งที่คล้ายกันเพื่อใช้การควบคุม - ไม่ ระหว่างคู่ของ qubits ได้เช่นกัน คราวนี้ สถานะที่คุณต้องการคือ $|\Psi\rangle_{A_1B_1}|\Psi\rangle_{A_1B_1}$ และแบบควบคุมไม่ใช้ระหว่าง $B_1$ และ $B_2$ ในครั้งนี้ มีการหมุนเวียนชดเชยที่เป็นไปได้ 16 ครั้ง แต่ทั้งหมดนั้นเกี่ยวกับวิธีการที่การปฏิบัติการของเพาลีแพร่กระจายผ่านการกระทำของการควบคุม ไม่ใช่ และอีกครั้งที่ทำให้การปฏิบัติการของเพาลีหมดไป
I regret my choices. I should have just become a cobwebineer in stead of a screenwriter. But of course, with my luck they'd have come up with some completely absurd construction job for me to do. Like, at first I was one hundred percent on board with the "Man-Spider" concept. I mean, pure body horror, you could make some really, really scary shit out of that material. But then came the instruction: "Make it sexy". *Sexy*? Have they seen humans? Only half the proper amount of limbs, the eyeball situation is just disturbing and those red, wet holes... masticating species, uggh! But apparently this... specimen... is supposed to be the hero? We're never going to see him eat on screen, that's for sure. I guess I can work with the gun thing. Emphasize the technological ingenuity. There's probably some way to make this form of hunting seem cool in stead of a pathetic compensation for natural weakness. Maybe. And they want talking to play a central role. I can see why, given the man-spider thing, but how to do it without directing attention to that nasty face hole? Putting a mask on him might work - and it could cover the eyes. Mask it is! A mask would also help making the love interest story line a little more believable. I'm not writing any mating scenes! They'll just have to find another spider for that, I have my limits. Although, thank the Great Spinner that it's *man*-spider. Imagine if it was woman-spider. Those creatures are *mammals*. It really is the most disgusting reproductive biology imaginable. I wish they'd let me make a horror movie.
ฉันเสียใจกับการเลือกของฉัน ฉันควรจะเป็น cobwebineer แทนที่จะเป็นคนเขียนบท แต่แน่นอนว่าด้วยความโชคดีของฉัน พวกเขาคงได้งานก่อสร้างไร้สาระมาให้ฉันทำ เหมือนกับว่า ตอนแรกฉันเห็นด้วยกับแนวคิด "Man-Spider" หนึ่งร้อยเปอร์เซ็นต์ ฉันหมายถึง หนังสยองขวัญจากร่างกายล้วนๆ คุณสามารถสร้างเรื่องแย่ๆ ที่น่ากลัวจริงๆ จากเนื้อหานั้นได้ แต่แล้วคำสั่งก็มาถึง: "ทำให้เซ็กซี่" *เซ็กซี่*? พวกเขาเคยเห็นมนุษย์หรือไม่? มีแขนขาเพียงครึ่งเดียว สภาพลูกตาก็น่าหมั่นไส้ และรูเปียกๆ แดงๆ นั่น... สัตว์เคี้ยวเอื้อง อ๊าก! แต่เห็นได้ชัดว่านี่...ตัวอย่าง...ควรจะเป็นพระเอก? เราจะไม่มีวันเห็นเขากินบนหน้าจออย่างแน่นอน ฉันเดาว่าฉันสามารถทำงานกับปืนได้ เน้นความฉลาดทางเทคโนโลยี อาจมีบางวิธีที่จะทำให้การล่ารูปแบบนี้ดูเท่แทนที่จะเป็นการชดเชยอย่างน่าสมเพชสำหรับความอ่อนแอตามธรรมชาติ อาจจะ. และพวกเขาต้องการให้การพูดคุยมีบทบาทสำคัญ ฉันเข้าใจว่าทำไมเมื่อได้รับสิ่งที่เป็นแมงมุม แต่จะทำอย่างไรโดยไม่ให้ความสนใจกับหลุมใบหน้าที่น่ารังเกียจนั้น การสวมหน้ากากให้เขาอาจได้ผล - และอาจปิดตาได้ หน้ากากมันคือ! หน้ากากยังช่วยให้เรื่องราวความรักน่าสนใจขึ้นเล็กน้อย ฉันไม่ได้เขียนฉากการผสมพันธุ์! พวกเขาต้องหาแมงมุมตัวอื่นเพื่อสิ่งนั้น ฉันมีขีดจำกัดของฉัน ยังไงก็ขอบคุณ Great Spinner ที่มันเป็น *man*-spider ลองนึกภาพว่าถ้าเป็นแมงมุมผู้หญิง สิ่งมีชีวิตเหล่านั้นคือ *สัตว์เลี้ยงลูกด้วยนม* มันเป็นชีววิทยาการสืบพันธุ์ที่น่าขยะแขยงที่สุดเท่าที่จะจินตนาการได้ ฉันหวังว่าพวกเขาจะให้ฉันทำหนังสยองขวัญ
Given N jobs where every job is represented by the following three elements: (1) start time, (2) finish time, (3) profit or Value Associated (>= 0). Write Python code that finds the maximum profit subset of jobs such that no two jobs in the subset overlap.
กำหนด N งานโดยทุกงานแสดงด้วยองค์ประกอบสามอย่างต่อไปนี้: (1) เวลาเริ่มต้น (2) เวลาสิ้นสุด (3) กำไรหรือมูลค่าที่เกี่ยวข้อง (>= 0) เขียนโค้ด Python ที่ค้นหาชุดย่อยกำไรสูงสุดของงาน โดยที่ไม่มีสองงานในชุดย่อยทับซ้อนกัน
My online friend is asking for money in order to visit my home country. Is this a legit request or a scam?
เพื่อนออนไลน์ของฉันขอเงินเพื่อไปเที่ยวประเทศบ้านเกิดของฉัน นี่เป็นคำขอที่ถูกต้องหรือเป็นการหลอกลวงหรือไม่
Assuming the person is not taking anticoagulants, it's actually quite difficult to bleed to death from dismemberment of small members (hands, feet, penis, ears, nose, etc). Even large members such as arms and legs are often survivable because the body is very good at protecting itself from blood loss. For example, transected arteries will spasm and clamp off blood flow, and loss of blood will cause the body to divert blood flow away from the extremities and to the vital organs, thereby slowing the bleeding and allowing it to clot. In fact, the whole shock process can be viewed as a set of defensive measures by the body to ensure survival in the face of serious injury. This was a bitter lesson learned by emergency medicine only fairly recently. The standard practice used to be to infuse hypovolemic patients with fluids to maintain normal blood pressure. The trouble is, a normal blood pressure prevents the body from realizing it has inadequate blood volume and turns off its defensive measures, thus allowing the bleeding to continue unabated. Left to fend for himself, a healthy adult would almost certainly survive having his penis removed. With modern medical care, that becomes a certainty. Could he still urinate? Sure, as long as the urethra wasn't blocked. It could become blocked by clotted blood, but eventually the pressure of a full bladder would overcome the blockage. Downvoter, care to comment?
สมมติว่าบุคคลนั้นไม่ได้รับประทานยาต้านการแข็งตัวของเลือด ที่จริงแล้วค่อนข้างยากที่จะมีเลือดออกจนเสียชีวิตจากอวัยวะเล็กๆ (มือ เท้า อวัยวะเพศ หู จมูก ฯลฯ) แม้แต่อวัยวะขนาดใหญ่เช่นแขนและขาก็มักจะรอดชีวิตได้เพราะร่างกายสามารถป้องกันตัวเองจากการเสียเลือดได้ดีมาก ตัวอย่างเช่น หลอดเลือดแดงที่ตัดออกจะกระตุกและปิดกั้นการไหลเวียนของเลือด และการสูญเสียเลือดจะทำให้ร่างกายเปลี่ยนเส้นทางการไหลเวียนของเลือดออกจากส่วนปลายและไปยังอวัยวะสำคัญ ซึ่งจะทำให้เลือดออกช้าลงและปล่อยให้จับตัวเป็นก้อน ในความเป็นจริง กระบวนการช็อกทั้งหมดสามารถมองได้ว่าเป็นชุดของมาตรการป้องกันโดยร่างกายเพื่อให้แน่ใจว่าจะอยู่รอดได้เมื่อเผชิญกับการบาดเจ็บสาหัส นี่เป็นบทเรียนอันขมขื่นที่แพทย์ฉุกเฉินได้เรียนรู้เมื่อไม่นานมานี้ การปฏิบัติมาตรฐานคือการใส่ของเหลวให้กับผู้ป่วยที่มีภาวะ hypovolemic เพื่อรักษาความดันโลหิตปกติ ปัญหาคือ ความดันโลหิตปกติจะป้องกันไม่ให้ร่างกายรู้ตัวว่ามีปริมาณเลือดไม่เพียงพอและปิดมาตรการป้องกัน จึงทำให้เลือดออกอย่างต่อเนื่อง ผู้ใหญ่ที่มีสุขภาพแข็งแรงสามารถเอาตัวรอดได้หากต้องเอาองคชาตออก ด้วยการรักษาทางการแพทย์ที่ทันสมัย เขายังสามารถปัสสาวะได้หรือไม่? แน่นอน ตราบใดที่ท่อปัสสาวะไม่ถูกปิดกั้น มันอาจถูกอุดตันด้วยเลือดที่จับตัวเป็นก้อน แต่ในที่สุด ความดันของกระเพาะปัสสาวะเต็มจะเอาชนะการอุดตันได้ ผู้ลงคะแนนต้องการแสดงความคิดเห็นหรือไม่?
So, students in Gryffindor are supposed to represent bravery. How does Neville represent bravery, to the point in being accepted into the house. I've always thought of his strongest traits being things like loyalty, willingness to work hard, etc, and these things would tend to put him in Hufflepuff.
ดังนั้น นักเรียนในกริฟฟินดอร์ควรจะเป็นตัวแทนของความกล้าหาญ เนวิลล์แสดงถึงความกล้าหาญได้อย่างไรจนถึงจุดที่ได้รับการยอมรับในบ้าน ฉันคิดเสมอว่าลักษณะเด่นที่สุดของเขาคือความภักดี ความเต็มใจที่จะทำงานหนัก ฯลฯ และสิ่งเหล่านี้มีแนวโน้มที่จะทำให้เขาอยู่ในกลุ่มฮัฟเฟิลพัฟ
In under 30 words, write an enticing start to a novel establishing a dystopian society
เขียนนวนิยายที่ชวนหลงใหลโดยสร้างสังคมดิสโทเปียด้วยความยาวไม่เกิน 30 คำ
From free apps to immersive online courses, there are many resources to learn a new language. Some great apps and online programs include Rosetta Stone, Duolingo, Babbel, etc. It’s also a good idea to take language classes in person or online, where you can ask your teacher questions and practice speaking with your teacher and classmates. Here are some other tips for learning a new language: * Set your language goals. When you’re first figuring out how to learn a language, you should focus on some short-, medium- and long-term goals. These can help to give structure and direction to your learning. Adding timescales to your language-learning goals can help to keep you on track and motivated. * Learn common vocabulary. This can help to quickly build your understanding in a day-to-day setting, allowing you to have and follow basic conversations. * Find a style that works for you. There are many different tools, techniques, and styles you can use when you’re learning a language. Whether it’s using flashcards, grammar translations, spaced repetition, immersive learning or any other approach, you have plenty of options. Figuring out the right combination of techniques can help you progress at a rate you’re happy with. You’ll find all kinds of apps, websites, textbooks, and other materials out there that help with different methods. * Practice speaking. A crucial part of learning a language is being able to recognise, understand and reproduce sounds. You don’t have to necessarily go out and start chatting with native speakers right away (although this can certainly help). However, talking to yourself, practicing your vocabulary out loud, and even recording yourself speaking your new language can help to build your confidence. * Connect with a native speaker. Communicating with new people in your target language is often intimidating. You might be scared to make mistakes or feel that your current level isn’t good enough. However, practicing with a native speaker can help you quickly improve your language skills. * Engage with the culture. Language often evolves in line with the culture of the groups who speak it. Therefore, to really master a language, you’ll want to make sure you’re also familiar with the cultural context that goes with it. I hope this helps!
ตั้งแต่แอพฟรีไปจนถึงหลักสูตรออนไลน์ที่สมจริง มีแหล่งข้อมูลมากมายสำหรับการเรียนรู้ภาษาใหม่ แอปและโปรแกรมออนไลน์ที่ยอดเยี่ยมบางแอป ได้แก่ Rosetta Stone, Duolingo, Babbel เป็นต้น นอกจากนี้ คุณควรเรียนภาษาด้วยตนเองหรือทางออนไลน์ ซึ่งคุณสามารถถามคำถามครูและฝึกพูดกับครูและเพื่อนร่วมชั้นได้ ต่อไปนี้คือเคล็ดลับอื่นๆ สำหรับการเรียนรู้ภาษาใหม่: * กำหนดเป้าหมายภาษาของคุณ เมื่อคุณหาวิธีเรียนภาษาในขั้นแรก คุณควรมุ่งเน้นไปที่เป้าหมายระยะสั้น ระยะกลาง และระยะยาว สิ่งเหล่านี้สามารถช่วยวางโครงสร้างและทิศทางในการเรียนรู้ของคุณ การเพิ่มช่วงเวลาให้กับเป้าหมายการเรียนรู้ภาษาของคุณสามารถช่วยให้คุณติดตามและมีแรงบันดาลใจ * เรียนรู้คำศัพท์ทั่วไป วิธีนี้สามารถช่วยสร้างความเข้าใจของคุณได้อย่างรวดเร็วในการตั้งค่าแบบวันต่อวัน ช่วยให้คุณมีและติดตามการสนทนาพื้นฐานได้ * ค้นหาสไตล์ที่เหมาะกับคุณ มีเครื่องมือ เทคนิค และรูปแบบต่างๆ มากมายที่คุณสามารถใช้ได้เมื่อคุณเรียนภาษา ไม่ว่าจะเป็นการใช้แฟลชการ์ด การแปลไวยากรณ์ การเว้นวรรคซ้ำๆ การเรียนรู้แบบดื่มด่ำ หรือวิธีการอื่นๆ คุณมีตัวเลือกมากมาย การค้นหาการผสมผสานเทคนิคที่เหมาะสมสามารถช่วยให้คุณก้าวหน้าในอัตราที่คุณพอใจ คุณจะพบแอพ เว็บไซต์ หนังสือเรียน และสื่ออื่นๆ ทุกประเภทที่ช่วยด้วยวิธีการต่างๆ * ฝึกพูด ส่วนสำคัญของการเรียนรู้ภาษาคือความสามารถในการจดจำ เข้าใจ และทำซ้ำเสียง คุณไม่จำเป็นต้องออกไปพูดคุยกับเจ้าของภาษาในทันที (แม้ว่าวิธีนี้จะช่วยได้ก็ตาม) อย่างไรก็ตาม การพูดกับตัวเอง ฝึกออกเสียงคำศัพท์ และแม้แต่การอัดเสียงตัวเองพูดภาษาใหม่ก็สามารถช่วยสร้างความมั่นใจได้ * เชื่อมต่อกับเจ้าของภาษา การสื่อสารกับผู้คนใหม่ๆ ในภาษาเป้าหมายของคุณมักจะเป็นเรื่องที่น่าวิตก คุณอาจกลัวที่จะทำผิดพลาดหรือรู้สึกว่าระดับปัจจุบันของคุณไม่ดีพอ อย่างไรก็ตาม การฝึกกับเจ้าของภาษาจะช่วยให้คุณพัฒนาทักษะทางภาษาได้อย่างรวดเร็ว * มีส่วนร่วมกับวัฒนธรรม ภาษามักจะพัฒนาไปตามวัฒนธรรมของกลุ่มที่พูด ดังนั้น หากต้องการเชี่ยวชาญภาษาจริงๆ คุณจะต้องแน่ใจว่าคุณคุ้นเคยกับบริบททางวัฒนธรรมที่เกี่ยวข้องด้วย ฉันหวังว่านี่จะช่วยได้!
How to purchase a textbook?
จะซื้อหนังสือเรียนได้อย่างไร?
How to celebrate chuseok?
จะฉลองชูซอกได้อย่างไร?
Typically you pay taxes on your income throughout the year – but over the course of a year, your life may change drastically. You may lose your job, get a new job that pays less money, get married, have a child, or buy a house. As a result of any of these changes, you may find that you've paid too much in taxes. When you pay too much, you typically are entitled to a refund. In most countries, you must file a return to claim tax back. ## Take deductions and credit 1. Report major life changes. Getting married, having a child, or buying a house are examples of positive life changes that can mean you don't owe as much tax. Negative changes, such as losing your job or getting a divorce, may have the same result. You also may be entitled to a tax refund if your residency status has changed. For example, non-residents may pay a higher tax rate than residents. If you become a permanent resident during the tax year, you may be able to get some of those higher taxes back. The government typically doesn't automatically make these changes for you and reassess your tax liability. Instead, you have to report the change and claim a refund for the amount you overpaid. 2. Keep records of medical expenses. If you have medical expenses that weren't covered by insurance, you may be able to deduct some or all of those expenses on your taxes. Save your receipts so you have them at year's end. This typically only applies to bills you've actually paid. For example, if you have a $12,000 hospital bill for emergency treatment and you've only paid half of it so far, you could only deduct that half you paid. In the following year, you could potentially deduct the other half. 3. Claim payment of interest. Certain types of interest, such as interest on a mortgage or on student loans, often can be deducted from your income on your taxes. After you make this deduction, you may be eligible to claim tax back. For example, in the U.S. you can get a credit for at least a portion of the interest you paid on your student loans. When you claim a credit, the government treats it as though you'd actually paid that money on your taxes, which could result in you getting a refund. 4. Complete the appropriate forms. If you plan to claim any deductions or credits, you typically must file a tax return that allows you to itemize. Even if you typically don't have to file a return each year, you'll need one if you want to claim tax back. For example, taxes in the UK typically are automatically reconciled. If you're employed and earn an hourly wage or a salary, you shouldn't have to file a return. But if you want to claim deductions or credits, you may have to file a return to get that tax back that you overpaid. 5. Provide proof that you are entitled to the credit or deduction. In many cases, if you're claiming a credit or deduction on your taxes, you must be able to prove that you actually incurred that expense. Even if you aren't required to submit this proof, you should still keep it in your records in case your return is audited. For example, if you or someone in your household is disabled, you may be eligible to take the disability tax credit. However, before you can claim this credit you need a letter from a doctor certifying the disability. 6. Submit your return by the deadline. Your government may have strict deadlines by which you must file a return if you are requesting a refund. In some countries, the government will pay you interest on the amount of tax you overpaid, provided a deadline is met. While most governments will give you a few years to request a refund of overpaid taxes, the process may be more cumbersome if you wait. File your tax return as soon as possible if you're due a refund, so you can get your money back. ## Report business expense 1. Keep records throughout the year. If you're self-employed or own your own business, you can deduct your business expenses from the money you earn throughout the year. Even if you work for a salary or hourly wage, you still may be able to deduct work-related expenses. If you buy anything for work purposes, keep the receipt. You can also use a bookkeeping or personal finance app to help you keep track throughout the year. 2. Review expenses you can deduct. Your government's tax department should have a list of the types of expenses you can deduct from your income. If you have significant business expenses, you may want to consult a professional tax advisor or accountant. To deduct a business expense, you generally must be able to prove that it was related to your work, and that you paid for it yourself. You can't deduct expenses that your employer reimbursed. If your employer reimbursed you for part of the expense, though, you may be able to deduct the portion that wasn't reimbursed. Talk to a tax advisor about certain expenses, such as travel expenses. These may not be entirely deductible. 3. Use the appropriate tax return form. If you have expenses related to self-employment, you typically must fill out a separate form for the income you have related to that self-employment. Your business expenses are deductible from that income. For example, suppose you have a day job that pays you an hourly wage, and you also occasionally give people rides through a ride-share app. You would be required to report your income from ride-sharing on your taxes, but you could deduct any related expenses. This could include a portion of your car payment and car insurance. 4. Submit your tax returns. To deduct business expenses on your taxes, you must submit your yearly tax return. In some cases, you may be required to pay estimated taxes throughout the year if your income from self-employment is over a certain amount set by your government. If you have significant business expenses, it may take you a little longer to complete your return, so don't wait until the last minute. 5. Keep receipts for expenses you deducted. You typically don't have to provide the receipts or proof of your business expenses to the government when you submit your tax returns. However, if your return is audited, you must be able to produce this documentation. Generally, you want to keep these records for at least 4 or 5 years. Check with your government's tax department to find out how far back returns can be audited, and make sure you're keeping your records for at least that long, just in case. ## Adjust your withhold 1. Check the withholding on your paycheck. Especially if you've recently started a new job, you may find that too much money is being withheld from your paycheck for taxes. Check your pay stub or talk to someone in your employer's payroll department to find out how withholding is computed. It's generally a good idea to revisit the amount being withheld from your paycheck for taxes whenever you have a major life change that you would report on your taxes. Major life changes that could potentially affect your tax liability include getting a second job, being unemployed for any period of time, getting married or divorced, or having a child. 2. Determine your appropriate tax bracket. If your overall household income has changed for any reason, there may be too much tax withheld from your paycheck. Estimate your tax liability for the year and compare it to your government's tax scheme. If you live in the U.S., you can do this fairly easily in most cases by filling out a new W-4. If the result is different from the one you have on file with your employer, your employer should update their records. 3. Complete new withholding forms. You may be able to submit changes to your withholding online, or you may have to fill out new paper forms with your employer's payroll department. Speak to a manager or someone in human resources and let them know you need to make this change. 4. Verify the change has been made. Once your withholding has been adjusted, you should notice that less money is being taken out of each paycheck. If the amount being withheld hasn't changed, get back to someone in payroll. Some countries, such as the UK, may issue you a refund directly through your employer if you overpaid on taxes throughout the year.
โดยปกติแล้วคุณจ่ายภาษีจากรายได้ของคุณตลอดทั้งปี แต่ในช่วงหนึ่งปี ชีวิตของคุณอาจเปลี่ยนไปอย่างมาก คุณอาจตกงาน ได้งานใหม่ที่จ่ายเงินน้อยลง แต่งงาน มีลูก หรือซื้อบ้าน จากการเปลี่ยนแปลงใดๆ เหล่านี้ คุณอาจพบว่าคุณจ่ายภาษีมากเกินไป เมื่อคุณจ่ายมากเกินไป โดยปกติแล้ว คุณมีสิทธิ์ได้รับเงินคืน ในประเทศส่วนใหญ่ คุณต้องยื่นแบบแสดงรายการเพื่อขอรับภาษีคืน ## รับหักและเครดิต 1. รายงานการเปลี่ยนแปลงครั้งสำคัญในชีวิต การแต่งงาน มีลูก หรือซื้อบ้านเป็นตัวอย่างของการเปลี่ยนแปลงชีวิตในเชิงบวก ซึ่งอาจหมายความว่าคุณไม่ต้องเสียภาษีมากนัก การเปลี่ยนแปลงในทางลบ เช่น การตกงานหรือการหย่าร้าง อาจมีผลลัพธ์เช่นเดียวกัน นอกจากนี้ คุณยังอาจได้รับสิทธิ์ขอคืนภาษีหากสถานะการอยู่อาศัยของคุณเปลี่ยนไป ตัวอย่างเช่น ผู้ที่ไม่มีถิ่นที่อยู่อาจต้องจ่ายภาษีในอัตราที่สูงกว่าผู้มีถิ่นที่อยู่ หากคุณเป็นผู้มีถิ่นที่อยู่ถาวรในระหว่างปีภาษี คุณอาจสามารถขอคืนภาษีบางส่วนที่สูงขึ้นได้ โดยทั่วไปแล้ว รัฐบาลจะไม่ทำการเปลี่ยนแปลงเหล่านี้ให้คุณโดยอัตโนมัติและประเมินภาระภาษีของคุณใหม่ คุณต้องรายงานการเปลี่ยนแปลงและเรียกร้องเงินคืนสำหรับจำนวนเงินที่คุณชำระเกิน 2. เก็บบันทึกค่ารักษาพยาบาล หากคุณมีค่ารักษาพยาบาลที่ไม่อยู่ในประกัน คุณอาจหักค่าใช้จ่ายเหล่านั้นบางส่วนหรือทั้งหมดจากภาษีของคุณได้ บันทึกใบเสร็จรับเงินไว้ใช้ตอนสิ้นปี โดยทั่วไปจะใช้กับบิลที่คุณจ่ายจริงเท่านั้น ตัวอย่างเช่น หากคุณมีค่ารักษาฉุกเฉินในโรงพยาบาล 12,000 ดอลลาร์ และคุณจ่ายไปเพียงครึ่งเดียวจนถึงตอนนี้ คุณก็สามารถหักเงินที่จ่ายไปได้เพียงครึ่งเดียว ในปีต่อไปคุณสามารถหักอีกครึ่งหนึ่งได้ 3. เรียกชำระดอกเบี้ย ดอกเบี้ยบางประเภท เช่น ดอกเบี้ยจำนองหรือเงินให้กู้ยืมเพื่อการศึกษา มักจะหักออกจากรายได้ภาษีของคุณ หลังจากที่คุณทำการหักเงินนี้แล้ว คุณอาจมีสิทธิ์ขอคืนภาษีได้ ตัวอย่างเช่น ในสหรัฐอเมริกา คุณสามารถได้รับเครดิตอย่างน้อยส่วนหนึ่งของดอกเบี้ยที่คุณจ่ายให้กับเงินให้กู้ยืมเพื่อการศึกษาของคุณ เมื่อคุณเรียกร้องเครดิต รัฐบาลจะปฏิบัติเสมือนว่าคุณได้ชำระเงินภาษีของคุณจริง ซึ่งอาจส่งผลให้คุณได้รับเงินคืน 4. กรอกแบบฟอร์มที่เหมาะสม หากคุณวางแผนที่จะเรียกร้องการหักเงินหรือเครดิต คุณต้องยื่นแบบแสดงรายการภาษีที่อนุญาตให้คุณแสดงรายการ แม้ว่าโดยปกติแล้วคุณไม่ต้องยื่นแบบแสดงรายการในแต่ละปี แต่คุณจะต้องยื่นแบบแสดงรายการหากต้องการขอคืนภาษี ตัวอย่างเช่น โดยปกติภาษีในสหราชอาณาจักรจะได้รับการกระทบยอดโดยอัตโนมัติ หากคุณทำงานและได้รับค่าจ้างรายชั่วโมงหรือเงินเดือน คุณไม่ควรต้องยื่นแบบแสดงรายการ แต่ถ้าคุณต้องการเรียกร้องการหักเงินหรือเครดิต คุณอาจต้องยื่นแบบแสดงรายการเพื่อรับภาษีคืนที่คุณจ่ายเกิน 5. แสดงหลักฐานว่าคุณมีสิทธิ์ได้รับเครดิตหรือการหักเงิน ในหลายกรณี หากคุณอ้างสิทธิ์ในการขอเครดิตหรือการหักภาษี คุณต้องสามารถพิสูจน์ได้ว่าค่าใช้จ่ายนั้นเกิดขึ้นจริง แม้ว่าคุณไม่จำเป็นต้องส่งหลักฐานนี้ แต่คุณก็ควรเก็บหลักฐานนี้ไว้ในบันทึกของคุณเผื่อว่าสินค้าของคุณได้รับการตรวจสอบ ตัวอย่างเช่น หากคุณหรือคนในครอบครัวของคุณเป็นผู้พิการ คุณอาจมีสิทธิ์ได้รับเครดิตภาษีความพิการ อย่างไรก็ตาม ก่อนที่คุณจะสามารถเรียกร้องเครดิตนี้ คุณต้องมีจดหมายจากแพทย์ที่รับรองความพิการ 6. ส่งผลตอบแทนของคุณภายในกำหนด รัฐบาลของคุณอาจมีกำหนดเวลาที่เข้มงวดซึ่งคุณต้องยื่นเรื่องคืนหากคุณจะขอเงินคืน ในบางประเทศ รัฐบาลจะจ่ายดอกเบี้ยให้กับคุณตามจำนวนภาษีที่คุณชำระเกิน หากถึงกำหนดเวลา แม้ว่ารัฐบาลส่วนใหญ่จะให้เวลาคุณ 2-3 ปีในการขอคืนภาษีที่จ่ายเกิน แต่กระบวนการอาจยุ่งยากมากขึ้นหากคุณรอ ยื่นแบบแสดงรายการภาษีของคุณให้เร็วที่สุดหากคุณถึงกำหนดคืนเงิน เพื่อที่คุณจะได้รับเงินคืน ## รายงานค่าใช้จ่ายทางธุรกิจ 1. เก็บบันทึกตลอดทั้งปี หากคุณประกอบอาชีพอิสระหรือเป็นเจ้าของธุรกิจ คุณสามารถหักค่าใช้จ่ายทางธุรกิจจากเงินที่คุณได้รับตลอดทั้งปี แม้ว่าคุณจะทำงานเพื่อรับเงินเดือนหรือค่าจ้างรายชั่วโมง คุณยังคงสามารถหักค่าใช้จ่ายที่เกี่ยวข้องกับการทำงานได้ หากคุณซื้ออะไรเพื่อการทำงานให้เก็บใบเสร็จไว้ คุณยังสามารถใช้แอพทำบัญชีหรือการเงินส่วนบุคคลเพื่อช่วยให้คุณติดตามตลอดทั้งปี 2. ตรวจสอบค่าใช้จ่ายที่คุณสามารถหักได้ แผนกภาษีของรัฐบาลควรมีรายการประเภทค่าใช้จ่ายที่คุณสามารถหักจากรายได้ของคุณได้ หากคุณมีค่าใช้จ่ายทางธุรกิจจำนวนมาก คุณอาจต้องปรึกษาที่ปรึกษาด้านภาษีหรือนักบัญชีมืออาชีพ ในการหักค่าใช้จ่ายทางธุรกิจ โดยทั่วไป คุณต้องสามารถพิสูจน์ได้ว่าค่าใช้จ่ายนั้นเกี่ยวข้องกับงานของคุณ และคุณเป็นผู้ออกค่าใช้จ่ายเอง คุณไม่สามารถหักค่าใช้จ่ายที่นายจ้างเบิกคืนได้ หากนายจ้างของคุณคืนเงินบางส่วนให้กับค่าใช้จ่าย คุณอาจสามารถหักส่วนที่ไม่ได้คืนได้ พูดคุยกับที่ปรึกษาด้านภาษีเกี่ยวกับค่าใช้จ่ายบางอย่าง เช่น ค่าเดินทาง สิ่งเหล่านี้อาจไม่สามารถหักลดหย่อนได้ทั้งหมด 3. ใช้แบบฟอร์มการคืนภาษีที่เหมาะสม หากคุณมีค่าใช้จ่ายเกี่ยวกับอาชีพอิสระ คุณต้องกรอกแบบฟอร์มแยกต่างหากสำหรับรายได้ที่คุณมีที่เกี่ยวข้องกับอาชีพอิสระนั้น ค่าใช้จ่ายทางธุรกิจของคุณหักออกจากรายได้นั้น ตัวอย่างเช่น สมมติว่าคุณมีงานรายวันที่จ่ายค่าจ้างให้คุณเป็นรายชั่วโมง และคุณยังให้ผู้โดยสารผ่านแอปแชร์รถเป็นครั้งคราว คุณจะต้องรายงานรายได้จากการแชร์รถจากภาษีของคุณ แต่คุณสามารถหักค่าใช้จ่ายที่เกี่ยวข้องได้ ซึ่งอาจรวมถึงค่างวดรถและประกันรถบางส่วนของคุณด้วย 4. ยื่นแบบแสดงรายการภาษีของคุณ ในการหักค่าใช้จ่ายทางธุรกิจจากภาษีของคุณ คุณต้องส่งแบบแสดงรายการภาษีประจำปีของคุณ ในบางกรณี คุณอาจต้องจ่ายภาษีโดยประมาณตลอดทั้งปี หากรายได้จากการประกอบอาชีพอิสระของคุณเกินจำนวนที่กำหนดโดยรัฐบาลของคุณ หากคุณมีค่าใช้จ่ายทางธุรกิจจำนวนมาก อาจใช้เวลานานขึ้นเล็กน้อยในการส่งคืนสินค้า ดังนั้นอย่ารอจนถึงนาทีสุดท้าย 5. เก็บใบเสร็จค่าใช้จ่ายที่หักไว้ โดยทั่วไป คุณไม่จำเป็นต้องแสดงใบเสร็จรับเงินหรือหลักฐานค่าใช้จ่ายทางธุรกิจของคุณต่อรัฐบาลเมื่อคุณยื่นแบบแสดงรายการภาษี คุณต้องสามารถจัดทำเอกสารนี้ได้ โดยทั่วไป คุณต้องการเก็บบันทึกเหล่านี้เป็นเวลาอย่างน้อย 4 หรือ 5 ปี ตรวจสอบกับแผนกภาษีของรัฐบาลเพื่อดูว่าสามารถตรวจสอบการคืนภาษีย้อนหลังได้ไกลแค่ไหน และตรวจสอบให้แน่ใจว่าคุณได้เก็บบันทึกของคุณไว้นานอย่างน้อยนั้น ในกรณีนี้ ## ปรับการระงับของคุณ 1. ตรวจสอบการหัก ณ ที่จ่ายในเช็คเงินเดือนของคุณ โดยเฉพาะอย่างยิ่งหากคุณเพิ่งเริ่มงานใหม่ คุณอาจพบว่าเงินจำนวนมากเกินไปถูกหักจากเช็คเงินเดือนของคุณสำหรับภาษี ตรวจสอบต้นขั้วค่าจ้างของคุณหรือพูดคุยกับใครสักคนในแผนกบัญชีเงินเดือนของนายจ้างเพื่อดูว่ามีการคำนวณการหักภาษี ณ ที่จ่ายอย่างไร โดยทั่วไป คุณควรทบทวนจำนวนเงินที่ถูกหักจากเช็คเงินเดือนของคุณสำหรับภาษีเมื่อใดก็ตามที่คุณมีการเปลี่ยนแปลงชีวิตที่สำคัญซึ่งคุณจะต้องรายงานเกี่ยวกับภาษีของคุณ การเปลี่ยนแปลงในชีวิตที่สำคัญที่อาจส่งผลต่อภาระภาษีของคุณ ได้แก่ การได้งานที่สอง การว่างงานในช่วงเวลาใดเวลาหนึ่ง การแต่งงานหรือการหย่าร้าง หรือการมีลูก 2. กำหนดช่วงภาษีที่เหมาะสมของคุณ หากรายได้ครัวเรือนโดยรวมของคุณเปลี่ยนไปไม่ว่าด้วยเหตุผลใดๆ ก็ตาม อาจมีภาษีหัก ณ ที่จ่ายมากเกินไปจากเช็คเงินเดือนของคุณ ประมาณการภาระภาษีของคุณสำหรับปีและเปรียบเทียบกับโครงการภาษีของรัฐบาล หากคุณอาศัยอยู่ในสหรัฐอเมริกา คุณสามารถทำสิ่งนี้ได้ค่อนข้างง่ายในกรณีส่วนใหญ่โดยกรอก W-4 ใหม่ หากผลลัพธ์แตกต่างจากที่คุณได้บันทึกไว้กับนายจ้างของคุณ นายจ้างของคุณควรอัปเดตบันทึกของพวกเขา 3. กรอกแบบฟอร์มหัก ณ ที่จ่ายใหม่ คุณอาจสามารถส่งการเปลี่ยนแปลงการหัก ณ ที่จ่ายของคุณทางออนไลน์ หรือคุณอาจต้องกรอกแบบฟอร์มเอกสารใหม่กับแผนกบัญชีเงินเดือนของนายจ้าง พูดคุยกับผู้จัดการหรือบุคคลในฝ่ายทรัพยากรบุคคลและแจ้งให้พวกเขาทราบว่าคุณต้องทำการเปลี่ยนแปลงนี้ 4. ตรวจสอบว่ามีการเปลี่ยนแปลง เมื่อปรับการหักภาษี ณ ที่จ่ายของคุณแล้ว คุณควรสังเกตว่ามีการหักเงินออกจากเช็คเงินเดือนแต่ละรายการน้อยลง หากจำนวนเงินที่ถูกระงับไม่เปลี่ยนแปลง โปรดติดต่อเจ้าหน้าที่ในบัญชีเงินเดือน บางประเทศ เช่น สหราชอาณาจักร อาจคืนเงินให้คุณโดยตรงผ่านนายจ้างของคุณ หากคุณจ่ายภาษีเกินตลอดทั้งปี
How to diagnose adrenal gland disease in pomeranians?
จะวินิจฉัยโรคต่อมหมวกไตในปอมเมอเรเนียนได้อย่างไร?
Why are prions in animal diets not destroyed by the digestive system?
ทำไมพรีออนในอาหารสัตว์ถึงไม่ถูกทำลายโดยระบบย่อยอาหาร?
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.
คุณคิดถึงแง่มุมเชิงพื้นที่ของการวัดพารัลแลกซ์ แต่ไม่ใช่เกี่ยวกับมิติทางโลก ความตั้งใจของ Gaia คือการวัดตำแหน่ง 3 มิติและความเร็ว 3 มิติ สำหรับระยะทาง คุณต้องมีการวัดพาราแลกติกที่แม่นยำ ซึ่งจะมาพร้อมกับคาบการโคจรของคุณ สำหรับดาวไกอาทั่วไปที่มีการวัดหลายครั้งต่อปี คุณจะได้ค่าพารัลแลกซ์ 5 ค่าหลังจากเวลาผ่านไป 5 ปี จากนั้นจึงนำมาหาค่าเฉลี่ย ถ้าคุณส่งไกอาไปยังดาวเนปจูน (นอกเหนือจากข้อเท็จจริงที่ว่าไม่มีใครเคยส่งยานโคจรมา โดยที่ไม่พูดถึงภารกิจ L2 ที่อยู่ไกลออกไป) ซึ่งมีระยะเวลา 168 ปี หลังจากนั้น 5 ปี คุณจะได้.. . 5/168 th ของการวัดพาราแลกติกหนึ่งครั้ง มันไม่สามารถบรรลุเป้าหมายทางวิทยาศาสตร์ได้หากวาง L2 ไว้ข้างหลังดาวเนปจูน นอกจากนี้ยังไม่มีใครบนโลกใบนี้มีประสบการณ์ในการใส่บางสิ่งลงในจุด L2 ของระบบภายนอก สิ่งนี้แตกต่างจากการวางลงใน L2 ของโลก เนื่องจากการเข้าถึง L2 รอบยักษ์ตัวหนึ่งมีข้อกำหนด $\Delta v$ มากมายและแม่นยำมาก นี่จะเป็นการก้าวกระโดดทางเทคโนโลยีครั้งใหญ่ และสิ่งต่างๆ ก็ไม่ได้ผลในอวกาศ จำเป็นต้องมีขั้นตอนทางเทคโนโลยีทีละน้อยในสภาพแวดล้อมที่ไม่เป็นมิตร เพื่อให้แน่ใจว่าทุกอย่างทำงานได้อย่างถูกต้องและไม่มีการเสียเงินหลายล้านดอลลาร์ เปรียบเทียบกับดาวเทียม Hipparcos รุ่นก่อนหน้าของ Gaia ซึ่งจอดอยู่ในวงโคจร geostationary ตอนนี้คุณยังสามารถพูดได้ว่าทำไมไม่ใช้ดาวพฤหัสบดีสมมุติ ระยะเวลาการโคจรยังคงมีอยู่ 11 ปี และ L2 ของดาวพฤหัสบดียังคงทนทุกข์ทรมานจากสภาพแวดล้อมการแผ่รังสีที่รุนแรงซึ่งได้รับจากแมกนีโทสเฟียร์ของดาวพฤหัสบดี สิ่งนี้จะนำไปสู่การเสื่อมสภาพอย่างรวดเร็วของ CCD ที่ใช้ในการสแกนทั่วท้องฟ้า
Is it more important to prioritize economic growth and development, or to preserve the natural environment and protect our planet for future generations?
การจัดลำดับความสำคัญการเติบโตและการพัฒนาทางเศรษฐกิจมีความสำคัญมากกว่าหรือเพื่อรักษาสภาพแวดล้อมทางธรรมชาติและปกป้องโลกของเราสำหรับคนรุ่นอนาคต?
You’re a regular at Starbucks. This time you go, the lady writes "RUN" on your takeaway cup. Write a story.
คุณเป็นขาประจำของสตาร์บัคส์ ครั้งนี้คุณไป ผู้หญิงเขียนว่า "RUN" บนถ้วย Takeaway ของคุณ เขียนเรื่องราว
Here is an overview of both games, however, the ultimate decision concerning which game to select rests in your hands, as it hinges upon your personal preferences and interests. 1. Honor of Kings, developed by Tencent, reigns as a highly popular mobile game. This multiplayer online battle arena game brims with action and encompasses extensive social features. Notably, it showcases characters derived from Chinese Mythology, enabling players to construct their teams composed of these mythical personas. 2. On the other hand, Genshin Impact, crafted by miHoYo, takes the form of an action role-playing game available on both mobile and PC platforms. Distinguished by its captivating open-world setting, the game invites players into an immersive realm. It boasts a distinctive elemental combat system and has amassed considerable popularity, nurturing a substantial following of avid enthusiasts. Based on the information above, if you prefer a multiplayer game with Chinese mythology characters, then Honor of Kings might be a good choice for you. If you're more interested in a single-player game set in an immersive open-world environment, then Genshin Impact might be the better option. Ultimately, it's up to your personal preferences and interests.
นี่คือภาพรวมของทั้งสองเกม อย่างไรก็ตาม การตัดสินใจขั้นสุดท้ายเกี่ยวกับเกมที่จะเลือกนั้นขึ้นอยู่กับคุณ เนื่องจากขึ้นอยู่กับความชอบและความสนใจส่วนตัวของคุณ 1. Honor of Kings พัฒนาโดย Tencent ครองตำแหน่งเกมมือถือที่ได้รับความนิยมอย่างสูง เกมสังเวียนการต่อสู้ออนไลน์สำหรับผู้เล่นหลายคนนี้เต็มไปด้วยแอ็คชั่นและครอบคลุมฟีเจอร์โซเชียลมากมาย โดยเฉพาะอย่างยิ่ง มันนำเสนอตัวละครที่มาจากตำนานจีน ทำให้ผู้เล่นสามารถสร้างทีมของพวกเขาที่ประกอบด้วยบุคคลในตำนานเหล่านี้ 2. ในทางกลับกัน Genshin Impact สร้างสรรค์โดย miHoYo ในรูปแบบของเกมสวมบทบาทแอคชั่นที่มีให้เล่นทั้งบนมือถือและแพลตฟอร์มพีซี โดดเด่นด้วยฉากโลกเปิดที่น่าดึงดูดใจ เกมดังกล่าวเชิญชวนผู้เล่นเข้าสู่อาณาจักรที่สมจริง มีระบบการต่อสู้แบบองค์ประกอบที่โดดเด่นและได้รับความนิยมอย่างมาก หล่อเลี้ยงกลุ่มผู้คลั่งไคล้ตัวยงจำนวนมาก จากข้อมูลด้านบน หากคุณชอบเกมแบบผู้เล่นหลายคนที่มีตัวละครในตำนานจีน Honor of Kings อาจเป็นตัวเลือกที่ดีสำหรับคุณ หากคุณสนใจเกมแบบเล่นคนเดียวที่มีฉากในโลกโอเพ่นเวิลด์ที่ชวนดื่มด่ำ Genshin Impact อาจเป็นตัวเลือกที่ดีกว่า สุดท้ายนี้ขึ้นอยู่กับความชอบและความสนใจส่วนตัวของคุณ
Dear [Your Name], I’m really bored. And work is slow today, at least. So I’m writing a letter. Sorry if you don’t want it. It’s 2019 here. I think my life is okay. I’m still single and broke. Eh. Mr. Paw is still here. Okay, I probably shouldn’t have written this. Future me should be better than present me. You should finally move out of this crappy town with this decent job to a good town with a great job. Maybe get back to college? Get out of bed early, not at 10:00 am. I don’t know. Get a girlfriend. Just get out of the house. Not like me. I’m overworking till 4:00 am. Also, don’t drink margaritas. No, I’m not telling you why. No. [Your Name]
เรียน [ชื่อของคุณ], ฉันเบื่อจริงๆ. และงานก็ช้าอย่างน้อยวันนี้ ฉันจึงเขียนจดหมาย ขออภัยหากคุณไม่ต้องการ มันคือปี 2019 ที่นี่ ฉันคิดว่าชีวิตของฉันโอเค ฉันยังโสดและยากจน เอ๊ะ นายพาวยังอยู่ โอเค ฉันไม่น่าเขียนเรื่องนี้เลย ตัวฉันในอนาคตน่าจะดีกว่าตัวฉันในปัจจุบัน ในที่สุดคุณก็ควรจะย้ายออกจากเมืองเส็งเคร็งที่มีงานที่ดีนี้ ไปยังเมืองที่ดีพร้อมงานที่ยอดเยี่ยม อาจจะกลับไปที่วิทยาลัย? ลุกจากเตียงแต่หัวค่ำ ไม่ใช่เวลา 10.00 น. ฉันไม่รู้. รับแฟน แค่ออกจากบ้าน ไม่เหมือนฉัน. ฉันทำงานหนักจนถึง 04.00 น. นอกจากนี้ อย่าดื่มมาการิต้า ไม่ ฉันไม่ได้บอกคุณว่าทำไม เลขที่ [ชื่อของคุณ]
What is the difference between a mode and a scale?
อะไรคือความแตกต่างระหว่างโหมดและสเกล?
How do you add Boost libraries in CMakeLists.txt?
คุณจะเพิ่มไลบรารี Boost ใน CMakeLists.txt ได้อย่างไร
It is true, that the ideas employed here are the same that would explain why the pressure inside a balloon is higher than outside. In order to inflate a balloon you want to blow extra air inside it. This is only possible when the pressure you create in your mouth is larger than the pressure in the interior of the balloon, since the air always flows from regions of large to small pressure in this example. Consequently, the fact that your have to blow quite a bit means that there is quite some pressure inside the balloon.
เป็นความจริงที่ว่าแนวคิดที่ใช้ในที่นี้เหมือนกันที่จะอธิบายว่าทำไมความดันภายในบอลลูนจึงสูงกว่าภายนอก ในการทำให้ลูกโป่งพอง คุณต้องเป่าลมเข้าไปข้างใน สิ่งนี้จะเป็นไปได้ก็ต่อเมื่อแรงดันที่คุณสร้างในปากของคุณมากกว่าแรงดันภายในบอลลูน เนื่องจากในตัวอย่างนี้อากาศจะไหลจากบริเวณที่มีแรงดันมากไปหาน้อยเสมอ ดังนั้นการที่คุณต้องเป่าค่อนข้างน้อยหมายความว่าภายในลูกโป่งมีแรงดันค่อนข้างมาก
How to survive an earthquake?
จะรอดจากแผ่นดินไหวได้อย่างไร?

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
10
Add dataset card