Categories
Ask Friends

[ Friends ] Open Question : What should I do if my friend calls me just about everyday and I don’t want to talk on the phone everyday?

So I have a very close friend that calls me almost every day. I enjoy talking to her but I get annoyed when the calls come in too frequent. I told her that I’m not working at the moment so I guess she thinks she can call me all the time now. I am very […]

Categories
Ask Health Mental Health

[ Mental Health ] Open Question : I feel like a burden to everybody?

i was diagnosed with bipolar last year and it’s been really really hard. the past 2 weeks i’ve been contemplating whether i should just end it. i have so much support from my parents and friend and therapist and so on, but inside i feel so alone and hopeless. i just don’t want to be […]

Categories
Ask

[ Politics ] Open Question : In 2015 Lois Learner’s hardrive crashed and all her emails were erased during an investigation on IRS targeting. Can you believe that?

I mean what bad luck am I right? Poor Women, she was just pleading the fifth and refusing to answer any questions about IRS targeting Conservatives unfairly and then when he emails are subpoena’s POOF they are all gone in an unfortunate accident so she walks away Scott free. Man and the same thing happened […]

Categories
Ask Basketball Sports

[ Basketball ] Open Question : I accidentally wore my inside basketball shoes outside?

I walked out to the parking lot and back, about 200yds on blacktop and cement. I have never worn them outside before. If I clean the bottoms, will I be good to go for inside basketball?

Categories
Ask Personal Finance

[ Personal Finance ] Open Question : Have you squandered large sums of money in your life that you cannot get back? How does it make you feel? What were the circumstances?

Categories
Ask Law & Ethics

[ Law & Ethics ] Open Question : If my neighbor has a Wooden stake hanging 1 foot into my yard and my son who is a visitor hit himself with that wooden stake can I sue?

Categories
Development MATLAB

Matlab program to convert files in folder isn’t iterating

There seems to be an issue contained within ‘save’ that prevents this program from properly iterating over each file and creating the output. The goal is to take a folder full of .wav files and convert them all to .dat or ascii .txt… Any ideas? dir_in = ‘/waves’; % set directory filelist = dir(fullfile(dir_in, ‘*.wav’)); […]

Categories
Angular Development

Angular: How To add A Row to Table Conditionally?

I am building an angular app where I will be adding an item to a table. The added row will be based on the input of an item name, and its quantity. I am working on preventing the items being added into the table if: Nothing is selected or A non-positive number is entered into […]

Categories
Development

looping through multi dimension array

I am parsing A JSON file in PHP using PHP Decode $json= file_get_contents (“resultate.json”); $json = json_decode($json, true); and then I am trying to loop through the results and display them foreach($json as $zh){ $name = $zh[0][“VORLAGEN”][0][“JA_PROZENT”]; $JA = $zh[0][“VORLAGEN”][0][“VORLAGE_NAME”]; $kreis = $zh[0][“NAME”]; $kreis1 = $zh[22][“NAME”]; echo $name; echo $JA; echo $kreis; echo $kreis1; …} […]

Categories
Development

React state resets when set from prop event handler

Cannot for the life of me figure out what is going on, but for some reason when “Click me” is clicked, the number increments as you’d expect. When a click is triggered by the SVGView component, it resets the state and ALWAYS prints 0. export default function SVGViewSet() { const [number, setNumber] = useState(0); return […]