• 4 Posts
  • 445 Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle
  • somewhat logical, but entirely in practice verb-noun command structure.

    That’s supposed to be “impractical”, not “in practice”, for others reading along.

    For example, the “proper” command to list a directory is: Get-ChildItem
    The “proper” command to fetch a webpage is: Invoke-WebRequest https://example.com/

    In these particular cases, they do have aliases defined, so you can use ls, dir and curl instead, but …yeah, that’s still generally what the command names are like.

    It’s partially more verbose than C#, which is one of the most verbose programming languages out there. I genuinely feel like this kind of defeats the point of having a scripting language in the first place, when it isn’t succinct.
    Like, you’re hardly going to use it interactively, because it is so verbose, so you won’t know the commands very well. Which means, if you go to write a script with Powershell, you’ll need to look up how to do everything just as much as with a full-fledged programming language. And I do typically prefer the better tooling of a full-fledged programming language…


  • Ephera@lemmy.mltoLinux@lemmy.mlLinux security
    link
    fedilink
    English
    arrow-up
    37
    ·
    4 days ago

    I just want to say that you’re probably worrying too much about it. Of course, there is lots of things one can do to improve security (which the others here are listing dutifully) and it is foolish to just assume that one’s computer is entirely secure, because as a user, you will always have the ability to bypass that.

    But there’s a pretty firm consensus in the IT industry that Linux is more secure than Windows. And that the popular Linux distributions are more trustworthy organizations than Microsoft.

    So, it’s good to inform yourself, but if you survived on Windows, you at least should not worry about the Linux side of things. It’s more than fine.



  • You technically didn’t ask for them, but presumably this goes hand-in-hand with reduce and reuse as first steps, which would have perhaps a more visible impact.

    Reduce means to cut back on the amount of products we produce in the first place, particularly also the trash being used for packaging.
    This would require:

    • More craftsmanship. Instead of buying a new jeans when your pants have a hole, you’d sew them.
    • More robust, repairable products. Don’t need to throw away the whole phone due to a broken screen when it doesn’t break in the first place or if you can get the screen replaced.
    • More sharing. Not every household needs their own car or toolbox or whatever, if you can share them with your neighbors.
    • There would be more shops that sell products unpackaged, where you bring your own containers to fill.

    Reuse means to sell products in glass jars, metal boxes or similar, which can be washed out and filled anew.
    This would require:

    • Some container-deposit system, so that you can bring your emptied glass jars etc. back to the shops and the shop sends it back to the producer.
    • In that vein, there would need to be a tax on non-reusable packaging to finance the recycling or safe deposition of it.
    • Some products would probably be sold in larger quantities or not anymore, because they just aren’t sustainable, if you make them pay their environmental costs.

    As for recycling, i.e. breaking the thing down and creating a new thing, it’s unlikely that we would ever reach 100% with it alone, at the very least because it’s more effort than reduce and reuse.
    But to improve our rates, there is a whole load of products currently being sold in plastic, which could be sold in paper or wood, if glass jars or metal boxes don’t work there.

    In a hypothetical world, where we could have 100% effective recycling without giving a toss about reduce and reuse, then I guess, we’d have a garbage disposal system which funnels right back into a massive 3D printer.



  • In that vein, I guess, “The Sound of Silence” by Simon and Garfunkel also deserves a mention, even if it’s up for interpretation how depressing the lyrics by themselves are.

    But the first line in the song is “Hello darkness, my old friend / I’ve come to talk with you again.” and there is a cover version by the metal band Disturbed, which has no shame to really lean into that sort of vibe.

    And yeah, after having heard the Disturbed version, listening to the original certainly feels like there is a massive disconnect between how sad the song perhaps should be and how upbeat the original is.








  • Well, on desktop I’m actually quite happy with that setup. I like writing with my default editor, because I know all the keyboard shortcuts. And apparently, you can configure Joplin to use an external editor, but then I don’t know what it adds. I also really don’t want to be running an Electron app at all times.

    On mobile, I might have more of a use for it. In particular, I need reminders there. But I’m not happy with the sync format that it uses. It adds a lot of metadata and additional files, and names the note files with UUIDs. I’m guessing, it will likely also not be able to load files that I’ve created on my desktop by hand, because those will be missing all the metadata.
    So yeah, if I get desperate, this might be another choice in the future, but not for now.



  • They do offer their “Copilot Workspaces”, where you can basically tell a chatbot to make changes to a GitHub repo and directly open a pull request, without having to check out the repo or install the language tooling.
    This might sound good, but we’re talking you get PRs which don’t even compile. Where you spend more time sighting the PR for malicious code before you send it off to CI/CD than they did copy-pasting the issue text into a chatbox.

    And I would attribute it to individual stupidity, if this wasn’t exactly how Microsoft’s ad video presents it. You’ll inevitably get young coders who believe it, because the magical chatbot is really good at solving their homework.





  • Ephera@lemmy.mltoTechnology@lemmy.mlSigning in on Microsoft
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 month ago

    That’s a bug in web Outlook. You can work around it by deleting cookies from Outlook before logging in. On Firefox, I always press Ctrl+Shift+H, search for “outlook” and then right-click on an entry → Forget About This Site.

    Don’t ask me why it takes so long for them to fix it…


  • Ah yeah, that didn’t make a ton of sense. To some degree, I wanted to say that it may show up in various config files, which you’re right, I could template with a shell script.

    But then I’m using Nix for scripting, which has a concept that everything should be defined in the repo, so you shouldn’t have dependencies on external state like $HOME or $USER.

    I’m still working out to what degree that’s actually necessary/useful (and I do have a workaround, so I don’t need to check in my username). But I’m guessing, it comes partially from the ‘proper’ thing being NixOS, where you define the whole OS in your configuration, so you would need to type out at some point anyways, what the user should be called, so that it can create it.