Can's set zero precision to timestamp

Environment
Knex version: Knex Local version: 0.95.12
Database + version: psql (PostgreSQL) 13.4
OS: MacOS Monterey 12.0.1 (21A559)
Bug
In migration create field
t.timestamp('confirmed_at', {useTz: false, precision: 0});
     Column      |            Type             | Collation | Nullable |      Default      | Storage  | Stats target | Description
-----------------+-----------------------------+-----------+----------+-------------------+----------+--------------+-------------
 confirmed_at    | timestamp without time zone |           |          |                   | plain    |              |

Expected timestamp(0) without time zone
From PostgreSQL documentation
time, timestamp, and interval accept an optional precision value p which specifies the number of fractional digits retained in the seconds field. By default, there is no explicit bound on precision. The allowed range of p is from 0 to 6 for the timestamp and interval types.

Thanks for the report.
I check quickly and it's seems the problem occurs with precision = 0 because of that check during the column compile phase :
precision = precision ? '(' + precision + ')' : '';
I will make a fix quickly.

Released in 1.0.1.


Component - headers - desktop and mobile

To complete the first milestone of the DS, we require the following component: Headers on the mobile version.
Narrative
Add the header component to the CSS library for the desktop and mobile versions.
Desktop

Mobile

https://www.figma.com/file/c1SBfQGUU3twlW3YjeL8Sx/michelada_DS?node-id=1051%3A1299
Variantes with this component

buttons to the right
https://www.figma.com/file/TmTjBO1Ua93cm6B978ErDw/ControlMocks_21-0ct-2020?node-id=6054%3A21440
https://www.figma.com/file/TmTjBO1Ua93cm6B978ErDw/ControlMocks_21-0ct-2020?node-id=6054%3A23389

= with an input search bar to the right
https://www.figma.com/file/TmTjBO1Ua93cm6B978ErDw/ControlMocks_21-0ct-2020?node-id=6054%3A22145

Definition of done

Code review
Approved by designer
publish the component in the npm public library.

Acceptance criteria

Add the header component for desktop and mobile versions.

Hey, just to give you an idea of where this component is displayed, here is one of our mockups in Ctrl:
PTO page

I have doubts with the mobile view with added buttons next to the title:

It wouldn't be better move inputs under title and description for mobile?


Question: Should appliances in Smart HQ be found?

I am trying to integrate with Home Assistant and noticed that the devices never listed. They are listed in Smart HQ and I tried using the websocket_example.py script without success. See the log below:
2022-01-24 15:50:10,075 DEBUG    Using selector: EpollSelector
/home/tyler/gehome/examples/websocket_example.py:74: DeprecationWarning: The object should be created within an async function
  session = aiohttp.ClientSession()
2022-01-24 15:50:10,076 DEBUG    Getting OAuth2 token
2022-01-24 15:50:10,080 DEBUG    Client changed state: GeClientState.INITIALIZING to GeClientState.AUTHORIZING_OAUTH
2022-01-24 15:50:12,461 DEBUG    Getting WS credentials
2022-01-24 15:50:12,462 DEBUG    Client changed state: GeClientState.AUTHORIZING_OAUTH to GeClientState.AUTHORIZING_CLIENT
2022-01-24 15:50:12,998 INFO     Starting GE Appliances client
2022-01-24 15:50:13,005 DEBUG    Client changed state: GeClientState.AUTHORIZING_CLIENT to GeClientState.CONNECTING
2022-01-24 15:50:13,379 DEBUG    = connection is CONNECTING
2022-01-24 15:50:13,561 DEBUG    > GET /?access_token=ue1cp6g3z2t580x2k9mz9xv34p4oxxy5 HTTP/1.1
2022-01-24 15:50:13,561 DEBUG    > Host: ws-us-east-1.brillion.geappliances.com
2022-01-24 15:50:13,561 DEBUG    > Upgrade: websocket
2022-01-24 15:50:13,561 DEBUG    > Connection: Upgrade
2022-01-24 15:50:13,561 DEBUG    > Sec-WebSocket-Key: ivgoJtCghR8jELqfIBZqnQ==
2022-01-24 15:50:13,561 DEBUG    > Sec-WebSocket-Version: 13
2022-01-24 15:50:13,561 DEBUG    > User-Agent: Python/3.9 websockets/10.1
2022-01-24 15:50:13,821 DEBUG    < HTTP/1.1 101 Switching Protocols
2022-01-24 15:50:13,821 DEBUG    < Date: Mon, 24 Jan 2022 21:50:11 GMT
2022-01-24 15:50:13,821 DEBUG    < Connection: upgrade
2022-01-24 15:50:13,822 DEBUG    < upgrade: websocket
2022-01-24 15:50:13,822 DEBUG    < sec-websocket-accept: AVcrfpE+2HpNk6UV2UNXqltV3WI=
2022-01-24 15:50:13,822 DEBUG    = connection is OPEN
2022-01-24 15:50:13,822 DEBUG    > TEXT '{"kind": "websocket#subscribe", "action": "subs...["/appliance/*/erd/*"]}' [91 bytes]
2022-01-24 15:50:13,822 DEBUG    > TEXT '{"kind": "websocket#api", "action": "api", "hos...id": "List-appliances"}' [150 bytes]
2022-01-24 15:50:13,822 DEBUG    Client changed state: GeClientState.CONNECTING to GeClientState.CONNECTED
2022-01-24 15:50:14,072 DEBUG    < TEXT '{"kind":"websocket#subscribe","success":true}' [45 bytes]
2022-01-24 15:50:14,081 DEBUG    < TEXT '{"kind":"websocket#api","id":"List-appliances",...k6oaw2843","items":[]}}' [242 bytes]
2022-01-24 15:50:14,251 DEBUG    < TEXT '{"kind":"websocket#connect","success":true}' [43 bytes]
2022-01-24 15:50:14,536 DEBUG    < TEXT '{"resource":"/appliance/*/erd/*","kind":"websoc...:true,"change":"ADDED"}' [97 bytes]
2022-01-24 15:50:33,830 DEBUG    % sending keepalive ping
2022-01-24 15:50:33,830 DEBUG    > PING 3c 4e 1b 83 [binary, 4 bytes]
2022-01-24 15:50:33,901 DEBUG    < PONG 3c 4e 1b 83 [binary, 4 bytes]
2022-01-24 15:50:33,901 DEBUG    % received keepalive pong
2022-01-24 15:50:43,824 DEBUG    Sending keepalive ping
2022-01-24 15:50:43,824 DEBUG    > TEXT '{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}' [68 bytes]
2022-01-24 15:50:43,916 DEBUG    < TEXT '{"kind":"websocket#pong","id":"keepalive-ping"}' [47 bytes]
2022-01-24 15:50:53,911 DEBUG    % sending keepalive ping
2022-01-24 15:50:53,912 DEBUG    > PING d4 46 36 d0 [binary, 4 bytes]
2022-01-24 15:50:53,978 DEBUG    < PONG d4 46 36 d0 [binary, 4 bytes]
2022-01-24 15:50:53,978 DEBUG    % received keepalive pong
2022-01-24 15:51:13,844 DEBUG    Sending keepalive ping
2022-01-24 15:51:13,845 DEBUG    > TEXT '{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}' [68 bytes]
2022-01-24 15:51:13,926 DEBUG    < TEXT '{"kind":"websocket#pong","id":"keepalive-ping"}' [47 bytes]
2022-01-24 15:51:13,980 DEBUG    % sending keepalive ping
2022-01-24 15:51:13,980 DEBUG    > PING 81 96 60 c7 [binary, 4 bytes]
2022-01-24 15:51:14,050 DEBUG    < PONG 81 96 60 c7 [binary, 4 bytes]
2022-01-24 15:51:14,050 DEBUG    % received keepalive pong
2022-01-24 15:51:34,058 DEBUG    % sending keepalive ping
2022-01-24 15:51:34,058 DEBUG    > PING e7 b4 3e b7 [binary, 4 bytes]
2022-01-24 15:51:34,125 DEBUG    < PONG e7 b4 3e b7 [binary, 4 bytes]
2022-01-24 15:51:34,126 DEBUG    % received keepalive pong
2022-01-24 15:51:43,846 DEBUG    Sending keepalive ping
2022-01-24 15:51:43,846 DEBUG    > TEXT '{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}' [68 bytes]
2022-01-24 15:51:43,951 DEBUG    < TEXT '{"kind":"websocket#pong","id":"keepalive-ping"}' [47 bytes]
2022-01-24 15:51:54,134 DEBUG    % sending keepalive ping
2022-01-24 15:51:54,134 DEBUG    > PING 72 9d a9 c2 [binary, 4 bytes]
2022-01-24 15:51:54,199 DEBUG    < PONG 72 9d a9 c2 [binary, 4 bytes]
2022-01-24 15:51:54,199 DEBUG    % received keepalive pong

I think that this is related to the websockets version.  Not sure how you're setup, but if you're using v10, you're probably experiencing this issue: https://github.com/aaugustin/websockets/issues/1065.  I think that either moving to 9.1 or 10.1 should hopefully resolve what you're seeing.

Thanks for the reference. I am using 10.1. You can see this in the user agent line.
User-Agent: Python/3.9 websockets/10.1
I'll play around with the compression setting that the post you linked to suggests. Once I have a solution, I'll try to provide a PR. Cheers

Ha, sorry didn't notice that!  I'm still using 9.1 in my development environment, perhaps 10.1 isn't quite fixed for this use case?  I know HA also locked to 9.1, but not sure that has changed recently.  Thanks for looking into it.

I tested with 9.1 and still have the same issue. Do you have any other ideas on what to try?
➜ python websocket_example.py
2022-02-05 10:04:33,246 DEBUG    Using selector: EpollSelector
/home/tyler/src/gehome/examples/websocket_example.py:74: DeprecationWarning: The object should be created within an async function
  session = aiohttp.ClientSession()
