tab-device-permissions sample app fails to load

The tab-device-permissions sample app displays an error screen when loading.
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/tab-device-permissions/nodejs/demo-manifest/tab-device-permissions.zip

As a side note, I would like to ask if there is a plan to allow webHID in the tab apps. So far it seems to be blocked by the Permission Policy of the iframe.
Thank you

@Draginfable - We tried to repro this using the deployed manifest file and are also facing the same issue.

We will check this with concerned team and will get the demo manifest file updated. Meanwhile please refer this sample and check if the app works: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/tab-device-permissions/nodejs

Hello @Prasad-MSFT,
Thank you for the fast response. This doesn't seem to work as well.

Failed to compile.

Module not found: Error: Can't resolve 'scheduler' in '/home/angelos/Repos/test/Microsoft-Teams-Samples/samples/tab-device-permissions/nodejs/node_modules/@fluentui/react-context-selector/lib'
ERROR in<EMAIL_ADDRESS>3:0-115
Module not found: Error: Can't resolve 'scheduler' in '/home/angelos/Repos/test/Microsoft-Teams-Samples/samples/tab-device-permissions/nodejs/node_modules/@fluentui/react-context-selector/lib'

ERROR in ./node_modules/react-segment-analytics/dist/esm/index.js 2:0-59
Module not found: Error: Can't resolve '@segment/analytics-next' in '/home/angelos/Repos/test/Microsoft-Teams-Samples/samples/tab-device-permissions/nodejs/node_modules/react-segment-analytics/dist/esm'

webpack compiled with 2 errors
ERROR in src/components/Tab.tsx:53:39
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
    51 |         <Segment
    52 |           /* Component to capture image(s) */
  > 53 |           children={<CaptureImage />} writeKey={''}
       |                                       ^^^^^^^^
    54 |         />
    55 |         <Segment
    56 |           /* Component to Get/Show geo-Location */

ERROR in src/components/Tab.tsx:57:41
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
    55 |         <Segment
    56 |           /* Component to Get/Show geo-Location */
  > 57 |           children={<GetGeoLocation />} writeKey={''}
       |                                         ^^^^^^^^
    58 |         />
    59 |          <Segment
    60 |           /* Component to capture audio */

ERROR in src/components/Tab.tsx:61:39
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
    59 |          <Segment
    60 |           /* Component to capture audio */
  > 61 |           children={<CaptureAudio />} writeKey={''}
       |                                       ^^^^^^^^
    62 |         />
    63 |
    64 |       </div>

ERROR in src/components/Tab.tsx:68:38
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
    66 |          <Segment
    67 |           /* Component to scan barcode */
  > 68 |           children={<ScanBarCode />} writeKey={''}
       |                                      ^^^^^^^^
    69 |         />
    70 |          <Segment
    71 |           /* Component to capture video */

ERROR in src/components/Tab.tsx:72:39
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
    70 |          <Segment
    71 |           /* Component to capture video */
  > 72 |           children={<CaptureVideo />} writeKey={''}
       |                                       ^^^^^^^^
    73 |         />
    74 |          <Segment
    75 |           /* Component to show selected people */

ERROR in src/components/Tab.tsx:76:39
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
    74 |          <Segment
    75 |           /* Component to show selected people */
  > 76 |           children={<PeoplePicker />} writeKey={''}
       |                                       ^^^^^^^^
    77 |         />
    78 |       </div>
    79 |       </>

ERROR in src/components/Tab.tsx:86:44
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
    84 |     <Segment
    85 |         /* Component to capture image in browser */
  > 86 |         children={<CaptureImageDesktop />} writeKey={''}
       |                                            ^^^^^^^^
    87 |       />
    88 |       <Segment
    89 |         /* Component to Get/Show geo-Location in browser */

ERROR in src/components/Tab.tsx:90:43
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
    88 |       <Segment
    89 |         /* Component to Get/Show geo-Location in browser */
  > 90 |         children={<GetLocationDesktop />} writeKey={''}
       |                                           ^^^^^^^^
    91 |       />
    92 |
    93 |     </div>

ERROR in src/components/Tab.tsx:97:44
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
     95 |       <Segment
     96 |         /* Component to capture audio in browser */
  >  97 |         children={<CaptureAudioDesktop />} writeKey={''}
        |                                            ^^^^^^^^
     98 |       />
     99 |       <Segment
    100 |         /* Component to Get notification in browser */

ERROR in src/components/Tab.tsx:101:47
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
     99 |       <Segment
    100 |         /* Component to Get notification in browser */
  > 101 |         children={<GetNotificationDesktop />} writeKey={''}
        |                                               ^^^^^^^^
    102 |       />
    103 |
    104 |

ERROR in src/components/Tab.tsx:109:44
TS2322: Type '{ children: Element; writeKey: string; }' is not assignable to type 'IntrinsicAttributes & Readonly<Props>'.
  Property 'writeKey' does not exist on type 'IntrinsicAttributes & Readonly<Props>'.
    107 |       <Segment
    108 |         /* Component to capture video in browser */
  > 109 |         children={<CaptureVideoDesktop />} writeKey={''}
        |                                            ^^^^^^^^
    110 |
    111 |       />
    112 |       </div>

@Draginfable - We tested the same sample at our end using MS Teams web client and it works fine at our end.
Used node v18.15.0

You are right. It doesn't seem to wok with node v14.x but it works with node > 16.x

Thanks for confirming that it worked for node > 16.x. Regarding the demo manifest not working, we will check with concerned team and will get the manifest updated.

Team is actively working with engineering team on fixing the sample. We will update this thread once it is fixed.

We have checked about the update with concerned team and got update that they are working on fixing the sample.
We will update this thread once it is fixed.

@Draginfable - We verified, and the deployed manifest is working now.

We are closing this issue for now. Please feel free to reopen if required. Thanks!


Dead link in Motivation Section

The link from Motivation section in the word guide is dead.
The text says:

This is the Guide to begin a Data Science project.

Thank you for letting us know. We have been working on creating a new data science guideline to help out beginners. Please stay tuned. :)


Give focus back to saka-key

Sometimes, focus is not on the page, where saka can do its job, but somewhere else in the browser (such as the address bar or the tool bar). In these cases, I would press TAB several times until the focus is back on the page. Is there a way to give the page, and saka, the focus with just one keyshortcut?

Try the Escape key.

The Escape key works great for input fields in pages, but it doesn't work (for me) when focus is on address bar or the tool bar.

Unfocus the Omnibox
Open chrome://settings/searchEngines in your browser, then Add search engine.
Search engine: Omnifocus
Keyword: j
URL: javascript:

There is also F6 keyboard shortcuts, but not really accessible.

Thank you @alexherbo2. I'm on Firefox Nightly though.

Firefox's documentation says:

Some of these shortcuts require the currently selected tab to be "in focus." Currently, the only way to do this is to select an adjacent object and "tab into" the current tab, for instance, by hitting Alt + D to select the address bar, and then Shift + Tab twice.

@DamienCassou, it's not possible with available APIs. Here are some workarounds:

Press Tab until the page is focused again
Press ctrl+f to open the find menu then press Escape to focus the page


Reload "F5" results in Page not available

Hi there,
I installed snapp in Docker on my Synology NAS with following .yaml:
version: '3'
services:
  redis:
    image: redis/redis-stack:latest
    container_name: Snapp-REDIS
    # ports: # you can specify LOCAL_IP OR VPN_IP to make db or redis insight available privately
    # - (LOCAL_IP or VPN_IP):6379:6379/tcp
    # - (LOCAL_IP or VPN_IP):8001:8001
    volumes:
      - /volume1/docker/snapp/redis:/data:rw
      # this make sure to enable persistance through docker restarts
      # and shutdowns or updates -- change it to a folder of your choise
      - /etc/localtime:/etc/localtime:ro
   #networks:
   #   - snapp-stack
    environment:
      REDIS_ARGS: '--save 60 1 --appendonly yes' # Optional: `--requirepass mypassword`
    healthcheck:
      test: ["CMD-SHELL", "redis-cli ping || exit 1"]
    restart: unless-stopped

  snapp:
    image: uraniadev/snapp:latest
    container_name: Snapp
    ports:
      - 6421:3000
    volumes:
      # provide origin json downloadable
      # from github if you intend to use it
      #
      # - /home/snapp/app/translations:/app/translations:ro
      # - /home/snapp/redis/theme/theme.css:/app/static/custom-theme.css
      # See (Discussion about theming)[https://github.com/urania-dev/snapp/discussions/18]
      - /volume1/docker/snapp/app/translations:/app/translations:ro
      # - /volume1/docker/snapp/redis/theme/theme.css:/app/static/custom-theme.css
    depends_on:
     redis:
      condition: service_healthy
    #networks:
    #  - snapp-stack
    environment:
      AUTH_SECRET: XXX
      DB_HOST: redis
      # DB_PASS: # Optional: Requires `--requirepass mypassword` in REDIS_ARGS
      DB_PORT: 6379
      # DB_IDX: 0
      ALLOW_UNSECURE_HTTP: true
      ENABLE_LIMITS: false
      ENABLE_SIGNUP: false
      ENABLE_HOME: true
      DEFAULT_THEME: dark
      DEFAULT_LANG: en
      LOCALIZATION_FOLDER: /app/translations
      # MAX_SHORT_URL: 10
      # MAX_USAGES: 0
      # MAX_RPM: 0
      # MAX_RPD: 0
      # UMAMI_WEBSITE_ID:
      # UMAMI_URL:
      # VIRUSTOTAL_API_KEY:
      PUBLIC_URL: https://url.web.de
      ORIGIN: https://url.web.de
      # NODE_ENV: production
      # NODE_ENV: development
      TIMEZONE: Europe/Berlin
      SMTP_HOST: abc.de
      SMTP_USER:
      SMTP_PASSWORD:
      SMTP_FROM<EMAIL_ADDRESS>
networks:
  #snapp-stack: # Snapp Network so Snapp and redis can communicate but redis is isolated from the wan
  #external: false
    default:
       external:
          name: Diverses

Now I have the following issue. I start the project on my NAS. Everything starts up fine. It runs with a reverse proxy so that I can connect from external. If I press F5 on the page it cant load the page anymore until I delete the Cookies.
If Home is disabled it is more difficult to get back at all.
I even tried reverse proxy with http instead of https and also tried different port settings. nothing helps.
Can anyone help me with that problem?

Weird indeed, i'll try to look into it

