What is the purpose of interfaces and abstract classes in object oriented programming? Ask Programming |
- What is the purpose of interfaces and abstract classes in object oriented programming?
- How do I start learning AI program for beginners (self-learning AI program), what kinds of software, etc., should I use?
- Sending a http post request. How can I make this faster?
- How to save hierarchical in object and how to add to it? [JS]
- Do developers put in phone home features just in case?
- Force close a program that's not responding?
- If thousands of people were to together experience low lag trading between 2 simulated stocks by 1 dimension of moving their mouses, what would be the most fun algorithm for transitioning between amount owned of each 2 and position and velocity of mouse and server state etc?
- Shopping App Tying in w/ Amazon and Walmart? How to handle checkout?
- What local meetups (if any) have you found useful/productive/enjoyable? Considering starting one in midwestern city, appreciate any advice/suggestions!
- What are the prerequisites to learning CLR?
- Simple Python question regarding list printing
- SQL Trigger Not Running in MAMP
- Anyone have experience with R? Difficulty knitting to pdf which should be easy for someone that knows how to use R. I just need to load data from excel.
- how can i make this code work faster
- Is it possible to make the algorithm of a social media account “unlearn” me?
- I know its possible to get a job as a software developer. But is it also possible to advance your career without a degree? Say become a tech lead?
- I’m missing some steps in my plan. Please help me fill in the gaps.
- Just botched my first whiteboard interview.
- Batch to copy the latest file from subdirectories
- I need a bot/tool made
- I need help understanding a bit of code (C)
- How to handle a tyrannical boss?
- Why is code important?
- Anyone taken a python (or similar language) IKM assessment?
- What's the difference between C, C++ and C#?
What is the purpose of interfaces and abstract classes in object oriented programming? Posted: 09 Nov 2018 11:30 AM PST I am not talking about graphical user interfaces. I am talking about C++ interfaces and abstract classes. I know what they are and how to implement them. But what exactly is their purpose and when is a correct place to use an interface and what is the correct place to use an abstract class? [link] [comments] |
Posted: 09 Nov 2018 02:50 PM PST |
Sending a http post request. How can I make this faster? Posted: 09 Nov 2018 03:46 PM PST Is httpclient in c# the fastest any to do it? What other tweaks can I do to make it as fast as possible? [link] [comments] |
How to save hierarchical in object and how to add to it? [JS] Posted: 09 Nov 2018 02:18 PM PST I'm working on an app that has the concept of hierarchical groups. They can be nested as far down as desired. For example: How would I write a function (in JS) that accepts the key of the parent group it should be nested under and programmatically finds it within the object of unknown depth? [link] [comments] |
Do developers put in phone home features just in case? Posted: 09 Nov 2018 06:18 AM PST I've heard the developer advice of hosting things on your own servers and so on until you're paid, but that's for projects you've been asked to develop. I just got a popup message asking for a donation, in a program I downloaded a year ago. No installer required, no obvious internet features, no messages until today. Is it likely that the the program has been calling home every so often all this time, just waiting for the dev to give it something to do? [link] [comments] |
Force close a program that's not responding? Posted: 09 Nov 2018 11:00 AM PST I'm really not a good programer, and I honestly don't know where I would start. I'm trying to find a way to force close a non responsive program without opening task manager. Someone pointed me in the direction of Powershell but I have no idea how to get started. Any help would be appreciated [link] [comments] |
Posted: 09 Nov 2018 07:11 PM PST Similar to Rock-Paper-Scissors, Matching-Pennies and Odds-and-Evens game, but amplified by many games happening per second depending on peoples reaction times. This is partially my desire to play the bitcoin vs dollars trading market again (in which I made about 500 trades), which I nearly broke even on, but it was fun all along the way. To my surprise, it seemed there was a mind working against me, the mind of the economy, and I couldnt get enough of this amazing experience. It seemed not too far unlike dancing, that my every movement in the economy was countered, or that I had preemptively anticipated its being countered, and they moved in some kind of logical way that depended how hard or weakly I was thinking at it at the time. Id like to bring an experience like that to no-risk gaming. The fun of it would be as you move your mouse Y dimension, about half the time you'd see the screen zoom in or zoom out more or less depending how much, on a log scale, you'd won in the simulated prediction market. It would appear mostly random on a small scale, but thinking slower and more longterm, maybe over seconds instead of feeling like a shooting game (unlike bitcoin where you'd want to move even slower than that), you'd want to move slower since movement is penalized, but fast movement in some cases wins you more. All simulated not connected in any way to real money, just for fun. But how could it be made real enough, generated from such thousands (or to start with just a few) of people playing such system together. Independent of making or losing money, I know from experience, that there is fun to this process. There is something about the math of it, and I know as a math and AI researcher, we should explore together. Lets play variations of this and see what happens. [link] [comments] |
Shopping App Tying in w/ Amazon and Walmart? How to handle checkout? Posted: 09 Nov 2018 04:45 PM PST I am looking to build an app similar to http://monahq.com - but my question is how do they handle checkout on a third party app? e.g. if I want to offer products from Amazon or Walmart, how would I handle checkout on my app? Would I need to have an agreement with those vendors and have them use myAPI? Or is there an easier way? [link] [comments] |
Posted: 09 Nov 2018 03:58 PM PST As self-taught Python/Django Javascript/ReactJS dev who has built a few apps, I feel very isolated, and would love to collab/network. Eastern Iowa isn't quite like the coast, or even Kansas City / Des Moines. Meetup.com doesn't have anything in the area either. I'd seriously consider starting something, but not looking to make event planning a new side project. Curious if there's anything low-key that's been useful to you, and what advice/suggestions you might have on cultivating a local dev community? [link] [comments] |
What are the prerequisites to learning CLR? Posted: 09 Nov 2018 03:21 PM PST |
Simple Python question regarding list printing Posted: 09 Nov 2018 02:39 PM PST Let's say I need to print X numbers, in this case let's set X to 15. But I need those numbers to be from 1 to 9 range so the end result ends up looking like this: 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 [link] [comments] |
SQL Trigger Not Running in MAMP Posted: 09 Nov 2018 02:38 PM PST Please help! The following SQL syntax will not run in MAMP. delimiter// create trigger checkage BEFORE INSERT ON students FOR EACH ROW IF NEW.age < 0 THEN SET NEW.age = 0;END IF// delimeter; Creating the table worked fine with create table students (age INT, first_name varchar(25), last_name varchar(25)); But above trigger syntax is not good. Error that is displayed says: ErrorStatic analysis: 1 errors were found during analysis.
SQL query: delimeter // CREATE TRIGGER checkage BEFORE INSERT ON students FOR EACH ROW IF NEW.age < 0 THEN SET NEW.age = 0 MySQL said: 📷 CREATE TRIGGER checkage BEFORE INSERT ON students FOR EACH ROW IF ' at line 1 [link] [comments] |
Posted: 09 Nov 2018 02:36 PM PST I'm working on a school assignment that involves knitting the code to word to submit. This section of code knits normally: because I load the data I need for that section. The next part of my assignment has me analyze data taken from another program in the form of an excel file. Here is the code of that part: The problem is, I don't know how to load the data from excel so I can knit the code. I can run that code fine, but when I try to knit, it needs the "download.file." How can I load the excel data so I can knit to pdf? I've been looking for hours and can't figure out this simple task. [link] [comments] |
how can i make this code work faster Posted: 09 Nov 2018 10:21 AM PST I am new to programing and so far i am loving it. so recently i came across projecteuler.com and thought it would be nice to practice my skills there but i soon got stuck on third question. i solved the question but the input provided was a lot for my pc to handle i know there are ways to make it go faster but i am not sure how to implement them, any input would help how should i approach such questions in future to make my codes efficient The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? ''' x = 600851475143 llist = [] def prime(i): if i % x == 0: ''' print(str(i)+" is not prime") ''' print(i) return True for a in range(1, x+1): print(a)mod = x % a if mod == 0: if a != 1: q = prime(a) print(x)print(max(llist)) [link] [comments] |
Is it possible to make the algorithm of a social media account “unlearn” me? Posted: 09 Nov 2018 12:20 AM PST I'm sorry for any mistakes, I'm totally an outsider from the comp sci world. I was wondering, as we like, interact, share and post stuff, social media starts to target content based on our activity, right? If I undo all those actions (wipe everything, unlike all posts etc) but still use the same profile, will the algorithm unlearn me? [link] [comments] |
Posted: 09 Nov 2018 12:29 PM PST Rather is it likely. Anything is possible i suppose. And with good experience, could i apply jobs that require bachelors or even masters degree and be taken seriously? [link] [comments] |
I’m missing some steps in my plan. Please help me fill in the gaps. Posted: 09 Nov 2018 11:53 AM PST I have a database I'm building that I want to use in a web application (progressive web app?) but as a hobbyist I've had some gaps in my education so I don't know the best way to proceed. The database only needs to be read. If I had to, I could turn it into hard coded objects in whatever language but something I want to practice is building APIs that interact with it. I've built it in MSSMS. I want to build a "front end" that displays my queries as I click on them. For example, if I click "inventory" on my menu it will display a prettified result set of the data selected. The thing I don't know how to do is put the database online and connect to it in my app. I am just missing that one step of understanding. It seems like I need a server to host it so I can query it but I don't feel like my DB is large enough for me to need that and I'm only going to be running GETS on it. Is there a way to build an API that reads from a file that looks like a database? I know this isn't very clear. I'll be glad to clear up any questions you may have. [link] [comments] |
Just botched my first whiteboard interview. Posted: 09 Nov 2018 11:28 AM PST Like the title says, I just screwed up bad. I don't do well under pressure and I was being watched by two people. My mouth ran dry, heart pounding and my brain just wasn't working.. I feel like such an idiot. I was slow. I'm doing pretty good in school but I don't know how I'll ever handle another whiteboard interview. I just freeze.. Anyone else experience this? [link] [comments] |
Batch to copy the latest file from subdirectories Posted: 09 Nov 2018 10:59 AM PST Hello all! I'm new to batch scripts and I'm having trouble creating a code that can scan through all subdirectories, copy the latest file, and specifically rename it. Currently I have something that can copy the latest file from one directory and rename it, but it can't see any subdirectories.
Any help would be appreciated! Thank you! [link] [comments] |
Posted: 09 Nov 2018 02:05 PM PST Alright I won't say exactly what it does due to competition but it is very similar to an auction sniper, but probably more advanced. The bot would have to do something very fast when available, similar to an auction sniper. Let's say it needs to ''grab'' something as fast as possible when it becomes available. Competition is there with tools/bots of their own, so really, the emphasis is strongly on speed. It doesn't need to have 100% success rate but it needs to be able to compete. If you are a good programmer and you think you could do something like this, message me and I will explain what I need in full detail. EDIT: For money, of course. [link] [comments] |
I need help understanding a bit of code (C) Posted: 09 Nov 2018 08:42 AM PST
[link] [comments] |
How to handle a tyrannical boss? Posted: 09 Nov 2018 08:38 AM PST I've been stressing for the last week over my boss. He is very neurotic and disagreeable. He recently confided that is very depressed, anxious and is not sure whether he will be around. His life has been full of drama as he was raised with no father, no education, he was previously paralysed for a few months in hospital because of disease and I can feel his emotional pain. He thinks very bad about his (western) country, about people in general and about the team members. 80% of the time he's great, but 20% of the time he's quite nasty. Talking bad about all his team members. Sometimes he is quite verbally abusive with 1 team member. I do like the team, the people and the work is great. I'd be very happy if he would just have a different position and not be my boss. He's a very talented tech, obviously has an IQ of 130-140, I do learn lots of technical stuff from him, but he's not as great as a manager as he is a tech. I was the only one at work at Monday and I had to help a few colleagues. As we are being micro-managed, we had to promise not to spend 15+ minutes to help colleagues. All other work had to go through him to be planned by him as he has many times told us that he's upset with our team's performance. I was communicating with the team about a reported issue of a developer, I've been helping for 10 minutes and he pm'ed me this message:
One other team member has been fired recently, he was quite unmotivated, but also had issues with his boss. Another team member reported the boss this week to HR and his boss, but they are thinking of letting him go because of poor performance as well. I am somewhat neurotic myself I think as I obsess sometimes over some things. My career has always been a big part of my life, so that's partially why. I've been successful, but regularly moved between jobs because I didn't like my current job anymore. I do enjoy this job, where I work as a contractor, but I have a hard time trusting my boss as he's shown to be quite emotionally unstable, abrasive and a repeat offender. My contract is ending at 26 December and might get extended. At this moment I'd like some tips in handling this. I'm meditating regularly, eating fairly healthily and doing sports 3x per week. I feel partially this obsessing is an excuse to feel bad and I shouldn't make things bigger than they are. However the atmosphere in the team has been bad and it could be good to get tips from more independent people. At my last job there was also a person that I had negative feelings towards. He was a "Dungeon Keeper"-programmer that didn't do any documentation, writing tests, deploying to test/dev before prod, communication to team members and team meetings. That person I felt was very abrasive, domineering and disagreeable too, although not neurotic. So I'm a bit worried about my own role in this, as previously I've never had many negative feelings towards colleagues before and now I'm quite sensitive to atmosphere in the team. [link] [comments] |
Posted: 09 Nov 2018 02:32 PM PST |
Anyone taken a python (or similar language) IKM assessment? Posted: 09 Nov 2018 07:57 AM PST I've been asked by a recruiting company to take an IKM assessment. I'm totally unsure what to expect. The instructions in the assessment invite email are very vague. Anyone have experience with them? Is it multiple choice or actually code focused? [link] [comments] |
What's the difference between C, C++ and C#? Posted: 09 Nov 2018 03:34 AM PST |
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