Fighting to get Leviton Switches working

Problem/Motivation
I recently went from OZW to Zwave JS with the official add-on.  Had the devices there but was having intermittent issues with my automations with my Leviton switches work some times but not others.  So I deinstalled the official add one and installed the mqtt2zwave add-on.
After doing this, my Leviton switches, one is a "Leviton - DZ15S - Scene Capable Push On/Off" the other is a dimmer.  Both went to a dead status.  So after many exclusions and inclusions where the switches would be added in but would always show as unknown.  Also, attempted healing the network many times.  In the end I did a factory reset on my AEON z-stick and added my motion sensor back in and then tried to add the DZ15S back in which resulted in the same result.   Many reboots were done as well.
nodes.json_before_readding.txt
It won't let me upload the new, it says it is empty.
Expected behavior
I would expect after an inclusion that the devices would be recognized.   Interviews always return with:
Actual behavior
2021-04-09 20:49:16.684 INFO ZWAVE: Node 4: interview stage COMMANDCLASSES completed
2021-04-09 20:49:16.694 INFO ZWAVE: Node 4: interview stage OVERWRITECONFIG completed
2021-04-09 20:49:16.751 INFO ZWAVE: Node 4: interview stage NEIGHBORS completed
2021-04-09 20:49:16.754 INFO ZWAVE: Node 4: interview stage COMPLETE completed
2021-04-09 20:49:16.780 INFO ZWAVE: Node 4: value added 4-37-0-currentValue => undefined
2021-04-09 20:49:16.784 INFO ZWAVE: Node 4: value added 4-37-0-targetValue => undefined
2021-04-09 20:49:16.787 INFO ZWAVE: Node 4: value added 4-134-0-libraryType => undefined
2021-04-09 20:49:16.790 INFO ZWAVE: Node 4: value added 4-134-0-protocolVersion => undefined
2021-04-09 20:49:16.793 INFO ZWAVE: Node 4: value added 4-134-0-firmwareVersions => undefined
2021-04-09 20:49:16.795 INFO ZWAVE: Node 4: value added 4-114-0-manufacturerId => undefined
2021-04-09 20:49:16.804 INFO ZWAVE: Node 4: value added 4-114-0-productType => undefined
2021-04-09 20:49:16.807 INFO ZWAVE: Node 4: value added 4-114-0-productId => undefined
2021-04-09 20:49:16.809 INFO ZWAVE: Node 4: value added 4-43-0-sceneId => undefined
2021-04-09 20:49:16.813 INFO ZWAVE: Node 4: value added 4-43-0-dimmingDuration => undefined
2021-04-09 20:49:16.819 INFO ZWAVE: Node 4 ready: Unknown manufacturer 0xXXXX - Unknown product 0xXXXX (0xXXXX)
2021-04-09 20:49:16.822 INFO ZWAVE: Controller status: Scan completed
2021-04-09 20:49:16.825 INFO ZWAVE: Network scan complete. Found: 3 nodes
2021-04-09 20:49:16.849 INFO ZWAVE: Node 4: interview COMPLETED, all values are updated
2021-04-09 20:49:22.909 INFO APP: GET /health/zwave 200 6.197 ms - 1875
2021-04-09 20:50:18.515 INFO APP: GET /api/store 200 32.056 ms - 735
I am now seeing:
2021-04-09 20:50:18.515 INFO APP: GET /api/store 200 32.056 ms - 735
Error: Not Found
at /opt/app.js:979:15
at Layer.handle [as handle_request] (/opt/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/opt/node_modules/express/lib/router/index.js:317:13)
at /opt/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/opt/node_modules/express/lib/router/index.js:335:12)
at next (/opt/node_modules/express/lib/router/index.js:275:10)
at /opt/node_modules/express-session/index.js:502:7
at readCallback (/opt/node_modules/session-file-store/lib/session-file-helpers.js:193:20)
at /opt/node_modules/graceful-fs/graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
2021-04-09 20:50:24.258 INFO APP: GET /api/store//data/store/settings.json 404 25.652 ms - 136
2021-04-09 20:51:22.940 INFO APP: GET /health/zwave 200 5.265 ms - 1875
Error: Not Found
at /opt/app.js:979:15
at Layer.handle [as handle_request] (/opt/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/opt/node_modules/express/lib/router/index.js:317:13)
at /opt/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/opt/node_modules/express/lib/router/index.js:335:12)
at next (/opt/node_modules/express/lib/router/index.js:275:10)
at /opt/node_modules/express-session/index.js:502:7
at readCallback (/opt/node_modules/session-file-store/lib/session-file-helpers.js:193:20)
at /opt/node_modules/graceful-fs/graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
I looked at the file in the "Store" area and it is there but does not look like it is in good shape.  I downloaded it and will include.
I did not have this error until I did an exclude where the node was node 3.  I excluded and included the node and it is now it is node 4.
Steps to reproduce
Not sure, at this point not sure how to get the nodes.js fixed.  I do have a backup from when the Leviton switch was node 3.
Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

This is interesting, I bounced my rpi and node 3 showed back, but it was excluded.

Unless you want me to do something else, I will remove the integration and plugin and reinstall.   Just did not want to blow this away in case it may be useful.

Hi there, thanks for opening an issue, unfortunately, this is not something I can fix from an add-on perspective.
Add-ons wrap existing applications. The error originates from the application wrapped by this add-on. Please report this issue upstream. Thanks! 👍

Hi frenck,
First, I think the work with the console is awesome.  A big improvement.  As far as reporting this upstream, you thinking that I should look into filing this under the Z-Wave JS inegration?

