9

I decided to format party my desktop since I'm working at home every day (got a 1TB ssd to replace 150gb OS drive).

First fresh Windows install in 4 years. I had forgotten how much fuckery windows puts you through to do some basic things. I can imagine being a newbie hobbiest programmer and having to go through this stuff?

So I just embarrassingly spent 15 minutes reading and troubleshooting why you can't run a python script inside of powershell. PS just blips for a moment leaving you wondering if the script executed. So I created a test script to use a logging file handler to see if it actually ran. No.

Turns out you have to register the .py extension by appending it to your PATHEXT environment variable. Before that I was going to add it to the PS profile, but realized it takes more than a quick moment to find out which scope of PS profile is appropriate to create, and on top of that, you have to enable script execution in PS (which I recall is easy, but didn't do yet).

Tangentially, I solved an ssh issue days ago. I would tell you what it was, but I seem to have mentally blocked it due to trauma.

For real Microsoft. Yes powershell has some great advancements--my friends say so.

But this needlessly nuanced bullshit needs a little attention from you guys to save the world a shitload of time. I can only imagine what it's like for non-tech savvy people trying to learn to program and having to face this stuff.

I still haven't solved the color scheme stupidity of powershell. This is 2020 ffs. Yet seems there's no clean or intuitive way to do it.

Other issues omitted for 'brevity'

Comments
  • 5
    Quality rant.
    Welcome!
  • 0
    You know, the Powershell coming with Win10 isn't the latest PowerShell. Install PowerShell 7 x64 at Microsoft's github.
  • 5
    And installing windows in 2020 makes sense because????
  • 4
    Or you run your Python script using the Python launcher (py script.py) which exists exactly for that purpose and is part of any usual Python for Windows installation.
    Anyway, Powershell also has a global Profile file at $PSHOME\profile.ps1 or the general Documents\Profile.ps1 for your user only
    You can enable script execution (undoubtedly a questionable feature, as there are a tons of ways to circumvent the policy) now graphically in the developer settings in the control centre.
  • 2
    Power shell is garbage. I can’t tolerate Dev on Windows, the only way I could make it work was by using WSL and completely ignoring all windows dev tools.
  • 5
    @Ubbe
    Different scaling on different monitors.

    Outlook.

    Excel.

    I can use WSL if I need Linux dev tools.

    Fewer desktop environment bugs.

    Enterprise management with Active Directory.

    Familiarity.

    I don't have to move my scroll wheel half a mile to scroll down one page.

    WiFi settings for metered connections.

    Desktop environment sync.

    Windows Update has actually become 'okay'

    I don't have to restart a program to let it detect changes in available audio output/input devices.

    Less software compatibility hassle.

    AC/Battery performance settings out of the box.
  • 1
    Yeah, that happens when you cross the streams. Don't cross the streams. Use wsl at worst for your pythonic adventures.
  • 1
    @ReverendLovejoy
    If I never have to open office again, it will be too soon ๐Ÿ˜‹
  • 0
    @ReverendLovejoy just say no.
  • 2
    Y'see, your issue was that you tried Powershell.
    Can that shit and use cmd.
  • 0
    @ReverendLovejoy windows update works reasonably now, yes, but the updates it's told to get?

    also defender is a garbage fire and linux has better Excel than Excel, and has standardized mail clients, meaning they won't truncate half the goddamn email to your college teacher asking important questions and making you look like a lazy dick.

    most of the rest of that is fixable too, and I have power settings OOB on Linux as well...?
  • 3
    @Ubbe I work on 4 different monitor setups (home, office, client site, laptop on the go) of different sizes and resolutions. Combined with aging eyes different scaling per monitor is something I can not say no to.
  • 2
    @ReverendLovejoy I generally agree to your comment, but Outlook? ๐Ÿคจ
  • 2
    @Parzi true.

    Linux has better Excel than Excel ? I've never managed to get LibreOffice Calc working for me.

    Anyways, the deal-breaker for me is lack of different scaling on different monitor setups
  • 1
    @sbiewald We use Office 365 at work and Outlook is the only desktop client that handled O365 mail when IMAP is not an option.
  • 2
    @Parzi Still, the power usage on Linux is hardly the same.
    Linux does not know (or did not know the last months) about current CPU's power modes, leading to a higher power consumption compared to Windows.
    New Laptop with Windows can be used a six hours straight, but only five hours with Linux. Nothing too bad (otherwise I wouldn't use Linux at home).

    @ReverendLovejoy Why isn't IMAP an option? I know active sync (or whatever name Microsoft uses for their protocol now) has more features - like calendar and contacts - but IMAP is supported by O365 (unless disabled by the administrator).
  • 1
    @sbiewald disabled by the administrator
  • 0
    @ReverendLovejoy not sure if I fully get your point but I certainly use mixed resolutions on my two three-screen setups that I move my laptop between. With no problems on Ubuntu 18.04 KDE.
  • 0
    @Ubbe i dont have a problem with multiple resolutions on different monitors.

    The problem is that I can not set scaling individually for each monitor.
  • 1
    @ReverendLovejoy you can have different scaling per monitor on Linux OOB aswell as power management, when was the last time you used a Linux distro?
  • 1
    @dontknowshit yesterday. Please advice me as I haven't found it out myself
  • 1
    @sbiewald
    "Outlook has uses 10k threads, but none of them are for me."
  • 0
    @Ubbe On my desktop it's a pain to switch between games and projects with dual boot :\
  • 0
  • 0
    @melezorus34 Oh I had no clue. Thanks!
  • 1
    @Parzi Cmd was dependent on the same restriction for python execution iirc. But you're right, cmd is much more reliable for editing. Though it's a pain switching between powershell and cmd for different tasks.
Add Comment