What would you ask someone to test basic programming understanding? Ask Programming |
- What would you ask someone to test basic programming understanding?
- Programming Languages That Are Used to Create Games and Apps
- What language to use for project
- c++ code output question
- The EventHandler Pattern
- .JAR Program & Included Libraries Issue
- How do you keep your computer from crashing due to programming? What are Best Practices for Maintaining a Personal Computer that is used for programming?
- Instagram anonymous story viewers
- How to run a Python Project (downloaded from Github) PYTHON DJANGO
- How to build a dll with g++ (main file is written in c++, but it falls back on CUDA)
- User survey feedback api for flutter.
- I don't think I want to be a developer, but I think I need to know it. What should I study?
- I'd like to hear about everyone's programming journey- to become a webdev, or iOS dev?
- How complicated would it be to write a bot that creates tiktok accounts and posts from a pool of source videos?
- [C; Linux; audio - Alsa] How to get current playback device?
- Can someone correct my c code pls
- My planned features always feel derailed
- Data driven SSG
- C# Basics question
- Starting
- Backend for data driven SaaS product
- Can someone help me develop this collab notebook?
What would you ask someone to test basic programming understanding? Posted: 19 Apr 2021 06:32 AM PDT |
Programming Languages That Are Used to Create Games and Apps Posted: 19 Apr 2021 10:09 PM PDT C++ The C++ programming language was initially called "C with classes." It was made to take present-day principles, similar to object-directed PC programming, and join it with the low-level highlights seen by languages like C. In this manner, it would permit users to more effectively make their projects with clarity, while not losing advanced factors like memory management. Given its universally applicable nature, C++ has, for what it's worth, become perhaps the most generally utilized programming language, having applications for programming and – just like the subject of this article – games. Truth be told, numerous advanced engines, like Unreal Engine, are based on the language, so figuring out how to code C++ is viewed as key by numerous expert designers. Of the programming languages, at that point, this can be viewed as quite possibly the most ordinarily utilized as a rule. Pros
Cons
JavaScript JavaScript is ordinarily known as one of the central pillars of web development. It was created in 1995 and was intended to suit the new ECMAScript specifications that were aiming to normalize the web and internet browsers. While HTML educates web designs and CSS illuminates web arts, JavaScript is the natural PC programming language that revives sites, adding most measures of intelligence you see on an everyday premise. However, with the rise of HTML5, JavaScript has likewise become the center mainstay of HTML5 game development as far as programming languages. As it was initially planned with both object-directed and event driven frameworks for web client interaction, this created it the ideal decision to reach out for games. Furthermore, with Flash currently being out of date, it additionally cleared a path for such HTML5 games to ascend and turn into the pillar of program based game development. Pros
Cons
C# C# is a universally useful programming language made in 2000 by Microsoft with the particular goal of working with their .NET structure. Given the notoriety of C++ and Java, it was intended to take the best of both programming languages and join it into another simple to-analyze, object-directed programming language that had extraordinary cross-stage capacities. Nonetheless, it likewise had remembered organizations, and so it very well may be effectively utilized for programming development. Concerning games, C# likewise tracked down a home in the industry because of its overall productivity and versatility. Specifically, it turned into the default programming language for the mainstream Unity engine, with all advanced Unity libraries being worked around the language. Given Unity is utilized for a huge level of the game industry, this has given it a tight hold in such a manner. Pros
Cons
Java Made in 1995, Java is an object-directed programming language made for general PC programming. The design standard behind the language was to have it need the least conditions as possible – particularly contrasted with other programming languages at that point and even today. In this manner, this implied that projects made with Java could undoubtedly run on various systems as they weren't as reliant on the hidden PC architecture. Given this cross-stage nature, someone mainly utilized Java for application development. In any case, in the domain of games, it additionally finds a spot. Even though not as widely utilized as other programming languages on this rundown, a lot of desktop games are made with Java. What's more, as the top programming language for Android devices, Java is regularly utilized by various designers for mobile games and applications. Pros
Cons
Swift With regards to mobile application development, Swift is a programming language that is not normal for some. Delivered by Apple Inc. in 2014, it's the essential programming language utilized for iOS mobile application advancement. In any case, Swift isn't selective to Apple—it's slowly advancing toward Linux too. What's incredible about this programming language is that it's open-source and easy to deal with. Here are some more reasons why you ought to think about Swift when building up a mobile application: It's less difficult to analyze—it disposes of the requirement for inheritance conventions.
Java Java is quite possibly the most mainstream programming language out there for mobile application development and is utilized by various mobile application development companies. Android OS, which is a popular utilized operating system, is written in Java; thus, on the off chance that an application engineer is knowledgeable with Java, they'll have the option to make a wide range of Android applications. Other than Android applications, engineers acquainted with Java can create games, embedded space, sites, server applications, and that's only the tip of the iceberg. In addition, Java can either be run in a program window or in a virtual machine that doesn't need a program. This is the reason it's an amazingly adaptable programming language as far as reusing code. Here are a portion of the critical highlights of Java that help make mobile application development a lot more straightforward:
Python The creation of practically any sort of mobile application should be possible with Python. Utilized by a host mobile application development service, it's one of the more complex programming dialects out there but is also at the same time quite possibly the most mainstream. Even though it's viewed as a higher level of coding and powerful, it's straightforward to analyze and truly simple to learn. Considering how amazing Python is? Indeed, a portion of the world's most renowned applications and sites have been made with it. A portion of these incorporate Dropbox, Instagram, Quora, Spotify, YouTube, and BitTorrent. So, Python is a helpful programming language that has incredible potential regarding mobile application advancement. Here's the reason:
PHP PHP or Hypertext Preprocessor is an open-source programming language that is additionally server-side. Although created back in 1995, PHP is still broadly utilized today. It's mainly utilized to create sites that are dynamic. Be that as it may, alongside PHAP, designers can make entire iOS, Androids just as Windows applications. Also, Facebook applications, web-based business sites, WordPress, and Joomla modules, would all be able to be made in PHP. Here are a few reasons why PHP is really extraordinary for mobile application improvement:
Ruby Did you realize that you just need 10 minutes to make an application on Ruby? Pretty remarkable, isn't that so? It's the reason to why mobile application advancement services wherever love this programming language. Moreover, Ruby is one of the quickest developing ones out there, as it can uphold a large number of stages. Be that as it may, with regards to mobile application advancement, making an application on Ruby requires the use of structures like RubyMotion and Rhodes. By benefiting the services of both of these systems, an engineer can create applications for many platforms, like Android, Windows, iOS, just as OS X. Numerous mainstream sites have been coded on Ruby. These incorporate Basecamp, Airbnb, Pixlr, Bloomberg, and that's just the beginning. Considering what makes Ruby so special? Here are a portion of its exceptional highlights:
HTML5 Need to make a web-fronted application for mobiles? HTML5 is your smartest choice. Even though it's a proposed standard, its mobile application development services discover this programming language to be really helpful. This is because HTML5 permits engineers to handily embed an assortment of data types, just as it considers distinctive screen sizes, levels the program playing field, and explains input boundaries. Additionally, HTML5 gives mobile application engineers the upside of building applications on the current form of HTML. This makes coding more straightforward, as engineers don't need to get familiar with an entirely different language, which makes mobile application development on HTML5 a lot faster, and more helpful. Did you realize that Google Drive is coded in HTML5? All things considered, it's only one among hundreds. What follows, two or three advantages that HTML5 brings to the table:
C++ C++ is fundamentally an extension of C and is an object-directed programming language. C++ may sound old-fashioned; however, there's yet a large interest for it. It's a lovely amazing programming language that is utilized for mobile application development. As it permits designers to make applications across an assortment of platforms, it has always remained a mainstream language. Also, it accompanies a merged troubleshooting experience. This considers the production of flashy applications for a scope of operating systems like Android, iOS, and Windows. That is not all—probably the most notable games, applications, and programs have been made utilizing C++.These incorporate World of Warcraft, Google Chrome, PayPal, Photoshop, and Amazon. Following, a few reasons why you ought to consider this advantageous programming language with regards to mobile application development:
Disclosure: This is not an affiliate review, and the answer is intended to inform. I am not affiliated with the products being reviewed, receiving monetary compensation, or another reward for posting. [link] [comments] |
What language to use for project Posted: 19 Apr 2021 07:51 PM PDT Hello, I am working on a project that deals with timing runners during a race. The basic idea is this:
I want to know what language would be the best to use here. Remember it will be on a raspberry pi, specifically a raspberry pi zero. I also want to expand the usefulness of the information down the road, such as average times, etc. Sorry if this was confusing, just ask if you have any questions. [link] [comments] |
Posted: 19 Apr 2021 06:47 PM PDT So I'm kind of confused by the return 3+ fix(y+4) https://i.imgur.com/y4tfMEx.png so the first one is: return 3 + fix(0+4); then here I get confused, is that = 7? Then you run it again so it's return 3 + fix(7+4) = answer 14? Any help appreciated! Thanks [link] [comments] |
Posted: 19 Apr 2021 06:20 PM PDT The Problem I've been trying to do some ecosystem simulations, comparable to the one in this video but with more complexity. Trying to model a full food chain ecosystem that can also evolve over time. One interesting thing about biological models is that you quickly realize traditional OOP class hierarchy is not suited for the task. Biology is full of edge cases, all assumptions you make come back to bite you later. For example, let's say you make some assumptions about how plants work, but then you find these and you end up re-writing the entire class hierarchy.
The Solution? I think this paper: FOREST: A System for Developing and Evaluating Ecosystem Simulation Models may be a solution here. Below I'll summarize some of the key points but I highly recommend reading at least the latter portion of the paper: Since traditional class hierarchy doesn't seem to work, we need to use some fancy design patterns. One popular pattern that may be applicable for this may be the Visitor Pattern. It makes it easier to add new behaviors to existing classes. The problem with the Visitor Pattern is that it is still complicated to add new classes into the hierarchy since each visitor class must be modified to visit the new class. For example, if we wanted to add the class So instead we can use the EventHandler Pattern. Once the initial EventHandler setup is complete, adding new entities and behaviors seems easy. For example, make a new At first I had a really hard time picturing how this would work, and it was only when I saw a code example that it started to make some sense.
My Questions 1) Validity of this pattern: I'm a bit out-of-the-loop when it comes to design patterns. Needless to say, I have never heard of the EventHandler Pattern. Is it not very popular? It seems quite powerful, but considering this came out in 2003 I would expect this to be quite popular by now. Does many Really looking for any experiences anyone has had when using this EventHandler (or even Visitor) Patterns in large-scale systems. 2) Client-Server behavior: I'd also like to eventually host this such that we can scale many client-side simulation events to be sent to a server, that acts as a source-of-truth. For example, an Animal cannot eat() a Plant and affect the Plants health directly. Rather, the Animal sends the eat() event to the server, and the server sends an event to the Plant client. How does this kind of design pattern hold up under this scenario? The may work around some of the limitations of this pattern:
Am I understanding this limitation correctly? Using a server to hold all the permanant state would seem to act as the mediating environment here. I'd love some feedback on this idea in particular. 3) Other suggestions: It seems unlikely that I stumbled upon the exact solution to my problem. Surely other scenarios come up where you need a very fluid class hierarchy that needs to accommodate edge cases. Are there other patterns I should also be looking at? With so much time to improve this design from 2003, maybe there are some improvements that were made to this kind of original design that I should also be thinking about, so please let me know if you are aware of any.
In my "big projects" I neglected to optimize the polymorphism before starting, which led to many refactors and a bad experience with OOP. Trying to optimize this before I get too deep. Thanks so much for your help! [link] [comments] |
.JAR Program & Included Libraries Issue Posted: 19 Apr 2021 09:28 PM PDT Hello all, I downloaded a .JAR application that many others have downloaded and reported to work fine, when I run the program everything appears to work but I get no data in my console.. it's a program that's suppose to listen to my serial ports and work with my Arduino UNO to properly and accurately update the time on a DS3231 breakout module. After some investigation, using CMD to run the application, when the console is finally reached after some options/settings, the CMD states that their is a linkage error as follows:
I've already confirmed that the DLL files are included within the JAR.. Updated JRE, Updated JDK, Added the two DLL's to programfiles\java\jdkx.x.x.\bin.. the Comm JAR i got that and added it too.. any ideas on how to fix this..? [link] [comments] |
Posted: 19 Apr 2021 02:40 PM PDT I was using Rstudio to complete a take home assignment for a potential job. My personal laptop is only 4 yrs but I had to keep restarting it. It was highly problematic. I lost my code even though I saved it as when I reopened the script it was empty. I found it in my AppData folder under a different name and as a txt file but when I copied the code into an R script, it wouldn't save and the file would reopen as blank. I looked into getting something just for coding but it's costly and I can't afford it. I think I might need a professional to look at my computer but what can I do to help improve my personal laptop's performance while coding? I was using RStudio from Anaconda whereas normally I just use RStudio without opening Anaconda. Is Anaconda the culprit? I have used Python (from Anaconda and on its own) and SQL in the past. What do you do to help your computer be in good shape? I want to minimize and prevent unnecessary crashes while programming. Is this possible? I don't expect my computer to never crash but I certainly want it to do so less. It was quite stressful and time consuming to restart as was quite slow. I have a Dell Inspiron 15 5000 64-bit laptop. I bought it in September 2015. Not sure if the specs link will help but here it is: [link] [comments] |
Instagram anonymous story viewers Posted: 19 Apr 2021 08:33 PM PDT Do anonymous story viewers (like instadp) sites keep Instagram stories? They claim they don't host Instagram content but if you watch a story using the site and the story is immediately deleted on Instagram the story can still be seen on the site for several hours. Is this possible? I don't understand anything about programming so I would be really glad if someone could help me out. If they are keeping deleted stories available, even if just temporarily, I don't want to use these kind of websites anymore. [link] [comments] |
How to run a Python Project (downloaded from Github) PYTHON DJANGO Posted: 19 Apr 2021 07:51 PM PDT Hi, so I've downloaded this project from Github and to run this project it says to extract the project folder which I've done, but I dont know what else to do to run this project. Following instructions after extracting the folder are.. Move to project folder in Terminal. Then run following Commands: python -m pip install -r requirements. txt py manage.py makemigrations py manage.py migrate py manage.py runserver Lastly it says to enter this URL http://127.0.0.1:8000/ Found the project on github.com/sumitkumar1503/bloodbankmanagement Can anyone help me run this project please? [link] [comments] |
How to build a dll with g++ (main file is written in c++, but it falls back on CUDA) Posted: 19 Apr 2021 01:11 PM PDT I want to build a dll with g++, it will be builded for java jni and it will fall back on CUDA. What does this error mean, I compiled all the src code without errors? Do I need to include something, and how? I'm sorry if this is a stupid question. I'm new to g++ and dlls. [link] [comments] |
User survey feedback api for flutter. Posted: 19 Apr 2021 03:14 PM PDT I am developing a flutter app, that now has the requirement to offer the user to submit user feedback. Currently the app has no requirement for a backend or user auth, so it does not have any dependencies of backend solutions like firebase. To implement this though, the best option forward seems to be a firestore db to store the data. Does anyone know of any even simpler solutions that might work for flutter? For example, there is this product , but it does not support flutter. Thanks for any thoughts you can provide! [link] [comments] |
I don't think I want to be a developer, but I think I need to know it. What should I study? Posted: 19 Apr 2021 12:47 PM PDT Hi, I've been working in sales for 3 years now and absolutely hate it. My background is in engineering and I miss technical work and working with technical people. I don't think I'm smart enough to be in a purely technical role, and as much as I hate sales, I am pretty good at it. I've narrowed down my ideal roles to:
Although those roles don't always need a deep technical background, and I have the backing of a B.Eng, Toronto is so competitive that you're going up against people with a lot more technical experience. I'm considering doing a boot camp or do self-learning this summer but not sure on what. I know I want to work for an enterprise company and not a consumer-facing one. I have 3 months of doing nothing this summer and deciding on how to spend my summer. Would appreciate advice on where I should look to focus my attention. I have a bit of web dev / Ruby experience and also C++ doing ROS robotics. Open to anything that would help me land one of the above-mentioned jobs. Thanks. [link] [comments] |
I'd like to hear about everyone's programming journey- to become a webdev, or iOS dev? Posted: 19 Apr 2021 11:29 AM PDT I have beginner's knowledge in iOS, so naturally I'm leaning towards that. If you're an iOS developer, how hard was it for you to find a job? Same for those who are webdevs? Do you like your job and where you work? What's that like? I'd personally prefer to work remote. Also, any bootcamp recommendations? I did Lambda briefly but it was really unorganized and didn't work with my current work schedule. Now that I work from home, I probably could go back to Lambda since I don't have to wake up at 5am anymore. *Just looking for advice, general input, and I'd love to hear about everyone's programming journey. Thanks a million! [link] [comments] |
Posted: 19 Apr 2021 02:11 PM PDT Not got very much coding experience but interested in using this for promotional stuff. [link] [comments] |
[C; Linux; audio - Alsa] How to get current playback device? Posted: 19 Apr 2021 09:29 AM PDT Previously on this subreddit I asked about how to use C to detecting muting. With someone's help, I managed to do that. (Working code is here.) I should like to know now how to detect which output (a.k.a. playback) device is selected - is it the speakers or is it the headphones? This bashism does the job: 1 I suppose that if I did that and/but (re)implemented the grep in C then that would be something - and perhaps I know how do do that already. However: really, though, I want to use the Alsa C apis. [link] [comments] |
Can someone correct my c code pls Posted: 19 Apr 2021 12:53 PM PDT i was given an assignment but dont know what were the mistakes in my code the assignment was to implement string functions corresponding to strcpy() mystrcpy (char str1[] char str2[]) str1 = str2 #include<stdio.h> int main() { char str1[100] ,str2[100]; gets(str2); mystrcpy(str1,str2); puts(str1); return 0; } void mystrcpy(char *s1, char *s2) { int i=0; while ( *(s2+i) != 0) { *(s1+i *(s2+i); i++; } *(s1+i *(s2+i); // copying null } [link] [comments] |
My planned features always feel derailed Posted: 19 Apr 2021 08:48 AM PDT I'm curious how other people feel about their workflow and if it is something you tackled and managed to solve. My problem is basically this. Every time I start off with implementing a new feature, I get a business understanding of the problem, make a design of how this should be implemented and start programming afterwards. The problem that I face however is that along the way in implementing, the initial business kind of fades away as I get more focused on the implementation, till I reach a point where what I'm programming feels not too connected to the initial problem. At this point I have to take a step back and reevaluate if what I'm doing is on track or not. This process to me feels pretty time consuming, time where I could be much more productive if I have a clear plan from the beginning, however getting every detail out of the way doesn't seem possible. Any experiences/suggestions for how you go about from idea to implementation? What are your guy's workflow? [link] [comments] |
Posted: 19 Apr 2021 09:02 AM PDT Hello I'm looking for a simplistic ssg in which I can generate html drop-ins (mostly tables) from data gathered from filesystem and/or database. These tables will then later be embedded on an external webpage. So I need my style and a tiny piece of js embedded into each of the html documents. I'm currently achieving this behaviour by individual projects written in ts, which are basically functions spitting out html string. But since the amount of tables grew, it's not maintainable anymore having multiple projects doing essentially the same job. It's really exhausting to look of through this ocean of jamstacks/ssgs which mostly are built to generate blogs and similar and offer complexity to the moon. Langs possible: JS ( TS prefered ), Python, php ( if no better option ) Cheers [link] [comments] |
Posted: 19 Apr 2021 09:01 AM PDT I've got a list of objects and I need to load data from a txt file. How do I do that, where do I mess up? Company.cs public class Company { public Company(){ } public Company(string name, string date, string address, decimal income) { Name = name; Date = date; Address = address; Income = income; } //Getters and setters } Companies.cs public class Companies : List<Company> { public Companies(){ } List<Company> companies = new List<Company>(); public bool Load(string Filename) { string[] lines = File.ReadAllLines(filename); string[] data; int n = lines.Length; int c = 0; do{ data = lines[c].Split("|"); c++; }while (c < n) ; // I'm looking for the rest of this part of the code where I can fill up my List with companies.Insert() or whatever is suitable. } The Load method is called upon the MainForm.cs (I'm working on a Windows Form) which will populate a list box where I only need the name of the company and that's why I need to put each data to the corresponding list-object. I hope I make sense, I'll try to answer replies and/or add more info as soon as possible. [link] [comments] |
Posted: 19 Apr 2021 04:06 AM PDT Hi I'm 13 and I'm planning to pick up programming. I've look through some vids in yt and had three options so far (maybe you can also add another option) which are java script, phyton, or rust. pls help me pick a good language for a starter who knows nothing about programming. [link] [comments] |
Backend for data driven SaaS product Posted: 19 Apr 2021 03:01 AM PDT If I want to build a data processing product for a SaaS startup, what programming language can I use? I have also decided to build my product using MERN stack. So is it possible to use that programming language along with NodeJS in the back-end? [link] [comments] |
Can someone help me develop this collab notebook? Posted: 19 Apr 2021 02:30 AM PDT This notebook is made for machine generation of images: https://colab.research.google.com/drive/1mBTj5n1Y6PycuomVSqKY-MhZXT2HX09G?usp=sharing However, it spits out images in a grid, all together. I was wondering if anyone is able to undo this so that each image is generated separately and downloadble as a zip in its entirety (so image1, image2, image3 etcetc). Please save me! [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