• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle







  • SquiffSquiff@lemmy.worldtoTechnology@lemmy.worldThe Mac vs. PC war is back on?
    link
    fedilink
    English
    arrow-up
    33
    arrow-down
    2
    ·
    2 months ago

    If you look at the price for a Mac versus a Windows computer, I think it’s pretty obvious why people might choose a Windows device. For Linux, you really have to know where to look to buy a laptop that is shipped or warrantied with Linux. People tend to buy Windows computers because that’s what’s advertised available, familiar and in their price bracket.

    Disclaimer: my main laptop is Mac. I have a secondary one running Linux and although I have a work laptop running Windows, that wasn’t my choice and I don’t have Windows on any personal devices.


  • Coming from what looks to me like a different perspective to many of the commenters here (Disclosure I am a professional platform engineer):

    If you are already scripting your setups then yes you should absolutely learn/use Ansible. The key reasons are that it is robust, explicit, and repeatable- doesn’t matter whether that’s the same host multiple times or multiple hosts. I have lost count of the number of pet Bash scripts I have encountered in various shops, many of them created by quite talented people. They all had problems. Some typical ones:

    Issue Example
    Most people write bash scripts without dependency checks ‘Of course everyone will have gnu coreutils installed, it’s part of every Linux distro’ - someone runs the script on a Mac
    We need to pass this action out to a command-line tool, that’s obvious Fails if command-line tool isn’t available, no handling errors from tool if they aren’t exactly what’s expected
    Of course people will realise that they need to run this from an environment prepared in this exact (undocumented) way Someone runs the script in a different environment
    Of course people will be running this on x86_64/AMD64, all these third party binaries are available for that Someone runs it on ARM
    Of course people will know what to do if the script fails midway through People try to re-run the script when it fails mid-way through and it’s a mess

    The thing about Ansible is that it can be modular (if you want) and you can use other people’s code but fundamentally it runs one step at a time. You will know for each step:

    • Are dependencies met?
    • Did that step succeed or fail (in realtime!)?
    • (If it failed) what was the error?
    • (Assuming you have written sane Ansible) you can re-run your playbook at any time to get the ‘same’ result. No worries about being left in an indeterminate state
    • (To an extent) It is self-documenting
    • Host architecture doesn’t really matter
    • Target architecture/OS is specified and clear




  • So OP has posted this everywhere, even getting it flagged on Hacker News. Article is weak sauce:

    I would agree with author that there are many problems with Spotify but concentrating on the artist revenue per stream and then publishing your top hits of the year as YouTube links? Really? Go and find out what the artist share per stream is on YouTube (regular YouTube video) for soundtracks. I’ll wait. Hint: there’s a reason that soundtracks using unauthorised copyrighted work get muted or taken down rather than revenue being redistributed.

    Recommending a paid desktop MacOS music app for local content? There are hundreds of local music players but OK… but none of the criticisms of Spotify were about the client! Foobar2000 (mentioned for mobile playback) supports Spotify streaming

    Article seems to boil down to ‘I got tired of Spotify recommendations and I am an aspiring musician at an early stage in my professional career so I am recommending Bandcamp and soap boxing about artist revenue share’ . There’s a reason that people, some with local music libraries in the TeraByte range listen to Spotify. There’s also all the competing services - Apple Music; YouTube; Deezer; Tidal; Amazon; etc…

    Recommendation to OP: If you are trying to persuade people on something, then decide what point you want to concentrate on, consider the pro’s and cons for your position, and make your point based/reinforced on that. Don’t meander around a bunch of inchoate personal gripes and affections that don’t really relate to one another or any particular point.