hey everyone, just started learning c++ two weeks ago and i have some questions. Ask Programming |
- hey everyone, just started learning c++ two weeks ago and i have some questions.
- I'm bored and I'd appreciate some ideas
- People who do this for a living, how prepared were you going into the job?
- How do programs draw to the screen?
- Is nearly every dev job a dysfunctional feature factory?
- Getting some 404 nit found errors I don't know what to do with.
- how do i stop autoplay on twitch embed?
- JavaScript: have many loops is gonna cause performance delay ?
- Dynamic web pages with Embedded Ruby vs JavaScript?
- how to analyse csv file data in python without using any libraries but instead using data structures like list or maps?
- How to get the moving average of a stock live in the market?
- Advice on a 2D Automated Car Parking Maneuver Program
- Am I a Programmer?
- ESP32 and PHPMyAdmin
- How to build a long number in C++
- Just read a thread about CS bootcamps vs a college degree
- What is a good place to ask about libraries within a specific technology?
- Is there a tool for end users to show python charts? (examples inside)
- Domain Drive Design Beginner Question - Persistence/Domain Events Order
- SQL Constraint referencing 2 tables
- How to pass session data to an SPA after OAuth completes?
- How come I still can't see the branch created in Github?
- How does one exactly contribute to open source ?
- raspberry pi 2 model b
hey everyone, just started learning c++ two weeks ago and i have some questions. Posted: 20 Aug 2020 05:22 PM PDT after finishing c++ course i started solving some problems in it , then started a data structures and algorithms course . first question: is this right ?? or i have to wait until being good in c++ to start data structures and algorithms course . second one: after finishing data structures and algorithms course i'll start making projects like snake, then i'll take a design pattern course and again is this right too?? last one: how many problems i should solve to start my track (notice: i know that i shouldn't stop solving problems but i'm asking about what's the minimum number of problems i have to solve to start my track). and sorry for my English i'm not a native speaker. [link] [comments] |
I'm bored and I'd appreciate some ideas Posted: 20 Aug 2020 08:12 PM PDT I know object-oriented programming and the language I master the most is Java. Recent days I've been resting 'cause I've had back pain and I want to return to program but I don't know what to do. What do you recommend me? [link] [comments] |
People who do this for a living, how prepared were you going into the job? Posted: 20 Aug 2020 08:45 AM PDT For example, how big of a gap was there between your knowledge, skills, abilities and the actual role? [link] [comments] |
How do programs draw to the screen? Posted: 20 Aug 2020 01:45 AM PDT I have already done a few operating systems classes and know a fair bit of coding, but in the process of writing a GUI program for learning purposes i realized that i have no idea how the GUI is drawn to the screen. There are a lot of libraries for java like swing and javafx that do a lot of the heavy lifting in the background and where most of the actual work of creating the window is abstracted away behind a few functions. But i'd like to know how that happens. How are those libraries build, are they written in opengl, ore something even more low-level? Do these window creations happen with a syscall by the operating system? I have no idea, but i'd like to know. My research did not come up with anything, so this is my last resort.I hope i have asked my question so that it can be understood and thanks for the answers in advance. [link] [comments] |
Is nearly every dev job a dysfunctional feature factory? Posted: 20 Aug 2020 09:32 PM PDT This post seems better for CS career questions I moved it there [link] [comments] |
Getting some 404 nit found errors I don't know what to do with. Posted: 20 Aug 2020 11:21 AM PDT The program I am working on needed me to download a couple of files to work correctly mainly bootstrap and JQuery. The lectures I'm following had me set them up and store them in specific files and then I had to call them in different areas. I stored the files where I was supposed to but keep getting 404 not found errors that I need to resolve. The specific errors look like this: In the task bar I can easily locate and open these files so I know at the very least they are present in the program but that kinda only makes it more confusing since they appear to be where they should be. I have included a picture of the taskbar so you can see the where the files are stored. I'm really stuck on how to resolve this especially since it appears that they are where they're supposed to be so I'm not sure if the error has to do more with the code than the location of the files. This is the main layout HTML file where these files are first called and their path is defined. https://i.stack.imgur.com/ncuvm.png This next section is the contents of the JQuery java script file called scripty. The final section is the main controller Python file where the GET command is issued: I've tried going over the lecture videos alot and tried a bunch of other tutorials to try and fix this issue so far nothing has really help. I'd really like to be able to fix this issue so I can move onto the next part of the project. [link] [comments] |
how do i stop autoplay on twitch embed? Posted: 20 Aug 2020 08:37 PM PDT <!-- Add a placeholder for the Twitch embed --> <div id="twitch-embed"></div> <!-- Load the Twitch embed script --> <script src="[https://embed.twitch.tv/embed/v1.js](https://embed.twitch.tv/embed/v1.js)"></script> <!-- Create a Twitch.Embed object that will render within the "twitch-embed" root element. --> <script type="text/javascript"> new Twitch.Embed("twitch-embed", { width: 1080, height: 580, channel: "monstercat", // only needed if your site is also embedded on embed.example.com and othersite.example.com parent: ["embed.example.com", "othersite.example.com"] }); </script> [link] [comments] |
JavaScript: have many loops is gonna cause performance delay ? Posted: 20 Aug 2020 08:05 PM PDT I'm mapping json through the cloud. Let's say I have a Object that contains an array of objects that also contains an array of objects and I want to map all the information because I want to sterilize and verify each one. Let's say the limit is 100 objects for each array. Will I take a performance hit? As of now it's n2 but idk at what point will I start feeling the n2. [link] [comments] |
Dynamic web pages with Embedded Ruby vs JavaScript? Posted: 20 Aug 2020 04:43 PM PDT Which do you prefer/use most in building dynamic web pages: Embedded Ruby or JavaScript? And why? When/how do you decided which to use? [link] [comments] |
Posted: 20 Aug 2020 04:40 PM PDT |
How to get the moving average of a stock live in the market? Posted: 20 Aug 2020 03:24 PM PDT Hello, hope everyone is well? https://stackoverflow.com/questions/63501706/how-to-calculate-the-moving-averages-for-a-live-stock I have linked the code as I didn't want to clutter it too much. I am building a trading algorithm that iterates through 35 different etfs and calculates the moving average for it every however many seconds. I have made this originally using the close for a stock in set days but I don't really know how to convert it into a live paper trading strategy. Thanks! [link] [comments] |
Advice on a 2D Automated Car Parking Maneuver Program Posted: 20 Aug 2020 03:11 PM PDT As a project to cement my learning on different kinds of search algorithms and AI, I am intent on creating an application in Java that would automatically (via the use of an A* search algorithm) maneuver and park a car in a given space, starting outside of it. See this diagram for a rough idea. I am having some trouble with deciding how best to represent the game world, the state of the car within the world and how I would create an action class that could be used to actually maneuver the car to the goal. If it's necessary to note, the car should be reversed parked, I suppose. If my post is too vague, apologies, I will try and clarify more. Even if you're able to point me in the direction of an example to base my idea on, that would be very much appreciated. Thank you. [link] [comments] |
Posted: 20 Aug 2020 03:10 PM PDT (18M) Started learning HTML, CSS, and JavaScript basics around last Christmas. Started learning more advanced JavaScript around January, using Udemy Courses and YouTube tutorials to help me along the way. I just made a web-based basic game. And didn't do much else afterwards. Then the virus hits and we all have to stay home. So I use this time to freshen up on my JavaScript (making more websites) and take a React Native course on Udemy. Afterwards I ended up making 2 apps (one the course guided me through and one on my own. I'm making another one on my own as well that's a bit more complex). Now while I'm coding another app, I'm taking a C++ game development course on Udemy. Where I've made 2 games so far coding in C++ using UE4. I understand how programming works and how to apply the logic needed to do whatever it is I need to do. But my lack of experience makes me feel weird about if I could even call myself a "programmer" or "developer" since I've only been doing this for not even a year. [link] [comments] |
Posted: 20 Aug 2020 03:06 PM PDT (Sorry for my English, it isn't my first language) I'm a beginner programming for microcontrollers, I'm doing this project with an esp32 in the Arduino IDE, where I have to retrieve a value from a MySQL table and show that value in a display every x amount of seconds, I honestly have no idea how. I've seen a lot of tutorials on how to get value through a sensor and save it in a database using the esp32 but I cannot find any on how to do get a value already stored. Any idea? [link] [comments] |
How to build a long number in C++ Posted: 20 Aug 2020 02:28 PM PDT So i have an array of 8 bytes say (0x10,0x21,0x32,0x43,0x54,0x65, 0x76, 0x87) I need to go through the array and build a number that at the end would be 0x8776655443322110. How do i build a long number? Will I have to loop through the array and then make a string and convert the string to a number? [link] [comments] |
Just read a thread about CS bootcamps vs a college degree Posted: 20 Aug 2020 01:22 PM PDT As someone with no programming experience that wants to learn and get into that field, is a boot camp a good way to go about it? Lots of questions: Do you get a certificate at the end that interviewers actually value? How long do they take? What kind of job will completing a boot camp get me and how much should I expect to make? Can this be done during COVID? And lastly, what is a respectable one? [link] [comments] |
What is a good place to ask about libraries within a specific technology? Posted: 20 Aug 2020 03:59 AM PDT I have found out stack overflow is not a good place and I am really frustrated where else to find help. Also, I have checked r/programming and could only post links there. [link] [comments] |
Is there a tool for end users to show python charts? (examples inside) Posted: 20 Aug 2020 08:40 AM PDT I'm looking for something like Metabase or Superset that allows power users to plot charts using SQL and share them via dashboards with normal users. Same concept but with Python instead of SQL, in a way that each "container" would be python code that could plot matplotlibs charts on a 'modular' way. Would be nice if I could run my own instance as well. Have you come across something like this? [link] [comments] |
Domain Drive Design Beginner Question - Persistence/Domain Events Order Posted: 20 Aug 2020 08:34 AM PDT I have tried to get my head around DDD for some time now but I still struggle with some concepts, I would like to know: If you have an Order domain entity which is an aggregate root. When an order is created I need to;
Does the behaviour in steps 2 and 3 go inside the Order.Create() method on the entity which is where I build the entity from passed in values? I can't do this if the order is not yet persisted, which is something I would do in the application layer not the domain layer. I imagine I would raise internal domain events to perform action 2,3 after persistence with Handlers that have single responsibility. This to me is good because the application layer then does not have the logic of what happens. One solution I thought would be do have the Order.Create() method return the domain model. Which I then pass to my repository and then I call a method on my Order such as Order.Saved() which could then trigger the domain events mentioned above. But this to me seems wrong as the calling code in the application needs to remember to call Saved() in order for business logic to kick in. I have found some examples, but they either don't save to the database or don't perform actions after the save (such as steps 2,3). Nb. I am using dapper and repositories to store the domain entities and not using entity framework. I really appreciate any helpful advice on this. [link] [comments] |
SQL Constraint referencing 2 tables Posted: 20 Aug 2020 12:06 PM PDT Hello, [link] [comments] |
How to pass session data to an SPA after OAuth completes? Posted: 20 Aug 2020 10:39 AM PDT I noticed after an OAuth process I wrote, cookies were not being saved for the domain (in my case localhost:port). Looking into it, a fetch request needs to be made with a header for credentials: 'include' Since this is incompatible with the OAuth flow, at least when triggered by button click, i would like to ask how you guys pass session information to an SPA after OAuth completes? If it's not doable, I am considering ditching sessions and trying to pass a JWT instead. But I think I might encounter the same problem. Unless I encode the JWT as a query parameter and have the SPA check for the query parameter. Additional context. The server is on Express.js. The front end uses React.js with React Router v5. [link] [comments] |
How come I still can't see the branch created in Github? Posted: 20 Aug 2020 08:39 AM PDT Hi, Basically, I need help in uploading something to a new branch in Github. Since my last post doesn't quite match my question now, so I am posting a separate question here. git log xxx and here's what I get: I then check the github. Still I don't see the branch appear. Please let me know what should I do in order for the branch and my upload appear in github. Thanks alot. [link] [comments] |
How does one exactly contribute to open source ? Posted: 20 Aug 2020 02:20 AM PDT I know this is a stupid question, and I did google it but didn't get a clear understanding. Does it mean I can just download source code from GitHub, add new features or fix bugs and re-upload it to them ? How does this help me, are my changes noted ? What are some beginner projects I can contribute to ? [link] [comments] |
Posted: 20 Aug 2020 07:32 AM PDT what programming language is best for programming a raspberry pi? (in my case im trying to make it respond to audio input at a certain level by playing a sound) [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