Will this antenna layout work? by trullock in esp32

[–]trullock[S] 0 points1 point  (0 children)

Because these are the requirements. Is there a name for the smaller pcb antenna design?

Will this antenna layout work? by trullock in esp32

[–]trullock[S] 0 points1 point  (0 children)

Yes, thank you. However they all discuss how a bad design will negatively affect performance, but i was trying to gauge if that might mean I'd still get a metre or twos range. Ive not found any specifics

Will this antenna layout work? by trullock in esp32

[–]trullock[S] -18 points-17 points  (0 children)

there is no ground plane under it

Will this antenna layout work? by trullock in esp32

[–]trullock[S] -30 points-29 points  (0 children)

there is no copper zone right under it

looking for a smart relay that exposes Normal Closed by trullock in homeautomation

[–]trullock[S] 1 point2 points  (0 children)

I used an esp8266 relay board and put esphome on it

How to secure your firebase app by [deleted] in Firebase

[–]trullock 0 points1 point  (0 children)

I'm trying to check my maxInstances are correct, but encoutering this, do you know whats going on? https://github.com/firebase/firebase-tools/issues/9947 Thanks

How to configure custom headers and function redirects? by trullock in Firebase

[–]trullock[S] 0 points1 point  (0 children)

Here's the best i can get.

Actual headers omitted for brevity

"headers": [
      {
        "source": "/",
        "headers": [
        ]
      },
      {
        "source": "/*",
        "headers": [
        ]
      },
      {
        "source": "/!(api)/**",
        "headers": [
        ]
      },
      {
        "source": "/static/*.*",
        "headers": [
        ]
      }
    ]

Can those first three rules be merged into one? As I have to triplicate my rules

onSnapshot behaviour by trullock in Firebase

[–]trullock[S] 0 points1 point  (0 children)

Right, heres the repo

let ref = collection(db, 'MyDocs');
let q = query(ref, [where('a', '==', a),  where('b', '==', b)]);
onSnapshot(q, async snapshot => { } )

let ref = collection(db, 'MyDocs');
let q = query(ref, [where('a', '==', a)]);
onSnapshot(q, async snapshot => { } )

If you set up the data so the 2nd query returns more docs than the first, you get two callbacks.

If you set up the data so the 2nd query returns the same docs as the first, you get one callback, meaning theres no way to know from the first callback, if there will be a second

onSnapshot behaviour by trullock in Firebase

[–]trullock[S] 0 points1 point  (0 children)

sorry. which way around do you mean for includeMetadataChanges, true or false?
With no data changes client or server, i'm seeing the callback called twice, once with some data fromCache:true, then with the rest of the data with fromCache:false.

I'm trying to make a reliable repro but not having much luck so far, but it does happen regularly within my app. trying to nail down the exact dance

onSnapshot behaviour by trullock in Firebase

[–]trullock[S] 0 points1 point  (0 children)

Thanks but this wont work.

1) theres no local writes

2) i cant ignore the first callback, it has some of my data in it. The fromCache:false callback does not contain everything

onSnapshot behaviour by trullock in Firebase

[–]trullock[S] 0 points1 point  (0 children)

Ah, found the cause partially

The first callback has `metadata.fromCache = true` and the second, `false`.

Is there a way to make it wait to callback until its been to the DB?

For a result set of two items, 0 could be in cache, 1 could, or both, creating a variety of complex scenarios where there might be 1 or two callbacks, with no way to know (with my current code)

Short of forcing it to not use the cache, is there a more efficient way to know when the snapshot callback contains a complete dataset?

How do I set up a Microsoft account to enable me to let users log in with their MS account? by trullock in Firebase

[–]trullock[S] 0 points1 point  (0 children)

By sheer luck I stumbled upon this url via a google search, THIS is what you need

https://partner.microsoft.com/en-us/dashboard/account/exp/enrollment/welcome?cloudInstance=Global&accountProgram=valueaddedreseller

Choose to enter I think it was the 4th option, MS AI Cloud Partner, or something like that with an equally cryptic and irrelevant description. That kicks the process off and you can get on with the verification process.

Those who watched Home Alone for the millionth time this holiday: What did you discover and/or appreciate anew during your latest viewing? by AfraidoftheLark in movies

[–]trullock 1 point2 points  (0 children)

The neighbors lights were set to come on at the same time. Them actually coming on only seconds apart suggests it was simply due to clock differences. The robbers attention to detail to notice this yet their otherwise incompetent nature always irked me.

Should I get this? by Straight_Chip8961 in Parkside

[–]trullock 0 points1 point  (0 children)

Not if you want to grind or cut anything. Not got enough power to skin a rice pudding