Appearance
question:The parents of a woman killed during the Colorado theater shooting two years ago are suing four online retailers for negligence. The websites sold James Holmes the ammunition, body armor, tear gas and other equipment used when he opened fired in a packed Aurora movie theater during a July 2012 midnight showing of the Batman film The Dark Knight Rises. The Brady Center to Prevent Gun Violence filed the lawsuit on behalf of Sandy and Lonnie Phillips, whose daughter Jessica Ghawi was shot and killed in the attack that left 12 dead and dozens wounded. The lawsuit alleges that Lucky Gunner, the Sportman's Guide, BulletProofBodyArmorHQ.com and BTP Arms negligently supplied Holmes. A crazed, homicidal killer should not be able to amass a military arsenal, without showing his face or answering a single question, with the simple click of a mouse, said a statement released by the Brady Center. If businesses choose to sell military-grade equipment online, they must screen purchasers to prevent arming people like James Holmes. The lawsuit says Lucky Gunner sold Holmes 4,000 rounds of ammunition. The Sportman's Guide allegedly sold Holmes a 100-round drum ammunition magazine and 700 rounds. The other vendors are said to have provided the other equipment used by Holmes. Two years ago when our daughter Jessica was murdered, and we first heard the details of the massacre, I asked my husband: 'How can anyone order over 4,000 rounds of ammunition without raising any red flags? Why weren't any questions asked of the person who bought all of this ammunition? said Sandy Phillips. As gun owners, parents, and citizens of this country, we hope that our lawsuit will spare other families the tragedy that we have gone through after the death of our beautiful daughter. Remembering the victims . Trial on hold . Holmes' trail was scheduled to begin in October, but has been delayed. A psychiatrist conducting a second sanity examination on Holmes asked for more time to complete the examination, according to a judge's order from Arapahoe County District Court made public over the summer. He has pleaded not guilty by reason of insanity to the 166 charges he faces in connection with the rampage. This is the third time the trial has been delayed. It was originally set to begin in August 2013 but was pushed back to February. That date was then delayed until October, which has now been postponed. Background of Colorado shooting suspect full of contrasts . 2013: Defense team says Holmes committed Colorado theater shooting .
answer:The parents of Jessica Ghawi, one of the 12 victims killed in the 2012 Aurora, Colorado theater shooting, are suing four online retailers for negligence. The lawsuit, filed by the Brady Center to Prevent Gun Violence on behalf of Sandy and Lonnie Phillips, alleges that Lucky Gunner, the Sportman's Guide, BulletProofBodyArmorHQ.com, and BTP Arms negligently supplied James Holmes with ammunition, body armor, and other equipment used in the attack. The lawsuit argues that these companies should have screened purchasers to prevent the arming of individuals like Holmes. According to the complaint, Lucky Gunner sold Holmes 4,000 rounds of ammunition, while the Sportman's Guide provided a 100-round drum magazine and 700 rounds. The Phillips family hopes their lawsuit will prevent similar tragedies. Meanwhile, Holmes' trial, originally set for October, has been delayed due to a psychiatrist's request for more time to complete a second sanity examination. Holmes has pleaded not guilty by reason of insanity to 166 charges.
question:Write a Python function named `search_prefix_pattern` that searches for a given pattern string within a larger string, and returns a list of indices where the pattern is found. The function should accept two arguments: - `text`: The larger string in which the pattern will be searched for. - `pattern`: The pattern string to be searched for. The function should use a prefix table to search for the pattern in the text. The function should return a list of indices where the pattern is found. If the pattern is not found, the function should return an empty list.
answer:Here is the implementation of the `search_prefix_pattern` function in Python: ```python def search_prefix_pattern(text, pattern): table = [0] * len(pattern) j = 0 for i in range(1, len(pattern)): if pattern[i] == pattern[j]: table[i] = j + 1 j += 1 else: j = table[j - 1] while j > 0 and pattern[i] != pattern[j]: j = table[j - 1] if pattern[i] == pattern[j]: table[i] = j + 1 else: table[i] = 0 result = [] j = 0 for i in range(len(text)): if text[i] == pattern[j]: j += 1 if j == len(pattern): result.append(i - len(pattern) + 1) j = table[j - 1] else: j = table[j - 1] while j > 0 and text[i] != pattern[j]: j = table[j - 1] if text[i] == pattern[j]: j += 1 return result ```
question:Hi. I recently started dating this really great person. We've only been seeing each other for a few weeks. The problem is that she mentioned she has trust issues stemming from her previous relationships. I want to make sure I do things right, as I really like her and feel like we could have something special. How do I navigate these trust issues without putting too much pressure on the relationship or making her uncomfortable?
answer:It's great that you're thinking about how to approach this situation with care and sensitivity. Navigating trust issues can be delicate, especially in a new relationship. Firstly, acknowledge that her trust issues are valid and not something she can simply get over. Her past experiences have shaped her perceptions and behaviors, and it's essential to respect that. Rather than trying to fix her trust issues or convince her that you're different, focus on building a foundation of trust through your actions and consistency. Be reliable, follow through on your commitments, and communicate openly and honestly with her. Avoid making grand gestures or promises that you may not be able to keep, as this could inadvertently create more pressure and anxiety. Instead, focus on small, everyday actions that demonstrate your reliability and care. For example, show up when you say you will, listen actively when she talks, and be transparent about your intentions and feelings. It's also crucial to respect her boundaries and not push her to disclose more than she's comfortable sharing. Let her know that you're there to listen when she's ready to talk, but don't pry or try to force the issue. Ultimately, building trust takes time, effort, and patience. By being understanding, consistent, and genuine in your approach, you can help create a safe and supportive environment for your partner to heal and grow. Remember that you can't fix her trust issues, but you can be a positive influence in her life and help her feel more secure in the relationship.
question:I think I get it, at least in theory - be a normal and good guy without pressuring her. How can I tell if things are going well and I'm making positive progress?
answer:It's essential to pay attention to subtle cues and changes in your partner's behavior and communication style. Since everyone is different, there's no one-size-fits-all indicator of progress. However, here are some signs that may suggest you're on the right track: Notice if she's gradually opening up more about her thoughts, feelings, and past experiences. This could be a sign that she's becoming more comfortable with you and feels safe sharing her emotions. Pay attention to her body language and nonverbal cues. If she's becoming more relaxed and at ease in your presence, it may indicate that she's starting to trust you. Look for signs like uncrossing her arms, maintaining eye contact, or leaning in when you talk. Observe if she's initiating conversations or sharing vulnerable thoughts without you prompting her. This could be a sign that she feels comfortable enough to take the lead and be more open with you. Listen for changes in her tone and language. If she's using more positive and optimistic language or seems more confident when discussing her feelings, it may indicate that she's feeling more secure in the relationship. Also, be aware of how she responds to mistakes or misunderstandings. If you accidentally do something that triggers her trust issues, and she's able to communicate her concerns and work through them with you, it's a good sign that she's feeling more secure and willing to navigate challenging situations together. Keep in mind that progress may be slow and uneven. Don't expect her to suddenly overcome her trust issues overnight. Focus on the small, incremental changes and celebrate the tiny victories along the way. Most importantly, communicate openly and honestly with your partner about your feelings and concerns. Ask her how she's feeling and if there's anything you can do to support her. By maintaining a dialogue and being receptive to her needs, you can gauge your progress and make adjustments as needed.