How do marketplaces like Amazon recommend me products based on items I have googled? Ask Programming |
- How do marketplaces like Amazon recommend me products based on items I have googled?
- Need Advice, how much should I pay a computer programmer to set up an automation bot for my businesses social media pages (details in description)?
- Why do people say that Python is slower than C++?
- Material Design: Programmatically create a Material Button in Android Studio
- C++ Overloading the Increment (++) Operator, but getting error.
- C++: assignment to print a 10x10 table without indexing
- CLLocation keeps returning nil but only the first time I run the app in simulator.
- Multiple programs on the same Server
- I need help with a recursion method
- Need help with "illegal escape character in string literal" while trying to put a string inside a json object in android
- High quality, custom GUIs?
- I'm majoring in CPIS. Is it a programming degree like computer science?
- What coding programs are most necessary in robotics?
- As someone who knows absolutely NOTHING about code, what steps can I take during my free time to develop the skills necessary to get a job?
- Designing an interactive chemistry app in python, but having difficulty using npyscreen
- Is there a such thing as disabling certain queries against an SQL server for security purposes?
- What are the best PHP frameworks to build an e-commerce website ?
- How would I condense this? Trace an expression tree. I did it step by step but it needs to be one.
- How to make a simple app that searches for vertical pictures?
- "Scroll to Top" Div to Appear on Scroll
- Algorithm/Data Structure to join lines that intersect
- 10 minute watch preview bypass
- How do i get a webelement to show me its content?
How do marketplaces like Amazon recommend me products based on items I have googled? Posted: 06 Nov 2018 08:42 PM PST Based on my browsing history, I see relevant items on the Amazon frontpage. Maybe Google tracks and is a partner [link] [comments] |
Posted: 06 Nov 2018 04:36 PM PST From what I have read, the job is considered easy if you are familiar with python? But I am not. Couldn't find anywhere of how long the job was, but looked like you just do a simple copy paste of the script from Github into my MacBooks VM terminal, and then the process of filling in the specific automation keywords/boundaries. Basically looking for generalities here, but whats the typical job time to have a bot like this (instabot.py on Github) fully functional and running for 1, 2 and 3 Instagram accounts? (don't know if doing a second or third page would be much quicker since the first account would already be set up) and the average rate per hour for this type of job? PS Not looking to be cheap either, I just want to make my ad enticing/attractive enough to get a quality programmer, but also don't want to get cracked/scammed and pay way more than I should have. Thank you in advance. [link] [comments] |
Why do people say that Python is slower than C++? Posted: 06 Nov 2018 10:27 AM PST Here's my understanding of what happens to code (so far):
So if I write code in both C++ and Python, and both of the pieces of code perform the same function, and I wrote the pieces of code at the same level of quality, shouldn't the code after being compiled run at the same speed? Since both have been translated into machine language? Does Python perhaps produce more lines of code after being compiled, and so it takes longer to run? Maybe I'm missing something and when people say 'Python is slower than C++' they are not talking about the compiled code, and are talking about something else? [link] [comments] |
Material Design: Programmatically create a Material Button in Android Studio Posted: 06 Nov 2018 09:45 PM PST I know how to create a normal button and textview programmtically. However, the documentation for Material design components is a bit lacking. How would I dynamically create a Material Button (and other Material Design components). Was referring to the official documentation here but it only shows xml creation. Seems like it should be fairly straightforward but I haven't found anything on google / stackoverflow covering this. [link] [comments] |
C++ Overloading the Increment (++) Operator, but getting error. Posted: 06 Nov 2018 04:54 PM PST I'm trying to overload the ++ operator and make its new function cube some numbers. However, I keep getting this "error: postfix 'Complex Complex::operator++(Complex)' must take 'int' as its argument|" Heres my code: #include<iostream> #include<iomanip> using namespace std; This is where the issue lies [link] [comments] |
C++: assignment to print a 10x10 table without indexing Posted: 06 Nov 2018 04:24 PM PST The assignment provides a template which uses indexing to print the table so I assume using it there is ok. Here is my code, which currently works. I'm wondering if there's a way to get a pointer to the array without using *ptrMatrix = &matrix[0][0] ? #include <iostream> using namespace std; int main(void) { int matrix[10][10] = { }; //declare the array // Insert your code here int *ptrMatrix = &matrix[0][0]; //get location of matrix for(int i = 0; i < 10; i++) { //for each col for(int j = 0; j < 10; j++) { //for each row *ptrMatrix = (i+1)*(j+1); //set value based on location ptrMatrix ++; //increment the pointer to point to the //next item in the array //cout statement provided by assignment cout.width(4); cout << matrix[i][j];} cout << endl; //enter new row for each line } return 0; } [link] [comments] |
CLLocation keeps returning nil but only the first time I run the app in simulator. Posted: 06 Nov 2018 07:28 PM PST Like the title says it will crash due to CLLocation holding nil the first run in the simulator but if I stop it and run again the CLLocation is no longer nil. Any advice? Here is a snippit [link] [comments] |
Multiple programs on the same Server Posted: 06 Nov 2018 03:41 PM PST Say if I have a golang application that serves an API. And I want to set up say a rust or python web server on the same machine, how would i go about it? [link] [comments] |
I need help with a recursion method Posted: 06 Nov 2018 06:52 PM PST So I'm trying to make a recursion method that takes a string of letters and returns it like ABACABADABACABA This is all I have so far. Any help is greatly appreciated! Also if someone can help me format this code so that it shows up horizontally like a box like this. THERBLIG1.1.THERBLIG1.2.THERBLIG1.3.THERBLIG1.4.THERBLIG1.5.THERBLIG1.6.THERBLIG1.7.THERBLIG1.8.THERBLIG1.9. THERBLIG2.1.THERBLIG2.2.THERBLIG2.3.THERBLIG2.4.THERBLIG2.5.THERBLIG2.6.THERBLIG2.7.THERBLIG2.8.THERBLIG2.9. THERBLIG3.1.THERBLIG3.2.THERBLIG3.3.THERBLIG3.4.THERBLIG3.5.THERBLIG3.6.THERBLIG3.7.THERBLIG3.8.THERBLIG3.9. THERBLIG4.1.THERBLIG4.2.THERBLIG4.3.THERBLIG4.4.THERBLIG4.5.THERBLIG4.6.THERBLIG4.7.THERBLIG4.8.THERBLIG4.9. THERBLIG5.1.THERBLIG5.2.THERBLIG5.3.THERBLIG5.4.THERBLIG5.5.THERBLIG5.6.THERBLIG5.7.THERBLIG5.8.THERBLIG5.9. THERBLIG6.1.THERBLIG6.2.THERBLIG6.3.THERBLIG6.4.THERBLIG6.5.THERBLIG6.6.THERBLIG6.7.THERBLIG6.8.THERBLIG6.9. THERBLIG7.1.THERBLIG7.2.THERBLIG7.3.THERBLIG7.4.THERBLIG7.5.THERBLIG7.6.THERBLIG7.7.THERBLIG7.8.THERBLIG7.9. THERBLIG8.1.THERBLIG8.2.THERBLIG8.3.THERBLIG8.4.THERBLIG8.5.THERBLIG8.6.THERBLIG8.7.THERBLIG8.8.THERBLIG8.9. THERBLIG9.1.THERBLIG9.2.THERBLIG9.3.THERBLIG9.4.THERBLIG9.5.THERBLIG9.6.THERBLIG9.7.THERBLIG9.8.THERBLIG9.9. That would also be greatly appreciated! [link] [comments] |
Posted: 06 Nov 2018 05:38 PM PST i have a wcf rest service where the dates it recieves have this format
is there a way to accomplish this format in android studio using java? this is my string
then i put this in
when i print the object on the console i get
which is not valid for my service, if i take out 1 of the " \ " i get the "illegal escape character in string literal" from my String "date" [link] [comments] |
Posted: 06 Nov 2018 03:55 AM PST This is really difficult to explain properly and I know it's a really complex question that has many answers, but I'm curious to know what technology is used to make GUIs such as: 1.) Steam Big Picture Mode 2.) Kodi 3.) Xbox 360 Dashboard Library I know you can do it with C# and XAML but it doesn't seem "real" in the sense that I haven't seen any way to make a a true/real fullscreen application. Most of the solutions I've been able to find for "true" fullscreen just involve setting WindowState to maximum and using some code to make sure the taskbar doesn't overlap and other such tricks. What I'd like to know is how to make true fullscreen applications like you would find in games or steam big picture. The kind where you can have a 640x480 game take up the entire screen while running the desktop in a completely different resolution. If you tab between the two, you get a momentary pause as the monitor switches video resolution. So what technology do I need to learn for this? SDL? D3D/DirectX ? OpenGL? Windows API programming? I know this wasn't a great description but hopefully you get the idea. Thanks! [link] [comments] |
I'm majoring in CPIS. Is it a programming degree like computer science? Posted: 06 Nov 2018 12:36 PM PST So my end goal after i graduating is to head towards the dev field. They dont offer a comp sci degree where i go so this is the best thing. CPIS stand for computer programming and information systems. You basically get to pick which area you want take more classes in ether system, network, programming, web or database. each one basically gives you 4 different classes then the other choices. I obviously picked the programming track. So far these are the programming classes in order i would have taken by the time i graduate.
Compared to Computer Science majors how many did you take and is this an appropriate amount of programming classes/exposure to head towards that field? Some of the other classes required are like Networking and other computer related stuff. [link] [comments] |
What coding programs are most necessary in robotics? Posted: 06 Nov 2018 10:17 AM PST |
Posted: 06 Nov 2018 09:49 AM PST I apologize in advance if this is the wrong place to ask and if so, I will gladly redirect my question to the appropriate sub. I also realize this answer may be easily googled instead of posted on reddit. However I decided to post because I prefer real life answers as opposed to the random articles that popped up when I googled this question that didn't really give me any personal experience in the answer. Plus, I would like the opportunity to ask questions if need be. I work as a restaurant manager. I love my job and enjoy going to work every day. With that being said, I'm not convinced it's my passion. It pay the bills just fine and leaves me with plenty left over. I don't take a lot of work home with me so during my days off I'm left pretty free. This is very nice but also leaves me feeling hollow sometimes. I have pc just I feel just stares at me, waiting for me to learn how to program and code it. I think it would be so cool to learn computer language and how to manipulate/control/fix it. My issue is that I work 40-50 hours a week and can't go to school full time for programming. I'm not opposed to school, but it would be difficult for me at the moment to complete a degree. This begins my first question: is it possible to enter a programming or even IT career without a degree in the beginning? My second question is this: what can I do now to develop my coding skills? I'm currently in Barnes n noble as I type this and see a ton of books on how to program. Would purchasing these books, and learning them inside and out, actually help me? Sure it would teach me how to program, but without a degree how would I use this to get a job? And for my final question, one that's probably ignorant so I do apologize: what is it exactly that you guys do all day? The idea of programming really interests me, but other than that I have no clue what a day in the life of someone who programs entails Again, if this is the wrong place to post I do apologize and will happily move my question. I'm engaged and want to have a family I can spend lots of time with some day. I know the world today is technologically based and only progresses to stay that way. I see sustainability and security in this field and that's all I want in life. Thanks for taking the time to read this and I look forward to your answers, advice, and direction. [link] [comments] |
Designing an interactive chemistry app in python, but having difficulty using npyscreen Posted: 06 Nov 2018 03:45 PM PST I am trying to create an interactive program using npyscreen. The end result is going to be an interactive periodic table, but for now I am trying to trigger a form to open when enter is pressed on a cell in the grid. I have been attempting to add handlers like in the docs, but the documentation for this library is extremely vague and lacks good examples. I don't think there is a way to map actual button objects to a grid. I am planning on using a hotkey to trigger a function using the value of the current cell as input. The commented widget in the main function is the popup I want to trigger. I am attempting to even trigger an exit hotkey, but no dice. Here is my code: I also replicated this setup using the "NPSApplicationManaged" setup method, but even attempting to 'setnextform' gives me errors. [link] [comments] |
Is there a such thing as disabling certain queries against an SQL server for security purposes? Posted: 06 Nov 2018 02:18 PM PST I was wondering if any SQL server types has the ability/feature to disable certain queries such as DROP DATABASE <db> to enhance security. Thanks. [link] [comments] |
What are the best PHP frameworks to build an e-commerce website ? Posted: 06 Nov 2018 12:45 PM PST |
How would I condense this? Trace an expression tree. I did it step by step but it needs to be one. Posted: 06 Nov 2018 12:21 PM PST https://imgur.com/a/P3hhcWN Here is what I have done. How would I make this into one tree? [link] [comments] |
How to make a simple app that searches for vertical pictures? Posted: 06 Nov 2018 05:23 AM PST I need to make an app that searches for vertical pictures, apparently its simple but i cannot find anything about it on google. Can anybody guide me into the correct path on how to make it ? Thank you for help ! [link] [comments] |
"Scroll to Top" Div to Appear on Scroll Posted: 06 Nov 2018 07:40 AM PST I am trying to create a Scroll to Top button that will appear in the bottom right-hand corner once the user has scrolled down a certain number of pixels. Unfortunately, the button is simply not appearing. I know it's there because if I remove I am using the following code as borrowed from W3Schools (https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_scroll_to_top): CSS:
HTML:
JS:
JSFiddle - Working in JSFiddle but not on my page... are there any common errors that I might have made and might not be aware of? Any help would be greatly appreciated! Many thanks! [link] [comments] |
Algorithm/Data Structure to join lines that intersect Posted: 06 Nov 2018 06:26 AM PST Hello, I have a series of vertical and horizontal lines (see below image). I want to group all lines that intersect into separate groups. So if a horizontal line intersects a vertical line they become part of a group Edited with another image to remove broken lines Eventually I will have Can you suggest algorithms, data structures or even naive iterative solutions? I have attempted to implement a naive iterative solution however its harder than it appears, I seem to join all lines into the same group/segment. Details: In the above images, the 'broken' lines, ie, the dots are still considered part of the preceeding line. What criteria constitutes an intersection? If 2 lines that are perpendicular touch in any way it is considered an intersection, so an [link] [comments] |
10 minute watch preview bypass Posted: 06 Nov 2018 05:55 AM PST i need your help there is a page where you can watch a preview livestream for 10minutes. after the 10 minutes you have to log in with your provider. but if you open icognito and reload the page you get another 10 minutes. so basically you can do this as often as you wish but you have to open a new tab everytime. is there a way to get the source code or something so i dont have to reload everytime ? [link] [comments] |
How do i get a webelement to show me its content? Posted: 06 Nov 2018 01:35 AM PST Hey so im using firefox inspect element and with a lot of hard work i have come up with this code/console command that i use to get the latest message/chat message sent by a freind: pizza = document.getElementsByClassName('message-text','textContent') lastSelect = pizza [pizza .length-1]; getnumberlasttext= pizza .length-1 gwt = document.getElementsByClassName('message-text','textContent')[getnumberlasttext] so what it does is, it gets all the text messages in the chat room then it shows me the most recent one and its here the problem is it shows me the latest message but its not the webelement it shows me this is the output: https://pastebin.com/6Y5rqcEv and this is what i want the output to show me: textContent: "Lippy😍👅" aka the inside of textContent but i dont know what im doing wrong i have tried switching around the commands and other web elements and all. how it looks in the browser: https://ibb.co/cF4GFA [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