this post was submitted on 29 Jun 2023
817 points (96.5% liked)

linuxmemes

21436 readers
1371 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 45 points 1 year ago (1 children)

    Transcript:

    [Miracle of the word wide web meme template]
    "Thanks to the miracle of windows subsystem for linux..."
    "...I can use the Linux terminal from the comfort of windows"
    [Computer monitor showing windows update screen]
    "Marvelous"

    [–] kredditacc 14 points 1 year ago (4 children)

    How can downvotes be negative?

    screenshot

    [–] angrymouse 20 points 1 year ago (1 children)

    Simples, its so positive that the negative becomes positive.

    load more comments (1 replies)
    load more comments (3 replies)
    [–] Sestren 42 points 1 year ago* (last edited 1 year ago) (9 children)

    I don't understand the pointless hate over wsl. Sure, it doesn't replace Linux. It also doesn't have to... Just having access to basic nix functionality from a windows desktop is still a useful feature. It makes stuff like putty mostly obsolete. It let's windows users unpack tarballs without 7zip. It let's developers play video games while "compiling". It's just an all-around convenient tool to have.

    Maybe Microsoft wanted it to replace the Linux desktop, but since when has anyone really cared about what Microsoft wanted :P

    [–] Madmaddy 14 points 1 year ago (1 children)

    Yeah, I don't see what the big deal is. I won't be switching from Windows anytime soon, for various reasons, but I very much appreciate being able to have access to a local linux environment without having to dual boot.

    [–] NewBrainWhoThis 7 points 1 year ago (1 children)

    WSL + Docker is all I need :-)

    [–] [email protected] 5 points 1 year ago

    Seriously, with the VSCode integration to control everything from your IDE.

    [–] [email protected] 4 points 1 year ago (1 children)

    I spend like 80% of my work day in WSL. Using a Linux image that 100% matches the production environment, docker and k8s integration, and using VScode easily with WSL.

    The big thing that makes is work is all I need is a command line.

    load more comments (1 replies)
    load more comments (7 replies)
    [–] milkjug 34 points 1 year ago (5 children)

    Weird how tribal people are. Let people enjoy things for God's sake. I use all combinations of macOS, Windows, Fedora, Ubuntu (server + on WSL), Pop_OS!, and what not. Different horses for different courses, and I like each one of these in their ways they excel at.

    [–] [email protected] 13 points 1 year ago

    People who get out, see the world, meet people from other places tend to be far less tribal. Early career, I could have easily been a paid Microsoft Evangelist (is that still a real job title?). Eventually I was forced to begrudgingly learn a whole bunch of other things, then I became obsessed with OSS, shunning my former tribe every chance I got. At some point I just stopped caring about everything. Language, tabs vs spaces, design patterns, IDE, frameworks, I just don't care any more. I still have my go-tos if I'm starting fresh but, if the direction of the wind changes, it doesn't bother me a bit.

    [–] [email protected] 6 points 1 year ago

    I shit on windows because I have had terrible experiences with windows. I dual boot a hackintosh with win10 and win10 is more unstable despite using it less. I use linux on my laptop and headless stuff and the only problems I have are ones that I create.

    load more comments (3 replies)
    [–] yaaaaayPancakes 32 points 1 year ago (1 children)

    I used WSL extensively at a couple of previous jobs. Sometimes IT only gives you the choice of Windows or Mac. I'm quite happy to have a Linux machine at my current job, but WSL has gotten the job done for me when I lacked that option.

    [–] avapa 13 points 1 year ago

    My company mandates Windows laptops but I mostly work with Linux VMs hosted on our servers. WSL2 and Visual Studio Code (with Remote SSH and WSL2 plug-ins) are the best things that happened to Windows in years. Without these tools I would simply be unable to work.

    [–] jmanes 28 points 1 year ago (1 children)

    I work at Oracle and leverage WSL for for some things. It works.. but I wish I could just use Linux. WSL is full of gotchas and weird bugs. Performance is not good either.

    [–] [email protected] 6 points 1 year ago (2 children)

    WSL2 is essentially a VM, and doesn't seem to have any weird bugs or gotcha's anymore (at least for command line programs). I don't use it for work, but playing around with it as a hobby, it seems fairly solid.

    [–] jmanes 11 points 1 year ago (4 children)

    I use WSL2. It has bugs. DNS stops working when you connect to a VPN, which I have to do every day for all of my work. To fix that you can either modify the resolv conf (which gets wiped out on every startup) and then chattr it to prevent it from being deleted (this still didn't quite work for me). Or you can install wsl-vpnkit and pipe all of your network traffic through another container.

    I have been working in docker and rancher desktop, both of which have integrations with WSL but with other caviats and bugs. I basically have a bunch of very highly specific steps written up for other employees for "how to get this working with WSL" because it is so buggy.

    [–] [email protected] 8 points 1 year ago

    I feel so vinticated reading somebody else going through the DNS hell WSL2+VPN DNS issues. It is a nightmare in professional environments and for the life of me I cannot get my resolv to stop reverting after a while. Thanks for the tip on wsl-vpnkit, much harder to convince VM teams to spin you up a remote dev environment than to just use WSL sometimes.

    load more comments (3 replies)
    load more comments (1 replies)
    [–] hungryish 26 points 1 year ago (2 children)

    My personal computer is Windows mainly because of gaming and game dev, but WSL means I don't have to dual boot to tinker on a web project or something. In a way, it killed the Linux desktop for me, but I still use Linux as much as ever. With Docker as well.

    load more comments (2 replies)
    [–] octalfudge 23 points 1 year ago (4 children)

    I feel WSL just gives enterprises an excuse not to let developers have pure Linux machines. After putting up with horrible and buggy WSL for years, managed to have my organisation bless running proper Linux on our machines. Bye Windows, hardly ever knew you.

    load more comments (4 replies)
    [–] [email protected] 22 points 1 year ago* (last edited 1 year ago) (1 children)

    love combining linux with the worst parts of windows

    [–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (4 children)

    They were really trying to pander to developers back then... What shows it best is their ad for windows terminal that I swear has more production value than most of Nike's advertisements. You know you're desperate when you go this hard on advertising a bloody terminal

    [–] anti_antidote 24 points 1 year ago (4 children)

    Hey now, as someone who works in a 100% Microsoft shop, WSL2 and the Windows Terminal are the only things keeping me sane. Please MS, keep pandering.

    [–] entropicshart 6 points 1 year ago (3 children)

    Absolutely love the new Terminal app - anyone having to work on windows machines knows much value it finally adds over the ancient cmd/pwshell.

    This is one of the core apps I install on any windows rig now

    load more comments (3 replies)
    load more comments (3 replies)
    [–] marcos 7 points 1 year ago (1 children)

    Well, if something in Windows did need an ad for developers, it's the terminal. Advertising it here was the correct choice.

    But that ad is ridiculous, because it shows absolutely nothing of value. It's all emotion-based "look how nice it looks" stuff.

    [–] [email protected] 7 points 1 year ago

    But that ad is ridiculous, because it shows absolutely nothing of value.

    I think I disagree with you here. The ad shows:

    • Ligature support
    • Themeing
    • Integration with WSL
    • that Windows Terminal is open source ("Check out our github!" at 0:21)
    • Hyperlink support
    • Unicode support (implied by the emoji)
    • Some sort of package manager specifically for Windows Terminal extensions? (0:20)

    Which are all features that could conceivably be valued by developers. At the very least it gets across the point that "Yeah, CMD is shit, but fear not! Now there's a first-party terminal that doesn't suck!". There's no denying that all of this is presented in an "emotion-based" format as you put it, but I would argue that it's a good balance between informative and entertaining. Heck, I much prefer it to the ads you get nowadays on youtube where you can't even tell what they hell they're trying to sell to you.

    load more comments (2 replies)
    [–] [email protected] 20 points 1 year ago (2 children)

    the worst thing about windows is that you can't natively change the window manager or desktop environment. that is so backwards. they even removed the ability to move the taskbar wherever you want. this is so weird.

    [–] CentreMetre 8 points 1 year ago (1 children)

    Cant move the taskbar? Do you mean in windows 11, cos its possible in windows 10. If so i have just another reason to be glad i didnt make the move

    [–] iwolfking 15 points 1 year ago (7 children)

    Yeah, Windows 11 removed the ability to move your taskbar around, can only be at the bottom of the screen now.

    load more comments (7 replies)
    load more comments (1 replies)
    [–] sol87 18 points 1 year ago

    I think most actual Linux users saw this as expanded access to the Linux environment, and easier ways for Windows users to dip their toes in. That was the feel i got from the general community at the time.

    [–] IntoTheFediverse 16 points 1 year ago

    My favorite windows feature. Being broken.

    [–] [email protected] 15 points 1 year ago* (last edited 1 year ago)

    WSL is nice if you want to build things/run software for Linux, otherwise.. just use Linux. Also it's a nice way to run Docker without paying for it.

    [–] [email protected] 13 points 1 year ago (4 children)

    Combines the power of a really half-arsed Linux distro with the pure speed of the Windows file system.

    I mean, it's slightly better than nothing, but installing a real Linux distro on Windows through eg. VirtualBox absolutely fucks it into the bin. I don't see who WSL is for. People in really locked-down corporate environments?

    [–] entropicshart 7 points 1 year ago (3 children)

    I use it a lot - I use my main rig for gaming and general stuff, but also need to be able to program things; rather than dealing with dual booting and the headaches it brings (including limited hardware support), I use docker with WSL2.

    I am able to launch VS Code or PhpStorm on my local, have it remote into WSL and run things how they’re meant to be ran on a Linux box, without dealing with installing windows specific variants.

    This makes working with things like Laravel/Composer a lot easier and with everything built on docker, deploying to prod is as simple as a docker image push to my registry of choice.

    I also enjoy the benefits of not having a bunch of dependencies sitting around - drop the container and you’re system is as clean as it was before

    load more comments (3 replies)
    [–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (2 children)

    I don’t see who WSL is for.

    My guess is that this time they really wanted to pull the developer demographic over into the M$ sphere of influence. MSYS, MingW, and Git Shell already fill the same niche as WSL, so it wasn't destined to succeed. Thing is, they probably didn't expect it to succeed either. Microsoft's strategy has always been to throw a hundred dicks at the wall and hope that one of them sticks (think Zune, Windows Phone, etc). This time, Azure kind of stuck. WSL didn't. When you're as big as Microsoft, the occasional win more than covers the cost of a hundred fails.

    [–] entropicshart 5 points 1 year ago

    Given that Docker/Podman heavily rely on WSL to work on windows, I would argue that it definitely has succeeded

    load more comments (1 replies)
    load more comments (2 replies)
    [–] callmepk 13 points 1 year ago (1 children)

    Personally, I think WSL is a great start point to introduce users in Windows to take the first step to Linux. Me myself and several people from what I know starts from WSL and end up using Linux full-time

    load more comments (1 replies)
    [–] regeya 13 points 1 year ago

    I don't understand how Linux could make Linux obsolete

    Or were they talking about the original WSL, where it was an implementation instead of a specialized VM

    [–] [email protected] 10 points 1 year ago

    It's a VM. With this tech, Linux will only be more powerful

    [–] [email protected] 9 points 1 year ago

    To put it like /g/, WSL is redpilling the normies on free software.

    [–] [email protected] 8 points 1 year ago

    If anything, WSL2 made me realize that I didn't need Windows. now, I'm a Linux user for almost 2 years.

    [–] [email protected] 8 points 1 year ago

    Crashing in whole new ways

    [–] Pietrasagh 8 points 1 year ago (1 children)

    So true :'-) I used WSL on my company computer. Somehow I managed to snake through corporate restrictions on administration settings and WSL had practicaly full access to system. I even managed to make xserver and GUI apps working :-)

    [–] [email protected] 5 points 1 year ago (1 children)

    These days you don't even need to do that, thanks to the wslg project microshaft has developed it has Wayland and pulseaudio inbuilt.

    load more comments (1 replies)
    [–] [email protected] 7 points 1 year ago

    I use WSL2 for my work and sometimes I feel like it's magic.

    I'm using ksniff against a docker container running on a supervised kubernetes node subsystem of a virtual server running inside a huge server which is clustering to a kubernetes cluster with other vms on other huge servers, which sniffes the traffic through my Linux WSL and this then forwards the traffic to a Wireshark instance running on the windows host without any problems.

    [–] [email protected] 6 points 1 year ago

    Recently having a conversation with a man who thinks that Windows is superior because of WSL, Linux "is just an executable in Windows".

    Of course, he's trolling, yet this is a high level of trolling. Because after that his windows installation went into reboot due to updates 🤣 .

    [–] carl_dungeon 6 points 1 year ago

    It was the only way Microsoft could envision serious cloud devs taking windows seriously at all- not that it worked, but going to AWS re:invent and seeing 7000 MacBooks for every 1 rando win/pc must have been writing on the wall. I’m a Mac user, but everything I build in the cloud is Linux- for me, osx is close enough with gnu tools to be a good compromise between a userland I like and compatibility I need. Trying to use a windows box to do anything without WSL is like pulling god damned teeth.

    [–] Flemmy 4 points 1 year ago

    That's funny, I did the opposite - I got used to developing on osx, then Linux, but that was always on my work computer - my desktop has always been Windows (I'm still using the same license and chassis from the computer I bought in high school a decade and a half ago).

    Then I burnt out hard, and started picking up contracts here and there, but didn't have the money to pick up a second computer powerful enough for gaming or work. So I ran virtualbox and avoided cmd like the plague for a while... It was driving me nuts, so I made plans to run Linux with Windows in a hypervisor - I was looking at pci passthrough so I could give it direct access to the graphics card.

    But then wsl came out and it just didn't seem as important. Even as Linux gaming has grown, I just haven't felt the need to switch... It's sometimes finicky and setting everything up on a new computer is a pain, but the only time I considered switching one of my machines over is setting up LLMs - that was a real pain to coax into working, and it'd run better on Linux

    load more comments
    view more: next ›