Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BE
bennel @lemmy.world
Posts 0
Comments 31
It must a pain to make a Rich Textbox
  • Of course not lol. The CMS I usually use stores it as HTML in the database, so I have a go-to HTML sanitization plugin with a tag whitelist. I wish it used markdown or something similar under the hood instead, but it is what it is.

  • It must a pain to make a Rich Textbox
  • You'd save it to the database in the same field as the rest of the text. You don't store the positions or anything like that - you'd store the text with HTML and have the front end render it as expected.

    For instance, the database could have the following text:

    Hello <strong>World</strong>
    

    And the front end just renders HTML.

    Alternatively, you could store Markdown syntax if you're hesitant to allow HTML.

    EDIT: as always, if you store raw HTML, don't forget to sanitize it.

  • Two Joy-Con drift lawsuits have been dismissed after five years
  • Nintendo issued an apology in 2020 over the issue, but argued that players who purchased the items were bound by the user agreement of the Nintendo Switch and thus ineligible to participate in a class action lawsuit against the company.

    I'm not a lawyer, but this seems suspicious. How would this work? If I purchase a product in a retail store, where exactly would I sign something agreeing to give up my eligibility to participate in a class action suit? Are they trying to argue that linking the hardware to your account carries over the restriction to any hardware used?

  • Alan Wake 2 Still Hasn't Earned Back Its Budget
  • That's not a money reason or a store related reason. That's really on the developer. Mac is a different architecture. Often times Mac versions require extra development.

    Linux is gaining more ground not because of a store or the developers themselves, but because Proton makes the windows versions of games run on Linux.

    My argument was about exclusivity deals, not technical compatibility.

  • Alan Wake 2 Still Hasn't Earned Back Its Budget
  • Yes, I do realize the money goes to the same place. My argument is not that Epic should go bankrupt. My argument is that I don't want to encourage or support the Epic Store.

    "vote with your wallet" - my vote says I approve of unreal but disapprove of epic store.

  • Alan Wake 2 Still Hasn't Earned Back Its Budget
  • Okay?

    2 wrongs don't make a right. That said, Microsoft does this much less frequently than Epic and mostly just with first party games.

    Here's a list of Microsoft Store exclusives. I don't see a whole lot of triple A games on there.

    Starfield was on Steam at launch, as was Halo Infinite. Microsoft has been moving away from exclusivity. But how dare they keep Solitaire all to themselves, right?

  • Pi-Hole and Virgin Media Hub 5
  • I don't have Virgin Media Hub, but my pihole has been configured as the DHCP server for years.

    The PI's Lan cable is connected directly to the router, so connectivity isn't an issue. I rarely restart it except for routine maintenance, but yes if the PiHole goes down, then everything starts to throw connection errors. This is expected. If the router was the DHCP server and the router goes down, then you would also lose internet.

    However, since it's separate from the router, if you ever do need to take it offline, you can always explicitly set the IP configuration on a computer to bypass the pihole temporarily.

  • *Permanently Deleted*
  • One other thing to add: permanent residency is issued at the province level.

    If you're planning to move here permanently and don't speak French, don't move anywhere in Quebec. It's the only province that requires French language competency for permanent residency. In other provinces, you can acquire PR with just English.