Off-and-on trying out an account over at @tal@oleo.cafe due to scraping bots bogging down lemmy.today to the point of near-unusability.

  • 220 Posts
  • 7.56K Comments
Joined 2 years ago
cake
Cake day: October 4th, 2023

help-circle




  • While I agree that I don’t think that an LLM is going to do the heavy lifting of making full use of Rust’s type system, I assume that Rust has some way of overriding type-induced checks. If your goal is just to get to a mechanically-equivalent-to-C++ Rust version, rather than making full use of its type system to try to make the code as correct as possible, you could maybe do that. It could provide the benefit of a starting place to start using the type system to do additional checks.


  • tal@lemmy.todaytolinuxmemes@lemmy.worldIt's really not that hard!
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    21 hours ago

    Most of that is setting up third-party apt repos, which I don’t believe is necessary. Steam’s in the Debian trixie repo.

    https://packages.debian.org/stable/steam

    EDIT: I’d guess that the following would probably work on a Debian trixie system:

    If you have your system set up for only 64-bit packages, you’d need this at some point prior to the install, to let your system use 32-bit packages, since Steam’s only available as a 32-bit binary:

    $ sudo dpkg --add-architecture i386
    

    I think that deciding whether to use both 64-bit and 32-bit packages or not is an option in the Debian installer, but I might be misremembering.

    You can update your list of packages at this point, upgrade, all that, but that goes for any install operation; there’s nothing specific to Steam there. If you’ve just added 32-bit packages for the first time above, then you probably do want to update the list of packages, since your system won’t have a list of 32-bit packages yet.

    $ sudo apt update
    

    But then it’s just like any other installation of software.

    $ sudo apt install steam
    

    That actually just contains, as I recall, the Steam installer — enough to pull down and install the current Steam environment for a given user, which happens next time you run the Steam binary.

    $ steam
    

    EDIT2: I guess that assumes that you do have “contrib” enabled on the Debian repo, and I don’t know whether that’s enabled by default by the Debian installer or whether it’s an option during install or what. I do distinctly remember one point in time when “non-free-firmware” was not enabled by default, because I always had to turn it on to get support for <random hardware device with closed-source firmware blobs>, but I don’t know whether contrib is always enabled or not. I have main, contrib, non-free, and non-free-firmware enabled. From /etc/apt/sources.list.d/debian.sources:

    Types: deb deb-src
    URIs: http://mirror.i3d.net/debian/
    Suites: trixie
    Components: main contrib non-free non-free-firmware 
    Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
    

  • Well, there sort of was a war, but it was conducted by a Protestant group that famously helped settle America, the Puritans.

    https://en.wikipedia.org/wiki/Christmas

    However, in 17th century England, some groups such as the Puritans strongly condemned the celebration of Christmas, considering it a Catholic invention and the “trappings of popery” or the “rags of the Beast”.[50] In contrast, the established Anglican Church “pressed for a more elaborate observance of feasts, penitential seasons, and saints’ days. The calendar reform became a major point of tension between the Anglican party and the Puritan party”.[51] The Catholic Church also responded, promoting the festival in a more religiously oriented form. King Charles I of England directed his noblemen and gentry to return to their landed estates in midwinter to keep up their old-style Christmas generosity.[42] Following the Parliamentarian victory over Charles I during the English Civil War, England’s Puritan rulers banned Christmas in 1647.[50][52] Oliver Cromwell even ordered his troops to confiscate any special meals made on Christmas Day.[53]

    Protests followed as pro-Christmas rioting broke out in several cities and for weeks Canterbury was controlled by the rioters, who decorated doorways with holly and shouted royalist slogans.[50] Football, among the sports the Puritans banned on a Sunday, was also used as a rebellious force: when Puritans outlawed Christmas in England in December 1647 the crowd brought out footballs as a symbol of festive misrule.[54] The book, The Vindication of Christmas (London, 1652), argued against the Puritans, and makes note of Old English Christmas traditions, dinner, roast apples on the fire, card playing, dances with “plow-boys” and “maidservants”, old Father Christmas and carol singing.[55] During the ban, semi-clandestine religious services marking Christ’s birth continued to be held, and people sang carols in secret.[56]

    Christmas was restored as a legal holiday in England with the Restoration of King Charles II in 1660 when Puritan legislation was declared void, with Christmas again freely celebrated in England.[56] Many Calvinist clergymen disapproved of Christmas celebrations. As such, in Scotland, the Presbyterian Church of Scotland discouraged the observance of Christmas, and though James VI commanded its celebration in 1618, attendance at church was scant.[57] The Parliament of Scotland officially abolished the observance of Christmas in 1640, claiming that the church had been “purged of all superstitious observation of days”.[58] Whereas in England, Wales and Ireland Christmas Day is a common law holiday, having been a customary holiday since time immemorial, it was not until 1871 that it was designated a bank holiday in Scotland.[59] The diary of James Woodforde, from the latter half of the 18th century, details the observance of Christmas and celebrations associated with the season over a number of years.[60]

    As in England, Puritans in Colonial America staunchly opposed the observation of Christmas.[61] The Pilgrims of New England pointedly spent their first December 25 in the New World working normally.[61] Puritans such as Cotton Mather condemned Christmas both because scripture did not mention its observance and because Christmas celebrations of the day often involved boisterous behavior.[62][63] Many non-Puritans in New England deplored the loss of the holidays enjoyed by the laboring classes in England.[64] Christmas observance was outlawed in Boston in 1659.[61] The ban on Christmas observance was revoked in 1681 by English governor Edmund Andros, but it was not until the mid-19th century that celebrating Christmas became fashionable in the Boston region.[65]




  • I remember banging on updating controller firmware using Windows VMs (in my case, with XBox controllers) and didn’t get it working after some time, though theoretically it should be possible.

    Just using an Internet-connected console is all it takes, so if you know anyone that has one, that’s probably a more convenient route.

    I kind of wish places like GameStop would offer this as a service or let people do it, since they have demo consoles sitting there anyway (or did last time I was in one).

    It’d be nice if Sony and Microsoft went out of their way to support fwupd, but I suppose in Microsoft’s case it’s a direct competitor (with Steam on Linux) and in Sony’s case, probably niche enough that they don’t see much point. Sony’s trying to make money on selling access to make games for their console, not selling controllers.





  • https://en.wikipedia.org/wiki/Zram

    One of the mechanisms for compressing memory in Linux. Trades CPU time for effectively having more RAM Recent versions of Fedora apparently have it on by default.

    I’ve read that zswap, another mechanism, is preferable on newer systems with NVMe/SSD, where paging isn’t as painful; that only compresses pages going to swap, but requires that you actually have some swap. I haven’t used either.

    Probably someone should try benchmarking them for various workloads if systems are going to be running on much less memory for a while. Was more of an edge case thing that not many people cared about, but if operating with less memory is suddenly more important, might have broader interest.

    On Linux, also possible to opt for lighter-on-memory versions of a lot of software that you’re kinda committing to using the Microsoft-provided version of on Windows. File browser, compositor, etc.








  • I can see them.

    One current post: https://feddit.org/post/23365206

    Has:

    https://feddit.org/pictrs/image/9b0b902a-b626-4e26-aed1-341f2ff9cd5c.jpeg

    If you can’t see that, then it’s most-likely some sort of content-blocking firewall on your end (which your ability to see the thing via VPN would support).

    EDIT: Lemmy home instances can be set to act to proxy images; lemmy.today, which I use, does this. This is intended to provide users with that home instance with privacy from having their IP visible to whoever is serving images. However, a side effect: if you have an account on that as your home instance, it should download the image, then serve it to you, and if you can view images on that host, then you should be able to see images originating from feddit.org; as far as your ISP knows, you’re just talking to lemmy.today.

    It looks like lemmy.world isn’t presently proxying images for its users; it does require some bandwidth and storage space on the home instance, so not all Lemmy home instances do that. If you pick an instance that does have proxying of images available, that may work around the problem without requiring VPN use (unless your ISP/business/whatever starts blocking images on this new home instance).