Looking at the log, it looks like the add-on is getting a timeout:
2021-04-15T22:40:19.770Z CNTRLR » [Node 004] querying protocol info...
2021-04-15 18:40:19.813 INFO ZWAVE: Success zwave api call refreshInfo { success: true, message: 'Success zwave api call', result: undefined }
2021-04-15T22:40:19.857Z CNTRLR « [Node 004] received response for protocol info:
basic device class: Routing Slave
generic device class: Binary Switch
specific device class: Binary Power Switch
node type: Routing End Node
is always listening: true
is frequent listening: false
can route messages: true
supports security: false
supports beaming: true
maximum data rate: 100000 kbps
protocol version: 3
2021-04-15 18:40:19.861 INFO ZWAVE: Node 4: interview stage PROTOCOLINFO completed
2021-04-15T22:40:19.867Z CNTRLR [Node 004] Interview stage completed: ProtocolInfo
2021-04-15T22:40:19.870Z CNTRLR » [Node 004] querying node info...
2021-04-15T22:40:20.173Z CNTRLR « [Node 004] node info received
supported CCs:
· Z-Wave Plus Info
· Association
· Association Group Information
· Version
· Manufacturer Specific
· Configuration
· Device Reset Locally
· Powerlevel
· Binary Switch
· Basic
· All Switch
· Scene Actuator Configuration
· Scene Activation
· Firmware Update Meta Data
controlled CCs:
· Hail
2021-04-15 18:40:20.181 INFO ZWAVE: Node 4: interview stage NODEINFO completed
2021-04-15T22:40:20.208Z CNTRLR [Node 004] Interview stage completed: NodeInfo
2021-04-15T22:40:20.218Z CNTRLR [Node 004] Interviewing Manufacturer Specific...
2021-04-15T22:40:20.222Z CNTRLR » [Node 004] querying manufacturer information...
2021-04-15T22:40:20.423Z CNTRLR « [Node 004] Received updated node info
2021-04-15T22:40:20.811Z CNTRLR « [Node 004] Received updated node info
2021-04-15 18:40:23.100 INFO ZWAVE: Node 2: value updated: 113-0-Home Security-Motion sensor status 8 => 8
2021-04-15 18:40:23.112 INFO ZWAVE: Node 2: metadata updated: 48-0-Motion
2021-04-15 18:40:23.118 INFO ZWAVE: Node 2: value updated: 48-0-Motion true => true
2021-04-15T22:40:30.506Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:40:30.531Z CNTRLR [Node 004] Interviewing Version...
2021-04-15T22:40:30.533Z CNTRLR » [Node 004] querying node versions...
2021-04-15 18:40:38.961 INFO ZWAVE: Node 2: value updated: 113-0-Home Security-Motion sensor status 8 => 8
2021-04-15 18:40:38.975 INFO ZWAVE: Node 2: metadata updated: 48-0-Motion
2021-04-15 18:40:38.979 INFO ZWAVE: Node 2: value updated: 48-0-Motion true => true
2021-04-15T22:40:40.770Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:40:40.774Z CNTRLR » [Node 004] querying CC versions...
2021-04-15T22:40:40.776Z CNTRLR » [Node 004] querying the CC version for Binary Switch...
2021-04-15T22:40:51.084Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:40:51.089Z CNTRLR [Node 004] CC version query for Binary Switch timed out - assuming the node su
pports version 1...
2021-04-15T22:40:51.091Z CNTRLR [Node 004] skipping query for All Switch (0x27) because max implemented vers
ion is 0
2021-04-15T22:40:51.092Z CNTRLR » [Node 004] querying the CC version for Z-Wave Plus Info...
2021-04-15T22:40:55.398Z CNTRLR [Node 004] did not respond after 1/3 attempts. Scheduling next try in 500 ms.
2021-04-15T22:41:06.095Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:41:06.100Z CNTRLR [Node 004] CC version query for Z-Wave Plus Info timed out - assuming the node
supports version 1...
2021-04-15T22:41:06.104Z CNTRLR » [Node 004] querying the CC version for Association...
2021-04-15 18:41:10.386 INFO ZWAVE: Node 2: value updated: 113-0-Home Security-Motion sensor status 8 => 0
2021-04-15 18:41:10.400 INFO ZWAVE: Node 2: metadata updated: 48-0-Motion
2021-04-15 18:41:10.405 INFO ZWAVE: Node 2: value updated: 48-0-Motion true => false
2021-04-15T22:41:16.176Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:41:16.179Z CNTRLR [Node 004] CC version query for Association timed out - assuming the node supp
orts version 1...
2021-04-15T22:41:16.180Z CNTRLR » [Node 004] querying the CC version for Association Group Information...
2021-04-15T22:41:26.350Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:41:26.355Z CNTRLR [Node 004] CC version query for Association Group Information timed out - assu
ming the node supports version 1...
2021-04-15T22:41:26.357Z CNTRLR » [Node 004] querying the CC version for Version...
2021-04-15T22:41:36.414Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:41:36.419Z CNTRLR [Node 004] CC version query for Version timed out - assuming the node supports
version 1...
2021-04-15T22:41:36.420Z CNTRLR » [Node 004] querying the CC version for Manufacturer Specific...
2021-04-15T22:41:46.484Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:41:46.488Z CNTRLR [Node 004] CC version query for Manufacturer Specific timed out - assuming the
node supports version 1...
2021-04-15T22:41:46.489Z CNTRLR » [Node 004] querying the CC version for Configuration...
2021-04-15T22:41:56.731Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:41:56.736Z CNTRLR [Node 004] CC version query for Configuration timed out - assuming the node su
pports version 1...
2021-04-15T22:41:56.738Z CNTRLR [Node 004] skipping query for Device Reset Locally (0x5a) because max implem
ented version is 1
2021-04-15T22:41:56.741Z CNTRLR [Node 004] skipping query for Powerlevel (0x73) because max implemented vers
ion is 0
2021-04-15T22:41:56.743Z CNTRLR [Node 004] skipping query for Scene Actuator Configuration (0x2c) because ma
x implemented version is 1
2021-04-15T22:41:56.745Z CNTRLR [Node 004] skipping query for Scene Activation (0x2b) because max implemente
d version is 1
2021-04-15T22:41:56.748Z CNTRLR » [Node 004] querying the CC version for Firmware Update Meta Data...
2021-04-15T22:42:06.880Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:42:06.887Z CNTRLR [Node 004] CC version query for Firmware Update Meta Data timed out - assuming
the node supports version 1...
2021-04-15T22:42:06.889Z CNTRLR [Node 004] skipping query for Hail (0x82) because max implemented version is
1
2021-04-15T22:42:06.906Z CNTRLR [Node 004] Interviewing Z-Wave Plus Info...
2021-04-15T22:42:06.908Z CNTRLR » [Node 004] querying Z-Wave+ information...
2021-04-15T22:42:17.038Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:42:17.060Z CNTRLR [Node 004] Interviewing Binary Switch...
2021-04-15T22:42:17.064Z CNTRLR » [Node 004] querying Binary Switch state...
2021-04-15T22:42:27.267Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:42:27.298Z CNTRLR [Node 004] Interviewing Configuration...
2021-04-15T22:42:27.300Z CNTRLR [Node 004] ConfigurationCC: skipping interview because CC version is < 3 and t
here is no config file
2021-04-15T22:42:27.306Z CNTRLR [Node 004] Interviewing Association...
2021-04-15T22:42:27.308Z CNTRLR » [Node 004] querying number of association groups...
2021-04-15T22:42:37.437Z CNTRLR [Node 004] Timed out while waiting for a response from the node
2021-04-15T22:42:37.444Z CNTRLR [Node 004] Querying association groups timed out, skipping interview...
2021-04-15T22:42:37.466Z CNTRLR [Node 004] Interviewing Association Group Information...
2021-04-15 18:42:37.470 INFO ZWAVE: Node 4: interview stage COMMANDCLASSES completed
2021-04-15T22:42:37.473Z CNTRLR [Node 004] Interview stage completed: CommandClasses
2021-04-15 18:42:37.475 INFO ZWAVE: Node 4: interview stage OVERWRITECONFIG completed
2021-04-15T22:42:37.477Z CNTRLR [Node 004] Interview stage completed: OverwriteConfig
2021-04-15T22:42:37.479Z CNTRLR » [Node 004] requesting node neighbors...
2021-04-15T22:42:37.521Z CNTRLR « [Node 004] node neighbors received: 1
2021-04-15 18:42:37.522 INFO ZWAVE: Node 4: interview stage NEIGHBORS completed
2021-04-15T22:42:37.524Z CNTRLR [Node 004] Interview stage completed: Neighbors
2021-04-15 18:42:37.526 INFO ZWAVE: Node 4: interview stage COMPLETE completed
2021-04-15T22:42:37.528Z CNTRLR [Node 004] Interview completed
2021-04-15 18:42:37.541 INFO ZWAVE: Node 4: value added 4-37-0-currentValue => undefined
2021-04-15 18:42:37.543 INFO ZWAVE: Node 4: value added 4-37-0-targetValue => undefined
2021-04-15 18:42:37.544 INFO ZWAVE: Node 4: value added 4-134-0-libraryType => undefined
2021-04-15 18:42:37.546 INFO ZWAVE: Node 4: value added 4-134-0-protocolVersion => undefined
2021-04-15 18:42:37.547 INFO ZWAVE: Node 4: value added 4-134-0-firmwareVersions => undefined
2021-04-15 18:42:37.549 INFO ZWAVE: Node 4: value added 4-114-0-manufacturerId => undefined
2021-04-15 18:42:37.551 INFO ZWAVE: Node 4: value added 4-114-0-productType => undefined
2021-04-15 18:42:37.556 INFO ZWAVE: Node 4: value added 4-114-0-productId => undefined
2021-04-15 18:42:37.557 INFO ZWAVE: Node 4: value added 4-43-0-sceneId => undefined
2021-04-15 18:42:37.559 INFO ZWAVE: Node 4: value added 4-43-0-dimmingDuration => undefined
2021-04-15 18:42:37.561 INFO ZWAVE: Node 4 ready: Unknown manufacturer 0xXXXX - Unknown product 0xXXXX (0xXXXX)
2021-04-15T22:42:37.562Z CNTRLR [Node 004] The node is ready to be used
2021-04-15 18:42:37.573 INFO ZWAVE: Node 4: interview COMPLETED, all values are updated
There are several mentions of timeouts, even when I had the raspberry within 5 feet of the switch and after doing a heal network.  There is only direct connections from the each device as I only have the switch, motion sensor and z-stick in the network right now.  You think this is still an integration issue?  They pushed me to open a ticket here as they thought the integration relied on info from the add-on.

https://github.com/home-assistant/core/issues/49279 opened.


Fix generators, use text/event-stream protocol

Fix #742
Fix https://github.com/elysiajs/elysia/issues/741

What do you think @SaltyAom is this a breaking change or a bug fix? Previously the response was not following the text/event-stream protocol

Don't know if it's related, but having a better way to catch Aborts would be really great, instead of having to do something like
request.signal.addEventListener("abort", cb) (which is kinda ugly) inside all request generators handlers for cleanups.
Would be cool an "abort" hook, or something like that.

@SaltyAom do you need any help with the review?
I am already using this fork in production and it works great. Another problem of the current approach is that most servers won't flush the body until they find a new line, using the right text/event-stream protocol fixes that

@SaltyAom @remorses In fact I don't think it should be up to elysia stream to handle exactly how to send the streams of the sse interface, that should be left to the developer. It should be left to the developer, because exactly how to send each id, event, etc. should be set by the developer.

@HK-SHAO if you want customization you will need to implement it from scratch

app.get('/events', async ({ set }) => {
  set.headers['Content-Type'] = 'text/event-stream'
  set.headers['Cache-Control'] = 'no-cache'

  const stream = new ReadableStream({
    async start(controller) {
      for (let count = 0; count < 10; count++) {
        const event = `data: Event ${count}\n\n`
        controller.enqueue(event)
        await Bun.sleep(1000)
      }
      controller.close()
    }
  })

  return new Response(stream)
})

@HK-SHAO if you want customization you will need to implement it from scratch
app.get('/events', async ({ set }) => {
  set.headers['Content-Type'] = 'text/event-stream'
  set.headers['Cache-Control'] = 'no-cache'

  const stream = new ReadableStream({
    async start(controller) {
      for (let count = 0; count < 10; count++) {
        const event = `data: Event ${count}\n\n`
        controller.enqueue(event)
        await Bun.sleep(1000)
      }
      controller.close()
    }
  })

  return new Response(stream)
})

Yeah i agree. Elysia should folows specs but if you need sometning custom you can do it


NIH-UIUC RIFTcov Phase 2

Description
Uploading simulations for Phase 2.
Checklist

[ ] Specify a proper PR title with your team name.
[ ] All validation checks ran successfully on your branch. Instructions to run the tests locally is present here.

Hi @BarnabyLlama ,
Thank you for the submission, I just to verify that I understand correctly the sample ID numbering: there is no stochasticity (as we discuss previously), every models runs has a different run_grouping "grouped" by race_ethnicity, scenario_id, horizon, and, target. Is that correct? (Meaning every run_grouping should match a single run that included all values for race_ethnicity, horizon, scenario and target)
Please let me know if any issues or questions,
Best,
Lucie

Hi @LucieContamin, that is correct!
Sophie


support add-on lease on management cluster

Signed-off-by: Yang Le<EMAIL_ADDRESS>

/assign @qiujian16
/assign @zhujian7

/hold

/hold Hold the change and see if it is possible to run lease controller per add-on.

/unhold


Cherry picks from main to release

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-2021.02@5553953). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             release-2021.02   #15421   +/-   ##
==================================================
  Coverage                   ?      65%
==================================================
  Files                      ?      560
  Lines                      ?    26885
  Branches                   ?     3887
==================================================
  Hits                       ?    17524
  Misses                     ?     8636
  Partials                   ?      725


Add Python cookbook

Contributes to #1109
Note to @cartermp @ocelotl @codeboten et all: I've chosen to rename & retitle the page, simplifying it to just Cookbook because there are no questions in the page :). In anycase, @cartermp will be reworking the pages soon so maybe this page will be reworked too?

Preview: https://deploy-preview-1115--opentelemetry.netlify.app/docs/instrumentation/python/cookbook/

Merging this now since it is mainly just a page migration. If there are any suggested changes, I'll address them in a followup PR.

Fantastic, thanks! Yes, I'll be adding some color to each of these


Task: Add support for RediSearch 2.0

Let's implement support for RediSearch 2.0:
https://redislabs.com/blog/redisearch-2-0-hits-its-first-milestone/

added to LettuSearch v2.4.1


View NifTi files

Hi guys, I converted a DICOM series to NifTi (with dcmstack - as seen here), and I would like to visualize it. Pysurfer asks me about a SUBJECTS_DIR. But I cannot find any information about what this should be in the docs. Here is my attempt to run pysurfer:
chymera@zenbookhost ~/src/RS $ pysurfer 60001-T2S_Anatomical_Feb15.nii.gz left pial
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/pysurfer", line 26, in <module>
    subjects_dir = os.environ['SUBJECTS_DIR']
  File "/usr/lib64/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'SUBJECTS_DIR'

Can you guys help me out?

PySurfer requires you to have processed your anatomy in Freesurfer (recon-all), and then you can visualize data on the surface much as you would in tksurfer. But until you preprocess the data with Freesurfer, it will not be to useful.

so there is no way to circumvent freesurfer in my data visualization? Is PySurfer onyl usagle in conjunction with freesurfer?