2022-02-05 10:04:33,247 DEBUG    Getting OAuth2 token
2022-02-05 10:04:33,252 DEBUG    Client changed state: GeClientState.INITIALIZING to GeClientState.AUTHORIZING_OAUTH
2022-02-05 10:04:35,406 DEBUG    Getting WS credentials
2022-02-05 10:04:35,408 DEBUG    Client changed state: GeClientState.AUTHORIZING_OAUTH to GeClientState.AUTHORIZING_CLIENT
2022-02-05 10:04:36,015 INFO     Starting GE Appliances client
2022-02-05 10:04:36,043 DEBUG    Client changed state: GeClientState.AUTHORIZING_CLIENT to GeClientState.CONNECTING
2022-02-05 10:04:36,158 DEBUG    client - state = CONNECTING
2022-02-05 10:04:36,303 DEBUG    client - event = connection_made(<asyncio.sslproto._SSLProtocolTransport object at 0x7fa1683ad4c0>)
2022-02-05 10:04:36,304 DEBUG    client > GET /?access_token=ue1cpgcmnax3oitxgfg2128gux8d0ire HTTP/1.1
2022-02-05 10:04:36,305 DEBUG    client > Headers([('Host', 'ws-us-east-1.brillion.geappliances.com'), ('Upgrade', 'websocket'), ('Connection', 'Upgrade'), ('Sec-WebSocket-Key', '6EAmcCKCctSNn5QcpgQhUw=='), ('Sec-WebSocket-Version', '13'), ('User-Agent', 'Python/3.9 websockets/9.1')])
2022-02-05 10:04:36,635 DEBUG    client - event = data_received(<166 bytes>)
2022-02-05 10:04:36,635 DEBUG    client < HTTP/1.1 101 Switching Protocols
2022-02-05 10:04:36,635 DEBUG    client < Headers([('Date', 'Sat, 05 Feb 2022 16:03:44 GMT'), ('Connection', 'upgrade'), ('upgrade', 'websocket'), ('sec-websocket-accept', 'h/Evfu1vdk8woNYX+DGJSWRdUeg=')])
2022-02-05 10:04:36,636 DEBUG    client - state = OPEN
2022-02-05 10:04:36,636 DEBUG    client > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind": "websocket#subscribe", "action": "subscribe", "resources": ["/appliance/*/erd/*"]}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:04:36,637 DEBUG    client > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind": "websocket#api", "action": "api", "host": "api.brillion.geappliances.com", "method": "GET", "path": "/v1/appliance", "id": "List-appliances"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:04:36,637 DEBUG    Client changed state: GeClientState.CONNECTING to GeClientState.CONNECTED
2022-02-05 10:04:36,754 DEBUG    client - event = data_received(<47 bytes>)
2022-02-05 10:04:36,755 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#subscribe","success":true}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:04:36,897 DEBUG    client - event = data_received(<45 bytes>)
2022-02-05 10:04:36,897 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#connect","success":true}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:04:36,910 DEBUG    client - event = data_received(<246 bytes>)
2022-02-05 10:04:36,910 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#api","id":"List-appliances","request":{"host":"api.brillion.geappliances.com","method":"GET","path":"/v1/appliance"},"success":true,"code":200,"body":{"kind":"appliance#applianceList","userId":"seyu0ek6oaw2843","items":[]}}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:04:37,146 DEBUG    client - event = data_received(<99 bytes>)
2022-02-05 10:04:37,147 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"resource":"/appliance/*/erd/*","kind":"websocket#subscription","success":true,"change":"ADDED"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:04:56,645 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'$\xceRu', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:04:56,704 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:04:56,705 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'$\xceRu', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:04:56,705 DEBUG    client - received solicited pong: 24ce5275
2022-02-05 10:05:06,639 DEBUG    Sending keepalive ping
2022-02-05 10:05:06,640 DEBUG    client > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:05:06,725 DEBUG    client - event = data_received(<49 bytes>)
2022-02-05 10:05:06,725 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:05:16,713 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\x8eq\x84X', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:05:16,776 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:05:16,776 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\x8eq\x84X', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:05:16,776 DEBUG    client - received solicited pong: 8e718458
2022-02-05 10:05:36,661 DEBUG    Sending keepalive ping
2022-02-05 10:05:36,661 DEBUG    client > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:05:36,750 DEBUG    client - event = data_received(<49 bytes>)
2022-02-05 10:05:36,750 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:05:36,778 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\x0b\xb1\x19\xbe', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:05:36,842 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:05:36,843 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\x0b\xb1\x19\xbe', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:05:36,843 DEBUG    client - received solicited pong: 0bb119be
2022-02-05 10:05:56,863 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'~\xab\x05\xab', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:05:56,926 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:05:56,926 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'~\xab\x05\xab', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:05:56,926 DEBUG    client - received solicited pong: 7eab05ab

2022-02-05 10:06:06,663 DEBUG    Sending keepalive ping
2022-02-05 10:06:06,663 DEBUG    client > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:06:06,740 DEBUG    client - event = data_received(<49 bytes>)
2022-02-05 10:06:06,740 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:06:16,936 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\x06(\xad\xcc', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:06:17,000 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:06:17,000 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\x06(\xad\xcc', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:06:17,000 DEBUG    client - received solicited pong: 0628adcc
2022-02-05 10:06:36,666 DEBUG    Sending keepalive ping
2022-02-05 10:06:36,667 DEBUG    client > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:06:36,750 DEBUG    client - event = data_received(<49 bytes>)
2022-02-05 10:06:36,750 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:06:37,001 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\xaa\x83\x82s', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:06:37,060 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:06:37,061 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\xaa\x83\x82s', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:06:37,061 DEBUG    client - received solicited pong: aa838273
2022-02-05 10:06:57,070 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'3}\xc6\xfc', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:06:57,132 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:06:57,132 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'3}\xc6\xfc', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:06:57,133 DEBUG    client - received solicited pong: 337dc6fc
2022-02-05 10:07:06,676 DEBUG    Sending keepalive ping
2022-02-05 10:07:06,677 DEBUG    client > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:07:06,757 DEBUG    client - event = data_received(<49 bytes>)
2022-02-05 10:07:06,757 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:07:17,144 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\xe4\xc8k\x1c', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:07:17,217 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:07:17,218 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\xe4\xc8k\x1c', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:07:17,218 DEBUG    client - received solicited pong: e4c86b1c
2022-02-05 10:07:36,698 DEBUG    Sending keepalive ping
2022-02-05 10:07:36,698 DEBUG    client > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:07:36,775 DEBUG    client - event = data_received(<49 bytes>)
2022-02-05 10:07:36,775 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:07:37,219 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\x9d \xd6\xa1', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:07:37,285 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:07:37,285 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\x9d \xd6\xa1', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:07:37,285 DEBUG    client - received solicited pong: 9d20d6a1
2022-02-05 10:07:57,286 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\xcf\x9fU\x19', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:07:57,352 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:07:57,352 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\xcf\x9fU\x19', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:07:57,352 DEBUG    client - received solicited pong: cf9f5519
2022-02-05 10:08:06,709 DEBUG    Sending keepalive ping
2022-02-05 10:08:06,710 DEBUG    client > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:08:06,788 DEBUG    client - event = data_received(<49 bytes>)
2022-02-05 10:08:06,788 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:08:17,363 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'Ry\xbay', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:08:17,424 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:08:17,424 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'Ry\xbay', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:08:17,424 DEBUG    client - received solicited pong: 5279ba79
2022-02-05 10:08:36,728 DEBUG    Sending keepalive ping
2022-02-05 10:08:36,728 DEBUG    client > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind": "websocket#ping", "id": "keepalive-ping", "action": "ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:08:36,804 DEBUG    client - event = data_received(<49 bytes>)
2022-02-05 10:08:36,805 DEBUG    client < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'{"kind":"websocket#pong","id":"keepalive-ping"}', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:08:37,426 DEBUG    client > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\x8e#2\xaa', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:08:37,487 DEBUG    client - event = data_received(<6 bytes>)
2022-02-05 10:08:37,487 DEBUG    client < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\x8e#2\xaa', rsv1=False, rsv2=False, rsv3=False)
2022-02-05 10:08:37,487 DEBUG    client - received solicited pong: 8e2332aa

I figured it out. My wife set up the appliances again with her account. XD I can confirm that websockets 9.1 and 10.1 both work as expected. Cheers

For anyone else that comes across this issue: Smarthq removes appliances set up on an account and exist only in the last account to register the devices. The only way to share devices is by sharing credentials.


calling code needs to ensure all responses are handled (not just received)

ref #74
If the calling code is adding a WaitGroup, does it still make sense to keep the internal one, or should the end user be responsible for incrementing for each notification (wg.Add) and calling wg.Done after each response?
the internal wait group does ensure that all notifications are sent before closing the responses channel though.
another option for the calling code is to use an unbuffered done channel to signal that all responses are processed

Maybe queue.Wait() should be renamed to queue.Close() -- even though it waits, you still have to wait anyway.


Autosave option for alert filters

This PR implements the option to automatically save passing alerts/candidates to corresponding groups as Sources on SP in broker mode.

Wondering if we should have a global max per time unit for this functionality that forbids saving more than this per filter. Very worried about a permissive filter polluting the sources in SP. Say, no more than 5000 sources per 24 hr per filter?
SP might want to implement something like this as well, per API token.

@profjsb I agree, that would be a good measure, I'll think about the implementation. Do you think it should be part of this PR?
@stefanv could you please elaborate on what you think might pose a security threat?

Maybe make this PR number one of two, and say in the comments that you intend to add rate limiting in the sibling PR

I just wanted to check that we've thought through how these filters will come into place, that users without permissions to post to a group cannot set up filters that post to other groups (presumably filter posting will happen from SkyPortal with a token, so should be ok).

Ah, yea, that's always a good idea @stefanv :) The endpoint on the K side requires the user/token to be admin, which regular K users are not. On the F side (and F's token is that of an admin from the K point of view), the interaction with K is handled here and all the permissions checks are supposedly in place (e.g. you must be the group's admin in order to save/modify the filter).

Got a verbal approval from @stefanv, so self-merging.


The Swift compiler on linux is built with an older stdlib then runs with the newer shipped stdlib

Description
I was just building the toolchain natively on Android when this potential issue struck me. We build the Swift toolchain for linux on all the current CI branches with an older Swift 5.8.1 compiler, then set its runpath to the newer Swift stdlib it ships with:
> readelf -d swift-5.10.1-RELEASE-fedora39/usr/bin/swift-frontend | ag runpath
 0x000000000000001d (RUNPATH)            Library runpath: [$ORIGIN/../lib/swift/linux:$ORIGIN/../lib/swift/host]

This probably worked fine before when we bootstrapped the compiler against the new stdlib first, but now that we are only building the Swift compiler with the prebuilt 5.8.1 hosttools, this means the newer stdlib cannot change any of its ABI or behavior used by the compiler itself, or it will cause problems.
A potential solution is to start shipping the Swift 5.8.1 stdlib also with the toolchain, so the newer Swift stdlib is free to keep changing.
I have not observed any problems with this setup yet, but this move is fairly recent.
@etcwilde, @bnbarham, or @shahmishal, let me know what you think.
Reproduction
None
Expected behavior
See above
Environment
Swift 5.9 onwards
Additional information
No response

You are right. We can't break ABI used by compiler. As stated in the commit https://github.com/swiftlang/swift/commit/098823606579ff342fd6b224b3e5d0ad75cf61b2#diff-4b74006b7c38d950627c4183690f1c6b5435d1b4da7a327fdf6ed9bcbb2cc33bR552-R555 , we intentionally did this to make macros work in Linux in the limited time frame.
I think the ideal solution is to do proper bootstrapping:

build a toolchain having RPATH to the runtime in the builder's toolchain
build a stdlib/runtime using the toolchain (1)
build a toolchain with the stdlib/runtime (2)

Until that, yeah, bundling the runtime from the builder toolchain might be a temporary solution. But I think we can defer that until an actual unavoidable ABI break occurs. And we should be able to detect that pretty obviously, like runtime crash.


If local endpoint changes, subscribe will keep failing to reconnect.

If the local end point changes, new ip is given by the router our such the subscribe call will throw a EADDRNOTAVAIL error. But since discovery.localEndpoint is only setup on init it will keep failing indefinitely or until restarted.
I fixed this on a legacy branch: https://github.com/pfiaux/node-sonos-discovery/commit/67201ddfcb77594f3e95decfe67e8dd183412b8a
I handled the EADDRNOTAVAIL specifically can updated the localEndpoint in that case. I looked quickly, I could be wrong but it seems like 1.0.0 on master still only does it on init as well:
https://github.com/jishi/node-sonos-discovery/blob/master/lib/SonosSystem.js#L123

I'm aware that the system doesn't really work if the system this is running on, or the Sonos players changes IP all of a sudden. It has however been low priority since that is not a common scenario.
Is there a specific setup that gives a higher probability that this might occur for you? The EADDRNOTAVAIL error will no longer occur the same way, since I'm no longer binding requests to a certain IP (I rely on the system routing table to make it's decision), so the only thing that happens is that the wrong URL is sent as subscription endpoint, this will fail silently.
So either a periodic update of local endpoint, or update it every time it sends an action to any player (since at that point, I know which local endpoint it used).