Weird indeed, i'll try to look into it

Let me know how I can help / assist you or test things out.
I also recognized that this error only shows up on the Dashboard or Home (if Home is disabled) and Admin Panel not on Users, Metrics and Settings.

Do the dockers leave any dock regarding this issue? Like missing cookies or settings from cookie?

Nothing I am aware of. I have 4 Cookies from Snapp: snap:theme, __Secure-authjs.session-token, __Secure-authjs.callback-url, __Host-authjs.csrf-token

Do the dockers leave any LOGS regarding this issue? Like missing cookies or settings from cookie?

that word was log, my fault. I tried to check the cookies interaction here and there on the app, and it should work even without cause it doesn't rely on them and it has defaul set for alternative, as long as we are talking about the two i use (theme and lang) the third one (AUTHJS) are the cookies related to authentication, so i think that's the real problem, but without a log or similar it is difficult to understand what is going wrong.
App docker still on
Listening on <IP_ADDRESS>:3000

with anything else?

Listening on <IP_ADDRESS>:3000

This is the only line on the Snapp Container log.
This ist the Snapp-Redis Logfile:
date	stream	content 2024/05/26 09:34:02	stdout	8:M 26 May 2024 09:34:02.179 * Background saving terminated with success 2024/05/26 09:34:02	stdout	81:C 26 May 2024 09:34:02.079 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB 2024/05/26 09:34:02	stdout	81:C 26 May 2024 09:34:02.075 * DB saved on disk 2024/05/26 09:34:00	stdout	8:M 26 May 2024 09:34:00.872 * Background saving started by pid 81 2024/05/26 09:34:00	stdout	8:M 26 May 2024 09:34:00.872 * 1 changes in 60 seconds. Saving... 2024/05/26 09:31:05	stdout	8:M 26 May 2024 09:31:05.003 * Background saving terminated with success 2024/05/26 09:31:04	stdout	43:C 26 May 2024 09:31:04.943 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 1 MB 2024/05/26 09:31:04	stdout	43:C 26 May 2024 09:31:04.941 * DB saved on disk 2024/05/26 09:31:04	stdout	8:M 26 May 2024 09:31:04.098 * Background saving started by pid 43 2024/05/26 09:31:04	stdout	8:M 26 May 2024 09:31:04.096 * 1 changes in 60 seconds. Saving... 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.252 * <module> Scanning index usages:index in background: done (scanned=32) 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.251 * <module> Scanning index usages:index in background 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.251 * <module> Scanning index snapps:index in background: done (scanned=32) 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.250 * <module> Scanning index snapps:index in background 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.250 * <module> Scanning index apikey:index in background: done (scanned=32) 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.250 * <module> Scanning index apikey:index in background 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.249 * Ready to accept connections tcp 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.249 * Opening AOF incr file appendonly.aof.1.incr.aof on server start 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.249 * DB loaded from append only file: 0.629 seconds 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.249 * <redisgears_2> Loading finished, re-enable key space notificaitons. 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.249 * <search> Loading event ends 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.249 # <search> Skip background reindex scan, redis version contains loaded event. 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:05.249 * DB loaded from incr file appendonly.aof.1.incr.aof: 0.629 seconds 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.620 * DB loaded from base file appendonly.aof.1.base.rdb: 0.000 seconds 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.620 * Done loading RDB, keys loaded: 0, keys expired: 0. 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.620 * RDB is base AOF 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.620 * RDB memory usage when created 1.14 Mb 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.620 * RDB age 44617 seconds 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.620 * Loading RDB produced by version 7.2.4 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.620 * Reading RDB base file on AOF loading... 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.620 * <redisgears_2> Got a loading start event, clear the entire functions data. 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.620 * <search> Loading event starts 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.619 * Server initialized 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.618 * Module 'redisgears_2' loaded from /opt/redis-stack/lib/redisgears.so 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.588 * <redisgears_2> Registered backend: js. 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.447 * <redisgears_2> RedisGears v2.0.20, sha='9b737886bf825fe29ddc2f8da81f73cbe0b4e858', build_type='release', built_for='Linux-ubuntu22.04.x86_64', redis_version:'7.2.4', enterprise:'false'. 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.447 * <redisgears_2> Failed loading RedisAI API. 2024/05/26 09:30:05	stdout	 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.447 # <redisgears_2> could not initialize RedisAI_InitError 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.447 * <redisgears_2> Detected redis oss 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.445 * <redisgears_2> Created new data type 'GearsType' 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.405 * Module 'bf' loaded from /opt/redis-stack/lib/redisbloom.so 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.405 * <bf> RedisBloom version 2.6.12 (Git=unknown) 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.392 * <search> Acquired RedisJSON_V5 API 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.392 * Module 'ReJSON' loaded from /opt/redis-stack/lib/rejson.so 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.392 * <ReJSON> Enabled diskless replication 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.392 * <ReJSON> Exported RedisJSON_V5 API 2024/05/26 09:30:05	stdout	8:M 26 May 2024 09:30:04.392 * <ReJSON> Exported RedisJSON_V4 API 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.392 * <ReJSON> Exported RedisJSON_V3 API 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.392 * <ReJSON> Exported RedisJSON_V2 API 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.392 * <ReJSON> Exported RedisJSON_V1 API 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.392 * <ReJSON> version: 20610 git sha: unknown branch: unknown 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.392 * <ReJSON> Created new data type 'ReJSON-RL' 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.307 * Module 'timeseries' loaded from /opt/redis-stack/lib/redistimeseries.so 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.307 * <timeseries> Detected redis oss 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.307 * <timeseries> Setting default series ENCODING to: compressed 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.307 * <timeseries> loaded server DUPLICATE_POLICY: block 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.307 * <timeseries> loaded default CHUNK_SIZE_BYTES policy: 4096 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.307 * <timeseries> Redis version found by RedisTimeSeries : 7.2.4 - oss 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.307 * <timeseries> RedisTimeSeries version 11012, git_sha=81d5ef59cdaba059a0eb9705c3c4b0127949f388 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.128 * Module 'search' loaded from /opt/redis-stack/lib/redisearch.so 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.127 * <search> Enabled role change notification 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.127 * <search> Initialized thread pools! 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.127 * <search> concurrent writes: OFF, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results:  10000, search pool size: 20, index pool size: 8,  2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.127 * <search> Low level api version 1 initialized successfully 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.127 * <search> RediSearch version 2.8.13 (Git=2.8-c1535c6) 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:04.127 * <search> Redis version found by RedisSearch : 7.2.4 - oss 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:03.978 * Module 'RedisCompat' loaded from /opt/redis-stack/lib/rediscompat.so 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:03.727 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:03.727 * Running mode=standalone, port=6379. 2024/05/26 09:30:04	stdout	8:M 26 May 2024 09:30:03.726 * monotonic clock: POSIX clock_gettime 2024/05/26 09:30:04	stdout	8:C 26 May 2024 09:30:03.725 * Configuration loaded 2024/05/26 09:30:04	stdout	8:C 26 May 2024 09:30:03.725 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=8, just started 2024/05/26 09:30:04	stdout	8:C 26 May 2024 09:30:03.725 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 2024/05/26 09:30:03	stdout	8:C 26 May 2024 09:30:03.725 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

Do you think you can run a test version where i try to output more logs in order to address your specifico problem?

Yes I try.

uraniadev/snapp:0.7.3.test
here it is, uploded, let me know if it tells something better

Here comes my logfile.
2024-05-26 11-40-28 Snapp.pdf

no i think we have the culprit. it seems it doesn't find the stargazer count (the stars count on github), i try to fix it and reupload a test2, let's see what happens. sorry to bother you with this try and catch.
it tries to get the count also if the page is disabled, that should not give error, but nonetheless it is an info not needed elswehere, so i'm changing the process in order to exclude github call if not needed, and that's already an improvement.
by the way can you look in redis if the key settings:repo:info get set?

No problem, if we can localize the problem and fix it, it's worth it.
Many thanks for the information.
I will now apply the new image.
What exactly do you want to know from Redis and where can I find the information you need?

i don't have synolgy but can it be that the call vs github get shut down as it is a third party url not in origin list? (or something like that?)

sorry there's been some mixup between answers and updates to already present posts, i set the test-2 image, and linked a screen on how to reach redis stack gui for looking at the key i mentioned

i don't have synolgy but can it be that the call vs github get shut down as it is a third party url not in origin list? (or something like that?)

not that I know...

sorry there's been some mixup between answers and updates to already present posts, i set the test-2 image, and linked a screen on how to reach redis stack gui for looking at the key i mentioned

test-2 same error. Less Info in Protocol. Still Dashboard and Admin Panel not reloadable.
I don´t know how to get to that redis page you posted.

the redirect is due to the necessities of authentication, i will remove the extended log and check to let the app due its deeds.
the page of redis is available unquoting
ports: # you can specify LOCAL_IP OR VPN_IP to make db or redis insight available privately
# - (LOCAL_IP or VPN_IP):8001:8001

in compose of redis stack
--
btw> uraniadev/snapp:0.7.3-test-3

still the same problem...
trying to get redisinsight working...

I re read your compose and you are removing internal connection between db and app, try allow snapp network
version: '3'
services:
  redis:
    image: redis/redis-stack:latest
    container_name: Snapp-REDIS
    ports:
    # - 6379:6379/tcp
    - 8001:8001
    volumes:
      - /volume1/docker/snapp/redis:/data:rw
      # this make sure to enable persistance through docker restarts
      # and shutdowns or updates -- change it to a folder of your choise
      - /etc/localtime:/etc/localtime:ro
   networks:
      - snapp-stack
    environment:
      REDIS_ARGS: '--save 60 1 --appendonly yes' # Optional: `--requirepass mypassword`
    healthcheck:
      test: ["CMD-SHELL", "redis-cli ping || exit 1"]
    restart: unless-stopped

  snapp:
    image: uraniadev/snapp:latest
    container_name: Snapp
    ports:
      - 6421:3000
    volumes:
      # provide origin json downloadable
      # from github if you intend to use it
      #
      # - /home/snapp/app/translations:/app/translations:ro
      # - /home/snapp/redis/theme/theme.css:/app/static/custom-theme.css
      # See (Discussion about theming)[https://github.com/urania-dev/snapp/discussions/18]
      - /volume1/docker/snapp/app/translations:/app/translations:ro
      # - /volume1/docker/snapp/redis/theme/theme.css:/app/static/custom-theme.css
    depends_on:
     redis:
      condition: service_healthy
    networks:
      - snapp-stack
    environment:
      AUTH_SECRET: XXX
      DB_HOST: redis
      # DB_PASS: # Optional: Requires `--requirepass mypassword` in REDIS_ARGS
      DB_PORT: 6379
      # DB_IDX: 0
      ALLOW_UNSECURE_HTTP: true
      ENABLE_LIMITS: false
      ENABLE_SIGNUP: false
      ENABLE_HOME: true
      DEFAULT_THEME: dark
      DEFAULT_LANG: en
      LOCALIZATION_FOLDER: /app/translations
      # MAX_SHORT_URL: 10
      # MAX_USAGES: 0
      # MAX_RPM: 0
      # MAX_RPD: 0
      # UMAMI_WEBSITE_ID:
      # UMAMI_URL:
      # VIRUSTOTAL_API_KEY:
      PUBLIC_URL: https://url.web.de
      ORIGIN: https://url.web.de
      # NODE_ENV: production
      # NODE_ENV: development
      TIMEZONE: Europe/Berlin
      SMTP_HOST: abc.de
      SMTP_USER:
      SMTP_PASSWORD:
      SMTP_FROM<EMAIL_ADDRESS>
