[–] 5 points 7 months ago

One has to include shortages of fertilizer, and the shortages of fuel that Asia faces now. As other experts point out, those shortages alone will result in demand collapses that will reach back to the US.

Some believe the US has already collapsed. We’re just experiencing the after shocks.

  • source
  • parent
  • context
  •  

    A recent survey among Quebec healthcare workers demonstrated that the cumulative risk of developing long COVID from an acute infection is 17% and increases with each infection. The estimated prevalence of long COVID in this population was 5.6%. Other research places the global risk as high as 40% among healthcare workers who have contracted an acute SARS-CoV-2 infection.
    …

    Nevertheless, many healthcare workers still don’t believe that long COVID is real, despite dramatically disabling symptoms in people with no preexisting risk factors. “The me before and the me now are such opposites,” said Pinard. “I would swim three mornings a week before going to the office. I was running 40 km. I was traveling every second week. Now I leave my house only every 2-3 months….I was where I was supposed to be [with COVID vaccination]. I was in good health. I wasn’t depressed; I wasn’t anxious.”
    …

    Hulme and other interested parties have tried to help build the infrastructure needed to provide care for patients with long COVID, but they have faced many barriers. Although the condition shares many features with fibromyalgia, myalgic encephalomyelitis/chronic fatigue syndrome, and postural orthostatic tachycardia syndrome, guidelines for those conditions could not mention long COVID by provincial government decree. “There are many, many political reasons as to why [long COVID] should not become a big deal,” said Hulme. “There are still little pockets of money for research, but they are very small.”

    [–] 11 points 11 months ago (1 child)

    Texas has power outages for days at a time. People get rocked by astronomical utility bills. Also, Texas has boil water advisories for big population centres in one of the richest states in the US.

    There’s nothing to covet here. It’s an embarrassment.

  • source
  •  

    Well, get ready to hear more about it. Forecasters say parts of Western and Central Canada are about to feel the effects of the phenomenon that brings frigid weather in the coming weeks. And it could move to Eastern Canada.

    “The European [model], the latest one, is looking like a pretty impressive cold pattern setting up,” said Judah Cohen, a climatologist at the Massachusetts Institute of Technology (MIT).

    “The cold is going to slide down east of the Rockies … you'll hear about Calgary, definitely Winnipeg.”

    Brace yourselves and be careful. A reminder from 2024:

    The number of amputations due to frostbite in Edmonton reached 110 last winter, the highest level in more than a decade, according to new data obtained by CBC News.

    But Calgary marked its second consecutive winter of declining frostbite amputations, counting roughly one-third of Edmonton's procedures last fiscal year.

    https://www.cbc.ca/news/canada/edmonton/frostbite-amputations-reached-new-high-in-edmonton-decreased-in-calgary-last-winter-1.7358413

    [–] 12 points 11 months ago

    I’d say you are confusing critical thinking with anxiety. Critical thinking is a deliberate exercise that I choose to engage in, and I might be able to do for a certain period of time. I’d suggest that critical thinking is an investment of time and energy to really understand an issue, how it’s framed, how to re-frame it. At the highest levels, critical thinking will eventually lead to where you stand on an issue, and what scenarios change your standing.

    But anxiety is something I don’t mean to engage in, and might not be able to stop. I’d agree it’s a disruption of critical thinking. It’s either a response to stress, or perhaps a force is pushing you to anxiety to break down your OODA loop (Observe, Orient, Decide, Act) and render you less effective on the field you’re playing in.

  • source
  • [–] [S] 1 point 1 year ago* (last edited 1 year ago) (1 child)

    #solved

    EDIT: 2025-10-25 at 11h29 - I deleted the Content-Security-Policy and PieFed displays images as expected.

    Reasoning

    So after crawling through some very old Reddit posts, I came across other self-hosters discussing their new found interest in Security Headers from 5 years ago (dated, yes). Among the comments was a post by pentesticals (glorious):

    quote

    Don't stress about security headers and CSP. These are there to help provide additional protection against client-side issues which may or may not be present.

    These will not have any direct impact on your services you expose, rather they aim to be a last resort to protect your browser in case an attacker tries to exploit existing vulnerabilities such as a Cross Site Scripting - but not having these does not increase the risk of your server being compromised.

    Use Nessus Essentials for scanning your services and have fun.

    https://www.reddit.com/r/selfhosted/comments/mpzl8f/any_recommendations_for_security_scans/


    I use Caddy and I can indeed see the security headers that involve CSP. How should this setting be amended?

    For what it's worth I looked over the "Using Caddy as reverse proxy" for Lemmy, and I notice that they just don't use the Content-Security-Policy option at all. I'm wondering if I should simply delete this Header for PieFed.

    https://join-lemmy.org/docs/administration/caddy.html

    Security Headers

    (security_headers) {  
      header {  
        Strict-Transport-Security "max-age=31536000; includeSubDomains"  
        X-Content-Type-Options "nosniff"  
        X-Frame-Options "SAMEORIGIN"  
        Referrer-Policy "no-referrer"  
        X-XSS-Protection "1; mode=block"  
        Permissions-Policy "camera=(), microphone=(), geolocation=(), accelerometer=(), autoplay=(), fullscreen=(), gyroscope=(), interest-cohort=(), magnetometer=(), payment=()"  
        -Server  
        -x-powered-by  
      }  
    }  
    

  • source
  • parent
  • context
  •  

    Sorry, new guy here.

    So about images, on my desktop browser, when I click just on the thumbnail to the side, I'm expecting the image to display. But the image loading graphics just keep looping without any image.

    If I click the post, the image typically displays as expected.

    On Voyager, tapping the thumbnail loads the image to the screen as expected.

    PieFed Image Loading Graphics after clicking on a thumbnail
     

    Hello!

    I wanted to move away from Reddit and started with a Lemmy instance for a few days. But, I kept on bumping into these mentions about PieFed and got curious. I figured since I just started, no harm in just spinning up PieFed. That, and once I saw Voyager was able to work with PieFed, it just seemed like a no brainer.

    I'm so very impressed, I'm just exploring everything, checking out settings, and adding new communities.

    That said I probably did something wrong in the process. I input the settings for email in .env.docker. As soon as I did, error emails arrived in batches of 5-8 at a time. I tried making sense of it myself, but I got stuck. Would anyone kindly take a look and point me in the right direction?

    Error
    Exception on /inbox [POST]
    Traceback (most recent call last):
    File "/usr/local/lib/python3.13/site-packages/requests/models.py", line 976, in json
    return complexjson.loads(self.text, **kwargs)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.13/json/init.py", line 346, in loads
    return _default_decoder.decode(s)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^
    File "/usr/local/lib/python3.13/json/decoder.py", line 345, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.13/json/decoder.py", line 363, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/local/lib/python3.13/site-packages/pyld/documentloader/requests.py", line 72, in loader
    'document': response.json()
    ~~~~~~~~~~~~~^^
    File "/usr/local/lib/python3.13/site-packages/requests/models.py", line 980, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
    requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/local/lib/python3.13/site-packages/pyld/context_resolver.py", line 143, in _fetch_context
    remote_doc = jsonld.load_document(url,
    {'documentLoader': self.document_loader},
    requestProfile='http://www.w3.org/ns/json-ld#context')
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 6583, in load_document
    remote_doc = options['documentLoader'](url, options)
    File "/usr/local/lib/python3.13/site-packages/pyld/documentloader/requests.py", line 100, in loader
    raise JsonLdError(
    ...<2 lines>...
    cause=cause)
    pyld.jsonld.JsonLdError: ('Could not retrieve a JSON-LD document from the URL.',)
    Type: jsonld.LoadDocumentError
    Code: loading document failed
    Cause: Expecting value: line 1 column 1 (char 0) File "/usr/local/lib/python3.13/site-packages/pyld/documentloader/requests.py", line 72, in loader
    'document': response.json()
    ~~~~~~~~~~~~~^^
    File "/usr/local/lib/python3.13/site-packages/requests/models.py", line 980, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 1219, in to_rdf
    expanded = self.expand(input_, options)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 870, in expand
    expanded = self._expand(active_ctx, None, document, options,
    inside_list=False)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 2302, in _expand
    active_ctx = self._process_context(
    active_ctx, element['@context'], options)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 3049, in _process_context
    resolved = options['contextResolver'].resolve(active_ctx, local_ctx, options.get('base', ''))
    File "/usr/local/lib/python3.13/site-packages/pyld/context_resolver.py", line 58, in resolve
    resolved = self._resolve_remote_context(
    active_ctx, ctx, base, cycles)
    File "/usr/local/lib/python3.13/site-packages/pyld/context_resolver.py", line 108, in _resolve_remote_context
    context, remote_doc = self._fetch_context(active_ctx, url, cycles)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.13/site-packages/pyld/context_resolver.py", line 148, in _fetch_context
    raise jsonld.JsonLdError(
    ...<8 lines>...
    code='loading remote context failed')
    pyld.jsonld.JsonLdError: ('Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.',)
    Type: jsonld.InvalidUrl
    Code: loading remote context failed
    Details: {'url': 'https://www.w3.org/ns/activitystreams', 'cause': JsonLdError('Could not retrieve a JSON-LD document from the URL.')}

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 1128, in normalize
    dataset = self.to_rdf(input_, opts)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 1221, in to_rdf
    raise JsonLdError(
    'Could not expand input before serialization to '
    'RDF.', 'jsonld.RdfError', cause=cause)
    pyld.jsonld.JsonLdError: ('Could not expand input before serialization to RDF.',)
    Type: jsonld.RdfError
    Cause: ('Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.',)
    Type: jsonld.InvalidUrl
    Code: loading remote context failed
    Details: {'url': 'https://www.w3.org/ns/activitystreams', 'cause': JsonLdError('Could not retrieve a JSON-LD document from the URL.')} File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 1219, in to_rdf
    expanded = self.expand(input_, options)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 870, in expand
    expanded = self._expand(active_ctx, None, document, options,
    inside_list=False)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 2302, in _expand
    active_ctx = self._process_context(
    active_ctx, element['@context'], options)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 3049, in _process_context
    resolved = options['contextResolver'].resolve(active_ctx, local_ctx, options.get('base', ''))
    File "/usr/local/lib/python3.13/site-packages/pyld/context_resolver.py", line 58, in resolve
    resolved = self._resolve_remote_context(
    active_ctx, ctx, base, cycles)
    File "/usr/local/lib/python3.13/site-packages/pyld/context_resolver.py", line 108, in _resolve_remote_context
    context, remote_doc = self._fetch_context(active_ctx, url, cycles)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.13/site-packages/pyld/context_resolver.py", line 148, in _fetch_context
    raise jsonld.JsonLdError(
    ...<8 lines>...
    code='loading remote context failed')

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
    File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
    File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
    File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/app/app/activitypub/routes.py", line 613, in shared_inbox
    LDSignature.verify_signature(request_json, actor.public_key)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/app/app/activitypub/signature.py", line 485, in verify_signature
    final_hash = cls.normalized_hash(options) + cls.normalized_hash(document)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
    File "/app/app/activitypub/signature.py", line 544, in normalized_hash
    norm_form = jsonld.normalize(
    document,
    {"algorithm": "URDNA2015", "format": "application/n-quads"},
    )
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 272, in normalize
    return JsonLdProcessor().normalize(input_, options)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 1130, in normalize
    raise JsonLdError(
    'Could not convert input to RDF dataset before normalization.',
    'jsonld.NormalizeError', cause=cause)
    pyld.jsonld.JsonLdError: ('Could not convert input to RDF dataset before normalization.',)
    Type: jsonld.NormalizeError
    Cause: ('Could not expand input before serialization to RDF.',)
    Type: jsonld.RdfError
    Cause: ('Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.',)
    Type: jsonld.InvalidUrl
    Code: loading remote context failed
    Details: {'url': 'https://www.w3.org/ns/activitystreams', 'cause': JsonLdError('Could not retrieve a JSON-LD document from the URL.')} File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 1219, in to_rdf
    expanded = self.expand(input_, options)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 870, in expand
    expanded = self._expand(active_ctx, None, document, options,
    inside_list=False)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 2302, in _expand
    active_ctx = self._process_context(
    active_ctx, element['@context'], options)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 3049, in _process_context
    resolved = options['contextResolver'].resolve(active_ctx, local_ctx, options.get('base', ''))
    File "/usr/local/lib/python3.13/site-packages/pyld/context_resolver.py", line 58, in resolve
    resolved = self._resolve_remote_context(
    active_ctx, ctx, base, cycles)
    File "/usr/local/lib/python3.13/site-packages/pyld/context_resolver.py", line 108, in _resolve_remote_context
    context, remote_doc = self._fetch_context(active_ctx, url, cycles)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.13/site-packages/pyld/context_resolver.py", line 148, in fetch_context
    raise jsonld.JsonLdError(
    ...<8 lines>...
    code='loading remote context failed')
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 1128, in normalize
    dataset = self.to_rdf(input
    , opts)
    File "/usr/local/lib/python3.13/site-packages/pyld/jsonld.py", line 1221, in to_rdf
    raise JsonLdError(
    'Could not expand input before serialization to '
    'RDF.', 'jsonld.RdfError', cause=cause)

    view more: next ›