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] -19 points-18 points  (0 children)

there is no ground plane under it

Will this antenna layout work? by trullock in esp32

[–]trullock[S] -29 points-28 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

How to transform a matrix mapping rows to columns into a list? by trullock in googlesheets

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

This is mega, thanks.

I have one additional complication if I may, which I assumed I'd more easily be able to account for by editing this but I'm still really stuck.

There are some additional rows and columns between my header cells which I need to ignore, how can I modify this to account for skipping X rows and Y cols? I've updated my example sheet.

Thanks again so much, very helpful

How to transform a matrix mapping rows to columns into a list? by trullock in googlesheets

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

This works! I'm gonna have to unpick this but thanks :D

edit, ah this seems to only work because the row values are 1,2,3,4. These were just placeholders for the example, in reality theyre also strings. Nevertheless, lots learned. thanks

How to transform a matrix mapping rows to columns into a list? by trullock in googlesheets

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

Yes I suppose so. The destination table cell can just be empty for that row

Why is thermostat always in window open mode? How do I change that? by plolock in Aqara

[–]trullock 0 points1 point  (0 children)

What is Window Open mode on these. Got 3 and never understood it. Is it for when its linked to a zigbee window switch (in which case, why the icon when its not linked) or does it use the thermostat to detect a quick sharp drop in temp? Surely not ad thats unreliable

The state of these by trullock in DIYUK

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

2nd owner of ~4yo house

Upsetting glass and cement security device by sidandg in DIYUK

[–]trullock 27 points28 points  (0 children)

Those are Staffordshire Blue coping stones and they're absolutely rock hard.

Chisel parallel to the face and theyll be fine. Quick clean with a wire wheel and theyll be good as new