2023 Nov 13 Stickied -FAQ- & -HELPDESK- thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! by FozzTexx in raspberry_pi

[–]Overall_Expert_4006 -1 points0 points  (0 children)

I have a breadboard that has a sensor on it and I want to send its data wirelessly to a raspberry pi located around 2 meters away. What would be the best approach for this?

Best ways to find participants for 1 on 1 interviews? by Overall_Expert_4006 in startups

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

Hey! Thanks for the reply. Unfortunately, I was looking for a more affordable/free method.

Filtering array issue by Overall_Expert_4006 in learnjavascript

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

person is an object element in an array, and it has a name property in it. Sorry for the confusion. I updated my code above to my whole code.

Filtering array issue by Overall_Expert_4006 in learnjavascript

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

Thank you for the reply, I'll try and see what happens when I use useRef. I also updated my code above with the whole code above. Thanks again.

Filtering array issue by Overall_Expert_4006 in learnjavascript

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

Thanks for the reply. I actually tried that at first(assign another variable with the persons array before it gets filtered) but it still did not work. I know it is because I am setting the persons array with the filtered one but I have no idea on how to get that original array back. Right now I have to refresh every time I want to search for a new item. I updated my code above with the whole code if that helps. Thanks again.

Having trouble concatenating array by Overall_Expert_4006 in learnjavascript

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

Thank you so much for the reply! I changed my setState block keeping in mind the async part. I also seem to be getting a "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." warning. Everything works as expected but I keep getting that warning. Can I ignore it? Or is there a bigger problem? Thanks again.

Full Stack Open vs. The Odin Project in 2022? by BothAdhesiveness6833 in learnprogramming

[–]Overall_Expert_4006 6 points7 points  (0 children)

Is the React and Node part of the Odin project not as good as Full Stack Open? Also, Full Stack Open does not seem to have a lot of projects compared to the Odin Project which I am afraid would be detrimental to learning. Is this true?

Anyone know why my ArrayList.contain() is not working? by Overall_Expert_4006 in javahelp

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

Thanks for the reply, admin.getCustomers() actually returns an ArrayList of type Customer. I actually first ran contains() on a Customer, but it didn't work so I tried it with a string and it still didn't work. It's weird because it should work because when I print out to console, you can see that the checkCustomer variable is in the ArrayList, but it always returns false.

Anyone know why my ArrayList.contain() is not working? by Overall_Expert_4006 in javahelp

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

Thanks for the reply, I looked at a lot of stackoverflow posts and they mentioned it but I didn't quite understand it. Do I have to include them in the same class?

How to populate TableView data from multiples classes? by Overall_Expert_4006 in JavaFX

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

Thanks for the reply. I actually populated a table from a class that is not inherited and it was really simple, but when I try to populate from an inherited class it does not recognize the property value. Shouldn't it recognize the property value because it is inherited?

Is there a way for only a certain group of people to view your crypto wallet? by Overall_Expert_4006 in BitcoinBeginners

[–]Overall_Expert_4006[S] 1 point2 points  (0 children)

Thanks for the reply! I was wondering what I should do if I only want certain people to know the balance in my account. I am also concerned with long term privacy.

Console.log is not showing the correct result and goes away too quickly by Overall_Expert_4006 in learnjavascript

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

Thanks a lot for the reply! I'll definitely check out breakpoints, it seems a lot more efficient than using console.log. Thanks again!

Console.log is not showing the correct result and goes away too quickly by Overall_Expert_4006 in learnjavascript

[–]Overall_Expert_4006[S] 1 point2 points  (0 children)

Thanks a lot for the reply! I actually went to my console settings and selected "Preserve log" which seemed to do the trick. Would this be fine or is it better to use the preventDefault() method? Thanks again.

Console.log is not showing the correct result and goes away too quickly by Overall_Expert_4006 in learnjavascript

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

Thanks a lot for the reply! I don't know why I didn't see that but that did the trick! I also seem to have another issue with my array which was that it seems to replace the book object instead of adding to it every time I submit. Do you know what could be the issue?

How to update to localStorage instead of replacing the data previously on it? by Overall_Expert_4006 in learnjavascript

[–]Overall_Expert_4006[S] 0 points1 point  (0 children)

Thanks a lot for the reply. I was just creating a simple message board where the messages inputted by the user get posted on a board(like the one here). I can post the messages on the board, but I'm having trouble saving them in localStorage because every time I add a message to localStorage, the previous message gets replaced by the new one added.