networks:
  snapp-stack:
      external: false
  default:
       external:
          name: Diverses

by the way can you look in redis if the key settings:repo:info get set?

This is my settings:repo:info:
{"id":728366482,"node_id":"R_kgDOK2n9kg","name":"snapp","full_name":"urania-dev/snapp","private":false,"owner":{"login":"urania-dev","id":153094889,"node_id":"U_kgDOCSAK6Q","avatar_url":"https://avatars.githubusercontent.com/u/153094889?v=4","gravatar_id":"","url":"https://api.github.com/users/urania-dev","html_url":"https://github.com/urania-dev","followers_url":"https://api.github.com/users/urania-dev/followers","following_url":"https://api.github.com/users/urania-dev/following{/other_user}","gists_url":"https://api.github.com/users/urania-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/urania-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urania-dev/subscriptions","organizations_url":"https://api.github.com/users/urania-dev/orgs","repos_url":"https://api.github.com/users/urania-dev/repos","events_url":"https://api.github.com/users/urania-dev/events{/privacy}","received_events_url":"https://api.github.com/users/urania-dev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/urania-dev/snapp","description":"Yet Another Url Shortner. A simple excercise to learn Svelte.","fork":false,"url":"https://api.github.com/repos/urania-dev/snapp","forks_url":"https://api.github.com/repos/urania-dev/snapp/forks","keys_url":"https://api.github.com/repos/urania-dev/snapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urania-dev/snapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urania-dev/snapp/teams","hooks_url":"https://api.github.com/repos/urania-dev/snapp/hooks","issue_events_url":"https://api.github.com/repos/urania-dev/snapp/issues/events{/number}","events_url":"https://api.github.com/repos/urania-dev/snapp/events","assignees_url":"https://api.github.com/repos/urania-dev/snapp/assignees{/user}","branches_url":"https://api.github.com/repos/urania-dev/snapp/branches{/branch}","tags_url":"https://api.github.com/repos/urania-dev/snapp/tags","blobs_url":"https://api.github.com/repos/urania-dev/snapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urania-dev/snapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urania-dev/snapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/urania-dev/snapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urania-dev/snapp/statuses/{sha}","languages_url":"https://api.github.com/repos/urania-dev/snapp/languages","stargazers_url":"https://api.github.com/repos/urania-dev/snapp/stargazers","contributors_url":"https://api.github.com/repos/urania-dev/snapp/contributors","subscribers_url":"https://api.github.com/repos/urania-dev/snapp/subscribers","subscription_url":"https://api.github.com/repos/urania-dev/snapp/subscription","commits_url":"https://api.github.com/repos/urania-dev/snapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/urania-dev/snapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/urania-dev/snapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/urania-dev/snapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/urania-dev/snapp/contents/{+path}","compare_url":"https://api.github.com/repos/urania-dev/snapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urania-dev/snapp/merges","archive_url":"https://api.github.com/repos/urania-dev/snapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urania-dev/snapp/downloads","issues_url":"https://api.github.com/repos/urania-dev/snapp/issues{/number}","pulls_url":"https://api.github.com/repos/urania-dev/snapp/pulls{/number}","milestones_url":"https://api.github.com/repos/urania-dev/snapp/milestones{/number}","notifications_url":"https://api.github.com/repos/urania-dev/snapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urania-dev/snapp/labels{/name}","releases_url":"https://api.github.com/repos/urania-dev/snapp/releases{/id}","deployments_url":"https://api.github.com/repos/urania-dev/snapp/deployments","created_at":"2023-12-06T19:38:38Z","updated_at":"2024-05-11T11:48:18Z","pushed_at":"2024-04-11T13:03:50Z","git_url":"git://github.com/urania-dev/snapp.git","ssh_url":"git@github.com:urania-dev/snapp.git","clone_url":"https://github.com/urania-dev/snapp.git","svn_url":"https://github.com/urania-dev/snapp","homepage":"https://snapp.li","size":35876,"stargazers_count":121,"watchers_count":121,"language":"Svelte","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"has_discussions":true,"forks_count":7,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":["shortener","url","url-shortener"],"visibility":"public","forks":7,"open_issues":1,"watchers":121,"default_branch":"main","temp_clone_token":null,"network_count":7,"subscribers_count":2}

I re read your compose and you are removing internal connection between db and app, try allow snapp network

changed it, same problem...

So app and db can comunicate. The count get updated and it seems to basically works, but It doesn't actually works. Im not home today, so i cant help you more than this unfortunately. I'll try to look better into the problem ASAP, sorry..

No problem, thank you very much for your effort.
Basically, I'm in no hurry.

Thank you for your patience. In the end i decided, in order to keep the app more maintanable to restart the project on a new istance. There will be changes, as it is a rebase (the third to be honest).
it will use external db (as postgres, or similar) and i'm trying to understand how to include multiple database options, as in the other issue request.
It will of course take time, and i have less spare than i thought. So hope to update you soon!

would you try now? :)
can choose between psql mariadb and embedded sqlite


Minor fixes & cleanup

This PR fixes GPII-3910 - Investigate and fix "Error loading state" - "The provided encryption key is incorrect" errors and removes temporary Istio migration scripts.
The issue was caused by a combination of the terragrunt state pull which would create the state-file if it didn't exist and running rake rotate_tfstate_key in stg/prd environments, which would rotate keys, but only for components under k8s/ directory and not locust/. While there are other possible fixes, removing the unnecessary migration scripts is imho best course fo action.
This might cause issues to devs who still haven't upgraded, but both Istio and locust/Istio have been around for a while.
PR also fixes order of locust modules destroy - locust/istio module deletes whole Kubernetes namespace, therefore it makes more sense to first delete the locust/swarm deployment and only
after that destroy the actual namespace.

LGTM

This might cause issues to devs who still haven't upgraded

I've been emailing cloud-developers@ with a hint about these kinds of changes.


IIS.Tests.Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.ClientDisconnectTests.ReaderThrowsCancelledException

CI Error
Error message
Assert.IsType() Failure
Expected: System.OperationCanceledException
Actual: Microsoft.AspNetCore.Connections.ConnectionResetException

Stack trace
   at Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.ClientDisconnectTests.ReaderThrowsCancelledException() in /_/src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs:line 206
--- End of stack trace from previous location where exception was thrown ---

And again https://dev.azure.com/dnceng/public/_build/results?buildId=92870&view=logs

Closing as @jkotalik is reviewing skipped/flaky test and our flaky test monitoring is tracking this at https://github.com/aspnet/AspNetCore-Internal/issues/1798


Native-sql-engine of OAP-1.1.1 has lower performance benefit comparing with OAP-1.1.

The performance of native-sql-engine has no regression from OAP-1.1 to OAP-1.1.1 while vanilla spark has 10% performance improvement from spark-3.0.0 to spark-3.1.1.  So the advantage of native SQL Engine has been reduced when using spark-3.1.1.

@zhouyuan @weiting-chen @zhixingheyi-tian Please help to track the issue. Thanks！


error in qq

Information

**Apktool Version (apktool -version)2.2.3-
**Operating System (Mac, Linux, Windows)windows 10 64 -
**APK From? (Playstore, ROM, Other) 应用-

Stacktrace/Logcat
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
        at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:286)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:103)
        at brut.apktool.Main.cmdDecode(Main.java:166)
        at brut.apktool.Main.main(Main.java:81)
Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
        at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:55)
        at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:38)
        at brut.directory.ExtFile.getDirectory(ExtFile.java:52)
        at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:284)
        ... 3 more
Caused by: java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)

Steps to Reproduce

apktool

Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)
APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything?
If you are trying to install a modified apk, did you resign it?
Are you using the latest apktool version?

Looks like apktool is suffering from extracting files from the apk, do you have the apk to investigate? Doesn't look like anything I can fix from just a stack trace.

Closing as a month has passed and no apk provided. Stack trace was not enough to investigate this claim. I can reopen if apk provided.


Feature/invertical orientation

A feature that I required for my own development but wanted to see if its something you were interested in including.
Added a new orientation: invertical! Basically its an inverted vertical. Please note - the tests were not updated.
Feel free to squash on commit to avoid my comments!

from reading the docs, using depthFactor would also have unintended side-effects (restricting the size of the tree), no? if I'm right, can this be merged?


[BSO] RP Is re-work

could =RP Is on BSO be reworked to actually show what items are tradeable and what arent
something like if item id = 40-45k show as untradeable, anything else shows as tradeable would work

Done


confuse shortcut for split cell in notebook

版本: 1.61.0-insider (system setup)
提交: 8d30d4d922dda917d22f05a81f2ab4fad7349779
日期: 2021-09-24T09:00:59.405Z
Electron: 13.4.0
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.14393
Steps to Reproduce:
ctrl+k ctrl+shft+\

ctrl+shft+-

One of these is contributed by the Jupyter keybindings extension. But, I'm not sure why they show differently between these two menus.

It seems we don't have these actions in menu anymore.


Warnings

Two warnings when I use the component with RN 0.61:

Warning: DatePickerIOS has been merged with DatePickerAndroid and will be removed in a future release. It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. See https://github.com/react-native-community/react-native-datetimepicker

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

Platforms
iOS
Versions

