Windows

Windows

Application and Data / Languages & Frameworks / Operating Systems
Needs advice
on
JavaFXJavaFX
and
QtQt

I want to create a Desktop app that runs on Windows (No problem if it's able to run on other devices but my main focus is windows). It needs to have a great design and looks pretty nice.

Can you please tell me which tool is better when I'm the only person designing the whole app?

READ MORE
3 upvotes·10.4K views
Replies (3)
Principal Engineer at Infineon·
Recommends
on
Qt

Your question boils down to a decision between two programming languages, and it's hard to give advice for you. It heavily depends if you already build up a huge skillset in one of the mentioned languages.

The Qt framework is known for its nice and structured code, documentation, and available examples. Also, if you think about performance Qt and modern C++ (11,14,17) is your friend. As you referenced "great design and looks pretty nice" you should definitely have a look at Qt's own solution to address fluid and modern user interfaces for mobile and desktop devices: QML.

READ MORE
5 upvotes·165 views
Founder at Open Lowcode·
Recommends
on
JavaFX

Javafx is actually quite good, and feels modern. Some widgets are quite hard to master though (for example the table view...).

I have written a low-code development framework ( Open Lowcode ) based on Javafx. You may want to have a look if it can help you. It is purely open source.

READ MORE
3 upvotes·157 views
View all (3)

Hello, we have a bunch of local hosts (Linux and Windows) where Docker containers are running with bamboo agents on them. Currently, each container is installed as a system service. Each host is set up manually. I want to improve the system by adding some sort of orchestration software that should install, update and check for consistency in my docker containers. I don't need any clouds, all hosts are local. I'd prefer simple solutions. What orchestration system should I choose?

READ MORE
4 upvotes·191K views
Replies (1)
DevOps Architect ·
Recommends
on
Docker Swarm

If you just want the basic orchestration between a set of defined hosts, go with Docker Swarm. If you want more advanced orchestration + flexibility in terms of resource management and load balancing go with Kubernetes. In both cases, you can make it even more complex while making the whole architecture more understandable and replicable by using Terraform.

READ MORE
7 upvotes·172.2K views
CEO at Stealth Startup·
Needs advice
on
PyQtPyQtReact NativeReact Native
and
XamarinXamarin

We are developing an AWS IoT app for large boats. The IoT devices have sensors all over the boat for engine oil pressure, position, water depth, fuel level, crew location, etc. When the boat has internet, we interact with AWS cloud using lambda and Amazon DynamoDB. When the boat is offshore, the captain and crew still need normal and emergency alerts and real-time sensor information. The crew might have an Android or IoS phone or a Windows or macOS PC to receive alerts and interact with sensors. We may use the AWS GreenGrasss edge computing solution and either MQTT or HTML for that function.

Question: We want to develop a cross-platform client to run on Windows, Mac, Android, IOS, and possibly Linux. We are primarily Python programmers, so PyQt or Kivy are options for us, but we have heard good things about React Native, Flutter, Xamarin, and others. We think an AWS Greengrass core on an RPI4 could communicate to the client with MQTT or a local webserver with a client web interface.

Any thoughts would be much appreciated.

READ MORE
7 upvotes·457.6K views
Replies (2)
Recommends
on
React Native

I don't know much about Xamarin but I know about PyQt and React Native.

However, I don't recommend PyQt because the apps made using PyQt are not that suitable for mobile apps. If you take a look at the PyQt interface, you will be able to see that the features are more of a desktop apps kind.

React Native uses JavaScript. React Native is immensely flexible in upgrading your apps because it allows you to formulate your app code into independent blocks.

In Xamarin, you have to write the code in .NET . The best thing about Xamarin is, that it extends the.NET developer platform with tools and libraries specifically for building apps for Android, iOS, tvOS, watchOS, macOS, and Windows

While the best choice for you depends on various factors but React Native app development is a promising overall choice. In today’s scenario, React Native has steady growth, flawless code structure, and brilliant and large community support. We suggest you go for React Native for your next project owing to its outstanding support from developers, easy availability, and cost-effectiveness.

READ MORE
5 upvotes·72.7K views
Founder at The First Prototype·

It seems like your app is not really using any native functionality on the phone. I have experience with cross platform iOS & Android development. They are all really good tools! Xamarin (all the project on the website portfolio I attached) is awesome for accessing native functionality (NFC, Sensors, Bluetooth, etc), and I have built apps that have millions of downloads, some that hit Top 5 on Utilities, another that hit Top 50 in Finances. You just have to look at what your application intent is, it seems like it's just to read and post data. For that they are all pretty good, but you should also look into Ionic which may serve the same purpose

READ MORE
The First Prototype (thefirstprototype.com)
4 upvotes·52.3K views
Needs advice
on
ElectronElectronUnityUnity
and
WebGLWebGL

We want to create a 3D web and desktop(Windows and macOS) application with a lot of functionalities. This is a 3D furniture customization application in which we give options to add, delete, scale, move, rotate objects. Something like a floor planner. We are also going to add AR and VR.

I am thinking about using Electron or Unity. Please recommend what should I choose for this purpose. Please consider that we have to develop for web and desktop (windows and mac) all platforms.

READ MORE
10 upvotes·198.2K views
Replies (1)
Recommends
on
Unity
WebAssembly

Take Unity for development as it is a full engine, with better tools to develop UI, use 3D assets, develop the integration with the API endpoints and deployment not only for Web (w/ WebAssembly) and Desktop, but also Mobile platforms (Android and iOS)

READ MORE
3 upvotes·450 views

Out of curiosity, when my coding instructor for Python did some commands on his computer, he told me learning any sort of terminal command interface (e.g. GNU Bash, PowerShell, Zsh ) will make me understand systems and how computers work and would make me know the basics of systems programming (although I am more into web development). I immediately went curious, out of my time, and looked up some command line interfaces to learn. It gave me bash, shell, zsh, powershell, etc. All these are really confusing, and they all seem the same. I want to be a terminal dweller, so which of the terminal related things should I learn? I think Bash, since it can replace Powershell on Windows, and has all the Linux/macOS systems.

READ MORE
5 upvotes·38.1K views
Replies (2)
Astrophysicist / Principal SOE at ESA / ESOC / OPS-OAX, Telespazio VEGA Deutschland·

Well, it is alway a matter of taste.

But to share my own experience, using Unix Shells ever since 1988, and also PowerShell for some period of time. If you want to script Windows OS as an Administrator, PowerShell is a good option. If you want to administer all different kinds of UNIX OS, bash will be available on almost all of them. If you want to develop software and have the freedom to choose, I recommend zsh, better yet oh-my-zsh.

READ MORE
4 upvotes·1 comment·706 views
Yoram Kornatzky
Yoram Kornatzky
·
June 4th 2022 at 3:16PM

Try the Linux kind of shells. Best zsh but bash is also good. They are for Linux and MacOSX. The Windows PowerShell has no use outside Windows. It will expand your understanding of programming. As you will learn the concepts of pipes, input and output redirection, and the general use of command-line tools. It is a must for any serious student of programming and more importantly for programmers in general.

·
Reply
Escaped Notions·
Recommends
on
GNU Bash

I use GNU bash - the latest version, currently 5.2 - as my daily driver, on macOS, Linux, and Windows regularly.

I do this because modern bash has features comparable to zsh with the largest community.

On Windows, I use git-for-windows bash which is GNU bash compiled via the msys2 project, which also bundles various GNU/Linux core utilities. If you're using Windows, you should get to know the https://msys2.org/ and https://gitforwindows.org/ projects, which themselves rely on cygwin. Mainly keep in mind the helper cygpath to convert paths back and forth - some things will need Windows style paths.

You can also easily call powershell from bash.

READ MORE
4 upvotes·274 views
Needs advice
on
C langC langJavaJava
and
PythonPython

Actually, I'll add, C++ and C# as well.

Well, I'm into Computer Science since 1996, so I understand a bit of everything plus a lot of different OSs, I study 10 hours per day every day. However back in the 90s we didn't have books or universities about programming, all were passed through if you knew somebody in that profession. Which I did and in that time, he showed me .NET and MySQL, and that offered a lot of jobs also Java. Today you have a lot of options but I'm already discarding new languages as I believe they will jot succeed.

My always dream was to create game, and software. I don't understand all programming concepts and I'm studying all languages at the same time, so I'm heavy loaded. But that keeps me more aware.

I made a choice: use Python for everything but if you want performance, apps, security, compatibility, Multiplatform. What should I choose? The real question here is: which language should I go 100% and that language will teach me all I need about programming BUT without getting lost in that language forever (I discard any Assembly possibility) and one that has full documentation, support and libraries.

In my experience: I found a lot of info for python and java. But hardly I have ever found anything for C lang, C++ and, what about C# (it's only for Windows, is it easy, I saw a lot of documentation). Thanks!!

READ MORE
10 upvotes·125.2K views
Replies (3)
Recommends
on
C++
Python

Python can be linked with C++ both language are similar in many places (using same libraries or concepts to build libraries) - except memory and static types. C++ is more assembler and have different syntax (need 3x-4x coding more).

If you do engineering it is perfect stack - Java is to slow in coding (4x more code) and little faster than Python - whatever it is hard to mix Java/C++ what is easy Python/C++.

In the most program you do not need super performance but if you need C++ is the best and have rich Object Language much richer than Java and more poor than Python. Python is true object language - everything is object.

Whatever sometimes more important is framework than language for specific use.

READ MORE
5 upvotes·4 comments·102.1K views
Prakhar Vatsa
Prakhar Vatsa
·
March 26th 2022 at 6:49PM

I mean C++ is a superset of C, so might as well use C, am I right? It's just a case of simple bike, automatic car or manual car. python is simple bike, used for town based biking, like for going to school, etc. java is automatic car(like the memory management), while c is manual car(oil changes, motor changing, etc.). It's like comparing honda civic to bugatti chevron. Bugatti chevron is fast and all, but it isn't general purpose, it's purpose is for racing. honda civic is general, and that's what this guy is looking for, i think.

·
Reply
Cezary Wagner
Cezary Wagner
·
March 28th 2022 at 11:57AM

You can use C++/C with Python. Current C++ is not the old one so memory management can be automated whatever memory management in Python and C++ is different. You need understand how both behaves. Pointers, references, stacks, core types - in Python it is simple. Same with int in Python is one type in C++ 8 types for int with overflows.

·
Reply
Satoshi Nakamoto
Satoshi Nakamoto
·
May 24th 2022 at 6:08PM

Everyone says Python is great but they also say that it doesn't cover all programming concepts which puts you down the road. What book can you recommend me to get out of the beginner? I have seen that most content only lets you in the beginner zone. I struggle to read Python's manual, I have to decipher it. For now, I know what is built-in commands, some web scrapping, and some libraries. What else am I missing here?

·
Reply
Satoshi Nakamoto
Satoshi Nakamoto
·
May 24th 2022 at 6:07PM

Great answers! It really unlocked many doubts. But to start 1. where can I find poper C++ manual and which is the best book/video/DVD to cover all programming concepts at once like the book "The Linux Programming Interface" which covers all about the kernel

·
Reply
Recommends
on
Cython
Python

I would go with Python, it is fast to code, readable and very powerful without giving you too much to think about (e.g. memory management). If you're looking for speed, Cython is a fairly good way to get there, since Python is a C-based language it can be compiled to C using Cython and will get you a very significant boost in speed! You can also make use of C libraries if you prefer. The only downside to Cython over Python is that it is compiled and not interpreted, which can make debugging a pain (but you might find yourself doing most of the debugging in Python before switching to Cython). C languages are a bit of a pain to read up on (API, libraries etc.), but Stack Overflow has you covered in most cases!

READ MORE
5 upvotes·89.1K views
View all (3)

We have a python app currently built with Streamlit.

In order to deliver this to customers, we need to shield the codebase and make it executable (for both macOS and Windows users).

Does anyone have any advice on bundling a Python app into an executable?

All we're hoping to do is package the Streamlit app into .exe or something similar.

READ MORE
6 upvotes·27.1K views
Full stack developer ·
Needs advice
on
DockerDockerWindowsWindows
and
Windows 10Windows 10

Can someone give me some advice on how to set up Docker on Windows, and if it's worth it to update it from Windows 10 to Windows 11, I really can't get it to work on my Windows setup.

READ MORE
2 upvotes·14.2K views
Replies (1)
IT-Architect at GFT Technologies SE·

You didn't write what you have tried so far. It would recommend using DockerDesktop for Windows. You can download it from their website: https://www.docker.com It is free to use for non-commercial purposes and work quite well. Best way to use it (and the default) is with WSL2, so your computer has to capable of running WSL2. A switch to Windows 11 is not necessary, it works well on Windows 10.

READ MORE
2 upvotes·98 views
Citrix Systems·
Needs advice
on
PlaywrightPlaywright
and
Robot FrameworkRobot Framework

So our web application also has native applications for Windows and macOS so we browser test can be done using any framework but we have 1-2 test cases that require validation from native application which will be opening after a user choose to switch from web part to native part using protocol handler, for e.g our website will prompt whether you want to open thin in application just like teams and Slack and open a native application on window or mac, which we are thinking of doing by integrating shell scripting and take screenshots, so I have a confusion with these two frameworks. or what other framework I can use to get my work done.

READ MORE
6 upvotes·8K views
Replies (1)

Buddy ,you should go with RObot framework as per my experience,let me be clear i dont have any experience in playwright. We have similar kind of situation that time we used robot framework for native Web ,api and Android app . RF gives you privileg to automate any kind of application . Rf is open source , timely library upgrade like selenium 4 webdriver manager ,sikuli . And it is easy to maintain easy to learn

READ MORE
3 upvotes·1 comment·4.1K views
Ksenija Laukanene
Ksenija Laukanene
·
January 15th 2024 at 3:13PM

Based on your requirements, both Robot Framework and Playwright are suitable for browser testing. However, you mentioned that you have 1-2 test cases that require validation from native applications. In this case, Robot Framework might be a better choice as it has a wider range of libraries and can be extended to support testing of native applications1.

That being said, Playwright is a great choice for browser automation and has a simple syntax. It also has the ability to connect directly to the browser’s API and has full control of the browser and its content.

If you are looking for other options, you might want to consider Selenium WebDriver which is a popular choice for browser automation. Alternatively, you could also look into Cypress which is another popular framework for browser testing.

·
Reply
Senior Full Stack Developer at Tekie·
Needs advice
on
.NET.NETElectronElectron
and
JavaFXJavaFX

I am building a desktop application for Windows. I have worked with Electron earlier but it doesn't seem to work on a few Windows systems, also has no support for win7. Which language/framework should be chosen to cover a wide range of Windows versions including 7 or should I stick to Electron only?

READ MORE
8 upvotes·23.3K views
Replies (2)
Owner at FRM IT Consultancy·
Recommends
on
.NET

Electron is an enormous amount of overhead. Just use C# with Visual Studio and you can build applications for every Windows version since 2002 or so. Developer experience is also way better than pretty much anything else. For a Windows-only app, there's no reason to use anything but Visual Studio.

READ MORE
7 upvotes·6.1K views
Full Stack Coder | Technical Architect ·
Recommends
on
Java

Here are my suggestions.

C# + .NET Framework: It will work consistently on Windows 7, 8, 10, and even older versions.

Java with Swing Lib: Java is a mature and widely used programming language. The Java Runtime Environment is pre-installed on most Windows computers, so your application will likely "just work" for most users. You can use the Swing library for the UI.

You can avoid Electron by considering the fact that Performance issues, Bigger install size and More bugs and compatibility issues.

READ MORE
4 upvotes·5.7K views