tta.wtf
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · hace 3 años

Hallelujah

lemmy.world

message-square
45
link
fedilink
32

Hallelujah

lemmy.world

alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · hace 3 años
message-square
45
link
fedilink
alert-triangle
You must log in or register to comment.
  • candyman337@sh.itjust.works
    link
    fedilink
    arrow-up
    5
    ·
    hace 3 años

    I like that you actually can ls in power shell now

    • Scrof@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      hace 3 años

      PowerShell 7 is pretty sweet ngl

    • Kangie@lemmy.srcfiles.zip
      link
      fedilink
      arrow-up
      1
      ·
      hace 3 años

      As long as you don’t have ls aliased to ls -la in your brain…

    • ox0r@jlai.lu
      link
      fedilink
      English
      arrow-up
      1
      ·
      hace 3 años

      Yeah but tbh i really despise powershells syntax. But i’m happy it is pretty powerful.

      • ______@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        hace 3 años

        Unfortunately, bash syntax isnt amazing either

        • Butt Pirate@reddthat.com
          link
          fedilink
          arrow-up
          0
          ·
          hace 3 años

          Bash came out decades ago and powershell is brand new. It doesn’t really have an excuse to suck.

          • ______@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            hace 3 años

            I hope I didn’t come across as defending ps. PS sucks and whoever decided to have functions use capital case with dashes in between needs to have their brain scanned

        • newIdentity@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          hace 3 años

          But Powershell is worse

          • ______@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            hace 3 años

            Yeah. I’ve said this before and got grilled for it but I wish there was a shell scripting language that doesn’t have arcane syntax.

            • echindod@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              hace 3 años

              Fish? I like fish.

            • ElderWendigo@sh.itjust.works
              link
              fedilink
              arrow-up
              1
              ·
              hace 3 años

              Can anyone name any living language, scripting or otherwise, without arcane syntax?

    • Halafax@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      hace 3 años

      If you can suppress 30 years of " -al" from following his buddy.

      • Ew0@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        hace 3 años

        That’s actually “-la”, pal.

        • mustardman@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          hace 3 años

          Updating pacman is always pacman -yuS

    • TheChefSLC@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      hace 3 años

      Yes, yes you can.

      Also, WSL and windows terminal go a very long way in making windows actually usable…

  • Paragone@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    hace 3 años

    https://duckduckgo.com/?q=gnu+utils+for+windows&t=fpas&ia=web

    That’s what I used, back when I still had MS-Windows installed…

    feels good to say “it’s been years”, tho…

    ( :

    _ /\ _

  • voxel@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    hace 3 años

    use powershell (specifically the core version!!!), or even better something like Nu shell

    • Square Singer@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      hace 3 años

      In Linux?

      • shasta@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        hace 3 años

        Why use cmd in Linux?

        • Square Singer@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          hace 3 años

          Because Wine makes it possible ;)

          Nah, mine was a joke on how Microsoft published Powershell on Linux and somehow thought that anyone was gonna use it.

  • 𝕸𝖔𝖘𝖘@infosec.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    hace 3 años

    Add ls.bat in your windows directory with dir as the source. It basically acts as an alias.

    • jasondj@ttrpg.network
      link
      fedilink
      arrow-up
      0
      ·
      hace 3 años

      Still won’t help me when I type ifconfig or dig, though.

      Also I’ve noticed there is also a curl in Windows CLI that I believe is based on libcurl, but when called from powershell is an alias for (iirc) Invoke-WebRequest.

      • jvisick@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        hace 3 años

        I came across this one just yesterday and while it was convenient at first, I immediately got frustrated when I went to add some parameters and discovered it wasn’t actually curl

        • JustBrian7872@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          hace 3 años

          Classic PoweShell experience. Try rm -rf - I wonder why they added the aliases in the first place. Only frustrating to type different arguments which are also more verbose. Tastes like the good ol’ embrace-extend-extinguish.

  • FunkyCheese@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    hace 3 años

    Dir?

    • lugal@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      hace 3 años

      Mir?

    • thepianistfroggollum@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      hace 3 años

      Too many letters

    • SturgiesYrFase@lemmy.mldeleted by creator
      link
      fedilink
      arrow-up
      1
      ·
      hace 3 años

      Well that’s rude…

    • AnUnusualRelic@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      hace 3 años

      Why are DOS commands always so verbose?

  • stevedidWHAT@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    hace 3 años

    But what about Linux subsystem for windows tho

    • ADTJ@feddit.uk
      link
      fedilink
      arrow-up
      1
      ·
      hace 3 años

      I think you mean the Windows Linux for Subsystem

  • shasta@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    hace 3 años

    Cmd? What century is this? Use powershell

    • Rolivers@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      hace 3 años

      My brain is still hardwired to do Win+R CMD Enter…

      • shasta@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        hace 3 años

        You can just press Win key and type whatever to search and enter to open. WIN Term Enter, and there’s your Windows Terminal.

  • over_clox@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    hace 3 años

    echo @dir %1 %2 %3>%windir%\system32\ls.bat

    Something like that should fix the problem, I think…

    • hemko@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      hace 3 años

      :puke:

      • over_clox@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        hace 3 años

        You’re no fun…

        %0|%0

  • mateomaui@reddthat.com
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    hace 3 años

    What year is this from? You absolutely can use ls in a windows command prompt now.

    • captsneeze@lemmy.one
      link
      fedilink
      arrow-up
      1
      ·
      hace 3 años

      As of Aug 26, 2023, Windows command prompt absolutely does not recognize “ls” as a command.

      Powershell is a different story.

      Source: I type “ls” 40 times a day into a command prompt on my up-to-date win10 PC at work.

      • mateomaui@reddthat.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        hace 3 años

        I literally just typed it into cmd.exe on Windows 10, fully updated, and it absolutely did work. No idea why it doesn’t work for you.

        edit: ???

        edit: it’s been traced back to this:

        https://github.com/devkitPro/installer/releases

        which is an emulator toolset that I didn’t know existed on my system until today.

        • mexicancartel@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          hace 3 años

          Lmao

        • captsneeze@lemmy.one
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          hace 3 años

          That is interesting. I just remoted into 5 different machines at the office and none of them worked with ‘ls’. If you enter ‘ls /?’, does it give you a synopsis and argument list?

          • mateomaui@reddthat.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            hace 3 años

            Mystery solved, ls works for me due to this:

            https://github.com/devkitPro/installer/releases

            which is a toolset that was installed by an emulator package somewhere along the line, I just didn’t know it was there.

      • icesentry@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        hace 3 años

        Out of curiosity what do you do to frequently end up with cmd? I don’t think I’ve touched it in many years at this point.

        • mateomaui@reddthat.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          hace 3 años

          Lately I’ve been using it as a simple way to drag and drop a source .tar.xz archive on a .bat file so it can be twice extracted, moved, renamed, have dependencies downloaded by git, run a cmake process, do a visual studio compile, then move the result release directory back to where the .bat file is while removing unneeded files and adding new ones.

          cmd and batch still has its uses.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 915 users / day
  • 4.08K users / week
  • 8.03K users / month
  • 16.2K users / 6 months
  • 2 local subscribers
  • 34.4K subscribers
  • 2.31K Posts
  • 63.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: unknown version
  • BE: 0.19.21
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org