iOS: 13
react-native-modal-datetime-picker: - ^7.6.1
react-native: 0.61.4
react: 16.9.0

@Haper will be fixed by #301


FIX Add or true after grep

Issue https://github.com/silverstripe/gha-merge-up/issues/7

Tagged as 1.0.3


Isometry decomposition does not maintain gate width

The definition of an Isometry instruction does not always have the same number of qubits as the original instruction. e.g.
>>> qc = qk.QuantumCircuit(2)
>>> qc.iso(np.eye(4), [0, 1], [])
<qiskit.circuit.instructionset.InstructionSet object at 0x10b4bfe80>
>>> print(qc)
        ┌──────┐
q_0: |0>┤0     ├
        │  iso │
q_1: |0>┤1     ├
        └──────┘
>>> print(qc.decompose())
        ┌────┐
q_0: |0>┤ Id ├
        └────┘
q_1: |0>──────

This also occurs for a handful of the examples from https://github.com/Qiskit/qiskit-terra/blob/576b984/test/python/circuit/test_isometry.py#L36 . This confuses e.g. DAGCircuit.substitute_node which expects node replacements to keep the same shape.

I'm not quite convinced this is really a bug, is it? I would imagine that if you have a gate defined on a set of qubit but it doesn't actually do anything then shouldn't it decompose to no operation at all? 🙂

I tend to agree with @Cryoris , maybe it is something that substitute_node can be better at?


fix: generate longer IDs when using sqlite

The sqlite ID generation code was intending to recursively try longer
IDs until one was found without collision, however the recursive call
didn't actually try longer IDs, and just made 10 attempts at finding a
3 character ID (the default).
This was causing my self-hosted instance of jsbin to fail to create IDs longer than 3 characters, and as we created more and more bins the chance of collision was very high and saving was very difficult.

Good catch!


feat: upgrade superset to 2.1.0

Source: https://github.com/apache/superset/pull/23139/files

Thanks for the pull request, @Ian2012!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
This is currently a draft pull request. When it is ready for our review and all tests are green, click "Ready for Review", or remove "WIP" from the title, as appropriate.

Thanks for the contribution @Ian2012 :)

@Ian2012 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


When the source code will be avaliable?

Hi!
Thanks for showing interest in our project. We are currently refactoring the code and once that is done, we need to make a decision when to release it. I don't want to say a date here and not live up to that promise.


Are system/audit date fields supported (CreatedDate,LastModifiedDate,etc.) ?

As per the example on #2 , my test involves setting the CreatedDate of 44 case records. This is not optional as our code will execute a different logic based on the case created date, and we need to be able to test for this condition.
When using the Test.loadData() standard method, we are able to specify the CreatedDate of a record. If not using the loadData() method, we can always specify the date using the setCreatedDate() method: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_test.htm#apex_System_Test_setCreatedDate
I don't see this method being used anywhere in the code of this library, so I'm assuming this is not supported?
Could you add support for this? This would again bring this library to feature parity with the standard mechanism for using static resources for test data.

Hi There,
Please try the current version, it has support for CreatedDate. That's the only system/audit field currently supported.

Thanks for working on this. This doesn't seem to work when I also specify the CloseDate (this is a Case record)
<CreatedDate>2021-05-01T10:00:00.000+0000</CreatedDate>
<ClosedDate>2021-05-24T10:00:00.000+0000</ClosedDate>

I get the error
18:42:48:885 FATAL_ERROR System.DmlException: Insert failed. First exception on row 37; first error: FIELD_INTEGRITY_EXCEPTION, Closed Date(Mon May 24 10:00:00 GMT 2021) before Create Date(Sat Nov 13 18:42:41 GMT 2021).: [ClosedDate]
You'll see that I'm setting the close date to be 24 days after the created date. However, the error states that the created date is today (Nov 13 at the time of this writing), which is incorrect, the created date should be what I specified in the CreatedDate tag.
I think you need to change the order of operations here. First set the CreatedDate, and then the CloseDate.

Unfortunately that looks like a Salesforce limitation. CreatedDate is not writable, however it can be set after creation using the setCreatedDate method you linked above.
The ClosedDate is writable, but you can't set it to a value before CreatedDate. I need to tweak the logic a bit, to enable deferred field updates for normal fields too...

Yeah, I understand. Unfortunately without this I cannot implement this in my org and I'm changing jobs this Monday so I won't be able to test it anymore for a real scenario. I'd love to test it though in a dev org if/once you push a fix for this. I liked editing the xml file much more than the csv one, so I really want to use this library! :)


[blocked] Use new style of param transform, pre-support for MCMC with GP

This pull request uses the new style of param transform after https://github.com/uber/pyro/pull/908 (thanks @fritzo ). Other related changes are:

Clean guide for all models. Now, they are very simple!
Move variational parameter to model definition. This does not change the logic of inference but has benefit for MCMC inference. After getting parameters' samples from HMC (trained on self.model), we can simply call various .fix_param() methods and then, we can use the model to give predict on Xnew.
Remove implementation of batch_cholesky_transform in favor of https://github.com/pytorch/pytorch/pull/5980

This pull request will be blocked until https://github.com/pytorch/pytorch/pull/5980 merged and pyro uses that pytorch commit. Changes will be clean after #888 merged.

Closed in favor of 933


zsh not supported with node-terminal

Follow up after #37 #34
When zsh is being used we get
/Users/user/.oh-my-zsh/oh-my-zsh.sh:56: read failed: is a directory
compinit:480: compdump: function definition file not found

@t4lz We think this might have been resolved, could you retest?

@t4lz We think this might have been resolved, could you retest?

Ran with mirrord, with zsh as shell and with this launch configuration:
        {
            "command": "nvm use; npm run dotenv-cli",
            "name": "npm dotenv-cli",
            "request": "launch",
            "type": "node-terminal",
            "env": {
                "MIRRORD_AGENT_RUST_LOG": "mirrord=trace",
                "RUST_LOG": "warn,mirrord=error"
            }
        }

And didn't get that error. There are no reproduction instructions though, so I can't be sure this would reproduce with this setup.

Thank u!


Add Cirrus CI config for FreeBSD build

This is not covering all the things in Travis-CI, but should be a good start for testing on BSD systems.

Do you realize that every task spins up a new VM?  This would run faster if you condense everything into one task (with the two-release matrix) and used multiple scripts instead.

@googlebot rescan
(Mass-triggering a rescan of all open PRs as I have just configured automated CLA checks but the bot won't go through the backlog on its own.)

@lwhsu: I think it makes more sense to just run dist_check on FreeBSD.

@lwhsu would you mind resubmitting this PR to https://github.com/freebsd/kyua , now that we've forked the project?

https://github.com/freebsd/kyua/pull/1
This has merged with https://github.com/jmmv/kyua/pull/208/files


JSON response not ordered

My current API doesn't return an ordered JSON-response as defined in resource_fields. The marshal-function returns already an OrderedDict which should be turned in JSON with the right order of the keys.
Here's my code:
resource_fields = {
    'id': fields.Integer,
    'title': fields.String,
    'description': fields.String,
    'favorite': fields.Boolean,
}

class MainViewAPI(Resource):
    def get(self):
                # Returns a list of SQLAlchemy objects.
                # The list should now contain a few OrderedDicts
        return [marshal(item, resource_fields) for item in Bookmark.get_all()]

The output with dummy data:
[
    {
        "description": "ddddddd",
        "id": 1,
        "title": "dfdsf"
    },
    {
        "description": "dfds",
        "id": 2,
        "title": "55555"
    },
    {
        "description": null,
        "id": 4,
        "title": "dgdsgdsgf"
    }
]

The output's order doens't match the defined one in resource_fields. Any ideas?
Thanks for the help and the great Flask extension.

Add this config line to your code after the app definition :
app = Flask(name)
app.config['JSON_SORT_KEYS'] = False


Added reference to Secrets Manager section in the lambda docs

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-06-22T07:05:39.447+0000

Duration: 3 min 50 sec

:grey_exclamation: Flaky test report
No test was executed to be analysed.
:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

/test linters : Run the Python linters only.

/test full : Run the full matrix of tests.

/test benchmark : Run the APM Agent Python benchmarks tests.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


Merge configuration files if more than one is passed

After some discussion with Mauro, we realised that node configuration can be split broadly into two categories:

Stuff that never changes and should have the same values across all nodes in a network - e.g. configuration for the genesis block.
Stuff that is specific to each node - e.g. port configuration, enabled APIs.

We decided that a simple way to handle this split was to allow multiple configuration files which get merged by the application.
We deliberately ban configuration keys from occurring in more than one file. Therefore, no inheritance or overriding occurs when merging.

Thanks, lets try this for now since it solves @mauromedda 's immediate problem and adapt later if we think this way is bad.


birthday reminder

notify me

already done by #38 by adding a a birthday icon for the client cell renderer, if the birthday is near 14 days.


Feature request: Swig Range function

Pretty self explanatory: Add lo-dash's range function as a swig function. I found it useful when building out pagination for example:
{{ range(maxNumPages) }}
but it's generally useful any time a number is provided that you may want to iterate over in the template.

@LtSquigs Any updates?
Link to the PR for this issue https://github.com/webhook/webhook-generate/pull/39


Suggestion: Alias Start-Sleep's -Milliseconds parameter to -ms

"ms" is a standard abbreviation for "milliseconds", so it make sense to allow -ms as an alias for -MilliSeconds.
Start-Sleep -ms 100  # should be short for Start-Sleep -Milliseconds 100

PowerShell Core v6.0.0-beta.2

Just add a [Alias("ms")] here https://github.com/PowerShell/PowerShell/blob/7a55bf98b2370ab4817ab2533cb67673053ee446/src/Microsoft.PowerShell.Commands.Utility/commands/utility/StartSleepCommand.cs#L55 as well as new test case.


CC73518: Highlighting 'save as'

Hello, @ikhapova,
This proposed file change comes from https://github.com/MicrosoftDocs/MicrosoftCollaboratePortal.pt-BR/pull/2 .
Could you review this contribution and help to merge if agreed?
Many thanks in advance.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

MicrosoftCollaboratePortal/feedback-items-search.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Does this plugin support vue3 only?

Tried to add this to our Vue 2 project but nothing really changed.
Added npm package and add to plugin:vue-pug/strongly-recommended to eslint extends

try to extend from 'plugin:vue-pug/base'

Can you post your full eslint config?

@rashfael It's below in yaml format. tried with and without the plugins and not much success.
<template>{html}</template> works fine but <template lang="plug">....</template> didn't pickup any errors (obvious errors)
root: true
parserOptions:
  parser: "@babel/eslint-parser"
  sourceType: module
env:
  serviceworker: true
  browser: true
extends:
  - plugin:vue/strongly-recommended
  - plugin:vue-pug/strongly-recommended
  - standard
  - prettier
plugins:
  - vue
  - vue-plug
  - prettier
globals:
  ga: true
  cordova: true
  __statics: true
rules:
  arrow-parens:
    - error
    - as-needed
  import/first: 0
  import/named: 2
  import/namespace: 2
  import/default: 2
  import/export: 2
  import/extensions: 0
  import/no-unresolved: 0
  import/no-extraneous-dependencies: 0

plug?

Was a mistake typing that comment, it is pug

You should not need the vue and vue-pug entries in plugins since they are already part of the configs you are extending, but that should not matter.
I'm not sure how deep eslint merges it's configs, you might need to add templateTokenizer: { pug: 'vue-eslint-parser-template-tokenizer-pug' } to your parserOptions, like this https://github.com/rashfael/eslint-plugin-vue-pug/blob/main/lib/configs/base.js#L11 . This is the actual part that enables existing eslint-plugin-vue rules to work on pug templates.


Lifecycle annotation type

Hello, there is a typo in the AppUpdateLifecycleStateMachine, annotation is wrong at the top of onPause() method
@OnLifecycleEvent(ON_RESUME) fun onPause() {         currentUpdateState.onPause() }
ON_RESUME should be replaced with ON_PAUSE.
In addition, would be great if you update the androidx.lifecycle library and use DefaultLifecycleObserver, which decreases generated code.
Thank you in advance.

@akniyetc, thanks for finding that! Done!


New version: XmacsLabs.Mogan version <IP_ADDRESS>

Created by 🥟 Dumplings in Run #3662.
Microsoft Reviewers: Open in CodeFlow

Hi @SpecterShell,

This PR's version number <IP_ADDRESS> has 4 parameters (sets of numbers between dots - major, minor, etc), which is greater than the current manifest's version 1.2.5, which has 3 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 870)