For single subject data, yes. You need to have processed the anatomy to create a mesh model of the cortical surface with Freesurfer that PySurfer uses.
One caveat is that you can project volume data in MNI space onto the average cortical surface template that ships with Freesurfer (as in this example). The correspondence between the MNI volume and the average surface template is inexact, though, so that's really more useful for illustrative purposes than for making principle decisions about the localization of activation. And even there you'll have to have Freesurfer installed and set up properly, both so that you can use the template mesh and because that function makes an external system call to a Freesurfer binary.

Not to bash the freesurfer developers, but freesurfer is anything but free (which bothers me fairly little ideologically, but makes it difficult for me to properly ship it with my distro). It would be really great if it weren't needed...

I'm sorry; I'm unable to help with that problem.

In any case thanks for the clarification.

I am a little curious to hear what the issue is, though? Freesurfer is distributed as part of Neurodebian, so I wouldn't have expected there to be a problem with its license terms.

I am trying to distribute the most popular neuroscience packages as part of the Gentoo science repository. This is in part because Gentoo is my favourite distribution, but also because Gentoo provides excellent support for live (not even just nightly!) builds. I guess you can agree that as a scientist it is really amazing to have access to the very latest code from your colleagues (who are developing package whatever) directly through your system's package manager. (here's an already older post about that, that I wrote)
But we do not have access to the newest Freesurfer sources, so that benefit is voided for this package. Additionally, Freesurfer is distributed as a binary, so all the other benefits you get by compiling from source (modularity, portability, speed) also go out the window. Even if you distribute it as a binary, you still have to include their nonstandard license (which is not that horrible, but still a nuisance). Least but probably most annoyingly, we have to require our users to manually get a registration key, log in as root, and edit some otherwise obscure system directory manually... I am guessing Neurodebian also does this?

I don't use debian so I'm not sure, but I do know they package it. I think that you should be able to download the Freesurfer source from the cvs repository or nightly builds, not just the released binaries.


check isDrag to not trigger dragging code onclick.

Currently clicking an element triggers a lot of onDragEnd logic when clicking elements in the canvas. Check if isDrag=false to skip that when it's just a click.

Which issue does this address?

Which issue does this address?

None in particular. I was doing some research due to what Paul said that moving things in the canvas is very slow and laggy, and found that clicking any element in the canvas triggers the entire dragEnd logic, which in some cases (eg: video) is very slow and janky. This tiny PR makes selecting elements in the canvas a lot faster and less janky, and I guess could be filed under misc performance improvements.


[strategy] allow sale as first operation

It should be possible for the bot to start with a sell operation, when balance is available in the target currency.

@alex-dp - I personally don't think this is a good idea. The code doesn't know enough about the current balance in the account to make a call on. For example, if you'd spent $5k on Bitcoin back in May and launched this as a brand new user right now, the code would sell the balance and you'd lose nearly half of what you bought it for (if that makes sense). I'm new to using it and just accepted that I need to make the first sell decision of my existing coins before it could buy because I know what I spent on it.
I see an argument for there being a manual 'Sell all' button or something similar though, but that would need the user to provide the figure to sell at.

been following this for a bit, since jan. I've not had time to add in, but checking first for a purchase date/price and if not found asking manually is the only viable option i see, without adding in support for other exchanges to check there for a purchase/price history. Possibly adding in a portfolio.json file with the required information would do.


[Backport 2.9] use fixed stream server bind address for cri-dockerd

Backport for # https://github.com/rancher/rancher/issues/46870
SURE-8866

RKE standalone checks:
Case 1 :

Using rke binary v1.6.2-rc.2, provisioned v1.30.4-rancher1-1, v1.29.8-rancher1-1 and v1.28.13-rancher1-1 node driver RKE1 cluster(1-cp, 1-e, 1-w)
Validated the stream server bind address and port, it's set to localhost:10010 (LISTEN)

Case 2 :

Using rke binary v1.6.2-rc.2, provisioned v1.30.4-rancher1-1, v1.29.8-rancher1-1 and v1.28.13-rancher1-1 node driver RKE1 cluster(1-cp, 1-e, 1-w)
Added following fields cri_dockerd_stream_server_address: <IP_ADDRESS> and cri_dockerd_stream_server_port: 10011 in cluster.yml.
Updated cluster and re-validated the address and port, it's updated to above new values.

Rancher checks:
Case 1 :

On rancher v2.9-head(eddb8ca2c36856c4b22db038ee209a3567464d9c-head), provisioned RKE1 v1.30.4-rancher1-1, v1.29.8-rancher1-1 and v1.28.13-rancher1-1 node driver cluster.
Validated the stream server bind address and port, it's set to localhost:10010 (LISTEN)

Case 2 :

On rancher v2.9-head(eddb8ca2c36856c4b22db038ee209a3567464d9c-head), provisioned RKE1 v1.30.4-rancher1-1, v1.29.8-rancher1-1 and v1.28.13-rancher1-1 node driver cluster.
Added following fields cri_dockerd_stream_server_address: <IP_ADDRESS> and cri_dockerd_stream_server_port: 10011 after editing cluster yaml.
Updated cluster and re-validated the address and port, it's updated to above new values. Kubelet also restarted.

Case 3 :

On rancher v2.9.1, provisioned RKE1 v1.30.3-rancher1-1, v1.29.7-rancher1-1 and v1.28.12-rancher1-1 node drvier cluster.
Validated the stream server bind address and port and it was not set to default value.
Upgraded rancher server to v2.9-head.
Upgraded cluster to v1.30.4-rancher1-1, v1.29.8-rancher1-1 and v1.28.13-rancher1-1.
Validated stream server bind address and port, it's set to default value localhost:10010 (LISTEN) and kubelet was restarted.


Background Image across multiple scenes

react-native-router-flux v3.33.0
react-native v0.35.0

Expected behaviour
RNRF allows for background image wrapped scenes as #340 describes and each new scene slides into and over the stationary background.
Actual behaviour
Previous or "ghost" scene is visible behind the new scene. Both scenes are in view however the previous is offset and semi-transparent.
Steps to reproduce
see #340.
My work around was to create a blank, empty scene and pass it the nextRoute as a prop to load an in-between scene that is empty
export default class Blank extends Component {

    componentWillMount() {
        Actions[this.props.nextScene]()
    }

    render() {
        return (
            <View style={{flex: 1}}/>
        )
    }
}

then use like so
Actions.blank({nextScene: "myNextScene"})

Thoughts?

Is there a better solution?

Yeah, this is not ideal. Could work better I was able to set a new background for other scenes because this background will always render behind any future scene transitions. So far with nested scenes I haven't been able to do this. At least for the first transitions between scenes you'll catch a glimpse of the background image as it is essentially the background image now of the entire app if you wrap the app in it this way.

I am also looking for a solution to this problem!

@ssomnoremac, @xufang215 - I came up with a solution for this by detecting the scene and if it's not the active scene, rendering an empty view.
To make the current scene object available in my components, I connect the router to redux and catch the ActionConst.FOCUS actions in a reducer that sets the current scene in my redux state as per this guide: https://github.com/aksonov/react-native-router-flux/blob/master/docs/REDUX_FLUX.md

I would be happy if I could just disable the fading part of the animation on PUSH, eliminating the transparency that reveals the background.

@activelogic , thanks! That's the solution. A bit of a pain to wrap each component in something like this:
if(this.props.routes.scene.sceneKey === "CreateProfile_2"){
   return <SomeComponent/>
}else{
   return <View style={{backgroundColor: "#fff", flex:1}}/>
}

but I agree, this definitely is the way to a tackle this problem. This also helps when using a drawer as the scene before the drawer scene will show through on the open/close animation.

Really? I don't think that's the best solution we can come up with...

well, I agree, being able to change the animation on the transition would be best but rendering blank screens when not active is something that would be a lot more useful in the API in my opinion.

It's definitely not the best solution.  It would be better if the fade effect went to 0 opacity entirely.

Look at @redbaron76 response in #1202.
I have used that animationStyle function, just changed outputRange in opacity to [1, 1, 0.0].
<Router     scenes={scenes}     hideNavBar     getSceneStyle={getTransparentBgSceneStyle}     animationStyle={animationStyle} />


ValueError: Unknown metric function: F1Score

Hi everyone,
I am trying to load the model, but I am getting this error:

ValueError: Unknown metric function: F1Score

I trained the model with tensorflow_addons metric and tfa moving average optimizer and saved the model for later use:

optimizer = Adam(lr=0.001)
optimizer = tfa.optimizers.MovingAverage(optimizer)

METRICS = [tensorflow.keras.metrics.CategoricalAccuracy(name='categorical_accuracy', dtype=None),
           tfa.metrics.F1Score(num_classes = 7, average = 'macro', name = 'f1_score_macro', threshold = 0.5),
           tfa.metrics.F1Score(num_classes = 7, average = 'micro', name = 'f1_score_micro', threshold = 0.5),]

I am trying to load the model with custom_objects:
What I tried:

import tensorflow_addons as tfa
from tensorflow_addons.metrics import F1Score

def f1_score_macro():
    return tfa.metrics.F1Score(num_classes = 7, average = 'macro', name = 'f1_score_macro', threshold = 0.5)

def f1_score_micro():
    return tfa.metrics.F1Score(num_classes = 7, average = 'micro', name = 'f1_score_micro', threshold = 0.5)

model = tensorflow.keras.models.load_model('./model/mobileNet_model.h5',# './model_cam_eq_adam_now.h5',
                   custom_objects={ 'MovingAverage': tfa.optimizers.MovingAverage(optimizer),
                                   'f1_score_macro': f1_score_macro,
                                   'f1_score_micro': f1_score_micro,
                                  }
            )

model = tensorflow.keras.models.load_model('./model/mobileNet_model.h5',# './model_cam_eq_adam_now.h5',
                   custom_objects={ 'MovingAverage': tfa.optimizers.MovingAverage(optimizer),
                                   'f1_score_macro': tfa.metrics.F1Score(num_classes = 7, average = 'micro', name = 'f1_score_micro', threshold = 0.5),
                                   'f1_score_micro': tfa.metrics.F1Score(num_classes = 7, average = 'micro', name = 'f1_score_micro', threshold = 0.5)
                                  }
            )

model = tensorflow.keras.models.load_model('./model/mobileNet_model.h5',# './model_cam_eq_adam_now.h5',
                   custom_objects={ 'MovingAverage': tfa.optimizers.MovingAverage(optimizer),
                                   'metrics': METRICS
                                  }
            )

