• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics in ~comp with the tag "windows". Back to normal view / Search all groups
    1. PySide vs .NET WinForms for a Desktop GUI App in 2023?

      Hello Folks, For an upcoming side project - a Desktop GUI app, open source, Apache 2.0 licensed, I'm slightly confused regarding what technology to use. Skills wise, C#/WinForms should be my...

      Hello Folks,

      For an upcoming side project - a Desktop GUI app, open source, Apache 2.0 licensed, I'm slightly confused regarding what technology to use.

      Skills wise, C#/WinForms should be my natural choice as that was the primary technology I had worked on before losing employment at my former company few years back and getting into freelancing. But post my freelance experience, I taught myself things like open source and Python as it came with the territory, and now PySide2 is also a running candidate in this race.

      The goal here is to be as much ubiquitous as possible - that my app should be easy to just "download, extract and run" by as many people as possible. A couple decades ago, a .NET GUI library targeting Microsoft Windows platform would have been the clear choice here as most people used Windows OS and targeting that platform meant being ubiquitous.

      But over the last few years, I've observed that Windows OS has been continuously losing its market share to Linux Distros and Mac OSX, mostly due to some incorrect decisions and strategic blunders by the former than some ground breaking or revolutionary innovation on part of the latter. This means .NET or WinForms is no longer the ideal choice today if you want to be cross-platform and ubiquitous.

      This lead my research to some other toolkits like the Java Swing library, for example. It's old but classic, not a bad choice at all in this case, platform independence is Java's biggest selling point. However, the app I'm making is non-trivial and slightly performance intensive, and Swing GUIs are known to be sluggish on PCs unless you ensure a good supply of RAM by tweaking the JVM settings. I'm also not very experienced in Java to be able to handle those situations in case they arise.

      I also considered Lazarus IDE/Object Pascal, it is also not a bad choice. It is open source, used as the primary course language across many Universities in Europe and most importantly, still maintained and developed. But guess I will have to teach myself a whole new paradigm along with a programming language in case I go this route.

      Finally, Python is something I've almost settled on for this project. It's a language that I'm very fond of and it has helped me survive through the tough times in the freelance market. It also has a vibrant ecosystem and rich repository of user contributed packages at PyPI.

      Now, I've worked on the default Tkinter library in past but somehow felt that it's quite limited in terms of making the GUI more flexible and "tweakable", especially a non-trivial one having several container widgets, syntax editors, menus and drop-downs, trees and list views, etc. PySide2 is, from what I understand, a better choice in this regard as it is comprehensive and based on the time-tested Qt interface. It is not only very easy to code and maintain but also very easy to port across various platforms.

      What do you think? In which direction should I go here?

      18 votes
    2. Windows 10 Admin account loses all functionality?

      I recently started having an issue on my windows machine with folder permissions. The start menu folder suddenly became inaccessible to any program that tried to create a shortcut there. I worked...

      I recently started having an issue on my windows machine with folder permissions. The start menu folder suddenly became inaccessible to any program that tried to create a shortcut there. I worked around it by just taking ownership.

      Now I'm facing a much worse problem where many operations that require admin elevation suddenly doesn't work even after a UAC prompt. This has really become a problem now that I want to install wsl on this machine. Running wsl --install just returns the wsl usage info and wsl --update throws a UAC prompt, but fails saying "The requested operation requires elevation" even while logged into the built in Administrator windows account.

      Normal programs can still use admin elevation (mostly), but everything that windows prompts for behaves as if I'm a regular user despite still giving and accepting a UAC prompt. The Microsoft Store has also seemingly lost the ability to update or repair itself also so that's probably related.

      I've tried all the usual stuff with /DISM, /sfc, every Microsoft troubleshooter. They found no issues. Creating a new admin account lets me create the account but then it inherits the same issues. I can't even gain admin elevation in safe mode. I'm really at a loss. I don't want to have to do a system refresh because it takes so much time to get set back up, but at this point I don't know what else to do.

      Has anyone else ever encountered an issue like this? I've tried searching for this and just end up on a bunch of identical 'help' pages telling me to right click -> run as admin or the generic Microsoft employee pointing me to reinstall again.

      Windows version 10.0.19045 Build 19045 in case that matters

      Edit: I never did find a solid reason why this was happening. It wasn't my university Maya account. While reinstalling windows on a freshly formatted drive I kept getting errors that eventually led me to discoving my ram was going bad. Got it replaced and installed windows just fine. I have to assume the problem started because of memory errors. Thanks for the suggestions everyone.

      10 votes
    3. swapping my motherboard and processor resulted in losing my Win 10 Pro license?

      So, last night I undertook some surgery, and replaced the motherboard and processor in my old gaming rig with a slightly upgraded combo so that I can squeak in under the minimum specs for Star...

      So, last night I undertook some surgery, and replaced the motherboard and processor in my old gaming rig with a slightly upgraded combo so that I can squeak in under the minimum specs for Star Citizen. After the bootup, windows started telling me that my copy was no longer licensed.

      Now, I had used the free upgrade from win 7 Pro, and as such had a win 10 pro install for the last 3 years or so. All above board. Now, the system is telling me I only have a win 10 home license showing on the system, and that I need to install home to use it.

      Why would this happen, and how can I get my win 10 pro license back in good standing on the new hardware? Again, only the motherboard and processor have changed...

      EDIT

      I ended up purchasing a new license from StackSocial as suggested by pseudolobster below, and the issue is now resolved. Thanks to everyone for all the helpful responses!

      16 votes
    4. SSD Cloning: Burned by Macrium Reflect, looking for options (Data drives to SSD)

      I want to keep this short and sweet: I used Macrium Reflect to clone a Windows 11 install from one bad SSD to a new one. I had to reinstall to repair the Windows install, but it's a done deal, but...

      I want to keep this short and sweet:

      I used Macrium Reflect to clone a Windows 11 install from one bad SSD to a new one. I had to reinstall to repair the Windows install, but it's a done deal, but I feel burned by Macrium and want to find an alternative.

      I was wondering if anybody had any leads on great cloning software for general use? I'm willing to pay money, and it can be online or offline software (in OS or via USB).

      I have two drives, a 4TB and 1TB HDDI'm cloning to 4TB SSDs to have on newer devices, since these two are quite old and I got a deal on a pair of Crucial SSDs on Amazon (a brand/line I'm familiar with, they're good drives). These largely have games that aren't installed, legacy data old music rips I want access to, and currently active user profiles.

      My goal: clone the partitions over to the new drives, pop them in with hopefully the same drive letters, and expand the partitions to use all free space and be done with it. Ideally I would also have tool I can recommend to others without concern, assuming they have basic computer literacy.

      Will CloneZilla do this just fine? Is there anything better, proprietary or otherwise? Any idea how long this can be expected to take over Sata II (I've got a hotswap port I'll be cloning to outside my case, then popping it open to swap the drives).

      13 votes
    5. Can Windows make the jump to ARM like Apple did?

      I'm seeing a lot of news in my feed about Qualcomm chips approaching laptop performance, such as...

      I'm seeing a lot of news in my feed about Qualcomm chips approaching laptop performance, such as

      https://arstechnica.com/gadgets/2023/10/qualcomm-snapdragon-x-elite-looks-like-the-windows-worlds-answer-to-apple-silicon/

      https://www.anandtech.com/show/21105/qualcomm-previews-snapdragon-x-elite-soc-oryon-cpu-starts-in-laptops-

      https://www.theregister.com/2023/10/24/qualcomm_x_elite/

      Will this turn out any better than the last few times Microsoft tried to break away from Intel? Would you want such a laptop? Will it wake Intel out of its complacency?

      33 votes
    6. Dual-boot with a shared partition?

      Hey, I use Windows 10 and Arch in a dual boot configuration. I use both of them for software development and want a shared partition to store all the projects. Unfortunately, it's not as easy as I...

      Hey,

      I use Windows 10 and Arch in a dual boot configuration.

      I use both of them for software development and want a shared partition to store all the projects.
      Unfortunately, it's not as easy as I had thought.

      Initially, I tried NTFS as the Linux support seemed fine. I tried both, ntfs-3g and the kernel implementation.
      Besides the issue that hibernate could lock the drive - which you can disable - it periodically caused problems during compilation and other stages.

      Especially Rust based projects have thrown weird errors during builds, but I also had this on certain Go projects as well.
      It sometimes felt like, that the NTFS driver returned the wrong files when the compiler asked for them. Unmet dependencies, missing files, etc. Usually, when the project is huge.

      In certain scenarios symbolic links didn't work and permissions were not set correctly - which you can fix by adding some args to the fstab mount - never got it really stable though.

      I then tried to format to Ext4, and all issues were instantly gone on the Linux side.

      Fortunately, there are tools such as Linux FileSystem from Paragon which promise to make it work (I even bought a proper license) - and it did for a while, until it didn't.

      I once copied a bigger folder that included a bigger node_modules folder and during copy, files were missing, corrupted, the copy process hung - then crashed.

      I was so desperate that I even tried out FAT32, but I quickly found out that it doesn't support symbolic links at all, and therefore breaks Git and other tools depending on it.

      Is it still so hard in 2023 to have a shared partition between two OS? Has anyone made better experiences?
      I really don't want to split the partitions as I sometimes work on the same project on different OSes.

      Thanks in advance!

      7 votes
    7. Upgraded to Windows 10, what do I need to do to optimize?

      I finally got around to upgrading my mom’s computer (an Asus laptop from 2015) from Windows 8.1 to Windows 10. I’ve already deleted a few apps she won’t use (e.g., Xbox) and disabled/stopped some...

      I finally got around to upgrading my mom’s computer (an Asus laptop from 2015) from Windows 8.1 to Windows 10. I’ve already deleted a few apps she won’t use (e.g., Xbox) and disabled/stopped some unneeded services. What else can I do to keep her computer fast? Particularly interesting in more services I can disable and the best browser/ad blocker combo. Thanks y’all!

      10 votes
    8. Foone reverse engineering SkiFree, one function at a time

      @foone: OKAY SKIFREEThis is a game originally from 1991, developed by Chris Pirih, and included on one of the Windows Entertainment Packs. There's a modern 32bit version by the original developer, on the official site:https://t.co/Yoj7PDmkcV pic.twitter.com/ETQa1wdqqR

      8 votes
    9. What are the first things you install on a new computer?

      Or phone, or after an OS reinstall, etc. Just got to thinking about it because I did a fresh install of Arch on my chromebook the other day, and I'd be curious what other people's priority...

      Or phone, or after an OS reinstall, etc. Just got to thinking about it because I did a fresh install of Arch on my chromebook the other day, and I'd be curious what other people's priority software installs are. For me, after the basics like drivers, it's xfce, Firefox, Transmission, Libreoffice, and VLC on linux. Pretty much the same on Windows, plus a few utilities like 7zip, PuTTY, and notepad++. For Android installs I grab nova launcher, Hangouts Dialer, F-Droid, NewPipe and MoonReader before anything else.

      EDIT: Forgot firefox on android, as well as ublock origin on all platforms.

      Also not completely sure if this belongs more in ~tech or ~comp.

      17 votes