Push photon to project library

Coverage remained the same at 51.126% when pulling a8406c907431d1c415f635c64ae970f5efd28385 on ywk253100:161129_push_photon into feb7f866d988e41f76d7ed5e88339ce94c91239a on vmware:master.

Coverage remained the same at 51.126% when pulling a8406c907431d1c415f635c64ae970f5efd28385 on ywk253100:161129_push_photon into feb7f866d988e41f76d7ed5e88339ce94c91239a on vmware:master.

Coverage remained the same at 51.126% when pulling 3e35597dd0c5f93d0d4194acf0f6dcc7eea3db52 on ywk253100:161129_push_photon into feb7f866d988e41f76d7ed5e88339ce94c91239a on vmware:master.

LGTM thanks.


TEP annotation can't be updated for 24.09

Describe the bug
TEP annotation can't be updated for 24.09.
Observed behaviour
The TEP parser downloads data from https://www.thesgc.org/sites/default/files/fileuploads/available-teps.tsv
That page currently shows a page not found error.
https://www.thesgc.org/tep shows the same error.
That means we can't fetch data from SGC. We've contacted SGC to make them aware of the issue and try to find a solution.
Additional context
The impact for the Platform is minimal. For at least 2 years, the number of targets with TEP data has remained at 41.

Based on conversations with Claudia Tredup from SGC, they have decided to remove the TEPs webpage so that later they might add it in a new format.
Until this happens and because the data hasn't been updated in 4 years, we need to update the TEPs parser to use a static file instead of crawling their web for the next release. They've agreed to provide a new dataset if there are updates.


Improve error handler for v1

This issue is a central issue gathering all the changes we would like to do for v1 regarding the error handler of Meilisearch.
⚠ Meilisearch is supposed to be breaking since v0.28.0. Because we haven't released v1 yet, we allowed some breaking changes in v0.30.0 and v0.29.0 where the user impact is minimal. However, we cannot break everything Meilisearch and their error handler, since the user impact can be huge.
It's important to always balance btw the negative user impact of a breaking change (often huge) and the positive user impact of the new error behavior
An internal squad will be dedicated to these potential changes. Due to the negative impact the breaking changes could have, it's also possible the squad decides to do nothing.
Related issues
This central issue includes big changes related to the Jayson integration but also smaller bug fixes
Priority 1
Priority because can lead to breaking changes

Jayson integration: https://github.com/meilisearch/meilisearch/issues/2325

Consider any async error we could make sync
Any error code we could improve

https://github.com/meilisearch/meilisearch/issues/2255
https://github.com/meilisearch/meilisearch/issues/2785

Priority 2

Related to the Jayson integration but not breaking

https://github.com/meilisearch/meilisearch/issues/2808
https://github.com/meilisearch/meilisearch/issues/2593
Improve the error messages

Geosearch errors

https://github.com/meilisearch/meilisearch/issues/3007
https://github.com/meilisearch/meilisearch/issues/3006
https://github.com/meilisearch/meilisearch/issues/3005
https://github.com/meilisearch/meilisearch/issues/3003

https://github.com/meilisearch/meilisearch/issues/2808 (we don't know yet if something is doable or not)

Related specs describing the changes
https://github.com/meilisearch/specifications/pull/212
Related teams
@meilisearch/integration-team and @meilisearch/docs-team
Here is the slack link to follow the squad work (internal)

@meilisearch/docs-team and @meilisearch/integration-team -> I linked the spec to the issue that describes ALL the changes

Priority 2 tasks will not be implemented for v1


I got errorcattle-node-agent

k get po
NAME                                    READY   STATUS             RESTARTS       AGE
cattle-cluster-agent-547d5cdc5b-9bj67   1/1     Running            5 (277d ago)   281d
cattle-cluster-agent-547d5cdc5b-g7rwv   1/1     Running            1 (277d ago)   281d
cattle-node-agent-6rt5d                 0/1     CrashLoopBackOff   49 (30s ago)   3h47m
cattle-node-agent-dj8th                 0/1     CrashLoopBackOff   36 (32s ago)   161m
cattle-node-agent-z4pgk                 1/1     Running            1 (277d ago)   281d

I got error below  on pod cattle-node-agent how to fix it
time="2023-02-14T13:26:11Z" level=error msg="Issuer of last certificate found in chain (CN=Kubernetes Ingress Controller Fake Certificate,O=Acme Co) does not match with CA certificate Issuer (CN=dynamiclistener-ca,O=dynamiclistener-org). Please check if the configured server certificate contains all needed intermediate certificates and make sure they are in the correct order (server certificate first, intermediates after)"
time="2023-02-14T13:26:11Z" level=fatal msg="Get \"https://rancher.xxx.co.th\": x509: certificate is valid for ingress.local, not rancher.kbjcapital.co.th"

First, you need to clarify which SSL configuration you want to use.
https://ranchermanager.docs.rancher.com/getting-started/installation-and-upgrade/other-installation-methods/air-gapped-helm-cli-install/install-rancher-ha#2-choose-your-ssl-configuration
The node-agent needs to verify the certificate, which depends on your SSL configuration.

let me check this one. Thanks

this one is cluster provisioning by rancher portal. as I check all option leave default

There are not enough steps missing in the issue description that I can't figure out where the problem is.
If, you use cert-manager, you can check its logs. It looks like the ingress doesn't match the correct certificate.


Cannot resize or move window on Linux?

Either the master branch or 2.3.0 release, the window is not movable or resizable. Maybe there 're some new mistakes since it doesn't occur in early versions.

What's your Qt version?

5.15.2

Can you try to comment out the following line and check whether this issue is fixed or not?
https://github.com/wangwenx190/framelesshelper/blob/9715bd9d4b2143ddac99b8c557913fcc06fc17d2/src/core/framelesshelpercore_global.cpp#L149

Can you try to comment out the following line and check whether this issue is fixed or not?
https://github.com/wangwenx190/framelesshelper/blob/9715bd9d4b2143ddac99b8c557913fcc06fc17d2/src/core/framelesshelpercore_global.cpp#L149

Doesn't work.

OK. What's your system and desktop environment?

这很奇怪，Linux方面的代码几乎没怎么动过，怎么可能突然就不能用了呢

ubuntu 20.04
kenel 5.15.0-48-generic
GNOME Shell 3.36.9
Cannot use Chinese due to lack of input method.

我也不知道为什么，中间版本几乎也没怎么试过，突然就有问题了。

我需要装个虚拟机试一下。

最新代码应该是没问题了，是我之前重构GTK代码时引入的问题


Added links for deliverables

Updated table with deliverable links in line with requirements to close https://github.com/trustoverip/deliverables/issues/46

Resolution to #44


Refactor TWCC responder to use pion TWCC recorder

The existing implementation has a few issues with status vector chunks, and performs poorly when packets are delivered out of order. The pion implementation is actively maintained, simple to reason about, and is used in pion's other projects.
See the following thread in the pion Slack for additional context: https://gophers.slack.com/archives/CAK2124AG/p1692822892738529?thread_ts=1692822880.632899&cid=CAK2124AG

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Merging this. Really appreciate you doing this @treyhakanson !!!


Add C99 math.h functions to libc.math

Adds many long double variants (e.g. expl) that were previously omitted.
No functions have been (intentionally) removed.
I've also re-ordered the functions alphabetically by function name,
which improves auditability with respect to lists like:
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/math.h.html
I've also normalized parameters, which were previously inconsistent:

omit the identifier for trivial parameters
use type* consistently instead of type *

Classes of functions/macros that are still missing:

error-handling ones, like math_errhandling and MATH_ERRNO
Bessel functions like j0, y0

Fixes cython/cython#3570

Thanks.

No functions have been (intentionally) removed.

I want to believe you, but the reordering make it difficult to verify. I understand that it makes it easier to update, though. We can keep it like that, I'll just assume that you did a good job copying things around.

omit the identifier for trivial parameters

However unlikely it may seem, that can break code that used keyword arguments with these functions. Could you put them back in, and also add similar argument names to the newly added functions?
That way, I could also more easily verify that there are only additions by diffing it with the original file after sorting that. Currently, I get a bit of an unclear diff due to the missing parameter names.

use type* consistently instead of type *

