(Javascript/ReactJS) How to declare an Array/Objects of an Object? Ask Programming |
- (Javascript/ReactJS) How to declare an Array/Objects of an Object?
- As a beginner in programming, Which language should I prefer C, C++, Java or Python and why?
- [C] Data type reference material review
- Creating a Tour Planning Software - Any help to get started in the right direction is appreciated
- Arduino project with graphical interface
- [Python/Webapp] How do I connect/Where do I start to build a webpage that talks to python program on my server?
- [JS CSS] Can you tell me of a more clever way of de-selecting one button when you select another than storing the id of the old button?
- Android: Populating EditText with String array
- Player destroys closest entity
- Web Dev CSS Grid Newbie
- [JS] How is the .onclick function stored in memory, waiting to be activated?
- I have advanced Vanilla Javascript knowledge. I want to create a small bussiness website, where to start?
- Need some quick assistants with Python 3 turtle function for class
- I can't think of the name of a tool I'm looking for.
- Best practice to change SQL data
- What was your "uh-huh" moment?
- Does StackOverflow have a tag for the programming language Q (the language from Kx Systems)?
- Where do I find data regarding Software engineering
- How to represent a yang file as an object tree in Python
- How much Math is required for Game development?
- Best way to share one dev environment across multiple pcs
- Suggestions for technologies for my project
- Need help from a programmer
- Player destroys closest entity
(Javascript/ReactJS) How to declare an Array/Objects of an Object? Posted: 25 Feb 2020 11:46 AM PST Hello, I am attempting to declare a variable in the following fashion but the current syntax is incorrect. https://imgur.com/a/jM5GlQi What's the correct way to declare the above? I tried various things and none of them worked and not sure how i can go about this one. Or is the only way creating 2 dififerent Objects separately then an Array for them? Edit. Oopsy, the title should have been "... an Array/Object of objects". [link] [comments] |
As a beginner in programming, Which language should I prefer C, C++, Java or Python and why? Posted: 25 Feb 2020 09:00 PM PST |
[C] Data type reference material review Posted: 25 Feb 2020 01:48 PM PST I put together some reference material from notes that I have taken over the years about data types in C and would love for someone knowledgeable to review it. Corrections and suggestions are welcomed. [link] [comments] |
Creating a Tour Planning Software - Any help to get started in the right direction is appreciated Posted: 25 Feb 2020 02:41 PM PST Custom Built Tour Planning & Venue Identification System Hello, I am looking to have some software built, and would like any pointers or guidance to start heading in the right direction with this. Listed here are the requirements for the program. Ideally, it would fill in open spots using our venue database. This would allow us to put in two points, and then could show suggestions between points A and B. -Identifying potential venues to fill open tour spots -Filter by driving distance away from route to next spot -About 7,500+ venues in our database -Creating a report of the venues info once route is finalized Below is an image of some concepts for how it could look/feel. Any help is appreciated. [link] [comments] |
Arduino project with graphical interface Posted: 25 Feb 2020 02:24 PM PST I need some advice on what language / environment to use. I'm doing a project that
Some ideas:
Any ideas? [link] [comments] |
Posted: 25 Feb 2020 12:48 PM PST Hello, I am pretty confused when it comes to connecting multiple things into one functioning system. I have a python program that analyzes telegram html files containing messages and builds a database. Then it creates graphs using sql queries and matplotlib. Now I thought about making a front-end for this application on a page, where I could upload files which would be sent to my server, analyzed and then displayed as graphs. No idea where I should start. I know how build a static page, I know how to build python program. But I have no clue how to make a page that connects them all. I started learning d3.js to build graphs. What should I learn/where should I start with dynamic pages that send data to my server and get replies. [link] [comments] |
Posted: 25 Feb 2020 12:45 PM PST I made a small example for you: https://www.w3schools.com/code/tryit.asp?filename=GC0BAVI00XMZ My issue is that I feel that storing the currently selected button id in a variable, so you can invoke it when another button is selected and revert the originally selected button's class and content to a normal state, is kind of a wonky solution. This was my way of doing it before I learned about querySelector and the power of children classes, and I feel like the answer lies there somewhere, but I just can't see it. Looping with a query selector, trying to find the one of the buttons that is of class "selected" feels also as wonky and wasteful as making a variable. But I dunno what would be better and more legit. What would someone who knows what he is doing do (within the borders of vanilla js and css)? tnx! [link] [comments] |
Android: Populating EditText with String array Posted: 25 Feb 2020 12:31 PM PST Is there any way to populate an EditText with a string array of comma seperated values? At the moment with this code the EditText only displays the last element of the array, eg: if ingredients1 was 1, 2, 3, 4, 5 then only 5 would appear in the EditText. String[] ings = ingredients1.split(","); ArrayList<String> iList = new ArrayList<String>(Arrays.asList(ings)); mIngredSend = (EditText) findViewById(R.id.etSendIngred); for (String ing : iList) { mIngredSend.setText(ing + ","); } [link] [comments] |
Player destroys closest entity Posted: 25 Feb 2020 11:24 AM PST I'm trying to get the player to destroy an entity in my game but can't figure out a way for the player to decrease the health of the entity, I'm trying to do it that when the player presses the space bar, it will decrease the health of the closest entity, the way I'm calculating closest is using Axis aligned bounding box methodology, the entity class is abstract and I am creating other entities using that like player and rock the Code in the Player class for checking if the space bar is down is the attack method on the player class is still empty the code in the entity class for hurting the entity is, where active is a boolean and returns true until the health is at 0 in the render method in the world that renders entities, it stops rendering the entity isActive is false the AABB code that checks which is the nearest entity is what im trying to do is call the hurt method on which is the closest entity to the player when the user presses space [link] [comments] |
Posted: 25 Feb 2020 11:12 AM PST Tried to create a layout like Reddit with a light gray background and white boxes. background and boxes do not show up https://codepen.io/SamsSams/pen/LYVWVrr What am I doing wrong please? [link] [comments] |
[JS] How is the .onclick function stored in memory, waiting to be activated? Posted: 25 Feb 2020 05:04 AM PST While messing with querySelector I suddenly realized that I already have the element object reference stored in a variable from when I created it. That would mean that instead of And this brought me to my question. The first solution is unmistakeable, but in the second one how does the computer know that this specific instance of So, in short:
Tnx [link] [comments] |
Posted: 25 Feb 2020 10:59 AM PST Hello guys, I'm currently working with SharePoint on my workplace. I got a lot of knowledge on Vanilla Javascript (html and css too), from creating custom solutions on Sharepoint pages. Using ajax and rest api to get data from SP lists and using plugins for the front-end side of the website. The thing is I know nothing about the server side thing on websites. I used a google a lot for this, but there are SO MANY OPTIONS on where to start. And I thought that maybe someone could help me buy nudging me in the right direction. I'm not afraid to learn and to spend hours on it. I just want to be sure that the thing that im trying to learn is going to be the right thing for what I need. If I wanted to create a website for a Nutritionist in which I can show:
For now ** I think I don't need** more advanced stuff like a shop, chat... Stuff that I guess would need a Mysql database. Or maybe I do but I don't know because of my low experience on this field. What should I start looking at first? Looking for a host, looking for tutorials on where/how to build this kind of thing? If someones knows where what I should start learning, do you have a example or tutorials that I could follow? Thank you so much! [link] [comments] |
Need some quick assistants with Python 3 turtle function for class Posted: 25 Feb 2020 10:52 AM PST long story short i am in a computer programming class and cannot for the life of me find out what is wrong with this code. If you could help me out GOD BLESS YA if not that's fine i am still trying google xD. my code has to look somewhat like it does down there, ofcourse with some addons to fix the code. Try it imagine you are first starting to learn Python 3, that is what level i'm at right now. edit: Sorry, i meant class as in the class i goto Code:
[link] [comments] |
I can't think of the name of a tool I'm looking for. Posted: 25 Feb 2020 06:33 AM PST I believe is a MS tool. It's like a mini version of visual studio. It's not the Community Edition. You can write code and compile it. I just can't recall the name. Thanks in advance. [link] [comments] |
Best practice to change SQL data Posted: 25 Feb 2020 09:32 AM PST Let's say I have a postgreSQL table being written to about 100 rows every minute and one of the columns is a datetime field (without timezone) in CST timezone. I want to make a change to it so that the timezone would be GMT. Here's my idea:
This seems like a lot of steps and I'm wondering if there's a better way. [link] [comments] |
What was your "uh-huh" moment? Posted: 25 Feb 2020 04:48 AM PST What was your "uh-huh" moment for coding? The point where you felt like you finally got the hang of it? [link] [comments] |
Does StackOverflow have a tag for the programming language Q (the language from Kx Systems)? Posted: 25 Feb 2020 08:03 AM PST I know that SO has a tag for `q` but it doesn't seem to be the correct language for the language that is used by Ks systems. Is there a tag for this language or not? [link] [comments] |
Where do I find data regarding Software engineering Posted: 25 Feb 2020 06:39 AM PST More precisely I want to find out how many People graduate yearly as Software engineers relative to the Jobs that Open yearly in that field [link] [comments] |
How to represent a yang file as an object tree in Python Posted: 25 Feb 2020 06:04 AM PST I would like to represent a yang file as a tree data object in Python. I haven't found any libraries online that can accomplish this. One option I did come across was convert the yang into it's corresponding yin then use one of Python's xml libraries from there. However, I'd rather avoid that extra step if I can. Does anyone have suggestions of libraries or other methods that could accomplish this? [link] [comments] |
How much Math is required for Game development? Posted: 25 Feb 2020 02:18 AM PST How good do I need to be at math to dip my toes into Game development What concepts complex or simple do I need to have a good understanding of? [link] [comments] |
Best way to share one dev environment across multiple pcs Posted: 25 Feb 2020 02:16 AM PST So I have a situation currently. I have 3 setups, a pc at work, a pc at home, and a laptop for on the go. And I am trying to find out what the best manner in which you keep all the same env across all machines. For example, when I install an extension in vscode on my laptop, it needs to auto install on the other systems. What is the best way that you have come across to set this up? [link] [comments] |
Suggestions for technologies for my project Posted: 25 Feb 2020 06:01 AM PST |
Posted: 25 Feb 2020 05:56 AM PST Not sure if this even is the right sub to ask for help, but I've got myself in the sort of trouble that only a programmer can fix. I've created a fairly lengthy index for a book, and realized at the end... there is no page 28 in my document. -_______________________________________________- So every number in my index from 29 on is one too high. Is this an easy fix? If anyone can help a poor editor out, you would earn heaps of IRL karma. Please!! [link] [comments] |
Player destroys closest entity Posted: 25 Feb 2020 11:38 AM PST I'm trying to get the player to destroy an entity in my game but can't figure out a way for the player to decrease the health of the entity, I'm trying to do it that when the player presses the space bar, it will decrease the health of the closest entity, the way I'm calculating closest is using Axis aligned bounding box methodology, the entity class is abstract and I am creating other entities using that like player and rock the Code in the Player class for checking if the space bar is down is the attack method on the player class is still empty the code in the entity class for hurting the entity is, where active is a boolean and returns true until the health is at 0 in the render method in the world that renders entities, it stops rendering the entity isActive is false the AABB code that checks which is the nearest entity is what im trying to do is call the hurt method on which is the closest entity to the player when the user presses space [link] [comments] |
You are subscribed to email updates from AskProgramming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment