• 0 Posts
  • 24 Comments
Joined 3 years ago
cake
Cake day: July 1st, 2023

help-circle





  • Microsoft creates thousands of tons of ewaste for no reason…

    Of course there’s a reason, you said it yourself: TPM.

    With TPM, Software will be able to cryptographically verify that the OS and Hardware are all unmodified. This’ll be an end to piracy and end to unauthorized modifications to your PC (“We’ve detected that you’ve installed an Ad Blocker, please remove it before accessing your banking website”)

    This won’t happen overnight, but the forced hardware upgrade is all about control (Microsoft over you) and creating a walled garden to drive profits (like Apple).

    You can take a look at Android’s attestation and how it prevents running your banking apps on a rooted cellphone as an example of things to come.







  • Oh my favorite is Crystal. It’s a statically compiled dialect of ruby.

    It supports:

    • Most of the ruby goodness: custom DSLs, patching classes/mixins (monkey patching instances is not supported)
    • Compile time type checking (but it also uses duck typing)
    • Coroutines / fibers that work across multiple threads (multi-thread support is still experimental, but from my experience works well)
    • Possible to create small self-contained binaries (like go-Lang apps).

    As much as I love the expressiveness of crystal, there are a few cons:

    • It’s slow to compile. Due to the dynamic nature of the language, the compiler needs to parse a lot of files (think C/C++) before it creates a binary.
    • The number of libraries is very immature at the moment. Crystal is a young language and is missing support for things like aws.
    • The library management mechism (called “shards” akin to ruby gems) is not great (in my opinion). There are helpful tools to create the scaffolding, but if you’re pretty much stuck with the defined structure. For example you cannot have a single git repo that provides a library and an application that uses it.

    Other than that, the type checking but with ruby-like syntax is awesome!

    edit: fixed formatting


  • Others have given a good description of what a launcher is.

    But my reason for why I use a custom launcher is simple : I want a consistent UI experience, regardless of whether my current (or future) android phone is a Google, Samsung, OnePlus, ect.

    For me a phone is tool, nothing more. I don’t have the time or interest to “explore” the difference in UI’s. In fact, Samsung’s Launcher (Bixby?) inferriates me the most as the default “back” and “apps” Buttons are inverted compared to many other launchers… so it messes with my muscle memory.

    With a custom launcher (I use Nova), I can restore/import my settings on any device (or custom version of android like lineage) and I’ve got the same familiar interface. Actually, Nova is quiet nice as it’ll also show you greyed-out Icons for all the apps you has on your home screen. As the apps are installed, you can start to use them. This (for me) makes moving to a new phone much easier.


  • In the US, they’re the same.

    Are you sure?

    I’ve always thought of universities as educational institutions funded (in part) by the state. So, tuition for “The University of Colorado” is partially subsided by the taxes people pay to the state of Colorado.

    Colleges are not funded by the state, therefore have a higher tuition than universities.

    At least that’s the theory. However, both universities and colleges have become so profit focused, I don’t know how much cheaper universities are now-a-days.

    I’d also argue that a university in the U.S. is more prestigious than many colleges (the exception being Ivy league schools), because universities being cheaper means a high demand for being accepted, which means applicant need “be better” to gain admittance.

    In the job market, however, you are absolutely right: college VS university - it doesn’t matter.





  • I’m curious, how would you do this in such a way that it wouldn’t come at the expense of effecting your high availability?

    If the server were on-prem or in the cloud… and the system crashed/rebooted, how would you decrypt (or add the passphrase) to the encrypted drive?.. cause the likehood of the kernel crashing or a reboot after and update is higher than an FBI raid… and it would get tiresome to have the site being down, while we wait for Bob to wake up, log in, and type the passphrase to mount the encrypted hdd.

    You could use something like HashiCorp Vault, but it isn’t perfect either. If the server were rebooted, it could talk to Vault and request the passphrase (automatically) , but this also means that the FBI could also “plug in” the server (at their leisure) and have it re-request the passphrase. … and if Vault were restarted there’s quite a process to unseal (unlock) a vault - so, it would be as cumbersome as needing to type in the passphrase on reboot.

    My point / question is: yes, encryption (conceptually) is easy, but if you look at “the whole life cycle / workflow” - it’s much more complicated and you (as an administrator) might ask yourself “does this complexity improve anything or actually protect my users?”