How to teach students programming? Ask Programming |
- How to teach students programming?
- Does there exist an code editor that can show particular selected execution paths only?
- Should I use my tablet?
- Extend Monitor display in WPF
- Distributed Databases for Social Media like apps
- Safe running multiple programming langs on a same PC?
- Frontend / Backend synchronisation problem
- Question about Fast Inverse Square Root
- I need a program that would show me the ratings of typed-in movies
- Up-to-date tutorial (video or blog) on how to build a video chat app with Twilio?
- Place for high-quality computer-related posters?
- ModuleNotFoundError, even though import is working fine
- How do you handle sensitive data when uploading things to GitHub?
- App with map of a specific city
- What's the best way to let unexperienced users modify a page on a website?
- SVG: Why does <text> elements appear in the browsers but not in image viewers
- How to really fix undefined reference to `newuser::inputusername()''? I'm pretty sure I linked them correctly.
How to teach students programming? Posted: 28 May 2021 09:31 AM PDT Hi, I am currently working on my bachelor thesis and would like to work on the following topic: How can we teach programming to students regardless of their age. I've already found out about solutions like "Scratch" but I don't think that's the optimal solution. I am thinking of a solution in which you can give commands to a robot or something similar by painting characters. Maybe someone here already has experience with it or an exciting solution. Thank you! [link] [comments] |
Does there exist an code editor that can show particular selected execution paths only? Posted: 28 May 2021 01:00 PM PDT This is a bit of a weird question, not really sure what to call this sort of feature (actually not sure if it exists). Currently, I'm working on some spaghetti code, and for the purposes of this question let's assume that's an unsolvable problem. We have a function that takes in a bunch of configuration options and then does everything. What I'd like is an editor where you can poke, say, an 'if' and say "show me what the code would look like if we knew that one branch of this conditional was used, and we threw away the other one." Extra credit if the condition could be tied to the variables rather than the conditionals (show me the code if this config flag was set to 'true'). ExtraExtra credit if it could evaluate things like flag1 && flag2. Do tools like this exist? It seems like a stretch, but I come from vim-land where everything is just text... I know the IDE guys have all sorts of cool toys... [link] [comments] |
Posted: 28 May 2021 07:32 AM PDT Hello!! I am very new to programming but I have a problem, I don't have a computer. Well, I kinda do but let's just say it's unusable. I can't get a new one as I am 16 and don't have a way to make money yet, but I do have this amazing tablet. It is a Samsung s6 lite, and it's the best tablet I've ever owned (maybe because the rest of them were cheap but lmao) I have a cute keyboard that use for it as well when I am writing my short stories. Any advice? [link] [comments] |
Posted: 28 May 2021 09:38 PM PDT Hi, as I mentioned I want to extend my WPF UI to another screen. When user click the extend monitor button, the UI content will be extended. Is there any ways to solve it? [link] [comments] |
Distributed Databases for Social Media like apps Posted: 28 May 2021 08:53 PM PDT I was honestly getting fed up with censorship on major social media platforms and I was thinking would it be possible to create some sort of distributed database that can be used to store data for a social media app (I didnt really think that blockchains would work as they keep all the data and this would take up too much storage especially for the use of social media apps). What i was considering was something similar to bittorrent where the followers of a certain influencer would help store the influencers data in order for users to be able to access this data even if the person who posted it is offline. I do realize that this idea isnt perfect so I was hoping someone here with more experience would be able to give me some advice on how this could be improved upon. Thanks. [link] [comments] |
Safe running multiple programming langs on a same PC? Posted: 28 May 2021 01:57 PM PDT Hello all, I have been a sole Python user for awhile, and I was just wondering if it is safe for a machine to run both Java and Python? Would it cause the PC to malfunction, cause error, etc. (Planning to use Eclipse IDE, and been using PyCharm for Python) [link] [comments] |
Frontend / Backend synchronisation problem Posted: 28 May 2021 02:34 PM PDT Let's say in your frontend user interface, the user interacts with an object (json object) and you need that object to always be in sync with the backend object (stored in the DB) A straighforward answer would be that whenever the user does a change to that object you have to call your API backend to save it. But then: How do you handle the case when saving the object fails? When that happens, the UI and backend are no longer in sync since the change already happened in the UI but not committed to the database. How do you handle the case where the save doesn't just store the object as it is coming from the frontend but needs to do some modifications to it? When that happens, the changes made in the backend are not in sync with what the user sees in the frontend. Considered solution: Have the backend return the object as it is in the database when the save succeeds or fails so that the UI can use that value to revert back the UI state in case of failure or update the UI in case of success. But this just does sound very clean to me, in case of failure returning the full object doesnt sound like good practice in addition to having to return message errors. And in case of success it feels overkill to have to rerender the whole UI using the updated object whenever a change is made. Are there any better solutions you've used or came accross in the past? [link] [comments] |
Question about Fast Inverse Square Root Posted: 28 May 2021 03:32 PM PDT If the exponent is odd (has a 1 in its rightmost digit), shouldn't the bit shift move that bit into the mantissa? Why doesn't that mess up the calculation? [link] [comments] |
I need a program that would show me the ratings of typed-in movies Posted: 28 May 2021 11:45 AM PDT If there's a better subreddit for this question, please direct me to it. My problem is that the only website that shows all movies that play in all cinemas in my country is movies.ch. It's a tiny country so I'm more than willing to spend like 1h to travel through half the country to see a great movie. Especially now that there are no movies coming out there are a lot of older movies (for example I've recently seen movies like Goldfinger or The Good, the Bad and the Ugly in cinemas and going to see Pulp Fiction this week). There are and will be some older gems I don't recognize by name and I don't wanna miss them. What I need is a program that would let me paste all of the movies' names and rank them by RT audience score and IMDb score If anyone's willing to do that please say how much you'd need for it. [link] [comments] |
Up-to-date tutorial (video or blog) on how to build a video chat app with Twilio? Posted: 28 May 2021 03:05 PM PDT I've found a few videos on youtube and blog posts on twilio's website, but most from 2020 or before. I am specifically looking for a React + Twilio app but could be without React if the code is easily transferrable. [link] [comments] |
Place for high-quality computer-related posters? Posted: 28 May 2021 02:51 PM PDT Anything SGI, Cray, computer graphics, vintage, would be cool. [link] [comments] |
ModuleNotFoundError, even though import is working fine Posted: 28 May 2021 11:33 AM PDT I'm currently using Python Crash Course and it has been a few days that I'm stuck at chapter 15 on the die example, because of this error. Here's the program I'm trying to run: Which I copied exactly as the same as the book. It works just fine until the part where I use plotly. It then gives this rather big error: I searched everywhere on troubleshooting the ModuleNotFoundError but still couldn't solve it, what am I doing wrong here? [link] [comments] |
How do you handle sensitive data when uploading things to GitHub? Posted: 28 May 2021 11:22 AM PDT I have some sensitive info like API keys in an .env file and I don't want to upload the .env file to GitHub so that no one steals my keys. So what's the best way to handle this if I still want to share my project with people? [link] [comments] |
App with map of a specific city Posted: 28 May 2021 07:20 AM PDT Hey guys! I'm making an app for a friend, he wants an app that will take a location input (street name, postal code, etc.), this location being a fire, a code for the type of fire input and will output which fire station will respond. No need to have an actual map drawn on the screen. As long as it outputs the right station with the right units that will respond, it's good. However, I don't know which language to write this in. At first i thought python, but i didn't find much useful libraries to help me with all the geographical stuff. Then i thought about Java, but I didn't have much success finding any libraries that will help me with all the map mechanics i need. So a friend suggested I learned JavaScript for this app. What do you guys think? [link] [comments] |
What's the best way to let unexperienced users modify a page on a website? Posted: 28 May 2021 03:31 AM PDT Just started my first internship and I have to do some work on the association's site. One problem that was mentioned to me was the way pages were modified : pages with content that regularly changes need to be modified through a .ini file containing HTML-formatted text spread across multiple... containers? variables? in a very unintuitive way. The person who has to do this is not at all experienced with this stuff and it's a bother for her. My first thought was to instead parse XML for the content and generate that XML through an easy-to-use tool, either from the site or a desktop app; but my lack of experience makes me wonder if that's the only solution. Is there a 'right' way to achieve this? [link] [comments] |
SVG: Why does <text> elements appear in the browsers but not in image viewers Posted: 28 May 2021 12:05 AM PDT I have asked this question on StackOverflow, but it seems unlikely that I'm going to get an answer. I am trying to render a chart but encounter a problem: The At first, I thought that it was because image viewers are incapable of rendering fonts, until I came across an asciinema's thumbnail, which is displayed perfectly by Eyes of GNOME. Question: Why does this happen and how to fix this? [link] [comments] |
Posted: 27 May 2021 10:38 PM PDT makefile only use TARGET3 AND TARGET5 newuser.h
|
No comments:
Post a Comment