No specific setup, just trying to be foolproof and cover edge cases. The silent failure is a problem, the subscriber using discovery can then have "a dead player" without knowing it. Perhaps wrapping the error if unhandled and forwarding it via discovery.on('error', cb) would allow the subscriber to chose to do something with it.
In this case I'm interested in keeping IP change handling encapsulated in node-sonos-discovery. My solution above works for the local endpoint.
However like you said I run into a similar problem if the Sonos player changes IP. I'm looking into a way to try updating a player's address if the Sonos was to change IP. The error in this case would show up as ETIMEDOUT (in this case it could also be the sonos was turned off).
The sonos address is found in Discovery and it's passed to the Player as a constructor parameter. So either:

Discovery could start looking on the dgram socket again and create a new Player
Player could look (even via discovery) for it's specific device on a new IP and update its address when found

I'm not sure which one would be the best approach. It looks like we can use the id from /root/device/UDN to find the same device (assuming the IP changed and it wasn't turned off)

It doesn't have to be that complicated. The ZoneTopology would eventually change to reflect the changes, so a player that no longer occurs in the ZoneTopology, could be removed, and any new players that would show up, is already automatically added. Likewise, you could correlate the IP with the UUID and remove players that has a mismatch.
One edge case here is when the player/bridge/boost that it subscribes for topology changes dies or changes IP, it would need to reset the whole discovery process from scratch. But that should be fairly easy to fix, anyway.

Thanks for the feedback, that makes more sense indeed. If the use case is only one Sonos is used, it would be the topology subscribed player at all times.
I took sonos-ssdp.js into the legacy branch and I was actually able to get the uuid inside of ssdp's message handler since its included in the USN header. As you said it probably doesn't need to be that complicated. https://github.com/pfiaux/node-sonos-discovery/commit/a0a6fa8521ffb92c526dcacd46ec7556d64a152b I tested it, the subscriber will be able to find the Player again if either IPs change.
Right now I'm only handling this passively for the event tho, soap actions wont trigger my 'rediscovery' process. I'm probably going to look at getting that working as well. If you're not interested in bringing the handling of IP changes into the 1.0.0 branch we can close this issue :)

I want to eventually support this scenario, so I'll keep this open. Feel free to comment if you have any observations worth mentioning that could be beneficial.

I think I have fixed this now. Haven't verified what happens during an IP change, but when the initial player that it gets topology notifications from seems to have gone away, it will reset everything and find a new one.


Update protocol spec to include remote-heads-gossipping

We have added some optional fields and messages to the wire format of the websocket to support remote heads gossipping. Add a description of these features and specification of the wire format to the spec in packages/automerge-repo-network-websocket

LGTM!


Error: tensorflow/tensorflow/lite/java/ovic/demo/app/BUILD:9:1: no such package<EMAIL_ADDRESS>BUILD file not found in directory 'com.android.support' of external repository @androidsdk. Add a BUILD file to a directory to mark it as a package. and referenced by '//tensorflow/lite/java/ovic/demo/app:ovic_benchmarker_binary'

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
LG G8
TensorFlow installed from (source or binary): binary
TensorFlow version: 1.14.0
Python version: 3.6.9
Installed using virtualenv? pip? conda?: pip3
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source): 8.3.0
CUDA/cuDNN version: no
GPU model and memory: no

Describe the problem
I trying to test the tflite model according to  OVIC Benchmarker for LPCV 2020.
I installed Bazel 3.0.0 using Bazel's apt repository.
I installed Android ndk17c.
I installed Android SDK using android-sdk_r24.4.1-linux.tgz by the sequent command:
tar -zxvf android-sdk_r24.4.1-linux.tgz
changed path for android SDK
used android update sdk -u -a -t 8,213,58  to install SDK platform, build-tools and SDK API.
Then I use ./configure to config WORKSPACE for bazel.
My .tf_configure.bazelrc is like this:

build --action_env PYTHON_BIN_PATH="/usr/bin/python3"
build --action_env PYTHON_LIB_PATH="/usr/lib/python3/dist-packages"
build --python_path="/usr/bin/python3"
build --config=xla
build:opt --copt=-march=native
build:opt --copt=-Wno-sign-compare
build:opt --host_copt=-march=native
build:opt --define with_default_optimizations=true
build --action_env ANDROID_NDK_HOME="/mnt/d/Share/software/android-ndk-r17c"
build --action_env ANDROID_NDK_API_LEVEL="21"
build --action_env ANDROID_BUILD_TOOLS_VERSION="28.0.3"
build --action_env ANDROID_SDK_API_LEVEL="23"
build --action_env ANDROID_SDK_HOME="/mnt/d/Share/software/android-sdk-linux"
test --flaky_test_attempts=3
test --test_size_filters=small,medium
test:v1 --test_tag_filters=-benchmark-test,-no_oss,-gpu,-oss_serial
test:v1 --build_tag_filters=-benchmark-test,-no_oss,-gpu
test:v2 --test_tag_filters=-benchmark-test,-no_oss,-gpu,-oss_serial,-v1only
test:v2 --build_tag_filters=-benchmark-test,-no_oss,-gpu,-v1only
build --action_env TF_CONFIGURE_IOS="0"

Then I run
bazel build -c opt --cxxopt=-Wno-all //tensorflow/lite/java/ovic/demo/app:ovic_benchmarker_binary
Error occurred.

ERROR:
/mnt/e/research/model_compression/proj/tensorflow/tensorflow/lite/java/ovic/demo/app/BUILD:9:1: no such package<EMAIL_ADDRESS>BUILD file not found in directory 'com.android.support' of external repository @androidsdk. Add a BUILD file to a directory to mark it as a package. and referenced by '//tensorflow/lite/java/ovic/demo/app:ovic_benchmarker_binary'
ERROR: /mnt/e/research/model_compression/proj/tensorflow/tensorflow/lite/java/ovic/demo/app/BUILD:9:1: no such package<EMAIL_ADDRESS>BUILD file not found in directory 'com.android.support' of external repository @androidsdk. Add a BUILD file to a directory to mark it as a package. and referenced by '//tensorflow/lite/java/ovic/demo/app:ovic_benchmarker_binary'
ERROR: Analysis of target '//tensorflow/lite/java/ovic/demo/app:ovic_benchmarker_binary' failed; build aborted: no such package<EMAIL_ADDRESS>BUILD file not found in directory 'com.android.support' of external repository @androidsdk. Add a BUILD file to a directory to mark it as a package.
INFO: Elapsed time: 7.424s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (18 packages loaded, 28 targets configured)

I have no idea how to fix this problem. And I tried to install Android Studio, it doesn't help either.

I'm meeting the same issue with similar setting (instead i am using Ubuntu 18.04 but not windows), I manually installed the NDK r17c and install SDK via Android Studio.

You need to run "./configure" first to configure Android NDK & SDK for build system.
During the configuration, you should answer "Yes" for the following question.
"Would you like to interactively configure ./WORKSPACE for Android builds?"

Then, you'll be asked for min Android NDK API level and Android SDK API level to use.

You need to run "./configure" first to configure Android NDK & SDK for build system.
During the configuration, you should answer "Yes" for the following question.
"Would you like to interactively configure ./WORKSPACE for Android builds?"

Then, you'll be asked for min Android NDK API level and Android SDK API level to use.

Of course I've done that... and only after doing that build --action_env ANDROID_NDK_HOME="/mnt/d/Share/software/android-ndk-r17c" could apppear in my .tf_configure.bazelrc

Which branch did you use?
You said you used "TensorFlow version: 1.14.0" but it requires Bazel 0.26.2.

Which branch did you use?
You said you used "TensorFlow version: 1.14.0" but it requires Bazel 0.26.2.

Sorry, my version differs a little with @xinziXu's, I used Tensorflow version:1.15.0 with bazel 0.25.1(within the requirement range in configure.py) on Ubuntu 18.04

Which branch did you use?
You said you used "TensorFlow version: 1.14.0" but it requires Bazel 0.26.2.

Also, i'm a bit confused about when building the ovic example(running bazel build -c opt --cxxopt=-Wno-all //tensorflow/lite/java/ovic/demo/app:ovic_benchmarker_binary), should i follow this tutorial to build the tf-lite.aar and add it into the project via modifying the build.gradle(which iIdid and the build for the tf-lite.aar succeeded)

Do you still have the issue?
If you do, could you share .tf_configure.bazelrc?

I am having the same issue but I am using Tensorflow 2.1.0 with Bazel 3.1.0. Do we have to add the tf-lite.aar file? I did build the TFLite using bazel build -c opt --config=android_arm64 //tensorflow/lite:libtensorflowlite.so. Could you please help me resolve it soon?

@dipendra009 The ovic_benchmarker_binary should be built with bazel. You don't need to care of the library dependency since bazel handles it.

It is really weird, I have the android sdk and ndk installed and WORKSPACE configured, but it gives the same error: Projects/tensorflow/tensorflow/lite/java/ovic/demo/app/BUILD:9:1: no such package<EMAIL_ADDRESS>BUILD file not found in directory 'com.android.support' of external repository @androidsdk. Add a BUILD file to a directory to mark it as a package. and referenced by '//tensorflow/lite/java/ovic/demo/app:ovic_benchmarker_binary'
What would you suggest to resolve this error? I tried reinstalling multiple times, but I have no idea why it is giving the error.

It is really weird, I have the android sdk and ndk installed and WORKSPACE configured, but it gives the same error: Projects/tensorflow/tensorflow/lite/java/ovic/demo/app/BUILD:9:1: no such package<EMAIL_ADDRESS>BUILD file not found in directory 'com.android.support' of external repository @AndroidSDK. Add a BUILD file to a directory to mark it as a package. and referenced by '//tensorflow/lite/java/ovic/demo/app:ovic_benchmarker_binary'
What would you suggest to resolve this error? I tried reinstalling multiple times, but I have no idea why it is giving the error.

