Has anyone used both Kivy and Xamarin for Desktop development? Which do you prefer and why? Ask Programming |
- Has anyone used both Kivy and Xamarin for Desktop development? Which do you prefer and why?
- In what case(s) would it be best to use a Flask-API backend w/Vue/React/etc front end, vs Django for the entire project?
- Is it possible to create an algorithm to solve the 'numbers game' from Countdown in VBA/Excel? And if so, what's the most efficient way to achieve this?
- what is state and state management
- NPM Install into Git Branch
- Map with amount of accumulated rain
- Using Python's Curses library, I want to window.addstr() the chars '─' and '│' but trying to do so gives me a URL about "Defining Python Source Code Encodings." How do I know what encoding to use?
- help
- Is it ever a bad idea to have a STAGING microservice talk to a PROD microservice?
- hello, is there any google maps tutorial available?
- How to automate docker image pull, scanning, and pushing to a new repo
- Good book/playlist/blog/video to teach beginners how to think like a programmer or software engineer?
- Jitpack.io library in gradle - Java
- [Help] Tried Uninstalling Python from Mac and All .py Files Are Now Missing
- Creating a website that can host mp3 files
- New OS on RPi4 with existing OS
- Testing in python without classes?
- [Python] What is the purpose of "if __name__ == "__main__":
Has anyone used both Kivy and Xamarin for Desktop development? Which do you prefer and why? Posted: 23 Jun 2021 09:44 PM PDT I have an idea for cross platform desktop application that would involve a relatively simply interface (a few buttons and a configuration pane) and would not be particularly computationally intense. More specifically, the app will need to be functional as a standalone executable/ package on Windows, Linux and OSX. Ease of portability is my greatest concern. I have read through several articles comparing frameworks which facilitate cross platform desktop development, including the following: https://www.westagilelabs.com/blog/10-best-tools-to-develop-cross-platform-desktop-apps/ https://www.codenameone.com/blog/top-10-best-cross-platform-app-development-frameworks-in-2021.html Obviously some of the solutions listed in the above do not apply to desktop development. For various reasons I absolutely want to avoid Java, and I would also prefer to avoid the JavaScript solutions. I do not want to pay for QT, and so as far as I can tell the viable remaining options are either Kivy (Python) or Xamarin (C#). Between C# and Python I would be willing to go either way. Has anyone worked with both of these solutions in the past, and if so could you please share your thoughts and experiences and give a recommendation as to which one you would lean towards if you had to create a simple cross-platform desktop app? Thank you very much for your input. Also, if you are aware of any solutions not listed in the above and would like to share, that would be appreciated as well. Thanks all. [link] [comments] |
Posted: 23 Jun 2021 05:47 PM PDT Wanted to get a feel for what people think. I have personally had huge success with Flask as a backend API and react as the front end... however, this particular application was very data driven with python doing a lot of heavy lifting. There were no need for multiple users, authentication etc. I've recently started using Django and have been loving it! I'm using it for a very user driven project that doesn't utilizing anything crazy for the backend, everything has been nice and simple so far. However, I'm currently working on a project where it seems hard to really decide the design off the bat. The app will have users, however it won't need anything fancy for the frontend, nor the backend... it seems like Django would be a good choice, however sometimes it seems so simple that making a flask backend would be "cleaner" if that makes sense. Are there any resources for learning project design as a whole? Or when to choose between implementations like this? Thanks! Ps. Sorry if this is a simple question, I'm much more experienced with flask/react so maybe its obvious if I get more experience with django. [link] [comments] |
Posted: 23 Jun 2021 09:05 PM PDT Question regards using VBA in Excel: Background For those that don't know, the 'numbers game' is a game from the show Countdown where 6 random numbers are given (some combination of "big" (25, 50, 75 or 100) and "small" (1 to 10) numbers selected by the contestant, then a third three digit number is generated. Contestants then have 30 seconds to find a combination of these numbers (don't have to use them all) using only addition, subtraction, multiplication or division (no fractions allowed) to reach the target number. FYI, while not all numbers games are solvable, the vast majority are. Here it is in action and the wiki page has a more thorough explanation of the rules. Problem Regardless of the context above, the problem I want to solve can simply be stated as "given 6 random numbers, then a third 'target' number, can you create an algorithm that will use the 6 random numbers to reach the target number using only multiplication, subtraction, division and addition - without using fractions. You do not have to use all six numbers.". The obvious answer is to try brute forcing it, but I suspect that may be prohibitive and impractical? Machine learning could help here but VBA is pretty suboptimal for that kind of task. Even preloading all the solutions seems completely impractical. Is there a clever way to solve this I'm not seeing? [link] [comments] |
what is state and state management Posted: 23 Jun 2021 12:15 PM PDT always got confused when i read explanations about these concepts [link] [comments] |
Posted: 23 Jun 2021 04:02 PM PDT If I want to try to develop a new feature into [link] [comments] |
Map with amount of accumulated rain Posted: 23 Jun 2021 05:18 PM PDT Hello good afternoon everyone, I'm trying to create a map with the amount of rain accumulated with data that comes from a satellite, I managed to create a script to download the data from this satellite site https://home.chpc.utah.edu/~u0553130/Brian_Blaylock/cgi-bin/goes16_download.cgi, but this type of file seems to be more used in python, another problem that I found it was not finding any appropriate library for this type of map, someone already created this type in reactJS / node, someone already dealt with these types of maps could you help me? exemplo of an map with amount of accumulated rain and an website with this [link] [comments] |
Posted: 23 Jun 2021 03:55 PM PDT Using Python's Curses library, I want to window.addstr() the chars '─' and '│' but trying to do so gives me this helpful URL that I'm struggling to understand: https://www.python.org/dev/peps/pep-0263/ How do I know what encoding to use? I've also tried using curses.unctrl(ch) which is described as "Return a string which is a printable representation of the character ch." [link] [comments] |
Posted: 23 Jun 2021 03:53 PM PDT What is the difference between " i " and " { numbers[ i ] } " in C# ? [link] [comments] |
Is it ever a bad idea to have a STAGING microservice talk to a PROD microservice? Posted: 23 Jun 2021 12:00 PM PDT Suppose for one microservice, let's call it 'A' I had a local environment where I did my testing/development and a production environment. For my larger microservices I have dedicated LOCAL/STAGING/PROD environments so when they need to talk to A they either interface it with the LOCAL/PROD environment. The reason I don't have a staging environment for A is cost. It's very memory intensive, hence I don't want to deploy a new instance just for it. [link] [comments] |
hello, is there any google maps tutorial available? Posted: 23 Jun 2021 11:14 AM PDT I need to use google maps to create reports, get the coordinates, and store it in a database [link] [comments] |
How to automate docker image pull, scanning, and pushing to a new repo Posted: 23 Jun 2021 10:33 AM PDT Hi all! I've been tasked with pulling down docker images from a third party registry when new ones show up, pulling them to our AWS registry, running some scans, then if they pass the vulnerability scan (or don't pass but are manually approved) push them into a different registry. I come from a purely embedded background and haven't quite figured out what would be my controller in all this! While I get how to do the individual parts, but what can I use to "orchestrate" the actual logic behind it all? I have access to AWS and Azure DevOps services as well! [link] [comments] |
Posted: 23 Jun 2021 10:21 AM PDT I am used to being exposed to programming languages and have worked as a developer intern, but the programmatic thinking is still a struggle for me, and I would like to learn how to think analytically. I am in my last year of Electronics engineering. In my first year, I failed programming intro 2 times before passing it barely the 3rd time - and it wasn't Python - it was C. Ya know, the language that everyone says don't learn on your first rodeo. The semester after that, among all those hard-ass Telecommunications, electronics, digital systems, and signals and controls courses, we had Data Structures and Algorithms and if it wasn't for an assignment, I would have failed that in the first run. After that, we got into Computer architecture, Data communications, Operating Systems and Embedded Software.....yeah....pain. I started self-learning Python because it was easy and with that background, I got into 2 internships that did mostly Python work. But you see...the concept of how to approach the problem never settled down into my head. I always wanted someone to teach me how to think like a programmer before teaching me C or Python, so that when I know that I have to check whether a number is a prime or not in C, how I must write it down to understand how to programmatically approach the problem, because in my head, things are assumed, things are always defined. But then I look at pseudo code and some things (not all, but mostly) either make me go "oh, of course! I must define it first!" or completely "ok, why did they do this ?" I am looking for a book/article/blog/video/course/bootcamp/article series that would help me with the programmatic thinking, preferrably at a beginner's/dumbass/stupid level so I can understand it easily. I have heard about Computer Science Distilled, but the reviews are mixed. Thanks for your time. [link] [comments] |
Jitpack.io library in gradle - Java Posted: 23 Jun 2021 10:16 AM PDT Hello I want to use a GitHub repository as a library in an Android app. The GitHub repository I want to use is: https://github.com/Jomy10/Jonas-Utils-Android. My gradle.build file (of the app) now contains this: I have also tried and But nothing seems to work. Does anyone have any experience with Jitpack.io? I appreciate all the help. Here is also a piece of the build.gradle of the library project: and this is in the build.gradle of the library: [link] [comments] |
[Help] Tried Uninstalling Python from Mac and All .py Files Are Now Missing Posted: 23 Jun 2021 09:16 AM PDT Hi guys, I had multiple versions of Python installed on my Mac and I was trying to uninstall the ones download from python.org. I ran the instructions from here ( https://www.ianmaddaus.com/post/manage-multiple-versions-python-mac/ ) but now all of my .py files are gone, including all projects and school work. I'm scared to even close the terminal or shut down my computer in case I have also messed up the OS's Python. Does anyone know how I could possibly undo the commands/ get my files back/ fix my mistake? I ran the following commands: sudo rm -rf '/Applications/Python X.Y' #replace X.Y with the version number on the folder sudo rm -rf /Library/Frameworks/Python.framework sudo rm -rf /usr/local/bin/python sudo rm -rf /usr/local/bin/python3 and if I run $ which -a python or $ which -a python3 I still get /usr/bin/python and /usr/bin/python3. [link] [comments] |
Creating a website that can host mp3 files Posted: 23 Jun 2021 08:22 AM PDT I'm making an app that needs to be able to play audio extracted from YouTube video, and because of some specifics about the libraries I'm using, the only way to play said audio is by providing a .mp3 link. (for example, https://it-dk.com/media-demo/demo-1.mp3). I've tried to find tools that will be able to do this, but since I haven't come across anything, I've resolved to try and make some kind of server that would be able to, given a youtube link, extract the audio and host the audio file itself to return a link similar to the example above (in the form www.example.com/some_audio.mp3). However, I don't even know where to start or even if there are better alternatives. I'm really new to the world of web development, so any help would be greatly appreciated! [link] [comments] |
New OS on RPi4 with existing OS Posted: 23 Jun 2021 07:30 AM PDT I currently have the default OS for Raspberry Pi4, and i have been setting it up with wifi, settings, etc. I also want to run an android emulator. How would i go about doing this? (can i after-the-fact partition the USB and install a new boot; just a standalone app that i can install via terminal, etc?) [link] [comments] |
Testing in python without classes? Posted: 23 Jun 2021 06:20 AM PDT I'm a brand new python dev (actually a new dev altogether) and I'm trying to understand testing in python. My university testing was limited, only did a single unit on it in a single course and it was in a single language, so my understanding of testing in general is quite limited, especially in python which is a new language for me. From what I understand, the way most testing works by default in python (with the built in unittest library) is using classes. I guess you run tests on methods that are part of classes (as opposed to classless functions). The issue is, the project I'm working on at work isn't object oriented. We don't actually use classes. Which honestly is fine, object oriented has its benefits but sometimes its exhausting. So I wasn't complaining that we weren't taking an object oriented approach. but now i'm finding testing... challenging. Is there a way to do testing without having things in a class? For now, all I can think to do is put everything inside a dummy class, wrap parts in static methods for testing, then comment out all the class specific codes after i'm done testing. surely there's a way to do unit tests without classes? Also, I'd rather keep to the default unittest library if possible. i understand there may exist other unit testing libraries/modules/packages inside python but my work generally wants me to avoid adding new dependencies. Thanks for the help. [link] [comments] |
[Python] What is the purpose of "if __name__ == "__main__": Posted: 23 Jun 2021 06:11 AM PDT I understand what it DOES. I understand what name is, and you're basically checking if a file is being run from itself or run from somewhere else... but why? What does it "do". What is the purpose for it. I see it a lot in unit testing in python. People will do like "if name == "main___": some_test(); print("everything passed"). Why do they include that in their testing? What would happen if you didn't include it. I've seen people refer to it as a "trick" in python testing, almost like its some workaround, but I cannot find any actual explanation of what its purpose is there. Thank you *edit, sorry, formatting a little wonky, reddit doesn't like double underscores [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