https://discord.cloudflare.com logo
Join Discord
Powered by
# workers-discussions
  • p

    paninizer

    04/14/2023, 10:17 PM
    Don't worry
  • s

    simons

    04/15/2023, 2:50 AM
    Is it possible to pass data to firebase database inside cloudflare worker
  • l

    lgraz

    04/15/2023, 3:14 AM
    https://blog.cloudflare.com/exploring-webassembly-ai-services-on-cloudflare-workers/ Is anyone aware of an example repo of model inference from workers as described in this blog post? I'm interested in trying this out.
  • h

    HardAtWork

    04/15/2023, 7:50 AM
    IIRC, Workers AI, both the GPU integration and the WASM compilation is no longer supported. You might be able to get it running yourself using a custom compiler, but afaik, there aren’t any official examples
  • l

    lgraz

    04/15/2023, 8:02 AM
    It seems from this post it should be possible just with the wasm API. I'll give it a shot and report back.
  • h

    HardAtWork

    04/15/2023, 8:04 AM
    I mean it technically is, it is just converting your ML model to WASM that’s the issue
  • c

    chientrm

    04/15/2023, 9:38 AM
    This is a route in module worker, in this case, is it possible for the client to trace back my original
    flyworker
    server? 🤔
  • t

    Tom Sherman

    04/15/2023, 9:54 AM
    You're forwarding all HTTP headers to the client but not the IP or anything
  • t

    Tom Sherman

    04/15/2023, 9:54 AM
    HTTP headers can sometimes reveal information about a server
  • c

    chientrm

    04/15/2023, 9:55 AM
    the
    flyworker
    server is an expressjs server. 🤔
  • t

    Tom Sherman

    04/15/2023, 9:57 AM
    If you're in control of the server I wouldn't worry, if it's a third party service then I might consider only forwarding the required headers if I was worried about it
  • c

    cooper | Meme Dev ☁

    04/15/2023, 11:10 AM
    can i import python libraries when writing in python and transpiling to js?
  • c

    chientrm

    04/15/2023, 11:16 AM
    will worker buffers the
    fetch
    respawn? it's an response text stream 🤔
  • t

    Tom Sherman

    04/15/2023, 11:17 AM
    no
  • c

    chientrm

    04/15/2023, 11:21 AM
    I got a timeout error at client but worker log is http 200 🤔
  • h

    HardAtWork

    04/15/2023, 11:28 AM
    Sure, as long as they don’t call any APIs that are incompatible with Workers
  • j

    jeffo

    04/15/2023, 1:45 PM
    why does
    wrangler kv:namespace create NAME
    prepend
    worker-
    to a namespace, while creating a namespace in the workers dashboard does not? 🤔
    Copy code
    ⛅️ wrangler 2.15.1 
    --------------------
    ▲ [WARNING] No configured name present, using `worker` as a prefix for the title
    🌀 Creating namespace with title "worker-NAME"
    ✨ Success!
  • e

    Erisa | Support Engineer

    04/15/2023, 1:49 PM
    if youre in a directory with a wrangler.toml, it prepends the name of the worker (probably so you can find the namespace easier)
  • j

    jeffo

    04/15/2023, 1:50 PM
    ah, okay – this is for a pages functions project , so there's no worker or wrangler.toml.
  • e

    Erisa | Support Engineer

    04/15/2023, 1:51 PM
    Ah yeah - thats good feedback then, it does seem a bit strange
  • e

    Erisa | Support Engineer

    04/15/2023, 1:51 PM
    most likely the functionality predates the existence of pages projects
  • e

    Erisa | Support Engineer

    04/15/2023, 1:52 PM
    I would probably report it on so someone can triage and see whether it needs adjusting
  • j

    jeffo

    04/15/2023, 1:55 PM
    okay, will try to do that if i have time. there are a bunch of typos and mistakes in the wrangler -> commands documentation, so hopefully someone is going to proofread and correct them soon. e.g. under
    kv:key put
    the action refers to
    delete
    https://developers.cloudflare.com/workers/wrangler/commands/#put
    Copy code
    --binding 
      The binding name of the namespace, as stored in the wrangler.toml file, to DELETE.
    --namespace-id 
      The ID of the namespace to DELETE.
  • j

    jeffo

    04/15/2023, 2:00 PM
    thanks for the clarification – correctly named namespace is good to go now 🙂
  • d

    dave

    04/15/2023, 2:44 PM
    Is anyone else here using Wasabi with a Cloudflare Worker? I noticed sometimes I'm getting a 403 with
    Account Connection Limited
    as the response text.
  • b

    Benji

    04/15/2023, 4:21 PM
    does anyone here use cf-workers-status-page?
  • k

    kian

    04/15/2023, 4:25 PM
    @eidam | SuperSaaS
  • e

    eidam | SuperSaaS

    04/15/2023, 4:26 PM
    🙌
  • b

    Benji

    04/15/2023, 4:26 PM
    Heya! 😂
  • e

    eidam | SuperSaaS

    04/15/2023, 4:27 PM
    I think something is off with how cloudflare monitors kv writes - nothing has changed on the repo or in your usage (it’s the only thing there)
1...239523962397...2509Latest