After unbelievable trails and error, I found a weird solution, with sdk and ndk properly installed and added into tensorflow build .bazelrc,  just comment out the com.android.support in ovic apk BUILD, I could successfully build it this way, *However, no related tutorial or post mentions any related operation, so I'm not sure whether its the right way. (To be frank, its rather weird, even Im surprised it worked)

Thank you, A-suozhang. That worked for me.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


libdokan: raise timeout to 29 seconds

More leeway to avoid context deadline exceeded errors.

LGTM :thumbsup:


Does checkin allow you to supply a message when -m or --comment is not used?

The documentation for the checkin commands, while informative, is not complete.
Specifically, if I issue either of:
$ git tfs checkin    # -OR -
$ git tfs rcheckin

and I don't supply a -m or --comment argument, will Vim (or your selected git commit message editor) open up and allow a commit message to be specified at that time? I assume this is the case because if you don't supply a commit message with standard git commit, it usually aborts the commit due to an empty message--but I just want to be sure I understand exactly what git tfs checkin and git tfs rcheckin are really doing.
Thanks.

git tfs checkin open the TFS checkin ui as a pop-up, so that's up to you to
set a commit message.
$ git tfs rcheckin replicate each git commit as a changeset, so it will use
git commit messages as changeset message.

@pmiossec Ah yes, right about rcheckin, duh. So, what you said about git tfs checkin has me scratching my head then. Are these commands equivalent:
$ git tfs checkintool
$ git tfs checkn

They both open up the TFS commit window UI?

Oh,no. What I said was wrong (and you are right) . Checkin and checkintool
are different.
They did the same thing behind the scene (the way to manage the check-in
doing a merge commit) except that one open the TFS ui (checkintool) and the
other is only in command line.
But I only used rcheckin, so I don't know command line details for the
checkin command :-(
Ps: feel free to do pull request to improve the doc if you think it needs
to...

No problem on the PR for  the documentation. I appreciate the project, as a whole. This is the only thing keeping me sane right now. ;)  Anyway, if I can find a way to "safely" try git tfs checkin, I'll update the docs with a PR.
In any event, I'm leaning more towards recommending using git tfs rcheckin anyway, as it will allow for a cleaner git history (no merge commits) and, ultimately, a cleaner and more fine-grained TFS history, too. (Somewhat rhetorical question/something to make you think about: is there not a way to perform a fast-forward merge when using git tfs checkin(tool)? For example, behind the scenes, you could always do a git fetch/pull --rebase, then a git merge --no-ff?)
This may sound like another 'duh' question, but I'm more or less checking that my assumptions are correct and that I understand the tool. When using git tfs rcheckin, then when creating your standard git commit messages for work you perform locally prior to checking in to TFS, I would assume that you want to use the git-tfs special actions in your each of your git commits to tie those commits to specific TFS work items (if necessary)? Otherwise, you wouldn't have that opportunity to do that once you perform the 'git tfs rcheckin' command. Is my understanding correct?

Somewhat rhetorical question/something to make you think about: is there
not a way to perform a fast-forward merge when using git tfs checkin(tool)?
For example, behind the scenes, you could always do a git fetch/pull
--rebase, then a git merge --no-ff?

No, I don't think so...

In any event, I'm leaning more towards recommending using git tfs rcheckin
anyway, as it will allow for a cleaner git history (no merge commits)

Yes, I prefer a lot too...

When using git tfs rcheckin, then when creating your standard git commit
messages for work you perform locally prior to checking in to TFS, I would
assume that you want to use the git-tfs special actions in your each of
your git commits to tie those commits to specific TFS work items (if
necessary)? Otherwise, you wouldn't have that opportunity to do that once
you perform the 'git tfs rcheckin' command. Is my understanding correct?

Exactly!
https://github.com/git-tfs/git-tfs/blob/master/doc/special-actions-in-commit-messages.md

So, I realize, too, that you can provide the -w12345:a or -w12345:r parameter to git tfs rcheckin. So it would seem you could later "tag" the commits with the TFS work items--but then, if you do that, each commit would be associated to the specified work items. Is that correct?

I think so but never used so can't guarantee. You will have to try or dig
in the source code ;-)
Le 23 mars 2016 17:26, "Craig E. Shea"<EMAIL_ADDRESS>a écrit :

So, I realize, too, that you can provide the -w12345:a or -w12345:r
parameter to git tfs rcheckin. So it would seem you could later "tag" the
commits with the TFS work items--but then, if you do that, each commit
would be associated to the specified work items. Is that correct?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/git-tfs/git-tfs/issues/932#issuecomment-200168576

OK, np. I'll see what I can find. Thanks for the super responsiveness today (and yesterday, too, technically).

No problem on the PR for the documentation. I appreciate the project, as a whole. This is the only thing keeping me sane right now. ;) Anyway, if I can find a way to "safely" try git tfs checkin, I'll update the docs with a PR.

IIRC git tfs checkin does not open an editor. I don't remember what it uses for the message by default... it's either all of the commit messages joined together, or nothing. I think there's an option to choose which of these git-tfs will do. git-tfs relies on TFS checkin policies to determine whether a blank checkin comment is OK or not.

(Somewhat rhetorical question/something to make you think about: is there not a way to perform a fast-forward merge when using git tfs checkin(tool)? For example, behind the scenes, you could always do a git fetch/pull --rebase, then a git merge --no-ff?)

git-tfs assumes that you like your Git history if you're using git tfs checkin, so it makes the new TFS checkin into a Git merge commit, merging the latest TFS commit and your local branch. So it's not quite the same as what you suggested, but similar, and without rewriting Git commits. git-tfs assumes that if you use rcheckin that you do want your commits to be rewritten so that your Git history is linear like your TFS history.


Add video frame extraction, image chat, and image generation

[x] Extract video frames meaning using blip/doctr when extract_frames=True
[x] Keep as separate files so images come up separately, instead of single doc.
[x] Extract image frames from video when youtube
[x] LLaVa endpoint with gradio predict for doc ingestion/embedding
[x] Other files besides jpg for llava
[x] Image generation in front of UI
[ ] Make it easy to ingest the generated image (instead of saving and uploading).  Drag-n-drop seems to work, but we removed.
[ ] Image change in front of UI
[ ] LLaVa endpoint with gradio stream for talk to image in front of UI

BLIP2: the h20 gpt logo with yellow and black text on it's white background with a yellow circle
pix2struct: A sign that says h2oGPT on it.
llava: The image features a white background with two logos displayed side by side.  The two logos are placed close to each other, creating a visually appealing contrast between the two
DocTR: failed

Protect against model multi-use during inference:


fix(docs): added yarn watch task

This PR inlcudes:

yarn watch task in package.json

fixes: #67

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Sirz, Daniel seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Removing this PR as it's available in https://github.com/grafana/clock-panel/pull/69


TEM-154: zappy

:construction_worker: Purpose
todo
:rocket: Changes
todo
:warning: Breaking Changes
todo

@bobheadxi you sure? I was going to tackle the queue logging with this PR as well since it's the other place where we extensively use logging. I also want to get rid of that coverage decrease 😅

Yea that makes sense. I'll merge this then work on the queue logging in the next PR


yt-dlp dropping support for Python 3.8, Elephant will no longer support windows 7 32 bits os ? or Elephant will use alterantive yt-dlp made by Mr Nicolaasjan for 32 bits version and PythonWin7 Python 3.9+ installers that support Windows 7 SP1 and Windows Server 2008 R2 ?

Hello Mr @meowcateatrat , i noticed when i installed FDM 32 bits for windows 7 os, and when i installed our beloved Elephant browser, Elepahnt Browser automatically installed Python 3.8, but yt-dlp will dropping support for Python 3.8 , does that mean Elepahnt will no longer support windows 7 32 bits os ? or Elephant will use alterantive yt-dlp 32 bits or 64 bits made by Mr Nicolaasjan ?
https://github.com/yt-dlp/yt-dlp/issues/10086
will Elepahnt 32 bts will install the newer PythonWin7 Python 3.9+ installers that support Windows 7 SP1 and Windows Server 2008 R2 ?
https://github.com/adang1345/PythonWin7
I have  great news taht may help Elephant to keep support for legacy os used by many users   !!
Mr Nicolaasjan offers us very precious advices and recommandations for compiling yt-dlp 32 bits / 64 bits and we hope surely it will help to integrate unofficial yt-dlp with Elephant Add-On please  ! :
https://github.com/mhogomchungu/media-downloader/issues/465#issuecomment-2423759207
https://github.com/mhogomchungu/media-downloader/issues/465#issuecomment-2423761094
https://github.com/adang1345/PythonWin7
https://msfn.org/board/topic/183741-python-3813-for-windows-xp-sp3/page/2/#comment-1241782
https://msfn.org/board/topic/184368-who-here-has-a-youtube-dl-compile-for-winxp/page/9/
https://msfn.org/board/profile/414006-cmalex/
https://msfn.org/board/profile/347864-naaloh/

It's not possible to support Windows 7 which is not supported by everyone.

Yes, we understand, thanks :)
i just say offically FDM keep support of windows 7 os which still has many users, so if Elephant extension continues to install on FDM 32 bits for windows 7 os, i thnink it will be good idea to save the planet from ecological disaster and electronic waste and help millions of people or humanitarian charities who still use recycled windows 7 machines, we hope our beloved Elephant will use this special updated python for windows 7, thanks !


CO2 birthday badges: allow shields.io style of badges

There could be two (at least) types of badges to show your co2 birthday in other places:

co2 ppm badge: just showing the ppm value on the selected day
percent over today (or percentage increase until today): eg I was born with "18.5% less co2 ppm" or the opposite, "22% more co2 ppm" since I was born

really cool idea gonzalo!
something like this
https://img.shields.io/static/v1?label=born 333.3 ppm CO%E2%82%82&message=today we are 28%25 higher&color=green

[!shield](https://img.shields.io/static/v1?label=born 333.3 ppm CO%E2%82%82&message=today we are 28%25 higher&color=green)

👍

these are cool. great idea.

do we want to use these vs. the circles/sizes mentioned in the other issue?

I prefer shields

ok. working on this now

these are implemented with basic styles. not sure if you wanted these or the other options that they offer.

also, can you show me where the png versions are/how they are more complicated?
not arguing, but maybe there's a way to get both to play nicely.

also wondering if we should hack on an extra badge piece, in another color, to show what the value today is?

hacked this out tonight.

wow looks great!

shield.svg now exists in every date folder, for easier sharing and re-use.


Add rtl functionality to search results

Adds rtl for title display in search results. Closes #84.

Coverage remained the same at 100.0% when pulling 3dc86f34b178eb2da1c0ed91e5537500fe25d460 on rtl-search-results into 8feccbcf23ebe8ecaf43d20087f39af558c77e36 on master.


Added iTunes remote

iTunes remote is an interactive command-line Node app that  lets you control iTunes via the CLI.

:+1:
// @mischah

Hah. Thanks :kissing_heart:


fix: apply_text_edits requires offset_encoding option

Closes https://github.com/simrat39/rust-tools.nvim/issues/127
See:
https://github.com/neovim/neovim/issues/14090#issuecomment-1012005684

imo, passing through offset_encoding from the caller to the old_func is better than hardcoding an offset_encoding.

imo, passing through offset_encoding from the caller to the old_func is better than hardcoding an offset_encoding.
https://github.com/hrsh7th/nvim-cmp/issues/726#issuecomment-1012213386

imo, passing through offset_encoding from the caller to the old_func is better than hardcoding an offset_encoding.

Yes we should definitely do this. I can maybe do it on the weekend, have been really busy lately

Thank you! Completion via nvim-vmp working well now :)


