Are there any good livestream type videos I can watch of skilled programmers solving problems on websites like hackerrank? Ask Programming |
- Are there any good livestream type videos I can watch of skilled programmers solving problems on websites like hackerrank?
- How would a web-based operating system like Firefox OS handle programs such as demanding 3D games?
- Arkham Origins with Python???
- How to make an online android app.
- AutoLISP. Creating a list of insertion points for quick dimensions.
- What programming language can I use to make a search engine?
- Database/MySQL queries
- Any programming ideas?
- C++ Windows Multimedia (Wave In) Help needed
- Can you run modified program on git branch?
- Is there a language that supports both linear types and algebraic effects (e.g. as seen in Koka)?
- Can I edit an application that is live on Heroku?
- can someone tell help me with this simple c++ code :D
Posted: 30 Jul 2018 01:37 PM PDT I feel like there is so little of this type of thing when I look for it. Does anyone else think something like this could be extremely entertaining, educational and inspirational? [link] [comments] |
How would a web-based operating system like Firefox OS handle programs such as demanding 3D games? Posted: 30 Jul 2018 09:46 PM PDT Hi everyone. First let me say that I'm not a programmer, I just have investigated a lot about software and programming on wikipedia because I find it fascinating. Secondly let me explain the context of this question. I like to fantasize a lot about possible technology. Cause its fun, you know? So I thought, what would a web-based operating system like Firefox OS look like today? What if it was ported to desktops? What could have been done to make it a better OS? Etc. I read an article on some medium page that to make Firefox OS better, the dev team should create device APIs using REST and WebSockets on the server side instead of privileged JavaScript DOM APIs on the client side… that JS is not what makes the web the web, URLs are, and that instead of having an app store with dev-submitted packages, it should have a community curated directory of web apps, on the web. So I was thinking, technically this is all very possible. In fact, a decent enough dev team could put Linux and Blink or WebKit together today, and it wouldnt be so difficult to make an OS like this. It could be really convenient for anyone to have essentially a cross-platform app by making their mobile web site an app. And I know this works, because of KaiOS's success But then I thought, how would an OS like this be able to handle games? 3D games specially. I know web games exist, but none that would be graphically intensive like Warframe or Overwatch. KaiOS is made for feature phones so of course this isnt an issue to them, but this fantasy OS is one that would run on desktops, phones, tablets, etc. and anyone who has a PC with an i5 and 16GB of RAM and a 1070 would obviously wanna play some 3D AAA games on it, like The Witcher 3 or a Skyrim so modified it crashes on start. I know JavaScript is clearly very unsuited for making AAA games, I dont think the web in general is suited for that kind of stuff. So then how could game developers target this OS? Would they have to inevitably upload binaries that the user would have to then download and execute just like you would a normal app? And talking beyond games, other high performance computing apps like, idk Blender, how would they work on an OS like this? I'm sorry for the long ass description [link] [comments] |
Posted: 30 Jul 2018 10:28 PM PDT Okay, so today I got nostalgic and started to play Arkham Origns. Ahhhh sweet memories. Anyway, I get to this part where Deathstroke hands me my butt all the while mocking me, so I try again. But nope, couldn't counter his attacks in time. Apparently, my timing wasn't accurate. So now it got me thinking, what if I took screenshots of the game using "Python-mss" , train my own haar cascade for the cropped image of the "counter" prompt (a mouse image shows up on the display telling you when to click which button) , go through the screenshots using a for loop and if l get a screenshot with the "counter" prompt, I imitate the mouse buttons using pyautogui. But I feel that this approach is quite slow ( going through each screenshot and trying to detect the mouse buttons) and of course, primitive. Should I try it anyway? Or should I try to build a CNN in Keras? I would like you to suggest me other better options,well, except getting better at the game [link] [comments] |
How to make an online android app. Posted: 30 Jul 2018 09:11 PM PDT Hey! I recently started learning android development and finished my course but im not familiar with making a backend, server.... and how I connect them with my app. Can someone please point me in the right direction of where I should start and if there are any online courses u know of that fully teach this. Thanks in advance [link] [comments] |
AutoLISP. Creating a list of insertion points for quick dimensions. Posted: 30 Jul 2018 07:11 PM PDT Hello, I know this may be a very simple question but I am new to AutoLISP. I am attempting to create a LISP routine the has the user select a start and end point. The user then can select any number of block they want between the points. The insertion point of the block are then used to draw vertical or horizontal dimensions from the start point to each selected blocks insertion point . I have tried using (setq ss (ssget '((0 . "INSERT")))). I would appreciate any help creating list of user select block insertion points and organizing the point from closest to farthest from starting point. Think the QDIM BASELINE command. Thank you. [link] [comments] |
What programming language can I use to make a search engine? Posted: 30 Jul 2018 09:19 AM PDT |
Posted: 30 Jul 2018 05:26 PM PDT Hello! I have been trying to solve a few questions regarding a database, and was wondering if someone could help out! I have this database: ----------- 4 Tables
child_id child_fname child_sname child_gender child_dob child_carer 2) Activities activity_id activity_name activity_day activity_fee 3) Carer (Nearly same as Child for personal information) 4) Childactivities child_id activity_id ---------------------- I have these questions: ----------------------------------------
It should include any other additional children that get added to the database. The output should be in two columns: Child name (first name and surname) Activities = 0 for children with no activities ------------------------------------------ 2) A list for carer, basically, the name of the carer is asked, (first name + surname) and then once they input the name, all the list of children and their activities as well as the days should be listed, output in 3 coloumns. First is the firstname/second name, second is the name and last is the day of the activity ------------------------------------------ 3) Total money earned by each activity. It should show the activity name, the total number of children in it, and how much money it made. Output sorted by who earned the most, with a currency symbol. ------------------------------------------ 4) Listing children and their activities. Three columns, one for first+second name, second for activity name, and last for activity date. Should be sorted alphabetically by surname, and if two kids have the same surname, then sorted by name alphabetically. ------------------------------------------ At the moment I have these solutions:
SELECT activity * activity_ids = AS Total ORDER BY Total DESC 4) SELECT concat(p.child_fname, ' ', p.child_sname) `Person`, a.activity_name `Appointment Type`, a.activity_day `Appointment Date` FROM Child p INNER JOIN Childactivity pa ON pa.child_id = p.child_id INNER JOIN Activity a ON a.activity_id = pa.activity_id [link] [comments] |
Posted: 30 Jul 2018 12:30 PM PDT Planning to transfer to transfer to a university from a community college as a Computer Science Major and I've been thinking of writing some programs to possibly to make my chances of getting accepted higher. I'm currently learning c++ and would like work with the language. Any ideas on what I could make? [link] [comments] |
C++ Windows Multimedia (Wave In) Help needed Posted: 30 Jul 2018 11:18 AM PDT I have been looking into the waveIn functions for sound recording, I can record for a set length of time but I have an issue with the input/output devices that are used. I have no idea how to select which input or output device the functions should use, I know waveInOpen takes a deviceID as its second parameter but I have only used WAVE_MAPPER here and I think this just selects the first device that supports the format chosen. I would really appreciate it if anyone could lend me a hand or at least point me in the right direction to understand how to get the device ID of a specific input/output device or however it is supposed to be done. [link] [comments] |
Can you run modified program on git branch? Posted: 30 Jul 2018 12:39 AM PDT I am new to git as I need to use it for a project. I have a question. Say I have a repository with hello_world.cpp and the executable file (c++ program wich prints hello_world). Now I create a new branch, say with name "new_branch". I then checkout to "new_branch" and modify hello_world.cpp to print "Hi, there!" instead of "Hello, World!" (file name stays same). If I want to run this I need to compile it and then run it with ./hello_world. Now if I go checkout back to "master" and type ./hello_world it would print "Hi, there!" instead of "Hello, World!" Even if I recompile, it still prints "Hi, there!". Is it possible to, on each branch, run different versions of the same program? Before I used git, I would just copy the folder, then change files in the copied folder and compile there. I am asking this, because I cloned a remote repository (witch contains hundreds of .cpp and .h files), and I need to make some changes to some of the .cpp and .h files) and see how the output of changes. Thanks [link] [comments] |
Is there a language that supports both linear types and algebraic effects (e.g. as seen in Koka)? Posted: 30 Jul 2018 06:57 AM PDT |
Can I edit an application that is live on Heroku? Posted: 30 Jul 2018 06:09 AM PDT I have a Spring Web Application live on Heroku and it is deployed via my Github. I want to make a few edits to the application. If I edit the code in Eclipse and commit it to the connected Github repository with the Heroku account will the live Spring Application automatically update and display the changes? [link] [comments] |
can someone tell help me with this simple c++ code :D Posted: 29 Jul 2018 11:54 PM PDT okay so here is the code: #include <../std_lib_facilities.h> int main() { vector <double> unum = {}; double x = 0; double y = 0; double min_val = 0; double max_val = 0; double al_dif = 0; cout << "Enter 2 numbers separated by space: "; while( cin >> x >> y) { //while loop till the user enter | unum.push_back(x); unum.push_back(y); }//END WHILE min_val = unum[0]; //Check for MIN Value for(int v_count = 0 ; v_count < unum.size(); ++v_count) { // for statement for min value if( unum[v_count] < min_val) { min_val = unum[v_count]; }//END IF }//END FOR max_val = unum[0]; //Check for MAX Value for( int x_count = 0 ; x_count < unum.size(); ++x_count) { if(unum[x_count] > max_val) { max_val = unum[x_count]; }//END IF }//END FOR al_dif = max_val - min_val; if(min_val == max_val) { //Checks if min and max are equal cout << "The numbers are equal\n"; } else if(al_dif == 0.1) { //Checks they differ by 0.1 cout << "The numbers are almost equal;\n"; } else { cout << "The smaller number is: " <<min_val <<"\nThe larger value is: " << max_val <<"\n"; } return 0; } The problem that I'm having trouble with is the last part. I wrote the code to output if min_val and max_val are "equal", "almost equal" or just output the min and max value. This part right here. al_dif = max_val - min_val; if(min_val == max_val) { //Checks if min and max are equal cout << "The numbers are equal\n"; } else if(al_dif == 0.1) { //Checks they differ by 0.1 cout << "The numbers are almost equal;\n"; } else { cout << "The smaller number is: " <<min_val <<"\nThe larger value is: " << max_val <<"\n"; } even though if the difference of the min and max value is 0.1 it skips the else if condition XD [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