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/)LE
levi @aussie.zone
Posts 2
Comments 25
Andrew Forrest calls for fossil fuel bosses' 'heads on spikes' in extraordinary outburst
  • It's not all bad news.

    West Aus is getting big into renewable hydrogen. Basically using solar farms to crack hydrogen from sea water.

    Last time I read up about it there were three new cracking facilities under development.

    The whole process seems so magical to me as a non-science person, basically selling sun & sea water as a form of energy that for all intents and purposes has no waste products.

  • Andrew Forrest calls for fossil fuel bosses' 'heads on spikes' in extraordinary outburst
  • what exactly makes him think he’ll be spared?

    I don't really know anything about this but... the article says he acknowledges that his own companies are prominent greenhouse gas emitters, he is investing $6b to improve his companies, and that he has large investments in renewables as well.

    IDK how true that is, but thats what it says.

  • *Permanently Deleted*
  • It looks like this is a handlebars helper.

    Handlebars is a temptating language.

    I've never used handlebars but I'm guessing this is syntactic sugar for non-programmers. Like:

    <div>{{if is-even myVariable}} it's even {{else}} it's odd {{endif}}</div>
    
  • Meta faces permanent ban on targeted ads across Europe
  • This is awesome but I don't really understand.

    The purported issue is that they don't have explicit consent for some data points. They apparently responded by saying they were going to charge a subscription.

    Why wouldn't they just get consent? I'm sure most fb users will just agree to anything put in front of them.

  • Cybercriminals publish personal details of thousands of donors to Australian charities on the dark web
  • It’s a pretty well known fact at the moment.

    It's 100% bullshit mate.

    Large charities are regularly audited by independent third parties to ensure that they're well governed, which would include adherence to the Australian Privacy Principles as defined by the Privacy Act, which preclude the sale of sensitive personal information.

    Pull your head out of your ass. Perhaps you personally do not want to donate to charities and are looking for a way to justify that to yourself - which is perfectly fine, but it's not fine to try to convince others not to donate to charities. Honestly, shame on you. Pull your head out of your ass.

  • I Made a Lemmy Comment Loader for Static Sites
  • You're right, this tool isn't designed to address this problem and is ill-suited.

    Lemmy should definitely render a static page and then "hydrate" that with JavaScript in the client. This is a common problem with modern js apps. SSR (server side rendering) is the solution but it can be very complex. You really need to build the whole app with SSR in mind, it's not really something to bolt on as an additional feature at the end.

  • I Made a Lemmy Comment Loader for Static Sites
  • Sadly no, it won't help in that way either (although that wasn't the intent).

    The lifecycle of a webpage in a browser is something like:

    • download page - includes text content, and links to other resources like format, logic (javascript), and images
    • start downloading other resources
    • render text, and other resources as they arrive
    • start manipulating page with javascript, which in this case includes a final step
    • download lemmy post and render that, including the post, comments, and a link to the original post.

    When google and others crawl the web looking for data to include in search they generally only index content from step 1, so it would only see the parameters passed to LBS (shown as "declaration" in the demo), and would not see anything rendered by LBS.

    This is the "static" nature of static sites. The page downloaded by the browser is not built on request, rather it's only built periodically by the author - usually whenever they have an update or another post. I haven't posted anything on my blog in months so the pages wouldn't have been re-built during that time. There are benefits to this strategy in that it's very secure, very robust, very fast, and very easy to host, but the disadvantage is that any dynamic or "up to date content" (like comments from lemmy) need to be prepared by the client and thus can not be included in step one above and indexed in search.

    There is a best of both worlds approach (SSR) where you could render all the comments when a page is originally built, and then update it when the client later renders the page. This means there's at least something for search indexers to see even if it's not up to date. The problem here is that there's a plethora of different engines which people use to build pages and I can't make a plugin for all or even a few of them.

    With all that in mind, this is fantastic feedback, and why I posted this pre-alpha demo. Lots of commenters have said the same thing. I can re-factor to at least make SSR easier.

  • I Made a Lemmy Comment Loader for Static Sites
  • That's not really possible because there's no way to know which instance to direct someone to. No point directing them to an instance where they don't have an account.

    Also I don't think showing buttons like upvote which just redirect to another page is a good UX at all.

  • I Made a Lemmy Comment Loader for Static Sites
  • a lemmy post along with its comments can become static content on a static web page of your choice

    This isn't quite right. The "static web page" (the pre-rendered page) doesn't include the Lemmy post or comments. When your browser renders the static page, the browser will then pull down the lemmy comments.

  • Australia’s internet providers are ditching email, to the disgust of older customers
  • It's going to continue to work, it's just going to be either paid or ad supported.

    Just because a particular service was previously provided for no additional charge, does not mean it has to be so in perpetuity, given that the vast majority of subscribers aren't using the service any longer.

  • I Made a Lemmy Comment Loader for Static Sites

    This is a great way to include comments and discussion on a static site. Take a look at the demo.

    4
    My Set Up For Work-From-Library Day
  • Silence is not really a priority, I just don't want to be obnoxiously loud.

    There's signs up in this library saying that it's not a quiet area, noise is ok and expected. There are people on the phone / video calls et cetera.

  • ThinkPad @lemmy.ml levi @aussie.zone

    My Set Up For Work-From-Library Day

    21