Adding graph client

Description
In this version, we use the graph client to create and consume the data in the Greetings Table component.
Additional Information

[ X] I have read the contributing docs (if this is your first contribution)
[X ] This is not a duplicate of any existing pull request

Your ENS/address:
0xc2564e41B7F5Cb66d2d99466450CfebcE9e8228f

Tested this, working great! Thank you and sorry for the delay on the merge.


White noise arround renderd object (nerf-synthetic dataset), why? results from nerfacto/instant-ngp-bounded

as illustrated, the white background seems to be learned by nerfacto and instant-ngp-bounded. While e.g. vanilla-nerf and mip-nerf don't have this issue.

I added this flag but still get those white noises :/


[BUG]: Many of the existing packages in production conflicting with zenml dependencies hence unable to install

Contact Details [Optional]
No response
What happened?
This is not a bug. The production project's model microservice requirements.txt contains the below packages
uvicorn==0.17.0
fastapi==0.73.0
fastapi-utils==0.2.1
starlette==0.17.1
anyio==3.5.0
scipy==1.7.3
python-dotenv==0.19.2
charset-normalizer==2.0.9
click==7.1.2
contextlib2==21.6.0
contextvars==2.4
cryptography==36.0.1
cymem==2.0.5
docx2txt==0.8
fleep==1.0.1
greenlet==1.1.2
h11==0.12.0
idna==2.8
img2pdf==0.4.3
immutables==0.16
importlib-metadata==4.8.3
iniconfig==1.1.1
itsdangerous==2.0.1
Jinja2==3.0.3
langdetect==1.0.9
loguru==0.5.3
lxml==4.7.1
MarkupSafe==2.0.1
murmurhash==1.0.6
numpy==1.22.1
opencv-python==<IP_ADDRESS>
packaging==21.3
pandas==1.4.0
pathy==0.6.1
pdf2image==1.16.0
Pillow==9.0.1
pdfminer==20191125
pdfminer.six==20211012
pikepdf==3.2.0
pluggy==1.0.0
poppler-utils==0.1.0
preshed==3.0.6
py==1.11.0
pyaml==21.10.1
pycparser==2.21
pycryptodome==3.12.0
pydantic==1.7.4
pyparsing==3.0.6
pytesseract==0.3.5
pytest==6.2.5
python-dateutil==2.8.2
python-Levenshtein-wheels==0.13.2
python-poppler==0.2.2
pytz==2021.3
serum==5.1.0
smart-open==5.2.1
sniffio==1.2.0
spacy==3.2.1
spacy-legacy==3.0.8
spacy-loggers==1.0.1
SQLAlchemy==1.4.28
srsly==2.4.2
toml==0.10.2
tqdm==4.62.3
azure-storage-blob==12.8.1
azure-core==1.21.1
python-multipart==0.0.5
asgiref==3.5.0
attrs==21.4.0
azure-core==1.21.1
blis==0.7.5
bpemb==0.3.3
catalogue==2.0.6
certifi==2021.10.8
cffi==1.15.0
chardet==4.0.0
fasteners==0.17.3
fasttext==0.9.2
gensim==4.1.2
isodate==0.6.1
langcodes==3.3.0
lz4==3.1.10
msrest==0.6.21
oauthlib==3.1.1
Poutyne==1.8
pybind11==2.9.0
pymagnitude-light==0.1.147
PyYAML==6.0
requests==2.27.1
requests-oauthlib==1.3.0
scipy==1.7.3
sentencepiece==0.1.96
six==1.16.0
spacy-loggers==1.0.1
thinc==8.0.13
typer==0.3.2
typing_extensions==4.0.1
urllib3==1.26.8
wasabi==0.9.0
xxhash==2.0.2
zipp==3.7.0
#Dependencies for comlib - START
html2text==2020.1.16
sarge==0.1.6
PyPDF2==1.26.0
tika==1.24
#Dependencies for comlib - END

I am unable to add zenml 0.7.1 to the above requirements.txt  Because many of the existing package version conflicts with zenml. The main ones that conflict are spacy, pydantic, jinja etc.
In a simple example notebook, zenml works well but not able to add it to production due to this dependencies.
When i install zenml==0.7.1 after running pip install -r requirements.txt
Its uninstalling and installing new versions of the package.
I believe this is causing unexpected errors like below

INFO:     Started server process [24352]
INFO:uvicorn.error:Started server process [24352]
INFO:     Waiting for application startup.
INFO:uvicorn.error:Waiting for application startup.
INFO:     Application startup complete.
INFO:uvicorn.error:Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8081/ (Press CTRL+C to quit)
INFO:uvicorn.error:Uvicorn running on http://<IP_ADDRESS>:8081/ (Press CTRL+C to quit)
Creating run for pipeline: `inference_pipeline_crf`
Cache disabled for pipeline `inference_pipeline_crf`
import sys; print('Python %s on %s' % (sys.version, sys.platform))
 inference_pipeline.run(run_name=RUN_NAME)
