Any multi-threading problem & solution sets? Ask Programming |
- Any multi-threading problem & solution sets?
- Books about HTTP, REST, SOAP, etc?
- Why did they make arrays start at 0? why couldn't they have them start as 1?
- Binary search for first and last name
- Problem with using Chrome debugger on React in VSCode
- Need help
- Creating Website to Host HTML games.
- Converting Capital character to lowercase using mips
- Best domain registration API
- I made Scala desktop application (that works alongside a browser plugin) for my final year college project. Hoping to get some feedback and people to beta test it.
- Is DynamoDB good for indexing data for read access?
- Simply c-style string question c++
- Im not sure what direction to take my project
- C++ How to stop reading stream file in loop?
- What kind of driver forces windows to restart it uninstalled.
- How Do i convert back the result set of mysql query to an array of objects after i convert it to an object to pass it to ejs template .
- Compiling a Driver
- How can i download Full current page as an image using javascript: prefix and html2canvas.js ?
- Coming up with a Title for my presentation
- Question on what would be better to study in the long run
- How do I submit a C++ project (with source) that uses QT for its graphics?
- Writing php/angular code so that front-end is the only entity that can send a request to back-end
- OOP Naming "calculating"/"converting" classes
- How to deal with pip dependency issues?
Any multi-threading problem & solution sets? Posted: 27 Mar 2021 04:16 PM PDT I've been reading up on multi-threading lately, and wish to get some practice on concepts and theories, does anyone know good problem & solution sets? Like from any open-access University courses or any books that have problem and solution sets? [link] [comments] |
Books about HTTP, REST, SOAP, etc? Posted: 27 Mar 2021 05:14 PM PDT This is a crosspost from /r/learnprogramming. I am currently reading a book to help me along my journey in web development, but I would like to understand the foundations of web dev including HTTP requests and REST APIs, their history, and other types of protocols like SOAP. Some networking could be useful too (IP addresses, DNS, ports...). Truly understanding these topics will help me make better decisions when building websites for example. Can someone please recommend a book that can help me with this? Thanks. [link] [comments] |
Why did they make arrays start at 0? why couldn't they have them start as 1? Posted: 27 Mar 2021 05:25 PM PDT |
Binary search for first and last name Posted: 27 Mar 2021 09:28 PM PDT Hey guys, I have an assignment where I need to run a binary search for a list of names. I have it working for the last names but I was wondering what would be the best way to go about dealing with the first name. https://github.com/Jackoday/BIT605-Assignment-1.git Is it best to just run a linear search once the last name is identified or is there a better way to go about it? Cheers :) [link] [comments] |
Problem with using Chrome debugger on React in VSCode Posted: 27 Mar 2021 08:56 PM PDT Hi all, pretty simple problem I'm having, I'm starting to learn React and using VSCode to write my programmes. I've installed the Chrome debugger but for some reason, I can't Step Into functions. When I try, it simply skips it as if I had done Step Over. Anyone have any ideas why this might be? [link] [comments] |
Posted: 27 Mar 2021 09:17 AM PDT I'm absolutely new to programming, I just finished my undergrad in finance, and apart from the broad understanding about programming, I don't really understand how any of this works but it is something that I want to learn because everything is code these days. Is CS50 (CS online course offered by Harvard) a good place to start with, and also is it worth paying for the certification for the same? or you would advice something else [link] [comments] |
Creating Website to Host HTML games. Posted: 27 Mar 2021 08:24 PM PDT Hi all, I am planning to create a website that hosts a series of HTML5 games for children. I am an amateur programmer mostly familiar with Java and C# as I have developed some games with Unity. Right now my plan is for the website not to have any login details just go to the website and play but if it is successful then I would like to have user accounts and maybe even Google Classroom integration. I am really confused by all the different technologies that are used to create websites, I'm not even sure how to host the games that will be featured on the website, so I am wondering how should I go about creating the website? [link] [comments] |
Converting Capital character to lowercase using mips Posted: 27 Mar 2021 07:59 PM PDT hello all, looking to get a simple algortithm wprking for an assigment that involves me changing an uppercase ASCII character into a lowercase, this is what i have so far: when the program is run i get am i thinking this comepletely wrong, i feel like my issue lies in the second half when it comes to the Load Word functions but im not sure, cause i thought adding 0x20 to the address ($a0) would make it change to a lowercase letter?, thanks in advance! [link] [comments] |
Posted: 27 Mar 2021 07:38 PM PDT I need to programmatically register domain names, does anybody know a good company for this? Most companys seem to have weird structured API and websites. i need to be able to is send a domain trought a rest api and get back if domain still available and at what cost, And to register the domain name and point it to my server, The cost would be written of my account [link] [comments] |
Posted: 27 Mar 2021 02:57 PM PDT Hey everyone. Big lover of Scala here. I usually make things using Scala and Akka, but am slowly expanding into Catz, Dooby, etc. Once I am done college, I am diving face first into all things Scala. I am finishing up my final year at college studying CS (specializing in software engineering), and would appreciate a few people to beta test my application. After college, this will be a open source project I hope to complete with as many people as I can. I also have plenty of diagrams etc that people can use to either get up to speed so they can join in, or they can just use it to learn a bit about Scala and making an application with Scala, as well as using Firefox Native Messaging (which is not the best documented for tutorials etc, even though it is a great feature). here is the link to the webpage: https://ferdiafagan.github.io/ Here is the demo video, to see how it works -> https://www.youtube.com/watch?v=w3tI_crcCfQ Spent the past 3.5 months on this. In a nutshell: it consists of a Scala application, which is mostly made in a OO style(mixed in a bit of FP for db, etc), and a web-extension for Firefox (which is made using plain JS). The Firefox web-extension scrapes the text from the web pages you visit, and sends the scrapings to the native application to be processed and indexed. You can also add tags and bookmark webpages. Then, of course, you can query this index of your search history and filter the results using tags, bookmarks, and date of visits. All of this is done locally, and none of your data is stolen. I unfortunately can not share the code until I graduate (there rules I am afraid). But, when I graduate and polish up the project a bit, I promise I will share the git repo here for people to see, especially if it works haha. Not asking for people to sit down and use the application for hours. But just to install it and set it up, let it provide you a index, and query that index and see if it helps you out while doing research. I do wish it was a lot better. But, I am hoping it will work some what so I can get a good enough grade. Anyways, thanks very much! PS: To all Mac users -> you cant use this, sorry :p [link] [comments] |
Is DynamoDB good for indexing data for read access? Posted: 27 Mar 2021 06:36 PM PDT Let's say there's a ton of traffic for site that uses MySQL, would it make sense to index all that data on DynamoDB, so that all the read data would go to DynamoDB, as it's supposedly much easier to scale in compare to MySQL. That will also save on joins. Of course it means more work with indexing/updating the data, but I guess it might make sense. Are there better DB's for indexing data for fast and scalable reads? [link] [comments] |
Simply c-style string question c++ Posted: 27 Mar 2021 09:29 AM PDT Ok, so i recently had a test, one of the questions involved c-style strings. Basically, i had to read an ifstream into a c-style string in a loop. As far as i'm aware there are a few ways to initialize c-style strings. you could do something like char stringName[]; or char* stringName; so I did the second option my code looked something like char* stringName; while (inputFile >> stringName){} the instructor graded this as incorrect, saying that my way would lead to a segmentation fault because char* stringName; creates a char pointer to somewhere undefined. is he right? [link] [comments] |
Im not sure what direction to take my project Posted: 27 Mar 2021 06:12 PM PDT I am trying to design a catalogue/index collection system for my magic the gathering cards. Unfortunately the only language i know is java eclipse. I also only jave a basic understanding of it. I tried manually keying data into a file for the program to read but that is going to take way too much time. I know how i want it to function but im not sure what language would be the best fit. Nor do i know how/where to learn enough to effectively create the program. I am working on this project solely for personal use. I never plan to charge for it even if i make access to it public. Im just wondering if anyone knows the best language for this, and whats the easiest/best way of learning the language. Sorry if this doesnt fit here i wasnt sure where else to ask. [link] [comments] |
C++ How to stop reading stream file in loop? Posted: 27 Mar 2021 10:37 AM PDT I have a homework assignment that requires us to make a code that reads a text file of a class report card, and outputs the same thing to another text file with a letter grade next to the test grade. I have a code that works fine so far, but the loop I'm using to cycle through the lines keeps repeating the final entry, as I don't know/remember how to make it stop. What variable/condition do I use to make the loop end when I reach the end of the file? And no, the file does NOT have a predetermined length. [link] [comments] |
What kind of driver forces windows to restart it uninstalled. Posted: 27 Mar 2021 02:12 PM PDT My goal is to write a driver that monitors your read and write speeds and triggers something when they are at a certain speed. I thought a filter driver would work but someone said it can be added and removed from the stack without restarting. Thank you [link] [comments] |
Posted: 27 Mar 2021 04:51 AM PDT Everything works fine except for the fact that i don't know how to iterate an object that is basically an array of objects . Can i convert this object back to an array of objects at client side because in res.render method ejs template won't take an array so i have to convert it to an object to pass it render method . How do i change it back so that i could use it in template ?? [link] [comments] |
Posted: 27 Mar 2021 05:49 PM PDT Hey y'all, Im trying to compile this driver in Ubuntu: Interception and am having a very hard time. Here is my process: cd https://github.com/oblitum/Interception cd Interception/library cd make However I keep getting this error: makefile:6: *** missing separator. Stop. From googling, it seems this is about spaces and tabs. However I can't figure out how to edit the makefile or source file to get rid of the error. [link] [comments] |
How can i download Full current page as an image using javascript: prefix and html2canvas.js ? Posted: 27 Mar 2021 02:44 PM PDT i want to save the current page as it's. so converting it to js will do the job. i know how to load a js file using i tried adding this to the upper code but it won't work and i think if it did it won't save the full page too i am kinda a beginner. [link] [comments] |
Coming up with a Title for my presentation Posted: 27 Mar 2021 02:35 PM PDT Hi! Could you guys help me come up with a name for my Presentation? It's about using Data Science to classify garbage (recyclable, compostable, etc) [link] [comments] |
Question on what would be better to study in the long run Posted: 27 Mar 2021 12:33 PM PDT So I'm going to be specifically talking about HNC's and HND's. These are qualifications you can get in the UK. Background: I have an NC in Digital media I'm currently doing a HNC computing and I had to choose either hardware or software for the next block. I chose hardware because I thought it would be easier. And it is, but it's also very boring and most of it seems to be about networking, which I am not interested in. I wish I chose software. I'm pretty good at HTML/CSS/and I can sable a bit with JavaScript(which I did an assessment for this year and got full marks. This is where my dilemma comes is. I was planning to take the credits forward and redo the software part next year and then do a HND in Software development. But then I discovered a course that sounds pretty good. It's a HND in Web development, which I think I want to do, but would I be better getting a HND in Software Development? I feel like I might since it includes python and JavaScript and I'd be a bit more of an all-rounder. I don't plan to go to University, because at the age of 27 I want to start a career as soon as possible. Anybody that knows anything about the UK job market be able to guide me a little bit? Would I be able to get a job as a front-end web developer with a HND in software Dev? Or will I have to pursue that relevant course to get that job? I feel like my CSS and HTML5 knowledge is pretty good. I can of course always learn more, but knowing exactly what to google helps with that. Thanks! [link] [comments] |
How do I submit a C++ project (with source) that uses QT for its graphics? Posted: 27 Mar 2021 11:01 AM PDT I hope I have summarized this accurately but honestly, I'm not even sure what to ask. The situation is that I'm applying for an internship and have been asked to submit a simple application, e.g. a small text editor (it's not that, but similar), with source of course, in an archive. I'm working it up in QT Creator right now, but how do I ensure they can build it without needing to have QT as well? Can I link this as a static library? Do I need a fancy makefile? Apologies for being so clueless, but I haven't had this come up before and am not sure what to do. Additional details: C++ is a requirement (else I'd use a more graphics-friendly language, obviously). I'm working on macOS but whatever I send should be cross-platform. I'm open to trying something else like wxWidgets if QT isn't the best idea for this. Oh, and I'm on an eval copy of QT. Grateful for any help. Thank you. EDIT: So, looks like QT is out! If anyone has a rec for something else that'd be great to have. Thanks again. [link] [comments] |
Writing php/angular code so that front-end is the only entity that can send a request to back-end Posted: 27 Mar 2021 10:59 AM PDT I'm running into CORS issues when trying to call a php file on Apache and, also for security, want to implement the code so only requests sent by my Angular application are allowed. Is there a part of the header that can be given a unique value and then I have my php check the header for that specific value? Or is there a more correct way of trying to achieve this? I've attempted googling this question but haven't found anything, maybe not asking the right questions. [link] [comments] |
OOP Naming "calculating"/"converting" classes Posted: 27 Mar 2021 01:36 AM PDT Whenever I have to name a class something, I try to fall back on designpatterns. But when those fall short, I'm often blank on how to name my classes. In particular, I often have a class that want to convert or calculate something. I don't quite think a repository name is usable for a convert class (that takes a model and creates another model based on some calculation). Similarly I don't think the strategy pattern is applicable to every "calculation" class. What do you fall back on whenever you don't have a design pattern to lean against naming wise? [link] [comments] |
How to deal with pip dependency issues? Posted: 27 Mar 2021 02:23 AM PDT I have received a certain error notification twice, trying to install two different packages from pip. I'm using the terminal emulator app Termux. The message says: ERROR: Cannot install guesslang==0.9.1, guesslang==0.9.3, guesslang==2.0.0 and guesslang==2.0.1 because these package versions have conflicting dependencies. The conflict is caused by: guesslang 2.0.1 depends on tensorflow==2.2.0 guesslang 2.0.0 depends on tensorflow==2.2.0 guesslang 0.9.3 depends on tensorflow==1.7.0rc1 guesslang 0.9.1 depends on tensorflow==1.1.0 To fix this you could try to: Can anyone explain to me simply what this really means? Pip is trying to install Guesslang, but different versions of Guesslang needs different versions of Tensorflow? Why does the pip command itself try to install different versions, instead of just the latest one? And, what are the standard solutions? It says "loosen the range of versions specified", and so on - how does one do that? Thanks very much. [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