Why is Facebook Messenger seemingly the only app that "overlays" over the rest of your phone and why are we okay with this? Ask Programming |
- Why is Facebook Messenger seemingly the only app that "overlays" over the rest of your phone and why are we okay with this?
- What is the relationship between synchronous/asynchronous and procedural/parallel programming?
- junit testing help
- Is there any difference between using terminal from "terminal" or from using it at "VSCode?"
- How do I submit an application to the App Store?
- Is there a performance difference using back ticks vs. quotes in JavaScript, and, if there is, is the performance difference negligible?
- Feasibility of a project
- I want to learn by working on real life projects. Where do I start?
- Tracking employee attendance without hardware
- Is Lambda basically just an anonymous function that is defined and invoked on the fly?
- Stuck with writing unit tests for a specific kind of function
- Beginner Question: How do I change my terminal name?
- MapReduce implementation in a non-parallel way?
- MySQL JSON field order random, any way to order this?
- Emergency C++ help needed (novice)
- Do you have a hacky way to "smart sort" lines?
- How people create web shops?
- Free cloud VM without credit card?
- My Javascript professor tells me that array.length is an "object function". I tell him it's some kind of readable value because arrays are objects, and generally, invoking "functions" requires a "()", and reading object variables doesn't. Who is right?
Posted: 29 Nov 2019 03:08 PM PST Not sure of the best subreddit, but I am a developer and I'm curious. Sorry if "overlays" isn't the programmatic term. I don't do any app development, but you guys get what I mean. Is there a technical reason that this is done and if not, why don't I hear more people bitch about it? Am I the only one it annoys? [link] [comments] |
What is the relationship between synchronous/asynchronous and procedural/parallel programming? Posted: 29 Nov 2019 08:01 PM PST For some reason, until this evening, I believed that synchronous and procedural were interchangeable as were asnyc/parallel when it comes to programming, but Wikipedia has me questioning this notion. Is it merely that asynchronous code lends itself to parallel programming more easily than synchronous code? Or am I misunderstanding the terms? [link] [comments] |
Posted: 29 Nov 2019 09:16 PM PST I need to write some junit tests and I am pretty confused. I have a method that prints from an array list, and then prints something else from a different array list. I am pretty confused as I never really used junit before. Any help would be much appreciated! I have some psuedocode for reference below. void team(Group a) { [link] [comments] |
Is there any difference between using terminal from "terminal" or from using it at "VSCode?" Posted: 29 Nov 2019 08:49 PM PST |
How do I submit an application to the App Store? Posted: 29 Nov 2019 08:40 PM PST Can I submit an application to the app store or google play if the script is written in python. For the App Store I keep finding that the App Store wants the program to be written in Swift but other sources suggest the App Store and google play want applications written in Java. Which one is it? [link] [comments] |
Posted: 29 Nov 2019 08:02 PM PST Apparently, back ticks get compiled slower than quote notation for identifying strings in JavaScript. Is this true? If so, is the speed difference even worth considering (i.e. negligible)? [link] [comments] |
Posted: 29 Nov 2019 07:16 PM PST Howdy y'all, I'm preparing for a project and I need your help. For my final grade, I am completing a project where it has to fix a problem in our community. I've decided to work with a teacher to create an educational game that teaches freshman about the July Crisis in WW1. It will be a simple text based game but the key is that it will have some server and multiplayer aspects. The player will work with a team (other countries) and the players decisions will determine the course of the game. I am struggling with understanding whether or not this is possible. Specifically, the server generation and communication. Is it possible to set up a game that selects one of the players as a server/ player and connects the rest of the players to that server so that it can handle the logic and what to serve to the other players? I cannot use a dedicated third party server (Blue host, a2 hosting etc) and I need the server to be one of the computers on the network. It needs to also be able to be used over any network that all of the computers are connected to. Is there some kind of system where I can ping over my LAN and have all the clients respond? If y'all could give me some terms to research or even just tell me if it is reasonable to work on that would be great. Thanks! [link] [comments] |
I want to learn by working on real life projects. Where do I start? Posted: 29 Nov 2019 01:02 AM PST Hey all, I've been studying programming at an institute for a few years now but I've only really written scripts/code for academic purposes. I want to start writing code which gives me real life experience and is actually used in the real world. Obviously I would like to use this as a way of also earning a little bit more money to spend in the future as being a student doesn't exactly put me in the most favourable financial position. My preferred languages would be C, C++, C#, Rust and Python. I'm very open to learning new things as I go along. I've been looking around on github for open source projects I can contribute to but so many of them don't seem very beginner-friendly. Is there any tips/advice for where I can start? Edit: Am I approaching this the wrong way? Do I just code stuff that I want to code, even if it's not practical and hope that that teaches me what I need to know? How do I even know what I need to learn in the first place if I don't know what I don't know? [link] [comments] |
Tracking employee attendance without hardware Posted: 29 Nov 2019 06:14 PM PST I have to develop an employee attendance system. Initially the system doesn't have any finger print or other attendance management hardware. An admin user will enter the information manually to the system. There are 2 shifts in the work place. Employee can work in at most 1 shift. Other extra hours can be measured as over time hours. Half days and leaves of a system user has to be measured too. I'm having trouble to design the user interface and database design. Could you please help by directing me to a solution path [link] [comments] |
Is Lambda basically just an anonymous function that is defined and invoked on the fly? Posted: 29 Nov 2019 06:07 PM PST Classical functions in programming are declared to a variable name. For example: This saves them in memory and, thus, allows them to be invoked in other parts of one's program. Now, I've heard of the term "Lambda" in the past but didn't really know what it meant (idk if it's a normal thing to learn in computer science during university, but I'm self-taught, which is why I didn't hear of it until recently). Upon looking it up, apparently, "Lambda" is just a fancy and more technical way of referring to "anonymous functions". Is that correct? To be doubly sure of this, would a callback in, say, a Example: [link] [comments] |
Stuck with writing unit tests for a specific kind of function Posted: 29 Nov 2019 10:33 AM PST I'm having trouble understanding how to write tests for a certain kind of function. Maybe someone can give me some advice?
The problem is: How do I write tests for these? For instance, the "resample" turns a gesture G with some arbitrary number of points into a gesture with the same shape, but with N points. So, I could write a test like EnsureResultHasNPoints(), but that doesn't guarantee that the gesture has the same shape. I could manually write some examples, (for instance, I could manually calculate what I expect for some trial shapes and ensure the result matches exactly). But, then I'm highly limited in my test cases, as I would have to do that for any N that I wanted to test against and for a variety of sample gestures. I could write code to automatically produce some results, but then I'm implementing Resample() before I have any tests complete and I'm begging the question (of course the function I write is going to pass the tests, the function generated the test solutions!) So I'm a bit stuck about how to do any kind of TDD for these kinds of functions. [link] [comments] |
Beginner Question: How do I change my terminal name? Posted: 29 Nov 2019 05:20 PM PST It currently says: I would like it to say: [link] [comments] |
MapReduce implementation in a non-parallel way? Posted: 29 Nov 2019 05:09 PM PST Hello, i am taking a distributed computing course, and one of the assignments ask for a non-parallel implementation of a map reduce, if someone can guide me to resources of such implementation it would be really helpful. [link] [comments] |
MySQL JSON field order random, any way to order this? Posted: 29 Nov 2019 01:08 PM PST When I import my JSON file with the wizard, my field of arrays is not the same, example In mysql gets converted to Whyyyyyy [link] [comments] |
Emergency C++ help needed (novice) Posted: 29 Nov 2019 12:23 PM PST Hi guys, I'm new to the subreddit so sorry if I get some things wrong. I found my way here because I don't really know where else to go for help. I'm a physics student and we have a group programming assignment due in 4 hours. We have had maybe 4 two hour classes on C++ covering 'hello world' to while loops and for loops minimally. The assignment gives a data file that is gives Z A atomic mass with 3000 lines. The aim is to memorise one of the atomic mass (a float) values if I input A and Z (integers ) . I have managed to have the program ask for A and Z values, read the file, store each line as an array A[i] Z[i] AM[i]. I just have no idea how to have it store the atomic mass value for a given A and Z. Thanks [link] [comments] |
Do you have a hacky way to "smart sort" lines? Posted: 29 Nov 2019 06:16 AM PST There are some times I want to sort lines alphabetically, but I can't do that because would break if it spread in more than one line. Some times it is some JSON object, object properties, some const declarations, graphql queries. There is smart and context aware features for so many things, but is there some for sorting? Do you have an hacky global way of doing this? Do you miss this too? really small example of what i'm talking about on a graphql query: if I sort lines it obviously wouldn't work as expected. [link] [comments] |
Posted: 29 Nov 2019 06:33 AM PST When my uncle asked me if I can do a web shop for his business I was scared. I don't really understand how you secure the process of buying stuff. Or how to that thing where you put your credit card info and just proceed to purchase. Can you tell me about e-commerce? What should I look for? [link] [comments] |
Free cloud VM without credit card? Posted: 29 Nov 2019 08:06 AM PST I am a student. There are few well known cloud service providers eg AWS, Google, Azure have very good free tiers. But they all require a credit card to start with. I don't want all cloud stuff. I would preferably have some development environment / VM to experiment with. And also to SSH into from phone when laptop is away. I am okay with it pausing after certain inactive time and so on (I am not going to run servers though that would be nice if I need to..) Are there any options? [link] [comments] |
Posted: 29 Nov 2019 09:06 AM PST Putting aside the fact that he tried to make us write arrays with "new Array", instead of "[ ]" like a normal human bean, all without ever teaching us what objects or cunstructors are, he was also very specific with telling us that ".length" is a "function". I'm like: "bro, how is it a function if it doesn't have the () to invoke it? Isn't it a stationary value that is a part of the object, that got constructed by default and updates itself whenever you add new stuff to it?". And he was like: "yea, it's a function". So I'm like "yea, ok", while thinking to myself that he has no idea what he is talking about? Can you settle this and tell me who is right? [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