model = tensorflow.keras.models.load_model('./model/mobileNet_model.h5',# './model_cam_eq_adam_now.h5',
                   custom_objects={ 'MovingAverage': tfa.optimizers.MovingAverage(optimizer),
                                  }
            )

Why am I getting ValueError?
I have tensorflow 2.0 and tfa version 0.9.0.
I can't update tfa to the latest version, because I will have to change the TensorFlow version (which is not possible for me).
How to resolve this issue? Is there any workaround or am I doing something wrong?

Seems like the model is looking for a function named F1Score  but is not able to find it in the custom objects dictionary. Try renaming the keys f1_score_macro in the custom object dictionary to  F1Score.
import tensorflow_addons as tfa
from tensorflow_addons.metrics import F1Score

def f1_score_macro():
    return tfa.metrics.F1Score(num_classes = 7, average = 'macro', name = 'f1_score_macro', threshold = 0.5)

def f1_score_micro():
    return tfa.metrics.F1Score(num_classes = 7, average = 'micro', name = 'f1_score_micro', threshold = 0.5)

model = tensorflow.keras.models.load_model('./model/mobileNet_model.h5',# './model_cam_eq_adam_now.h5',
               custom_objects={ 'MovingAverage': tfa.optimizers.MovingAverage(optimizer),
                               'F1Score': f1_score_macro,
                               'F1Score': f1_score_micro,
                              }
        )`

@rao208  Moving this issue to closed status as there has been no recent activity.In case you still face the error please create a new issue,we will get you the right help.Thanks!


launch_calculations_cp2k minor changes

Minor changes in CP2K job submission script

@hmhoseini, we decided to not keep the launching script for the various codes. We believe that the quantum-espresso example (plus READEME explanation) is sufficient for the users to understand the steps to run the calculation with any other code. Moreover, most of the parameters are machine/profile dependent, not so many are general for a given code. Therefore I close this PR and I will remove the launch_calculations_cp2k.py in another PR.


Document how to deploy Policies with ArgoCD

ArgoCD gets more and more attention and we can perfectly work with ArgoCD.
See some blog we are working https://github.com/ch-stark/argocdpoliciesblog/blob/main/blog.md
we need to document how to deploy the PolicyCollectionRepository (example in the blog)
We also have some Policies which deploy a Helm-Chart in AppSub style and we should have examples for ArgoCd.

Information on integrating ArgoCD with ACM is here: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.9/html-single/gitops/index#policy-gen-install-on-openshift-gitops.


Create unit tests for auto indentation

We've had a number of bugs & fixes related to auto-indentation.
We need to ensure we do not regress.
Create unit tests for the following rules:
    languages.setLanguageConfiguration(PYTHON.language!, {
        onEnterRules: [
            {
                beforeText: /^\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async)\b.*/,
                action: { indentAction: IndentAction.Indent }
            },
            {
                beforeText: /^\s*#.*/,
                afterText: /.+$/,
                action: { indentAction: IndentAction.None, appendText: '# ' }
            },
            {
                beforeText: /^\s+(continue|break|return)\b.*/,
                afterText: /\s+$/,
                action: { indentAction: IndentAction.Outdent }
            }
        ]
    });

Another issue #1461

@DonJayamanne  can we consider the cases in the description as fixed ? (https://github.com/microsoft/vscode-python/pull/6939)

Not until, we have UI tests for this.

This is now supported by Pylance so closing this.


trouble with oneplus device

shizuku wouldnt start on my oneplus nord.  eventually found out that you have to toggle the 'disable permission monitoring' option in Developer settings for oneplus devices.  it would be nice if you could note that along with the other device specific notes on the setup guide.

we are not shizuku's mantainers.


Timestamp for Listings

A proposal to enhance listings by adding a timestamp. It could be optional to show or hide.

A time stamp for creation of the listing, expiration or something else?

Originally for creation date. That way, as a buyer, you get a sense for how long an item has been in the market. Any other time-related enhancements are welcomed too.

In the case of ebay, they ad it in the Description tab, and refreshes with any updates. Also particularly important for service offerings or when sourcing.

This will be important once we get the feed going @morebrownies

This would require a back-end ticket to return a created timestamp for each listing in get_listings.


Verify current AIP, as well as AIP source figure and update interval

Task
The current "Allowable Increase Percentage" uses 0.5%, which is the BoLS reported change of the consumer price index "since last year;"  There is another figure of 0.7% change "in last two months" (as of April 2021).  Need to get more clarity on what these figures represent, which should be the reference for the calculator function, and how to manage the AIP update.
Acceptance Criteria

[ ] AC 1
[ ] AC 2

Notes

Use "CPI" as the term for this rather than "AIP" (CPI seems more widely used)?


HTML Degree

Hi,
If we have degree symbol in HTML then we need to add
$latlng = str_replace("°"," ",$latlng);
feeling lazy to create pull request just for this small thing :). Hope you don't mind.

If the input is HTML encoded then the programmer can decode it before passing to this function.  I don't agree with including this.

Well choice is yours, but I don't understand when you are using all other degree symbol, why embedding is not desirable. Yes programmer can decode it, but another bit of one line solve a good issue is not much. Anyway, thanks for your code. It is great help.


DateTime format for non-us locales

1st version of HealthChecker worked fine, new version (with date check) fails to run.
Our Exchange Server - Region is Australia
18/03/2021 dd/mm/yyyy
HealthChecker script returns:
Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
At C:\Users\administrator.ISRAEL\Downloads\HealthChecker2.ps1:547 char:9

if (([DateTime]::Parse($scriptBuildDate)).AddDays(10) -lt [DateTi ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : FormatException

from the shell: date command returns this on this system
PS C:\Users\administrator.ISRAEL\Downloads> date
Thursday, 18 March 2021 4:13:00 PM
thanks
Marty

@MGOliver442 can you please drop us an email to ExToolsFeedback[at]microsoft[dot]com. I'll then send you a new version for validation.

Same problem here in germany.
Greetings
Gero

Thanks everyone for reporting this issue. I've checked in a PR to address it. Will be released soon. Track #567 .

Fixed with the latest release (3.3.7): https://aka.ms/ExHCDownload


[DNM] tests: Run tests faster in CI

What problem does this PR solve?
Issue Number: ref #6148
Problem Summary:
What is changed and how it works?

Introduced a Python script to omit log messages for successful test cases. This script does nothing else -- every advanced flags will be transparently passed to gtest.

Sync stdout for gtest output and log output, to avoid interleaved outputs.

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-unit-test

/run-unit-test

Test sharding seems to be not very helpful, because our test durations are heavily skewed:
[2022-10-17T07:10:08.922Z]    10220 ms: /tiflash/gtests_libcommon Parm/MemUtilsTest.CompareLongEq/avx_false_avx512_false
[2022-10-17T07:10:08.922Z]    10220 ms: /tiflash/gtests_libdaemon BaseDaemon.StackUnwind
[2022-10-17T07:10:08.922Z]    10578 ms: /tiflash/gtests_dbms SegmentRandomizedTest.FastIntHandle
[2022-10-17T07:10:08.922Z]    10612 ms: /tiflash/gtests_dbms DMMinMaxIndexTest.Equal
[2022-10-17T07:10:08.922Z]    10787 ms: /tiflash/gtests_dbms ChecksumBufferNone.Seeking
[2022-10-17T07:10:08.922Z]    10849 ms: /tiflash/gtests_dbms ChecksumBufferCRC64.Seeking
[2022-10-17T07:10:08.922Z]    10866 ms: /tiflash/gtests_dbms ChecksumBufferXXH3.Seeking
[2022-10-17T07:10:08.922Z]    10879 ms: /tiflash/gtests_dbms ChecksumBufferCity128.Seeking
[2022-10-17T07:10:08.922Z]    10897 ms: /tiflash/gtests_dbms ChecksumBufferCRC32.Seeking
[2022-10-17T07:10:08.922Z]    11193 ms: /tiflash/gtests_dbms SegmentTest.MassiveSplit
[2022-10-17T07:10:08.922Z]    11536 ms: /tiflash/gtests_dbms SegmentCommonHandleTest.MassiveSplit
[2022-10-17T07:10:08.922Z]    11640 ms: /tiflash/gtests_dbms DeltaValueSpaceTest.MinorCompaction
[2022-10-17T07:10:08.922Z]    11688 ms: /tiflash/gtests_dbms JoinExecutorTestRunner.SimpleJoin
[2022-10-17T07:10:08.922Z]    12191 ms: /tiflash/gtests_dbms SegmentRandomizedTest.FastCommonHandle
[2022-10-17T07:10:08.922Z]    13282 ms: /tiflash/gtests_dbms Recycle_AllowRetryRead/LogFileRWTest.ManyBlocks/true_true
[2022-10-17T07:10:08.923Z]    13748 ms: /tiflash/gtests_dbms PageStorageTest.WriteReadWithIOLimiter
[2022-10-17T07:10:08.923Z]    13976 ms: /tiflash/gtests_dbms DTToolTest.ConsecutiveMigration
[2022-10-17T07:10:08.923Z]    14279 ms: /tiflash/gtests_dbms Recycle_AllowRetryRead/LogFileRWTest.ManyBlocks/false_true
[2022-10-17T07:10:08.923Z]    15042 ms: /tiflash/gtests_dbms Recycle_AllowRetryRead/LogFileRWTest.ManyBlocks/true_false
[2022-10-17T07:10:08.923Z]    15163 ms: /tiflash/gtests_dbms Recycle_AllowRetryRead/LogFileRWTest.ManyBlocks/false_false
[2022-10-17T07:10:08.923Z]    16251 ms: /tiflash/gtests_dbms Common.RWLock1
[2022-10-17T07:10:08.923Z]    17740 ms: /tiflash/gtests_dbms BlobStoreTest.testWriteReadWithIOLimiter
[2022-10-17T07:10:08.923Z]    19303 ms: /tiflash/gtests_dbms DeltaMergeStoreGCTest.RandomShuffleLogicalSplitAndDeleteRange
[2022-10-17T07:10:08.923Z]    19489 ms: /tiflash/gtests_dbms WindowExecutorTestRunner.multiWindow
[2022-10-17T07:10:08.923Z]    20848 ms: /tiflash/gtests_dbms ComputeServerRunner.multipleQuery
[2022-10-17T07:10:08.923Z]    22733 ms: /tiflash/gtests_dbms WriteLimiterTest.Rate
[2022-10-17T07:10:08.923Z]    24089 ms: /tiflash/gtests_dbms ExecutorProjectionTestRunner.MultiFunction
[2022-10-17T07:10:08.923Z]    29025 ms: /tiflash/gtests_dbms Disks/WALStoreTest.ManyEdits/single_disk
[2022-10-17T07:10:08.923Z]    29509 ms: /tiflash/gtests_dbms Disks/WALStoreTest.ManyEdits/multi_disks
[2022-10-17T07:10:08.923Z]    41181 ms: /tiflash/gtests_dbms Common.RWLockPerfTestReaders
[2022-10-17T07:10:08.923Z]    41402 ms: /tiflash/gtests_dbms PageDirectoryGCTest.ManyEditsAndDumpSnapshot
[2022-10-17T07:10:08.923Z]    47794 ms: /tiflash/gtests_dbms TestDateTimeDayMonthYear.dayMonthYearTest
[2022-10-17T07:10:08.923Z]    51509 ms: /tiflash/gtests_dbms DMMinMaxIndexTest.Or
[2022-10-17T07:10:08.923Z]    58928 ms: /tiflash/gtests_dbms DMMinMaxIndexTest.And
[2022-10-17T07:10:08.923Z]    63105 ms: /tiflash/gtests_dbms JoinExecutorTestRunner.MultiJoin
[2022-10-17T07:10:08.923Z]   142503 ms: /tiflash/gtests_dbms PageStorageTest.GCWithWriteLimiter

It seems to be very possible that these skewed tests will cause sharded workers to be very unbalanced.


Profile page for each fellow

When you click on each fellows card, it sends you to a separate page which includes more detail such as:

Description
Favourite programming languages
Interests outside of technology
University

I want to work on that issue with  @Anjali2001saxena


feat: Add cloudwatch lambda event support to Parser utility

This schema is currently supported in the validator utility.
This issue will add the schema to the parser utility and a new envelope.
The envelope will base64 decode the log data, and decompress it into a new field called decoded_data.   If a model input was given, it will also parse the decoded string as a pydantic BaseModel or string.
This will allow full parsing and log extraction by using only one decorator.
If you dont supply a model, the data type of the extracted data is str.

Launched in 1.9.0 now


Add info about PG_* env vars to README

Coverage remained the same at 58.921% when pulling e06d914e7e2527c77f5f0c6e38a898f99bfc8fe9 on samuelb:master into 05429f2d1ca72edcc5b035838cc97733242aaaa5 on wrouesnel:master.


how to record a video during training

how to record a video during training

Can you be more specific?

Thank you. When I ran your code, I discovered the videos in the TC-Driver/TC_Driver/train/recording/ directory and was very interested. When I ran train.py, I set record_video to True and modified the relevant code. The final generated video has no pictures.

This is usually a problem with mismatching gym versions. Are your dependencies matching these versions?
https://github.com/ETH-PBL/TC-Driver/blob/main/Gym/requirements.txt

The environment is exactly the same. Could this be related to the fact that I commented out the code about self.visualize in the TC-Driver/Gym/gym/f110_gym/envs/f110_rl_env.py. This was the only change I made, as it resulted in the error: AttributeError: 'RLF110Env' object has no attribute 'create_obs_dict'

It sounds relevant to visualization. We are working on a new version of the TC-Driver gym, which should be fixing this issue in the meanwhile.

Thank you, I will continue to pay attention.

@BIT-KaiYu I have added a missing function and fixed an installation requirement that was worng. This should fix the video recording (I tested train.py and obtained such a recording).
While this is not the new version we are working on that @niciBume mentioned, this should fix at least the recording problem

I'm sorry to tell you that the problem still exists. Maybe there is a problem with my environment requirements.txt. Thank you anyway.


Add Nong Song: Es Gratis

Song Name
Es Gratis
Artist Name
RONPE 99
Source
Youtube
Youtube Link
https://youtu.be/WmdBZcu_3aE?si=XbYdND8hCJ6kRu9f
Direct File Link
https://cdn.discordapp.com/attachments/1124054122270839006/1298828184237772922/ya.mp3?ex=671afb82&is=6719aa02&hm=9e7a9c604fb98f37092a9135f8b266e49bddac64b64147d0712699b577a76f39&
Song ID
1234567
Start Offset [ms]
0
Extra
No response

I want you to accept it if you can, because I am working on a layout with this song and I would like people to be able to listen to it without having to replace it


Public safety analysis

Pushed my analysis 1 notebook - all three models are behaving really whacky right now with no observations predicted 1. I subset to 20 and 40 variables (from our 700 features) which made this behavior slightly less whacky (see last confusion matrix after running logistic regression on "top" 40 features - we now have some observations predicted 1, but equally as many that are incorrect (precision of 0.5). Might be worth slowly building up the # of features, as well as making sure there isnt an error in how the variables are constructed


Agile Practices for workshop 5

Responsibilities Assignment
Task Assignment: Specific units of code or features are assigned to individual team members. Clear specifications and requirements are provided for the assigned work, ensuring everyone understands their responsibilities.

Incremental Development
Feature Implementation: Features are implemented in small, incremental steps. This includes continuous testing and bug-fixing of the code until it is ready for delivery, promoting a stable and reliable development process.

Customer Collaboration
Close Collaboration: The team works closely with the customer to understand their requirements. An example is the request for save file functionality. Customer feedback is actively incorporated into the development process, ensuring the final product meets their needs and expectations.

Kanban Board
Progress Tracking: A weekly Kanban board is used to track current progress and tasks. Regular discussions are held to review the board, addressing any blockers or issues that arise, and ensuring smooth workflow management.

Continuous Integration/Continuous Deployment (CI/CD)
Frequent integration of code into a shared repository, followed by automated testing and deployment. This helps detect and address issues early, ensuring a more reliable and faster release process.

Responsibilities Assignment
Task Assignment: Specific units of code or features are assigned to individual team members. Clear specifications and requirements are provided for the assigned work, ensuring everyone understands their responsibilities.

Incremental Development
Feature Implementation: Features are implemented in small, incremental steps. This includes continuous testing and bug-fixing of the code until it is ready for delivery, promoting a stable and reliable development process.

Customer Collaboration
Close Collaboration: The team works closely with the customer to understand their requirements. An example is the request for save file functionality. Customer feedback is actively incorporated into the development process, ensuring the final product meets their needs and expectations.

Kanban Board
Progress Tracking: A weekly Kanban board is used to track current progress and tasks. Regular discussions are held to review the board, addressing any blockers or issues that arise, and ensuring smooth workflow management.

Continuous Integration/Continuous Deployment (CI/CD)
Frequent integration of code into a shared repository, followed by automated testing and deployment. This helps detect and address issues early, ensuring a more reliable and faster release process.


cardbattle shouldn't compare suits

I'm not sure about this one, but if I remember correctly, suits are only used for manilhas

@icrcode os naipes so sao comparados quando tem manilha, certo?

This was fixed when manilhas were added. https://github.com/E-truco/test_game/commit/4fc575616dd625cac05e53865dbda93791399fe4


NPM page GitHub link incorrect

Hi!
The GitHub link on the package's NPM page links to:
<EMAIL_ADDRESS>Rather than:
https://github.com/taylorhakes/promise-polyfill
The taylorhakes@ causes Firefox to display a security warning.
This value comes from:
https://github.com/taylorhakes/promise-polyfill/blob/2939a7d7a8a324d7bb4eba3253ae07405b1475e9/package.json#L30

Fixed in 7.1.1


TS error for self-referencing type definitions

'Link' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.

Workaround: Use any

cc @seancdavis

One further idea how to solve it: Special "string rule" for self-recursive definitions:

@schickling I think that would be a reasonable approach, as long as that's how of behaved in non-recursive scenarios. Otherwise we're asking developers to use of in two different ways, and that could be confusing.


fix typo :pencil2: in api docs.

Description
This PR just fixs a typo in api docs.

Ah, looks like the build pipeline is failing :(
The contribution looks harmless to me. :D


Update project dependencies

Here are a few dependency updates. Please check with your mapbox key.
Additional:

Use gradle-versions-plugin to detect version updates.
Allow to install debug version in side-by-side with release version.

Each commit builds.

Friendly ping :bellhop_bell:

Thanks für the PR, I'll tested it and everything seems to work. Will increase the version, build and publish in Google Play soon.
About openSense widgets: I don't know any alternatives, but I'm no longer active with senseBox/openSense anymore. Maybe with the new Android 12 Widgets someone will create a new, much better looking and working, widget. Building widgets with the current API is really tricky. Especially when they should look good. And I know the OpenSense widgets aren't beautiful. :)


Typescript share links occasionally open as blocks

Describe the bug
Occasionally, typescript share links get opened as blocks programs seemingly at random, resulting in the code getting deleted in that instance and the page needing to be refreshed.
To Reproduce
Steps to reproduce the behavior:
No consistent steps to reproduce, as it seems like a race condition. Seems to occur most often when I switch tabs / open in a new tab and do something else for a bit.
Most recently occurred in a project that was typescript only / had no blocks code at all
@riknoll knows what to look for / has seen the bug
Expected behavior
typescript share links don't open up in blocks view and delete code
Desktop (please complete the following information):

OS: mac
Browser chrome

Additional context
Reloading the page works / gets the code back if it is lost

Try again. I have fixed a bug where the field editors were not loaded when try to load a script.


Refactor policy, job, target API

Coverage increased (+0.07%) to 57.334% when pulling 92dcf4bfd3124ac4ec042aa2e7c711e5aff0fcca on ywk253100:170523_replica into 1c441b17bee81b4065261439d1658f40562cb5fa on vmware:master.


Fix missing decl for hip-clang

Add back decl for hipHccModuleLaunchKernel and hipExtModuleLaunchKernel for HIP/VDI only

https://github.com/ROCm-Developer-Tools/HIP/pull/1330 removed this, but HIP-Clang needs this back.

Why can't declaration in https://github.com/ROCm-Developer-Tools/HIP/blob/master/include/hip/hip_hcc.h#L94-#L112 be used by hip-clang?

It can be used if we update: https://github.com/ROCm-Developer-Tools/HIP/blob/master/include/hip/hip_hcc.h#L26
But do we want more hcc named files? (isn't it deprecating?)

Why can't declaration in https://github.com/ROCm-Developer-Tools/HIP/blob/master/include/hip/hip_hcc.h#L94-#L112 be used by hip-clang?

This file is for HCC only by its name. It is not proper to include it for HIP/VDI.

Before PR#1341 is finalized, shall we merge this first? builds of two major math libs are blocked days and through the weekend, there are concerns more issues may be hidden without successful builds.

Before PR#1341 is finalized, shall we merge this first? builds of two major math libs are blocked days and through the weekend, there are concerns more issues may be hidden without successful builds.

@gargrahul @mangupta Yes we need this urgently. teamcity miopen and rocblas build has been broken for long time

@yxsamliu Sure. We can merge this for now and can reverse this in #1341 when ready.

HIP-Clang CI builds require this fix. Thank you


Unable to open as a page element inside a database

What is happening?
I have this database with a list view to store my travel plans, and the elements inside are pages themselves so that I can write down all the information about the trip. When I hover over the list element, the "Open as a page" button doesn't appear, so I can't access the content of the page in any way.
What should be happening?
When I open this database in Notion (Windows 10 or web browser), I can see the "Open as a page" button to edit or view the content if I hover over the element.
Screenshots (if applicable):
Notion enhancer:

Notion (web browser):

Operating system/browser name & version:
Ubuntu 20.04.1 LTS
notion-enhancer and/or notion-repackaged version:
notion-enhancer v0.11.0-dev
notion-enhancer configuration (enabled/disabled mods and their settings):
Tabs
Emoji sets
Word counter
Code line numbers
Calendar scroll
Light+ theme

I'm not sure, but I think I'm not allowed to add tags to the issue in this repo (I'm quite new to GitHub and this is the first report that I've ever created on an open source project). It would be nice if someone added the "bug" tag to it.

does this only occur in the notion-enhancer app, or when using it as a browser extension too?

Try clearing the app's cache: open devtools (ctrl+shift+i), go to the Application tab -> Clear storage -> click Clear site data

I was going to try this, but I've started the app and the problem isn't there now. I have restarted it several times to check and it doesn't happen now. I will close this issue.


Fix typo in infrastructure docs

I believe this should be changed to sensu_include_dashboard

You're absolutely right - thanks 👍


Moved OnlineTimeStorage and added it to ServicesManager

Moved the OnlineTimeStorage to the API dir and added the main instance of it to the servicesManager to get it for other plugins.

I will release a new version soon.


Single char list compiler warning on Erlang 27.0.1 and Elixir 1.17.2

The github repository already has the updated code but the latest release 1.1.0 on hex does not have it.
Warnings:
==> connection
Compiling 1 file (.ex)
     warning: single-quoted strings represent charlists. Use ~c"" if you indeed want a charlist or use "" instead
     │
 553 │         [{:data, [{'State', mod_state}]}]
     │                    ~
     │
     └─ lib/connection.ex:553:20

     warning: single-quoted strings represent charlists. Use ~c"" if you indeed want a charlist or use "" instead
     │
 680 │     format = '** Generic server ~p terminating \n' ++
     │              ~
     │
     └─ lib/connection.ex:680:14

     warning: single-quoted strings represent charlists. Use ~c"" if you indeed want a charlist or use "" instead
     │
 681 │       '** Last message in was ~p~n' ++ ## No last message
     │       ~
     │
     └─ lib/connection.ex:681:7

     warning: single-quoted strings represent charlists. Use ~c"" if you indeed want a charlist or use "" instead
     │
 682 │       '** When Server state == ~p~n' ++
     │       ~
     │
     └─ lib/connection.ex:682:7

     warning: single-quoted strings represent charlists. Use ~c"" if you indeed want a charlist or use "" instead
     │
 683 │       '** Reason for termination == ~n** ~p~n'
     │       ~
     │
     └─ lib/connection.ex:683:7

Generated connection app

This will be fixed when we release a new version. There is no rush, however, see rationale here https://github.com/elixir-ecto/connection/commit/7edb9a03b4971a96250321d8cf251e17055a4075.


Zendoo Cross-Chain Transfer Protocol

Made a PR for some spelling mistake corrections here https://github.com/HorizenOfficial/ZenIPs/pull/9


chore: zeebe-cloud-events-router to 0.0.1

chore: Promote zeebe-cloud-events-router to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@salaboy: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

promotion-build
7a696c24d869db505dc0421a97206d88cef45ffe
link
/test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Handle input curies from templated APIEdge

APIs using templated annotations and non-BioThings transformers fail due to a difference in APIEdge input structure. This PR handles this case (intransformer.pairCurieWithAPIResponse(), for both BaseTransformer and a fallback behavior in BioThingsTransformer).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 77.707%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
307

Relevant Lines:
384

💛  - Coveralls

tested with biolink/monarch and ebi proteins apis from this branch https://github.com/NCATS-Tangerine/translator-api-registry/tree/templates-not-working.
it's working as-expected now!


[SNOW-1791241] Add a session parameter to disable scoped read only temp table

Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
<!---
In this section, please add a Snowflake Jira issue number.
<p>Note that if a corresponding GitHub issue exists, you should still include
the Snowflake Jira issue number. For example, for GitHub issue
https://github.com/snowflakedb/snowpark-python/issues/1400, you should
add "SNOW-1335071" here.
--->

SNOW-1791241

Fill out the following pre-review checklist:

[ ] I am adding a new automated test(s) to verify correctness of my new code

[ ] If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing

[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency
[ ] If this is a new feature/behavior, I'm adding the Local Testing parity changes.
[x] I acknowledge that I have ensured my changes to be thread-safe. Follow the link for more information: Thread-safe Developer Guidelines

Please describe how your code solves the related issue.
scoped read only table doesn't work with dynamic pivot in notebook today, investigation needed.
We added a flag to turns the scoped temp read only table off for snowpark padnas.

Follow up: https://snowflakecomputing.atlassian.net/browse/SNOW-1793002 enable the flag at server side for native app

@sfc-gh-helmeleegy added a changelog as part of fix.

Let's wait for the response of Rich Murnane to our question here - to be able to assess the impact - before we go ahead and merge this.

@sfc-gh-helmeleegy I don't think we need to wait for the native app response, our impact on notebook is much bigger than the native app at this moment, the native app user can stay with 1.24.0 if they would like, or turn on the flag if the user would like to.

@sfc-gh-helmeleegy I don't think we need to wait for the native app response, our impact on notebook is much bigger than the native app at this moment, the native app user can stay with 1.24.0 if they would like, or turn on the flag if the user would like to.

SGTM. I will approve. The native app response when it comes (hopefully soon) can help us decide if there are users we need to communicate with to turn off the flag.


Modal trigger and "Enter" key

Overlay and modal will keep stacking if the Enter/Return key is pressed after clicking the modal trigger button.

It looks solved in the current version
feel free to reopen it if it is still necessary.


 Untranslated strings does not appears (currently the wilddice_title is untranslated in the french version, despite being translated for over 2 weeks in Crowdin), some changes are making in Crowdin somehow never arrives  so I end up doing the work twice.
Also, I've no issue editing YAML files manually and thus Crowdin brings me nothing but extra constraint. So I hope you will not mind me filing those changes using a regular PR.
Sidenote: because a few critical translations are currently missing, the CS is not useable in French, so please try to merge this rather quickly! Thanks :)
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[X] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Hello @rpelisse ! Your Pull Request includes changes to translation files. We will not deny your Pull Request, but we would prefer sheet contributors use Crowdin for translations. Please email Cassie at<EMAIL_ADDRESS>and she will get you an invite to our Crowdin. Be sure to include the languages you would like to translate, and please use Crowdin for future translation updates! Thanks for all you do!

@mperes please read my message ;) ! No need to invite me in Crowdin, i'm already registered there, but as explained, this is more trouble than anything else for me.


Add proxy support for FastHttpUser

Nice! While you could just provide your own clientpool to achieve the same thing, we're already allowing some parameters for convenience so I guess this is fine. I wont merge just yet, because I want to make a "clean" release with only the Poetry change in another open PR, but it should be soon (this week hopefully)

Nice! While I think you could just provide your own clientpool to achieve the same thing, we're already allowing some parameters for convenience so I guess this is fine.
I wont merge just yet, because I want to make a "clean" release with only the Poetry change in another open PR, but it should be soon (this week hopefully)

With HTTPClientPool from geventhttpclient ? The thing is, I want all my users to use a different connection. Or I could just maybe instantiate it in my user's __init__ ?

Or I could just maybe instantiate it in my user's __init__ ?

Yes, that what I meant :) But I don't expect people to do that, so this PR is fine.


Type conflict between two versions of @opentelemetry/instrumentation because of @azure/opentelemetry-instrumentation-azure-sdk dependency

Package Name: @azure/opentelemetry-instrumentation-azure-sdk
Package Version: 1.0.0-beta1
Operating system:
[x] nodejs

version: 16.16.0

[ ] browser

name/version:

[x] typescript

version: 4.7.4

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
I have a project using the opentelemetry family of packages at version 1.1.x, so<EMAIL_ADDRESS>etc.
I'm trying to add the azure sdk instrumentation to this project. The installation is fine but I get a type conflict when trying to add the instrumentation to my existing instrumentation:
# intializeTelemetry.ts
registerInstrumentations({
  instrumentations: [
    ...getNodeAutoInstrumentations(),
    createAzureSdkInstrumentation()
  ],
})

tsc error:
src/initializeTelemetry.ts:51:7 - error TS2322: Type 'Instrumentation | Instrumentation' is not assignable to type 'InstrumentationOption'.
  Type 'Instrumentation' is not assignable to type 'InstrumentationOption'.
    Type 'import("/project/node_modules/@azure/opentelemetry-instrumentation-azure-sdk/node_modules/@opentelemetry/instrumentation/build/src/types").Instrumentation' is not assignable to type 'import("/project/node_modules/@opentelemetry/instrumentation/build/src/types").Instrumentation'.
      Types of property 'setMeterProvider' are incompatible.
        Type '(meterProvider: import("/project/node_modules/@azure/opentelemetry-instrumentation-azure-sdk/node_modules/@opentelemetry/api-metrics/build/src/types/MeterProvider").MeterProvider) => void' is not assignable to type '(meterProvider: import("/project/node_modules/@opentelemetry/api-metrics/build/src/types/MeterProvider").MeterProvider) => void'.
          Types of parameters 'meterProvider' and 'meterProvider' are incompatible.
            Type 'import("/project/node_modules/@opentelemetry/api-metrics/build/src/types/MeterProvider").MeterProvider' is not assignable to type 'import("/project/node_modules/@azure/opentelemetry-instrumentation-azure-sdk/node_modules/@opentelemetry/api-metrics/build/src/types/MeterProvider").MeterProvider'.
              The types returned by 'getMeter(...).createObservableGauge(...)' are incompatible between these types.
                Property 'observation' is missing in type 'Observable' but required in type 'ObservableBase'./

To Reproduce
Steps to reproduce the behavior:

create a base project with opentelemetry 1.1.x, with auto instrumentations
install azure sdk opentelemetry package, and include in the instrumentation setup

Expected behavior
The typings should match and the azure instrumentation be accepted by the compiler
Additional context
The fact that this is a typing issue suggest to me that peer dependencies could be the solution here. In fact the instrumentations in the opentelemetry/opentelemetry-js-contrib repo seem to all add only a peer dependency on the @opentelemetry/api package.
However this conflicting type doesn't come from that package. It might require some discussions with the opentelemetry folks.

@googol Should be fixed in Beta 10

@mpodwysocki - is this fixed, I am seeing similar issue with below list of packages. am I missing something?
"@azure/monitor-opentelemetry-exporter": "^1.0.0-beta.11",
"@opentelemetry/api": "^1.4.0",
"@opentelemetry/auto-instrumentations-node": "^0.36.0",
"@opentelemetry/auto-instrumentations-web": "^0.31.0",
"@opentelemetry/context-zone": "^1.9.1",
"@opentelemetry/exporter-collector": "^0.25.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.35.1",
"@opentelemetry/sdk-node": "^0.35.1",
"@opentelemetry/sdk-trace-web": "^1.9.1",


chore(deps-dev): manually update to license-check-and-add 3.0.3

Description of changes
Manually update to the new license-check-and-add that uses a separate config file rather than a blob in package.json
Pull request checklist

[x] PR title respects Conventional Commits (starts with fix:, feat:, etc, and is suitable for user-facing release notes)
[x] PR contains no breaking changes, OR description of both PR and final merge commit starts with BREAKING CHANGE:
[n/a] (if applicable) Addresses issue: #0000
[n/a] Added relevant unit tests for your changes
[x] Ran yarn precheckin
[n/a] Verified code coverage for the changes made

:tada: This PR is included in version 2.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Implement auto clean-up of Prometheus PVC

Setup already done in private pipeline by custom values.yaml:
prometheus:
  server:
    retention: 365d
    extraFlags:
    - storage.tsdb.retention.size=45GB

for detail see: https://www.robustperception.io/configuring-prometheus-storage-retention

Setup already done in private pipeline by custom values.yaml:
prometheus:
  server:
    retention: 365d
    extraFlags:
    - storage.tsdb.retention.size=45GB

for detail see: https://www.robustperception.io/configuring-prometheus-storage-retention


help

,,,,,,
0
@ ok
M??ll Iloilog
Polo ttseahe your t
Can someone please explain to me what this means

Can you add some more information, as to where this comes from and whether or not this relates to an issue with Atom?

I have no idea what an atom is even about to be honest, but it was from a spoofed number and came back to back in like 4 text

I have no idea what an atom is even about to be honest


RBDyn must be built with parsers support

This issue I am getting while trying to build mc_rtc. I am not sure why but I ran the build_and_install script and it wont build anymore. The build_and_install has an issue as well...
I am getting another issue from the build and install which is:
CMake Error at cmake/cython/cython.cmake:88 (add_custom_target):
Cannot find source file:
eigen_qld/__init__.py

We recently deprecated mc_rbdyn_urdf package and integrated its parsers directly as part of RBDyn.
It's likely that you have some previously installed cmake files that weren't removed properly (this can happen if you've installed by hand without running make uninstall first)
You can try to remove the installed files first, then re-run the script:
# Removes installed cmake files
sudo rm -rf  /usr/local/lib/cmake/RBDyn /usr/local/lib/cmake/Tasks /usr/local/lib/cmake/mc_rtc
# Removes installed libraries
sudo rm -rf /usr/local/lib/libRBDyn* /usr/local/lib/libTasks* /usr/local/lib/libmc_*

This caused some sort of break in my make file... should I rerun the build_and_install script? I did and it gave me:
CMake Error at cmake/cython/cython.cmake:88 (add_custom_target):
  Cannot find source file:

    eigen_qld/__init__.py

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
Call Stack (most recent call first):
  cmake/cython/cython.cmake:283 (_ADD_CYTHON_BINDINGS_TARGETS)
  binding/python/CMakeLists.txt:5 (ADD_CYTHON_BINDINGS)

-- Generating done
-- Build files have been written to: /home/username/lipm/eigen-qld/build
-- [ERROR] CMake configuration failed for eigen-qld
Installation failed.
Installation log has been written to /tmp/build_and_install_warnings-2020-08-05-09-51-59.log
Please fix the issues and re-run the script.

I am just getting this when I deleted the task folders
CMake Error at cmake/package-config.cmake:67 (find_package):
  By not providing "FindTasks.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Tasks", but
  CMake did not find one.

  Could not find a package configuration file provided by "Tasks" with any of
  the following names:

    TasksConfig.cmake
    tasks-config.cmake

it seems as now I have broken the repository is there a set of steps to properly update the repository? Thanks :)

Yes, you need to rerun the script, above we're removed the cmake scripts and libraries for mc_rtc and its main dependencies. Make sure that you're on the master branch of mc_rtc and up-to date before running the script.

There still are issues.... are there commits that I could progress from where I am to have the build work again? My last pull was from March.

I just started with a fresh install


Attendee format NAME placeholder replaced only once

if I use {attendees:[NAME](https://example.com/NAME)} the NAME placeholder gets replaced only once. I tried using .replaceAll instead of .replace but I met a JS version hell that I could not navigate 😅.
How would you go about this? If you give me some pointers I could send a PR 👼

we just need to replace "NAME" here with /NAME/g (global regex)
https://github.com/dvargas92495/roamjs-google-calendar/blob/main/src/index.ts#L77


Consider bumping ajv to match the version range used in the webpack@4 beta.

I can file a PR or something.

If you have the time feel free/please open a PR


frame-supports build/compilation fails nightly 2020-08-28 rc4, rc5, tutorial

Left a related issue in ink's repo https://github.com/paritytech/ink/issues/484
My env
rustc --version
rustc 1.46.0 (04488afe3 2020-08-24)

rustup run nightly rustc --version
rustc 1.48.0-nightly (d006f5734 2020-08-28)

This compiles correctly
cargo install node-cli --git https://github.com/paritytech/substrate.git --tag v2.0.0-rc6 --force --locked

But when I try uploading the flipper wasm/metadata (from the ink's tutorial) it fails with system.ExtrinsicFailed. I see it through Polkadot UI connected to a local dev substrate instance (following the tutorial).
These don't compile and fail with frame-support
cargo install node-cli --git https://github.com/paritytech/substrate.git --tag v2.0.0-rc5 --force --locked
cargo install node-cli --git https://github.com/paritytech/substrate.git --tag v2.0.0-rc4 --force --locked

The last one is actually the one referenced in the ink's workshop/tutorial
Both fail with this error
     Compiling sp-consensus-babe v0.8.0-rc5 (/Users/franleplant/.cargo/git/checkouts/substrate-7e08433d4c370a21/e00d78c/primitives/consensus/babe)
  error[E0424]: expected value, found module `self`
      --> /Users/franleplant/.cargo/git/checkouts/substrate-7e08433d4c370a21/e00d78c/frame/support/src/traits.rs:1184:11
       |
  1182 | / bitmask! {
  1183 | |     /// Reasons for moving funds out of an account.
  1184 | |     #[derive(Encode, Decode)]
       | |              ^^^^^^ `self` value is a keyword only available in methods with a `self` parameter
  1185 | |     pub mask WithdrawReasons: i8 where
  ...    |
  1200 | |     }
  1201 | | }
       | |_- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters
       |
       = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

  error: aborting due to previous error

  For more information about this error, try `rustc --explain E0424`.
  error: could not compile `frame-support`.

  To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `node-cli v2.0.0-rc5 (https://github.com/paritytech/substrate.git?tag=v2.0.0-rc5#e00d78cb)`, intermediate artifacts can be found at `/var/folders/8g/hjnk29zn4y3_t8_j8c1h20q00000gn/T/cargo-install9REQYF`

I am available to help but i am quite new to the codebase 😄

It's look so similar to the nightly toolchain issue. already mark at https://github.com/paritytech/ink/issues/484#issuecomment-686969167

thanks @saingsab , I also found a solution: using nightly-2020-06-01, please check out the original issue for more information
https://github.com/paritytech/ink/issues/484


Wrong TypeScript types

Describe the bug
The package states that it is of type "module"
Compare here: https://unpkg.com/browse/<EMAIL_ADDRESS>Yet it fails to use proper TypeScript ESM types resulting in the following error:
@webcontainer+api<EMAIL_ADDRESS>(9,62): Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './entities.js'?
Link to the blitz that caused the error
not needed
Steps to reproduce
none
Expected behavior
Should be acceptable
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

Hi @philkunz ! Seems like an easy fix! Will let you know when we have a new version with the correct typings.

We published a new version! Let us know if you still encounter type issues. 😃


Check if the span list is empty before exporting

This check should prevent the issue described in https://github.com/census-instrumentation/ruby-stackdriver-exporter/issues/8

Thanks for the test! LGTM if Travis passes. (I suspect, though, that rubocop will flag the comment line as too long.)
Please sign the CLA (see the earlier comment by googlebot) so we can get this merged. Thanks for the bug report and fix!


[$125] mWeb/Chrome - Scan - Flash icon appears then disappears in Scan tab

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.3.83-1
Reproducible in staging?: Yes
Reproducible in production?: No. New feature on staging.
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to staging.new.expensify.com
Go to + > Request money > Scan
Give camera permission if not yet

Expected Result:
Depending on whether flash is supported, the flash icon should either appear or not appear at all
Actual Result:
When the Scan tab is first opened, the camera flash icon on the bottom right corner appears and then disappears
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Android: Native

Android: mWeb Chrome

https://github.com/Expensify/App/assets/78819774/5aba5da8-10db-4285-8398-fb7f9c070d90

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019c363d1d939d77a1
Upwork Job ID:<PHONE_NUMBER>628128256
Last Price Increase: 2023-10-12

@hungvu193 is this regression from something?

@mountiny @hungvu193 This appears to be a bug introduced from https://github.com/Expensify/App/pull/28411, specifically from here
Wouldn't say it's a regression just a bug that wasn't caught during testing since this behavior didn't exist before on mWeb

IMO this isn't a blocker and just something @lukemorawski can fix as a follow up

PROPOSAL (UPWORK)
In this situation, there are two straightforward solutions.
Solution 1: Make the default value of "isTorchAvailable" "false." This is a quick and easy solution, but it may result in a slight delay for users who have granted torch permissions.
However, I propose an alternative solution to address this issue.
Solution 2: Introduce an additional variable called "indicator" with a default value of "true." When we gather information about the availability of the torch, set "isTorchAvailable" to either true or false, and set "indicator" to the opposite of "isTorchAvailable." This allows us to determine whether we have received the necessary data and are ready to display the screen.
I've chosen this approach to keep the code concise.
When the user opens the camera, we will display an Activity Indicator that covers the full screen to hide the background, based on this condition: if (isTorchAvailable === indicator).
For example:
//...
const [isTorchAvailable, setIsTorchAvailable] = useState(true);
const [indicator, setIndicator] = useState(true);
//...
//...
<NavigationAwareCamera
  // ...
  // ...
  onTorchAvailability={(availability) => { setIsTorchAvailable(availability); setIndicator(!isPageLoaded); }}
  // ...
/>
//..
//..
//..
const mobileCameraView = () => {
  if (isTorchAvailable === indicator) {
    // Show the indicator
  } else {
    // Show the rest of the screen
  }
}

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/yakupa13

@yakupafsin In the future, stick to the proposal template. Be sure to read the contributing guidelines.
In the context of this issue, I think we're not looking for proposals right now, as @lukemorawski might just fix this in a follow-up.

@cubuspl42 Fixed the issue, creating a PR for that.

Issue not reproducible during KI retests. (First week)

I asked a question on https://github.com/Expensify/App/pull/29569 to classify the state of this issue

Issue not reproducible during KI retests. (Second week)

Issue not reproducible during KI retests. (Third week)

@allroundexperts @AndrewGable I also can't reproduce this, should we close it?

Yes, I think its safe to close this @kadiealexander.


iOS set AdaptiveDatePicker tintColor using selectedDayContainerColor

Anything I could do to help with a new release? Keen to use this without a snapshot

I will publish a new release today with the latest improvements.

@ZacSweers Check the latest release v0.5.3 (should be available soon)
The bottom sheet light/dark theme issue if fixed, and partially expanded sheet is now supported on iOS.


vs code overides my custom settings to default when using a custom keybinding

Issue Type: Bug
After updating to the latest VS Code it overides my custom settings and deletes them from the settings.json (including the settings of my extensions) when i use a custom keybinding that toggles the status bar!!
 If not, use the extension bisect command to find out which extension is causing the problem.
If it does still happen please post simplest reproduction steps.

Does the problem also happen if you launch with all extensions disabled? If not, use the extension bisect command to find out which extension is causing the problem.
If it does still happen please post simplest reproduction steps.

Hello @gjsjohnmurray I ran the extension bisect command and everything was all good. I haven't installed extensions in a long while so I don't think it's the extensions. It's just after the new update that it started happening.

Can you please be specific about the issue and provide steps to repro?

Hello, so I created a custom keybinding that toggle the status bar (Ctrl+Q   Ctrl+Q). After the recent update when I try to use the keybinding(usually after i resume my computer from sleep and open vscode) I notice vscode hangs then 'refreshes' itself with all my settings gone and even the theme goes back to the default theme and all installed extensions don't work( I have to re-enable them).

Does this happens only after you use this keybinding ?

Yes

Can you please try change the keybinding to a different keybinding (say ctrl+shift+m or any other simple one) and try toggling the status bar using the new keybinding and see if you can still repro?

It doesn't happen after using an alternative keybinding!

Seems something special with this keybinding (Ctrl+Q Ctrl+Q). You mentioned that after applying this keybinding, your settings and extensions are gone - Can you please elaborate on that ? Please open settings file and let us know if your settings are there and also check extensions in extensions view?
Also before applying above keybinding enable the log level to trace (using command Developer: Set Log Level) and please collect all logs (You can see them in the output section dropdown in the bottom panel) and provide us.


Python-doctr from_url

Bug description
Hello,
When trying to use DocumentFile.from_url(url) with different url all I get are error, in the snippet you'll find 2 different url which I tried and got the exact same error.
Code snippet to reproduce the bug
from doctr.models import ocr_predictor

model = ocr_predictor(det_arch='db_resnet50', reco_arch='crnn_vgg16_bn', pretrained=True)

doc = DocumentFile.from_url("https://www.francetvinfo.fr/pictures/uGwaNE-aJq7zHLhZJdzdCd9nyjE/1200x900/2021/03/16/phpCDwGn0.jpg")
# doc = DocumentFile.from_url("https://img.lemde.fr/2021/08/02/0/0/549/322/800/0/75/0/d7b0b0a_29032620-capture.PNG")
output = model(doc)
print(output.export())

Error traceback
Traceback (most recent call last):
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/fastapi/applications.py", line 292, in __call__
    await super().__call__(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
    raise e
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/routing.py", line 443, in handle
    await self.app(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/fastapi/applications.py", line 292, in __call__
    await super().__call__(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/middleware/cors.py", line 83, in __call__
    await self.app(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
    raise e
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/fastapi/routing.py", line 273, in app
    raw_response = await run_endpoint_function(
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
    return await dependant.call(**values)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/api/v1/router/ocr.py", line 55, in test
    doc = DocumentFile.from_url("https://www.francetvinfo.fr/pictures/uGwaNE-aJq7zHLhZJdzdCd9nyjE/1200x900/2021/03/16/phpCDwGn0.jpg")
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/doctr/io/reader.py", line 52, in from_url
    pdf_stream = read_html(url)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/doctr/io/html.py", line 26, in read_html
    return HTML(url, **kwargs).write_pdf()
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/weasyprint/__init__.py", line 252, in write_pdf
    self.render(font_config, counter_style, **options)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/weasyprint/__init__.py", line 209, in render
    return Document._render(self, font_config, counter_style, options)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/weasyprint/document.py", line 260, in _render
    context = cls._build_layout_context(
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/weasyprint/document.py", line 239, in _build_layout_context
    style_for = get_all_computed_styles(
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/weasyprint/css/__init__.py", line 1120, in get_all_computed_styles
    for sheet in find_stylesheets(
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/weasyprint/css/__init__.py", line 257, in find_stylesheets
    for wrapper in wrapper_element.query_all('style', 'link'):
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/cssselect2/tree.py", line 298, in <genexpr>
    if any(test(element) for test in tests))
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/cssselect2/tree.py", line 298, in <genexpr>
    if any(test(element) for test in tests))
  File "<string>", line 1, in <lambda>
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/functools.py", line 969, in __get__
    val = self.func(instance)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/cssselect2/tree.py", line 333, in local_name
    namespace_url, local_name = _split_etree_tag(self.etree_element.tag)
  File "/Users/yoobi/Documents/Gitlab/doctr/doctr-api/venv/lib/python3.9/site-packages/cssselect2/tree.py", line 406, in _split_etree_tag
    assert tag[0] == '{'
AssertionError

Environment
DocTR version: v0.7.0
TensorFlow version: 2.13.0
PyTorch version: N/A (torchvision N/A)
OpenCV version: 4.8.0
OS: Mac OSX 13.5.2
Python version: 3.9.6
Is CUDA available (TensorFlow): Yes
Is CUDA available (PyTorch): N/A
CUDA runtime version: Could not collect
GPU models and configuration: /physical_device:GPU:0
Nvidia driver version: Could not collect
cuDNN version: Could not collect
Deep Learning backend
is_tf_available: True
is_torch_available: False

Hi @yoobi 👋🏼,
Excuse the confusion but from_url is build to work for websites like www.google.com.
But you can use from_images
import requests

from doctr.models import ocr_predictor
from doctr.io import DocumentFile

url = "https://www.francetvinfo.fr/pictures/uGwaNE-aJq7zHLhZJdzdCd9nyjE/1200x900/2021/03/16/phpCDwGn0.jpg"

model = ocr_predictor(det_arch='db_resnet50', reco_arch='crnn_mobilenet_v3_large', pretrained=True)

doc = DocumentFile.from_images([requests.get(url).content])
# doc = DocumentFile.from_url("https://img.lemde.fr/2021/08/02/0/0/549/322/800/0/75/0/d7b0b0a_29032620-capture.PNG")
output = model(doc)
print(output.export())
output.show(doc)

Let me know if that solved your issue 👍🏼

Hello @felixT2K,
Thank you for your answer, just to be clear, the from_url is meant to "take a screenshot" of the webpage and extract data via the model ?
I'll test your snippet soon and will be back to you :)

Internally it's handled as follow:

extract html from the webpage
create a pdf from it (with weasyprint)
call the from_pdf functionality internally to extract each page as image
forward into the pipeline

Yes I plan on moving to PyTorch, I'll wait until the model are available on the library.
Your snippet worked for the image ! Thanks again.
The issue is resolved on my end, you can close the issue if you want.

Perfect 🤗


Add support for $slice (aggregate).

Needed that feature so i added it.
Only tested with python3.7, but i don't see any python3 specific code.

should i add a test for the last bit of coverage ?

Le lun. 15 juil. 2019 à 19:26, Noel Remy<EMAIL_ADDRESS>a
écrit :

should i add a test for the last bit of coverage ?

Yeah, I like full coverage :-)

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mongomock/mongomock/pull/547?email_source=notifications&email_token=AB4R6ODX2CXUYFKFTJEDJDDP7SXNDA5CNFSM4IDYYQL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ6MSDY#issuecomment-511494415,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4R6OB4G2DWVPKJQR7IPKLP7SXNDANCNFSM4IDYYQLQ
.

--
https://www.bayesimpact.org/
Pascal Corpet
Cofounder & CTO
+33 7 82 63 32 32
bayesimpact.org https://www.bayesimpact.org/en/

Is there a way to re-trigger the codecov bot (or to run it manually ) ?

It's supposed to show up here
https://codecov.io/gh/mongomock/mongomock/pull/547
HTH
Le ven. 19 juil. 2019 à 10:11, Noel Remy<EMAIL_ADDRESS>a
écrit :

Is there a way to re-trigger the codecov bot (or to run it manually ) ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mongomock/mongomock/pull/547?email_source=notifications&email_token=AB4R6OHE5JNC7AMTVCIMV6LQAFZKZA5CNFSM4IDYYQL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2K5TSY#issuecomment-513137099,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4R6OF7M6ZBUXOFEHQ2OB3QAFZKZANCNFSM4IDYYQLQ
.

--
https://www.bayesimpact.org/
Pascal Corpet
Cofounder & CTO
+33 7 82 63 32 32
bayesimpact.org https://www.bayesimpact.org/en/

It's supposed to show up here https://codecov.io/gh/mongomock/mongomock/pull/547
Thanks !
I though Codecov would post a new comment or so,

Anyway,  please tell me if anything is missing in the PR :)

All good, thanks for all the changes. Merging now.