Python 3.8.13 (default, Mar 28 2022, 11:38:47)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.2.0 -- An enhanced Interactive Python. Type '?' for help.
PyDev console: using IPython 8.2.0
Python 3.8.13 (default, Mar 28 2022, 11:38:47)
[GCC 7.5.0] on linux
Using stack `default` to run pipeline `inference_pipeline_crf`...
Traceback (most recent call last):
  File "/home/deepak/anaconda3/envs/mira-models/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3369, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-2-f4355664dc5d>", line 1, in <cell line: 1>
    inference_pipeline.run(run_name=RUN_NAME)
  File "/home/deepak/anaconda3/envs/mira-models/lib/python3.8/site-packages/zenml/pipelines/base_pipeline.py", line 376, in run
    return stack.deploy_pipeline(
  File "/home/deepak/anaconda3/envs/mira-models/lib/python3.8/site-packages/zenml/stack/stack.py", line 404, in deploy_pipeline
    return_value = self.orchestrator.run_pipeline(
  File "/home/deepak/anaconda3/envs/mira-models/lib/python3.8/site-packages/zenml/orchestrators/local/local_orchestrator.py", line 78, in run_pipeline
    tfx_pipeline: TfxPipeline = create_tfx_pipeline(pipeline, stack=stack)
  File "/home/deepak/anaconda3/envs/mira-models/lib/python3.8/site-packages/zenml/orchestrators/utils.py", line 45, in create_tfx_pipeline
    zenml_pipeline.connect(**zenml_pipeline.steps)
  File "/home/deepak/projects/mira/mira-models/source/services/si/pipelines/inference_pipeline_crf.py", line 20, in inference_pipeline_crf
    text = get_pred_input()
  File "/home/deepak/anaconda3/envs/mira-models/lib/python3.8/site-packages/zenml/steps/base_step.py", line 634, in __call__
    self._component = component_class(
  File "/home/deepak/anaconda3/envs/mira-models/lib/python3.8/site-packages/tfx/dsl/component/experimental/decorators.py", line 64, in __init__
    super().__init__(spec)
  File "/home/deepak/anaconda3/envs/mira-models/lib/python3.8/site-packages/tfx/dsl/components/base/base_component.py", line 103, in __init__
    super().__init__(
  File "/home/deepak/anaconda3/envs/mira-models/lib/python3.8/site-packages/tfx/dsl/components/base/base_node.py", line 62, in __init__
    dsl_context_registry.get().put_node(self)
  File "/home/deepak/anaconda3/envs/mira-models/lib/python3.8/site-packages/tfx/dsl/context_managers/dsl_context_registry.py", line 158, in get
    return _registry_holder.current
AttributeError: '_thread._local' object has no attribute 'current'

Really liked the mlops features and ml pipeline features of zenml.
Would be a disappointment to remove zenml related codes and go back to old way of coding without zenml pipelines for the sake of putting the model in production.
Any solutions? Perhaps there is a better way to manage the dependencies.
Reproduction steps

...
ZenML Version
0.7.1
Python Version
3.8
OS Type
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I am a first-time user of zenml, who also encountered this issue.
What I did?
I just created a brand new virtual environment, and run pip install zenml,  and pip failed complaining dependency conflicts.
ERROR: Cannot install zenml==0.1.0, zenml==0.1.1, zenml==0.1.2, zenml==0.1.3, zenml==0.1.4, zenml==0.1.5, zenml==0.2.0, zenml==0.3.1, zenml==0.3.2, zenml==0.3.3, zenml==0.3.4, zenml==0.3.5, zenml==0.3.6, zenml==<IP_ADDRESS>, zenml==0.3.7 and zenml==0.3.8 because these package versions have conflicting dependencies.

The conflict is caused by:
    zenml 0.3.8 depends on tensorflow==2.4.1
    zenml 0.3.7 depends on tensorflow<2.4.0 and >=2.3.0
    zenml <IP_ADDRESS> depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.3.6 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.3.5 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.3.4 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.3.3 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.3.2 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.3.1 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.2.0 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.1.5 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.1.4 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.1.3 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.1.2 depends on tensorflow<2.4.0 and >=2.3.0
    zenml 0.1.1 depends on tensorflow==2.3.0
    zenml 0.1.0 depends on tensorflow==2.3.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

(zenml) ➜  zenml-playground pip list
Package    Version
---------- -------
pip        22.0.4
setuptools 62.1.0
wheel      0.37.1

@deepakiim Your issue is perhaps related to pydantic and spacy conflicting wth some core dependencies of ZenML. One way to figure this out is to let us know what are the minimum possible dependencies in your environment that you need. After that we can try to loosen some of our internal dependencies to help out.
@AsiaCao Your issue is a bit strange. We are at Version 0.7.2 and your pip seems not to find any version above 0.3.8. I am wondering how that is possible. You said you are on a M1 chipset and that is for sure not supported yet by ZenML (We internally are trying to solve this but it makes honestly it is hard as even other bigger packages like Tensorflow dont even have support yet)


Changes to website

I've added metadata and icons to the website along with changing the viewport of the website so it looks better on phones with safe areas.

The icons that were added are the standard favicon icons along with the apple-touch-icon and svg mask icon.

@mxdanger  Would you mind squashing these changes into just one commit? No reason for these changes to be in 14 separate commits 👍

@mxdanger Would you mind squashing these changes into just one commit? No reason for these changes to be in 14 separate commits 👍

Completely forgot to merge the commits, noobie mistake on my end.


[Bug] stationctl needs better error handling

Describe the bug
When doing a host system setup on MacOS, if brew errors out because a package is already installed, the whole process fails with no message really indicating that it wasn't successful. Namely, I had git version 2.29.2 installed, but brew wanted me to upgrade to 2.30.0.  Once that happens, it just dumps me back to a command line. I assumed I was ready to run the deploy but the vagrant plugins weren't installed yet.
To Reproduce
Steps to reproduce the behavior:

Have an older required package installed (I had git, which should've been sufficient anyway)
Run the host setup option
Watch homebrew try to do all the things, and error out, but otherwise not giving the user useful instructions from stationctl
Blindly try to run the deploy and fail at life.

Expected behavior
I would expect stationctl to indicate an error to the user instead of just dropping back to the shell.
Screenshots
Running the setup unsuccessfully:
      __________     ____    __
     /_  __/ __/    / __/__ / /___ _____
      / / _\ \     _\ \/ -_) __/ // / _ \
     /_/ /___/    /___/\__/\__/\_,_/ .__/
                                  /_/
     (B)ack to Main
 ---------------------------------------------

 You have chosen macOS as your host Operating System.
 This option will attempt to install the required
 packages listed below.

 Before you proceed, make sure you have the Brew
 package manager installed!! [https://brew.sh]

  virtualbox.....:  hypervisor
  vagrant........:  automation
  vagrant-plugin :  disksize
  vagrant-plugin :  vbguest
  ansible........:  provisioning
  git............:  git the bits

 Proceed to install these packages? [Y/N]: y

 Installing requirements...
 ---------------------------------------------

Warning: Cask 'virtualbox' is already installed.

To re-install virtualbox, run:
  brew reinstall virtualbox
Warning: Cask 'vagrant' is already installed.

To re-install vagrant, run:
  brew reinstall vagrant
Warning: ansible 2.10.4 is already installed and up-to-date
To reinstall 2.10.4, run `brew reinstall ansible`
==> Downloading https://homebrew.bintray.com/bottles/pcre2-10.36.catalina.bottle.tar.gz
Already downloaded: /Users/dcode/Library/Caches/Homebrew/downloads/d27de33678a631de6ff42dae67e973b5edbb988e76542dd0053ceab3323fb33e--pcre2-10.36.catalina.bottle.tar.gz
==> Downloading https://homebrew.bintray.com/bottles/git-2.30.0.catalina.bottle.tar.gz
Already downloaded: /Users/dcode/Library/Caches/Homebrew/downloads/3521bd508d5d7fbbf69275ef426aa9809164cadc82e84af1c86ad139d7e1787d--git-2.30.0.catalina.bottle.tar.gz
Error: git 2.29.2 is already installed
To upgrade to 2.30.0, run `brew upgrade git`.

>_

Blindly running the deploy after above 'setup' process:
      __________  ___           __
     /_  __/ __/ / _ \___ ___  / /__  __ __
      / / _\ \  / // / -_) _ \/ / _ \/ // /
     /_/ /___/ /____/\__/ .__/_/\___/\_, /
                       /_/          /___/
     (B)ack to Main
 ---------------------------------------------

 You have chosen to Quick-Deploy all boxes.
 This includes the following configuration:

    Elastomic...:  EMULATE and DETECT

    Windows 10..:  Windows target box

    CentOS 7....:  Linux target box

 Proceed to deploy this configuration? [Y/N]: y

 Deploying all boxes with vagrant up!
 ---------------------------------------------

Bringing machine 'ts.elastomic' up with 'virtualbox' provider...
Bringing machine 'ts.windows10' up with 'virtualbox' provider...
Bringing machine 'ts.centos7' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

Vagrant:
* Unknown configuration section 'vbguest'.

>_

I had to manually run brew upgrade git to succeed.

Tagged the setup in stationctl as "experimental" in d47604c until this can be addressed.

Assigned to organization bash-ninja @dcode

Assigned to organization bash-ninja @dcode


[URLFollow] skip links that are the same as the previous link

Maybe on a timer, so if it's posted 15 minutes later it will follow it again.

This issue was moved to DesertBot/DesertBot#1


Lensing task

I compress using use loss and here are the results:
fiducial_model = condition(model, {'omega_c': 0.3, 'sigma_8': 0.8})
sample_map_fiducial = seed(fiducial_model, jax.random.PRNGKey(3))
m_data = sample_map_fiducial()

fiducial_model = condition(model, {'omega_c': 0.3, 'sigma_8': 0.8})
sample_map_fiducial = seed(fiducial_model, jax.random.PRNGKey(28))
m_data = sample_map_fiducial()

fiducial_model = condition(model, {'omega_c': 0.3, 'sigma_8': 0.8})
sample_map_fiducial = seed(fiducial_model, jax.random.PRNGKey(30))
m_data = sample_map_fiducial()

fiducial_model = condition(model, {'omega_c': 0.3, 'sigma_8': 0.8})
sample_map_fiducial = seed(fiducial_model, jax.random.PRNGKey(20))
m_data = sample_map_fiducial()

Ok so first all these posteriors shouldn't be too far from 0.3 0.8 right ?
Second, I thought that compression couldn't bias the result so I'm a bit confused ^^'
notebook

I'll try with mutual information

Hey @dlanzieri :) did you have this kind of results when you were working on the different types of compression ?

I have the same behavior with vmim

Hey @dlanzieri :) did you have this kind of results when you were working on the different types of compression ?

Hey @Justinezgh! What kind of simulation are you implementing? I didn't find any difference between the two types of compression with the Lognormal field. I'm now working to see what happens when implementing the N-body simulation.


Is there a way to save a path for a specific file (map of multiple files) and set the filetype for highlighting automatically for that file, instead of reassociating the entire extension with different highlighting?

I find that a lot config files might use similar extensions, such as config.cfg, but then the actual language used might be completely different, such as toml, json, .env/ini, etc, so I was wondering if there was a way to store a map of the specific files and the highlighting they could use, so that if that particular file is opened, it automatically sets the desired highlighting?
Example:
{
	"/path/to/file/config.cfg": "toml",
	"/path/to/a/different/file/config.123": "json",
	"/path/to/another/file/config.cfg": "ini",
}

Thanks,
-MH

I do not believe it is possible to change the syntax highlighting for file extensions without changing the source code and building micro yourself, which is actually way easier than you might think.
git clone https://github.com/zyedidia/micro.git

cd micro

micro runtime/syntax/json.yaml

In the file you then have to add your desired file extension.
From this:
filetype: json

detect:
    filename: "\\.json$"
    header: "^\\{$"

...

To this:
filetype: json

detect:
    filename: "\\.json$|\\.123$"
    header: "^\\{$"

...

Then build micro and perhaps move the binary to something like /usr/local/bin to have it in your PATH.
make build && mv micro /usr/local/bin/micro

Regarding your other example...if you associated the file extension .cfg with both toml and ini syntax highlighting, how would micro know which one to use? You can only associate a file extension with one syntax highlighting, which is also why there is none associated with .cfg by default, as its use is somehow vague.
Hope that helps!

This should be possible with local file settings:
{
    "/path/to/file/config.cfg": {
        "filetype": "toml"
    },
    "/path/to/a/different/file/config.123": {
        "filetype": "json"
    },
    "/path/to/another/file/config.cfg": {
        "filetype": "ini"
    }
}

I've just pushed an update so that these local settings globs match against the absolute path so this should work in all circumstances now.

Ah great, that looks exactly what I was hoping to have. I update and give it a go. Much appreciated. :+1:

Just had a go at it, seems to work as anticipated. Much appreciated.


bug: NullPointerException during startScan(...) with capacitor inside an Android fragment

Plugin(s)

[X] Barcode Scanning
[ ] Face Detection
[ ] Face Mesh Detection
[ ] Selfie Segmentation
[ ] Translation

Version
6.1.0
Platform(s)

[X] Android
[ ] iOS
[ ] Web

Current behavior
Hi there.
So I have kind of a specific android app structure with multiple android fragments, and with capacitor instanciated in one of them using BridgeFragment class. The particularity is that plugins are not automatically loaded when using this class, you have to manually add each plugin inside the fragment class as stated here https://github.com/ionic-team/capacitor/issues/5564#issuecomment-1735320796.
This works well, except for the barcode scanning plugin, which produces the famous NullPointerException during startScan(...) despite having data binding enabled.
java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.camera.view.PreviewView.setScaleType(androidx.camera.view.PreviewView$ScaleType)' on a null object reference
    at io.capawesome.capacitorjs.plugins.mlkit.barcodescanning.BarcodeScanner.lambda$startScan$0(BarcodeScanner.java:106)

My guess is that the following code breaks because the app doesn't find the preview view since the plugin is instanciated in a fragment ?
// BarcodeScanner.java:106
previewView = plugin.getActivity().findViewById(R.id.preview_view);

I'm a beginner android developer so I'm kind of lost here as to where the problem lies exactly. I'm aware that my app's implementation with fragment is rather advanced so I'll understand if it's not something you want to support in your plugin.
Expected behavior
No error during scan.
Reproduction
https://github.com/LoicUV/scanner-example
Steps to reproduce

Build & run the app
Click the SCAN BARCODE button
Check LogCat for the error

Other information
No response
Capacitor doctor
💊   Capacitor Doctor  💊

Latest Dependencies:

  @capacitor/cli: 6.1.0
  @capacitor/core: 6.1.0
  @capacitor/android: 6.1.0
  @capacitor/ios: 6.1.0

Installed Dependencies:

  @capacitor/ios: not installed
  @capacitor/cli: 6.1.0
  @capacitor/android: 6.1.0
  @capacitor/core: 6.1.0

[success] Android looking great! 👌

Before submitting

[X] I have read and followed the bug report guidelines.
[X] I have attached links to possibly related issues and discussions.
[X] I understand that incomplete issues (e.g. without reproduction) are closed.

@robingenz I'm having the same issue but in a normal Ionic/Capacitor App. It worked but now I suddenly get this error...
VM3:943 Uncaught (in promise) Error: Attempt to invoke virtual method 'void androidx.camera.view.PreviewView.setScaleType(androidx.camera.view.PreviewView$ScaleType)' on a null object reference
`const startScan = async () => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { camera } = await BarcodeScanner.checkPermissions();
document.querySelector('body')?.classList.add('barcode-scanner-active');
    // eslint-disable-next-line @typescript-eslint/no-unused-vars
    const listener = await BarcodeScanner.addListener(
        'barcodeScanned',
        async result => {
            BarcodeScanner.stopScan();
            setShowQrLoading(true);
            document.querySelector('body')?.classList.remove('barcode-scanner-active');
            await loginWithToken(result.barcode.rawValue);
        },
    );

    // Start the barcode scanner
    await BarcodeScanner.startScan();
};`

After the startScan() method the error appears...

@robingenz I found the issue:
https://github.com/capawesome-team/capacitor-mlkit/tree/main/packages/barcode-scanning#data-binding
Data binding was not enabled...

Thank you @emmaB93 for your comment about another cause of this error.
Sadly I found it after few hours first seeing this issue where I landed searching the error message. Then I investigated how it could happened in my project where I have not intentionally messed with Android fragments. Then after many hopeless feelings I randomly found your minimized comments. 🤦♂


only show the 'basic API common for this target' message when this is a missing foreign function

Follow-up to https://github.com/rust-lang/miri/pull/3558

@bors r+

:pushpin: Commit a4dd2b0fca55cac50ddf0becd6fda8cec5ba8342 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit a4dd2b0fca55cac50ddf0becd6fda8cec5ba8342 with merge 56822f1068d35ccd7a41e6d56aced607057b339a...

:broken_heart: Test failed - checks-actions

@bors r+

:pushpin: Commit 100c718ee7bf479df7763f78b4c268a05a109333 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit 100c718ee7bf479df7763f78b4c268a05a109333 with merge fb78667674f1281b40d69d5baed194d255415ed8...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing fb78667674f1281b40d69d5baed194d255415ed8 to master...


[Feature] Use unittest.skipIf instead of checking in runtime

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description

https://github.com/ray-project/kuberay/commit/3b0718d24d9582aa8abfa5ae370f6e22498a131e
https://github.com/ray-project/kuberay/pull/1770#discussion_r1436671489

Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

cc @rueian will take this issue.


rate of release updates

Not really an issue or proposal, merely a humble suggestion: would it be an idea to slow down the rate of official updates a notch or two? I'm using homebrew, and in the past month some 10 updates to Hugo have popped up. More than almost every other homebrew package I use.
As a very (very!) happy user of Hugo, I'm delighted that developments continue to add new features, but they almost never affect me personally - I'm not living on the edge, just using Hugo for a few websites (blogs, docs, etc). For those of us who would appreciate leaving good enough alone (assuming there are others), it would be helpful to have a way to track urgent fixes, without necessarily tracking all the features being thought of and added to Hugo. Note also that the nature of Hugo as static site generator makes it considerably more robust and safer to reduce the rate of release updates than with anything based on active code, running during each website access.

No.

It sounds like your problem is with homebrew (which I don't use).  Either tell homebrew to install a particular version or stop using homebrew for Hugo.


refactor: migrate to qwik 1.x

eslint errors:
/__w/hacktoberfest/hacktoberfest/frontend/src/env.d.ts
  0:0  error  Parsing error: ESLint was configured to run on `<tsconfigRootDir>/src/env.d.ts` using `parserOptions.project`: <tsconfigRootDir>/tsconfig.json
However, that TSConfig does not include this file. Either:
- Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file

@elianiva Can you skip the eslint check on CI to have continue-on-error set to true? https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error
The Docker image won't be built if the CI failed.


Runtime error

Thanks for the great little script, it really helps.
I was running it recently, and it had been monitoring a performer for around a couple of days, but it then crashed. The log shows

2023/03/08 11:38:56 [INFO] iris_diaz is not online, check again in 1 minute(s)
2023/03/08 11:39:57 [INFO] iris_diaz is not online, check again in 1 minute(s)
2023/03/08 11:40:57 [INFO] iris_diaz is not online, check again in 1 minute(s)
2023/03/08 11:41:58 [INFO] iris_diaz is not online, check again in 1 minute(s)
2023/03/08 11:42:58 [INFO] iris_diaz is not online, check again in 1 minute(s)
2023/03/08 11:43:58 [INFO] iris_diaz is not online, check again in 1 minute(s)
2023/03/08 11:45:16 Get "https://chaturbate.com/iris_diaz/": read tcp <IP_ADDRESS>:5676-><IP_ADDRESS>:443: read: connection reset by peer
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x727097]
goroutine 1 [running]:
main.getBody({0x7fff58557794, 0x9})
/mnt/c/Users/yamiodymel/go/src/github.com/teacat/chaturbate-dvr/main.go:86 +0x377
main.getOnlineStatus({0x7fff58557794?, 0x7bf261?})
/mnt/c/Users/yamiodymel/go/src/github.com/teacat/chaturbate-dvr/main.go:94 +0x1e
main.endpoint(0xc0000f82a0?)
/mnt/c/Users/yamiodymel/go/src/github.com/teacat/chaturbate-dvr/main.go:351 +0x54a
github.com/urfave/cli/v2.(*App).RunContext(0xc0001ca4e0, {0x864dd0?, 0xc00001a0c0}, {0xc000016180, 0x3, 0x3})
/mnt/c/Users/yamiodymel/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:322 +0x97c
github.com/urfave/cli/v2.(*App).Run(...)
/mnt/c/Users/yamiodymel/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224
main.main()
/mnt/c/Users/yamiodymel/go/src/github.com/teacat/chaturbate-dvr/main.go:391 +0x3eb

I guess the "connection reset by peer" is causing this?
Thanks

Fixed, please try with the latest /bin files or download from https://github.com/teacat/chaturbate-dvr/releases/tag/v0.91-alpha version
Chaturbate has a bad- network connection 🥺
Normally the program retries if can't receive a successful response, but this situation is more like an underlying (low-level) network error that a "response" doesn't even exist, so checking something doesn't exist it panics.


Module breaks non-build nuxi commands like prepare and typecheck

Describe the bug
When running commands like nuxi prepare and nuxi typecheck with<EMAIL_ADDRESS>or later, I get the following error:
Cannot start nuxt:  Cannot read properties of undefined (reading 'PROD')
The error originates from this line reading import.meta.env.PROD. It works during nuxi dev, so I guess it could be a matter of Vite not being available during non-build commands, or at least not at the time of calling the module's defaults hook 🤷♂
Reproduction
I cannot provide a minimal reproduction at this point, but it seems like it might be a simple fix. If this is not the case, I can take a look at creating a proper reproduction
System / Nuxt Info
- Operating System: `Darwin`
- Node Version:     `v18.16.0`
- Nuxt Version:     `3.8.0`
- CLI Version:      `3.9.1`
- Nitro Version:    `2.7.2`
- Package Manager<EMAIL_ADDRESS>- Builder:          `-`
- User Config:      `-`
- Runtime Modules:  `-`
- Build Modules:    `-`
(Don't know why `nuxi info` doesn't show any modules, but I'm using both `nuxt-schema-org` and `nuxt-simple-sitemap`)

I may have been wrong when I said it still worked during nuxi dev, or my initial run may have behaved differently somehow, but all of the following nuxi commands fail for me now: build, dev, generate, prepare, and typecheck.

Ok, I'm also getting this error but I just installed this for the first time now.

Same for me

As workaround, I dowgrade nuxt-schema-org to 3.0.0

Sorry! looks like a weird bug, not sure why the CI didn't pick it up.
Please upgrade to 3.1.2


feat: add lemmas Disjoint.isCompl_sup_right_of_isCompl_sup_left (and partner)

LGTM
maintainer merge

The build failure was due to a "No space left on device" error for hoskinson9, so I'll try sending this back to bors in the hopes of getting a different runner.
bors merge


mgmt: mcumgr: drop few redeclared/shadowed variables

Drop few redeclared variables, fixes some:
settings_mgmt.c:454:30: error: declaration of ok shadows a previous local [-Werror=shadow]
454 |                         bool ok;
|                              ^~
settings_mgmt.c:436:14: note: shadowed declaration is here
436 |         bool ok = true;
|              ^~

@nordicjm I think this is changing the behavior on errors as well since now it's using the ok copy in the outer scope, which is the one actually used by MGMT_RETURN_CHECK(ok);, though then I'm surprised that the compiler was not warning for using initialized variables before. You may want to double check on that though I think this is the correct intent.

@nordicjm I think this is changing the behavior on errors as well since now it's using the ok copy in the outer scope, which is the one actually used by MGMT_RETURN_CHECK(ok);, though then I'm surprised that the compiler was not warning for using initialized variables before. You may want to double check on that though I think this is the correct intent.

oopsie… I do not think it would warn as ok is assigned at least once in the smp decoding functions for commands, when the zcbor bulk decoder is run, and that happens near the beginning of each function.


Clients getting "unauthorized" error when trying to change groups

installer: The upgrade was successful.
{"message":"Unauthorized"}JumpCloud system: {id} removed from system group: {id}}

I am using the autogenerated command from the importer, making the following request:
# Get the current time.
now=$(date -u "+%a, %d %h %Y %H:%M:%S GMT")

# create the string to sign from the request-line and the date
signstr="POST /api/v2/systemgroups/${systemGroupID}/members HTTP/1.1\ndate: ${now}"

# create the signature
signature=$(printf "$signstr" | openssl dgst -sha256 -sign /opt/jc/client.key | openssl enc -e -a | tr -d '\n')

curl -s \
	-X 'POST' \
	-H 'Content-Type: application/json' \
	-H 'Accept: application/json' \
	-H "Date: ${now}" \
	-H "Authorization: Signature keyId=\"system/${systemID}\",headers=\"request-line date\",algorithm=\"rsa-sha256\",signature=\"${signature}\"" \
	-d '{"op": "remove","type": "system","id": "'${systemID}'"}' \
	"https://console.jumpcloud.com/api/v2/systemgroups/${systemGroupID}/members"

echo "JumpCloud system: ${systemID} removed from system group: ${systemGroupID}"

Did something with the API change maybe? Any other ideas why this is failing?

Hey @rhulet343,
The system context api  is used in the autogenerated command request. As things stand now, systems who enroll in JumpCloud through User Portal Installation are not authorized to use the system context api. The reason behind this was centered around security and locking down systems who may have enrolled with a user portal connect key.
Is it possible that this system was enrolled in this way?
Best,
Joe


[release-4.18]: MULTIARCH-4971: Set import mode in image config based on ClusterVersion desired Architecture

https://github.com/openshift/api/pull/2024 introduces the architecture
property in the desired status field which indicates the architecture of
the cluster (or the architecture being reconciled to). Set import mode
based on this status - if "Multi", set importmode to PreserveOriginal,
else to Legacy.
Backport of https://github.com/openshift/cluster-image-registry-operator/pull/1164

/retest

/retest

/retest

/test e2e-vsphere-operator

/label backport-risk-assessed
/approve

/lgtm


3.0.x-dev (master) + Symonfy 2.x / 3.x compatibility

This PR introduces the following changes:

Merged the remaining commits from 3.0.x-dev (master branch) of vipsoft/code-coverage-extension for Behat3 compatibility - fixes #1
Updated compatibility with 2.x (~2.3) and 3.x (~3.0) of Symfony Components - fixes #2 . The component has been tested to work with Symfony: 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 3.0, 3.1, 3.2. There are now 2 service files (one for symfony 2.x (services-2.3.xml), another for Symonfy 3.x (services.xml))

This fixes #1 #2


Create a fuzz introspector exclude config file

See https://github.com/ossf/fuzz-introspector/blob/main/doc/Config.md for details.
I'll create a PR for oss-fuzz to make use of that config file.

This pull request is ready to merge

Merged to master. Thank you.


More general binding Mechanism(s)

Currently we have mechanisms for nA + B <--> nA:B
We should have a very general version: sum_i n_i X_i <--> C
Onestep: reaction occurs all at once.
Twostep: sum_i n_i X_i <--> Ci; \sum_i C_i <--> C.
Any other generalizations noting that a fully combinatoric version is also on the way.

CombinatorialComplex takes care of binding in a lot of generality. Closing this issue.


Update values.yaml

@BenjamynBaker  this doesn't need a version bump if you have admin privs 🙏

I think you may need to update chart/retool/values.yaml as well


On what criteria does auto scaling of the pods occure?

It explains why it would auto scale and how to implement it, but not what criteria the auto scale would execute. Yes, it can be metric based, but is it for the combination of resource between all the pods or for 1 singular pod. E.g I have Auto scale in place 3 pods minimum and it can scale out to 5 pods if the CPU runs at 90% for 5 mins or the Memory runs at 80% for 5 mins.  in the following scenario, Pod1 of 3 gets a service causing a memory leak and its memory runs at 90%, but the other 2 Pods are not getting high load with the service they are handling. So Pod1 is running at 90% memory, but Pod2 and Pod 3 runs at 20% memory so out of the 300% available memory between the 3 Pods, it only runs at like 44% which is not close to the set limit of 80%. Will Auto scale initiate or not? This can be a big problem causing a false positive, because when your start investigating why the service is failing you won't think to look at memory leaks, because Auto scale was never executed.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 077f1bb5-2ba9-490c-2c6e-0de292266539
Version Independent ID: 0fd87b4f-88a4-c2eb-3ebc-f2b113ac203c
Content: Use the cluster autoscaler in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/cluster-autoscaler.md
Service: container-service
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@Arno-Pretorius
Thanks for your feedback! We will investigate and update as appropriate.

@Arno-Pretorius
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.


Change to ktor

It could be beneficial to change to use ktor instead of Javalin, as ktor is written in Kotlin and supports suspending functions.

I managed to temporarily broke OAuth in the process. Getting CORS and OAuth to work again was a bit of a hassle, but it's fixed now.
Key takeaways: With Ktor, you need to allow a lot of headers in CORS. And GitHub OAuth no longer needed the weird transformation from form-data response to JsonObject, presumably because the accept content-type header is now sent to GitHub.


Aborted when launching scrcpy server through app_process

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: macOS
scrcpy version: v2.1.1
device model: samsungSM-G977N
Android version: 12

Describe the bug
Aborted when launching scrcpy server through this command. There is no additional log output.
adb -s R3CM7099XKZ shell CLASSPATH=/data/local/tmp/scrcpy-server-v2.1.1.jar app_process / com.genymobile.scrcpy.Server 2.1.1 log_level=info max_size=1080 max_fps=15 video_bit_rate=1300000 tunnel_forward=true send_frame_meta=false control=true audio=false stay_awake=true power_off_on_close=false clipboard_autosync=false

Supplementary information:
adb -s R3CM7099XKZ shell ls -l /data/local/tmp/

On some devices, I think app_process crashes if there are more than 256 chars :/ Could you check if it works with less parameters?

After analyzing the phone's system log, it was found that the scrcpy-server-v2.1.1.jar file was corrupted. After re-uploading the file, the issue was resolved.
thanks.


Updated strong name keys to use key without a password

New password-less strong-name keys for the assemblies
Fixes #16
CC @onovotny @brianlagunas @terrajobst @karann-msft

nit: tests don't really need a second strong name key.
Also, you can remove the need to put the key name in each project it you put it in the directory props like this:
https://github.com/dotnet/reactive/blob/master/Ix.NET/Source/Directory.build.props#L12-L13

Also seems to have an extra public.snk key checked in?

@onovotny D'oh! Not sure what I was thinking. Fixed.

Yeah the public key was temporary and an accident. Already addressed


Improve discoverability for a native M2 search known issue with

ElasticSuite
so that users (and FC support 😇) can find it more easily
Preview: https://deploy-preview-470--heuristic-almeida-1a1f35.netlify.app/docs/magento2/search-engine#native-search

I merged main back into next to make this change available on both branches.


Lucide Flutter packging

https://pub.dev/packages/lucide_icons

I can't say anything about the code, but this is nice

@locness3 The code is very short and simple. Also, I'm using this package in my project sharik, so it definitely works :)

@marchellodev Awesome work!

@marchellodev I will add the workflow for this!

@ericfennis Thanks! Please let me know if you need any help

@marchellodev I'm done with the workflows, I will merge this one first.

The latest version is not updated on pub.dev. Is the workflow working properly? :) @ericfennis

@marchellodev sorry I was working on it yesterday evening. But I've one bug in the flow. But I know what it is. I will create a fix for I today.
GitHub actions is always a bit hard to test, so the only way is just try it. :P


PHP doesn't upload in demo page

hi muaz,
thanks for all your work on webrtc.
on the demo page, https://www.webrtc-experiment.com/RecordRTC/PHP/, the php upload function produces the error 'Failed to upload to server'. has something changed in the setup or code or is it possible that this could be fixed? as far as i know, it would be the only working example of getusermedia to server via php anywhere on the web.
i built a system (no longer working now, for reasons i have not yet fathomed) using node.js, but i really prefer the idea of doing it mainly with php.
thanks,
julian

@optimusdrake You're able to upload an audio file to you're project's server in any way you seem fit to handle the task. The console error thrown at https://www.webrtc-experiment.com/RecordRTC/PHP/ is:
Failed to load https://webrtcweb.com/RecordRTC/: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.webrtc-experiment.com' is therefore not allowed access.

This is a CORS issue specific only to webrtc-experiment.com, not RecordRTC itself.


Mobile comment issue

I have been unable to send a comment via my phone for several days. When I hit reply, it multiplies the name of the user I reply to and stops me from commenting. There are a few other weird behaviours documented in the video.
I have a Z Fold 5, Chrome, Android 14 I think (happens in full or slab mode)
https://github.com/user-attachments/assets/e8a9508b-d366-4812-be04-04e481379503

I cant reproduce the locking, but I can reproduce "typing anything adds copies of the @ed username". Only on Chrome Android.

@SylvainChevalier I wonder how you reproduced the "typing anything adds copies of the @ed username" issue. According to the original screencast, extra mention is added by MicrosoftSwiftkey (pressing space automatically adds whatever is suggested by the keyboard). So this is not a duplicated mention, created by the editor. Was it the same case for you? Could you share a screencast?

I've tried to do some debugging in looks like this is a known issue with Android virtual keyboard in rich text editors: https://issues.chromium.org/issues/41254240 and it's not directly related to our editor implementation.
I applied a workaround that seem to resolve it, but in order to do a proper solution we would need to wait until it is fixed on Google Chrome.

I still have parts of the issue : the doubling of the @ at the beginning still happens and even though I seem to be able to type, the bow is acting like it's searching for a username

@exmateriae a fix wasn't deployed yet

Ready for testing on prod

Much better, thanks @ncarazon.


Adding integration test's product specific scripts

Purpose
To have product specific integration test scripts which would get all common methods and constant variables imports from common scripts
Approach
Prepare product specific scripts as below

Product specific constants variables - 'prod_test_constant.py'
Product specific implementation and main method - 'prod_test_manager.py' - this will be invokable from intg-test-runner.sh

It is complex to resolve conflict, hence closing this PR and sending a new one.


Fix windows build issues

Summary
Addresses build issues seen in #1803, #1809, and #1863 by making updating RNSVG.vcxproj and making it more resilient to template/version changes in react-native-windows.
There is a also a one-time, manual step required which I've added to the README:

cd windows\<AppName>
Open <AppName>.vcxproj

RN 0.68+

Scroll to the bottom until you find:<ItemGroup>
   <PackageReference Include="Microsoft.Windows.CppWinRT" Version="X.X.XXXXXX.X" />
</ItemGroup>

Add the following to that <ItemGroup><PackageReference Include="Win2D.uwp" Version="1.26.0" />

Pre RN 0.68

Scroll to the bottom until you find:
<ImportGroup Label="ExtensionTargets">

Add the following to that <ImportGroup>
<Import Project="$(SolutionDir)\packages\Win2D.uwp.1.26.0\build\native\Win2D.uwp.targets" Condition="Exists('$(SolutionDir)\packages\Win2D.uwp.1.26.0\build\native\Win2D.uwp.targets')" />

This change only addresses the build errors. There is another issue that started in react-native-svg 13.0+ where SVG elements are being rendered all black. That will be fixed in a separate PR. @WoLewicki - would it be possible to backport this fix to version 12?
Test Plan
Using the updated RNSVG.vcxproj and packages.config, I've been able to react-native run-windows successfully on apps using RN/RNW 0.64 through 0.70.
Compatibility

OS
Implemented

Windows
✅

Checklist

[x] I have tested this on a device and a simulator
[x] I added documentation in README.md
[ ] I updated the typed files (typescript)
[ ] I added a test for the API in the __tests__ folder

+1 to back porting to v12; we need this change for pre-Fabric usage.

It is now available in v12.5.0: https://github.com/software-mansion/react-native-svg/releases/tag/v12.5.0 :tada:

@marlenecota Moving the reference to Microsoft.ReactNative.Uwp.CppLib.props to the top of the file here is problematic. It means that it happens before Microsoft.Cpp.Default.props which is where MSBuild pulls in any Directory.Build.props an application might have set in parent folders to configure settings across a build.


Add pyproject.toml for Custom Node Registry

We are building a global registry for custom nodes (similar to PyPI). The registry makes using custom nodes more reliable by reserving globally unique names for each custom node, and supporting semantic versioning.
Here’s some more information on the registry.
Action Required:

[ ] Go to the registry. Login and create a publisher id. Comment it here and we will update the PR (or just merge it and change it yourself).
[ ] Write a short the description.
[ ] Merge the separate Github Actions PR and run the workflow.
If you want to publish the node manually, install the cli and run comfy node publish

Please message me on Discord if you have any questions!

hey @Pfaeff, wanted to send a small nudge and ask if you had any questions!

I'd love to do it, but I don't have the time right now. Also these nodes are very old now. I'm not even sure if they still work.


Basic Runner cluster

Runner cluster works.  Next step is to add some sane metrics and lifecycle hooks for scaling up/down.

Passed CI checks.


404 Error on visualisations when using a large number of devices.

Type of issue

[x] Bug
[ ] New feature
[ ] Enhancement

Description
404-Not Found on the System Alarms, System KPI's, Telemetry tables with a large number of devices.
Inspected the streaming application logs and noticed this error:
The request filtering module is configured to deny a request where the query string is too long.
...
Steps to reproduce

Deploy the solution with a large quantity of devices (I used 100 devices)

Expected behavior
When accessing the Web UI the live charts should actually work.
...
Current behavior
Visualizations show 404 not found error.
...
Known workarounds
Alter the web.config of the web app with this addition:
<?xml version="1.0"?>
<configuration>
  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxQueryString="10000" />
      </requestFiltering>
    </security>
  </system.webServer>
</configuration>

...
Possible solution
...
Context and Environment

Operating System: Azure Web Site
GitHub branch: master
.NET Runtime: 4.5

Code to reproduce the bug

This bug belongs in webui. It is in our backlog