• 0 Posts
  • 33 Comments
Joined 1 year ago
cake
Cake day: September 27th, 2023

help-circle

  • hersh@literature.cafetoLinux@lemmy.mlIs anyone using awk?
    link
    fedilink
    arrow-up
    24
    arrow-down
    1
    ·
    11 months ago

    All the time. Not always by choice!

    A lot of my work involves writing scripts for systems I do not control, using as light a touch as is realistically possible. I know for a fact Python is NOT installed on many of my targets, and it doesn’t make sense to push out a whole Python environment of my own for something as trivial as string manipulation.

    awk is super powerful, but IMHO not powerful enough to justify its complexity, relative to other languages. If you have the freedom to use Python, then I suggest using that for anything advanced. Python skills will serve you better in a wider variety of use cases.




  • I just checked to see if I missed a big update.

    There’s still no Linux client, and it cannot sync files on Android (it only supports photo backups).

    I can’t work around that limitation on Android with FolderSync, either, the way I can with Google Drive, Dropbox, Box, or any WebDAV- or S3-compatible server. Since it uses E2EE, any uploads need to go directly through the app, so integrations are difficult.

    It doesn’t seem to have a search feature, either, at least not on Android. I can’t imagine there’s any content-aware search on the web UI, since that can’t be done server-side.

    There’s been some interesting research in homomorphic encryption over the past couple years, which might someday lead to encrypted server-side search. But I think there are still major hurdles to actually implementing it securely and efficiently.


  • There are drawbacks to end-to-end encryption (E2EE). I’m not aware of any E2EE cloud storage systems that have the features Dropbox provides. I would LOVE to know of any that…

    1. Support at least the big 5 platforms (Android/iOS/Mac/Windows/Linux).

    2. Have a functional web interface.

    3. Support sharing and collaboration.

    4. Have a search feature

    5. Sync to the local filesystem on a folder-by-folder or even file-by-file basis

    6. Integrate with other tools (e.g. android file picker)

    It’s not easy to do all that with E2EE, like a functional web interface, search, and integration.

    ProtonMail’s search, for example, is limited to subject and metadata, and that’s specifically because they DON’T use E2EE for that.

    I’m willing to compromise some of this for the sake of E2EE, but I’m not at all surprised that feature-first services are more popular than privacy-first services.


  • I doubt any billionaires have that much money “sitting in a bank”.

    Most wealth is non-liquid. For example, if you found a company that becomes massive, and you maintain a controlling share, then you could be a billionaire on paper while having no real money to spend – the only way to turn that into “real” money would be to sell shares in the company, and thus lose control of it. If the company is doing good work, it could be better to retain control and act through the company, by ensuring that it pays employees good wages to do good work for the benefit of society. This is not completely incompatible with profit in theory, though in practice…yeah. I’m not sure if there are any such billionaires in the world today.

    The real problem is more fundamental to the economy, in that it fairly consistently rewards bad behavior.

    Larry Page basically became a billionaire overnight when Google went public. I don’t recall Page or Google doing anything especially evil or exploitative before that, though their success was certainly built in an unsustainable economic bubble.

    If Amazon didn’t treat its employees like shit and poison the entire economy, then Bezos could probably still be a billionaire and I wouldn’t necessarily hold that against him.


  • Steve Wozniak, co-founder of Apple.

    I don’t think he was ever a billionaire, though he’s certainly done quite well for himself. Since leaving Apple, he has founded several new companies and projects, focusing a lot on education and philanthropy. He was also involved in founding the EFF.

    He’s an engineer first and foremost, and several of his projects never achieved mainstream success, partly for being, IMHO, ahead of their time – for example, a programmable universal remote in the 80s, and a GPS-based item tracker in the early 2000s.

    As far as I know, he has never been involved in any notable scandals.



  • I wish Apple followed these rules. So many deprecations in their man pages and developer documentation have no details at all. No idea what the supposed replacement is. No idea of the underlying reasons. No idea when it will cease to function.

    This is why I still see “launchctl load” everywhere. It’s been deprecated for years, but the replacements are overcomplicated and not clearly communicated in official docs. When Apple finally pulls the plug, so much shit out there is going to break.

    When they deprecated python2, they withheld implementation details and any timeline. Then they finally axed it in a freaking minor point release, without even replacing it with python3. AAAAAAH








  • Interesting. Are there any other accounts on your phone that provide contacts? Maybe social media or other chat platforms? On Android you can see accounts in Settings > Passwords & Accounts (or somewhere similar; it varies a little between brands). You can also check inside your Contacts app by expanding the sidebar (again, varies by brand).

    Just a thought. I don’t have any other contact providers on my phone so I can’t test it myself.

    Please keep us posted if you get any official response or learn anything new!



  • I used to run Tumbleweed with KDE on my Nvidia system. I found the rolling release structure of Tumbleweed to cause extra work for me, because kernel updates came frequently and occasionally broke the Nvidia drivers. As a workaround, I ended up pinning my kernel to an old version.

    Nvidia drivers have been at least a little troublesome on every distro I’ve used, particularly with the additional CUDA libraries.

    One nice thing about Suse is that it uses BTRFS by default, and you can use snapper to revert your whole system if something goes wrong. So if Nvidia shits the the bed after an update, it’s easy to roll back. Most distros default to ext4 and do not have snapshot support by default, which feels like living in the stone age to me after using Suse and BTRFS.

    Of course you CAN set up BTRFS and snapshots in any distro, but that’s a lot to ask for a beginner with Linux. I strongly recommend choosing a distro that does that for you, like Suse.