IMHO, that improves the readability, yes.
Would be nice if you could also extend the (superficial) test in tests/run/libc_math.pyx a little, although only with portable usages (i.e. only safe C89 stuff). The intention is not to have anywhere near full coverage of the functions used (we're not testing libc here), but testing keyword arguments and some non-trivial signatures would be nice. In other words, test usages, not functionality.

Thanks, the diff now only shows nearbyint() and ilogb() as missing their argument names, and the rest are only additions.

Ah, perfect. Yes, that gives me a clear view on the changes now. I'll wait for CI and then merge it. Thanks!

Thanks.

No functions have been (intentionally) removed.

I want to believe you, but the reordering make it difficult to verify. I understand that it makes it easier to update, though. We can keep it like that, I'll just assume that you did a good job copying things around.

To make it easier to verify this PR, I've split the commits.  You'll have to squint at the first commit (though you can verify that the number of lines excluding whitespace is the same).  Then you should be able to see no lines were removed in the 2nd commit.

omit the identifier for trivial parameters

However unlikely it may seem, that can break code that used keyword arguments with these functions. Could you put them back in, and also add similar argument names to the newly added functions?
That way, I could also more easily verify that there are only additions by diffing it with the original file after sorting that. Currently, I get a bit of an unclear diff due to the missing parameter names.

Oops, discovered this when the tests finally finished locally.  I think it's weird to rely on kwargs when they weren't there consistent to start with (many in math.pxd were missing, and the standards switch betweenx and value somewhat unpredictably).  What do you think of this: keep the names for the functions that already had them, but omit them for the new variants?  I've done that in the latest commit.  If you really do want to have names on everything though, I'll update.

Would be nice if you could also extend the (superficial) test in tests/run/libc_math.pyx a little, although only with portable usages (i.e. only safe C89 stuff). The intention is not to have anywhere near full coverage of the functions used (we're not testing libc here), but testing keyword arguments and some non-trivial signatures would be nice. In other words, test usages, not functionality.

So none of the xxxf or xxxl variants are portable to C89 as far as I know.  I've added some to the test just as imports - is that still a problem for emitted code if they're never used?  I also added a kwarg test for an existing extern.


Output parameter not working as a last step using annotations

Pre-bug-report checklist
1. This bug can be reproduced using YAML

[ ] Yes 👉 Please report a bug to the Argo Workflows GitHub 👈
[x] No

2. This bug occurs when...

[ ] running Hera code without submitting to Argo (e.g. when exporting to YAML)
[x] running Hera code and submitting to Argo

Bug report
Describe the bug
A clear and concise description of what the bug is:
Error log if applicable:
Traceback (most recent call last):
  File "/opt/lib/python3.9/pathlib.py", line 1323, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/hera/outputs/parameters'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/layers/com.ds.pip/requirements/lib/python3.9/site-packages/hera/workflows/runner.py", line 313, in <module>
    _run()
  File "/layers/com.ds.pip/requirements/lib/python3.9/site-packages/hera/workflows/runner.py", line 306, in _run
    result = _runner(args.entrypoint, kwargs_list)
  File "/layers/com.ds.pip/requirements/lib/python3.9/site-packages/hera/workflows/runner.py", line 277, in _runner
    _save_annotated_return_outputs(function(**kwargs), output_annotations)
  File "/layers/com.ds.pip/requirements/lib/python3.9/site-packages/hera/workflows/runner.py", line 211, in _save_annotated_return_outputs
    _write_to_path(path, output_value)
  File "/layers/com.ds.pip/requirements/lib/python3.9/site-packages/hera/workflows/runner.py", line 231, in _write_to_path
    path.parent.mkdir(parents=True, exist_ok=True)
  File "/opt/lib/python3.9/pathlib.py", line 1327, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  File "/opt/lib/python3.9/pathlib.py", line 1323, in mkdir
    self._accessor.mkdir(self, mode)
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/hera/outputs/parameters'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/layers/com.ds.pip/requirements/lib/python3.9/site-packages/hera/workflows/runner.py", line 313, in <module>
    _run()
  File "/layers/com.ds.pip/requirements/lib/python3.9/site-packages/hera/workflows/runner.py", line 306, in _run
    result = _runner(args.entrypoint, kwargs_list)
  File "/layers/com.ds.pip/requirements/lib/python3.9/site-packages/hera/workflows/runner.py", line 277, in _runner
    _save_annotated_return_outputs(function(**kwargs), output_annotations)
  File "/layers/com.ds.pip/requirements/lib/python3.9/site-packages/hera/workflows/runner.py", line 211, in _save_annotated_return_outputs
    _write_to_path(path, output_value)
  File "/layers/com.ds.pip/requirements/lib/python3.9/site-packages/hera/workflows/runner.py", line 231, in _write_to_path
    path.parent.mkdir(parents=True, exist_ok=True)
  File "/opt/lib/python3.9/pathlib.py", line 1327, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  File "/opt/lib/python3.9/pathlib.py", line 1323, in mkdir
    self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '/tmp/hera/outputs'
time="2023-11-06T10:29:31 UTC" level=info msg="sub-process exited" argo=true error="<nil>"
time="2023-11-06T10:29:31 UTC" level=error msg="cannot save parameter /tmp/hera/outputs/parameters/results" argo=true error="open /tmp/hera/outputs/parameters/results: no such file or directory"
Error: exit status 1

To Reproduce
Full Hera code to reproduce the bug:
from hera.workflows import Workflow

@script()
def stress_test(
...
) -> Annotated[Dict, Parameter(name="results")]:
    return result

with Workflow(name="my-workflow") as w:
    stress_test()

Expected behavior
A clear and concise description of what you expected to happen:
Environment

OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Version of Hera: [5.9.0]
Version of Argo: [e.g. 3.4.7]

Additional context
Add any other context about the problem here.

Closing for #841


List does not update when adding a new Document

Adding an issue here for future reference. Currently the list of documents does not update when a new one is added.

Fixed in #50


etcdctl: fix exec watch command

The previous flag parsing has a small issue. It uses
recursive == true and after-index == 0 to determine
if user specifies the sub flags. This is incorrect since
user can specify after-index = 0. Then the flag parsing
would be confused.
This commit explicitly find the -- in the remaining args
and determine the key and cmdArgs accordingly.
Fix #2924.
Manually tested.

the code lgtm, and it should fix the problem. I know it could be used as $ etcdctl exec-watch /foo/bar -- sh -c "env | grep ETCD", but don't fully understand how to use it in another way.

we closed this PR because we use master branch as the base branch for development instead of dev-2.2 after etcd 2.1 is cut. we will cherry-pick these commits and send new PR compared to master branch. Sorry for the inconvenience.


Storage mismatch @testnet's block 2400921

neo-go version 0.74.1-pre-245-g0da1935e, importing testnet from scratch:
file BlockStorage_2500000/dump-block-2401000.json: block 2400921, changes number mismatch: 3 vs 0

Ours:
 {
  "block": 2400921,
  "size": 3,
  "storage": [
   {
    "state": "Changed",
    "key": "acdbf5346b59185b0e0df88fead2a7e856df1ab562616c616e63655f00937d87615f1a9d00839388b88b0692f402262e9cf000000003",
    "value": "0006003820023f0700"
   },
   {
    "state": "Changed",
    "key": "acdbf5346b59185b0e0df88fead2a7e856df1ab56c6f636b7570735f937d87615f1a9d83009388b88b0692f402262e9cf0af14030001",
    "value": "00fd0f0180040203b014030203af14030205004429353a8219020107000500e40b5402020108000500e40b5402020109000500e40b540202010a000500e40b540202010b000500e40b540202010c000500e40b540202010d000500e40b540202010e000500e40b540202010f000500e40b5402020110000500e40b5402020111000500e40b5402020112000500e40b5402020113000500e40b5402020114000500e40b5402020115000500e40b5402020116000500e40b5402020117000500e40b5402020118000500e40b5402020119000500e40b540202011a000500e40b540202011b000500e40b540202011c000500e40b540202011d000500e40b540202011e000500e40b540202011f000500e40b540200"
   },
   {
    "state": "Added",
    "key": "acdbf5346b59185b0e0df88fead2a7e856df1ab562616c616e63655f0070901d9c6f03be00e2fdcd89104df3d0888d56767900000003",
    "value": "000500f2052a0100"
   }
  ]
 }

Theirs:
   {
      "size" : 0,
      "block" : 2400921,
      "storage" : []
   }

There are two transactions in this block and both invoke the same contract as in #977.

Ours:
{
   "id" : 1,
   "result" : {
      "txid" : "0x2a85697b9fe83e6ebe0be0d0382eb59016da164bbea0dc43cbb4621ea2239d63",
      "executions" : [
         {
            "stack" : [],
            "vmstate" : "HALT",
            "notifications" : [
               {
                  "contract" : "0xb51adf56e8a7d2ea8ff80d0e5b18596b34f5dbac",
                  "state" : {
                     "type" : "Array",
                     "value" : [
                        {
                           "type" : "ByteArray",
                           "value" : "7472616e73666572"
                        },
                        {
                           "value" : "937d87615f1a9d839388b88b0692f402262e9cf0",
                           "type" : "ByteArray"
                        },
                        {
                           "type" : "ByteArray",
                           "value" : "70901d9c6f03bee2fdcd89104df3d0888d567679"
                        },
                        {
                           "value" : "00f2052a01",
                           "type" : "ByteArray"
                        }
                     ]
                  }
               }
            ],
            "gas_consumed" : "6.964",
            "contract" : "0x392dc9d09ffbc21ae46c0c41f80931e094d33ae2",
            "trigger" : "Application"
         }
      ]
   },
   "jsonrpc" : "2.0"
}

Theirs:
{
   "jsonrpc" : "2.0",
   "id" : 1,
   "result" : {
      "executions" : [
         {
            "contract" : "0x392dc9d09ffbc21ae46c0c41f80931e094d33ae2",
            "notifications" : [],
            "stack" : [],
            "vmstate" : "FAULT",
            "gas_consumed" : "5.645",
            "trigger" : "Application"
         }
      ],
      "txid" : "0x2a85697b9fe83e6ebe0be0d0382eb59016da164bbea0dc43cbb4621ea2239d63"
   }
}

The other transaction is treated the same way, ours:
{
   "result" : {
      "executions" : [
         {
            "stack" : [],
            "vmstate" : "FAULT",
            "notifications" : [],
            "contract" : "0xa47e014e096043b6e0728e4f3716c8dc79bafb42",
            "trigger" : "Application",
            "gas_consumed" : "5.645"
         }
      ],
      "txid" : "0x313f8f2e05f5f5c6165af5f797ce74a211276e49133275bf5b6e09871cacf71d"
   },
   "id" : 1,
   "jsonrpc" : "2.0"
}

Theirs:
{
   "result" : {
      "txid" : "0x313f8f2e05f5f5c6165af5f797ce74a211276e49133275bf5b6e09871cacf71d",
      "executions" : [
         {
            "vmstate" : "FAULT",
            "contract" : "0xa47e014e096043b6e0728e4f3716c8dc79bafb42",
            "trigger" : "Application",
            "notifications" : [],
            "stack" : [],
            "gas_consumed" : "5.645"
         }
      ]
   },
   "jsonrpc" : "2.0",
   "id" : 1
}

0x313f8f2e05f5f5c6165af5f797ce74a211276e49133275bf5b6e09871cacf71d is the first one in the block.

And the scripts are the same up to THROWIFNOT (the rest is nonce effectively).

Looks like cache change from the first tx leaking into the second.

Logging returned values from both iterators for these two transactions:
create iterator
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0111503 :<PHONE_NUMBER>1503020311150302064066748a2201820102010502064066748a2201
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0121503 :<PHONE_NUMBER>020312150302064066748a2201820102010502064066748a2201
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0af1403 : 80040203b014030203af14030205002835893c821a020106000500e40b5402020107000500e40b5402020108000500e40b5402020109000500e40b540202010a000500e40b540202010b000500e40b540202010c000500e40b540202010d000500e40b540202010e000500e40b540202010f000500e40b5402020110000500e40b5402020111000500e40b5402020112000500e40b5402020113000500e40b5402020114000500e40b5402020115000500e40b5402020116000500e40b5402020117000500e40b5402020118000500e40b5402020119000500e40b540202011a000500e40b540202011b000500e40b540202011c000500e40b540202011d000500e40b540202011e000500e40b540202011f000500e40b5402
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0b01403 : 80040203b514030203b01403020500601de1378218020101000500e40b5402020102000500e40b5402020103000500e40b5402020104000500e40b5402020105000500e40b5402020106000500e40b5402020107000500e40b5402020108000500e40b5402020109000500e40b540202010a000500e40b540202010b000500e40b540202010c000500e40b540202010d000500e40b540202010e000500e40b540202010f000500e40b5402020110000500e40b5402020111000500e40b5402020112000500e40b5402020113000500e40b5402020114000500e40b5402020115000500e40b5402020116000500e40b5402020117000500e40b5402020118000500e40b5402
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0b51403 : 80040203b614030203b514030206800401cc200182010201050206800401cc2001
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0b61403 : 80040203b714030203b614030206800401cc200182010201050206800401cc2001
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0b71403 : 80040203b814030203b7140302064066748a2201820102010502064066748a2201
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0b81403 :<PHONE_NUMBER>15030203b8140302064066748a2201820102010502064066748a2201
cached 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0af1403 : 80040203b014030203af14030205004429353a8219020107000500e40b5402020108000500e40b5402020109000500e40b540202010a000500e40b540202010b000500e40b540202010c000500e40b540202010d000500e40b540202010e000500e40b540202010f000500e40b5402020110000500e40b5402020111000500e40b5402020112000500e40b5402020113000500e40b5402020114000500e40b5402020115000500e40b5402020116000500e40b5402020117000500e40b5402020118000500e40b5402020119000500e40b540202011a000500e40b540202011b000500e40b540202011c000500e40b540202011d000500e40b540202011e000500e40b540202011f000500e40b5402
2020-05-27T17:48:29.145+0300    INFO    runtime log     {"script": "acdbf5346b59185b0e0df88fead2a7e856df1ab5", "logs": "\"Transfer is failed. fromBalance < value\""}
2020-05-27T17:48:29.145+0300    WARN    contract invocation failed      {"tx": "313f8f2e05f5f5c6165af5f797ce74a211276e49133275bf5b6e09871cacf71d", "block": 2400921, "error": "error encountered at instruction 80 (THROWIFNOT): THROWIFNOT"}
create iterator
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0111503 :<PHONE_NUMBER>1503020311150302064066748a2201820102010502064066748a2201
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0121503 :<PHONE_NUMBER>020312150302064066748a2201820102010502064066748a2201
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0b01403 : 80040203b514030203b01403020500601de1378218020101000500e40b5402020102000500e40b5402020103000500e40b5402020104000500e40b5402020105000500e40b5402020106000500e40b5402020107000500e40b5402020108000500e40b5402020109000500e40b540202010a000500e40b540202010b000500e40b540202010c000500e40b540202010d000500e40b540202010e000500e40b540202010f000500e40b5402020110000500e40b5402020111000500e40b5402020112000500e40b5402020113000500e40b5402020114000500e40b5402020115000500e40b5402020116000500e40b5402020117000500e40b5402020118000500e40b5402
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0b51403 : 80040203b614030203b514030206800401cc200182010201050206800401cc2001
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0b61403 : 80040203b714030203b614030206800401cc200182010201050206800401cc2001
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0b71403 : 80040203b814030203b7140302064066748a2201820102010502064066748a2201
stored 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0b81403 :<PHONE_NUMBER>15030203b8140302064066748a2201820102010502064066748a2201
cached 6c6f636b7570735f937d87615f1a9d839388b88b0692f402262e9cf0af1403 : 80040203b014030203af14030205002835893c821a020106000500e40b5402020107000500e40b5402020108000500e40b5402020109000500e40b540202010a000500e40b540202010b000500e40b540202010c000500e40b540202010d000500e40b540202010e000500e40b540202010f000500e40b5402020110000500e40b5402020111000500e40b5402020112000500e40b5402020113000500e40b5402020114000500e40b5402020115000500e40b5402020116000500e40b5402020117000500e40b5402020118000500e40b5402020119000500e40b540202011a000500e40b540202011b000500e40b540202011c000500e40b540202011d000500e40b540202011e000500e40b540202011f000500e40b5402

Testnet is fine now up to 3684000 after #996.


Allow dependencies to be for development only

From Gitter @sgaillard :
I everybody, I'm asking my question here since I don't know if there is some activity on 'forum like' tools for that. I have published a package for file I/O for qooxdoo 6.x : sgaillard/qxfileio. That package, when compiled on it's own requires qxl.apiviewer. I wonder if there is a way to require qxl.apiviewer only in that case and not when including it in an other project so that project using qxfileion but not requiring apiviewer does not have to install it?

It's already possible if you commit qx-lock.json containing the dependency but remove it from Manifest.json's requires section. But we can think about adding something like a requiresDev section...


how many retrievals are done per query in the Paris dataset?

The results are very impressive with 0.97 mAP. Can you share how many retrievals are made to compute the mAP?

The results are very impressive with 0.97 mAP. Can you share how many retrievals are made to compute the mAP?

The Paris dataset has 55 queries and around 6k gallery images, so overall it requires 55*6k inner product operations to build the graph. But in practice, we used FAISS library to conduct k-NN search so the computation cost could be reduced.

Hi, thank you so much for the reply. I want to ask one more thing.
How many top K retrievals you did to compute the mAP? For example, did you consider top 100 or top 10 retrievals to compute the mAP?

@surajitsaikia27 If you have read our paper, you may notice the truncation process in our work. It decides the range in which the query can probe. Such a range is a union of L (the size of the truncated graph, or n_trunc in code) nearest neighbors of the query's kq nearest neighbors (kinda complex - -!), so at least we will get top-L retrieval results, and the rest gallery images are considered irrelevant to the query. But we still evaluate mAP on all gallery images by setting the similarities out of interest to zeros.


Fixed invalid folder name during installation on windows

Currently the installation of the package fails on windows OS because of an invalid folder name. The commit fixes this issue.
Original error message:
File "c:\python34\lib\distutils\util.py", line 127, in convert_path
raise ValueError("path '%s' cannot end with '/'" % pathname)
ValueError: path 'examples/' cannot end with '/'

Hello, I have the same problem. But where are you to find the file setup.py ? I didn't found.
Thanks.


Error: Cannot read property 'getInstance' of undefined

Which platform(s) does your issue occur on?
Android - emulator and device (don't have mac nor iphone)
Please, provide the following version numbers that your issue occurs with:

CLI: 5.1.1
Cross-platform modules: 5.1.2
Runtime(s): 5.1.0 both
Plugin(s): ^4.4.1

Please, tell us how to recreate the issue in as much detail as possible.
Just c&p to NativeScript Vue project demo file:
/demo-vue/app/components/Home.vue
Every method returns
Error: Cannot read property 'getInstance' of undefined

Ok, I figured it out, if some1 has same problem just type:
tns platform clean android
in terminal.


Invalid Domain Name

I dont know if this is a newbie question but I could not understand the issue here, I tried removing the hyphens (-), but still doesnt work is this really the issue or I am missing something here.
###<Feb 1, 2021 10:00:06 AM> <INFO> <DomainCreator> <__extend_domain_with_select_template> <WLSDPLY-12205> <Writing base domain sample-domain1 to directory /u01/oracle/user_projects/domains/sample-domain1
com.oracle.cie.domain.script.ScriptException: 60305: Invalid domain name.
60305: The specified domain name is invalid. It must include only alphanumeric characters, hyphens (-) or underscore characters (_) and contain at least one letter but must not start with a number.
60305: Correct the domain name.

Here is the domain.properties file sample content:
DOMAIN_NAME=sample-domain1
ADMIN_PORT=30701
ADMIN_NAME=admin-server
ADMIN_HOST=<IP_ADDRESS> (sample ip address)
MANAGED_SERVER_PORT=8001
MANAGED_SERVER_NAME_BASE=managed-server
CONFIGURED_MANAGED_SERVER_COUNT=2
CLUSTER_NAME=cluster-1
DEBUG_PORT=8453
...

Thanks for the help!

That domain name looks fine.  Could you please share a little more detail?  Are you creating the domain with WDT?

@markxnelson I have been deploying this on an aws instance and currently trying to deploy this on a ec2 instance.
And YES I am deploying using weblogic-deploy-tool, I am also using weblogic-operator version 3.1.1.

Closing this one, filed the issue on WDT Repository: https://github.com/oracle/weblogic-deploy-tooling/issues/830


Manually triggering an 'event' on a binded element doesn't really work

for example, if I wrap an element via jquery, then $node.trigger('change'), that doesn't really trigger the change on the node, or at least, the ractive-brew callback does not fire, is this by design?
Simple test case
http://jsfiddle.net/7y0jry4w/
Background, and what's the best approach?
When creating decorators from other libraries, say a jQuery plugin, for example, I am trying to create a colorpicker decorator, using spectrum, however, this is really a polyfill for browsers which do not support the input type="color", so what the plugin does, is that it hides the original input, and then creates another div with the goodies in it, but I would still expect some sort of way to fire change events on the original node. However, when I do trigger 'change' (or really any other event), the listened-to event doesn't fire on the ractive instance.
The decorator syntax is pretty simple,
<input on-change="onChange" value={{color}} type="text" decorator="spectrum" >

var defaults = {
    hideAfterPaletteSelect: true,
    clickoutFiresChange: true
};
Ractive.decorators.colorpicker = function(node, params) {
    var $node = $(node);
    var onChange = function(color) {
        $node.val(color.toRgbString());
        // fake event,
        // for some reason $node.trigger('change') does not really fire the relevant event on the ractive instance
        // so i manually fire it on the ractive instance
        // but I really don't want to do that
       this.fire(node._ractive.events.change.action, {name: node._ractive.events.change.action, node: node});
    }.bind(this);
    var onMove = onChange;

    var update = function(params) {
        defaults.change = onChange;
        defaults.move = onMove;
        $node.spectrum($.extend(true, {}, defaults, params));
    };

    update.apply(this, [params]);
   return {
       update: update,
       teardown: function() {
           $node.remove();
       }
    };
};

on an unrelated note:
Do you think a jQuery adaptor is a good idea? Something that normalizes all events to look like the jQuery events structure, all nodes to be jquery instances, etc...

jQuery trigger appears to only trigger jQuery events. Doesn't work with addEventListener: http://jsfiddle.net/ahL3Lran/1/.
I would try and use this ractive instance in the decorator to get/set data and fire events rather than try and route the message through the DOM node.

i see, ok great thanks.

In case it's helpful, I wrote a small library called simulant for situations like this - it's what the Ractive test suite uses to simulate user interaction.

neat! thanks


Store can't find expired files

I followed the implementation for removing expired files found here:
https://github.com/tusdotnet/tusdotnet/wiki/Removing-expired-incomplete-files
But my TusDiskStore doesn't find any expired files, even though I have a few.
Looking into TusDiskStore.cs file I see that logic is looking for Expired and Incomplete files, but shouldn't this be an or statement instead?

Hi!
The title of the wiki page basically says why, it's only for removing incomplete expired files. The text doesn't mention it though so it should really be updated.
Files that are completed are outside the scope of the tus protocol and expiration is only used to indicate for the client when the file upload can no longer be resumed (see example here: https://tus.io/protocols/resumable-upload.html#expiration). Generally one would use RemoveExpiredFilesAsync to clean up old incomplete files, while using post processing (e.g. from OnFileCompleteAsync) to delete the completed file if not needed anymore.
Changing this behavior now would be a huge breaking change for all existing implementations so I recommend that you copy the code from here and modify it to not exclude completed files.

Thank you for the reply.
Due to my workflow, cleaning up the file during OnFileCompleteAsync isn't an option.
The inconsistency of the method name and wiki title led to some confusion, but I understand making changes to a widely used code base isn't feasible.
I did end up copying the code and just removing the incomplete check.

I totally get that. I have re-opened the issue and added a docs tag to it so that the docs can be made clearer. Thanks for reporting and sorry for the inconvenience.

I've updated the wiki. Hopefully it is clearer now: https://github.com/tusdotnet/tusdotnet/wiki/Removing-expired-incomplete-files


"Set target temperature" not work

Hi,
I'm testet "Set target" on A1 and P1S for hotend and headbed - unfortunately this option does not work for A1 and P1S.
I also tested sending custom gcode in A1 - this option works properly.
PS - unfortunately this option does not work for A1 and P1S.
I also tested sending custom gcode in A1 - this option works properly.
A good idea is to add small buttons that allow you to quickly warm up the printer to one of the predefined values (this is more convenient than expanding the menu with the right mouse button):

It would be nice if the user could define these values himself in the settings.

Update

Found the bug, will be solved in the next release...
Leaving the issue open for UI related items

I went a bit in a different direction with this one. For more details check #17
Since mouse clicks are now normal left clicks, is this ok? Can we close the ticket or do we still need the quick buttons?

Please re-open the ticket if required


Please add a way to use SVG images in ReactiveUI components

Please add a way to use SVG images in ReactiveUI components (i.e. buttons, switches, etc.).

@Emasoft hi. Can you elaborate? ReactiveUI doesn't provide any UI components, so I'm not sure how this has anything to do with it.

Strange that there is no native support for SVG in WPF. Maybe Xaml & SVG are considered competing as they solve the same problem.

See also this uservoice proposal

Not an RxUI issue. Closing.


MudGlobal: Add more defaults

Description

Added more MudGlobal defaults:

Autocomplete: AnchorOrigin, TransformOrigin
Menu: AnchorOrigin, TransformOrigin, DropShadow, Ripple
Select: AnchorOrigin, TransformOrigin
Pickers: AnchorOrigin, TransformOrigin, Variant, Margin, OverflowBehavior
Buttons: DropShadow, Ripple
IconButton: Color, Size, Variant
ToggleIconButtons: Color, Size, Variant, DropShadow, Ripple
ButtonGroup: Color, Size, Variant, DropShadow
Input/BooleanInput: Ripple, Size, Color
Pagination: Color, Size, Variant, DropShadow
Popover: DropShadow
Tabs: Ripple
ToggleGroup: Size, Color, Ripple, Delimiters, Outlined
Tooltip: Arrow, fixed Duration default
TreeView: Color, Ripple

Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

I have integrated the properties that were here into my PR #10378 . If you like, you are welcome to check that I haven't overlooked anything.

Looks good to me, closing this one in favor of #10378. Thanks @TheBigNeo!


Documentation

I believe there is more recent documentation here that you might want to look at:
http://h.hlktech.com/Mobile/download/fdetail/198.html


Support breakpoints when iPadOS window frame size changes

Summary
Fixes https://github.com/jpudysz/react-native-unistyles/issues/208

I'm not an iOS developer, but I thought I'd take a stab at figuring out how to handle the iPadOS window frame sizing. I thought it'd be best to do it in a way that works across all iOS products to keep the code simple.
I think the solution here ended up being fairly clean and I was able to test on a physical iPad and an iPhone simulator to validate the breakpoints are working as intended on both operating systems.

It seems that this change requires min. Expo SDK 50 and React Native 0.73.
I'm fine with that as version 3.0.0 will require React Native 0.75

Apart from that works great!

Released as 2.8.0-beta.1

I've been running the beta since the PR merged and this has been working mostly great! There's a small bug I've noticed where minimizing the app on an ipad and then opening it again shows my "mobile" UI before flipping back to the correct breakpoint. So it seems like as the app window is animating while closing/opening unistyles is able to handle RCTWindowFrameDidChangeNotification events yet.
I'll see if I can find some time this week to see if there's anything we can use to ignore events while the app is being minimized/maximized as that should fix the jank when bringing an app back to the foreground.


Added Spanish translation

It might have some small errors, but I tried to make sure it's correct.

I don't know how to review this, so I'll keep it open until I close #422.
Thanks for the translation though! 👍

I don't know how to review this, so I'll keep it open until I close #422.
Thanks for the translation though! 👍

@jjatria Gracias for reviewing the translation! I already made the corrections.

@jjatria Gracias for reviewing the translation! I already made the corrections.

@ivan-avalos I think that's that jumped out at me. Thanks for the hard work! :D

@ivan-avalos I think that's that jumped out at me. Thanks for the hard work! :D

I'm going to merge this now, since I need it in a unit test.

I'm going to merge this now, since I need it in a unit test.

@jhthorsen I think that was everything I had at least :)

@jhthorsen I think that was everything I had at least :)


How Enable Dynamic Resource Allocation and External Shuffle Service

Where and how I can enable the Enable Dynamic Resource feature?
Where I can configuring the following options
spark.dynamicAllocation.enabled=true
spark.shuffle.service.enabled=true
spark.dynamicAllocation.initialExecutors=1

And who/how deploy the External Shuffle Service?

This feature do not supported yet.
And most of all will be implemented only in 3.x spark.
https://spark.apache.org/docs/latest/running-on-kubernetes.html#future-work
There are huge discussion inside spark team, about refactoring that needed for this feature.

Related to https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/issues/531.


Weird error when calling transfer_values_cache function

When I run the script and trying to call this function:
transfer_values_test = transfer_values_cache(file_path=file_path_cache_test,
                                             images=images_scaled,
                                             model=model)

I face strange errror:
OSError                                   Traceback (most recent call last)
<ipython-input-13-d3f5056fe5a9> in <module>()
      9 transfer_values_test = transfer_values_cache(file_path=file_path_cache_test,
     10                                              images=images_scaled,
---> 11                                              model=model)

/Users/mylaptop/TensorFlow-Tutorials-master/inception.py in transfer_values_cache(file_path, images, model)
    553         # Load the transfer-values from the file.
    554         with open(file_path, mode='rb') as file:
--> 555             transfer_values = np.load(file)
    556
    557         print("- Transfer-values loaded from cache-file.")

/Users/mylaptop/anaconda3/envs/tensorflow/lib/python3.5/site-packages/numpy/lib/npyio.py in load(file, mmap_mode, allow_pickle, fix_imports, encoding)
    390         N = len(format.MAGIC_PREFIX)
    391         magic = fid.read(N)
--> 392         fid.seek(-N, 1)  # back-up
    393         if magic.startswith(_ZIP_PREFIX):
    394             # zip-file (assume .npz)

OSError: [Errno 22] Invalid argument

Does anyone have same issue or any idea how to solve it?
Maybe problem in my numpy library, but still have no idea what exactly is wrong.
My system: OSX El Capitan 10.11.6, Python 3.5 Anaconda

Thanks for the report. I'm currently in the process of getting a new Linux PC working. It has taken me several days so far because there's a million problems. If you find the solution to your problem in the meantime, then please report it here in case anyone else has the same error in the future.

Found what is the problem. Occasionally I had empty .npy file named same as cache file with transfer values. So, when python tried to download empty file it returned error.
So, you either have to have normal cache file with transfer values or don't have such filename at all.
Solved.